commit 388444d317b554c251a9c4b70bfd7f4be73f3b57 Author: Qiuzhizhe <42761326+quizhizhe@users.noreply.github.com> Date: Wed Sep 21 19:47:03 2022 +0800 fist commit diff --git a/.clang-format b/.clang-format new file mode 100644 index 0000000..87c6c85 --- /dev/null +++ b/.clang-format @@ -0,0 +1,76 @@ +# Documents: https://clang.llvm.org/docs/ClangFormatStyleOptions.html +Language: Cpp +# BasedOnStyle: LLVM +AccessModifierOffset: -4 +AlignAfterOpenBracket: Align +AlignConsecutiveAssignments: false +AlignConsecutiveDeclarations: false +AlignEscapedNewlinesLeft: true +AlignOperands: Align +AlwaysBreakTemplateDeclarations : true +AlignTrailingComments: true +AllowAllArgumentsOnNextLine : true +AllowAllParametersOfDeclarationOnNextLine: true +AllowShortBlocksOnASingleLine : true +AllowShortCaseLabelsOnASingleLine: false +AllowShortFunctionsOnASingleLine: Inline +AllowShortIfStatementsOnASingleLine: false +AllowShortLoopsOnASingleLine: false +AllowShortFunctionsOnASingleLine: false +AllowShortLambdasOnASingleLine: true +AllowShortEnumsOnASingleLine: false +AlwaysBreakAfterDefinitionReturnType: None +BinPackArguments: true +BinPackParameters: true +ConstructorInitializerIndentWidth: 0 +ConstructorInitializerAllOnOneLineOrOnePerLine: true +ColumnLimit: 0 +CommentPragmas: '^ IWYU pragma:' +PointerAlignment: Left +IndentWidth: 4 +SortIncludes: false +MaxEmptyLinesToKeep: 2 +SpacesInSquareBrackets: false +SpacesInParentheses : false +SpaceBeforeAssignmentOperators: true +SpacesInContainerLiterals: true +IndentWrappedFunctionNames: true +KeepEmptyLinesAtTheStartOfBlocks: true +BreakConstructorInitializersBeforeComma: true +SpaceAfterCStyleCast: false +IndentCaseLabels: true +TabWidth: 4 +UseTab: Never + +BreakBeforeBraces: Custom +BraceWrapping: + # case 语句后面 + AfterCaseLabel: false + # class定义后面 + AfterClass: false + # 控制语句后面 + AfterControlStatement: false + # enum定义后面 + AfterEnum: false + # 函数定义后面 + AfterFunction: false + # 命名空间定义后面 + AfterNamespace: false + # struct定义后面 + AfterStruct: false + # union定义后面 + AfterUnion: false + # extern导出块后面 + AfterExternBlock: false + # catch之前 + BeforeCatch: false + # else之前 + BeforeElse: false + # 缩进大括号(整个大括号框起来的部分都缩进) + IndentBraces: false + # 空函数的大括号是否可以在一行 + SplitEmptyFunction: true + # 空记录体(struct/class/union)的大括号是否可以在一行 + SplitEmptyRecord: true + # 空namespace的大括号是否可以在一行 + SplitEmptyNamespace: true diff --git a/.github/FUNDING.yml b/.github/FUNDING.yml new file mode 100644 index 0000000..3f3afb5 --- /dev/null +++ b/.github/FUNDING.yml @@ -0,0 +1,12 @@ +# These are supported funding model platforms + +github: # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2] +patreon: # Replace with a single Patreon username +open_collective: # Replace with a single Open Collective username +ko_fi: # Replace with a single Ko-fi username +tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel +community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry +liberapay: # Replace with a single Liberapay username +issuehunt: # Replace with a single IssueHunt username +otechie: # Replace with a single Otechie username +custom: ['https://www.patreon.com/liteloaderbds','https://afdian.net/@liteldev'] diff --git a/.github/ISSUE_TEMPLATE/bug_report_en.yml b/.github/ISSUE_TEMPLATE/bug_report_en.yml new file mode 100644 index 0000000..d43f485 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug_report_en.yml @@ -0,0 +1,97 @@ +name: "[ENG] Bug Report" +description: "Report a bug to us to make LiteLoader better." +labels: ["bug"] +body: +- type: markdown + attributes: + value: | + Thanks for taking the time to fill out this bug report! + > **NOTICE** + > 1. Feedback issues should belong to LiteLoader. + > 2. Please do not report destructive Minecraft Bugs, please send a private message to the project developer in IM, and give feedback to Mojang in time. + +- type: dropdown + id: module + attributes: + label: Exceptions module + description: The module with problems + options: + - Core + - ScriptEngine + - AddonsHelper + - PeEditor + validations: + required: true +- type: dropdown + id: os + attributes: + label: Operating System + multiple: false + options: + - Windows Server 2022 + - Windows Server 2019 + - Windows Server 2016 + - Windows Server 2012 + - Other Windows Server + - Windows 11 + - Windows 10 + - Other Windows + - GNU/Linux with docker + - GNU/Linux with wine + - Other + validations: + required: true +- type: input + id: llversion + attributes: + label: "LiteLoader version" + placeholder: Type your LiteLoader version. + description: | + If you are using a beta LiteLoader downloaded from Actions, please type the corresponding Actions run ID (starting with #) or commit hash. + e.g. 2.1.0 Actions#1479 4f404a7 + validations: + required: true +- type: input + id: bdsversion + attributes: + label: "BDS version" + placeholder: Type your BDS version. + validations: + required: true +- type: textarea + id: what-happened + attributes: + label: What happened? + description: | + What happened? Please describe your problem. + Also tell us, what did you expect to happen? + placeholder: Describe your problem clearly. + validations: + required: true +- type: textarea + id: reproduce + attributes: + label: Steps to reproduce? + description: Describe in as clear and detailed a manner as possible how to reproduce. + placeholder: | + 1. Do something + 2. ... + 3. ... +- type: textarea + id: logs + attributes: + label: Relevant log output + description: Please copy and paste any relevant log output. + render: shell +- type: textarea + id: plugins + attributes: + label: Plugin list + description: Please copy the command output of `ll list`. + render: shell +- type: markdown + attributes: + value: | + **If you have pictures or other content, please comment below. Screenshots,logs and dmp files are very important and helpful for solving your problem** + ****** + Thank you again for your contribution to LiteLoader! diff --git a/.github/ISSUE_TEMPLATE/bug_report_zh.yml b/.github/ISSUE_TEMPLATE/bug_report_zh.yml new file mode 100644 index 0000000..4253bce --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug_report_zh.yml @@ -0,0 +1,96 @@ +name: "[简体中文] 报告漏洞/问题" +description: "向我们报告漏洞/问题以让LiteLoader变得更好" +labels: ["bug"] +body: +- type: markdown + attributes: + value: | + 感谢您花时间填写这份Bug反馈! + > **注意事项** + > 1. 请勿反馈非加载器问题 + > 2. 请勿在这里反馈具有严重影响的游戏漏洞, 相关问题请在聊天软件内私聊项目开发者并向及时向Mojang反馈 + +- type: dropdown + id: module + attributes: + label: 异常模块 + description: 出现问题的模块 + options: + - Core(核心) + - ScriptEngine(脚本引擎) + - AddonsHelper + - PeEditor + validations: + required: true +- type: dropdown + id: os + attributes: + label: 操作系统 + multiple: false + options: + - Windows Server 2022 + - Windows Server 2019 + - Windows Server 2016 + - Windows Server 2012 + - 其他版本的 Windows Server + - Windows 11 + - Windows 10 + - 其他版本的 Windows + - GNU/Linux with docker + - GNU/Linux with wine + - 其他操作系统 + validations: + required: true +- type: input + id: llversion + attributes: + label: "LiteLoader版本" + placeholder: 输入您的LiteLoader版本 + description: | + 如果您正在使用一个从Actions下载的beta版LiteLoader,请输入对应的Actions运行ID(#开头)或commit hash + e.g. 2.1.0 Actions#1479 4f404a7 + validations: + required: true +- type: input + id: bdsversion + attributes: + label: BDS版本 + placeholder: 输入您的BDS版本 + validations: + required: true +- type: textarea + id: what-happened + attributes: + label: 发生了什么? + description: | + 发生了什么?请描述你的问题. 并告诉我们, 您希望我们做什么 + placeholder: 清晰地描述你的问题 + validations: + required: true +- type: textarea + id: reproduce + attributes: + label: 复现此问题的步骤 + description: 尽可能清晰且详细的描述如何复现 + placeholder: | + 1. Do something + 2. ... + 3. ... +- type: textarea + id: logs + attributes: + label: 有关的日志/输出 + description: 请粘贴有关此问题的日志到此处 + render: shell +- type: textarea + id: plugins + attributes: + label: 插件列表 + description: 请复制命令`ll list`的输出 + render: shell +- type: markdown + attributes: + value: | + **如果你有图片或其他内容,请在下面评论(comment)。截图,日志和dmp文件对解决你的问题很重要、很有帮助** + ****** + 再次感谢您对LiteLoader的贡献! diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml new file mode 100644 index 0000000..87aadf6 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -0,0 +1,5 @@ +blank_issues_enabled: true +contact_links: + - name: "Minecraft: Bedrock Edition Feedback" + url: https://bugs.mojang.com/projects/MCPE/issues + about: Please report MC game bugs here 反馈MC游戏问题 diff --git a/.github/ISSUE_TEMPLATE/feature_request_en.yml b/.github/ISSUE_TEMPLATE/feature_request_en.yml new file mode 100644 index 0000000..639271d --- /dev/null +++ b/.github/ISSUE_TEMPLATE/feature_request_en.yml @@ -0,0 +1,26 @@ +name: "[ENG] Feature Request" +description: Suggest an idea/Request for a new feature +labels: ["enhancement"] +body: +- type: markdown + attributes: + value: | + Thanks for taking the time to fill out this feature request! +- type: textarea + id: problem + attributes: + label: Is your feature request related to a problem? Please describe. + description: A clear and concise description of what the problem is. + placeholder: | + e.g. I'm always frustrated when ... +- type: textarea + id: solution + attributes: + label: Describe the solution you'd like + description: A clear and concise description of what you want. + placeholder: | + e.g. I want a new event that ... +- type: markdown + attributes: + value: | + Thank you again for your contribution to LiteLoader! diff --git a/.github/ISSUE_TEMPLATE/feature_request_zh.yml b/.github/ISSUE_TEMPLATE/feature_request_zh.yml new file mode 100644 index 0000000..2a311ec --- /dev/null +++ b/.github/ISSUE_TEMPLATE/feature_request_zh.yml @@ -0,0 +1,26 @@ +name: "[简体中文] 新功能请求/建议" +description: 提供建议/请求一个新的功能 +labels: ["enhancement"] +body: +- type: markdown + attributes: + value: | + 感谢您花时间填写这份新功能请求! +- type: textarea + id: problem + attributes: + label: 您的建议是否与现存的某个问题相关?请描述问题? + description: 简明扼要地描述问题是什么 + placeholder: | + e.g. LiteLoader的...API总是让我... +- type: textarea + id: solution + attributes: + label: 您认为还缺少什么?如何解决您的问题? + description: 简明扼要地描述你想要什么 + placeholder: | + e.g. 我想要一个新的监听事件... +- type: markdown + attributes: + value: | + 再次感谢您对LiteLoader的贡献! diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md new file mode 100644 index 0000000..7d47bf4 --- /dev/null +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -0,0 +1,22 @@ +## Description + +Please carefully read the [Contributing note](https://docs.litebds.com/#/zh_CN/Maintenance/README) before making any pull requests. +And, **Do not make a pull request to merge into main branch unless it is a hotfix. Use the beta branch instead.** +## Issues fixed by this PR + + +## Type of changes + + + +- [ ] Bug fix +- [ ] New feature +- [ ] Enhancement +- [ ] Documentation + +## Checklist: + +- [ ] My code follows the style guidelines of this project +- [ ] My pull request is unique and no other pull requests have been opened for these changes +- [ ] I have read the [Contributing note](https://docs.litebds.com/#/zh_CN/Maintenance/README) +- [ ] I am responsible for any copyright issues with my code if it occurs in the future. diff --git a/.github/workflows/cmake-self-hosted.yml b/.github/workflows/cmake-self-hosted.yml new file mode 100644 index 0000000..94d5d3e --- /dev/null +++ b/.github/workflows/cmake-self-hosted.yml @@ -0,0 +1,189 @@ +name: CMake(self-hosted) + +on: + push: + paths: + - '**.cpp' + - '**.cc' + - '**.cxx' + - '**.c' + - '**.hpp' + - '**.hh' + - '**.hxx' + - '**.h' + - '.github/workflows/cmake-self-hosted.yml' + - '**/CMakeLists.txt' + +env: + BUILD_TYPE: Release + +jobs: + build: + runs-on: self-hosted + + steps: + - uses: actions/checkout@v3.0.2 + with: + fetch-depth: 1 + submodules: 'true' + + - name: Cache Bedrock Dedicated Server Library + id: cache-bds-lib + uses: actions/cache@v3 + env: + cache-name: cache-bds-lib + with: + path: | + ${{ env.GITHUB_WORKSPACE }}LiteLoader/Lib/bedrock_server_api.lib + ${{ env.GITHUB_WORKSPACE }}LiteLoader/Lib/bedrock_server_var.lib + key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('Scripts/LINK.txt') }} + + - name: Download Server + if: steps.cache-bds-lib.outputs.cache-hit != 'true' + working-directory: ${{ env.GITHUB_WORKSPACE }} + run: | + mkdir Tools/Server + ServerLink=$(cat 'Scripts/LINK.txt') + curl -L -o Tools/Server/server.zip "$ServerLink" + unzip Tools/Server/server.zip -d Tools/Server/ > /dev/null + shell: bash + + - name: Build Library + if: steps.cache-bds-lib.outputs.cache-hit != 'true' + working-directory: ${{ env.GITHUB_WORKSPACE }} + run: | + cd Tools + LibraryBuilder.exe Server + shell: cmd + + - name: Change LITELOADER_VERSION_STATUS_BETA + working-directory: ${{ env.GITHUB_WORKSPACE }} + if: false == startsWith(github.ref, 'refs/tags/') + run: | + sed -r -i 's/#define\s+LITELOADER_VERSION_STATUS\s+LITELOADER_VERSION_\w+/#define LITELOADER_VERSION_STATUS LITELOADER_VERSION_BETA/' LiteLoader/Main/Version.h + sed -r -i 's/#define\s+LITELOADER_VERSION_ACTIONS\s+.*/#define LITELOADER_VERSION_ACTIONS ${{ github.run_number }}\r/' LiteLoader/Main/Version.h + cat LiteLoader/Main/Version.h + shell: bash + + - name: Change LITELOADER_VERSION_STATUS_RELEASE + working-directory: ${{ env.GITHUB_WORKSPACE }} + if: startsWith(github.ref, 'refs/tags/') + run: | + sed -r -i 's/#define\s+LITELOADER_VERSION_STATUS\s+LITELOADER_VERSION_\w+/#define LITELOADER_VERSION_STATUS LITELOADER_VERSION_RELEASE/' LiteLoader/Main/Version.h + sed -r -i 's/#define\s+LITELOADER_VERSION_ACTIONS\s+.*/#define LITELOADER_VERSION_ACTIONS ${{ github.run_number }}\r/' LiteLoader/Main/Version.h + shell: bash + + - name: Get MSVC Path + working-directory: E:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\ + run: echo "MSVC_VER=$(ls | tail -n 1)" >> $GITHUB_ENV + shell: bash + + #- name: Configure CMake(MSVC) + # run: | + # set CC="E:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/${{env.MSVC_VER}}/bin/Hostx64/x64/cl.exe" + # "E:\Program Files\Microsoft Visual Studio\2022\Community\VC\Auxiliary\Build\vcvarsall.bat" x64 & cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -G Ninja -DCMAKE_TRY_COMPILE_TARGET_TYPE="STATIC_LIBRARY" -DCMAKE_MAKE_PROGRAM="E:\PROGRAM FILES\MICROSOFT VISUAL STUDIO\2022\Community\COMMON7\IDE\COMMONEXTENSIONS\Microsoft\CMake\Ninja\ninja.exe" + # shell: cmd + + #- name: Build + # run: | + # "E:\Program Files\Microsoft Visual Studio\2022\Community\VC\Auxiliary\Build\vcvarsall.bat" x64 & cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}} + # shell: cmd + + - name: Configure CMake(MSVC) + run: | + cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} + shell: cmd + + - name: Build + run: | + cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}} + shell: cmd + + - name: Configure CMake(ClangCL) + run: | + cmake -B ${{github.workspace}}/build_clang -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -T clangcl + shell: cmd + + - name: Build SymDBHelper + run: cmake --build ${{github.workspace}}/build_clang --config ${{env.BUILD_TYPE}} --target SymDBHelper + + - name: Compress Resource Packs + run: | + cd RELEASE/plugins/LiteLoader/ResourcePacks + 7z a LiteLoaderBDS-CUI.tar LiteLoaderBDS-CUI + rm -r LiteLoaderBDS-CUI + shell: bash + + - name: Pack Release + working-directory: ${{ env.GITHUB_WORKSPACE }} + run: | + cd Scripts + ./PackRelease.cmd action + shell: cmd + + - name: Move PDB to path + working-directory: ${{ env.GITHUB_WORKSPACE }} + run: | + mkdir PDB + cp x64/Release/*.pdb PDB + shell: bash + + - name: Pack PDB + working-directory: ${{ env.GITHUB_WORKSPACE }} + if: startsWith(github.ref, 'refs/tags/') + run: 7z a -tzip PDB.zip PDB + shell: bash + + - name: Update LiteLoaderSDK + working-directory: ${{ env.GITHUB_WORKSPACE }} + run: | + git config --global user.name "github-actions[bot]" + git config --global user.email "41898282+github-actions[bot]@users.noreply.github.com" + cd Scripts + ./UploadSDK.cmd action + env: + REPO_KEY: ${{secrets.PUSH_TOKEN}} + USERNAME: github-actions[bot] + shell: cmd + + - name: Upload LiteLoader + uses: actions/upload-artifact@v3.1.0 + with: + name: LiteLoader + path: ${{ github.workspace }}\RELEASE\ + + - name: Upload PDB + uses: actions/upload-artifact@v3.1.0 + with: + name: PDB + path: ${{ github.workspace }}\PDB + + - name: Prepare for creating Release + working-directory: ${{ env.GITHUB_WORKSPACE }} + id: rel + if: startsWith(github.ref, 'refs/tags/') + run: | + echo ::set-output name=tag::${GITHUB_REF#refs/*/} + mv LiteLoader.zip LiteLoader-${GITHUB_REF#refs/*/}.zip + shell: bash + + - name: Create New Release + uses: softprops/action-gh-release@v0.1.14 + if: startsWith(github.ref, 'refs/tags/') + with: + body_path: ${{ github.workspace }}\CHANGELOG.md + files: | + ${{ github.workspace }}\LiteLoader-${{ steps.rel.outputs.tag }}.zip + ${{ github.workspace }}\PDB.zip + env: + GITHUB_REPOSITORY: LiteLDev/LiteLoaderBDS + + #- name: Publish to MineBBS + # working-directory: ${{ env.GITHUB_WORKSPACE }} + # if: startsWith(github.ref, 'refs/tags/') + # run: | + # curl -X POST https://api.github.com/repos/LiteLDev/AutoUpdate-MineBBS/dispatches \ + # -H "Accept: application/vnd.github.everest-preview+json" \ + # -H "Authorization: Bearer ${{ secrets.MB_TOKEN }}" \ + # --data '{"event_type": "webhook"}' + # shell: bash \ No newline at end of file diff --git a/.github/workflows/cmake.yml b/.github/workflows/cmake.yml new file mode 100644 index 0000000..c721a58 --- /dev/null +++ b/.github/workflows/cmake.yml @@ -0,0 +1,124 @@ +name: CMake + +on: + workflow_dispatch: + pull_request: + paths: + - '**.cpp' + - '**.cc' + - '**.cxx' + - '**.c' + - '**.hpp' + - '**.hh' + - '**.hxx' + - '**.h' + - '.github/workflows/cmake.yml' + - '**/CMakeLists.txt' + +env: + BUILD_TYPE: Release + +jobs: + build: + runs-on: windows-2022 + + steps: + - uses: actions/checkout@v3.0.2 + with: + fetch-depth: 1 + #submodules: 'true' + + - name: Cache Bedrock Dedicated Server Library + id: cache-bds-lib + uses: actions/cache@v3 + env: + cache-name: cache-bds-lib + with: + path: | + ${{ env.GITHUB_WORKSPACE }}LiteLoader/Lib/bedrock_server_api.lib + ${{ env.GITHUB_WORKSPACE }}LiteLoader/Lib/bedrock_server_var.lib + key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('Scripts/LINK.txt') }} + + - name: Download Server + if: steps.cache-bds-lib.outputs.cache-hit != 'true' + working-directory: ${{ env.GITHUB_WORKSPACE }} + run: | + mkdir Tools/Server + ServerLink=$(cat 'Scripts/LINK.txt') + curl -L -o Tools/Server/server.zip "$ServerLink" + unzip Tools/Server/server.zip -d Tools/Server/ > /dev/null + shell: bash + + - name: Build Library + if: steps.cache-bds-lib.outputs.cache-hit != 'true' + working-directory: ${{ env.GITHUB_WORKSPACE }} + run: | + cd Tools + LibraryBuilder.exe Server + shell: cmd + + - name: Change LITELOADER_VERSION_STATUS_BETA + working-directory: ${{ env.GITHUB_WORKSPACE }} + if: false == startsWith(github.ref, 'refs/tags/') + run: | + sed -r -i 's/#define\s+LITELOADER_VERSION_STATUS\s+LITELOADER_VERSION_\w+/#define LITELOADER_VERSION_STATUS LITELOADER_VERSION_BETA/' LiteLoader/Main/Version.h + sed -r -i 's/#define\s+LITELOADER_VERSION_ACTIONS\s+.*/#define LITELOADER_VERSION_ACTIONS ${{ github.run_number }}\r/' LiteLoader/Main/Version.h + cat LiteLoader/Main/Version.h + shell: bash + + - name: Change LITELOADER_VERSION_STATUS_RELEASE + working-directory: ${{ env.GITHUB_WORKSPACE }} + if: startsWith(github.ref, 'refs/tags/') + run: | + sed -r -i 's/#define\s+LITELOADER_VERSION_STATUS\s+LITELOADER_VERSION_\w+/#define LITELOADER_VERSION_STATUS LITELOADER_VERSION_RELEASE/' LiteLoader/Main/Version.h + sed -r -i 's/#define\s+LITELOADER_VERSION_ACTIONS\s+.*/#define LITELOADER_VERSION_ACTIONS ${{ github.run_number }}\r/' LiteLoader/Main/Version.h + shell: bash + + - name: Get MSVC Path + working-directory: C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\ + run: echo "MSVC_VER=$(ls | tail -n 1)" >> $GITHUB_ENV + shell: bash + + - name: Configure CMake(MSVC) + run: | + cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} + shell: cmd + + - name: Build + run: | + cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}} + shell: cmd + + - name: Configure CMake(ClangCL) + run: | + cmake -B ${{github.workspace}}/build_clang -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -T clangcl + shell: cmd + + - name: Build SymDBHelper + run: cmake --build ${{github.workspace}}/build_clang --config ${{env.BUILD_TYPE}} --target SymDBHelper + + - name: Pack Release + working-directory: ${{ env.GITHUB_WORKSPACE }} + run: | + cd Scripts + ./PackRelease.cmd action + shell: cmd + + - name: Move PDB to path + working-directory: ${{ env.GITHUB_WORKSPACE }} + run: | + mkdir PDB + cp x64/Release/*.pdb PDB + shell: bash + + - name: Upload LiteLoader + uses: actions/upload-artifact@v3.1.0 + with: + name: LiteLoader + path: ${{ github.workspace }}\RELEASE\ + + - name: Upload PDB + uses: actions/upload-artifact@v3.1.0 + with: + name: PDB + path: ${{ github.workspace }}\PDB diff --git a/.github/workflows/issue-close-require.yml b/.github/workflows/issue-close-require.yml new file mode 100644 index 0000000..58f4cc0 --- /dev/null +++ b/.github/workflows/issue-close-require.yml @@ -0,0 +1,19 @@ +name: Issue Close Require + +on: + schedule: + - cron: "0 0 * * *" + +jobs: + issue-close-require: + runs-on: ubuntu-latest + steps: + - name: need reproduce + uses: actions-cool/issues-helper@v2 + with: + actions: 'close-issues' + labels: 'status: more information needed' + inactive-day: 30 + body: | + 您超过 30 天未反馈信息,我们将关闭该 issue,如有需求您可以重新打开或者提交新的 issue。 + If you haven't provided feedback for more than 30 days, we will close the issue. You can reopen or submit a new issue if necessary. diff --git a/.github/workflows/issue-close.yml b/.github/workflows/issue-close.yml new file mode 100644 index 0000000..4e604a1 --- /dev/null +++ b/.github/workflows/issue-close.yml @@ -0,0 +1,16 @@ +name: Issue Close Check + +on: + issues: + types: [closed] + +jobs: + issue-close-remove-labels: + runs-on: ubuntu-latest + steps: + - name: Remove labels + uses: actions-cool/issues-helper@v2 + if: ${{ !github.event.issue.pull_request }} + with: + actions: 'remove-labels' + labels: 'status: need review,status: more information needed' diff --git a/.github/workflows/issue-comment.yml b/.github/workflows/issue-comment.yml new file mode 100644 index 0000000..42c14f2 --- /dev/null +++ b/.github/workflows/issue-comment.yml @@ -0,0 +1,38 @@ +on: + issue_comment: + types: [created] + +name: Add issues workflow labels + +jobs: + add-label-if-is-author: + runs-on: ubuntu-latest + if: (github.event.issue.user.id == github.event.comment.user.id) && !github.event.issue.pull_request && (github.event.issue.state == 'open') + steps: + - name: Add require handle label + uses: actions-cool/issues-helper@v2 + with: + actions: 'add-labels' + labels: 'status: need review' + + - name: Remove require reply label + uses: actions-cool/issues-helper@v2 + with: + actions: 'remove-labels' + labels: 'status: more information needed' + + add-label-if-not-author: + runs-on: ubuntu-latest + if: (github.event.issue.user.id != github.event.comment.user.id) && !github.event.issue.pull_request && (github.event.issue.state == 'open') + steps: + - name: Add require replay label + uses: actions-cool/issues-helper@v2 + with: + actions: 'add-labels' + labels: 'status: more information needed' + + - name: Remove require handle label + uses: actions-cool/issues-helper@v2 + with: + actions: 'remove-labels' + labels: 'status: need review' diff --git a/.github/workflows/issue-open.yml b/.github/workflows/issue-open.yml new file mode 100644 index 0000000..43e4426 --- /dev/null +++ b/.github/workflows/issue-open.yml @@ -0,0 +1,16 @@ +name: Issue Open Check + +on: + issues: + types: [opened] + +jobs: + issue-open-add-labels: + runs-on: ubuntu-latest + steps: + - name: Add labels + uses: actions-cool/issues-helper@v2 + if: ${{ !github.event.issue.pull_request }} + with: + actions: 'add-labels' + labels: 'status: need review' diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..8fed6d9 --- /dev/null +++ b/.gitignore @@ -0,0 +1,36 @@ +x64/ +**/.vs/ +**/x64/ +**/*.user +**/.vscode/ + +**/bedrock_server_api.lib +**/bedrock_server_var.lib +**/SymDB_DelayLoadHelper.lib +LiteLoader/Lib/SymDBHelper.lib +**/*.lastcodeanalysissucceeded +*.zip + +/LiteLoader/out/ +LiteLoaderSDK/ + +RELEASE/*.dll +RELEASE/LLPeEditor.exe +!RELEASE/ChakraCore.dll +RELEASE/plugins/LiteLoader/LiteLoader.*.dll +RELEASE/plugins/LiteLoader/LiteLoader.*.pdb +RELEASE/plugins/LiteLoader/pdb +!RELEASE/plugins/LiteLoader/CrashLogger.dll + +.idea/** +!.idea/cmake.xml + +cmake-build-release/ +/out +LiteLoader/Lib/Demangler.pdb +LiteLoader/Lib/Demangler.lib + +/build +**/Directory.build.props +RELEASE/plugins/lib/BaseLib.js +RELEASE/plugins/lib/BaseLib.lua diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..ec5c972 --- /dev/null +++ b/.gitmodules @@ -0,0 +1,3 @@ +[submodule "RELEASE/plugins/LiteLoader/ResourcePacks/LiteLoaderBDS-CUI"] + path = RELEASE/plugins/LiteLoader/ResourcePacks/LiteLoaderBDS-CUI + url = https://github.com/OEOTYAN/LiteLoaderBDS-CUI.git diff --git a/.idea/cmake.xml b/.idea/cmake.xml new file mode 100644 index 0000000..14b7ea9 --- /dev/null +++ b/.idea/cmake.xml @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 0000000..49414ca --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,5 @@ +## [LiteLoader Release Note] +LiteLoaderBDS-2.6.2 update has been released, adapted to BDS-1.19.21,BDS-1.19.22, ProtocolVersion 545 + +## [Bug Fixes] +- Fix LLSE `NetworkAPI` \ No newline at end of file diff --git a/CMakeLists.txt b/CMakeLists.txt new file mode 100644 index 0000000..be4fb73 --- /dev/null +++ b/CMakeLists.txt @@ -0,0 +1,14 @@ +cmake_minimum_required(VERSION 3.21) +project(LL-Parent) + +# Add sub directories +add_subdirectory(PreLoader) +add_subdirectory(LiteLoader) +add_subdirectory(ScriptEngine/CMake/ScriptEngine-Lua) +add_subdirectory(ScriptEngine/CMake/ScriptEngine-QuickJs) +add_subdirectory(ScriptEngine/CMake/ScriptEngine-NodeJs) +add_subdirectory(Tools/Demangler) +add_subdirectory(ScriptEngine/third-party/ScriptX/CMake/ScriptX-Lua) +add_subdirectory(ScriptEngine/third-party/ScriptX/CMake/ScriptX-QuickJs) +add_subdirectory(ScriptEngine/third-party/ScriptX/CMake/ScriptX-NodeJs) +add_subdirectory(Tools/SymDBHelper) \ No newline at end of file diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..664263a --- /dev/null +++ b/LICENSE @@ -0,0 +1,188 @@ +[CHINESE VERSION] + +版权所有 © 2020-2022 [LiteLoaderBDS Developers](https://github.com/LiteLDev) 保留所有权利 + +本项目使用 GNU Lesser General Public License version 3(LGPLv3许可证),例外情况如下: + +LiteLoaderSDK不受此许可证约束, LiteLoaderSDK使用MIT许可证开源。 + +注: LiteLoaderSDK指本仓库的LiteLoader/Header目录下的文件 + 许可证详见https://github.com/LiteLDev/LiteLoaderSDK/tree/main/LICENSE + +[ENGLISH VERSION] + +Copyright © 2020-2022 [LiteLoaderBDS Developers](https://github.com/LiteLDev) All rights reserved. + +This project is under the GNU Lesser General Public License version 3, with exceptions as follows: + +LiteLoaderSDK is not under the terms of this license, and is open source under the MIT license. + +Note: LiteLoaderSDK refers to the repository's LiteLoader/Header directory. + See https://github.com/LiteLDev/LiteLoaderSDK/tree/main/LICENSE for the license. + +======================================================================== + GNU LESSER GENERAL PUBLIC LICENSE + Version 3, 29 June 2007 + + Copyright (C) 2007 Free Software Foundation, Inc. + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + + This version of the GNU Lesser General Public License incorporates +the terms and conditions of version 3 of the GNU General Public +License, supplemented by the additional permissions listed below. + + 0. Additional Definitions. + + As used herein, "this License" refers to version 3 of the GNU Lesser +General Public License, and the "GNU GPL" refers to version 3 of the GNU +General Public License. + + "The Library" refers to a covered work governed by this License, +other than an Application or a Combined Work as defined below. + + An "Application" is any work that makes use of an interface provided +by the Library, but which is not otherwise based on the Library. +Defining a subclass of a class defined by the Library is deemed a mode +of using an interface provided by the Library. + + A "Combined Work" is a work produced by combining or linking an +Application with the Library. The particular version of the Library +with which the Combined Work was made is also called the "Linked +Version". + + The "Minimal Corresponding Source" for a Combined Work means the +Corresponding Source for the Combined Work, excluding any source code +for portions of the Combined Work that, considered in isolation, are +based on the Application, and not on the Linked Version. + + The "Corresponding Application Code" for a Combined Work means the +object code and/or source code for the Application, including any data +and utility programs needed for reproducing the Combined Work from the +Application, but excluding the System Libraries of the Combined Work. + + 1. Exception to Section 3 of the GNU GPL. + + You may convey a covered work under sections 3 and 4 of this License +without being bound by section 3 of the GNU GPL. + + 2. Conveying Modified Versions. + + If you modify a copy of the Library, and, in your modifications, a +facility refers to a function or data to be supplied by an Application +that uses the facility (other than as an argument passed when the +facility is invoked), then you may convey a copy of the modified +version: + + a) under this License, provided that you make a good faith effort to + ensure that, in the event an Application does not supply the + function or data, the facility still operates, and performs + whatever part of its purpose remains meaningful, or + + b) under the GNU GPL, with none of the additional permissions of + this License applicable to that copy. + + 3. Object Code Incorporating Material from Library Header Files. + + The object code form of an Application may incorporate material from +a header file that is part of the Library. You may convey such object +code under terms of your choice, provided that, if the incorporated +material is not limited to numerical parameters, data structure +layouts and accessors, or small macros, inline functions and templates +(ten or fewer lines in length), you do both of the following: + + a) Give prominent notice with each copy of the object code that the + Library is used in it and that the Library and its use are + covered by this License. + + b) Accompany the object code with a copy of the GNU GPL and this license + document. + + 4. Combined Works. + + You may convey a Combined Work under terms of your choice that, +taken together, effectively do not restrict modification of the +portions of the Library contained in the Combined Work and reverse +engineering for debugging such modifications, if you also do each of +the following: + + a) Give prominent notice with each copy of the Combined Work that + the Library is used in it and that the Library and its use are + covered by this License. + + b) Accompany the Combined Work with a copy of the GNU GPL and this license + document. + + c) For a Combined Work that displays copyright notices during + execution, include the copyright notice for the Library among + these notices, as well as a reference directing the user to the + copies of the GNU GPL and this license document. + + d) Do one of the following: + + 0) Convey the Minimal Corresponding Source under the terms of this + License, and the Corresponding Application Code in a form + suitable for, and under terms that permit, the user to + recombine or relink the Application with a modified version of + the Linked Version to produce a modified Combined Work, in the + manner specified by section 6 of the GNU GPL for conveying + Corresponding Source. + + 1) Use a suitable shared library mechanism for linking with the + Library. A suitable mechanism is one that (a) uses at run time + a copy of the Library already present on the user's computer + system, and (b) will operate properly with a modified version + of the Library that is interface-compatible with the Linked + Version. + + e) Provide Installation Information, but only if you would otherwise + be required to provide such information under section 6 of the + GNU GPL, and only to the extent that such information is + necessary to install and execute a modified version of the + Combined Work produced by recombining or relinking the + Application with a modified version of the Linked Version. (If + you use option 4d0, the Installation Information must accompany + the Minimal Corresponding Source and Corresponding Application + Code. If you use option 4d1, you must provide the Installation + Information in the manner specified by section 6 of the GNU GPL + for conveying Corresponding Source.) + + 5. Combined Libraries. + + You may place library facilities that are a work based on the +Library side by side in a single library together with other library +facilities that are not Applications and are not covered by this +License, and convey such a combined library under terms of your +choice, if you do both of the following: + + a) Accompany the combined library with a copy of the same work based + on the Library, uncombined with any other library facilities, + conveyed under the terms of this License. + + b) Give prominent notice with the combined library that part of it + is a work based on the Library, and explaining where to find the + accompanying uncombined form of the same work. + + 6. Revised Versions of the GNU Lesser General Public License. + + The Free Software Foundation may publish revised and/or new versions +of the GNU Lesser General Public License from time to time. Such new +versions will be similar in spirit to the present version, but may +differ in detail to address new problems or concerns. + + Each version is given a distinguishing version number. If the +Library as you received it specifies that a certain numbered version +of the GNU Lesser General Public License "or any later version" +applies to it, you have the option of following the terms and +conditions either of that published version or of any later version +published by the Free Software Foundation. If the Library as you +received it does not specify a version number of the GNU Lesser +General Public License, you may choose any version of the GNU Lesser +General Public License ever published by the Free Software Foundation. + + If the Library as you received it specifies that a proxy can decide +whether future versions of the GNU Lesser General Public License shall +apply, that proxy's public statement of acceptance of any version is +permanent authorization for you to choose that version for the +Library. \ No newline at end of file diff --git a/LiteLoader/.gitignore b/LiteLoader/.gitignore new file mode 100644 index 0000000..1127b8d --- /dev/null +++ b/LiteLoader/.gitignore @@ -0,0 +1,5 @@ +*.user +/cmake-build-release/ +/cmake-build-debug/ +/.idea/ +Lib/LiteLoader.lib \ No newline at end of file diff --git a/LiteLoader/CMakeLists.txt b/LiteLoader/CMakeLists.txt new file mode 100644 index 0000000..d6ffaff --- /dev/null +++ b/LiteLoader/CMakeLists.txt @@ -0,0 +1,70 @@ +cmake_minimum_required(VERSION 3.21) +project(LiteLoader) + +set(CMAKE_CXX_STANDARD 20) +set(CMAKE_BUILD_TYPE Release) # Always uses Release mode to build BDS plugin for ABI Compatibility + +set(LIBRARY_OUTPUT_PATH ${CMAKE_SOURCE_DIR}/x64/) + +set(TARGET_DIR ${CMAKE_SOURCE_DIR}/x64/Release/) + +file(GLOB_RECURSE SRC_FILES + ${PROJECT_SOURCE_DIR}/Lib/third-party/nbt-cpp/*.cpp + ${PROJECT_SOURCE_DIR}/Header/*.cpp + ${PROJECT_SOURCE_DIR}/Header/*.hpp + ${PROJECT_SOURCE_DIR}/Header/*.h + ${PROJECT_SOURCE_DIR}/Kernel/*.cpp + ${PROJECT_SOURCE_DIR}/Kernel/*.hpp + ${PROJECT_SOURCE_DIR}/Kernel/*.h + ${PROJECT_SOURCE_DIR}/Main/*.cpp + ${PROJECT_SOURCE_DIR}/Main/*.hpp + ${PROJECT_SOURCE_DIR}/Main/*.h + ${PROJECT_SOURCE_DIR}/Resource/*.rc + ${PROJECT_SOURCE_DIR}/Resource/*.h +) + +add_definitions( + -DUNICODE -DNDEBUG -DLITELOADER_EXPORTS -DWIN32_LEAN_AND_MEAN + -DCPPHTTPLIB_OPENSSL_SUPPORT -D_CRT_SECURE_NO_WARNINGS -D_WINDOWS + -D_USRDLL -D_AMD64_ -DNOMINMAX +) + +add_compile_options( + /permissive /MP /analyze:external- /GS /GL /W3 /Gy /Zc:wchar_t /Zi /Gm- /O2 /sdl /Zc:inline /fp:precise + /external:W1 /errorReport:prompt /WX- /Zc:forScope /Gd /Oi /MD /FC /EHa /nologo /Ot /diagnostics:column + /utf-8 +) + +add_link_options( + /MANIFEST /LTCG:incremental /NXCOMPAT /DEBUG:FULL /DLL /MACHINE:X64 /OPT:REF /INCREMENTAL:NO /SUBSYSTEM:CONSOLE + /MANIFESTUAC:NO /OPT:ICF /ERRORREPORT:PROMPT /NOLOGO /TLBID:1 + /DELAYLOAD:bedrock_server.dll # use delayload to import BDS APIs manually(bedrock_server.dll does not need to exist) +) + +include_directories(${PROJECT_SOURCE_DIR}) +include_directories(${PROJECT_SOURCE_DIR}/Header) +include_directories(${PROJECT_SOURCE_DIR}/Header/third-party) +include_directories(${CMAKE_SOURCE_DIR}) + +link_directories(${PROJECT_SOURCE_DIR}) +link_directories(${CMAKE_SOURCE_DIR}/x64/Release) + +add_library(LiteLoader SHARED ${SRC_FILES}) + +target_link_libraries(LiteLoader LLPreLoader + "${PROJECT_SOURCE_DIR}/Lib/third-party/leveldb/leveldb.lib" + "${PROJECT_SOURCE_DIR}/Lib/third-party/openssl/libcrypto.lib" + "${PROJECT_SOURCE_DIR}/Lib/third-party/openssl/libssl.lib" + "${PROJECT_SOURCE_DIR}/Lib/third-party/SQLiteCpp/SQLiteCpp.lib" + "${PROJECT_SOURCE_DIR}/Lib/third-party/SQLiteCpp/sqlite3.lib" + "${PROJECT_SOURCE_DIR}/Lib/third-party/mysql/mysqlclient.lib" + "${PROJECT_SOURCE_DIR}/Lib/third-party/compact_enc_det/ced.lib" + "${PROJECT_SOURCE_DIR}/Lib/third-party/dyncall/dyncall_s.lib" + "${PROJECT_SOURCE_DIR}/Lib/third-party/dyncall/dyncallback_s.lib" + "${PROJECT_SOURCE_DIR}/Lib/third-party/dyncall/dynload_s.lib" + "${PROJECT_SOURCE_DIR}/Lib/third-party/compact_enc_det/ced.lib" + "${PROJECT_SOURCE_DIR}/Lib/third-party/dbghelp/dbghelp.lib" + # Please make sure that the BDS APIs ImportLibrary is at the bottom of the list to ensure proper linking. + "${PROJECT_SOURCE_DIR}/Lib/bedrock_server_api.lib" + "${PROJECT_SOURCE_DIR}/Lib/bedrock_server_var.lib" +) diff --git a/LiteLoader/Header/AllowListAPI.h b/LiteLoader/Header/AllowListAPI.h new file mode 100644 index 0000000..84f4a43 --- /dev/null +++ b/LiteLoader/Header/AllowListAPI.h @@ -0,0 +1,51 @@ +#pragma once +#include "Global.h" +#include "third-party/Nlohmann/json.hpp" + +////////////////////////////////////////////////////// +// For managing AllowList +// +// [Usage] +// +// AllowListManager().has("steve"[, "114514"]); +// AllowListManager().add("alex"[, "11451419", true]).reload(); +// AllowListManager().remove("mojang"[, "233333"]).reload(); +// AllowListManager().add(...).remove(...).reload(); +// +// [Note] +// +// If you don't call reload after add/remove, the changes will only write to file +// but it will not take effect in the game. +// This means the player you added won't be able to join the game until reloading +// +// 如果你在使用add/remove成员之后不调用reload函数, 这些更改将只会写入文件而不会在游戏中生效 +// 这意味着你添加到白名单的玩家将不能加入游戏, 直到重载白名单 +// +////////////////////////////////////////////////////// + +// class AllowListManager { + +// void save(); + +// public: +// nlohmann::json allowList; + +// LIAPI AllowListManager(); + +// LIAPI size_t size(); + +// // @summary Return whether the player in the allowlist +// LIAPI bool has(const std::string& name, const xuid_t& xuid = ""); +// // @summary Return whether the player in the allowlist +// // @param index If exists, index will be set to the array index +// LIAPI bool has(const std::string& name, const xuid_t& xuid, size_t& index); + +// // @summary Add a player to allowlist +// LIAPI AllowListManager& add(const std::string& name, const xuid_t& xuid = "", bool ignore = false); + +// // @summary Remove a player from allowlist +// LIAPI AllowListManager& remove(const std::string& name, const xuid_t& xuid = ""); + +// // @summary Reload the allowlist(Making changes effective) +// LIAPI void reload(); +// }; diff --git a/LiteLoader/Header/DB/Any.h b/LiteLoader/Header/DB/Any.h new file mode 100644 index 0000000..f944d55 --- /dev/null +++ b/LiteLoader/Header/DB/Any.h @@ -0,0 +1,728 @@ +#pragma once +#include "../Global.h" +#include "Types.h" + +#pragma region AnyConversion + +namespace DB +{ +// Declare Any class +class Any; +} // namespace DB + +/** + * @brief Function to convert Any to T. + * + * @tparam T The type to convert to + * @param v The Any object + * @return T The converted value + */ +template +inline T any_to(const DB::Any& v) +{ + throw std::bad_cast(); +} + +template +inline std::vector to_any_container(const std::vector& v) +{ + std::vector result; + for (auto& i : v) + { + result.push_back(DB::Any(i)); + } + return result; +} +template +inline std::set to_any_container(const std::set& v) +{ + std::set result; + for (auto& i : v) + { + result.insert(DB::Any(i)); + } + return result; +} +template +inline std::list to_any_container(const std::list& v) +{ + std::list result; + for (auto& i : v) + { + result.push_back(DB::Any(i)); + } + return result; +} +template +inline std::unordered_set to_any_container(const std::unordered_set& v) +{ + std::unordered_set result; + for (auto& i : v) + { + result.insert(DB::Any(i)); + } + return result; +} +template +inline std::map to_any_container(const std::map& v) +{ + std::map result; + for (auto& i : v) + { + result.insert(std::make_pair(i.first, DB::Any(i.second))); + } + return result; +} +template +inline std::unordered_map to_any_unordered_map(const std::unordered_map& v) +{ + std::unordered_map result; + for (auto& i : v) + { + result.insert(std::make_pair(i.first, DB::Any(i.second))); + } + return result; +} + +#pragma endregion + +namespace DB +{ + +/** + * @brief Any class to store some SQL basic types + * + */ +class Any +{ + +public: + union Value + { + bool boolean; + int64_t integer; + uint64_t uinteger; + double floating; + std::string* string; + Date* date; + Time* time; + DateTime* datetime; + ByteArray* blob; + } value; ///< Value + + enum class Type : char + { + Null = 0, + Boolean = 1, + Integer = 2, + UInteger = 3, + Floating = 4, + String = 5, + Date = 6, + Time = 7, + DateTime = 8, + Blob = 9 + } type = Type::Null; ///< Type of the value + + /** + * @brief Construct a new Any object with null value. + * + */ + LIAPI Any(); + /** + * @brief Construct a new Any object with boolean value. + * + * @param v The boolean value + */ + LIAPI Any(bool v); + /** + * @brief Construct a new Any object with int64 value. + * + * @param v The integer value + */ + LIAPI Any(int64_t v); + /** + * @brief Construct a new Any object with uint64 value. + * + * @param v The unsigned integer value + */ + LIAPI Any(uint64_t v); + /** + * @brief Construct a new Any object with double value. + * + * @param v The floating value + */ + LIAPI Any(double v); + /** + * @brief Construct a new Any object with string value. + * + * @param v The string value + */ + LIAPI Any(const std::string& v); + /** + * @brief Construct a new Any object with const char* value. + * + * @param v The const char* value + */ + LIAPI Any(const char* v); + /** + * @brief Construct a new Any object with char* value. + * + * @param v The char* value + * @param len The length of the char* value + */ + LIAPI Any(char* v, size_t len); + /** + * @brief Construct a new Any object with date value. + * + * @param v The Date object + */ + LIAPI Any(const Date& v); + /** + * @brief Construct a new Any object with time value. + * + * @param v The Time object + */ + LIAPI Any(const Time& v); + /** + * @brief Construct a new Any object with date time value. + * + * @param v The DateTime object + */ + LIAPI Any(const DateTime& v); + /** + * @brief Construct a new Any object with int8(char) value. + * + * @param v The char value + */ + LIAPI Any(char v); + /** + * @brief Construct a new Any object with uint8(unsigned char) value. + * + * @param v The unsigned char value + */ + LIAPI Any(unsigned char v); + /** + * @brief Construct a new Any object with int16(short) value. + * + * @param v The short value + */ + LIAPI Any(short v); + /** + * @brief Construct a new Any object with uint16(unsigned short) value. + * + * @param v The unsigned short value + */ + LIAPI Any(unsigned short v); + /** + * @brief Construct a new Any object with int32(int) value. + * + * @param v The int value + */ + LIAPI Any(int v); + /** + * @brief Construct a new Any object with uint32(unsigned int) value. + * + * @param v The unsigned int value + */ + LIAPI Any(unsigned int v); + /** + * @brief Construct a new Any object with long value. + * + * @param v The long value + */ + LIAPI Any(long v); + /** + * @brief Construct a new Any object with unsigned long value. + * + * @param v The unsigned long value + */ + LIAPI Any(unsigned long v); + /** + * @brief Construct a new Any object with float value. + * + * @param v The float value + */ + LIAPI Any(float v); + /** + * @brief Construct a new Any object with byte array value. + * + * @param v The byte array value + */ + LIAPI Any(const ByteArray& v); + /// Copy constructor + LIAPI Any(const Any& v); + /// Copy assignment operator + LIAPI Any& operator=(const Any& v); + + /// Destructor + LIAPI ~Any(); + + /** + * @brief Get if the value is null. + * + */ + LIAPI bool is_null() const; + /** + * @brief Get if the value is boolean. + * + */ + LIAPI bool is_boolean() const; + /** + * @brief Get if the value is (unsigned) integer. + * + */ + LIAPI bool is_integer() const; + /** + * @brief Get if the value is unsigned integer. + * + */ + LIAPI bool is_uinteger() const; + /** + * @brief Get if the value is floating. + * + */ + LIAPI bool is_floating() const; + /** + * @brief Get if the value is string. + * + */ + LIAPI bool is_string() const; + /** + * @brief Get if the value is date. + * + */ + LIAPI bool is_date() const; + /** + * @brief Get if the value is time. + * + */ + LIAPI bool is_time() const; + /** + * @brief Get if the value is date time. + * + */ + LIAPI bool is_datetime() const; + /** + * @brief Get if the value is blob. + * + */ + LIAPI bool is_blob() const; + /** + * @brief Get if the value is floating or (unsigned) integer. + * + */ + LIAPI bool is_number() const; + + /** + * @brief Get the number value as T + * + * @tparam T The C++ basic number type to convert to, such as int, long, double, etc. + * @return T The value + * @throws std::bad_cast If the value cannot be converted to T or the value is not a number + * @note You can use Any::is_number() to check if the value is a number before calling this function. + * @see is_number() + */ + template + inline T get_number() const + { + switch (type) + { +#if !defined(DBANY_NO_NULL_CONVERSION) + case Type::Null: + return 0; +#endif + case Type::Boolean: + return static_cast(value.boolean); + case Type::Integer: + case Type::UInteger: + return static_cast(value.integer); + case Type::Floating: + return static_cast(value.floating); + case Type::String: + case Type::Date: + case Type::Time: + case Type::DateTime: + case Type::Blob: + default: + throw std::bad_cast(); + } + } + + /** + * @brief Get the value as T. + * + * @tparam T The type of the value + * @return T The value + * @throws std::bad_cast If the value cannot be converted to T + * @par Custom Type Conversion + * Define a custom type conversion function for the type T + * @code + * template <> + * MyClass any_to(const Any& v) { + * MyClass result; + * switch (v.type) { + * case Any::Type::String: + * result.a = *v.value.string; + * default: + * throw std::bad_cast(); + * } + * return result; + * } + * @endcode + * @note You can use `#define DBANY_NO_NULL_CONVERSION` to disable null conversion. + * (throw an exception when trying converting from a null type value) + * @see any_to + */ + template + inline T get() const + { + return any_to(*this); + } + /** + * @brief Get the value as string + * + * @tparam T = bool + * @return bool The value + * @throws std::bad_cast If the value cannot be converted to string + */ + template <> + inline bool get() const + { + switch (type) + { +#if !defined(DBANY_NO_NULL_CONVERSION) + case Type::Null: + return false; +#endif + case Type::Boolean: + return value.boolean; + case Type::Integer: + case Type::UInteger: + case Type::Floating: + return (bool)value.integer; + case Type::String: + case Type::Date: + case Type::Time: + case Type::DateTime: + case Type::Blob: + default: + throw std::bad_cast(); + } + } + /** + * @brief Get the value as char + * + * @tparam T = char + * @return char The value + * @throws std::bad_cast If the value cannot be converted to char + */ + template <> + inline char get() const + { + return get_number(); + } + /** + * @brief Get the value as unsigned char + * + * @tparam T = unsigned char + * @return unsigned char The value + * @throws std::bad_cast If the value cannot be converted to unsigned char + */ + template <> + inline unsigned char get() const + { + return get_number(); + } + /** + * @brief Get the value as short + * + * @tparam T = short + * @return short The value + * @throws std::bad_cast If the value cannot be converted to short + */ + template <> + inline short get() const + { + return get_number(); + } + /** + * @brief Get the value as unsigned short + * + * @tparam T = unsigned short + * @return unsigned short The value + * @throws std::bad_cast If the value cannot be converted to unsigned short + */ + template <> + inline unsigned short get() const + { + return get_number(); + } + /** + * @brief Get the value as int + * + * @tparam T = int + * @return int The value + * @throws std::bad_cast If the value cannot be converted to int + */ + template <> + inline int get() const + { + return get_number(); + } + /** + * @brief Get the value as unsigned int + * + * @tparam T = unsigned int + * @return unsigned int The value + * @throws std::bad_cast If the value cannot be converted to unsigned int + */ + template <> + inline unsigned int get() const + { + return get_number(); + } + /** + * @brief Get the value as long + * + * @tparam T = long + * @return long The value + * @throws std::bad_cast If the value cannot be converted to long + */ + template <> + inline long get() const + { + return get_number(); + } + /** + * @brief Get the value as unsigned long + * + * @tparam T = unsigned long + * @return unsigned long The value + * @throws std::bad_cast If the value cannot be converted to unsigned long + */ + template <> + inline unsigned long get() const + { + return get_number(); + } + /** + * @brief Get the value as long long + * + * @tparam T = long long + * @return long long The value + * @throws std::bad_cast If the value cannot be converted to long long + */ + template <> + inline long long get() const + { + return get_number(); + } + /** + * @brief Get the value as unsigned long long + * + * @tparam T = unsigned long long + * @return unsigned long long The value + * @throws std::bad_cast If the value cannot be converted to unsigned long long + */ + template <> + inline unsigned long long get() const + { + return get_number(); + } + /** + * @brief Get the value as double. + * + * @tparam T = double + * @return double The value + * @throws std::bad_cast If the value cannot be converted to double + */ + template <> + inline double get() const + { + return get_number(); + } + /** + * @brief Get the value as float. + * + * @tparam T = float + * @return float The value + * @throws std::bad_cast If the value cannot be converted to float + */ + template <> + inline float get() const + { + return get_number(); + } + /** + * @brief Get the value as string. + * + * @tparam T = std::string + * @return std::string The value + * @throws std::bad_cast If the value cannot be converted to string + */ + template <> + std::string get() const + { + switch (type) + { +#if !defined(DBANY_NO_NULL_CONVERSION) + case Type::Null: + return ""; +#endif + case Type::Boolean: + return value.boolean ? "true" : "false"; + case Type::Integer: + return std::to_string(value.integer); + case Type::UInteger: + return std::to_string(value.uinteger); + case Type::Floating: + return std::to_string(value.floating); + case Type::String: + return *value.string; + case Type::Date: + return std::to_string(value.date->year) + "-" + + std::to_string(value.date->month) + "-" + + std::to_string(value.date->day); + break; + case Type::Time: + return std::to_string(value.time->hour) + ":" + + std::to_string(value.time->minute) + ":" + + std::to_string(value.time->second); + case Type::DateTime: + return std::to_string(value.datetime->date.year) + "-" + + std::to_string(value.datetime->date.month) + "-" + + std::to_string(value.datetime->date.day) + " " + + std::to_string(value.datetime->time.hour) + ":" + + std::to_string(value.datetime->time.minute) + ":" + + std::to_string(value.datetime->time.second); + case Type::Blob: + return std::string(value.blob->begin(), value.blob->end()); + default: + throw std::bad_cast(); + } + } + /** + * @brief Get the value as Date + * + * @tparam T = DB::Date + * @return DB::Date The value + * @throws std::bad_cast If the value cannot be converted to DB::Date + */ + template <> + Date get() const + { + switch (type) + { + case Type::Date: + return *value.date; + case Type::DateTime: + return value.datetime->date; + case Type::String: + case Type::Integer: + case Type::UInteger: + case Type::Floating: + case Type::Time: + case Type::Blob: + default: + throw std::bad_cast(); + } + } + /** + * @brief Get the value as Time + * + * @tparam T = DB::Time + * @return DB::Time The value + * @throws std::bad_cast If the value cannot be converted to DB::Time + */ + template <> + Time get() const + { + switch (type) + { + case Type::Time: + return *value.time; + case Type::DateTime: + return value.datetime->time; + case Type::String: + case Type::Integer: + case Type::UInteger: + case Type::Floating: + case Type::Date: + case Type::Blob: + default: + throw std::bad_cast(); + } + } + /** + * @brief Get the value as DateTime + * + * @tparam T = DB::DateTime + * @return DB::DateTime The value + * @throws std::bad_cast If the value cannot be converted to DB::DateTime + */ + template <> + DateTime get() const + { + switch (type) + { + case Type::DateTime: + return *value.datetime; + case Type::String: + case Type::Integer: + case Type::UInteger: + case Type::Floating: + case Type::Date: + case Type::Time: + case Type::Blob: + default: + throw std::bad_cast(); + } + } + /** + * @brief Get the value as ByteArray + * + * @tparam T = DB::ByteArray + * @return DB::ByteArray The value + * @throws std::bad_cast If the value cannot be converted to DB::ByteArray + */ + template <> + ByteArray get() const + { + switch (type) + { + case Type::Blob: + return *value.blob; + case Type::String: + return ByteArray((unsigned char*)value.string->data(), + (unsigned char*)value.string->data() + value.string->size()); + case Type::Integer: + case Type::UInteger: + case Type::Floating: + case Type::Date: + case Type::Time: + case Type::DateTime: + default: + throw std::bad_cast(); + } + } + + /** + * @brief Convert Any::Type to string. + * + * @param type The Any::Type value + * @return std::string The string value + */ + LIAPI static std::string type2str(Any::Type type); + + /** + * @brief Convert string to Any. + * + * @param str The string + * @return Any The converted value + */ + LIAPI static Any str2any(const std::string& str); + +}; + +} // namespace DB \ No newline at end of file diff --git a/LiteLoader/Header/DB/ConnParams.h b/LiteLoader/Header/DB/ConnParams.h new file mode 100644 index 0000000..c6dda03 --- /dev/null +++ b/LiteLoader/Header/DB/ConnParams.h @@ -0,0 +1,140 @@ +#pragma once +#include "Any.h" +#include + +namespace DB +{ + +/** + * @brief Connection parameters + * + */ +class ConnParams : public std::unordered_map +{ + + std::string raw; + +public: + ConnParams() = default; + /** + * @brief Construct a new ConnParams object + * + * @param list An initializer list like `{"host", "localhost", "port", 3306}` + * @throw std::invalid_argument If the type of key is not supported + */ + LIAPI ConnParams(const std::initializer_list& list); + /** + * @brief Construct a new ConnParams object + * + * @param list An initializer list like `{{"key1", "value1"}, {"key2", "value2"}}` + */ + LIAPI ConnParams(const std::initializer_list>& list); + /** + * @brief Construct a new ConnParams object + * + * @param str Connection string like `mysql://localhost:3306?key1=value1&key2=value2` + */ + LIAPI ConnParams(const std::string& str); + /** + * @brief Construct a new ConnParams object + * + * @param str Connection string like `mysql://localhost:3306?key1=value1&key2=value2` + */ + LIAPI ConnParams(const char* str); + + /** + * @brief Get the scheme. + * + * @return std::string The scheme + */ + LIAPI std::string getScheme(); + /** + * @brief Get the host. + * + * @return std::string The host name + */ + LIAPI std::string getHost(); + /** + * @brief Get the port. + * + * @return uint16_t The port number + */ + LIAPI uint16_t getPort(); + /** + * @brief Get the username. + * + * @return std::string The username + */ + LIAPI std::string getUsername(); + /** + * @brief Get the password. + * + * @return std::string The password + */ + LIAPI std::string getPassword(); + /** + * @brief Get the database. + * + * @return std::string The database name + */ + LIAPI std::string getDatabase(); + /** + * @brief Get the path. + * + * @return std::string The path + */ + LIAPI std::string getPath(); + /** + * @brief Get the raw connection string. + * + * @return std::string The connection string + * @note If this object is constructed by `ConnParams(const std::string& str)` + * or `ConnParams(const char* str)`, + * the return value is the same as the parameter `str`. + * Otherwise, the return value will be empty. + */ + LIAPI std::string getRaw(); + + /** + * @brief Get the value of one of the keys. + * + * @tparam T The type of the value + * @param keys The keys (If ignoreCase is true, keys must be lowercase) + * @param ignoreCase Whether to ignore the case of the key + * @param defaultValue The default value + * @return T The value + * @note If there are multiple keys matched, + * the first one(keys[0]) will be returned. + */ + template + inline T get(const std::vector& keys, bool ignoreCase = true, T defaultValue = T()) + { + Any value; + int w = INT_MAX; + for (auto& [k, v] : *this) + { + std::string lowerKey = k; + if (ignoreCase) + { + std::transform(lowerKey.begin(), lowerKey.end(), lowerKey.begin(), ::tolower); + } + int i = 0; + for (auto& key : keys) + { + if (lowerKey == key && i < w) + { + value = v; + w = i; + if (w == 0) break; + } + i++; + } + if (w == 0) break; + } + if (value.is_null()) + return defaultValue; + return value.get(); + } +}; + +} // namespace DB \ No newline at end of file diff --git a/LiteLoader/Header/DB/Impl/MySQL/Session.h b/LiteLoader/Header/DB/Impl/MySQL/Session.h new file mode 100644 index 0000000..ea5850f --- /dev/null +++ b/LiteLoader/Header/DB/Impl/MySQL/Session.h @@ -0,0 +1,40 @@ +#pragma once +#include "../../Session.h" + +struct MYSQL; + +namespace DB +{ + +class MySQLStmt; + +class MySQLSession : public Session +{ + + MYSQL* conn = nullptr; + + void setSSL(const ConnParams& params); + +public: + MySQLSession(); + MySQLSession(const ConnParams& params); + ~MySQLSession(); + void open(const ConnParams& params); + bool execute(const std::string& query); + bool relogin(const std::string& user, const std::string& password, const std::string& db = ""); + Session& query(const std::string& query, std::function callback); + SharedPointer prepare(const std::string& query, bool autoExecute = false); + std::string getLastError() const; + uint64_t getAffectedRows() const; + uint64_t getLastInsertId() const; + void close(); + bool isOpen(); + DBType getType(); + + SharedPointer operator<<(const std::string& query); + + friend class MySQLStmt; + +}; + +} // namespace DB \ No newline at end of file diff --git a/LiteLoader/Header/DB/Impl/MySQL/Stmt.h b/LiteLoader/Header/DB/Impl/MySQL/Stmt.h new file mode 100644 index 0000000..28b3e45 --- /dev/null +++ b/LiteLoader/Header/DB/Impl/MySQL/Stmt.h @@ -0,0 +1,71 @@ +#pragma once +#include "../../Stmt.h" + +struct MYSQL_STMT; + +namespace DB +{ + +class MySQLSession; + +/** + * @brief Fetched data receiver(buffer) + * + */ +struct Receiver +{ + MYSQL_FIELD field; + std::shared_ptr buffer; + unsigned long length = 0; + bool isNull = false; + bool isUnsigned = false; + bool error = false; +}; + +class MySQLStmt : public Stmt +{ + + MYSQL_STMT* stmt = nullptr; + MYSQL_RES* metadata = nullptr; + std::shared_ptr params = nullptr; ///< Parameters to bind + std::shared_ptr result = nullptr; ///< Result of query + std::shared_ptr resultHeader = nullptr; + std::vector boundIndexes; + std::vector paramValues; + std::vector resultValues; + std::unordered_map paramIndexes; + std::string query; + int boundParamsCount = 0; + int totalParamsCount = 0; + int steps = 0; + bool fetched = false; + + MySQLStmt(MYSQL_STMT* stmt, const std::weak_ptr& parent, bool autoExecute = false); + int getNextParamIndex(); + void bindResult(); + +public: + ~MySQLStmt(); + Stmt& bind(const Any& value, int index); + Stmt& bind(const Any& value, const std::string& name); + Stmt& bind(const Any& value); + Stmt& execute(); + bool step(); + bool next(); + bool done(); + Row _Fetch(); + Stmt& reset(); + Stmt& reexec(); + Stmt& clear(); + void close(); + uint64_t getAffectedRows() const; + uint64_t getInsertId() const; + int getUnboundParams() const; + int getBoundParams() const; + int getParamsCount() const; + DBType getType() const; + + LIAPI static SharedPointer create(const std::weak_ptr& sess, const std::string& sql, bool autoExecute = false); +}; + +} // namespace DB \ No newline at end of file diff --git a/LiteLoader/Header/DB/Impl/SQLite/Session.h b/LiteLoader/Header/DB/Impl/SQLite/Session.h new file mode 100644 index 0000000..ee52a3c --- /dev/null +++ b/LiteLoader/Header/DB/Impl/SQLite/Session.h @@ -0,0 +1,34 @@ +#pragma once +#include "../../Session.h" + +struct sqlite3; +namespace DB +{ + +class SQLiteSession : public Session +{ + + sqlite3* conn = nullptr; + +public: + + SQLiteSession(); + SQLiteSession(const ConnParams& params); + ~SQLiteSession(); + void open(const ConnParams& params); + bool execute(const std::string& query); + Session& query(const std::string& query, std::function callback); + SharedPointer prepare(const std::string& query, bool autoExecute = false); + std::string getLastError() const; + uint64_t getAffectedRows() const; + uint64_t getLastInsertId() const; + void close(); + bool isOpen(); + DBType getType(); + + SharedPointer operator<<(const std::string& query); + + friend class SQLiteStmt; +}; + +} // namespace DB \ No newline at end of file diff --git a/LiteLoader/Header/DB/Impl/SQLite/Stmt.h b/LiteLoader/Header/DB/Impl/SQLite/Stmt.h new file mode 100644 index 0000000..64058f6 --- /dev/null +++ b/LiteLoader/Header/DB/Impl/SQLite/Stmt.h @@ -0,0 +1,57 @@ +#pragma once +#include "../../Stmt.h" + +struct sqlite3_stmt; + +namespace DB +{ + +class SQLiteSession; + +class SQLiteStmt : public Stmt +{ + + std::shared_ptr resultHeader; + sqlite3_stmt* stmt = nullptr; + int boundParamsCount = 0; + int totalParamsCount = 0; + int steps = 0; + uint64_t affectedRowCount = -1; + uint64_t insertRowId = -1; + bool stepped = false; + bool executed = false; + std::vector boundIndexes; + + SQLiteStmt(sqlite3_stmt* stmt, const std::weak_ptr parent, bool autoExecute); + int getNextParamIndex(); + void fetchResultHeader(); + +public: + ~SQLiteStmt(); + Stmt& bind(const Any& value, int index); + Stmt& bind(const Any& value, const std::string& name); + Stmt& bind(const Any& value); + Stmt& execute(); + bool step(); + bool next(); + bool done(); + Row _Fetch(); + Stmt& reset(); + /** + * @see Stmt::reexec for details + * @see https://www.sqlite.org/c3ref/reexec.html + */ + Stmt& reexec(); + Stmt& clear(); + void close(); + uint64_t getAffectedRows() const; + uint64_t getInsertId() const; + int getUnboundParams() const; + int getBoundParams() const; + int getParamsCount() const; + DBType getType() const; + + LIAPI static SharedPointer create(const std::weak_ptr& sess, const std::string& sql, bool autoExecute = false); +}; + +} // namespace DB \ No newline at end of file diff --git a/LiteLoader/Header/DB/Pointer.h b/LiteLoader/Header/DB/Pointer.h new file mode 100644 index 0000000..8021c19 --- /dev/null +++ b/LiteLoader/Header/DB/Pointer.h @@ -0,0 +1,68 @@ +#pragma once +#include + +namespace DB +{ + +class Stmt; + +/** + * @brief A smart pointer class extended from std::shared_ptr + * + * @tparam T Type of the pointer + * @warning This class is only for internal use(Session, Stmt and so on). + * So do not use this class directly, use std::shared_ptr instead. + */ +template +class SharedPointer : public std::shared_ptr +{ + +public: + + SharedPointer(T* ptr = nullptr) : std::shared_ptr(ptr) {} + SharedPointer(const std::shared_ptr& ptr) : std::shared_ptr(ptr) {} + SharedPointer(std::shared_ptr&& ptr) : std::shared_ptr(ptr) {} + SharedPointer(const SharedPointer& other) : std::shared_ptr(other) {} + SharedPointer(SharedPointer&& other) : std::shared_ptr(other) {} + ~SharedPointer() + { + } + inline SharedPointer& operator=(const SharedPointer& other) + { + std::shared_ptr::operator=(other); + return *this; + } + inline SharedPointer& operator=(SharedPointer&& other) noexcept + { + std::shared_ptr::operator=(other); + return *this; + } + + template + inline SharedPointer operator<<(const U& v) + { + auto ptr = std::shared_ptr::get(); + if (!ptr) throw std::runtime_error("The pointer is nullptr"); + //Logger("DBG").debug("operator<< {}", (void*)ptr); + return (*ptr) << v; + } + + template + inline SharedPointer operator>>(U& v) + { + auto ptr = std::shared_ptr::get(); + if (!ptr) throw std::runtime_error("The pointer is nullptr"); + return (*ptr) >> v; + } + + template + inline SharedPointer operator,(U v) + { + auto ptr = std::shared_ptr::get(); + if (!ptr) throw std::runtime_error("The pointer is nullptr"); + return ptr->operator,(v); + } + +}; + +} // namespace DB \ No newline at end of file diff --git a/LiteLoader/Header/DB/Row.h b/LiteLoader/Header/DB/Row.h new file mode 100644 index 0000000..0eab378 --- /dev/null +++ b/LiteLoader/Header/DB/Row.h @@ -0,0 +1,269 @@ +#pragma once +#include "Any.h" +#include +#include + +namespace DB +{ + +class Row; + +/** + * @brief The header of a row + * + */ +class RowHeader : private std::vector +{ + + using Base = std::vector; + std::vector hashes; + +public: + /** + * @brief Construct a new Row Header object. + * + */ + RowHeader() = default; + /** + * @brief Construct a new Row Header object. + * + * @param list An initializer list like `{"col1", "col2", "col3"}` + */ + LIAPI RowHeader(const std::initializer_list& list); + /// Move constructor + RowHeader(RowHeader&& other) noexcept = default; + /// Copy constructor + RowHeader(const RowHeader& other) = default; + /// Destructor + ~RowHeader(); + /** + * @brief Add a column to the header. + * + * @param name The name of the column + * @return int The index of the column + */ + LIAPI size_t add(const std::string& name); + /** + * @brief Get whether the header contains a column. + * + * @param name The name of the column + * @return bool True if the column exists + */ + LIAPI bool contains(const std::string& name); + /** + * @brief Remove a column from the header. + * + * @param name The name of the column + * @throws std::out_of_range If the column does not exist + */ + LIAPI void remove(const std::string& name); + /** + * @brief Get the size of the header. + * + * @return int The size of the header + */ + LIAPI size_t size() const; + /** + * @brief Get weather the header is empty. + * + * @return bool True if the header is empty + */ + LIAPI bool empty() const; + /** + * @brief Get the index of a column. + * + * @param name The name of the column + * @return int The index of the column + * @throws std::out_of_range If the column does not exist + */ + LIAPI size_t at(const std::string& name); + /** + * @brief Get the index of a column. + * + * @param index The index of the column + * @return std::string& The name of the column + * @throws std::out_of_range If the column does not exist + */ + LIAPI std::string& at(size_t index); + /** + * @brief Get the iterator to the first element + * + * @return std::unordered_map::iterator The iterator + */ + LIAPI std::vector::iterator begin(); + /** + * @brief Get the iterator to the last element. + * + * @return std::unordered_map::iterator The iterator + */ + LIAPI std::vector::iterator end(); + /** + * @brief Check whether the row can be adapted to the header. + * + * @param row The row to adapt + * @return bool True if the row can be adapted + */ + LIAPI bool check(const Row& row) const; + + /** + * @brief Get the index of a column. + * + * @param name The name of the column + * @return int The index of the column + * @note It will create the column(=add) if it does not exist + */ + LIAPI size_t operator[](const std::string& name); + /** + * @brief Get the name of a column. + * + * @param index The index of the column + * @return std::string& The name of the column + */ + LIAPI std::string& operator[](size_t index); + + /// Move assignment operator + RowHeader& operator=(RowHeader&& other) noexcept = default; + /// Copy assignment operator + RowHeader& operator=(const RowHeader& other) = default; +}; + +/** + * @brief A row of data + * + */ +class Row : public std::vector +{ +public: + std::shared_ptr header; //!< The header of the row + + /** + * @brief Construct a new Row object. + * + * @param header The header(column names) of the row(shared_ptr) + */ + LIAPI Row(const std::shared_ptr& header = nullptr); + /** + * @brief Construct a new Row object. + * + * @param header The header(column names) of the row + * @note This will create a shared_ptr of the header + */ + LIAPI Row(const RowHeader& header); + /** + * @brief Construct a new Row object. + * + * @param list List of values + * @param header The header(column names) of the row + * @throw std::invalid_argument If the size of the list is not equal to the size of the header + * @par Example + * @code + * RowHeader header{"id", "age", "name"}; + * Row row1({114, 24, "alex"}, header); + * Row row2({514, 24, "steve"}, {"id", "age", "name"}); + * @endcode + */ + LIAPI Row(const std::initializer_list& list, const RowHeader& header); + /** + * @brief Construct a new Row object. + * + * @param list List of values + * @param header The header(column names) of the row(shared_ptr) + * @throw std::invalid_argument If the size of the list is not equal to the size of the header + */ + LIAPI Row(const std::initializer_list& list, + const std::shared_ptr& header = nullptr); + /** + * @brief Construct a new Row object(move). + * + * @param list Vector of values + * @param header The header(column names) of the row + * @throw std::invalid_argument If the size of the vector is not equal to the size of the header + */ + LIAPI Row(std::vector&& list, const RowHeader& header); + /** + * @brief Construct a new Row object. + * + * @param list Vector of values + * @param header The header(column names) of the row + * @throw std::invalid_argument If the size of the vector is not equal to the size of the header + */ + LIAPI Row(const std::vector& list, const RowHeader& header); + /** + * @brief Construct a new Row object(move). + * + * @param list Vector of column names(header) and values + * @par Example + * @code + * Row row({{"id", 114}, {"age", 2000}, {"name", "alex"}}); + * @endcode + */ + LIAPI Row(const std::initializer_list>& list); + /// Move constructor + LIAPI Row(Row&& other) noexcept; + /// Copy constructor + LIAPI Row(const Row& other); + /// Move assignment operator + LIAPI Row& operator=(Row&& other) noexcept; + /// Copy assignment operator + LIAPI Row& operator=(const Row& other); + /** + * @brief Get the value of a column + * + * @param column The name of the column + * @return Any& The value of the column + * @note It will create a new Any object if the column doesn't exist + */ + LIAPI Any& operator[](const std::string& name); + /** + * @brief Get the value of a column + * + * @param column The name of the column + * @return Any& The value of the column + * @see Row::at + */ + LIAPI const Any& operator[](const std::string& name) const; + /** + * @brief Get the value of a column + * + * @param column The name of the column + * @return Any& The value of the column + * @throw std::out_of_range If the column does not exist + */ + LIAPI Any& at(const std::string& column); + LIAPI const Any& at(const std::string& column) const; + /** + * @brief Traverse the row(references) + * + * @param cb The function to call for each element + * @note Return false in callback function to stop the iteration + */ + LIAPI void forEach_ref(std::function cb); + /** + * @brief Traverse the row + * + * @param cb The function to call for each element + * @note Return false in callback function to stop the iteration + */ + LIAPI void forEach(std::function cb) const; +}; + +} // namespace DB + +/** + * @brief Function to convert a row to T. + * + * @tparam T The type to convert to + * @param row A row + * @return T The converted value + */ +template +inline T row_to(const DB::Row& row) +{ + throw std::bad_cast(); +} + +template <> +inline DB::Row row_to(const DB::Row& row) +{ + return row; +} \ No newline at end of file diff --git a/LiteLoader/Header/DB/RowSet.h b/LiteLoader/Header/DB/RowSet.h new file mode 100644 index 0000000..5a6cc32 --- /dev/null +++ b/LiteLoader/Header/DB/RowSet.h @@ -0,0 +1,78 @@ +#pragma once +#include "Row.h" +#include + +#undef max + +namespace DB +{ + +class RowSet : public std::vector +{ + + using Base = std::vector; + +public: + std::shared_ptr header; //!< The header of the rows + + /** + * @brief Construct a new Row Set object + * + * @param header The header(column names) of rows(shared_ptr) + */ + LIAPI RowSet(const std::shared_ptr& header = nullptr); + /** + * @brief Construct a new Row Set object + * + * @param header The header(column names) of rows + */ + LIAPI RowSet(const RowHeader& header); + /// Move constructor + LIAPI RowSet(RowSet&& set) noexcept; + /// Copy constructor + LIAPI RowSet(const RowSet& set); + /// Move assignment operator + LIAPI RowSet& operator=(RowSet&& set) noexcept; + /// Copy assignment operator + LIAPI RowSet& operator=(const RowSet& set); + + /** + * @brief Add a row to the set. + * + * @param row The row to add + */ + LIAPI void add(const Row& row); + /** + * @brief Get if the set is valid + * + * @return bool True if valid + */ + LIAPI bool valid(); + /** + * @brief Add a row to the set. + * + * @param row The row to add + * @see add(const Row&) + */ + LIAPI void push_back(const Row& row); + /** + * @brief Convert to the table string. + * + * @param nullPattern When the value is null, what to replace with(default '') + * @return std::string The result string + * @par sample + * @code + * | a | b | + * |=====|========| + * | awa | 114514 | + * | qwq | 233 | + * | ll | | + * |=====|========| + * @endcode + */ + LIAPI std::string toTableString(const std::string& nullPattern = "") const; +}; + +using ResultSet = RowSet; + +} // namespace DB \ No newline at end of file diff --git a/LiteLoader/Header/DB/Session.h b/LiteLoader/Header/DB/Session.h new file mode 100644 index 0000000..6d8af65 --- /dev/null +++ b/LiteLoader/Header/DB/Session.h @@ -0,0 +1,231 @@ +#pragma once +#include "RowSet.h" +#include "Stmt.h" +#include "ConnParams.h" +#include "Pointer.h" + +class Logger; + +namespace DB +{ + +extern Logger dbLogger; + +class Session +{ + +protected: +#if defined(LLDB_DEBUG_MODE) + bool debugOutput = true; +#else + bool debugOutput = false; +#endif + std::weak_ptr self; + std::vector> stmtPool; ///< List of statements opened by prepare method. + +public: + + /// Destructor + virtual ~Session() = default; + /** + * @brief Open the database connection. + * + * @par Implementation + * @see SQLiteSession::open + */ + virtual void open(const ConnParams& params) = 0; + /** + * @brief Turn on/off debug output. + * + * @param enable Enable or not + */ + LIAPI void setDebugOutput(bool enable); + /** + * @brief Change current user and database. + * + * @param user Username + * @param pass Password + * @param db Database name + * @return bool Success or not + * @throws std::runtime_error If not implemented + * @par Implementation + * None + */ + virtual bool relogin(const std::string& user, const std::string& password, const std::string& db = ""); + /** + * @brief Execute a query. + * + * @param query Query to execute + * @param callback Callback to process results + * @return *this + * + * @par Implementation + * @see SQLiteSession::query + */ + virtual Session& query(const std::string& query, std::function callback) = 0; + /** + * @brief Execute a query. + * + * @param query The query to execute + * @return ResultSet Result set + */ + virtual ResultSet query(const std::string& query); + /** + * @brief Execute a query without results. + * + * @param query The query to execute + * @return bool Success or not + */ + virtual bool execute(const std::string& query) = 0; + /** + * @brief Prepare a query. + * + * @param query The query to execute + * @param autoExecute Whether to execute the statement automatically after binding all parameters + * @return SharedPointer The statement + * @par Example + * @code + * auto& stmt = session.prepare("SELECT * FROM table WHERE id = ?"); + * stmt.bind(1); + * auto res = stmt.getResults(); + * stmt.close(); + * @endcode + */ + virtual SharedPointer prepare(const std::string& query, bool autoExecute = false) = 0; + /** + * @brief Get the last error message + * + * @return std::string Error message + */ + virtual std::string getLastError() const; + /** + * @brief Get the number of affected rows by the last query. + * + * @return uint64_t The number of affected rows + */ + virtual uint64_t getAffectedRows() const = 0; + /** + * @brief Get the last insert id + * + * @return uint64_t The row id of the last inserted row + */ + virtual uint64_t getLastInsertId() const = 0; + /** + * @brief Close the session. + * + */ + virtual void close() = 0; + /** + * @brief Get whether the session is open. + * + */ + virtual bool isOpen() = 0; + /** + * @brief Get the type of session + * + * @return DBType The database type + */ + virtual DBType getType() = 0; + /** + * @brief Get or set the self pointer + * + * @return std::weak_ptr self + */ + virtual std::weak_ptr getOrSetSelf(); + + /** + * @brief Operator<< to execute a query. + * + * @param query The query to execute + * @return SharedPointer The prepared statement + * @par Example + * @code + * ResultSet res; + * session << "SELECT * FROM table WHERE id = ?", bind(114514), into(res); + * @endcode + * @note It is not recommended to store the DB::Stmt reference returned by this method, + * it will be closed on the next execution. + */ + virtual SharedPointer operator<<(const std::string& query); + + /** + * @brief Create a new session. + * + * @param type Database type + * @return SharedPointer The session + */ + LIAPI static SharedPointer create(DBType type); + /** + * @brief Create and open a new session. + * + * @param params Connection parameters + * @return SharedPointer The session + */ + LIAPI static SharedPointer create(const ConnParams& params); + /** + * @brief Create and open a new session. + * + * @param type Database type + * @param params Connection parameters + * @return SharedPointer The session + */ + LIAPI static SharedPointer create(DBType type, const ConnParams& params); + /** + * @brief Create and open a new session. + * + * @param type Database type + * @param host Hostname + * @param port Port + * @param user Username + * @param password Password + * @param database Database name + * @return SharedPointer The session + */ + LIAPI static SharedPointer create(DBType type, const std::string& host, uint16_t port, const std::string& user, const std::string& password, const std::string& database); + /** + * @brief Create and open a new session. + * + * @param type Database type + * @param path Path to the database file + * @return SharedPointer The session + */ + LIAPI static SharedPointer create(DBType type, const std::string& path); + +private: + + /** + * @brief Create a new session(internal). + * + * @param type Database type + * @param params Connection parameters + * @return SharedPointer The session + */ + static SharedPointer _Create(DBType type, const ConnParams& params = {}); + +private: + + static std::vector> sessionPool; ///< List of sessions(weak pointers) + +public: + + /** + * @brief Get the Session ptr by the (this) pointer. + * + * @param session The (this) pointer + * @return std::shared_ptr The Session ptr + */ + static std::shared_ptr getSession(Session* session) + { + for (auto& s : sessionPool) + { + if (s.expired()) continue; + auto ptr = s.lock(); + if (ptr.get() == session) + return ptr; + } + throw std::runtime_error("Session::getSession: Session is not found or expired"); + } + +}; + +} // namespace DB \ No newline at end of file diff --git a/LiteLoader/Header/DB/Stmt.h b/LiteLoader/Header/DB/Stmt.h new file mode 100644 index 0000000..214bb07 --- /dev/null +++ b/LiteLoader/Header/DB/Stmt.h @@ -0,0 +1,673 @@ +#pragma once +#include "RowSet.h" +#include "Pointer.h" + +#define IF_ENDBG if (debugOutput) + +class Logger; + +namespace DB +{ + +extern Logger dbLogger; + +class Session; + +/** + * @brief Structure to store a single value to bind to a prepared statement. + * + * @tparam T Type of sequence container, must have begin() and end() methods + * @tparam The value type of the container must be DB::Any. + */ +struct BindType +{ + Any value; + std::string name; + int idx = -1; +}; + +/** + * @brief Structure to store a sequential container + * to bind multiple parameters at once. + * + * @tparam T Type of sequence container, must have begin() and end() methods + * @tparam The value type of the container must be DB::Any. + */ +template +struct BindSequenceType +{ + T values; + static_assert(std::is_same::value, "Container value type must be DB::Any"); +}; +/** + * @brief Structure to store a map(relevance) container + * to bind multiple parameters at once. + * + * @tparam T Type of map container, must have begin() and end() methods + * @note The key type of the map must be std::string, + * and the value type of the map must be DB::Any. + */ +template +struct BindMapType +{ + T values; + static_assert(std::is_same::value, "Map key type must be std::string"); + static_assert(std::is_same::value, "Map value type must be DB::Any"); +}; + +template +struct IntoType +{ + T& value; +}; + +class Stmt +{ + +protected: +#if defined(LLDB_DEBUG_MODE) + bool debugOutput = true; +#else + bool debugOutput = false; +#endif + bool autoExecute = false; ///< Whether to automatically execute the statement on bind + std::weak_ptr parent; ///< Parent session + std::weak_ptr self; + +public: + Stmt(const std::weak_ptr& parent, bool autoExecute = false); + + virtual ~Stmt(); + + /** + * @brief Turn on/off debug output. + * + * @param enable Enable or not + */ + LIAPI void setDebugOutput(bool enable); + + /** + * @brief Bind a value to a statement parameter. + * + * @param value Value to bind + * @param index Parameter index + * @throws std::runtime_error If error occurs + * + * @par Implementation + * @see SQLiteStmt::bind + */ + virtual Stmt& bind(const Any& value, int index) = 0; + + /** + * @brief Bind a value to a statement parameter. + * + * @param value Value to bind + * @param name Parameter name + * @throws std::runtime_error If error occurs + * + * @par Impletementation + * @see SQLiteStmt::bind + */ + virtual Stmt& bind(const Any& value, const std::string& name) = 0; + + /** + * @brief Bind a value to the next statement parameter. + * + * @param value Value to bind + * @throws std::runtime_error If error occurs + * + * @par Impletementation + * @see SQLiteStmt::bind + */ + virtual Stmt& bind(const Any& value) = 0; + + /** + * @brief Execute the statement(after binding all the parameters) + * + * @return Stmt& *this + * @note If `this->autoExecute` is true, there is no need to call this method + */ + virtual Stmt& execute() = 0; + + /** + * @brief Step to the next row(not fetch). + * + * @return bool True if there is a next row + * + * @par Impletementation + * @see SQLiteStmt::step + */ + virtual bool step() = 0; + + /** + * @brief Step to the next row(=step). + * + * @return bool True if there is a next row + * + * @par Impletementation + * @see SQLiteStmt::next + */ + virtual bool next() = 0; + + /** + * @brief Get weather all the rows have been fetched. + * + * @return bool True if all the rows have been fetched + * + * @par Impletementation + * @see SQLiteStmt::done + */ + virtual bool done() = 0; + + /** + * @brief Fetch the current row. + * + * @tparam T The type of the value to return + * @return T The current row(converted) + * @throws std::runtime_error If there is no row to fetch + * + * @par Example + * @code + * auto stmt = sess->prepare("SELECT * FROM table"); + * while (stmt->step()) { + * auto row = stmt->fetch(); + * // Do something with the row + * } + * stmt->close(); + * @endcode + */ + template + inline T fetch() + { + return row_to(_Fetch()); + } + + /** + * @brief Fetch the current row. + * + * @param[out] row The current row + * @return Stmt& *this + */ + template + inline Stmt& fetch(T& row) + { + row = row_to(_Fetch()); + return *this; + } + + /** + * @brief Fetch each of the result rows. + * + * @param cb Callback function to handle the result rows + * @return Stmt& *this + * @note Return false in callback to stop fetching + * + * @par Example + * @code + * sess->prepare("SELECT * FROM table") + * ->fetchEach([](const Row& row) { + * // Do something with the row + * return true; + * }) + * ->close(); + * @endcode + */ + inline Stmt& fetchEach(std::function cb) + { + do { + auto res = _Fetch(); + if (res.size() == 0) { + continue; + } + if (!cb(res)) { + break; + } + } while (step()); + return *this; + } + + /** + * @brief Fetch each of the result rows(For compatibility). + * + * @param cb Callback function to handle the result rows + * @return Stmt& *this + * @note Return false in callback to stop fetching + * @see Stmt::fetchEach + */ + inline Stmt& fetchAll(std::function cb) + { + return fetchEach(cb); + } + //virtual Stmt& fetchAll(std::function cb); + + /** + * @brief Fetch all the result rows. + * + * @tparam T The value type of vector + * @param[out] rows The result set + * @return Stmt& *this + */ + template + inline Stmt& fetchAll(std::vector& rows) { + return fetchEach([&](const Row& row) { + rows.push_back(row_to(row)); + return true; + }); + return *this; + } + + /** + * @brief Fetch all the result rows. + * + * @tparam T The value type of vector + * @return std::vector The result rows + */ + template + inline std::vector fetchAll() { + std::vector result; + fetchAll(result); + return result; + } + //virtual ResultSet fetchAll() = 0; + //virtual Stmt& fetchAll(ResultSet& rows); + + inline ResultSet fetchAll() + { + ResultSet set; + fetchAll(set); + return set; + } + + inline Stmt& fetchAll(ResultSet& rows) + { + return fetchEach([&rows](const Row& row) { + rows.push_back(row); + return true; + }); + } + + /** + * @brief Reset the statement from executing state to perpared state + * + * @return Stmt& *this + * + * @par Note + * Different between `reset()`, `reexec` and `clear()`: + * - `reset()` : Reset the statement to the prepared state + * - `reexec()`: Reset the statement to the prepared state and execute it + * - `clear()` : Reset the statement to the prepared state and clear the parameters, but not execute it + */ + virtual Stmt& reset() = 0; + + /** + * @brief Re-execute the statement(keep the currently bound value to re-excute). + * + * @return Stmt& *this + * @note If you want to clear the bound value, use clear() instead. + * @see Stmt::reset + * + * @par Impletementation + * @see SQLiteStmt::reexec + */ + virtual Stmt& reexec() = 0; + + /** + * @brief Clear all the bound values. + * + * @return Stmt& *this + * @see Stmt::reset + * + * @par Impletementation + * @see SQLiteStmt::clear + */ + virtual Stmt& clear() = 0; + + /** + * @brief Close the statement. + * + * + * @par Impletementation + * @see SQLiteStmt::close + */ + virtual void close() = 0; + + /** + * @brief Get the number of rows affected by the statement. + * + * @return int The number of rows affected + * @note It will return -1(ULLONG_MAX - 1) if the row count is not available + * + * @par Impletementation + * @see SQLiteStmt::getAffectedRows + */ + virtual uint64_t getAffectedRows() const = 0; + + /** + * @brief Get the insert id of the statement + * + * @return uint64_t The insert id + * @throws std::runtime_error If error occurs + * @note It will return -1(ULLONG_MAX - 1) if the insert id is not available + * + * @par Implementation + * @see SQLiteStmt::getInsertId + */ + virtual uint64_t getInsertId() const = 0; + + /** + * @brief Get the number of the unbound parameters. + * + * @return int The number of the unbound parameters + * + * @par Impletementation + * @see SQLiteStmt::getUnboundParams + */ + virtual int getUnboundParams() const = 0; + + /** + * @brief Get the number of the bound parameters. + * + * @return int The number of the bound parameters + * + * @par Impletementation + * @see SQLiteStmt::getBoundParams + */ + virtual int getBoundParams() const = 0; + + /** + * @brief Get the number of parameters. + * + * @return int The number of parameters + * + * @par Impletementation + * @see SQLiteStmt::getParamsCount + */ + virtual int getParamsCount() const = 0; + + /** + * @brief Get the session. + * + * @return std::weak_ptr The session ptr + */ + virtual std::weak_ptr getParent() const; + + /** + * @brief Get the shared pointer point to this + * + * @return SharedPointer The ptr + */ + virtual SharedPointer getSharedPointer() const; + + /** + * @brief Get the session type + * + * @return DB::DBType The database type + * + * @par Impletementation + * @see SQLiteStmt::getType + */ + virtual DBType getType() const = 0; + + + /** + * @brief Fetch the current row(internal). + * + * @return Row The current row + */ + virtual Row _Fetch() = 0; + + + /** + * @brief Operator<< to bind values. + * + * @param v The value + * @return SharedPointer this + */ + inline SharedPointer operator<<(const Any& v) + { + bind(v); + return getSharedPointer(); + } + + /** + * @brief Operator>> to store the result. + * + * @tparam T The value type + * @param v Where to store + * @return SharedPointer this + */ + template + inline SharedPointer operator>>(T& v) + { + fetch(v); + return getSharedPointer(); + } + template <> + inline SharedPointer operator>>(ResultSet& v) + { + fetchAll(v); + return getSharedPointer(); + } + template + inline SharedPointer operator>>(std::vector& v) + { + fetchAll(v); + return getSharedPointer(); + } + + /** + * @brief Operator, to bind single values. + * + * @param b The return value of DB::use + * @return SharedPointer this + */ + virtual SharedPointer operator,(const BindType& b); + /** + * @brief Operator, to bind a sequence container. + * + * @param b The return value of DB::use + * @return SharedPointer this + */ + template + inline SharedPointer operator,(const BindSequenceType& b) + { + for (auto& v : b.values) + { + bind(v); + } + return getSharedPointer(); + } + /** + * @brief Operator, to bind a row. + * + * @param b The return value of DB::use + * @return SharedPointer this + */ + template <> + inline SharedPointer operator,(const BindSequenceType& b) + { + if (b.values.header && b.values.header->size()) + { + b.values.forEach([&](const std::string& name, const Any& value) { + bind(value, name); + return true; + }); + } + else + { + for (auto& v : b.values) + { + bind(v); + } + } + return getSharedPointer(); + } + /** + * @brief Operator, to bind a map container. + * + * @param b The return value of DB::bind + * @return SharedPointer this + */ + template + inline SharedPointer operator,(const BindMapType& b) + { + for (auto& v : b.values) + { + bind(v.second, v.first); + } + return getSharedPointer(); + } + /** + * @brief Operator, to store a row of results. + * + * @param i The return value of DB::into + * @return SharedPointer this + */ + template + inline SharedPointer operator,(IntoType& i) + { + if (!done()) fetch(i.value); + return getSharedPointer(); + } + /** + * @brief Operator, to store a set of results. + * + * @param i The return value of DB::into + * @return SharedPointer this + */ + template + inline SharedPointer operator,(IntoType>& i) + { + fetchAll>(i.value); + return getSharedPointer(); + } + /** + * @brief Operator, to store a set of results. + * + * @param i The return value of DB::into + * @return SharedPointer this + */ + template <> + inline SharedPointer operator,(IntoType& i) + { + fetchAll(i.value); + return getSharedPointer(); + } + /** + * @brief Operator, to store a row of results. + * + * @param i The return value of DB::into + * @return SharedPointer this + */ + template <> + inline SharedPointer operator,(IntoType& i) + { + fetch(i.value); + return getSharedPointer(); + } + + /** + * @brief Operator-> to implement better API. + * + * @return Stmt* this + */ + inline Stmt* operator->() + { + return this; + } +}; + +inline BindType use(const Any& value, int idx = -1) +{ + return BindType{value, std::string(), idx}; +} +inline BindType use(const Any& value, const std::string& name) +{ + return BindType{value, name}; +} +inline BindSequenceType use(const Row& values) +{ + return BindSequenceType{values}; +} + + +template +inline BindSequenceType> use(const std::vector& values) +{ + return BindSequenceType>{to_any_container(values)}; +} +template +inline BindSequenceType> use(const std::set& values) +{ + return BindSequenceType>{to_any_container(values)}; +} +template +inline BindSequenceType> use(const std::list& values) +{ + return BindSequenceType>{to_any_container(values)}; +} +template +inline BindSequenceType> use(const std::initializer_list& values) +{ + return BindSequenceType>{to_any_container(std::vector(values))}; +} +template <> +inline BindSequenceType> use(const std::vector& values) +{ + return BindSequenceType>{values}; +} +template <> +inline BindSequenceType> use(const std::set& values) +{ + return BindSequenceType>{values}; +} +template <> +inline BindSequenceType> use(const std::list& values) +{ + return BindSequenceType>{values}; +} +template <> +inline BindSequenceType> use(const std::initializer_list& values) +{ + return BindSequenceType>{std::vector(values)}; +} + + +// Map +template +inline BindMapType> use(const std::map& values) +{ + return BindMapType>{values}; +} +template +inline BindMapType> use(const std::unordered_map& values) +{ + return BindMapType>{values}; +} +template <> +inline BindMapType> use(const std::map& values) +{ + return BindMapType>{values}; +} +template <> +inline BindMapType> use(const std::unordered_map& values) +{ + return BindMapType>{values}; +} +inline BindMapType> use(const std::initializer_list>& values) +{ + std::map result; + for (auto& pair : values) + { + result.insert(std::make_pair(pair.first, pair.second)); + } + return BindMapType>{result}; +} + +template +inline IntoType into(T& out) +{ + return IntoType{out}; +} + +} // namespace DB \ No newline at end of file diff --git a/LiteLoader/Header/DB/Types.h b/LiteLoader/Header/DB/Types.h new file mode 100644 index 0000000..5ccae49 --- /dev/null +++ b/LiteLoader/Header/DB/Types.h @@ -0,0 +1,44 @@ +#pragma once +#include +//#define LLDB_DEBUG_MODE + +namespace DB +{ + +enum class DBType : char +{ + None, + SQLite, + MySQL, +}; + +struct Date +{ + int year; + int month; + int day; +}; + +struct Time +{ + int hour; + int minute; + int second; + int timezone = -1; +}; + +struct DateTime +{ + Date date; + Time time; +}; + +struct Decimal +{ + int64_t value; + int scale; +}; + +using ByteArray = std::vector; + +} // namespace DB \ No newline at end of file diff --git a/LiteLoader/Header/DynamicCommandAPI.h b/LiteLoader/Header/DynamicCommandAPI.h new file mode 100644 index 0000000..9b120ee --- /dev/null +++ b/LiteLoader/Header/DynamicCommandAPI.h @@ -0,0 +1,558 @@ +// #pragma once +// #include "Global.h" +// class Actor; +// #define USE_PARSE_ENUM_STRING +// //#define ENABLE_PARAMETER_TYPE_POSTFIX +// #include "MC/Command.hpp" +// #include "MC/CommandOrigin.hpp" +// #include "MC/CommandOutput.hpp" +// #include "MC/CommandParameterData.hpp" +// #include "MC/CommandRegistry.hpp" +// #include "MC/CommandSelector.hpp" +// #include "MC/CommandPosition.hpp" +// #include "Utils/WinHelper.h" +// #include + +// /////////////////////////////////////////////////////// +// // Dynamic Command Registry +// // +// // [Example] +// // ## One Example: +// // // Direct setup of dynamic command with necessary information +// // using ParamType = DynamicCommand::ParameterType; +// // using Param = DynamicCommand::ParameterData; +// // DynamicCommand::setup( +// // "testenum", // command name +// // "dynamic command", // command description +// // { +// // // enums{enumName, {values...}} +// // {"TestEnum1", {"add", "remove"}}, +// // {"TestEnum2", {"list"}}, +// // }, +// // { +// // // parameters(type, name, [optional], [enumOptions(also enumName)], [identifier]) +// // // identifier: used to identify unique parameter data, if idnetifier is not set, +// // // it is set to be the same as enumOptions or name (identifier = enumOptions.empty() ? name:enumOptions) +// // Param("testEnum", ParamType::Enum, "TestEnum1"), +// // Param("testEnum", ParamType::Enum, "TestEnum2"), +// // Param("testInt", ParamType::Int, true), +// // }, +// // { +// // // overloads{ (type == Enum ? enumOptions : name) ...} +// // {"TestEnum1", "testInt"}, // testenum [testInt] +// // {"TestEnum2"}, // testenum +// // }, +// // // dynamic command callback +// // [](DynamicCommand const& command, CommandOrigin const& origin, CommandOutput& output, +// // std::unordered_map& results) { +// // auto& action = results["testEnum"].get(); +// // switch (do_hash(action.c_str())) +// // { +// // case do_hash("add"): +// // if (results["testInt"].isSet) +// // output.success(fmt::format("add {}", results["testInt"].getRaw())); +// // else +// // output.success("add nothing"); +// // break; +// // case do_hash("remove"): +// // if (results["testInt"].isSet) +// // output.success(fmt::format("remove {}", results["testInt"].getRaw())); +// // else +// // output.success("remove nothing"); +// // break; +// // case do_hash("list"): +// // output.success("list"); +// // break; +// // default: +// // break; +// // } +// // }, +// // CommandPermissionLevel::GameMasters); +// // +// // ## Another Example +// // using ParamType = DynamicCommand::ParameterType; +// // // create a dynamic command +// // auto command = DynamicCommand::createCommand("testcmd", "dynamic command", CommandPermissionLevel::GameMasters); +// // +// // auto& optionsAdd = command->setEnum("TestOperation1", {"add", "remove"}); +// // auto& optionsList = command->setEnum("TestOperation2", {"list"}); +// // +// // command->mandatory("testEnum", ParamType::Enum, optionsAdd, CommandParameterOption::EnumAutocompleteExpansion); +// // command->mandatory("testEnum", ParamType::Enum, optionsList, CommandParameterOption::EnumAutocompleteExpansion); +// // command->mandatory("testString", ParamType::String); +// // +// // command->addOverload({optionsAdd, "testString"}); // dyncmd +// // command->addOverload({"TestOperation2"}); // dyncmd +// // +// // command->setCallback([](DynamicCommand const& command, CommandOrigin const& origin, CommandOutput& output, std::unordered_map& results) { +// // switch (do_hash(results["testEnum"].getRaw().c_str())) +// // { +// // case do_hash("add"): +// // output.success(fmt::format("Add - {}", results["testString"].getRaw())); +// // break; +// // case do_hash("remove"): +// // output.success(fmt::format("Remove - {}", results["testString"].getRaw())); +// // break; +// // case do_hash("list"): +// // output.success("List"); +// // break; +// // default: +// // break; +// // } +// // }); +// // // do not forget to setup the command instance +// // DynamicCommand::setup(std::move(command)); +// // +// ///////////////////////////////////////////////////// + +// struct DCCallback; +// struct DCArgs; +// typedef union DCValue_ DCValue; +// class DynamicCommandInstance; +// class CommandMessage; +// class CommandOutput; +// class CommandRegistry; +// class Player; + + +// #define AllResultType bool const*, int const*, float const*, std::string const*, CommandSelector const*, CommandSelector const*, CommandPosition const*, CommandPositionFloat const*, CommandRawText const*, CommandMessage const*, Json::Value const*, CommandItem const*, Block const* const*, MobEffect const* const*, ActorDefinitionIdentifier const* const*, std::unique_ptr const* + +// class DynamicCommand : public Command { +// template +// static constexpr bool is_one_of_v = std::_Meta_find_unique_index, std::add_pointer_t>>::value < sizeof...(_Types); +// template +// static constexpr bool is_supported_result_type_v = is_one_of_v<_Ty, AllResultType>; +// template +// using enable_if_supported_t = std::enable_if_t, Type>; + +// public: +// enum class ParameterType { +// Bool, // bool +// Int, // int +// Float, // float +// String, // std::string +// Actor, // CommandSelector +// Player, // CommandSelector +// BlockPos, // CommandPosition +// Vec3, // CommandPositionFloat +// RawText, // CommandRawText +// Message, // CommandMessage +// JsonValue, // Json::Value +// Item, // CommandItem +// Block, // Block const* +// Effect, // MobEffect const* +// Enum, // ENUM +// SoftEnum, // SOFT_ENUM +// ActorType, // ActorDefinitionIdentifier const* +// Command, // std::unique_ptr +// WildcardSelector, // WildcardCommandSelector +// #ifdef ENABLE_PARAMETER_TYPE_POSTFIX +// Postfix, // int? +// #endif // ENABLE_PARAMETER_TYPE_POSTFIX +// }; +// struct ParameterPtr; + +// struct Result { +// ParameterType const type; +// size_t const offset; +// bool const isSet; + +// DynamicCommand const* command; +// DynamicCommandInstance const* instance; +// CommandOrigin const* origin; + +// LIAPI Result(ParameterPtr const* ptr, DynamicCommand const* command, CommandOrigin const* origin, DynamicCommandInstance const* instance = nullptr); +// LIAPI Result(); +// LIAPI std::string const& getEnumValue() const; +// LIAPI ParameterType getType() const; +// LIAPI std::string getName() const; +// LIAPI std::string toDebugString() const; +// LIAPI DynamicCommandInstance const* getInstance() const; + +// template +// inline enable_if_supported_t getRaw() const { +// #ifdef USE_PARSE_ENUM_STRING +// if (type == ParameterType::Enum) { +// auto& val = dAccess>(command, offset); +// if constexpr (std::is_same_v, int> || std::is_enum_v) { +// return static_cast(val.second); +// } else if constexpr (std::is_same_v, std::string>) { +// return static_cast(val.first); +// } +// } +// #else +// if constexpr (std::is_same_v, std::string>) { +// if (type == ParameterType::Enum) +// return getEnumValue(); +// } +// #endif // USE_PARSE_ENUM_STRING +// if (checkTempateType(type)) +// return dAccess(command, offset); +// throw std::runtime_error(fmt::format("Raw type not match, parameter Type: {}, data type: {}", magic_enum::enum_name(type), typeid(T).name())); +// } + +// template +// inline enable_if_supported_t value_or(T const& defaultValue) { +// if (isSet) +// return getRaw(); +// return defaultValue; +// } + +// template +// inline std::conditional_t, std::add_lvalue_reference_t>>, T> +// get() const { +// static_assert(is_supported_result_type_v || (std::is_lvalue_reference_v && is_supported_result_type_v>), +// "Unsupported Result Type in " __FUNCTION__); +// if constexpr (std::is_lvalue_reference_v) +// return getRaw>(); +// else +// return getRaw(); +// } + +// template <> +// inline std::vector get>() const { +// if (type == ParameterType::Player) { +// auto players = get>(); +// std::vector actors(players.size()); +// std::transform(players.begin(), players.end(), actors.begin(), +// [](Player* player) { return static_cast(player); }); +// return actors; +// } +// std::vector rtn; +// for (auto& result : getRaw>().results(*origin)) { +// rtn.push_back(result); +// } +// return rtn; +// } +// template <> +// inline std::vector get>() const { +// std::vector rtn; +// for (auto& result : getRaw>().results(*origin)) { +// rtn.push_back(result); +// } +// return rtn; +// } +// template <> +// inline BlockPos get() const { +// auto& pos = getRaw(); +// return pos.getBlockPos(*origin, Vec3::ZERO); +// } +// template <> +// inline Vec3 get() const { +// auto& pos = getRaw(); +// return pos.getPosition(*origin, Vec3::ZERO); +// } +// }; + +// struct ParameterPtr { +// ParameterType type; + +// private: +// size_t offset = -1; + +// friend struct Result; + +// public: +// LIAPI ParameterPtr(ParameterType type, size_t offset); +// LIAPI bool isValueSet(DynamicCommand const* command) const; +// LIAPI Result getResult(DynamicCommand const* command, CommandOrigin const* origin) const; + +// inline size_t getOffset() const { +// return offset; +// } +// }; + +// struct ParameterData { +// protected: +// DynamicCommand::ParameterType type; +// size_t offset = -1; +// std::string name; +// std::string description; +// std::string identifier; +// bool optional = false; +// CommandParameterOption option; + +// public: +// ParameterData() = delete; +// LIAPI ParameterData(ParameterData const&); +// LIAPI ParameterData(std::string const& name, DynamicCommand::ParameterType type, bool optional = false, std::string const& enumOptions = "", std::string const& identifier = "", CommandParameterOption parameterOption = (CommandParameterOption)0); +// LIAPI ParameterData(std::string const& name, DynamicCommand::ParameterType type, std::string const& enumOptions = "", std::string const& identifier = "", CommandParameterOption parameterOption = (CommandParameterOption)0); +// LIAPI CommandParameterData makeParameterData() const; + +// friend class DynamicCommandInstance; +// friend class DynamicCommand; + +// template +// inline static constexpr CommandParameterDataType getCommandParameterDataType() { +// if constexpr (type == ParameterType::Enum) +// return CommandParameterDataType::ENUM; +// else if constexpr (type == ParameterType::SoftEnum) +// return CommandParameterDataType::SOFT_ENUM; +// // else if constexpr (type == ParameterType::Postfix) +// // return CommandParameterDataType::POSIFIX; +// else +// return CommandParameterDataType::NORMAL; +// } +// template +// CommandParameterData makeParameterData() const { +// CommandParameterData param{ +// type == ParameterType::Enum ? typeid_t::count++ : type_id(), +// type == ParameterType::Enum ? &CommandRegistry::fakeParse : CommandRegistry::getParseFn(), +// name, +// getCommandParameterDataType(), +// description == "" ? nullptr : description.data(), +// (int)offset, +// optional, +// (int)offset + std::max(8, (int)sizeof(T))}; +// param.addOptions(option); +// // logger.warn(Global->describe(param)); +// return std::move(param); +// } + +// inline void setOptional(bool optional) { +// this->optional = optional; +// } +// inline bool setEnumOptions(std::string const& enumOptions) { +// if (type != DynamicCommand::ParameterType::Enum && type != DynamicCommand::ParameterType::SoftEnum) +// return false; +// this->description = enumOptions; +// return true; +// } +// inline bool setParameterOption(CommandParameterOption parameterOption) { +// this->option = parameterOption; +// } + +// inline ParameterData(std::string const& name, ParameterType type, const char* enumOptions = "", std::string const& identifer = "", CommandParameterOption parameterOption = (CommandParameterOption)0) +// : ParameterData(name, type, (std::string const&)enumOptions, identifer, parameterOption){}; +// }; + +// using CallBackFn = std::function& results)>; +// using BuilderFn = std::unique_ptr (*)(); + +// private: +// template +// inline static enable_if_supported_t<_Ty, bool> checkTempateType(ParameterType type) { +// switch (type) { +// case ParameterType::Bool: +// return std::is_same_v>; +// case ParameterType::Int: +// return std::is_same_v>; +// case ParameterType::Float: +// return std::is_same_v>; +// case ParameterType::String: +// return std::is_same_v>; +// case ParameterType::Actor: +// return std::is_same_v, std::remove_cv_t<_Ty>>; +// case ParameterType::Player: +// return std::is_same_v, std::remove_cv_t<_Ty>>; +// case ParameterType::BlockPos: +// case ParameterType::Vec3: +// return std::is_same_v> || std::is_same_v>; +// case ParameterType::RawText: +// return std::is_same_v> || std::is_same_v>; +// case ParameterType::Message: +// return std::is_same_v>; +// case ParameterType::JsonValue: +// return std::is_same_v>; +// case ParameterType::Item: +// return std::is_same_v>; +// case ParameterType::Block: +// return std::is_same_v>; +// case ParameterType::Effect: +// return std::is_same_v>; +// // case ParameterType::Position: +// // return std::is_same_v> || std::is_same_v> || std::is_same_v>; +// case ParameterType::Enum: +// return std::is_same_v> || std::is_same_v> || std::is_enum_v<_Ty>; +// case ParameterType::SoftEnum: +// return std::is_same_v>; +// case ParameterType::ActorType: +// return std::is_same_v>; +// case ParameterType::Command: +// return std::is_same_v, std::remove_cv_t<_Ty>>; +// default: +// return false; +// break; +// } +// return false; +// } + +// LIAPI static char builderCallbackHanler(DCCallback* cb, DCArgs* args, DCValue* result, void* userdata); +// LIAPI static std::unique_ptr* commandBuilder(std::unique_ptr* rtn, std::string name); +// LIAPI static DynamicCommandInstance* _setup(std::unique_ptr commandInstance); + +// public: +// static bool onServerCommandsRegister(CommandRegistry& registry); + +// friend class DynamicCommandInstance; + +// public: +// /*0*/ virtual ~DynamicCommand(); +// /*1*/ virtual void execute(class CommandOrigin const& origin, class CommandOutput& output) const; + +// LIAPI static std::unique_ptr createCommand(std::string const& name, std::string const& description, CommandPermissionLevel permission = CommandPermissionLevel::GameMasters, CommandFlag flag1 = {(CommandFlagValue)0x80}, CommandFlag flag2 = {(CommandFlagValue)0}, HMODULE handle = GetCurrentModule()); +// LIAPI static std::unique_ptr createCommand( +// std::string const& name, +// std::string const& description, +// std::unordered_map>&& enums, +// std::vector&& params, +// std::vector>&& overloads, +// CallBackFn callback, +// CommandPermissionLevel permission = CommandPermissionLevel::GameMasters, +// CommandFlag flag1 = {(CommandFlagValue)0x80}, +// CommandFlag flag2 = {(CommandFlagValue)0}, +// HMODULE handle = GetCurrentModule()); + +// LIAPI static DynamicCommandInstance const* setup(std::unique_ptr commandInstance); +// inline static DynamicCommandInstance const* setup( +// std::string const& name, +// std::string const& description, +// std::unordered_map>&& enums, +// std::vector&& params, +// std::vector>&& overloads, +// CallBackFn callback, +// CommandPermissionLevel permission = CommandPermissionLevel::GameMasters, +// CommandFlag flag1 = {(CommandFlagValue)0x80}, +// CommandFlag flag2 = {(CommandFlagValue)0}, +// HMODULE handle = GetCurrentModule()) { +// return setup(createCommand(name, description, std::move(enums), std::move(params), std::move(overloads), std::move(callback), permission, flag1, flag2, handle)); +// }; + +// // Experiment +// LIAPI static bool unregisterCommand(std::string const& name); + +// LIAPI static bool updateAvailableCommands(); + +// LIAPI DynamicCommandInstance const* getInstance() const; + +// LIAPI static DynamicCommandInstance const* getInstance(std::string const& commandName); +// }; + +// class DynamicCommandInstance { +// public: +// struct ParameterIndex { +// DynamicCommandInstance* instance; +// size_t index; +// ParameterIndex(DynamicCommandInstance* instance, size_t index) +// : instance(instance) +// , index(index){}; +// inline operator size_t() const { +// return index; +// } +// inline DynamicCommand::ParameterData& operator->() { +// return instance->parameterDatas.at(index); +// } +// inline bool isValid() const { +// size_t size = instance->parameterDatas.size(); +// return index >= 0 && index < size; +// } +// }; + +// private: +// std::string name; +// std::string alias; +// std::unique_ptr description; +// CommandPermissionLevel permission; +// CommandFlag flag; +// DynamicCommand::BuilderFn builder = nullptr; + +// public: +// // Parameter Pointers to DynamicCommand Extra Part +// size_t commandSize = sizeof(DynamicCommand); +// std::unordered_map parameterPtrs = {}; + +// // Use unique_ptr to keep the address of enumName.c_str() immutable +// std::vector> enumNames = {}; +// std::vector enumValues = {}; +// // unordered_map{ enumName, pair{ enumIndex, enumSize } } +// std::unordered_map> enumRanges = {}; + +// //// unordered_map{ enumName, pair{ enumIndex, enumConstraint } } +// // std::unordered_map> enumConstraints = {}; + +// // SoftEnum +// mutable std::unordered_map> softEnums; + +// std::vector parameterDatas = {}; + +// private: +// std::vector> overloads = {}; // indices of parameter instance + +// mutable DynamicCommand::CallBackFn callback = nullptr; +// HMODULE handle = nullptr; + +// friend class DynamicCommand; + +// LIAPI DynamicCommandInstance(std::string const& name, std::string const& description, CommandPermissionLevel permission = CommandPermissionLevel::GameMasters, CommandFlag flag = {(CommandFlagValue)0x80}, HMODULE handle = GetCurrentModule()); + +// LIAPI bool setBuilder(DynamicCommand::BuilderFn builder); +// LIAPI DynamicCommand::BuilderFn initCommandBuilder(); +// LIAPI std::vector buildOverload(std::vector const& overload); + +// public: +// virtual ~DynamicCommandInstance(); + +// LIAPI static std::unique_ptr create(std::string const& name, std::string const& description, CommandPermissionLevel permission, CommandFlag flag, HMODULE handle = GetCurrentModule()); +// LIAPI std::string const& setEnum(std::string const& description, std::vector const& values); +// LIAPI std::string const& getEnumValue(int index) const; +// LIAPI ParameterIndex newParameter(DynamicCommand::ParameterData&& data); +// LIAPI ParameterIndex newParameter(std::string const& name, DynamicCommand::ParameterType type, bool optional = false, std::string const& description = "", std::string const& identifier = "", CommandParameterOption parameterOption = (CommandParameterOption)0); +// LIAPI ParameterIndex findParameterIndex(std::string const& param); +// LIAPI ParameterIndex mandatory(std::string const& name, DynamicCommand::ParameterType type, std::string const& description, std::string const& identifier, CommandParameterOption parameterOption = (CommandParameterOption)0); +// LIAPI ParameterIndex mandatory(std::string const& name, DynamicCommand::ParameterType type, std::string const& description, CommandParameterOption parameterOption = (CommandParameterOption)0); +// LIAPI ParameterIndex mandatory(std::string const& name, DynamicCommand::ParameterType type, CommandParameterOption parameterOption = CommandParameterOption::None); +// LIAPI ParameterIndex optional(std::string const& name, DynamicCommand::ParameterType type, std::string const& description, std::string const& identifier, CommandParameterOption parameterOption = (CommandParameterOption)0); +// LIAPI ParameterIndex optional(std::string const& name, DynamicCommand::ParameterType type, std::string const& description, CommandParameterOption parameterOption = (CommandParameterOption)0); +// LIAPI ParameterIndex optional(std::string const& name, DynamicCommand::ParameterType type, CommandParameterOption parameterOption = CommandParameterOption::None); + +// // LIAPI bool addOverload(); +// LIAPI bool addOverload(std::vector&& params); +// LIAPI bool addOverload(std::vector&& params); +// LIAPI bool addOverload(std::vector&& params); +// LIAPI bool addOverload(std::vector&& params); +// LIAPI bool setAlias(std::string const& alias); +// LIAPI void setCallback(DynamicCommand::CallBackFn&& callback) const; +// LIAPI void removeCallback() const; +// // LIAPI static bool updateSoftEnum(std::string const& name = "") const; +// LIAPI std::string setSoftEnum(std::string const& name, std::vector const& values) const; +// LIAPI bool addSoftEnumValues(std::string const& name, std::vector const& values) const; +// LIAPI bool removeSoftEnumValues(std::string const& name, std::vector const& values) const; +// LIAPI static std::vector getSoftEnumValues(std::string const& name); +// LIAPI static std::vector getSoftEnumNames(); + +// template +// inline std::enable_if_t::value, ParameterIndex> +// toIndex(T const& arg) { +// return findParameterIndex(arg); +// } +// template +// inline std::enable_if_t::value, ParameterIndex> +// toIndex(T const& arg) = delete; +// template <> +// inline ParameterIndex toIndex(ParameterIndex const& arg) { +// return arg; +// } +// template <> +// inline ParameterIndex toIndex(DynamicCommand::ParameterData const& arg) { +// return newParameter(DynamicCommand::ParameterData(arg)); +// } +// template +// inline bool addOverload(Args const&... args) { +// return addOverload(std::vector{toIndex(args)...}); +// } + +// template +// inline bool addOverload(std::initializer_list&& params) { +// return addOverload((std::vector)params); +// } +// LIAPI std::string const& getCommandName() const; +// inline ParameterIndex newParameter(std::string const& name, DynamicCommand::ParameterType type, const char* description, std::string const& identifier, CommandParameterOption parameterOption = (CommandParameterOption)0) { +// return newParameter(name, type, false, (std::string const&)description, identifier, parameterOption); +// }; +// inline bool hasRegistered() const { +// return DynamicCommand::getInstance(getCommandName()) != nullptr; +// }; +// inline void onExecute(DynamicCommand const& command, CommandOrigin const& origin, CommandOutput& output) const { + +// }; +// }; diff --git a/LiteLoader/Header/EventAPI.h b/LiteLoader/Header/EventAPI.h new file mode 100644 index 0000000..9a3dd57 --- /dev/null +++ b/LiteLoader/Header/EventAPI.h @@ -0,0 +1,635 @@ +#pragma once +//////////////////////////////////////////////////////////////////////// +// Event System - Make it easier to subscribe game events +// +// [Examples] +// +// Event::PlayerJoinEvent::subscribe([](const Event::PlayerJoinEvent& ev) { //Common situation - Const parameter "ev" +// ev.mPlayer->sendText("hello world~"); +// return true; +// }); +// +// Event::PlayerChatEvent::subscribe_ref([](Event::PlayerChatEvent& ev) { //Need to modify event's parameters - Reference parameter "ev" +// ev.mMessage = "[Plugin Modified] " + ev.mMessage; +// return true; +// }); +// +// auto listener = Event::PlayerPickupItemEvent::subscribe([](const Event::PlayerPickupItemEvent& ev) { +// if(ev.mPlayer->getName() == "Jack") +// return false; //Prevent events to be done - return false +// else +// return true; +// }); +// ...... +// ...... +// listener.remove(); //Remove this event listener +// +//////////////////////////////////////////////////////////////////////// + + +#include "Global.h" +#include "LoggerAPI.h" +#include "MC/BlockInstance.hpp" +#include "MC/MCRESULT.hpp" +#include +#include +#include +#include +#include +#include +#include + +class Actor; +class ServerPlayer; +class Player; +class Block; +class Mob; +struct ActorDefinitionIdentifier; +class ItemStack; +class ActorDamageSource; +class Certificate; +class CommandRegistry; +class MobEffectInstance; +class Container; +class WitherBoss; +class ArmorStand; +class Objective; +struct ScoreboardId; + +namespace Event { +///////////////////////////// Impl ///////////////////////////// + +constexpr bool Ok = true; +constexpr bool Cancel = false; + +template +class EventManager { +public: + LIAPI static int addEventListener(std::string name, std::function callback); + LIAPI static int addEventListenerRef(std::string name, std::function callback); + LIAPI static bool removeEventListener(int id); + LIAPI static bool hasListener(); + LIAPI static bool call(EVENT& ev); + LIAPI static bool callToPlugin(std::string pluginName, EVENT& ev); +}; + +template +class EventListener { +private: + int listenerId; + bool deleted = false; + +public: + EventListener(int id) + : listenerId(id) { + } + + void remove() { + if (!deleted) { + deleted = true; + EventManager::removeEventListener(listenerId); + } + } +}; + +template +class EventTemplate { +public: + static EventListener subscribe(std::function callback) { + auto plugin = LL::getPlugin(GetCurrentModule()); + return EventListener(EventManager::addEventListener(plugin ? plugin->name : "", callback)); + } + + static EventListener subscribe_ref(std::function callback) { + auto plugin = LL::getPlugin(GetCurrentModule()); + return EventListener(EventManager::addEventListenerRef(plugin ? plugin->name : "", callback)); + } + + static void unsubscribe(const EventListener& listener) { + listener.remove(); + } + static bool hasListener() { + return EventManager::hasListener(); + } + + bool call() { + return EventManager::call(*(EVENT*)this); + } + bool callToPlugin(std::string pluginName) { + return EventManager::callToPlugin(pluginName, *(EVENT*)this); + } + + + ////////////////////// For compatibility DO NOT UPDATE ////////////////////// +protected: + friend class EventManager; + LIAPI static std::list>> listeners; + LIAPI static std::list>> listenersNoConst; + ////////////////////// For compatibility DO NOT UPDATE ////////////////////// +}; + + +///////////////////////////// Player Events ///////////////////////////// + +class PlayerPreJoinEvent : public EventTemplate { +public: + Player* mPlayer; + string mIP; + string mXUID; +}; + +class PlayerJoinEvent : public EventTemplate { +public: + Player* mPlayer; +}; + +class PlayerLeftEvent : public EventTemplate { +public: + Player* mPlayer; + string mXUID; +}; + +class PlayerRespawnEvent : public EventTemplate { +public: + Player* mPlayer; +}; + +class PlayerUseItemEvent : public EventTemplate { +public: + Player* mPlayer; + ItemStack* mItemStack; +}; + +class PlayerUseItemOnEvent : public EventTemplate { +public: + Player* mPlayer; + ItemStack* mItemStack; + BlockInstance mBlockInstance; + unsigned char mFace; + Vec3 mClickPos; +}; + +class PlayerChatEvent : public EventTemplate { +public: + Player* mPlayer; + string mMessage; +}; + +class PlayerChangeDimEvent : public EventTemplate { +public: + Player* mPlayer; + int mToDimensionId; +}; + +class PlayerJumpEvent : public EventTemplate { +public: + Player* mPlayer; +}; + +class PlayerSneakEvent : public EventTemplate { +public: + Player* mPlayer; + bool mIsSneaking; +}; + +class PlayerAttackEvent : public EventTemplate { +public: + Player* mPlayer; + Actor* mTarget; + int mAttackDamage; +}; + +class PlayerAttackBlockEvent : public EventTemplate { +public: + Player* mPlayer; + ItemStack* mItemStack; + BlockInstance mBlockInstance; +}; + +class PlayerDieEvent : public EventTemplate { +public: + Player* mPlayer; + ActorDamageSource* mDamageSource; +}; + +class PlayerPickupItemEvent : public EventTemplate { +public: + Player* mPlayer; + Actor* mItemEntity; + ItemStack* mItemStack; +}; + +class PlayerDropItemEvent : public EventTemplate { +public: + Player* mPlayer; + ItemStack* mItemStack; +}; + +class PlayerEatEvent : public EventTemplate { +public: + Player* mPlayer; + ItemStack* mFoodItem; +}; + +class PlayerConsumeTotemEvent : public EventTemplate { +public: + Player* mPlayer; +}; + +class PlayerCmdEvent : public EventTemplate { +public: + Player* mPlayer; + string mCommand; + MCRESULT* mResult; +}; + +class PlayerEffectChangedEvent : public EventTemplate { +public: + enum class EventType { + Add, + Remove, + Update + }; + Player* mPlayer; + EventType mEventType; + MobEffectInstance* mEffect; +}; + +class PlayerStartDestroyBlockEvent : public EventTemplate { +public: + Player* mPlayer; + BlockInstance mBlockInstance; +}; + +class PlayerDestroyBlockEvent : public EventTemplate { +public: + Player* mPlayer; + BlockInstance mBlockInstance; +}; + +class PlayerPlaceBlockEvent : public EventTemplate { +public: + Player* mPlayer; + BlockInstance mBlockInstance; +}; + +class BlockPlacedByPlayerEvent : public EventTemplate { +public: + Player* mPlayer; + BlockInstance mBlockInstance; +}; + +class PlayerOpenContainerEvent : public EventTemplate { +public: + Player* mPlayer; + BlockInstance mBlockInstance; + Container* mContainer; +}; + +class PlayerCloseContainerEvent : public EventTemplate { +public: + Player* mPlayer; + BlockInstance mBlockInstance; + Container* mContainer; +}; + +class PlayerInventoryChangeEvent : public EventTemplate { +public: + Player* mPlayer; + int mSlot; + ItemStack* mPreviousItemStack; + ItemStack* mNewItemStack; +}; + +class PlayerMoveEvent : public EventTemplate { +public: + Player* mPlayer; + Vec3 mPos; +}; + +class PlayerSprintEvent : public EventTemplate { +public: + Player* mPlayer; + bool mIsSprinting; +}; + +class PlayerSetArmorEvent : public EventTemplate { +public: + Player* mPlayer; + int mSlot; + ItemStack* mArmorItem; +}; + +class PlayerUseRespawnAnchorEvent : public EventTemplate { +public: + Player* mPlayer; + BlockInstance mBlockInstance; +}; + +class PlayerOpenContainerScreenEvent : public EventTemplate { +public: + Player* mPlayer; +}; + +class PlayerUseFrameBlockEvent : public EventTemplate { +public: + enum class Type { + Use, + Attack + }; + Type mType; + Player* mPlayer; + BlockInstance mBlockInstance; +}; + +class PlayerScoreChangedEvent : public EventTemplate { +public: + Player* mPlayer; + int mScore; + Objective* mObjective; + ScoreboardId* mScoreboardId; +}; + +class PlayerExperienceAddEvent : public EventTemplate { +public: + Player* mPlayer; + int mExp; +}; + +class PlayerInteractEntityEvent : public EventTemplate { +public: + enum class InteractiveMode { + RightClick, + LeftClick + }; + + ServerPlayer* mPlayer; + ActorRuntimeID mTargetId; + InteractiveMode mInteractiveMode; +}; + + +///////////////////////////// Block Events ///////////////////////////// + +class BlockInteractedEvent : public EventTemplate { +public: + BlockInstance mBlockInstance; + Player* mPlayer; +}; + +class BlockChangedEvent : public EventTemplate { +public: + BlockInstance mPreviousBlockInstance; + BlockInstance mNewBlockInstance; +}; + +class BlockExplodedEvent : public EventTemplate { +public: + BlockInstance mBlockInstance; + Actor* mExplodeSource; +}; + +class FireSpreadEvent : public EventTemplate { +public: + BlockPos mTarget; + int mDimensionId; +}; + +class ContainerChangeEvent : public EventTemplate { +public: + Player* mPlayer; + Actor* mActor; + BlockInstance mBlockInstance; + Container* mContainer; + int mSlot; + ItemStack* mPreviousItemStack; + ItemStack* mNewItemStack; +}; + +class ProjectileHitBlockEvent : public EventTemplate { +public: + BlockInstance mBlockInstance; + Actor* mSource; +}; + +class RedStoneUpdateEvent : public EventTemplate { +public: + BlockInstance mBlockInstance; + int mRedStonePower; + bool mIsActivated; +}; + +class HopperSearchItemEvent : public EventTemplate { +public: + bool isMinecart; + BlockInstance mHopperBlock; + Vec3 mMinecartPos; + int mDimensionId; +}; + +class HopperPushOutEvent : public EventTemplate { +public: + Vec3 mPos; + int mDimensionId; +}; + +class PistonTryPushEvent : public EventTemplate { +public: + BlockInstance mPistonBlockInstance; + BlockInstance mTargetBlockInstance; +}; + +class PistonPushEvent : public EventTemplate { +public: + BlockInstance mPistonBlockInstance; + BlockInstance mTargetBlockInstance; +}; + +class FarmLandDecayEvent : public EventTemplate { +public: + BlockInstance mBlockInstance; + Actor* mActor; +}; + +class LiquidSpreadEvent : public EventTemplate { +public: + BlockInstance mBlockInstance; + BlockPos mTarget; + int mDimensionId; +}; + +class CmdBlockExecuteEvent : public EventTemplate { +public: + string mCommand; + bool mIsMinecart; + BlockInstance mBlockInstance; + Actor* mMinecart; +}; + +class BlockExplodeEvent : public EventTemplate { +public: + BlockInstance mBlockInstance; + float mRadius; + float mMaxResistance; + bool mBreaking; + bool mFire; +}; + + +///////////////////////////// Entity Events ///////////////////////////// + +class EntityExplodeEvent : public EventTemplate { +public: + Actor* mActor; + Vec3 mPos; + BlockSource* mDimension; + float mRadius; + float mMaxResistance; + bool mBreaking; + bool mFire; +}; + +class MobHurtEvent : public EventTemplate { +public: + Mob* mMob; + ActorDamageSource* mDamageSource; + float mDamage; +}; + +class MobDieEvent : public EventTemplate { +public: + Mob* mMob; + ActorDamageSource* mDamageSource; +}; + +class ProjectileHitEntityEvent : public EventTemplate { +public: + Actor* mTarget; + Actor* mSource; +}; + +class WitherBossDestroyEvent : public EventTemplate { +public: + WitherBoss* mWitherBoss; + AABB mDestroyRange = {{}, {}}; +}; + +class EntityRideEvent : public EventTemplate { +public: + Actor* mRider; + Actor* mVehicle; +}; + +class EntityStepOnPressurePlateEvent : public EventTemplate { +public: + Actor* mActor; + BlockInstance mBlockInstance; +}; + +class NpcCmdEvent : public EventTemplate { +public: + Actor* mNpc; + std::string mCommand; + Player* mPlayer; +}; + +class ProjectileSpawnEvent : public EventTemplate { +public: + Actor* mShooter; + ActorDefinitionIdentifier* mIdentifier; + std::string mType; +}; + +class ProjectileCreatedEvent : public EventTemplate { +public: + Actor* mShooter; + Actor* mProjectile; +}; + +class ArmorStandChangeEvent : public EventTemplate { +public: + ArmorStand* mArmorStand; + Player* mPlayer; + int mSlot; +}; + +class EntityTransformEvent : public EventTemplate { +public: + ActorUniqueID* mBeforeEntityUniqueId; + Actor* mAfterEntity; +}; + +///////////////////////////// Other Events ///////////////////////////// + +class PostInitEvent : public EventTemplate { +}; + +class ServerStartedEvent : public EventTemplate { +}; + +class ServerStoppedEvent : public EventTemplate { +}; + +class ConsoleCmdEvent : public EventTemplate { +public: + std::string mCommand; +}; + +class RegCmdEvent : public EventTemplate { +public: + CommandRegistry* mCommandRegistry; +}; + +class ConsoleOutputEvent : public EventTemplate { +public: + std::string mOutput; +}; + +class PlayerBedEnterEvent : public EventTemplate { +public: + Player* mPlayer; + BlockInstance* mBlockInstance; +}; + +class ScriptPluginManagerEvent : public EventTemplate { +public: + enum class Operation { + Load, + Unload, + Reload + }; + enum class PluginType { + SingleFile, // like .js / .lua + PluginPackage, // like .llplugin + UncompressedPackage // like plugins/nodejs/ABC + }; + + Operation operation; + std::string target; + std::string otherInfo; + std::string pluginExtention; + + bool success = false; + PluginType pluginType; +}; + +class MobSpawnEvent : public EventTemplate { +public: + string mTypeName; + Vec3 mPos; + int mDimensionId; +}; + +class FormResponsePacketEvent : public EventTemplate { +public: + ServerPlayer* mServerPlayer; + unsigned mFormId; + string mJsonData; +}; + +class ResourcePackInitEvent : public EventTemplate { +public: + ResourcePackRepository* mRepo; +}; + +}; // namespace Event diff --git a/LiteLoader/Header/FormUI.h b/LiteLoader/Header/FormUI.h new file mode 100644 index 0000000..a3518cb --- /dev/null +++ b/LiteLoader/Header/FormUI.h @@ -0,0 +1,446 @@ +#pragma once +//////////////////////////////////////////////////////////////////////// +// Form UI Utility - Help you to build forms and options more easily +// +// [Example - Simple Form] +// - Form that contains several buttons (with optional image) +// - Let the player choose an option from multiple options +// +// SimpleForm form("Welcome to shop", "Choose what you want to do..."); // Initialize the form with title and content +// form.addButton("Buy", "textures/items/apple", // Add a button "Buy" with texture image +// [](Player* pl) { pl->sendText("To buy something..."); }) // Buy's callback function +// +// .addButton("Sell", "https://xxx.com/xxx.png", // Add a button "Sell" with online image +// [](Player* pl) { pl->sendText("To sell something..."); }) // Sell's callback function +// +// .addButton("Settings", "", // Add a button "Settings" with no image +// [](Player* pl) { pl->sendText("Get into settings..."); }) // Settings's callback function +// +// .addButton("Exit") // Add a single button "Exit" +// .sendTo(Level::getPlayer("John")); // Send the form to a player called "John" +// +// +// [Example - Modal Form] +// - Form with Confirm and Cancel buttons +// - Let the player confirm or cancel an action +// +// ModalForm form("Confirm the action", "Do you want that?", "Yes", "Nope"); // Initialize the form with title, content and two buttons ("Yes", "Nope") +// form.sendTo(Level::getPlayer("S3v3N1ce"), // Send the form to a player called "S3v3N1ce" +// [](Player* player, bool isConfirm) // Callback function to process the result +// { +// if (isConfirm) // Player pressed button "Yes" +// player->sendText("Okay, let's go"); +// else // Player pressed button "Nope" +// player->sendText("Hm, suit yourself"); +// }); +// +// +// [Example - Custom Form] +// - Form that contains some kinds of elements (like input line, toggle, dropdown, ....) +// - Let the player provide some detailed information +// +// CustomForm form2("Information Collection Form"); // Initialize the form with title +// form2.addLabel("label1", "Personal Information") // Add a label shows "Personal Information" +// .addInput("username", "Your Name") // Add an input line to gather player's name +// .addDropdown("sex", "Your Sex", { "Male","Female","Secret" }) // Add a dropdown to gather player's sex +// .addSlider("age", "Your Age", 3, 100) // Add a slider to gather player's age +// +// .addLabel("label2", "MC Information") // Add a label shows "MC Information" +// .addToggle("licensed", "Purchased a licensed Minecraft?", true) // Add a toggle about whether he buys a licensed mc or not +// .addStepSlider("skill", "Skill Lvl", { "Beginner", "Amateur", "Pro" }) // Add a step slider shows his game skill level +// +// .sendTo(Level::getPlayer("yqs112358"), // Send the form to a player called "yqs112358" +// [](Player* player, auto result) // Callback function to process the result +// { +// if (result.empty()) // Player cancelled the form +// return; +// player->sendText("You have commited the form."); +// player->sendFormattedText("Your name: {}", result["username"]->getString()); +// player->sendFormattedText("Your sex: {}", result["sex"]->getString()); +// player->sendFormattedText("Your age: {}", result["age"]->getNumber()); +// player->sendFormattedText("Your license: {}", result["licensed"]->getBool() ? "yes" : "no"); +// player->sendFormattedText("Your skill level: {}:", result["skill"]->getString()); +// }); +// +// +// Tips: The of std::map "result" equals the first argument "name" you pass to these elements +// So, "name" must be *unique* or error will occur +// +//////////////////////////////////////////////////////////////////////// + + +#include +#include "Global.h" + +class ServerPlayer; +class Player; + + +namespace Form { +//////////////////////////////// Simple Form Elements //////////////////////////////// +class SimpleFormElement { +protected: + virtual string serialize() = 0; + friend class SimpleForm; +}; + +class Button : public SimpleFormElement { +protected: + LIAPI string serialize() override; + +public: + using ButtonCallback = std::function; + string text, image; + ButtonCallback callback; + +public: + inline explicit Button(string text, string image = "", ButtonCallback callback = ButtonCallback()) + : text(std::move(text)) + , image(std::move(image)) + , callback(std::move(callback)) { + } + inline void setText(const string& _text) { + this->text = _text; + } + inline void setImage(const string& _image) { + this->image = _image; + } + inline void setCallback(ButtonCallback _callback) { + this->callback = std::move(_callback); + } +}; + +//////////////////////////////// Custom Form Elements //////////////////////////////// +class CustomFormElement { +protected: + LIAPI virtual string serialize() = 0; + friend class CustomForm; + +public: + enum class Type { + Label, + Input, + Toggle, + Dropdown, + Slider, + StepSlider + }; + string name; + string value; + Type type{}; + inline void setName(const string& _name) { + this->name = _name; + } + inline virtual Type getType() = 0; + LIAPI std::string getString(); + [[deprecated("Please use getInt")]] + LIAPI int getNumber(); + LIAPI int getInt(); + LIAPI float getFloat(); + LIAPI double getDouble(); + LIAPI bool getBool(); +}; + +class Label : public CustomFormElement { +protected: + LIAPI string serialize() override; + +public: + string text; + +public: + inline Label(const string& name, string text) + : text(std::move(text)) { + setName(name); + } + inline Type getType() override { + return Type::Label; + } + inline void setText(const string& _text) { + this->text = _text; + } +}; + +class Input : public CustomFormElement { +protected: + LIAPI string serialize() override; + +public: + string title, placeholder, def; + inline Input(const string& name, string title, string placeholder = "", string def = "") + : title(std::move(title)) + , placeholder(std::move(placeholder)) + , def(std::move(def)) { + setName(name); + } + inline Type getType() override { + return Type::Input; + } + inline void setTitle(const string& _title) { + this->title = _title; + } + inline void setPlaceHolder(const string& _placeholder) { + this->placeholder = _placeholder; + } + inline void setDefault(const string& _def) { + this->def = _def; + } +}; + +class Toggle : public CustomFormElement { +protected: + LIAPI string serialize() override; + +public: +public: + string title; + bool def; + +public: + inline Toggle(const string& name, string title, bool def = false) + : title(std::move(title)) + , def(def) { + setName(name); + } + inline virtual Type getType() override { + return Type::Toggle; + } + inline void setTitle(const string& _title) { + this->title = _title; + } + inline void setDefault(bool _def) { + this->def = _def; + } +}; + +class Dropdown : public CustomFormElement { +protected: + LIAPI string serialize() override; + +public: + string title; + vector options; + int def; + +public: + inline Dropdown(const string& name, string title, const vector& options, int defId = 0) + : title(std::move(title)) + , options(options) + , def(defId) { + setName(name); + } + inline Type getType() override { + return Type::Dropdown; + } + inline void setTitle(const string& _title) { + this->title = _title; + } + inline void setOptions(const vector& _options) { + this->options = _options; + } + inline void addOption(const string& option) { + options.push_back(option); + } + inline void setDefault(int defId) { + this->def = defId; + } +}; + +class Slider : public CustomFormElement { +protected: + LIAPI string serialize() override; + +public: + string title; + double minValue, maxValue, step, def; + +public: + inline Slider(const string& name, string title, double minValue, double maxValue, double step = 1, double def = 0) + : title(std::move(title)) + , minValue(minValue) + , maxValue(maxValue) + , step(step) + , def(def) { + setName(name); + } + inline Type getType() override { + return Type::Slider; + } + inline void setTitle(const string& _title) { + this->title = _title; + } + inline void setMin(double _minValue) { + this->minValue = _minValue; + } + inline void setMax(double _maxValue) { + this->maxValue = _maxValue; + } + inline void setStep(double _step) { + this->step = _step; + } + inline void setDefault(double _def) { + this->def = _def; + } +}; + +class StepSlider : public CustomFormElement { +protected: + LIAPI string serialize() override; + +public: + string title; + vector options; + int def; + +public: + inline StepSlider(const string& name, string title, const vector& options, int defId = 0) + : title(std::move(title)) + , options(options) + , def(defId) { + setName(name); + } + inline Type getType() override { + return Type::StepSlider; + } + inline void setTitle(const string& _title) { + this->title = _title; + } + inline void setOptions(const vector& _options) { + this->options = _options; + } + inline void addOption(const string& option) { + options.push_back(option); + } + inline void setDefault(int defId) { + this->def = defId; + } +}; + +//////////////////////////////// Forms //////////////////////////////// +class FormImpl { +protected: + // fifo_json json; + virtual string serialize() = 0; +}; + +class SimpleForm : public FormImpl { +protected: + LIAPI string serialize() override; + +public: + using Callback = std::function; + string title, content; + vector> elements; + Callback callback; + +public: + SimpleForm(string title, string content) + : title(std::move(title)) + , content(std::move(content)) { + } + template + SimpleForm(const string& title, const string& content, T element, Args... args) { + append(element); + SimpleForm(title, content, args...); + } + LIAPI SimpleForm& setTitle(const string& title); + LIAPI SimpleForm& setContent(const string& content); + LIAPI SimpleForm& addButton(string text, string image = "", Button::ButtonCallback callback = Button::ButtonCallback()); + LIAPI SimpleForm& append(const Button& element); + LIAPI bool sendTo(Player* player, Callback callback = Callback()); +}; + +class ModalForm : public FormImpl { +protected: + LIAPI string serialize() override; + +public: + using Callback = std::function; + string title, content, confirmButton, cancelButton; + Callback callback; + +public: + ModalForm(string title, string content, string button1, string button2) + : title(std::move(title)) + , content(std::move(content)) + , confirmButton(std::move(button1)) + , cancelButton(std::move(button2)) { + } + template + ModalForm(const string& title, const string& content, const string& confirmButton, const string& cancelButton, Args... args) { + ModalForm(title, content, confirmButton, cancelButton, args...); + } + LIAPI ModalForm& setTitle(const string& title); + LIAPI ModalForm& setContent(const string& content); + LIAPI ModalForm& setConfirmButton(const string& text); + LIAPI ModalForm& setCancelButton(const string& text); + LIAPI bool sendTo(Player* player, Callback callback = Callback()); +}; + +class CustomForm : public FormImpl { +protected: + LIAPI string serialize() override; + +public: + using Callback = std::function>)>; + using Callback2 = std::function; + string title; + std::vector>> elements; + Callback callback; + +public: + explicit CustomForm(string title) + : title(std::move(title)) { + } + template + CustomForm(const string& title, T element, Args... args) { + append(element); + CustomForm(title, args...); + } + LIAPI CustomForm& setTitle(const string& title); + + LIAPI CustomForm& addLabel(const string& name, string text); + LIAPI CustomForm& addInput(const string& name, string title, string placeholder = "", string def = ""); + LIAPI CustomForm& addToggle(const string& name, string title, bool def = false); + LIAPI CustomForm& addDropdown(const string& name, string title, const vector& options, int defId = 0); + LIAPI CustomForm& addSlider(const string& name, string title, double min, double max, double step = 1, double def = 0); + LIAPI CustomForm& addStepSlider(const string& name, string title, const vector& options, int defId = 0); + + LIAPI CustomForm& append(const Label& element); + LIAPI CustomForm& append(const Input& element); + LIAPI CustomForm& append(const Toggle& element); + LIAPI CustomForm& append(const Dropdown& element); + LIAPI CustomForm& append(const Slider& element); + LIAPI CustomForm& append(const StepSlider& element); + + LIAPI bool sendTo(Player* player, Callback callback); + LIAPI bool sendToForRawJson(Player* player, Callback2 callback); + LIAPI CustomFormElement* getElement(const string& name); + LIAPI CustomFormElement* getElement(int index); + LIAPI CustomFormElement::Type getType(int index); + + LIAPI string getString(const string& name); + [[deprecated("Please use getInt")]] + LIAPI int getNumber(const string& name); + LIAPI int getInt(const string& name); + LIAPI float getFloat(const string& name); + LIAPI double getDouble(const string& name); + LIAPI bool getBool(const string& name); + LIAPI string getString(int index); + [[deprecated("Please use getInt")]] + LIAPI int getNumber(int index); + LIAPI int getInt(int index); + LIAPI float getFloat(int index); + LIAPI double getDouble(int index); + LIAPI bool getBool(int index); + + // Tool Functions + template + inline void setValue(int index, T value) { + elements[index].second->value = std::to_string(value); + } + inline void setValue(int index, string value) { + elements[index].second->value = value; + } +}; +} // namespace Form diff --git a/LiteLoader/Header/Global.h b/LiteLoader/Header/Global.h new file mode 100644 index 0000000..3c6ebfe --- /dev/null +++ b/LiteLoader/Header/Global.h @@ -0,0 +1,90 @@ +#pragma once +#pragma warning(disable : 4250) + +#ifdef LITELOADER_EXPORTS +#define LIAPI __declspec(dllexport) +#else +#define LIAPI __declspec(dllimport) +#endif + +#define MCAPI __declspec(dllimport) +#define MCVAPI __declspec(dllimport) +#define MCINLINE inline +#define MCCLS + +#ifndef FMT_HEADER_ONLY +#define FMT_HEADER_ONLY +#endif + +#ifndef LL_CONSTEXPR +#if __cplusplus <= 201703L +#define LL_CONSTEXPR inline +#else +#define LL_CONSTEXPR constexpr +#endif +#endif + +/// std containers +#include +#include +#include +#include +#include + +#include +#include +#include +#include + +#include +#include +#include +#include +#include + +// std utils +#include +#include +#include +#include +#include +#include +#include +#include +#include + +// windows types +#include + +#include "third-party/entt/entt.hpp" +#include "third-party/gsl/gsl" +#include "third-party/seh_exception/seh_exception.hpp" +#include "third-party/FMT/chrono.h" +#include "third-party/FMT/color.h" +#include "third-party/FMT/core.h" +#include "third-party/FMT/os.h" +#include "third-party/FMT/printf.h" + +#include "GlobalServiceAPI.h" +#include "Utils/Optional.h" + +// basic mc types +#include "MC/Types.hpp" +// clang-format off +#define M_E 2.71828182845904523536 // e +#define M_LOG2E 1.44269504088896340736 // log2(e) +#define M_LOG10E 0.434294481903251827651 // log10(e) +#define M_LN2 0.693147180559945309417 // ln(2) +#define M_LN10 2.30258509299404568402 // ln(10) +#define M_PI 3.14159265358979323846 // pi +#define M_PI_2 1.57079632679489661923 // pi/2 +#define M_PI_4 0.785398163397448309616 // pi/4 +#define M_1_PI 0.318309886183790671538 // 1/pi +#define M_2_PI 0.636619772367581343076 // 2/pi +#define M_2_SQRTPI 1.12837916709551257390 // 2/sqrt(pi) +#define M_SQRT2 1.41421356237309504880 // sqrt(2) +#define M_SQRT1_2 0.707106781186547524401 // 1/sqrt(2) +// clang-format on +using std::map; +using std::string; +using std::vector; diff --git a/LiteLoader/Header/GlobalServiceAPI.h b/LiteLoader/Header/GlobalServiceAPI.h new file mode 100644 index 0000000..e42d1f2 --- /dev/null +++ b/LiteLoader/Header/GlobalServiceAPI.h @@ -0,0 +1,23 @@ +#pragma once + +// Types +namespace RakNet { +class RakPeer; +}; +class Level; +class CommandRegistry; +class Minecraft; +class MinecraftCommands; +class RakNetServerLocator; +class ServerLevel; +class ServerNetworkHandler; +class DBStorage; +class Scoreboard; +class AllowListFile; +class PropertiesSettings; +class ResourcePackRepository; +class LevelStorage; +class NetworkHandler; + +template +LIAPI inline T* Global = nullptr; diff --git a/LiteLoader/Header/HookAPI.h b/LiteLoader/Header/HookAPI.h new file mode 100644 index 0000000..63fd816 --- /dev/null +++ b/LiteLoader/Header/HookAPI.h @@ -0,0 +1,253 @@ +#pragma once +#include "Global.h" +#include "Utils/Hash.h" +#include +#include +#include +#include "third-party/ModUtils/ModUtils.h" + +// The core api of the hook function +//__declspec(dllimport) int HookFunction(void* oldfunc, void** poutold, void* newfunc); +// Used to get a server-defined specific function by name +extern "C" { +LIAPI int HookFunction(void* oldfunc, void** poutold, void* newfunc); +LIAPI void* dlsym_real(char const* name); +} + +extern std::vector dlsym_reverse(int addr); + +template +RTN inline VirtualCall(void const* _this, uintptr_t off, Args... args) { + return (*(RTN(**)(void const*, Args...))(*(uintptr_t*)_this + off))(_this, args...); +} + +template +inline T& dAccess(void* ptr) { + return *(T*)(((uintptr_t)ptr) + off); +} +template +inline T const& dAccess(void const* ptr) { + return *(T*)(((uintptr_t)ptr) + off); +} +template +inline T& dAccess(void* ptr, uintptr_t off) { + return *(T*)(((uintptr_t)ptr) + off); +} +template +inline const T& dAccess(void const* ptr, uintptr_t off) { + return *(T*)(((uintptr_t)ptr) + off); +} + +namespace mem { +inline std::string ptrToStr(uintptr_t ptr) { + std::ostringstream ss; + ss << std::hex << ((UINT64)ptr) << std::endl; + return ss.str(); +} + +inline void* uintptrToPtr(uintptr_t ptr) { + return (void*)ptr; +} +} // namespace mem + +#if _HAS_CXX20 +template +struct FixedString { + char buf[N + 1]{}; + constexpr FixedString(char const* s) { + for (unsigned i = 0; i != N; ++i) + buf[i] = s[i]; + } + constexpr operator char const*() const { + return buf; + } +}; +template +FixedString(char const (&)[N]) -> FixedString; + +template +__declspec(selectany) void* __dlsym_ptr_cache = dlsym_real(Fn); + +#define VA_EXPAND(...) __VA_ARGS__ +template +static inline auto __imp_Call() { + return ((ret(*)(p...))(__dlsym_ptr_cache)); +} + +template +static inline auto __imp_Call_Sig() { + return ((ret(*)(p...))((void*)ModUtils::FindSig(Fn))); +} + +template +static inline auto __imp_Call_Addr() { + return ((ret(*)(p...))((void*)Fn)); +} + +#define AddrCall(fn, ret, ...) (__imp_Call_Addr()) +#define SigCall(fn, ret, ...) (__imp_Call_Sig()) +#define AddrCall2(name, fn, ret, ...) (__imp_Call_Addr()) +#define SigCall2(name, fn, ret, ...) (__imp_Call_Sig()) +#define SymCall(fn, ret, ...) (__imp_Call()) +#define SYM(fn) (__dlsym_ptr_cache) +#define dlsym(xx) SYM(xx) + +#else +template +__declspec(selectany) void* __ptr_cache; +template +inline static void* dlsym_cache(const char* fn) { + if (!__ptr_cache) { + __ptr_cache = dlsym_real(fn); + } + return __ptr_cache; +} + +#define VA_EXPAND(...) __VA_ARGS__ +template +static inline auto __imp_Call(const char* fn) { + return ((ret(*)(p...))(dlsym_cache(fn))); +} + +#define SymCall(fn, ret, ...) (__imp_Call(fn)) +#define SYM(fn) (dlsym_cache(fn)) +#define dlsym(xx) SYM(xx) +#endif +class THookRegister { +public: + THookRegister(void* address, void* hook, void** org) { + auto ret = HookFunction(address, org, hook); + if (ret != 0) { + printf("FailedToHook: %p\n", address); + } + } + THookRegister(char const* sym, void* hook, void** org) { + auto found = dlsym_real(sym); + if (found == nullptr) { + printf("FailedToHook: %p\n", sym); + } else { + auto ret = HookFunction(found, org, hook); + if (ret != 0) { + printf("FailedToHook: %s\n", sym); + } + } + } + template + THookRegister(const char* sym, T hook, void** org) { + union { + T a; + void* b; + } hookUnion; + hookUnion.a = hook; + THookRegister(sym, hookUnion.b, org); + } + template + THookRegister(void* address, T hook, void** org) { + union { + T a; + void* b; + } hookUnion; + hookUnion.a = hook; + THookRegister(address, hookUnion.b, org); + } +}; + +#define VA_EXPAND(...) __VA_ARGS__ +template +struct THookTemplate; +template +extern THookRegister THookRegisterTemplate; + +#define _TInstanceHook(class_inh, pclass, iname, sym, ret, ...) \ + template <> \ + struct THookTemplate class_inh { \ + typedef ret (THookTemplate::*original_type)(__VA_ARGS__); \ + static original_type& _original() { \ + static original_type storage; \ + return storage; \ + } \ + template \ + static ret original(pclass* _this, Params&&... params) { \ + return (((THookTemplate*)_this)->*_original())(std::forward(params)...); \ + } \ + ret _hook(__VA_ARGS__); \ + }; \ + template <> \ + static THookRegister THookRegisterTemplate{ \ + sym, &THookTemplate::_hook, \ + (void**)&THookTemplate::_original()}; \ + ret THookTemplate::_hook(__VA_ARGS__) + +#define _TInstanceDefHook(iname, sym, ret, type, ...) \ + _TInstanceHook( \ + : public type, type, iname, sym, ret, VA_EXPAND(__VA_ARGS__)) +#define _TInstanceNoDefHook(iname, sym, ret, ...) \ + _TInstanceHook(, void, iname, sym, ret, VA_EXPAND(__VA_ARGS__)) + +#define _TStaticHook(pclass, iname, sym, ret, ...) \ + template <> \ + struct THookTemplate pclass { \ + typedef ret (*original_type)(__VA_ARGS__); \ + static original_type& _original() { \ + static original_type storage; \ + return storage; \ + } \ + template \ + static ret original(Params&&... params) { \ + return _original()(std::forward(params)...); \ + } \ + static ret _hook(__VA_ARGS__); \ + }; \ + template <> \ + static THookRegister THookRegisterTemplate{ \ + sym, &THookTemplate::_hook, \ + (void**)&THookTemplate::_original()}; \ + ret THookTemplate::_hook(__VA_ARGS__) + +#define _TStaticDefHook(iname, sym, ret, type, ...) \ + _TStaticHook( \ + : public type, iname, sym, ret, VA_EXPAND(__VA_ARGS__)) +#define _TStaticNoDefHook(iname, sym, ret, ...) \ + _TStaticHook(, iname, sym, ret, VA_EXPAND(__VA_ARGS__)) + +#define SHook2(iname, ret, sig, ...) _TStaticNoDefHook(iname, (void*)ModUtils::FindSig(sig), ret, VA_EXPAND(__VA_ARGS__)) +#define SHook(ret, sig, ...) SHook2(sig, ret, sig, VA_EXPAND(__VA_ARGS__)) +#define SStaticHook2(iname, ret, sig, type, ...) \ + _TStaticDefHook(iname, (void*)ModUtils::FindSig(sig), ret, type, VA_EXPAND(__VA_ARGS__)) +#define SStaticHook(ret, sig, type, ...) SStaticHook2(sig, ret, sig, type, VA_EXPAND(__VA_ARGS__)) +#define SClasslessInstanceHook2(iname, ret, sig, ...) \ + _TInstanceNoDefHook(iname, (void*)ModUtils::FindSig(sig), ret, VA_EXPAND(__VA_ARGS__)) +#define SClasslessInstanceHook(ret, sig, ...) \ + SClasslessInstanceHook2(sig, ret, sig, VA_EXPAND(__VA_ARGS__)) +#define SInstanceHook2(iname, ret, sig, type, ...) \ + _TInstanceDefHook(iname, (void*)ModUtils::FindSig(sig), ret, type, VA_EXPAND(__VA_ARGS__)) +#define SInstanceHook(ret, sig, type, ...) \ + SInstanceHook2(sig, ret, sig, type, VA_EXPAND(__VA_ARGS__)) + +#define AHook2(iname, ret, addr, ...) _TStaticNoDefHook(iname, mem::uintptrToPtr(addr), ret, VA_EXPAND(__VA_ARGS__)) +#define AHook(ret, addr, ...) AHook2(std::to_string(addr), ret, addr, VA_EXPAND(__VA_ARGS__)) +#define AStaticHook2(iname, ret, addr, type, ...) \ + _TStaticDefHook(iname, mem::uintptrToPtr(addr), ret, type, VA_EXPAND(__VA_ARGS__)) +#define AStaticHook(ret, addr, type, ...) AStaticHook2(std::to_string(addr), ret, addr, type, VA_EXPAND(__VA_ARGS__)) +#define AClasslessInstanceHook2(iname, ret, addr, ...) \ + _TInstanceNoDefHook(iname, mem::uintptrToPtr(addr), ret, VA_EXPAND(__VA_ARGS__)) +#define AClasslessInstanceHook(ret, addr, ...) \ + AClasslessInstanceHook2(std::to_string(addr), ret, addr, VA_EXPAND(__VA_ARGS__)) +#define AInstanceHook2(iname, ret, addr, type, ...) \ + _TInstanceDefHook(iname, mem::uintptrToPtr(addr), ret, type, VA_EXPAND(__VA_ARGS__)) +#define AInstanceHook(ret, addr, type, ...) \ + AInstanceHook2(std::to_string(addr), ret, addr, type, VA_EXPAND(__VA_ARGS__)) + +#define THook2(iname, ret, sym, ...) _TStaticNoDefHook(iname, sym, ret, VA_EXPAND(__VA_ARGS__)) +#define THook(ret, sym, ...) THook2(sym, ret, sym, VA_EXPAND(__VA_ARGS__)) +#define TStaticHook2(iname, ret, sym, type, ...) \ + _TStaticDefHook(iname, sym, ret, type, VA_EXPAND(__VA_ARGS__)) +#define TStaticHook(ret, sym, type, ...) TStaticHook2(sym, ret, sym, type, VA_EXPAND(__VA_ARGS__)) +#define TClasslessInstanceHook2(iname, ret, sym, ...) \ + _TInstanceNoDefHook(iname, sym, ret, VA_EXPAND(__VA_ARGS__)) +#define TClasslessInstanceHook(ret, sym, ...) \ + TClasslessInstanceHook2(sym, ret, sym, VA_EXPAND(__VA_ARGS__)) +#define TInstanceHook2(iname, ret, sym, type, ...) \ + _TInstanceDefHook(iname, sym, ret, type, VA_EXPAND(__VA_ARGS__)) +#define TInstanceHook(ret, sym, type, ...) \ + TInstanceHook2(sym, ret, sym, type, VA_EXPAND(__VA_ARGS__)) diff --git a/LiteLoader/Header/I18nAPI.h b/LiteLoader/Header/I18nAPI.h new file mode 100644 index 0000000..8619c67 --- /dev/null +++ b/LiteLoader/Header/I18nAPI.h @@ -0,0 +1,506 @@ +#pragma once +////////////////////////////////////////////////////// +// For Internationalization +// +// [Usage - Translation] +// +// Translation::load("plugins/xxx/lang.json"); +// ... +// tr("There are {0} days before {1} to come back", 3, "alex"); // return translated string [std::string] +// trc("There are {0} days before {1} to come back", 3, "alex"); // return translated string [const char*] +// +// ** In Translation File: plugins/xxx/lang.json +// { +// "zh_CN": { +// "There are {0} days before {1} to come back": "在{1}回来前还剩{0}天", +// "...": "...", +// "...": "..." +// } +// } +// +// +// [Usage - Text Encoding] +// +// Encoding local = TextEncoding::getLocalEncoding(); // Get local encoding +// Encoding code = TextEncoding::detectEncoding("你好吗?"); // Detect the encoding of text +// +// string hello = TextEncoding::fromUnicode(L"Hello"); // Convert Unicode wstring -> MBCS string +// wstring world = TextEncoding::toUnicode("World"); // Convert MBCS string -> Unicode wstring +// +// string tomorrow = TextEncoding::toUTF8("明天"); // Convert MBCS string of any encoding to UTF8 string +// string tonight = TextEncoding::convert("今天晚上", Encoding::CHINESE_GB, Encoding::UTF8); +// // Convert from one MBCS encoding to another +// +////////////////////////////////////////////////////// + +#include "Global.h" +#include "LLAPI.h" +#include "Utils/FileHelper.h" +#include "Utils/PluginOwnData.h" +#include "third-party/Nlohmann/json.hpp" +#include "third-party/FMT/core.h" +#include "third-party/FMT/os.h" +#include +#include "Utils/StringHelper.h" + +/** + * @brief I18nBase API class. + * + */ +class I18nBase { + +public: + using SubLangData = std::unordered_map; + using LangData = std::map; + + enum class Type : char + { + None, + SingleFile, + MultiFile, + Custom, + }; + + Type type = Type::None; + LangData langData; + LangData defaultLangData; + std::string defaultLocaleName = "en_US"; + + virtual ~I18nBase() = default; + + /** + * @brief Get the translation of the specified key. + * + * @param key The language key + * @param localeName The language code like en_US,zh_CN("" => this->defaultLocaleName) + * @return std::string The translation + * @see I18nBase::defaultLocaleName + */ + LIAPI virtual std::string get(const std::string& key, const std::string& localeName = ""); + + /** + * @breif Get the type of the i18n object. + * + * @return The type of the i18n object + */ + LIAPI virtual Type getType() = 0; + + /** + * @brief Get the default language code of the i18n object. + * + * @return The default language code of the i18n object + */ + LIAPI virtual std::string getDefaultLocaleName(); + + /** + * @brief Clone a new i18n object. + * + * @return The new i18n object. + */ + LIAPI virtual I18nBase* clone(); + + static const constexpr char* POD_KEY = "ll_plugin_i18n"; ///< PluginOwnData key +}; + +/** + * @brief Lightweight and simple I18nBase support. + * + * @note Use this, all the language data will be saved in a single JSON file. + * So it is not recommended to use it in large plugins(that have a lot of strings to translate) + */ +class SingleFileI18N : public I18nBase { + +public: + std::string filePath; + + LIAPI void load(const std::string& fileName); + LIAPI void save(); + + SingleFileI18N() { + this->type = Type::SingleFile; + } + /** + * @brief Construct a SingleFileI18N object. + * + * @param filePath The path to the i18n file(json) + * @param pattern The i18n file pattern(SingleFile I18nBase supports `Mode::Normal` and `Mode::Normal` + * @param defaultLocaleName The default language code(if empty, default the system default language) + * @param defaultLangData The default translation data + */ + SingleFileI18N(const std::string& filePath, const std::string& defaultLocaleName = "", + const LangData& defaultLangData = {}) + : filePath(filePath) { + this->type = Type::SingleFile; + this->defaultLangData = defaultLangData; + if (defaultLocaleName.empty()) { + this->defaultLocaleName = GetSystemLocaleName(); + } else { + this->defaultLocaleName = defaultLocaleName; + } + load(filePath); + } + /// Copy constructor + SingleFileI18N(const SingleFileI18N& other) { + *this = other; + } + ~SingleFileI18N() = default; + + LIAPI Type getType(); +}; + +class MultiFileI18N : public I18nBase { + +public: + std::string dirPath; + + LIAPI void load(const std::string& dirName); + LIAPI void save(bool nested = false); + + MultiFileI18N() { + this->type = Type::MultiFile; + } + /** + * @brief Construct a heavy I18nBase object. + * + * @param dirPath The path to the i18n dir + * @param pattern The i18n file pattern + * @param defaultLocaleName The default language code + * @param defaultLangData The default translation data + */ + MultiFileI18N(const std::string& dirPath, const std::string& defaultLocaleName = "", + const LangData& defaultLangData = {}) + : dirPath(dirPath) { + this->type = Type::MultiFile; + this->defaultLangData = defaultLangData; + if (defaultLocaleName.empty()) { + this->defaultLocaleName = GetSystemLocaleName(); + } else { + this->defaultLocaleName = defaultLocaleName; + } + load(dirPath); + } + /// Copy constructor + MultiFileI18N(const MultiFileI18N& other) { + *this = other; + } + ~MultiFileI18N() = default; + + LIAPI Type getType(); +}; + +#ifdef UNICODE +#include "third-party/compact_enc_det/compact_enc_det.h" +#define UNICODE +#else +#include "third-party/compact_enc_det/compact_enc_det.h" +#endif + +namespace Translation { +template +using enable_if_t = typename std::enable_if::type; + +///////////////// tr Impl ///////////////// +template ::value), int> = 0> +inline std::string trlImpl(HMODULE hPlugin, const std::string& localeName, const S& formatStr, Args&&... args) { + std::string realFormatStr = formatStr; + if (PluginOwnData::hasImpl(hPlugin, I18nBase::POD_KEY)) { + auto& i18n = PluginOwnData::getImpl(hPlugin, I18nBase::POD_KEY); + realFormatStr = i18n.get(formatStr, localeName); + if (realFormatStr == formatStr) { + // If failed and the str dosn't match the args count, avoid fmt to avoid errors + auto argSz = sizeof...(args); + bool lastIsBracket = false; + size_t cnt = 0; + for (auto& c : formatStr) { + if (c == '{') { + if (lastIsBracket) { + cnt--; + lastIsBracket = false; + } else { + cnt++; + lastIsBracket = true; + continue; + } + } + if (lastIsBracket) { + lastIsBracket = false; + } + } + if (cnt != argSz) { + return formatStr; + } + } + } + // realFormatStr = FixCurlyBracket(realFormatStr); + if constexpr (0 == sizeof...(args)) { + // Avoid fmt if only one argument + return realFormatStr; + } else { + return fmt::format(realFormatStr, std::forward(args)...); + } +} +template ::value), int> = 0> +inline std::string trImpl(HMODULE hPlugin, const S& formatStr, Args&&... args) { + return trlImpl(hPlugin, "", formatStr, std::forward(args)...); +} + +///////////////// trc Impl ///////////////// +template ::value), int> = 0> +[[deprecated("Use trImpl(...).c_str() instead")]] inline const char* trcImpl(HMODULE hPlugin, const S& formatStr, + const Args&... args) { + std::string res = trImpl(hPlugin, formatStr, args...); + std::string name = + std::string(I18nBase::POD_KEY) + "_translation_" + fmt::v8::detail::to_string_view(formatStr).data(); + auto& str = PluginOwnData::setImpl(hPlugin, name, res); + return str.c_str(); +} + +LIAPI I18nBase* loadI18nImpl(HMODULE hPlugin, const std::string& path, const std::string& defaultLocaleName, + const I18nBase::LangData& defaultLangData); + +LIAPI I18nBase* loadFromImpl(HMODULE hPlugin, HMODULE hTarget); + +/** + * @brief Load translation from a file or dir. + * + * @param path The path to the i18n file(json) or dir + * @param defaultLocaleName The default language code(if no lang code is specified, it will use this) + * @param defaultLangData The default translation data + * @return I18nBase* The pointer to the I18nBase object in PluginOwnData, null if failed + * @par Example + * 1. SingleFileI18N (1) + * @code + * // In the file plugins/xxx/language.json: + * // {"zh_CN": {"text": "文本"}, "en_US": {"text", "text"}} + * Translation::load("plugins/xxx/language.json"); + * tr("text"); + * @endcode + * 2. SingleFileI18N (2) + * @code + * // In the file plugins/xxx/language.json: + * // {"zh_CN": {"a.b.c.id.text": "文本"}, "en_US": {"a.b.c.id.text", "text"}} + * Translation::load("plugins/xxx/language.json"); + * tr("a.b.c.d.id.text"); + * @endcode + * 3. MultiFileI18N (1) + * @code + * // In the file plugins/xxx/LangPack/en.json: + * // {"text": "text"} + * // In the file plugins/xxx/LangPack/zh_CN.json: + * // {"text": "文本"} + * Translation::load("plugins/xxx/LangPack/"); + * tr("text"); + * @endcode + * 4. MultiFileI18N (2) + * @code + * // In the file plugins/xxx/LangPack/en.json: + * // {"a.b.c.d.text1": "text"} + * // In the file plugins/xxx/LangPack/zh_CN.json: + * // {"a.b.c.d.text1": "文本"} + * Translation::load("plugins/xxx/LangPack/"); + * tr("a.b.c.d.text1"); + * @endcode + * 5. MultiFileI18N Nested (3) + * @code + * // In the file plugins/xxx/LangPack/en.json: + * // {"a": {"b": {"c": {"d": {"text1": "text"}}}}} + * // In the file plugins/xxx/LangPack/zh_CN.json: + * // {"a": {"b": {"c": {"d": {"text1": "文本"}}}}} + * Translation::load("plugins/xxx/LangPack/"); + * tr("a.b.c.d.text1"); + * @endcode + */ +inline I18nBase* load(const std::string& path, + const std::string& defaultLocaleName = "", + const I18nBase::LangData& defaultLangData = {}) { + return loadI18nImpl(GetCurrentModule(), path, defaultLocaleName, defaultLangData); +} + +/** + * Load i18n with custom i18n type. + * + * @param args... The args to pass to the i18n type constructor + * @return I18nBase* The pointer to the I18nBase object in PluginOwnData, null if failed + */ +template +inline I18nBase* load(Args&&... args) { + try { + I18nBase* res = new T(std::forward(args)...); + return &PluginOwnData::setWithoutNewImpl(GetCurrentModule(), I18nBase::POD_KEY, res); + } catch (...) {} + return nullptr; +} + +/** + * @brief Load translation from another plugin. + * + * @param plugin The plugin name. + * @return I18nBase* The pointer to the I18nBase object in PluginOwnData, null if failed + */ +inline I18nBase* loadFrom(const std::string& plugin) { + if (LL::hasPlugin(plugin)) { + auto p = LL::getPlugin(plugin); + if (p) { + return loadFromImpl(GetCurrentModule(), p->handle); + } + } + return nullptr; +} + +/** + * @brief Get the I18nBase object of a certain plugin. + * + * @param hPlugin The plugin handle(nullptr -> GetCurrentModule()) + * @return I18nBase* The I18nBase pointer + */ +inline I18nBase* getI18N(HMODULE hPlugin = nullptr) { + auto handle = (hPlugin == nullptr ? GetCurrentModule() : hPlugin); + if (handle && PluginOwnData::hasImpl(handle, I18nBase::POD_KEY)) { + return &PluginOwnData::getImpl(handle, I18nBase::POD_KEY); + } + return nullptr; +} + +}; // namespace Translation + +/** + * @brief Translate a str. + * + * @tparam S The string type + * @tparam Args ... + * @param formatStr The str to translate and format + * @param args The format arguments + * @return std::string The translated str + * @see fmt::format + * @see https://fmt.dev/latest/index.html + * @par Example + * @code + * tr(std::string("There are {0} days before {1} to come back"), 3, "alex"); + * @endcode + */ +template ::value), int> = 0> +inline std::string tr(const S& formatStr, Args&&... args) { + return Translation::trImpl(GetCurrentModule(), formatStr, std::forward(args)...); +} + +/** + * @brief Translate a str. + * + * @tparam Args ... + * @param formatStr The str to translate and format + * @param args The format arguments + * @return std::string The translated str + * @see fmt::format + * @see https://fmt.dev/latest/index.html + * @par Example + * @code + * tr("There are {0} days before {1} to come back", 3, "alex"); + * @endcode + */ +template +inline std::string tr(const char* formatStr, Args&&... args) { + return tr(std::string(formatStr), std::forward(args)...); +} + +/** + * @brief Translate a str(c-style str). + * + * @tparam S The string type + * @tparam Args ... + * @param formatStr The str to translate and format + * @param args The format arguments + * @return const char* The translated str(c-style str) + * @see fmt::format + * @see https://fmt.dev/latest/index.html + * @par Example + * @code + * trc(std::string("There are {0} days before {1} to come back"), 3, "alex"); + * @endcode + */ +template ::value), int> = 0> +inline const char* trc(const S& formatStr, Args&&... args) { + return Translation::trcImpl(GetCurrentModule(), formatStr, std::forward(args)...); +} + +/** + * @brief Translate a str(c-style str). + * + * @tparam Args ... + * @param formatStr The str to translate and format + * @param args The format arguments + * @return const char* The translated str(c-style str) + * @see fmt::format + * @see https://fmt.dev/latest/index.html + * @par Example + * @code + * trc("There are {0} days before {1} to come back", 3, "alex"); + * @endcode + */ +template +inline const char* trc(const char* formatStr, Args&&... args) { + return trc(std::string(formatStr), std::forward(args)...); +} + +/** + * @brief Translate a str to the specified language. + * + * @tparam S The string type + * @tparam Args ... + * @param localeName The language code like en_US + * @param formatStr The str to translate and format + * @param args The format arguments + * @return std::string The translated str + * @see fmt::format + * @see https://fmt.dev/latest/index.html + * @par Example + * @code + * trl("zh_CN", "There are {0} days before {1} to come back", 3, "alex"); + * @endcode + */ +template +inline std::string trl(const std::string& localeName, const S& formatStr, Args&&... args) { + return Translation::trlImpl(GetCurrentModule(), localeName, formatStr, std::forward(args)...); +} + +/** + * @brief Translate a str to the specified language. + * + * @tparam Args ... + * @param localeName The language code like en_US + * @param formatStr The str to translate and format(c-style) + * @param args The format arguments + * @return std::string The translated str + * @see fmt::format + * @see https://fmt.dev/latest/index.html + * @par Example + * @code + * trl("zh_CN", "There are {0} days before {1} to come back", 3, "alex"); + * @endcode + */ +template +inline std::string trl(const std::string& localeName, const char* formatStr, Args&&... args) { + return trl(localeName, std::string(formatStr), std::forward(args)...); +} + +namespace Translation { +namespace literals { + +inline std::string operator""_tr(const char* str, size_t) { + return tr(str); +} + +} // namespace literals +} // namespace Translation + +// For text encoding +namespace TextEncoding { +LIAPI Encoding getLocalEncoding(); +LIAPI Encoding detectEncoding(const std::string& text, bool* isReliable = nullptr); + +LIAPI std::string fromUnicode(const std::wstring& text, Encoding to = Encoding::UTF8); +LIAPI std::wstring toUnicode(const std::string& text, Encoding from = Encoding::UTF8); +LIAPI std::string toUTF8(const std::string& text); +LIAPI std::string toUTF8(const std::string& text, Encoding from); + +LIAPI std::string convert(const std::string& text, Encoding from, Encoding to); +} // namespace TextEncoding \ No newline at end of file diff --git a/LiteLoader/Header/Impl/FormPacketHelper.h b/LiteLoader/Header/Impl/FormPacketHelper.h new file mode 100644 index 0000000..a5c1a88 --- /dev/null +++ b/LiteLoader/Header/Impl/FormPacketHelper.h @@ -0,0 +1,22 @@ +#pragma once + +#include +#include "../Global.h" +#include "../FormUI.h" +#include + +LIAPI unsigned NewFormId(); + +LIAPI void SetSimpleFormPacketCallback(unsigned formId, std::function callback); + +LIAPI void SetModalFormPacketCallback(unsigned formId, std::function callback); + +LIAPI void SetCustomFormPacketCallback(unsigned formId, std::function callback); + +LIAPI void SetSimpleFormBuilderData(unsigned formId, std::shared_ptr data); + +LIAPI void SetModalFormBuilderData(unsigned formId, std::shared_ptr data); + +LIAPI void SetCustomFormBuilderData(unsigned formId, std::shared_ptr data); + +LIAPI void HandleFormPacket(Player* player, unsigned formId, const string& data); diff --git a/LiteLoader/Header/Impl/ObjectivePacketHelper.h b/LiteLoader/Header/Impl/ObjectivePacketHelper.h new file mode 100644 index 0000000..5da8ea7 --- /dev/null +++ b/LiteLoader/Header/Impl/ObjectivePacketHelper.h @@ -0,0 +1,5 @@ +#pragma once + +#include "../Global.h" + +LIAPI uint64_t NewScoreId(); \ No newline at end of file diff --git a/LiteLoader/Header/KVDBAPI.h b/LiteLoader/Header/KVDBAPI.h new file mode 100644 index 0000000..c8ba608 --- /dev/null +++ b/LiteLoader/Header/KVDBAPI.h @@ -0,0 +1,46 @@ +#pragma once +#include "third-party/leveldb/c.h" +#include "third-party/leveldb/cache.h" +#include "third-party/leveldb/db.h" +#include "third-party/leveldb/filter_policy.h" +#include "third-party/leveldb/iterator.h" +#include +#include +#include +#include + +class KVDB { + leveldb::DB* db; + leveldb::ReadOptions rdopt; + leveldb::WriteOptions wropt; + leveldb::Options options; + leveldb::Status status; + std::string dbpath; + + void _init(const char* path, bool create, bool read_cache, int cache_sz, int Bfilter_bit); + +public: + LIAPI static std::unique_ptr create(const std::string& path, bool read_cache = true, int cache_sz = 0, int Bfilter_bit = 0); + LIAPI static std::unique_ptr open(const std::string& path, bool create = true, bool read_cache = true, int cache_sz = 0, int Bfilter_bit = 0); + LIAPI ~KVDB(); + + KVDB() = default; + KVDB(KVDB const&) = delete; + KVDB& operator=(KVDB const&) = delete; + + LIAPI bool get(std::string_view key, std::string& val); + LIAPI std::optional get(std::string_view key); + LIAPI bool set(std::string_view key, std::string_view val); + LIAPI bool del(std::string_view key); + LIAPI void iter(std::function const& fn); + LIAPI void iter(std::function const&); + LIAPI std::string error(leveldb::Status status); + LIAPI std::vector getAllKeys(); + LIAPI bool isValid(); + LIAPI operator bool(); + + // For Compatibility + inline bool put(std::string_view key, std::string_view val) { + return set(key, val); + } +}; \ No newline at end of file diff --git a/LiteLoader/Header/LLAPI.h b/LiteLoader/Header/LLAPI.h new file mode 100644 index 0000000..a192e1c --- /dev/null +++ b/LiteLoader/Header/LLAPI.h @@ -0,0 +1,212 @@ +#pragma once +#pragma warning(disable : 26812) +#include +#include + +#ifndef WIN32_LEAN_AND_MEAN +#define WIN32_LEAN_AND_MEAN +#endif + +#ifndef NOMINMAX +#define NOMINMAX +#endif + +#include + +#include "Global.h" +#include "Utils/WinHelper.h" +#include "Utils/PluginOwnData.h" + +// LL types +namespace LL { + +struct Version { + enum Status { + Dev, + Beta, + Release + }; + + int major; + int minor; + int revision; + Status status; + + LIAPI explicit Version(int major = 0, int minor = 0, int revision = 0, Status status = Status::Release); + + LIAPI bool operator<(Version b); + LIAPI bool operator==(Version b); + + LIAPI std::string toString(bool needStatus = false); + LIAPI static Version parse(const std::string& str); +}; + +struct Plugin { + std::string name; + std::string desc; // `introduction` before + Version version; + std::map others; // `otherInformation` before + + std::string filePath; + HMODULE handle; + + enum class PluginType { + DllPlugin, + ScriptPlugin + }; + + PluginType type; + + // Call a Function by Symbol String + template + inline ReturnType callFunction(const char* functionName, Args... args) { + void* address = GetProcAddress(handle, functionName); + if (!address) + return ReturnType(); + return reinterpret_cast(address)(std::forward(args)...); + } +}; + +} // namespace LL +inline bool operator<=(LL::Version a, LL::Version b) { + return a < b || a == b; +} +inline bool operator>(LL::Version a, LL::Version b) { + return b < a; +} +inline bool operator>=(LL::Version a, LL::Version b) { + return b < a || b == a; +} + +// helper +LIAPI bool RegisterPlugin(HMODULE hPlugin, std::string name, std::string desc, LL::Version version, + std::map others); + +// Loader APIs +namespace LL { + +/** + * @brief Get the loader version as a string + * + * @return std::string The loader version + */ +LIAPI std::string getLoaderVersionString(); +/** + * @brief Get the loader version as a Version object + * + * @return LL::Version The loader version + */ +LIAPI Version getLoaderVersion(); +/** + * @brief Get whether LiteLoader is in debug mode + * + * @return bool True if it is in debug mode + */ +LIAPI bool isDebugMode(); + +/** + * @brief Get the data path of the plugin + * + * @param pluginName The name of the plugin + * @return std::string The data path of the plugin + */ +LIAPI std::string getDataPath(const std::string& pluginName); + +/** + * @brief Register a plugin + * + * @param name The name of the plugin + * @param desc The description(introduction) of the plugin + * @param version The version of the plugin(LL::Version) + * @param git The git information of the plugin + * @param license The license of the plugin + * @param website The website + * @return bool True if the plugin is registered successfully + * @note The implementation of this function must be in header file(because of `GetCurrentModule`) + */ +inline bool registerPlugin(std::string name, std::string desc, LL::Version version, + std::string git = "", std::string license = "", std::string website = "") { + std::map others; + if (!git.empty()) + others.emplace("Git", git); + if (!license.empty()) + others.emplace("License", license); + if (!website.empty()) + others.emplace("Website", website); + return ::RegisterPlugin(GetCurrentModule(), name, desc, version, others); +} + +/** + * @brief Register a plugin + * + * @param name The name of the plugin + * @param desc The descirption(introduction) of the plugin + * @param version The version of the plugin(LL::Version) + * @param others The other information of the plugin(key-value) + * @return bool True if the plugin is registered successfully + * @note The implementation of this function must be in header file(because of `GetCurrentModule`) + * + * @par Example + * @code + * LL::registerPlugin("Test", "A test plugin", Version(0, 0, 1, Version::Dev), {{"Note","This is Note"}}); + * @endcode + */ +inline bool registerPlugin(std::string name, std::string desc, LL::Version version, + std::map others) { + return ::RegisterPlugin(GetCurrentModule(), name, desc, version, others); +} + +/** + * @brief Get a loaded plugin by name + * + * @param name The name of the plugin + * @return LL::Plugin* The plugin(nullptr if not found) + */ +LIAPI LL::Plugin* getPlugin(std::string name); +/** + * @brief Get a loaded plugin by HMODULE handle + * + * @param name The name of the plugin + * @return LL::Plugin* The plugin(nullptr if not found) + */ +LIAPI LL::Plugin* getPlugin(HMODULE handle); + +/** + * @brief Get whether the plugin is loaded + * + * @param name The name of the plugin + * @return bool True if the plugin is loaded + */ +LIAPI bool hasPlugin(std::string name); + +/** + * @brief Get the All the loaded plugins + * + * @return std::unordered_map The loaded plugins(name-plugin) + */ +LIAPI std::unordered_map getAllPlugins(); + +/** + * @breif Get the handle of LiteLoader.dll. + * + * @return HMODULE The handle + */ +LIAPI HMODULE getLoaderHandle(); + +/// Server Status +enum class ServerStatus { + Starting, + Running, + Stopping +}; +LIAPI ServerStatus getServerStatus(); +LIAPI bool isServerStarting(); +LIAPI bool isServerStopping(); + +/** + * @breif Get LiteLoaderBDS's current language + * + * @return std::string Language(such as: en, zh_CN, ja, ru) + */ +std::string getLanguage(); +}; // namespace LL diff --git a/LiteLoader/Header/LoggerAPI.h b/LiteLoader/Header/LoggerAPI.h new file mode 100644 index 0000000..06e68cb --- /dev/null +++ b/LiteLoader/Header/LoggerAPI.h @@ -0,0 +1,189 @@ +//////////////////////////////////////////////////////////////////////// +// Logger System - Log text to console, file and player easily +// - Created by RimuruChan on 2021/12/11. +// +// +// [Create Logger] +// +// Logger logger("MyPlugin"); // Create a logger (default: only log to console) +// logger.setFile("logs/MyPlugin.log"); // Optional, also record log to File +// +// auto pl = mc.getPlayer("Jim"); +// if(pl) +// logger.setPlayer(pl); // Optional, also record log to a Player +// ...... +// logger.setFile(nullptr); // Stop record log to File (Passing nullptr to setPlayer works like this) +// +// +// [Use Logger] +// +// logger.info("Infomation"); // Common +// logger.error("Error! Code:{}",GetLastError()); // FMT Format +// logger.warn << "Warning! Fail to do sth." << logger.endl; // STL Format +// +//////////////////////////////////////////////////////////////////////// + +#pragma once + +#ifndef FMT_HEADER_ONLY +#define FMT_HEADER_ONLY +#endif + +#include +#include "third-party/FMT/chrono.h" +#include "third-party/FMT/color.h" +#include "third-party/FMT/core.h" +#include "third-party/FMT/os.h" +#include "third-party/FMT/printf.h" +#include "Utils/CsLock.h" +#include "Utils/WinHelper.h" +#include "Utils/FileHelper.h" +#include "Utils/PluginOwnData.h" +#include "Utils/StringHelper.h" +#include "I18nAPI.h" +#include +#include +#include +#include +#include + +class Player; + +#define LOGGER_CURRENT_FILE "ll_plugin_logger_file" + +template +using enable_if_type = typename std::enable_if::type; + +HMODULE GetCurrentModule(); + +class Logger { +public: + class OutputStream { + friend class Logger; + + protected: + LIAPI explicit OutputStream(); + + public: + Logger* logger{}; + int level{}; + std::string consoleFormat; + std::string fileFormat; + std::string playerFormat; + fmt::text_style style; + std::string levelPrefix; + std::ostringstream os; + bool locked = false; // Deprecated + + LIAPI explicit OutputStream(Logger* logger, int level, std::string&& consoleFormat, std::string&& fileFormat, std::string&& playerFormat, fmt::text_style&& style, std::string&& mode); + + template + OutputStream& operator<<(T t) { + logger->lock(); + os << t; + logger->unlock(); + return *this; + } + + template <> + OutputStream& operator<<(std::wstring wstr) { + logger->lock(); + os << wstr2str(wstr); + logger->unlock(); + return *this; + } + template <> + OutputStream& operator<<(const wchar_t* wstr) { + logger->lock(); + os << wstr2str(wstr); + logger->unlock(); + return *this; + } + + template <> + OutputStream& operator<<(void (*t)(OutputStream&)) { + t(*this); + return *this; + } + + template ::value), int> = 0> + void operator()(const S& formatStr, const Args&... args) { + if constexpr (0 == sizeof...(args)) { + // Avoid fmt if only one argument + *this << formatStr << endl; + } else { + std::string str = fmt::format(formatStr, args...); + *this << str << endl; + } + } + + template + void operator()(const char* formatStr, const Args&... args) { + if constexpr (0 == sizeof...(args)) { + // Avoid fmt if only one argument + *this << formatStr << endl; + } else { + std::string str = fmt::format(std::string(formatStr), args...); + *this << str << endl; + } + } + }; + +private: + LIAPI static bool setDefaultFileImpl(HMODULE hPlugin, const std::string& logFile, bool appendMode); + LIAPI static bool setDefaultFileImpl(HMODULE hPlugin, nullptr_t); + + LIAPI static void endlImpl(HMODULE hPlugin, OutputStream& o); + +public: + std::string title; + std::ofstream ofs; + Player* player = nullptr; + int consoleLevel = -1; + int fileLevel = -1; + int playerLevel = -1; + + ~Logger() { + setFile(nullptr); + } + + inline static bool setDefaultFile(const std::string& logFile, bool appendMode) { + return setDefaultFileImpl(GetCurrentModule(), logFile, appendMode); + }; + + inline static bool setDefaultFile(nullptr_t a0) { + return setDefaultFileImpl(GetCurrentModule(), a0); + }; + + inline static void endl(OutputStream& o) { + return endlImpl(GetCurrentModule(), o); + }; + + LIAPI bool setFile(const std::string& logFile, bool appendMode = true); + LIAPI bool setFile(nullptr_t); + + LIAPI bool tryLock(); + LIAPI bool lock(); + LIAPI bool unlock(); + + OutputStream debug; + OutputStream info; + OutputStream warn; + OutputStream error; + OutputStream fatal; + + inline Logger() + : Logger("") { + } + LIAPI explicit Logger(const std::string& title); + +private: + LIAPI CsLock& getLocker(); + + + // For compatibility +private: + LIAPI static void initLockImpl(HMODULE hPlugin); + LIAPI static void lockImpl(HMODULE hPlugin); + LIAPI static void unlockImpl(HMODULE hPlugin); +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/AABB.hpp b/LiteLoader/Header/MC/AABB.hpp new file mode 100644 index 0000000..df5f283 --- /dev/null +++ b/LiteLoader/Header/MC/AABB.hpp @@ -0,0 +1,44 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class AABB { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_AABB +public: + class AABB& operator=(class AABB const &) = delete; + AABB(class AABB const &) = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_AABB +#endif + MCAPI AABB(); + MCAPI AABB(float, float, float, float, float, float); + MCAPI AABB(class Vec3 const &, class Vec3 const &); + MCAPI class HitResult clip(class Vec3 const &, class Vec3 const &) const; + MCAPI class Vec3 clipCollide(class AABB const &, class Vec3 const &, bool, float *) const; + MCAPI bool contains(class Vec3 const &) const; + MCAPI float distanceTo(class Vec3 const &) const; + MCAPI float distanceToSqr(class AABB const &) const; + MCAPI class AABB expanded(class Vec3 const &) const; + MCAPI class AABB flooredCeiledCopy() const; + MCAPI class AABB flooredCopy(float, float) const; + MCAPI class AABB grow(class Vec3 const &) const; + MCAPI bool intersects(class AABB const &) const; + MCAPI bool intersects(class Vec3 const &, class Vec3 const &) const; + MCAPI class AABB merge(class AABB const &) const; + MCAPI class AABB & set(class Vec3 const &, class Vec3 const &); + MCAPI void set(float, float, float, float, float, float); + MCAPI class AABB shrink(class Vec3 const &) const; + MCAPI static class AABB const EMPTY; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/AABBBucket.hpp b/LiteLoader/Header/MC/AABBBucket.hpp new file mode 100644 index 0000000..cca7558 --- /dev/null +++ b/LiteLoader/Header/MC/AABBBucket.hpp @@ -0,0 +1,26 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +struct AABBBucket { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_AABBBUCKET +public: + struct AABBBucket& operator=(struct AABBBucket const &) = delete; + AABBBucket(struct AABBBucket const &) = delete; + AABBBucket() = delete; +#endif +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_AABBBUCKET +#endif + MCAPI void mergeAABBs(); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/AABBPred.hpp b/LiteLoader/Header/MC/AABBPred.hpp new file mode 100644 index 0000000..48b52bf --- /dev/null +++ b/LiteLoader/Header/MC/AABBPred.hpp @@ -0,0 +1,27 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class AABBPred { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_AABBPRED +public: + class AABBPred& operator=(class AABBPred const &) = delete; + AABBPred(class AABBPred const &) = delete; + AABBPred() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_AABBPRED +#endif + MCAPI bool operator()(class AABB const &, class AABB const &) const; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/Abilities.hpp b/LiteLoader/Header/MC/Abilities.hpp new file mode 100644 index 0000000..19c34c0 --- /dev/null +++ b/LiteLoader/Header/MC/Abilities.hpp @@ -0,0 +1,33 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class Abilities { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ABILITIES +#endif + MCAPI Abilities(); + MCAPI Abilities(class Abilities const &); + MCAPI void addSaveData(class CompoundTag &) const; + MCAPI bool loadSaveData(class CompoundTag const &); + MCAPI class Abilities & operator=(class Abilities const &); + MCAPI void setPlayerPermissions(enum PlayerPermissionLevel); + MCAPI ~Abilities(); + +//private: + MCAPI void _registerAbilities(); + +private: + MCAPI static class std::array ABILITY_NAMES; + MCAPI static std::string const TAG; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/Ability.hpp b/LiteLoader/Header/MC/Ability.hpp new file mode 100644 index 0000000..fd25c66 --- /dev/null +++ b/LiteLoader/Header/MC/Ability.hpp @@ -0,0 +1,26 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class Ability { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ABILITY +public: + class Ability& operator=(class Ability const &) = delete; + Ability(class Ability const &) = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ABILITY +#endif + MCAPI Ability(); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/AbilityCommand.hpp b/LiteLoader/Header/MC/AbilityCommand.hpp new file mode 100644 index 0000000..51be37e --- /dev/null +++ b/LiteLoader/Header/MC/AbilityCommand.hpp @@ -0,0 +1,30 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Command.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class AbilityCommand : public Command { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ABILITYCOMMAND +public: + class AbilityCommand& operator=(class AbilityCommand const &) = delete; + AbilityCommand(class AbilityCommand const &) = delete; + AbilityCommand() = delete; +#endif + +public: + /*0*/ virtual ~AbilityCommand(); + /*1*/ virtual void execute(class CommandOrigin const &, class CommandOutput &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ABILITYCOMMAND +#endif + MCAPI static void setup(class CommandRegistry &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/AbsorptionMobEffect.hpp b/LiteLoader/Header/MC/AbsorptionMobEffect.hpp new file mode 100644 index 0000000..09a7a17 --- /dev/null +++ b/LiteLoader/Header/MC/AbsorptionMobEffect.hpp @@ -0,0 +1,30 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "MobEffect.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class AbsorptionMobEffect : public MobEffect { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ABSORPTIONMOBEFFECT +public: + class AbsorptionMobEffect& operator=(class AbsorptionMobEffect const &) = delete; + AbsorptionMobEffect(class AbsorptionMobEffect const &) = delete; + AbsorptionMobEffect() = delete; +#endif + +public: + /*0*/ virtual ~AbsorptionMobEffect(); + /*1*/ virtual void applyEffects(class Actor *, int, int) const; + /*2*/ virtual void removeEffects(class Actor *); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ABSORPTIONMOBEFFECT +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/AbstractArrow.hpp b/LiteLoader/Header/MC/AbstractArrow.hpp new file mode 100644 index 0000000..df20071 --- /dev/null +++ b/LiteLoader/Header/MC/AbstractArrow.hpp @@ -0,0 +1,67 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Actor.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class AbstractArrow : public Actor { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ABSTRACTARROW +public: + class AbstractArrow& operator=(class AbstractArrow const &) = delete; + AbstractArrow(class AbstractArrow const &) = delete; + AbstractArrow() = delete; +#endif + +public: + /*1*/ virtual void reloadHardcoded(enum Actor::InitializationMethod, class VariantParameterList const &); + /*7*/ virtual ~AbstractArrow(); + /*30*/ virtual void __unk_vfn_30(); + /*36*/ virtual void lerpTo(class Vec3 const &, class Vec2 const &, int); + /*37*/ virtual void lerpMotion(class Vec3 const &); + /*39*/ virtual void normalTick(); + /*54*/ virtual void __unk_vfn_54(); + /*61*/ virtual void __unk_vfn_61(); + /*73*/ virtual float getShadowHeightOffs(); + /*74*/ virtual float getShadowRadius() const; + /*76*/ virtual void __unk_vfn_76(); + /*81*/ virtual void __unk_vfn_81(); + /*82*/ virtual void playerTouch(class Player &); + /*88*/ virtual void __unk_vfn_88(); + /*90*/ virtual void __unk_vfn_90(); + /*98*/ virtual void __unk_vfn_98(); + /*100*/ virtual void __unk_vfn_100(); + /*121*/ virtual void __unk_vfn_121(); + /*161*/ virtual struct ActorUniqueID getSourceUniqueID() const; + /*168*/ virtual bool canChangeDimensions() const; + /*169*/ virtual void __unk_vfn_169(); + /*182*/ virtual void __unk_vfn_182(); + /*206*/ virtual void __unk_vfn_206(); + /*207*/ virtual void __unk_vfn_207(); + /*228*/ virtual void __unk_vfn_228(); + /*231*/ virtual void __unk_vfn_231(); + /*238*/ virtual void __unk_vfn_238(); + /*242*/ virtual void readAdditionalSaveData(class CompoundTag const &, class DataLoadHelper &); + /*243*/ virtual void addAdditionalSaveData(class CompoundTag &); + /*246*/ virtual void __unk_vfn_246(); + /*257*/ virtual void __unk_vfn_257(); + /*258*/ virtual void shoot(class Vec3 const &, float, float, class Vec3 const &); + /*259*/ virtual void _playPickupSound(); + /*260*/ virtual class ItemStack _getPickupItem() const = 0; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ABSTRACTARROW +#endif + MCAPI AbstractArrow(class ActorDefinitionGroup *, struct ActorDefinitionIdentifier const &); + +//protected: + MCAPI bool _canPickup(class Player const &) const; + +protected: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/AcaciaTreeCanopy.hpp b/LiteLoader/Header/MC/AcaciaTreeCanopy.hpp new file mode 100644 index 0000000..7b02e22 --- /dev/null +++ b/LiteLoader/Header/MC/AcaciaTreeCanopy.hpp @@ -0,0 +1,29 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "TreeHelper.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class AcaciaTreeCanopy { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ACACIATREECANOPY +public: + class AcaciaTreeCanopy& operator=(class AcaciaTreeCanopy const &) = delete; + AcaciaTreeCanopy(class AcaciaTreeCanopy const &) = delete; + AcaciaTreeCanopy() = delete; +#endif + +public: + /*0*/ virtual ~AcaciaTreeCanopy(); + /*1*/ virtual class std::optional placeCanopy(class IBlockPlacementTarget &, class BlockPos const &, class Random &, struct TreeHelper::TreeParams const &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ACACIATREECANOPY +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/AcaciaTreeTrunk.hpp b/LiteLoader/Header/MC/AcaciaTreeTrunk.hpp new file mode 100644 index 0000000..34fd4ab --- /dev/null +++ b/LiteLoader/Header/MC/AcaciaTreeTrunk.hpp @@ -0,0 +1,35 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "TreeHelper.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class AcaciaTreeTrunk { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ACACIATREETRUNK +public: + class AcaciaTreeTrunk& operator=(class AcaciaTreeTrunk const &) = delete; + AcaciaTreeTrunk(class AcaciaTreeTrunk const &) = delete; + AcaciaTreeTrunk() = delete; +#endif + +public: + /*0*/ virtual ~AcaciaTreeTrunk(); + /*1*/ virtual class std::optional placeTrunk(class IBlockPlacementTarget &, class BlockPos const &, class Random &, struct TreeHelper::TreeParams const &, class ITreeCanopy const *) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ACACIATREETRUNK +#endif + +//private: + MCAPI void _placeLeaningBranches(class IBlockPlacementTarget &, class BlockPos const &, class BlockPos const &, class Random &, int, int, int, struct TreeHelper::TreeParams const &) const; + MCAPI void _placeVerticalBranches(class IBlockPlacementTarget &, class BlockPos const &, class BlockPos const &, class Random &, struct TreeHelper::TreeParams const &) const; + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/AchievementData.hpp b/LiteLoader/Header/MC/AchievementData.hpp new file mode 100644 index 0000000..4d4bbe2 --- /dev/null +++ b/LiteLoader/Header/MC/AchievementData.hpp @@ -0,0 +1,27 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class AchievementData { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ACHIEVEMENTDATA +public: + class AchievementData& operator=(class AchievementData const &) = delete; + AchievementData(class AchievementData const &) = delete; + AchievementData() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ACHIEVEMENTDATA +#endif + MCAPI static std::string REWARD_META_TAG_PERSONA; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ActivateToolDefinition.hpp b/LiteLoader/Header/MC/ActivateToolDefinition.hpp new file mode 100644 index 0000000..c07f210 --- /dev/null +++ b/LiteLoader/Header/MC/ActivateToolDefinition.hpp @@ -0,0 +1,30 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Json.hpp" +#include "BehaviorDefinition.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ActivateToolDefinition : public BehaviorDefinition { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ACTIVATETOOLDEFINITION +public: + class ActivateToolDefinition& operator=(class ActivateToolDefinition const &) = delete; + ActivateToolDefinition(class ActivateToolDefinition const &) = delete; + ActivateToolDefinition() = delete; +#endif + +public: + /*0*/ virtual ~ActivateToolDefinition(); + /*1*/ virtual void load(class Json::Value, class BehaviorFactory const &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ACTIVATETOOLDEFINITION +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ActivateToolNode.hpp b/LiteLoader/Header/MC/ActivateToolNode.hpp new file mode 100644 index 0000000..bc3ce81 --- /dev/null +++ b/LiteLoader/Header/MC/ActivateToolNode.hpp @@ -0,0 +1,29 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ActivateToolNode { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ACTIVATETOOLNODE +public: + class ActivateToolNode& operator=(class ActivateToolNode const &) = delete; + ActivateToolNode(class ActivateToolNode const &) = delete; + ActivateToolNode() = delete; +#endif + +public: + /*0*/ virtual ~ActivateToolNode(); + /*1*/ virtual enum BehaviorStatus tick(class Actor &); + /*2*/ virtual void initializeFromDefinition(class Actor &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ACTIVATETOOLNODE +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ActivatorRailBlock.hpp b/LiteLoader/Header/MC/ActivatorRailBlock.hpp new file mode 100644 index 0000000..4f99a5d --- /dev/null +++ b/LiteLoader/Header/MC/ActivatorRailBlock.hpp @@ -0,0 +1,60 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "BaseRailBlock.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ActivatorRailBlock : public BaseRailBlock { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ACTIVATORRAILBLOCK +public: + class ActivatorRailBlock& operator=(class ActivatorRailBlock const &) = delete; + ActivatorRailBlock(class ActivatorRailBlock const &) = delete; + ActivatorRailBlock() = delete; +#endif + +public: + /*0*/ virtual ~ActivatorRailBlock(); + /*18*/ virtual void __unk_vfn_18(); + /*24*/ virtual void __unk_vfn_24(); + /*25*/ virtual void __unk_vfn_25(); + /*26*/ virtual void __unk_vfn_26(); + /*27*/ virtual void __unk_vfn_27(); + /*28*/ virtual void __unk_vfn_28(); + /*30*/ virtual void __unk_vfn_30(); + /*31*/ virtual void __unk_vfn_31(); + /*32*/ virtual void __unk_vfn_32(); + /*33*/ virtual void __unk_vfn_33(); + /*34*/ virtual void __unk_vfn_34(); + /*35*/ virtual void __unk_vfn_35(); + /*36*/ virtual void __unk_vfn_36(); + /*38*/ virtual void __unk_vfn_38(); + /*39*/ virtual void __unk_vfn_39(); + /*40*/ virtual void __unk_vfn_40(); + /*42*/ virtual void __unk_vfn_42(); + /*43*/ virtual void __unk_vfn_43(); + /*49*/ virtual void __unk_vfn_49(); + /*52*/ virtual void __unk_vfn_52(); + /*65*/ virtual void onRedstoneUpdate(class BlockSource &, class BlockPos const &, int, bool) const; + /*67*/ virtual void __unk_vfn_67(); + /*73*/ virtual void __unk_vfn_73(); + /*87*/ virtual void __unk_vfn_87(); + /*95*/ virtual void __unk_vfn_95(); + /*109*/ virtual void __unk_vfn_109(); + /*116*/ virtual void __unk_vfn_116(); + /*118*/ virtual void __unk_vfn_118(); + /*119*/ virtual void __unk_vfn_119(); + /*141*/ virtual int getVariant(class Block const &) const; + /*142*/ virtual void __unk_vfn_142(); + /*158*/ virtual void __unk_vfn_158(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ACTIVATORRAILBLOCK +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ActiveDirectoryIdentity.hpp b/LiteLoader/Header/MC/ActiveDirectoryIdentity.hpp new file mode 100644 index 0000000..971b0d3 --- /dev/null +++ b/LiteLoader/Header/MC/ActiveDirectoryIdentity.hpp @@ -0,0 +1,34 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ActiveDirectoryIdentity { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ACTIVEDIRECTORYIDENTITY +public: + class ActiveDirectoryIdentity& operator=(class ActiveDirectoryIdentity const &) = delete; + ActiveDirectoryIdentity(class ActiveDirectoryIdentity const &) = delete; + ActiveDirectoryIdentity() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ACTIVEDIRECTORYIDENTITY +#endif + MCAPI static std::string const IS_VALID_FIELD; + MCAPI static std::string const JWT_EXPIRATION_FIELD; + MCAPI static std::string const JWT_REQUEST_ID_FIELD; + MCAPI static std::string const MUTSUrl; + MCAPI static std::string const PAYLOAD_FIELD; + MCAPI static std::string const PUBLIC_KEY; + MCAPI static std::string const REQUEST_ID_FIELD; + MCAPI static std::string const RESPONSE_FIELD; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/Actor.hpp b/LiteLoader/Header/MC/Actor.hpp new file mode 100644 index 0000000..d76c8a3 --- /dev/null +++ b/LiteLoader/Header/MC/Actor.hpp @@ -0,0 +1,505 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA +// Add include headers & pre-declares +#include "MobEffectInstance.hpp" +#include "Tick.hpp" +#include "ActorDamageSource.hpp" +class Actor; +class Player; +class NetworkIdentifier; +class CompoundTag; +class Vec2; +class BlockInstance; +class ItemStack; +class BlockSource; +enum class FaceID : char; + +#undef BEFORE_EXTRA + +class Actor { + +#define AFTER_EXTRA +public: + enum InitializationMethod; + + LIAPI std::string getTypeName() const; + LIAPI Vec3 getFeetPosition() const; + //LIAPI BlockSource* getBlockSource() const; + LIAPI Vec2* getDirection() const; + LIAPI ActorUniqueID getActorUniqueId() const; + LIAPI Vec3 getCameraPos() const; + LIAPI Tick* getLastTick() const; + LIAPI std::vector getAllTags(); + //LIAPI BlockInstance getBlockFromViewVector(bool includeLiquid = false, bool solidOnly = false, float maxDistance = 5.25f, bool ignoreBorderBlocks = true, bool fullOnly = false) const; + //LIAPI BlockInstance getBlockFromViewVector(FaceID& face, bool includeLiquid = false, bool solidOnly = false, float maxDistance = 5.25f, bool ignoreBorderBlocks = true, bool fullOnly = false) const; + //LIAPI UserEntityIdentifierComponent* getUserEntityIdentifierComponent() const; + //LIAPI Actor* getActorFromViewVector(float maxDistance); + LIAPI BlockPos getBlockPos(); + LIAPI BlockInstance getBlockStandingOn() const; + + LIAPI bool isPlayer(bool allowSimulatedPlayer = true) const; + LIAPI bool isItemActor() const; + LIAPI bool isOnGround() const; + //LIAPI bool setOnFire(int time, bool isEffect); + //LIAPI bool stopFire(); + LIAPI bool hasTag(const string& tag); + //LIAPI bool hurtEntity(float damage, ActorDamageCause damageCause = ActorDamageCause::ActorDamageCause_Override); + //LIAPI bool teleport(Vec3 to, int dimID, float x, float y); + //LIAPI bool teleport(Vec3 pos,int dimid); + //LIAPI ItemStack* getHandSlot(); + LIAPI bool rename(const string& name); + LIAPI std::unique_ptr getNbt(); + LIAPI bool setNbt(CompoundTag* nbt); + LIAPI bool refreshActorData(); + LIAPI bool addEffect(MobEffect::EffectType type, int tick, int level, bool ambient = false, bool showParticles = true, bool showAnimation = false); + LIAPI float quickEvalMolangScript(const string& expression); + //LIAPI Json::Value quickEvalMolangScriptAsJson(const string& expression); + + inline Vec3 getPosition() + { + return getPos(); + } + inline Vec3 getPosPrev() + { + return getPosOld(); + } + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ACTOR +public: + class Actor& operator=(class Actor const &) = delete; + Actor(class Actor const &) = delete; + Actor() = delete; +#endif + +public: + /*0*/ virtual bool hasComponent(class HashedString const &) const; + /*1*/ virtual void reloadHardcoded(enum Actor::InitializationMethod, class VariantParameterList const &); + /*2*/ virtual void reloadHardcodedClient(enum Actor::InitializationMethod, class VariantParameterList const &); + /*3*/ virtual void initializeComponents(enum Actor::InitializationMethod, class VariantParameterList const &); + /*4*/ virtual void reloadComponents(enum Actor::InitializationMethod, class VariantParameterList const &); + /*5*/ virtual void _serverInitItemStackIds(); + /*6*/ virtual void _doInitialMove(); + /*7*/ virtual ~Actor(); + /*8*/ virtual void reset(); + /*9*/ virtual int getOnDeathExperience(); + /*10*/ virtual enum ActorType getOwnerEntityType(); + /*11*/ virtual void remove(); + /*12*/ virtual void setPos(class Vec3 const &); + /*13*/ virtual class Vec3 const & getPos() const; + /*14*/ virtual class Vec3 const & getPosOld() const; + /*15*/ virtual class Vec3 const getPosExtrapolated(float) const; + /*16*/ virtual class Vec3 getAttachPos(enum ActorLocation, float) const; + /*17*/ virtual class Vec3 getFiringPos() const; + /*18*/ virtual void setRot(class Vec2 const &); + /*19*/ virtual void move(class Vec3 const &); + /*20*/ virtual class Vec3 getInterpolatedRidingPosition(float) const; + /*21*/ virtual float getInterpolatedBodyRot(float) const; + /*22*/ virtual float getInterpolatedHeadRot(float) const; + /*23*/ virtual float getInterpolatedBodyYaw(float) const; + /*24*/ virtual float getYawSpeedInDegreesPerSecond() const; + /*25*/ virtual float getInterpolatedWalkAnimSpeed(float) const; + /*26*/ virtual class Vec3 getInterpolatedRidingOffset(float) const; + /*27*/ virtual void checkBlockCollisions(class AABB const &); + /*28*/ virtual void checkBlockCollisions(); + /*29*/ virtual bool isFireImmune() const; + /*30*/ virtual void __unk_vfn_30(); + /*31*/ virtual void blockedByShield(class ActorDamageSource const &, class Actor &); + /*32*/ virtual void moveRelative(float, float, float, float); + /*33*/ virtual void teleportTo(class Vec3 const &, bool, int, int, struct ActorUniqueID const &); + /*34*/ virtual bool tryTeleportTo(class Vec3 const &, bool, bool, int, int); + /*35*/ virtual void chorusFruitTeleport(class Vec3 &); + /*36*/ virtual void lerpTo(class Vec3 const &, class Vec2 const &, int); + /*37*/ virtual void lerpMotion(class Vec3 const &); + /*38*/ virtual std::unique_ptr getAddPacket(); + /*39*/ virtual void normalTick(); + /*40*/ virtual void baseTick(); + /*41*/ virtual void rideTick(); + /*42*/ virtual void positionRider(class Actor &, float); + /*43*/ virtual float getRidingHeight(); + /*44*/ virtual bool startRiding(class Actor &); + /*45*/ virtual void addRider(class Actor &); + /*46*/ virtual void flagRiderToRemove(class Actor &); + /*47*/ virtual std::string getExitTip(std::string const &, enum InputMode) const; + /*48*/ virtual bool intersects(class Vec3 const &, class Vec3 const &) const; + /*49*/ virtual bool isFree(class Vec3 const &, float); + /*50*/ virtual bool isFree(class Vec3 const &); + /*51*/ virtual bool isInWall() const; + /*52*/ virtual bool isInvisible() const; + /*53*/ virtual bool canShowNameTag() const; + /*54*/ virtual void __unk_vfn_54(); + /*55*/ virtual void setNameTagVisible(bool); + /*56*/ virtual std::string const & getNameTag() const; + /*57*/ virtual unsigned __int64 getNameTagAsHash() const; + /*58*/ virtual std::string getFormattedNameTag() const; + /*59*/ virtual void filterFormattedNameTag(class UIProfanityContext const &); + /*60*/ virtual void setNameTag(std::string const &); + /*61*/ virtual void __unk_vfn_61(); + /*62*/ virtual void setScoreTag(std::string const &); + /*63*/ virtual std::string const & getScoreTag() const; + /*64*/ virtual bool isInWater() const; + /*65*/ virtual bool hasEnteredWater() const; + /*66*/ virtual bool isImmersedInWater() const; + /*67*/ virtual bool isInWaterOrRain() const; + /*68*/ virtual bool isInLava() const; + /*69*/ virtual bool isUnderLiquid(enum MaterialType) const; + /*70*/ virtual bool isOverWater() const; + /*71*/ virtual void makeStuckInBlock(float); + /*72*/ virtual float getCameraOffset() const; + /*73*/ virtual float getShadowHeightOffs(); + /*74*/ virtual float getShadowRadius() const; + /*75*/ virtual class Vec3 getHeadLookVector(float); + /*76*/ virtual void __unk_vfn_76(); + /*77*/ virtual bool canSee(class Actor const &) const; + /*78*/ virtual bool canSee(class Vec3 const &) const; + /*79*/ virtual bool isSkyLit(float); + /*80*/ virtual float getBrightness(float) const; + /*81*/ virtual void __unk_vfn_81(); + /*82*/ virtual void playerTouch(class Player &); + /*83*/ virtual void onAboveBubbleColumn(bool); + /*84*/ virtual void onInsideBubbleColumn(bool); + /*85*/ virtual bool isImmobile() const; + /*86*/ virtual bool isSilent(); + /*87*/ virtual bool isPickable(); + /*88*/ virtual void __unk_vfn_88(); + /*89*/ virtual bool isSleeping() const; + /*90*/ virtual void __unk_vfn_90(); + /*91*/ virtual bool isSneaking() const; + /*92*/ virtual void setSneaking(bool); + /*93*/ virtual bool isBlocking() const; + /*94*/ virtual bool isDamageBlocked(class ActorDamageSource const &) const; + /*95*/ virtual bool isAlive() const; + /*96*/ virtual bool isOnFire() const; + /*97*/ virtual bool isOnHotBlock() const; + /*98*/ virtual void __unk_vfn_98(); + /*99*/ virtual bool isSurfaceMob() const; + /*100*/ virtual void __unk_vfn_100(); + /*101*/ virtual bool canAttack(class Actor *, bool) const; + /*102*/ virtual void setTarget(class Actor *); + /*103*/ virtual class Actor * findAttackTarget(); + /*104*/ virtual bool isValidTarget(class Actor *) const; + /*105*/ virtual bool attack(class Actor &); + /*106*/ virtual void performRangedAttack(class Actor &, float); + /*107*/ virtual void adjustDamageAmount(int &) const; + /*108*/ virtual int getEquipmentCount() const; + /*109*/ virtual void setOwner(struct ActorUniqueID); + /*110*/ virtual void setSitting(bool); + /*111*/ virtual void onTame(); + /*112*/ virtual void onFailedTame(); + /*113*/ virtual int getInventorySize() const; + /*114*/ virtual int getEquipSlots() const; + /*115*/ virtual int getChestSlots() const; + /*116*/ virtual void setStanding(bool); + /*117*/ virtual bool canPowerJump() const; + /*118*/ virtual void setCanPowerJump(bool); + /*119*/ virtual bool isJumping() const; + /*120*/ virtual bool isEnchanted() const; + /*121*/ virtual void __unk_vfn_121(); + /*122*/ virtual void rideLanded(class Vec3 const &, class Vec3 const &); + /*123*/ virtual bool shouldRender() const; + /*124*/ virtual bool isInvulnerableTo(class ActorDamageSource const &) const; + /*125*/ virtual enum ActorDamageCause getBlockDamageCause(class Block const &) const; + /*126*/ virtual void actuallyHurt(int, class ActorDamageSource const &, bool); + /*127*/ virtual void animateHurt(); + /*128*/ virtual bool doFireHurt(int); + /*129*/ virtual void onLightningHit(); + /*130*/ virtual void onBounceStarted(class BlockPos const &, class Block const &); + /*131*/ virtual void feed(int); + /*132*/ virtual void handleEntityEvent(enum ActorEvent, int); + /*133*/ virtual float getPickRadius(); + /*134*/ virtual class HashedString const & getActorRendererId() const; + /*135*/ virtual class ItemActor * spawnAtLocation(int, int); + /*136*/ virtual class ItemActor * spawnAtLocation(int, int, float); + /*137*/ virtual class ItemActor * spawnAtLocation(class Block const &, int); + /*138*/ virtual class ItemActor * spawnAtLocation(class Block const &, int, float); + /*139*/ virtual class ItemActor * spawnAtLocation(class ItemStack const &, float); + /*140*/ virtual void despawn(); + /*141*/ virtual void killed(class Actor &); + /*142*/ virtual void awardKillScore(class Actor &, int); + /*143*/ virtual void setArmor(enum ArmorSlot, class ItemStack const &); + /*144*/ virtual class ItemStack const & getArmor(enum ArmorSlot) const; + /*145*/ virtual enum ArmorMaterialType getArmorMaterialTypeInSlot(enum ArmorSlot) const; + /*146*/ virtual enum ArmorTextureType getArmorMaterialTextureTypeInSlot(enum ArmorSlot) const; + /*147*/ virtual float getArmorColorInSlot(enum ArmorSlot, int) const; + /*148*/ virtual void setEquippedSlot(enum ArmorSlot, int, int); + /*149*/ virtual void setEquippedSlot(enum ArmorSlot, class ItemStack const &); + /*150*/ virtual class ItemStack const & getCarriedItem() const; + /*151*/ virtual void setCarriedItem(class ItemStack const &); + /*152*/ virtual void setOffhandSlot(class ItemStack const &); + /*153*/ virtual class ItemStack const & getEquippedTotem() const; + /*154*/ virtual bool consumeTotem(); + /*155*/ virtual bool save(class CompoundTag &); + /*156*/ virtual void saveWithoutId(class CompoundTag &); + /*157*/ virtual bool load(class CompoundTag const &, class DataLoadHelper &); + /*158*/ virtual void loadLinks(class CompoundTag const &, std::vector &, class DataLoadHelper &); + /*159*/ virtual enum ActorType getEntityTypeId() const; + /*160*/ virtual class HashedString const & queryEntityRenderer() const; + /*161*/ virtual struct ActorUniqueID getSourceUniqueID() const; + /*162*/ virtual void setOnFire(int); + /*163*/ virtual class AABB getHandleWaterAABB() const; + /*164*/ virtual void handleInsidePortal(class BlockPos const &); + /*165*/ virtual int getPortalCooldown() const; + /*166*/ virtual int getPortalWaitTime() const; + /*167*/ virtual class AutomaticID getDimensionId() const; + /*168*/ virtual bool canChangeDimensions() const; + /*169*/ virtual void __unk_vfn_169(); + /*170*/ virtual void changeDimension(class AutomaticID, bool); + /*171*/ virtual struct ActorUniqueID getControllingPlayer() const; + /*172*/ virtual void checkFallDamage(float, bool); + /*173*/ virtual void causeFallDamage(float); + /*174*/ virtual void handleFallDistanceOnServer(float, bool); + /*175*/ virtual void playSynchronizedSound(enum LevelSoundEvent, class Vec3 const &, class Block const &, bool); + /*176*/ virtual void playSynchronizedSound(enum LevelSoundEvent, class Vec3 const &, int, bool); + /*177*/ virtual void onSynchedDataUpdate(int); + /*178*/ virtual bool canAddRider(class Actor &) const; + /*179*/ virtual bool canPickupItem(class ItemStack const &) const; + /*180*/ virtual bool canBePulledIntoVehicle() const; + /*181*/ virtual bool inCaravan() const; + /*182*/ virtual void __unk_vfn_182(); + /*183*/ virtual void tickLeash(); + /*184*/ virtual void sendMotionPacketIfNeeded(); + /*185*/ virtual bool canSynchronizeNewEntity() const; + /*186*/ virtual void stopRiding(bool, bool, bool); + /*187*/ virtual void startSwimming(); + /*188*/ virtual void stopSwimming(); + /*189*/ virtual void buildDebugInfo(std::string &) const; + /*190*/ virtual enum CommandPermissionLevel getCommandPermissionLevel() const; + /*191*/ virtual class AttributeInstance * getMutableAttribute(class Attribute const &); + /*192*/ virtual class AttributeInstance const & getAttribute(class Attribute const &) const; + /*193*/ virtual int getDeathTime() const; + /*194*/ virtual void heal(int); + /*195*/ virtual bool isInvertedHealAndHarm() const; + /*196*/ virtual bool canBeAffected(int) const; + /*197*/ virtual bool canBeAffected(class MobEffectInstance const &) const; + /*198*/ virtual bool canBeAffectedByArrow(class MobEffectInstance const &) const; + /*199*/ virtual void onEffectAdded(class MobEffectInstance &); + /*200*/ virtual void onEffectUpdated(class MobEffectInstance const &); + /*201*/ virtual void onEffectRemoved(class MobEffectInstance &); + /*202*/ virtual class AnimationComponent & getAnimationComponent(); + /*203*/ virtual void openContainerComponent(class Player &); + /*204*/ virtual void swing(); + /*205*/ virtual void useItem(class ItemStack &, enum ItemUseMethod, bool); + /*206*/ virtual void __unk_vfn_206(); + /*207*/ virtual void __unk_vfn_207(); + /*208*/ virtual void getDebugText(std::vector &); + /*209*/ virtual float getMapDecorationRotation() const; + /*210*/ virtual float getRiderYRotation(class Actor const &) const; + /*211*/ virtual float getYHeadRot() const; + /*212*/ virtual bool isWorldBuilder(); + /*213*/ virtual bool isCreative() const; + /*214*/ virtual bool isAdventure() const; + /*215*/ virtual bool add(class ItemStack &); + /*216*/ virtual bool drop(class ItemStack const &, bool); + /*217*/ virtual bool getInteraction(class Player &, class ActorInteraction &, class Vec3 const &); + /*218*/ virtual bool canDestroyBlock(class Block const &) const; + /*219*/ virtual void setAuxValue(int); + /*220*/ virtual void setSize(float, float); + /*221*/ virtual int getLifeSpan() const; + /*222*/ virtual void onOrphan(); + /*223*/ virtual void wobble(); + /*224*/ virtual bool wasHurt(); + /*225*/ virtual void startSpinAttack(); + /*226*/ virtual void stopSpinAttack(); + /*227*/ virtual void setDamageNearbyMobs(bool); + /*228*/ virtual void __unk_vfn_228(); + /*229*/ virtual void reloadLootTable(); + /*230*/ virtual void reloadLootTable(struct EquipmentTableDescription const *); + /*231*/ virtual void __unk_vfn_231(); + /*232*/ virtual void kill(); + /*233*/ virtual void die(class ActorDamageSource const &); + /*234*/ virtual bool shouldTick() const; + /*235*/ virtual void updateEntitySpecificMolangVariables(class RenderParams &); + /*236*/ virtual bool shouldTryMakeStepSound(); + /*237*/ virtual float getNextStep(float); + /*238*/ virtual void __unk_vfn_238(); + /*239*/ virtual void outOfWorld(); + /*240*/ virtual bool _hurt(class ActorDamageSource const &, int, bool, bool); + /*241*/ virtual void markHurt(); + /*242*/ virtual void readAdditionalSaveData(class CompoundTag const &, class DataLoadHelper &); + /*243*/ virtual void addAdditionalSaveData(class CompoundTag &); + /*244*/ virtual void _playStepSound(class BlockPos const &, class Block const &); + /*245*/ virtual void _playFlySound(class BlockPos const &, class Block const &); + /*246*/ virtual void __unk_vfn_246(); + /*247*/ virtual void checkInsideBlocks(float); + /*248*/ virtual void pushOutOfBlocks(class Vec3 const &); + /*249*/ virtual bool updateWaterState(); + /*250*/ virtual void doWaterSplashEffect(); + /*251*/ virtual void spawnTrailBubbles(); + /*252*/ virtual void updateInsideBlock(); + /*253*/ virtual class LootTable * getLootTable(); + /*254*/ virtual class LootTable * getDefaultLootTable(); + /*255*/ virtual void _removeRider(struct ActorUniqueID const &, bool, bool, bool); + /*256*/ virtual void _onSizeUpdated(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ACTOR + MCVAPI void _doAutoAttackOnTouch(class Actor &); + MCVAPI bool _makeFlySound() const; + MCVAPI bool breaksFallingBlocks() const; + MCVAPI bool canExistInPeaceful() const; + MCVAPI bool canMakeStepSound() const; + MCVAPI bool canSeeInvisible() const; + MCVAPI bool canSynchronizeNewEntity() const; + MCVAPI void changeDimension(class ChangeDimensionPacket const &); + MCVAPI bool getAlwaysShowNameTag() const; + MCVAPI float getDeletionDelayTimeSeconds() const; + MCVAPI int getOutputSignal() const; + MCVAPI bool hasOutputSignal(unsigned char) const; + MCVAPI bool interactPreventDefault(); + MCVAPI bool isCreativeModeAllowed(); + MCVAPI bool isFishable() const; + MCVAPI bool isLeashableType(); + MCVAPI bool isShootable(); + MCVAPI bool isTargetable() const; + MCVAPI void renderDebugServerState(class Options const &); + MCVAPI void rideJumped(); +#endif + MCAPI Actor(class ActorDefinitionGroup *, struct ActorDefinitionIdentifier const &); + MCAPI Actor(class Level &); + MCAPI class Vec3 _randomHeartPos(); + MCAPI void _sendDirtyActorData(); + MCAPI bool _tryPlaceAt(class Vec3 const &); + MCAPI void addEffect(class MobEffectInstance const &); + MCAPI bool addTag(std::string const &); + MCAPI int calculateAttackDamage(class Actor &); + MCAPI bool canBeginOrContinueClimbingLadder() const; + MCAPI bool canCurrentlySwim() const; + MCAPI void celebrateHunt(int, bool); + MCAPI void dropLeash(bool, bool); + MCAPI void dropTowards(class ItemStack const &, class Vec3); + MCAPI std::vector fetchNearbyActorsSorted(class Vec3 const &, enum ActorType); + MCAPI void forEachLeashedActor(class std::function)>); + MCAPI class BlockPos getBlockPosCurrentlyStandingOn(class Actor *) const; + MCAPI enum PaletteColor getColor() const; + MCAPI enum PaletteColor getColor2() const; + MCAPI int getControllingSeat(); + MCAPI class MobEffectInstance const * getEffect(class MobEffect const &) const; + MCAPI std::vector getLinks() const; + MCAPI int getMarkVariant() const; + MCAPI class ItemStack const & getOffhandSlot() const; + MCAPI class Mob * getOwner() const; + MCAPI struct ActorUniqueID const getOwnerId() const; + MCAPI std::unique_ptr getPersistingTradeOffers(); + MCAPI class Player * getPlayerOwner() const; + MCAPI class Random & getRandom() const; + MCAPI class Actor * getRideRoot() const; + MCAPI int getRiderIndex(class Actor &) const; + MCAPI class ActorRuntimeID getRuntimeID() const; + MCAPI int getSkinID() const; + MCAPI bool getStatusFlag(enum ActorFlags) const; + MCAPI int getStrength() const; + MCAPI int getStructuralIntegrity() const; + MCAPI class Actor * getTarget() const; + MCAPI class ITickingArea * getTickingArea(); + MCAPI class MerchantRecipeList * getTradeOffers(); + MCAPI class Player * getTradingPlayer() const; + MCAPI struct ActorUniqueID const & getUniqueID() const; + MCAPI int getVariant() const; + MCAPI class Vec3 getViewVector(float) const; + MCAPI bool hasEffect(class MobEffect const &) const; + MCAPI bool hasFamily(class HashedString const &) const; + MCAPI bool hasPlayerRider() const; + MCAPI bool hasRestriction() const; + MCAPI bool hasTag(std::string const &) const; + MCAPI bool hasTags() const; + MCAPI bool hasTickingArea() const; + MCAPI bool hurt(class ActorDamageSource const &, int, bool, bool); + MCAPI void initEntity(class EntityRegistryOwned &); + MCAPI bool isControlledByLocalInstance() const; + MCAPI bool isInRain() const; + MCAPI bool isInsideBorderBlock(float) const; + MCAPI bool isPacified() const; + MCAPI bool isRider(class Actor const &) const; + MCAPI bool isRiding() const; + MCAPI bool isUnderWaterfall() const; + MCAPI bool isWithinRestriction(class BlockPos const &) const; + MCAPI void loadEntityFlags(class CompoundTag const &, class DataLoadHelper &); + MCAPI void moveBBs(class Vec3 const &); + MCAPI void moveTo(class Vec3 const &, class Vec2 const &); + MCAPI bool onLadder() const; + MCAPI void pickUpItem(class ItemActor &, int); + MCAPI void playSound(enum LevelSoundEvent, class Vec3 const &, int); + MCAPI void positionAllRiders(); + MCAPI bool pullInEntity(class Actor &); + MCAPI void pushBackActionEventToActionQueue(class ActionEvent); + MCAPI void reload(); + MCAPI void removeAllEffects(); + MCAPI void removeAllRiders(bool, bool); + MCAPI void removeEffect(int); + MCAPI void removeEffectParticles(); + MCAPI void saveEntityFlags(class CompoundTag &); + MCAPI std::unique_ptr saveLinks() const; + MCAPI void savePersistingTrade(std::unique_ptr, int); + MCAPI void sendActorDefinitionEventTriggered(std::string const &); + MCAPI void sendMotionToServer(); + MCAPI void setBaseDefinition(struct ActorDefinitionIdentifier const &, bool, bool); + MCAPI void setCanClimb(bool); + MCAPI void setCanFly(bool); + MCAPI void setColor(enum PaletteColor); + MCAPI void setColor2(enum PaletteColor); + MCAPI void setHurtDir(int); + MCAPI void setHurtTime(int); + MCAPI void setInLove(class Actor *); + MCAPI void setInvisible(bool); + MCAPI void setJumpDuration(int); + MCAPI void setLeashHolder(struct ActorUniqueID); + MCAPI void setLimitedLife(int); + MCAPI void setMarkVariant(int); + MCAPI void setPersistent(); + MCAPI void setPreviousPosRot(class Vec3 const &, class Vec2 const &); + MCAPI void setSeatDescription(class Vec3 const &, struct SeatDescription const &); + MCAPI void setSkinID(int); + MCAPI bool setStatusFlag(enum ActorFlags, bool); + MCAPI void setStrength(int); + MCAPI void setStrengthMax(int); + MCAPI void setStructuralIntegrity(int); + MCAPI void setTradingPlayer(class Player *); + MCAPI void setVariant(int); + MCAPI bool shouldOrphan(class BlockSource &); + MCAPI void spawnBalloonPopParticles(); + MCAPI void spawnDeathParticles(); + MCAPI void spawnDustParticles(int); + MCAPI void spawnEatParticles(class ItemStack const &, int); + MCAPI void spawnTamingParticles(bool); + MCAPI void teleportRidersTo(class Vec3 const &, int, int); + MCAPI void testForCollidableMobs(class BlockSource &, class AABB const &, std::vector &); + MCAPI bool tick(class BlockSource &); + MCAPI void transferTickingArea(class Dimension &); + MCAPI void updateBBFromDescription(); + MCAPI void updateDescription(); + MCAPI void updateInBubbleColumnState(); + MCAPI void updateInvisibilityStatus(); + MCAPI void updateTickingData(); + MCAPI static float const DEFAULT_AMBIENT_SOUND_INTERVAL; + MCAPI static float const DEFAULT_AMBIENT_SOUND_INTERVAL_RANGE; + MCAPI static int const MAX_BYTE_CHARGE_AMOUNT; + MCAPI static std::string const RIDING_TAG; + MCAPI static void checkEntityOnewayCollision(class BlockSource &, class BlockPos const &); + +//protected: + MCAPI bool _damageSensorComponentHurt(int &, int, class ActorDamageSource const &); + MCAPI class Block const & _getBlockWhenClimbing() const; + MCAPI void _playMovementSound(bool); + MCAPI void _refreshAABB(); + MCAPI void _setNetherPortalData(class AutomaticID, class AutomaticID, int); + +//private: + MCAPI void _exitRide(class Actor const &, float); + MCAPI void _initializeLeashRopeSystem(); + MCAPI void _manageRiders(class BlockSource &); + MCAPI void _moveHitboxTo(class Vec3 const &); + MCAPI void _sendLinkPacket(struct ActorLink const &) const; + MCAPI void _serializeComponents(class CompoundTag &); + MCAPI void _spawnPukeParticles(); + MCAPI void _spawnTreasureHuntingParticles(); + MCAPI void _tryPlantWitherRose(); + MCAPI void _updateComposition(bool); + MCAPI void _updateOwnerChunk(); + +protected: + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ActorAnimationController.hpp b/LiteLoader/Header/MC/ActorAnimationController.hpp new file mode 100644 index 0000000..d411413 --- /dev/null +++ b/LiteLoader/Header/MC/ActorAnimationController.hpp @@ -0,0 +1,29 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ActorAnimationController { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ACTORANIMATIONCONTROLLER +public: + class ActorAnimationController& operator=(class ActorAnimationController const &) = delete; + ActorAnimationController(class ActorAnimationController const &) = delete; + ActorAnimationController() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ACTORANIMATIONCONTROLLER +#endif + MCAPI class std::shared_ptr & addState(class HashedString const &); + MCAPI unsigned __int64 findStateIndex(std::string const &, bool, unsigned __int64) const; + MCAPI void resolveTransitionStateIndices(); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ActorAnimationControllerGroup.hpp b/LiteLoader/Header/MC/ActorAnimationControllerGroup.hpp new file mode 100644 index 0000000..9823d49 --- /dev/null +++ b/LiteLoader/Header/MC/ActorAnimationControllerGroup.hpp @@ -0,0 +1,40 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Core.hpp" +#include "JsonUtil.hpp" +#include "Json.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ActorAnimationControllerGroup { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ACTORANIMATIONCONTROLLERGROUP +public: + class ActorAnimationControllerGroup& operator=(class ActorAnimationControllerGroup const &) = delete; + ActorAnimationControllerGroup(class ActorAnimationControllerGroup const &) = delete; + ActorAnimationControllerGroup() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ACTORANIMATIONCONTROLLERGROUP +#endif + MCAPI class std::shared_ptr getActorAnimationControllerInfo(class HashedString const &); + MCAPI void loadActorAnimationControllersSync(class ResourcePackManager &); + +//private: + MCAPI void _loadActorAnimationController(std::string const &, class Core::Path const &, enum CurrentCmdVersion); + MCAPI static class std::shared_ptr> _buildAnimationControllerFileSchema_v1_10(); + MCAPI static class std::shared_ptr> _buildAnimationControllerFileSchema_v1_8(); + MCAPI static class std::mutex & _getActorAnimationControllerLock(); + MCAPI static bool upgrade_v1_8_to_v1_10(class Json::Value &); + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ActorAnimationControllerPlayer.hpp b/LiteLoader/Header/MC/ActorAnimationControllerPlayer.hpp new file mode 100644 index 0000000..c1bfd91 --- /dev/null +++ b/LiteLoader/Header/MC/ActorAnimationControllerPlayer.hpp @@ -0,0 +1,38 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ActorAnimationControllerPlayer { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ACTORANIMATIONCONTROLLERPLAYER +public: + class ActorAnimationControllerPlayer& operator=(class ActorAnimationControllerPlayer const &) = delete; + ActorAnimationControllerPlayer(class ActorAnimationControllerPlayer const &) = delete; + ActorAnimationControllerPlayer() = delete; +#endif + +public: + /*0*/ virtual ~ActorAnimationControllerPlayer(); + /*1*/ virtual void applyToPose(class RenderParams &, class std::unordered_map, struct std::hash, struct std::equal_to, class std::allocator>>> &, float); + /*2*/ virtual void resetAnimation(); + /*3*/ virtual void __unk_vfn_3(); + /*4*/ virtual void bindParticleEffects(class std::unordered_map, struct std::equal_to, class std::allocator>> const &); + /*5*/ virtual void bindSoundEffects(class std::unordered_map, struct std::equal_to, class std::allocator>> const &); + /*6*/ virtual bool hasAnimationFinished() const; + /*7*/ virtual class ActorAnimationPlayer * findAnimation(class HashedString const &); + /*8*/ virtual enum ActorAnimationType getAnimationType() const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ACTORANIMATIONCONTROLLERPLAYER +#endif + MCAPI ActorAnimationControllerPlayer(class HashedString const &, class ActorAnimationControllerPtr const &, class AnimationComponent &, class ExpressionNode const &); + MCAPI void applyStateAnimationToPose(class RenderParams &, class std::unordered_map, struct std::hash, struct std::equal_to, class std::allocator>>> &, float); + MCAPI void blendViaShortestPath(class std::unordered_map, struct std::hash, struct std::equal_to, class std::allocator>>> &, class std::unordered_map, struct std::hash, struct std::equal_to, class std::allocator>>> &, class std::unordered_map, struct std::hash, struct std::equal_to, class std::allocator>>> &, float, float); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ActorAnimationControllerPtr.hpp b/LiteLoader/Header/MC/ActorAnimationControllerPtr.hpp new file mode 100644 index 0000000..c6e5939 --- /dev/null +++ b/LiteLoader/Header/MC/ActorAnimationControllerPtr.hpp @@ -0,0 +1,28 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ActorAnimationControllerPtr { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ACTORANIMATIONCONTROLLERPTR +public: + class ActorAnimationControllerPtr& operator=(class ActorAnimationControllerPtr const &) = delete; + ActorAnimationControllerPtr(class ActorAnimationControllerPtr const &) = delete; + ActorAnimationControllerPtr() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ACTORANIMATIONCONTROLLERPTR +#endif + MCAPI ~ActorAnimationControllerPtr(); + MCAPI static class ActorAnimationControllerPtr const NONE; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ActorAnimationControllerState.hpp b/LiteLoader/Header/MC/ActorAnimationControllerState.hpp new file mode 100644 index 0000000..26270be --- /dev/null +++ b/LiteLoader/Header/MC/ActorAnimationControllerState.hpp @@ -0,0 +1,29 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ActorAnimationControllerState { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ACTORANIMATIONCONTROLLERSTATE +public: + class ActorAnimationControllerState& operator=(class ActorAnimationControllerState const &) = delete; + ActorAnimationControllerState(class ActorAnimationControllerState const &) = delete; + ActorAnimationControllerState() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ACTORANIMATIONCONTROLLERSTATE +#endif + MCAPI void setBlendTransitionTime(float); + MCAPI void setVariables(class RenderParams &) const; + MCAPI ~ActorAnimationControllerState(); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ActorAnimationControllerStatePlayer.hpp b/LiteLoader/Header/MC/ActorAnimationControllerStatePlayer.hpp new file mode 100644 index 0000000..13c56b6 --- /dev/null +++ b/LiteLoader/Header/MC/ActorAnimationControllerStatePlayer.hpp @@ -0,0 +1,38 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ActorAnimationControllerStatePlayer { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ACTORANIMATIONCONTROLLERSTATEPLAYER +public: + class ActorAnimationControllerStatePlayer& operator=(class ActorAnimationControllerStatePlayer const &) = delete; + ActorAnimationControllerStatePlayer(class ActorAnimationControllerStatePlayer const &) = delete; + ActorAnimationControllerStatePlayer() = delete; +#endif + +public: + /*0*/ virtual ~ActorAnimationControllerStatePlayer(); + /*1*/ virtual void applyToPose(class RenderParams &, class std::unordered_map, struct std::hash, struct std::equal_to, class std::allocator>>> &, float); + /*2*/ virtual void resetAnimation(); + /*3*/ virtual void __unk_vfn_3(); + /*4*/ virtual void __unk_vfn_4(); + /*5*/ virtual void __unk_vfn_5(); + /*6*/ virtual bool hasAnimationFinished() const; + /*7*/ virtual class ActorAnimationPlayer * findAnimation(class HashedString const &); + /*8*/ virtual enum ActorAnimationType getAnimationType() const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ACTORANIMATIONCONTROLLERSTATEPLAYER + MCVAPI void bindParticleEffects(class std::unordered_map, struct std::equal_to, class std::allocator>> const &); + MCVAPI void bindSoundEffects(class std::unordered_map, struct std::equal_to, class std::allocator>> const &); +#endif + MCAPI ActorAnimationControllerStatePlayer(class HashedString const &, class ActorAnimationControllerPlayer &, class std::shared_ptr, class AnimationComponent &, class ExpressionNode const &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ActorAnimationEvent.hpp b/LiteLoader/Header/MC/ActorAnimationEvent.hpp new file mode 100644 index 0000000..f0c5650 --- /dev/null +++ b/LiteLoader/Header/MC/ActorAnimationEvent.hpp @@ -0,0 +1,31 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ActorAnimationEvent { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ACTORANIMATIONEVENT +public: + class ActorAnimationEvent& operator=(class ActorAnimationEvent const &) = delete; + ActorAnimationEvent(class ActorAnimationEvent const &) = delete; + ActorAnimationEvent() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ACTORANIMATIONEVENT +#endif + MCAPI ActorAnimationEvent(float, std::string const &, enum CurrentCmdVersion); + MCAPI ActorAnimationEvent(class ActorAnimationEvent &&); + MCAPI void fire(class RenderParams &, class Actor *) const; + MCAPI class ActorAnimationEvent & operator=(class ActorAnimationEvent &&); + MCAPI ~ActorAnimationEvent(); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ActorAnimationGroup.hpp b/LiteLoader/Header/MC/ActorAnimationGroup.hpp new file mode 100644 index 0000000..549ba54 --- /dev/null +++ b/LiteLoader/Header/MC/ActorAnimationGroup.hpp @@ -0,0 +1,30 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Core.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ActorAnimationGroup { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ACTORANIMATIONGROUP +public: + class ActorAnimationGroup& operator=(class ActorAnimationGroup const &) = delete; + ActorAnimationGroup(class ActorAnimationGroup const &) = delete; + ActorAnimationGroup() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ACTORANIMATIONGROUP +#endif + MCAPI class std::shared_ptr getActorAnimationInfo(class HashedString const &); + MCAPI void loadActorAnimation(std::string const &, class Core::Path const &, class PackStats &, enum CurrentCmdVersion, bool); + MCAPI void loadActorAnimationsSync(class ResourcePackManager &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ActorAnimationPlayer.hpp b/LiteLoader/Header/MC/ActorAnimationPlayer.hpp new file mode 100644 index 0000000..4b55dbc --- /dev/null +++ b/LiteLoader/Header/MC/ActorAnimationPlayer.hpp @@ -0,0 +1,29 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ActorAnimationPlayer { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ACTORANIMATIONPLAYER +public: + class ActorAnimationPlayer& operator=(class ActorAnimationPlayer const &) = delete; + ActorAnimationPlayer(class ActorAnimationPlayer const &) = delete; + ActorAnimationPlayer() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ACTORANIMATIONPLAYER + MCVAPI void bindParticleEffects(class std::unordered_map, struct std::equal_to, class std::allocator>> const &); + MCVAPI void bindSoundEffects(class std::unordered_map, struct std::equal_to, class std::allocator>> const &); + MCVAPI void buildBoneToPartMapping(class AnimationComponent &); +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ActorBlock.hpp b/LiteLoader/Header/MC/ActorBlock.hpp new file mode 100644 index 0000000..6e8067e --- /dev/null +++ b/LiteLoader/Header/MC/ActorBlock.hpp @@ -0,0 +1,32 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ActorBlock { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ACTORBLOCK +public: + class ActorBlock& operator=(class ActorBlock const &) = delete; + ActorBlock(class ActorBlock const &) = delete; + ActorBlock() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ACTORBLOCK + MCVAPI bool canBeSilkTouched() const; + MCVAPI class ItemInstance getEntityResourceItem(class Random &, class BlockActor const &, int) const; + MCVAPI void neighborChanged(class BlockSource &, class BlockPos const &, class BlockPos const &) const; + MCVAPI bool playerWillDestroy(class Player &, class BlockPos const &, class Block const &) const; + MCVAPI void spawnResources(class BlockSource &, class BlockPos const &, class Block const &, std::vector *, float, int, bool) const; + MCVAPI void triggerEvent(class BlockSource &, class BlockPos const &, int, int) const; +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ActorClassTree.hpp b/LiteLoader/Header/MC/ActorClassTree.hpp new file mode 100644 index 0000000..13692f9 --- /dev/null +++ b/LiteLoader/Header/MC/ActorClassTree.hpp @@ -0,0 +1,28 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ActorClassTree { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ACTORCLASSTREE +public: + class ActorClassTree& operator=(class ActorClassTree const &) = delete; + ActorClassTree(class ActorClassTree const &) = delete; + ActorClassTree() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ACTORCLASSTREE +#endif + MCAPI static enum ActorType getEntityTypeIdLegacy(enum ActorType); + MCAPI static bool isInstanceOf(class Actor const &, enum ActorType); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ActorCommandOrigin.hpp b/LiteLoader/Header/MC/ActorCommandOrigin.hpp new file mode 100644 index 0000000..f69ab38 --- /dev/null +++ b/LiteLoader/Header/MC/ActorCommandOrigin.hpp @@ -0,0 +1,41 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Json.hpp" +#include "CommandOrigin.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ActorCommandOrigin : public CommandOrigin { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ACTORCOMMANDORIGIN +public: + class ActorCommandOrigin& operator=(class ActorCommandOrigin const &) = delete; + ActorCommandOrigin(class ActorCommandOrigin const &) = delete; + ActorCommandOrigin() = delete; +#endif + +public: + /*0*/ virtual ~ActorCommandOrigin(); + /*1*/ virtual std::string const & getRequestId() const; + /*2*/ virtual std::string getName() const; + /*3*/ virtual class BlockPos getBlockPosition() const; + /*4*/ virtual class Vec3 getWorldPosition() const; + /*5*/ virtual class Level * getLevel() const; + /*6*/ virtual class Dimension * getDimension() const; + /*7*/ virtual class Actor * getEntity() const; + /*8*/ virtual enum CommandPermissionLevel getPermissionsLevel() const; + /*9*/ virtual std::unique_ptr clone() const; + /*17*/ virtual bool isSelectorExpansionAllowed() const; + /*21*/ virtual enum CommandOriginType getOriginType() const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ACTORCOMMANDORIGIN +#endif + MCAPI ActorCommandOrigin(class Actor &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ActorComponentFactory.hpp b/LiteLoader/Header/MC/ActorComponentFactory.hpp new file mode 100644 index 0000000..8a00ba8 --- /dev/null +++ b/LiteLoader/Header/MC/ActorComponentFactory.hpp @@ -0,0 +1,32 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ActorComponentFactory { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ACTORCOMPONENTFACTORY +public: + class ActorComponentFactory& operator=(class ActorComponentFactory const &) = delete; + ActorComponentFactory(class ActorComponentFactory const &) = delete; + ActorComponentFactory() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ACTORCOMPONENTFACTORY +#endif + MCAPI ~ActorComponentFactory(); + +//private: + MCAPI void _initialize(); + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ActorDamageByActorSource.hpp b/LiteLoader/Header/MC/ActorDamageByActorSource.hpp new file mode 100644 index 0000000..15a7dd6 --- /dev/null +++ b/LiteLoader/Header/MC/ActorDamageByActorSource.hpp @@ -0,0 +1,39 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "ActorDamageSource.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ActorDamageByActorSource : public ActorDamageSource { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ACTORDAMAGEBYACTORSOURCE +public: + class ActorDamageByActorSource& operator=(class ActorDamageByActorSource const &) = delete; + ActorDamageByActorSource(class ActorDamageByActorSource const &) = delete; + ActorDamageByActorSource() = delete; +#endif + +public: + /*0*/ virtual ~ActorDamageByActorSource(); + /*1*/ virtual bool isEntitySource() const; + /*5*/ virtual struct std::pair> getDeathMessage(std::string, class Actor *) const; + /*6*/ virtual bool getIsCreative() const; + /*7*/ virtual bool getIsWorldBuilder() const; + /*8*/ virtual struct ActorUniqueID getEntityUniqueID() const; + /*9*/ virtual enum ActorType getEntityType() const; + /*10*/ virtual enum ActorCategory getEntityCategories() const; + /*13*/ virtual struct ActorUniqueID getDamagingEntityUniqueID() const; + /*14*/ virtual enum ActorType getDamagingEntityType() const; + /*16*/ virtual std::unique_ptr clone() const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ACTORDAMAGEBYACTORSOURCE +#endif + MCAPI ActorDamageByActorSource(class Actor &, enum ActorDamageCause); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ActorDamageByBlockSource.hpp b/LiteLoader/Header/MC/ActorDamageByBlockSource.hpp new file mode 100644 index 0000000..d215d52 --- /dev/null +++ b/LiteLoader/Header/MC/ActorDamageByBlockSource.hpp @@ -0,0 +1,31 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "ActorDamageSource.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ActorDamageByBlockSource : public ActorDamageSource { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ACTORDAMAGEBYBLOCKSOURCE +public: + class ActorDamageByBlockSource& operator=(class ActorDamageByBlockSource const &) = delete; + ActorDamageByBlockSource(class ActorDamageByBlockSource const &) = delete; + ActorDamageByBlockSource() = delete; +#endif + +public: + /*0*/ virtual ~ActorDamageByBlockSource(); + /*3*/ virtual bool isBlockSource() const; + /*5*/ virtual struct std::pair> getDeathMessage(std::string, class Actor *) const; + /*16*/ virtual std::unique_ptr clone() const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ACTORDAMAGEBYBLOCKSOURCE +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ActorDamageByChildActorSource.hpp b/LiteLoader/Header/MC/ActorDamageByChildActorSource.hpp new file mode 100644 index 0000000..fe49d20 --- /dev/null +++ b/LiteLoader/Header/MC/ActorDamageByChildActorSource.hpp @@ -0,0 +1,37 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "ActorDamageByActorSource.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ActorDamageByChildActorSource : public ActorDamageByActorSource { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ACTORDAMAGEBYCHILDACTORSOURCE +public: + class ActorDamageByChildActorSource& operator=(class ActorDamageByChildActorSource const &) = delete; + ActorDamageByChildActorSource(class ActorDamageByChildActorSource const &) = delete; + ActorDamageByChildActorSource() = delete; +#endif + +public: + /*0*/ virtual ~ActorDamageByChildActorSource(); + /*2*/ virtual bool isChildEntitySource() const; + /*5*/ virtual struct std::pair> getDeathMessage(std::string, class Actor *) const; + /*11*/ virtual bool getDamagingEntityIsCreative() const; + /*12*/ virtual bool getDamagingEntityIsWorldBuilder() const; + /*13*/ virtual struct ActorUniqueID getDamagingEntityUniqueID() const; + /*14*/ virtual enum ActorType getDamagingEntityType() const; + /*15*/ virtual enum ActorCategory getDamagingEntityCategories() const; + /*16*/ virtual std::unique_ptr clone() const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ACTORDAMAGEBYCHILDACTORSOURCE +#endif + MCAPI ActorDamageByChildActorSource(class Actor &, class Actor &, enum ActorDamageCause); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ActorDamageSource.hpp b/LiteLoader/Header/MC/ActorDamageSource.hpp new file mode 100644 index 0000000..810ca16 --- /dev/null +++ b/LiteLoader/Header/MC/ActorDamageSource.hpp @@ -0,0 +1,45 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ActorDamageSource { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ACTORDAMAGESOURCE +public: + class ActorDamageSource& operator=(class ActorDamageSource const &) = delete; + ActorDamageSource(class ActorDamageSource const &) = delete; + ActorDamageSource() = delete; +#endif + +public: + /*0*/ virtual ~ActorDamageSource(); + /*1*/ virtual bool isEntitySource() const; + /*2*/ virtual bool isChildEntitySource() const; + /*3*/ virtual bool isBlockSource() const; + /*4*/ virtual bool isFire() const; + /*5*/ virtual struct std::pair> getDeathMessage(std::string, class Actor *) const; + /*6*/ virtual bool getIsCreative() const; + /*7*/ virtual bool getIsWorldBuilder() const; + /*8*/ virtual struct ActorUniqueID getEntityUniqueID() const; + /*9*/ virtual enum ActorType getEntityType() const; + /*10*/ virtual enum ActorCategory getEntityCategories() const; + /*11*/ virtual bool getDamagingEntityIsCreative() const; + /*12*/ virtual bool getDamagingEntityIsWorldBuilder() const; + /*13*/ virtual struct ActorUniqueID getDamagingEntityUniqueID() const; + /*14*/ virtual enum ActorType getDamagingEntityType() const; + /*15*/ virtual enum ActorCategory getDamagingEntityCategories() const; + /*16*/ virtual std::unique_ptr clone() const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ACTORDAMAGESOURCE +#endif + MCAPI static enum ActorDamageCause lookupCause(std::string const &); + MCAPI static std::string const & lookupCauseName(enum ActorDamageCause); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ActorDefinition.hpp b/LiteLoader/Header/MC/ActorDefinition.hpp new file mode 100644 index 0000000..385134d --- /dev/null +++ b/LiteLoader/Header/MC/ActorDefinition.hpp @@ -0,0 +1,33 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Json.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ActorDefinition { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ACTORDEFINITION +public: + class ActorDefinition& operator=(class ActorDefinition const &) = delete; + ActorDefinition(class ActorDefinition const &) = delete; + ActorDefinition() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ACTORDEFINITION +#endif + MCAPI ActorDefinition(std::string const &); + MCAPI void parse(class Json::Value, class ActorDefinitionDescriptor &, class ActorFactory &, class SemVersion); + MCAPI void parseAttributes(class Json::Value &, class ActorDefinitionDescriptor &); + MCAPI void parseEntityDescription(class Json::Value &); + MCAPI void parseEvents(class Json::Value const &); + MCAPI ~ActorDefinition(); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ActorDefinitionAttribute.hpp b/LiteLoader/Header/MC/ActorDefinitionAttribute.hpp new file mode 100644 index 0000000..ae13be2 --- /dev/null +++ b/LiteLoader/Header/MC/ActorDefinitionAttribute.hpp @@ -0,0 +1,27 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ActorDefinitionAttribute { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ACTORDEFINITIONATTRIBUTE +public: + class ActorDefinitionAttribute& operator=(class ActorDefinitionAttribute const &) = delete; + ActorDefinitionAttribute(class ActorDefinitionAttribute const &) = delete; + ActorDefinitionAttribute() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ACTORDEFINITIONATTRIBUTE +#endif + MCAPI ~ActorDefinitionAttribute(); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ActorDefinitionDescriptor.hpp b/LiteLoader/Header/MC/ActorDefinitionDescriptor.hpp new file mode 100644 index 0000000..1222960 --- /dev/null +++ b/LiteLoader/Header/MC/ActorDefinitionDescriptor.hpp @@ -0,0 +1,42 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ActorDefinitionDescriptor { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ACTORDEFINITIONDESCRIPTOR +public: + ActorDefinitionDescriptor(class ActorDefinitionDescriptor const &) = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ACTORDEFINITIONDESCRIPTOR +#endif + MCAPI ActorDefinitionDescriptor(); + MCAPI ActorDefinitionDescriptor(class ActorDefinitionDescriptor &&); + MCAPI class ActorDefinitionDescriptor & combine(class ActorDefinitionDescriptor const &); + MCAPI bool contains(class ActorDefinitionDescriptor const &) const; + MCAPI void executeEvent(class Actor &, std::string const &, class VariantParameterList const &); + MCAPI bool executeTrigger(class Actor &, class DefinitionTrigger const &, class VariantParameterList const &); + MCAPI void forceExecuteTrigger(class Actor &, class DefinitionTrigger const &, class VariantParameterList const &); + MCAPI class ActorDefinitionDescriptor & operator=(class ActorDefinitionDescriptor &&); + MCAPI class ActorDefinitionDescriptor & operator=(class ActorDefinitionDescriptor const &); + MCAPI bool overlaps(class ActorDefinitionDescriptor const &) const; + MCAPI class ActorDefinitionDescriptor & subtract(class ActorDefinitionDescriptor const &); + MCAPI ~ActorDefinitionDescriptor(); + +//private: + MCAPI void _executeEvent(class Actor &, std::string const &, std::vector &, class VariantParameterList const &); + MCAPI void _forceExecuteTrigger(class Actor &, class DefinitionTrigger const &, std::vector &, class VariantParameterList const &); + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ActorDefinitionDiffList.hpp b/LiteLoader/Header/MC/ActorDefinitionDiffList.hpp new file mode 100644 index 0000000..fcdcf7d --- /dev/null +++ b/LiteLoader/Header/MC/ActorDefinitionDiffList.hpp @@ -0,0 +1,36 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ActorDefinitionDiffList { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ACTORDEFINITIONDIFFLIST +public: + class ActorDefinitionDiffList& operator=(class ActorDefinitionDiffList const &) = delete; + ActorDefinitionDiffList(class ActorDefinitionDiffList const &) = delete; + ActorDefinitionDiffList() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ACTORDEFINITIONDIFFLIST +#endif + MCAPI void addDefinition(std::string const &); + MCAPI void clearChangedDescription(); + MCAPI std::string definitionListToString(std::string const &) const; + MCAPI std::unique_ptr getDescription(bool); + MCAPI void removeDefinition(std::string const &); + +//private: + MCAPI void _updateStack(); + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ActorDefinitionEventSubcomponent.hpp b/LiteLoader/Header/MC/ActorDefinitionEventSubcomponent.hpp new file mode 100644 index 0000000..ee7c8ec --- /dev/null +++ b/LiteLoader/Header/MC/ActorDefinitionEventSubcomponent.hpp @@ -0,0 +1,31 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Json.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ActorDefinitionEventSubcomponent { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ACTORDEFINITIONEVENTSUBCOMPONENT +public: + class ActorDefinitionEventSubcomponent& operator=(class ActorDefinitionEventSubcomponent const &) = delete; + ActorDefinitionEventSubcomponent(class ActorDefinitionEventSubcomponent const &) = delete; + ActorDefinitionEventSubcomponent() = delete; +#endif + +public: + /*0*/ virtual ~ActorDefinitionEventSubcomponent(); + /*1*/ virtual void readfromJSON(class Json::Value &); + /*2*/ virtual void writetoJSON(class Json::Value &) const; + /*3*/ virtual void doOnHitEffect(class Actor &, class ProjectileComponent &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ACTORDEFINITIONEVENTSUBCOMPONENT +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ActorDefinitionGroup.hpp b/LiteLoader/Header/MC/ActorDefinitionGroup.hpp new file mode 100644 index 0000000..a49ef5f --- /dev/null +++ b/LiteLoader/Header/MC/ActorDefinitionGroup.hpp @@ -0,0 +1,48 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Core.hpp" +#include "Json.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ActorDefinitionGroup { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ACTORDEFINITIONGROUP +public: + class ActorDefinitionGroup& operator=(class ActorDefinitionGroup const &) = delete; + ActorDefinitionGroup(class ActorDefinitionGroup const &) = delete; + ActorDefinitionGroup() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ACTORDEFINITIONGROUP +#endif + MCAPI class ActorDefinitionPtr tryGetDefinition(std::string const &); + MCAPI class ActorDefinitionPtr tryGetDefinitionGroup(std::string const &, std::string const &); + MCAPI static bool loadActorDefinitionIdentifier(class Json::Value const &, class SemVersion const &, std::string &); + MCAPI static bool loadActorDefinitionRuntimeIdentifier(class Json::Value const &, class SemVersion const &, std::string &); + MCAPI static bool tryReadEntityResourceFile(class PackInstance &, class Core::Path const &, class Json::Value &); + +//protected: + MCAPI void _addRef(class ActorDefinitionPtr &); + MCAPI void _removeRef(class ActorDefinitionPtr &); + +//private: + MCAPI void _getResources(class Level &); + MCAPI struct ActorDefinitionGroup::LoadActorResult _loadActorDefinition(class Level &, class Json::Value &, class std::unordered_set, struct std::equal_to, class std::allocator> &); + MCAPI bool _loadDefinitionFromJSON(class SemVersion &, class Json::Value &, std::string const &, class Level &); + MCAPI void _loadTemplates(class Level &, std::string const &, class Json::Value, class SemVersion const &); + MCAPI void _setupAnimationResourceDefinitionMap(class ActorDefinition &, class Level &); + +protected: + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ActorDefinitionIdentifier.hpp b/LiteLoader/Header/MC/ActorDefinitionIdentifier.hpp new file mode 100644 index 0000000..8ecf174 --- /dev/null +++ b/LiteLoader/Header/MC/ActorDefinitionIdentifier.hpp @@ -0,0 +1,39 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +struct ActorDefinitionIdentifier { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ACTORDEFINITIONIDENTIFIER +public: + ActorDefinitionIdentifier() = delete; +#endif +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ACTORDEFINITIONIDENTIFIER +#endif + MCAPI ActorDefinitionIdentifier(std::string, std::string, std::string); + MCAPI ActorDefinitionIdentifier(struct ActorDefinitionIdentifier const &); + MCAPI ActorDefinitionIdentifier(struct ActorDefinitionIdentifier &&); + MCAPI ActorDefinitionIdentifier(std::string const &); + MCAPI ActorDefinitionIdentifier(enum ActorType); + MCAPI void initialize(std::string const &, std::string const &, std::string const &); + MCAPI struct ActorDefinitionIdentifier & operator=(struct ActorDefinitionIdentifier const &); + MCAPI bool operator==(struct ActorDefinitionIdentifier const &) const; + MCAPI ~ActorDefinitionIdentifier(); + MCAPI static std::string const EVENT_BEGIN; + MCAPI static std::string const EVENT_END; + MCAPI static std::string const NAMESPACE_SEPARATOR; + +//private: + MCAPI void _initialize(); + MCAPI static void _extractIdentifier(std::string const &, struct ActorDefinitionIdentifier &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ActorDefinitionPtr.hpp b/LiteLoader/Header/MC/ActorDefinitionPtr.hpp new file mode 100644 index 0000000..dc2849b --- /dev/null +++ b/LiteLoader/Header/MC/ActorDefinitionPtr.hpp @@ -0,0 +1,28 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ActorDefinitionPtr { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ACTORDEFINITIONPTR +public: + class ActorDefinitionPtr& operator=(class ActorDefinitionPtr const &) = delete; + ActorDefinitionPtr(class ActorDefinitionPtr const &) = delete; + ActorDefinitionPtr() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ACTORDEFINITIONPTR +#endif + MCAPI ~ActorDefinitionPtr(); + MCAPI static class ActorDefinitionPtr const NONE; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ActorEventCoordinator.hpp b/LiteLoader/Header/MC/ActorEventCoordinator.hpp new file mode 100644 index 0000000..da32284 --- /dev/null +++ b/LiteLoader/Header/MC/ActorEventCoordinator.hpp @@ -0,0 +1,30 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ActorEventCoordinator { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ACTOREVENTCOORDINATOR +public: + class ActorEventCoordinator& operator=(class ActorEventCoordinator const &) = delete; + ActorEventCoordinator(class ActorEventCoordinator const &) = delete; + ActorEventCoordinator() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ACTOREVENTCOORDINATOR +#endif + MCAPI void sendActorAcquiredItem(class Actor &, class ItemInstance const &, unsigned int, enum ItemAcquisitionMethod, class Actor *); + MCAPI void sendActorCarriedItemChanged(class Actor &, class ItemInstance const &, class ItemInstance const &, enum HandSlot); + MCAPI void sendActorDroppedItem(class Actor &, class ItemInstance const &); + MCAPI void sendActorUseItem(class Actor &, class ItemInstance const &, enum ItemUseMethod); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ActorEventListener.hpp b/LiteLoader/Header/MC/ActorEventListener.hpp new file mode 100644 index 0000000..e83fd0e --- /dev/null +++ b/LiteLoader/Header/MC/ActorEventListener.hpp @@ -0,0 +1,49 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ActorEventListener { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ACTOREVENTLISTENER +public: + class ActorEventListener& operator=(class ActorEventListener const &) = delete; + ActorEventListener(class ActorEventListener const &) = delete; + ActorEventListener() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ACTOREVENTLISTENER + MCVAPI enum EventResult onActorAcquiredItem(class Actor &, class ItemInstance const &, unsigned int, enum ItemAcquisitionMethod, class Actor *); + MCVAPI enum EventResult onActorAttack(class Actor &, class Actor &); + MCVAPI enum EventResult onActorAttackedActor(class Actor &, class Actor &); + MCVAPI enum EventResult onActorCarriedItemChanged(class Actor &, class ItemInstance const &, class ItemInstance const &, enum HandSlot); + MCVAPI enum EventResult onActorCreated(class Actor &); + MCVAPI enum EventResult onActorDeath(class Actor &, class ActorDamageSource const &); + MCVAPI enum EventResult onActorDefinitionEventTriggered(class Actor &, std::string const &); + MCVAPI enum EventResult onActorDroppedItem(class Actor &, class ItemInstance const &); + MCVAPI enum EventResult onActorEquippedArmor(class Actor &, class ItemInstance const &, enum ArmorSlot); + MCVAPI enum EventResult onActorHurt(class Actor &, class ActorDamageSource const &, int, int); + MCVAPI enum EventResult onActorMobInteraction(class Actor &, enum MinecraftEventing::InteractionType, enum ActorType); + MCVAPI enum EventResult onActorMove(class Actor &, class Vec3 const &); + MCVAPI enum EventResult onActorPlacedItem(class Actor &, class ItemInstance const &); + MCVAPI enum EventResult onActorRemoved(class Actor &); + MCVAPI enum EventResult onActorSneakChanged(class Actor &, bool); + MCVAPI enum EventResult onActorStartRiding(class Actor &, class Actor &); + MCVAPI enum EventResult onActorStopRiding(class Actor &, bool, bool, bool); + MCVAPI enum EventResult onActorTargetAcquired(class Actor &, class Actor &); + MCVAPI enum EventResult onActorTeleported(class Actor &); + MCVAPI enum EventResult onActorTick(class Actor &); + MCVAPI enum EventResult onActorUseItem(class Actor &, class ItemInstance const &, enum ItemUseMethod); + MCVAPI enum EventResult onActorUseItemOn(class Actor &, class ItemStack const &, class BlockPos const &, unsigned char); + MCVAPI enum EventResult onProjectileHit(class Actor &, class HitResult const &); +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ActorEventPacket.hpp b/LiteLoader/Header/MC/ActorEventPacket.hpp new file mode 100644 index 0000000..68f19ee --- /dev/null +++ b/LiteLoader/Header/MC/ActorEventPacket.hpp @@ -0,0 +1,32 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Packet.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ActorEventPacket : public Packet { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ACTOREVENTPACKET +public: + class ActorEventPacket& operator=(class ActorEventPacket const &) = delete; + ActorEventPacket(class ActorEventPacket const &) = delete; + ActorEventPacket() = delete; +#endif + +public: + /*0*/ virtual ~ActorEventPacket(); + /*1*/ virtual enum MinecraftPacketIds getId() const; + /*2*/ virtual std::string getName() const; + /*3*/ virtual void write(class BinaryStream &) const; + /*4*/ virtual enum StreamReadResult read(class ReadOnlyBinaryStream &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ACTOREVENTPACKET +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ActorFactory.hpp b/LiteLoader/Header/MC/ActorFactory.hpp new file mode 100644 index 0000000..baf839d --- /dev/null +++ b/LiteLoader/Header/MC/ActorFactory.hpp @@ -0,0 +1,46 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ActorFactory { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ACTORFACTORY +public: + class ActorFactory& operator=(class ActorFactory const &) = delete; + ActorFactory(class ActorFactory const &) = delete; + ActorFactory() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ACTORFACTORY +#endif + MCAPI ActorFactory(class Level &); + MCAPI std::unique_ptr createBornEntity(struct ActorDefinitionIdentifier const &, class Actor *); + MCAPI std::unique_ptr createBornEntity(struct ActorDefinitionIdentifier const &, class BlockPos const &); + MCAPI std::unique_ptr createEntity(std::string const &, struct ActorDefinitionIdentifier const &, class Actor *, class Vec3 const &, class Vec2 const &); + MCAPI std::unique_ptr createSpawnedEntity(struct ActorDefinitionIdentifier const &, class Actor *, class Vec3 const &, class Vec2 const &); + MCAPI std::unique_ptr createSummonedEntity(struct ActorDefinitionIdentifier const &, class Actor *, class Vec3 const &); + MCAPI std::unique_ptr createTransformedEntity(struct ActorDefinitionIdentifier const &, class Actor *); + MCAPI std::unique_ptr loadEntity(class CompoundTag *, class DataLoadHelper &, class LevelChunk const *); + MCAPI ~ActorFactory(); + MCAPI static std::vector> buildSummonEntityTypeEnum(bool); + MCAPI static class Actor * fixLegacyEntity(class BlockSource &, class CompoundTag const *); + MCAPI static enum ActorType lookupEntityType(struct ActorDefinitionIdentifier const &); + MCAPI static void registerEntityMapping(enum ActorType const &, bool, std::unique_ptr ( *const &)(class ActorDefinitionGroup *, struct ActorDefinitionIdentifier const &), bool); + +//private: + MCAPI std::unique_ptr _constructActor(struct ActorDefinitionIdentifier const &, class Vec3 const &, class Vec2 const &); + MCAPI void _loadDefinitionGroups(class ActorDefinitionGroup *); + +private: + MCAPI static std::vector builtinEntityMappings; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ActorFactoryData.hpp b/LiteLoader/Header/MC/ActorFactoryData.hpp new file mode 100644 index 0000000..e99fc35 --- /dev/null +++ b/LiteLoader/Header/MC/ActorFactoryData.hpp @@ -0,0 +1,26 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +struct ActorFactoryData { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ACTORFACTORYDATA +public: + struct ActorFactoryData& operator=(struct ActorFactoryData const &) = delete; + ActorFactoryData(struct ActorFactoryData const &) = delete; +#endif +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ACTORFACTORYDATA +#endif + MCAPI ActorFactoryData(); + MCAPI ~ActorFactoryData(); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ActorFallPacket.hpp b/LiteLoader/Header/MC/ActorFallPacket.hpp new file mode 100644 index 0000000..969255f --- /dev/null +++ b/LiteLoader/Header/MC/ActorFallPacket.hpp @@ -0,0 +1,32 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Packet.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ActorFallPacket : public Packet { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ACTORFALLPACKET +public: + class ActorFallPacket& operator=(class ActorFallPacket const &) = delete; + ActorFallPacket(class ActorFallPacket const &) = delete; + ActorFallPacket() = delete; +#endif + +public: + /*0*/ virtual ~ActorFallPacket(); + /*1*/ virtual enum MinecraftPacketIds getId() const; + /*2*/ virtual std::string getName() const; + /*3*/ virtual void write(class BinaryStream &) const; + /*4*/ virtual enum StreamReadResult read(class ReadOnlyBinaryStream &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ACTORFALLPACKET +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ActorFilterGroup.hpp b/LiteLoader/Header/MC/ActorFilterGroup.hpp new file mode 100644 index 0000000..fbc4b8e --- /dev/null +++ b/LiteLoader/Header/MC/ActorFilterGroup.hpp @@ -0,0 +1,42 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "FilterGroup.hpp" +#include "Json.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ActorFilterGroup : public FilterGroup { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ACTORFILTERGROUP +public: + class ActorFilterGroup& operator=(class ActorFilterGroup const &) = delete; + ActorFilterGroup() = delete; +#endif + +public: + /*0*/ virtual ~ActorFilterGroup(); + /*1*/ virtual class std::shared_ptr _createSubgroup(enum FilterGroup::CollectionType) const; + /*3*/ virtual bool _handleUnknownMember(std::string const &, class Json::Value const &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ACTORFILTERGROUP +#endif + MCAPI ActorFilterGroup(enum FilterGroup::CollectionType); + MCAPI ActorFilterGroup(class ActorFilterGroup &&); + MCAPI ActorFilterGroup(class ActorFilterGroup const &); + MCAPI bool evaluateActor(class Actor const &, class VariantParameterList const &) const; + MCAPI static void initialize(); + +//protected: + MCAPI bool _addLegacyFilter(std::string const &, struct ActorFilterGroup::LegacyMapping const &, class FilterInput const &); + MCAPI bool _processLegacyArray(std::string const &, class Json::Value const &, struct ActorFilterGroup::LegacyMapping const &); + MCAPI bool _processLegacyMember(std::string const &, class Json::Value const &, struct ActorFilterGroup::LegacyMapping const &); + +protected: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ActorHasAbilityTest.hpp b/LiteLoader/Header/MC/ActorHasAbilityTest.hpp new file mode 100644 index 0000000..54273d1 --- /dev/null +++ b/LiteLoader/Header/MC/ActorHasAbilityTest.hpp @@ -0,0 +1,31 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "FilterTest.hpp" +#include "Json.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ActorHasAbilityTest : public FilterTest { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ACTORHASABILITYTEST +public: + class ActorHasAbilityTest& operator=(class ActorHasAbilityTest const &) = delete; + ActorHasAbilityTest(class ActorHasAbilityTest const &) = delete; + ActorHasAbilityTest() = delete; +#endif + +public: + /*0*/ virtual ~ActorHasAbilityTest(); + /*2*/ virtual bool evaluate(struct FilterContext const &) const; + /*4*/ virtual class gsl::basic_string_span getName() const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ACTORHASABILITYTEST +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ActorHasComponentTest.hpp b/LiteLoader/Header/MC/ActorHasComponentTest.hpp new file mode 100644 index 0000000..d66455c --- /dev/null +++ b/LiteLoader/Header/MC/ActorHasComponentTest.hpp @@ -0,0 +1,31 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "FilterTest.hpp" +#include "Json.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ActorHasComponentTest : public FilterTest { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ACTORHASCOMPONENTTEST +public: + class ActorHasComponentTest& operator=(class ActorHasComponentTest const &) = delete; + ActorHasComponentTest(class ActorHasComponentTest const &) = delete; + ActorHasComponentTest() = delete; +#endif + +public: + /*0*/ virtual ~ActorHasComponentTest(); + /*2*/ virtual bool evaluate(struct FilterContext const &) const; + /*4*/ virtual class gsl::basic_string_span getName() const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ACTORHASCOMPONENTTEST +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ActorHasContainerOpenTest.hpp b/LiteLoader/Header/MC/ActorHasContainerOpenTest.hpp new file mode 100644 index 0000000..60401ef --- /dev/null +++ b/LiteLoader/Header/MC/ActorHasContainerOpenTest.hpp @@ -0,0 +1,31 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "FilterTest.hpp" +#include "Json.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ActorHasContainerOpenTest : public FilterTest { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ACTORHASCONTAINEROPENTEST +public: + class ActorHasContainerOpenTest& operator=(class ActorHasContainerOpenTest const &) = delete; + ActorHasContainerOpenTest(class ActorHasContainerOpenTest const &) = delete; + ActorHasContainerOpenTest() = delete; +#endif + +public: + /*0*/ virtual ~ActorHasContainerOpenTest(); + /*2*/ virtual bool evaluate(struct FilterContext const &) const; + /*4*/ virtual class gsl::basic_string_span getName() const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ACTORHASCONTAINEROPENTEST +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ActorHasDamageTest.hpp b/LiteLoader/Header/MC/ActorHasDamageTest.hpp new file mode 100644 index 0000000..86fefe0 --- /dev/null +++ b/LiteLoader/Header/MC/ActorHasDamageTest.hpp @@ -0,0 +1,31 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "FilterTest.hpp" +#include "Json.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ActorHasDamageTest : public FilterTest { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ACTORHASDAMAGETEST +public: + class ActorHasDamageTest& operator=(class ActorHasDamageTest const &) = delete; + ActorHasDamageTest(class ActorHasDamageTest const &) = delete; + ActorHasDamageTest() = delete; +#endif + +public: + /*0*/ virtual ~ActorHasDamageTest(); + /*2*/ virtual bool evaluate(struct FilterContext const &) const; + /*4*/ virtual class gsl::basic_string_span getName() const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ACTORHASDAMAGETEST +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ActorHasEquipmentTest.hpp b/LiteLoader/Header/MC/ActorHasEquipmentTest.hpp new file mode 100644 index 0000000..156a590 --- /dev/null +++ b/LiteLoader/Header/MC/ActorHasEquipmentTest.hpp @@ -0,0 +1,35 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "FilterTest.hpp" +#include "Json.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ActorHasEquipmentTest { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ACTORHASEQUIPMENTTEST +public: + class ActorHasEquipmentTest& operator=(class ActorHasEquipmentTest const &) = delete; + ActorHasEquipmentTest(class ActorHasEquipmentTest const &) = delete; + ActorHasEquipmentTest() = delete; +#endif + +public: + /*0*/ virtual ~ActorHasEquipmentTest(); + /*1*/ virtual bool setup(struct FilterTest::Definition const &, struct FilterInputs const &); + /*2*/ virtual bool evaluate(struct FilterContext const &) const; + /*3*/ virtual void __unk_vfn_3(); + /*4*/ virtual class gsl::basic_string_span getName() const; + /*5*/ virtual class Json::Value _serializeDomain() const; + /*6*/ virtual class Json::Value _serializeValue() const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ACTORHASEQUIPMENTTEST +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ActorHasMobEffect.hpp b/LiteLoader/Header/MC/ActorHasMobEffect.hpp new file mode 100644 index 0000000..040af89 --- /dev/null +++ b/LiteLoader/Header/MC/ActorHasMobEffect.hpp @@ -0,0 +1,33 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "FilterTest.hpp" +#include "Json.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ActorHasMobEffect : public FilterTest { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ACTORHASMOBEFFECT +public: + class ActorHasMobEffect& operator=(class ActorHasMobEffect const &) = delete; + ActorHasMobEffect(class ActorHasMobEffect const &) = delete; + ActorHasMobEffect() = delete; +#endif + +public: + /*0*/ virtual ~ActorHasMobEffect(); + /*1*/ virtual bool setup(struct FilterTest::Definition const &, struct FilterInputs const &); + /*2*/ virtual bool evaluate(struct FilterContext const &) const; + /*4*/ virtual class gsl::basic_string_span getName() const; + /*6*/ virtual class Json::Value _serializeValue() const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ACTORHASMOBEFFECT +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ActorHasRangedWeaponTest.hpp b/LiteLoader/Header/MC/ActorHasRangedWeaponTest.hpp new file mode 100644 index 0000000..39c08c0 --- /dev/null +++ b/LiteLoader/Header/MC/ActorHasRangedWeaponTest.hpp @@ -0,0 +1,31 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "FilterTest.hpp" +#include "Json.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ActorHasRangedWeaponTest : public FilterTest { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ACTORHASRANGEDWEAPONTEST +public: + class ActorHasRangedWeaponTest& operator=(class ActorHasRangedWeaponTest const &) = delete; + ActorHasRangedWeaponTest(class ActorHasRangedWeaponTest const &) = delete; + ActorHasRangedWeaponTest() = delete; +#endif + +public: + /*0*/ virtual ~ActorHasRangedWeaponTest(); + /*2*/ virtual bool evaluate(struct FilterContext const &) const; + /*4*/ virtual class gsl::basic_string_span getName() const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ACTORHASRANGEDWEAPONTEST +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ActorHasTagTest.hpp b/LiteLoader/Header/MC/ActorHasTagTest.hpp new file mode 100644 index 0000000..238786e --- /dev/null +++ b/LiteLoader/Header/MC/ActorHasTagTest.hpp @@ -0,0 +1,31 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "FilterTest.hpp" +#include "Json.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ActorHasTagTest : public FilterTest { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ACTORHASTAGTEST +public: + class ActorHasTagTest& operator=(class ActorHasTagTest const &) = delete; + ActorHasTagTest(class ActorHasTagTest const &) = delete; + ActorHasTagTest() = delete; +#endif + +public: + /*0*/ virtual ~ActorHasTagTest(); + /*2*/ virtual bool evaluate(struct FilterContext const &) const; + /*4*/ virtual class gsl::basic_string_span getName() const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ACTORHASTAGTEST +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ActorHasTargetTest.hpp b/LiteLoader/Header/MC/ActorHasTargetTest.hpp new file mode 100644 index 0000000..e4df3d4 --- /dev/null +++ b/LiteLoader/Header/MC/ActorHasTargetTest.hpp @@ -0,0 +1,31 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "FilterTest.hpp" +#include "Json.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ActorHasTargetTest : public FilterTest { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ACTORHASTARGETTEST +public: + class ActorHasTargetTest& operator=(class ActorHasTargetTest const &) = delete; + ActorHasTargetTest(class ActorHasTargetTest const &) = delete; + ActorHasTargetTest() = delete; +#endif + +public: + /*0*/ virtual ~ActorHasTargetTest(); + /*2*/ virtual bool evaluate(struct FilterContext const &) const; + /*4*/ virtual class gsl::basic_string_span getName() const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ACTORHASTARGETTEST +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ActorInCaravanTest.hpp b/LiteLoader/Header/MC/ActorInCaravanTest.hpp new file mode 100644 index 0000000..1913cdb --- /dev/null +++ b/LiteLoader/Header/MC/ActorInCaravanTest.hpp @@ -0,0 +1,31 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "FilterTest.hpp" +#include "Json.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ActorInCaravanTest : public FilterTest { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ACTORINCARAVANTEST +public: + class ActorInCaravanTest& operator=(class ActorInCaravanTest const &) = delete; + ActorInCaravanTest(class ActorInCaravanTest const &) = delete; + ActorInCaravanTest() = delete; +#endif + +public: + /*0*/ virtual ~ActorInCaravanTest(); + /*2*/ virtual bool evaluate(struct FilterContext const &) const; + /*4*/ virtual class gsl::basic_string_span getName() const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ACTORINCARAVANTEST +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ActorInCloudsTest.hpp b/LiteLoader/Header/MC/ActorInCloudsTest.hpp new file mode 100644 index 0000000..1a435ae --- /dev/null +++ b/LiteLoader/Header/MC/ActorInCloudsTest.hpp @@ -0,0 +1,31 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "FilterTest.hpp" +#include "Json.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ActorInCloudsTest : public FilterTest { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ACTORINCLOUDSTEST +public: + class ActorInCloudsTest& operator=(class ActorInCloudsTest const &) = delete; + ActorInCloudsTest(class ActorInCloudsTest const &) = delete; + ActorInCloudsTest() = delete; +#endif + +public: + /*0*/ virtual ~ActorInCloudsTest(); + /*2*/ virtual bool evaluate(struct FilterContext const &) const; + /*4*/ virtual class gsl::basic_string_span getName() const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ACTORINCLOUDSTEST +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ActorInLavaTest.hpp b/LiteLoader/Header/MC/ActorInLavaTest.hpp new file mode 100644 index 0000000..c7db392 --- /dev/null +++ b/LiteLoader/Header/MC/ActorInLavaTest.hpp @@ -0,0 +1,31 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "FilterTest.hpp" +#include "Json.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ActorInLavaTest : public FilterTest { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ACTORINLAVATEST +public: + class ActorInLavaTest& operator=(class ActorInLavaTest const &) = delete; + ActorInLavaTest(class ActorInLavaTest const &) = delete; + ActorInLavaTest() = delete; +#endif + +public: + /*0*/ virtual ~ActorInLavaTest(); + /*2*/ virtual bool evaluate(struct FilterContext const &) const; + /*4*/ virtual class gsl::basic_string_span getName() const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ACTORINLAVATEST +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ActorInNetherTest.hpp b/LiteLoader/Header/MC/ActorInNetherTest.hpp new file mode 100644 index 0000000..5cc9836 --- /dev/null +++ b/LiteLoader/Header/MC/ActorInNetherTest.hpp @@ -0,0 +1,31 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "FilterTest.hpp" +#include "Json.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ActorInNetherTest : public FilterTest { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ACTORINNETHERTEST +public: + class ActorInNetherTest& operator=(class ActorInNetherTest const &) = delete; + ActorInNetherTest(class ActorInNetherTest const &) = delete; + ActorInNetherTest() = delete; +#endif + +public: + /*0*/ virtual ~ActorInNetherTest(); + /*2*/ virtual bool evaluate(struct FilterContext const &) const; + /*4*/ virtual class gsl::basic_string_span getName() const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ACTORINNETHERTEST +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ActorInVillageTest.hpp b/LiteLoader/Header/MC/ActorInVillageTest.hpp new file mode 100644 index 0000000..463f044 --- /dev/null +++ b/LiteLoader/Header/MC/ActorInVillageTest.hpp @@ -0,0 +1,31 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "FilterTest.hpp" +#include "Json.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ActorInVillageTest : public FilterTest { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ACTORINVILLAGETEST +public: + class ActorInVillageTest& operator=(class ActorInVillageTest const &) = delete; + ActorInVillageTest(class ActorInVillageTest const &) = delete; + ActorInVillageTest() = delete; +#endif + +public: + /*0*/ virtual ~ActorInVillageTest(); + /*2*/ virtual bool evaluate(struct FilterContext const &) const; + /*4*/ virtual class gsl::basic_string_span getName() const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ACTORINVILLAGETEST +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ActorInWaterOrRainTest.hpp b/LiteLoader/Header/MC/ActorInWaterOrRainTest.hpp new file mode 100644 index 0000000..5638544 --- /dev/null +++ b/LiteLoader/Header/MC/ActorInWaterOrRainTest.hpp @@ -0,0 +1,31 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "FilterTest.hpp" +#include "Json.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ActorInWaterOrRainTest : public FilterTest { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ACTORINWATERORRAINTEST +public: + class ActorInWaterOrRainTest& operator=(class ActorInWaterOrRainTest const &) = delete; + ActorInWaterOrRainTest(class ActorInWaterOrRainTest const &) = delete; + ActorInWaterOrRainTest() = delete; +#endif + +public: + /*0*/ virtual ~ActorInWaterOrRainTest(); + /*2*/ virtual bool evaluate(struct FilterContext const &) const; + /*4*/ virtual class gsl::basic_string_span getName() const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ACTORINWATERORRAINTEST +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ActorInWaterTest.hpp b/LiteLoader/Header/MC/ActorInWaterTest.hpp new file mode 100644 index 0000000..22b4496 --- /dev/null +++ b/LiteLoader/Header/MC/ActorInWaterTest.hpp @@ -0,0 +1,31 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "FilterTest.hpp" +#include "Json.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ActorInWaterTest : public FilterTest { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ACTORINWATERTEST +public: + class ActorInWaterTest& operator=(class ActorInWaterTest const &) = delete; + ActorInWaterTest(class ActorInWaterTest const &) = delete; + ActorInWaterTest() = delete; +#endif + +public: + /*0*/ virtual ~ActorInWaterTest(); + /*2*/ virtual bool evaluate(struct FilterContext const &) const; + /*4*/ virtual class gsl::basic_string_span getName() const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ACTORINWATERTEST +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ActorInWeatherTest.hpp b/LiteLoader/Header/MC/ActorInWeatherTest.hpp new file mode 100644 index 0000000..71418c8 --- /dev/null +++ b/LiteLoader/Header/MC/ActorInWeatherTest.hpp @@ -0,0 +1,33 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "FilterTest.hpp" +#include "Json.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ActorInWeatherTest : public FilterTest { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ACTORINWEATHERTEST +public: + class ActorInWeatherTest& operator=(class ActorInWeatherTest const &) = delete; + ActorInWeatherTest(class ActorInWeatherTest const &) = delete; + ActorInWeatherTest() = delete; +#endif + +public: + /*0*/ virtual ~ActorInWeatherTest(); + /*1*/ virtual bool setup(struct FilterTest::Definition const &, struct FilterInputs const &); + /*2*/ virtual bool evaluate(struct FilterContext const &) const; + /*4*/ virtual class gsl::basic_string_span getName() const; + /*6*/ virtual class Json::Value _serializeValue() const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ACTORINWEATHERTEST +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ActorInactivityTimerTest.hpp b/LiteLoader/Header/MC/ActorInactivityTimerTest.hpp new file mode 100644 index 0000000..29c51ad --- /dev/null +++ b/LiteLoader/Header/MC/ActorInactivityTimerTest.hpp @@ -0,0 +1,31 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "FilterTest.hpp" +#include "Json.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ActorInactivityTimerTest : public FilterTest { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ACTORINACTIVITYTIMERTEST +public: + class ActorInactivityTimerTest& operator=(class ActorInactivityTimerTest const &) = delete; + ActorInactivityTimerTest(class ActorInactivityTimerTest const &) = delete; + ActorInactivityTimerTest() = delete; +#endif + +public: + /*0*/ virtual ~ActorInactivityTimerTest(); + /*2*/ virtual bool evaluate(struct FilterContext const &) const; + /*4*/ virtual class gsl::basic_string_span getName() const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ACTORINACTIVITYTIMERTEST +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ActorInfo.hpp b/LiteLoader/Header/MC/ActorInfo.hpp new file mode 100644 index 0000000..3307113 --- /dev/null +++ b/LiteLoader/Header/MC/ActorInfo.hpp @@ -0,0 +1,24 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +struct ActorInfo { + +#define AFTER_EXTRA + +#undef AFTER_EXTRApublic: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ACTORINFO +#endif + MCAPI ActorInfo(); + MCAPI ActorInfo(struct ActorInfo const &); + MCAPI void load(class CompoundTag const *); + MCAPI struct ActorInfo & operator=(struct ActorInfo const &); + MCAPI std::unique_ptr save() const; + MCAPI ~ActorInfo(); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ActorInfoRegistry.hpp b/LiteLoader/Header/MC/ActorInfoRegistry.hpp new file mode 100644 index 0000000..b0b4760 --- /dev/null +++ b/LiteLoader/Header/MC/ActorInfoRegistry.hpp @@ -0,0 +1,33 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ActorInfoRegistry { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ACTORINFOREGISTRY +public: + class ActorInfoRegistry& operator=(class ActorInfoRegistry const &) = delete; + ActorInfoRegistry(class ActorInfoRegistry const &) = delete; + ActorInfoRegistry() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ACTORINFOREGISTRY +#endif + MCAPI struct ActorInfo const & getActorInfo(unsigned int) const; + MCAPI unsigned int getActorInfoId(unsigned __int64 const &) const; + MCAPI unsigned int getActorInfoId(std::string const &) const; + MCAPI std::vector getActorInfoList() const; + MCAPI bool isSpawnEggAvailable(std::string); + MCAPI void registerActorInfo(struct ActorInfo const &); + MCAPI void setSpawnEggAvailable(std::string, bool); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ActorInteraction.hpp b/LiteLoader/Header/MC/ActorInteraction.hpp new file mode 100644 index 0000000..d8c8fab --- /dev/null +++ b/LiteLoader/Header/MC/ActorInteraction.hpp @@ -0,0 +1,28 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ActorInteraction { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ACTORINTERACTION +public: + class ActorInteraction& operator=(class ActorInteraction const &) = delete; + ActorInteraction(class ActorInteraction const &) = delete; + ActorInteraction() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ACTORINTERACTION +#endif + MCAPI void capture(class std::function); + MCAPI ~ActorInteraction(); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ActorIsAvoidingMobsTest.hpp b/LiteLoader/Header/MC/ActorIsAvoidingMobsTest.hpp new file mode 100644 index 0000000..98111cf --- /dev/null +++ b/LiteLoader/Header/MC/ActorIsAvoidingMobsTest.hpp @@ -0,0 +1,31 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "FilterTest.hpp" +#include "Json.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ActorIsAvoidingMobsTest : public FilterTest { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ACTORISAVOIDINGMOBSTEST +public: + class ActorIsAvoidingMobsTest& operator=(class ActorIsAvoidingMobsTest const &) = delete; + ActorIsAvoidingMobsTest(class ActorIsAvoidingMobsTest const &) = delete; + ActorIsAvoidingMobsTest() = delete; +#endif + +public: + /*0*/ virtual ~ActorIsAvoidingMobsTest(); + /*2*/ virtual bool evaluate(struct FilterContext const &) const; + /*4*/ virtual class gsl::basic_string_span getName() const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ACTORISAVOIDINGMOBSTEST +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ActorIsClimbingTest.hpp b/LiteLoader/Header/MC/ActorIsClimbingTest.hpp new file mode 100644 index 0000000..b14cd06 --- /dev/null +++ b/LiteLoader/Header/MC/ActorIsClimbingTest.hpp @@ -0,0 +1,31 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "FilterTest.hpp" +#include "Json.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ActorIsClimbingTest : public FilterTest { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ACTORISCLIMBINGTEST +public: + class ActorIsClimbingTest& operator=(class ActorIsClimbingTest const &) = delete; + ActorIsClimbingTest(class ActorIsClimbingTest const &) = delete; + ActorIsClimbingTest() = delete; +#endif + +public: + /*0*/ virtual ~ActorIsClimbingTest(); + /*2*/ virtual bool evaluate(struct FilterContext const &) const; + /*4*/ virtual class gsl::basic_string_span getName() const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ACTORISCLIMBINGTEST +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ActorIsColorTest.hpp b/LiteLoader/Header/MC/ActorIsColorTest.hpp new file mode 100644 index 0000000..4a9b9f2 --- /dev/null +++ b/LiteLoader/Header/MC/ActorIsColorTest.hpp @@ -0,0 +1,31 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "FilterTest.hpp" +#include "Json.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ActorIsColorTest : public FilterTest { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ACTORISCOLORTEST +public: + class ActorIsColorTest& operator=(class ActorIsColorTest const &) = delete; + ActorIsColorTest(class ActorIsColorTest const &) = delete; + ActorIsColorTest() = delete; +#endif + +public: + /*0*/ virtual ~ActorIsColorTest(); + /*2*/ virtual bool evaluate(struct FilterContext const &) const; + /*4*/ virtual class gsl::basic_string_span getName() const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ACTORISCOLORTEST +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ActorIsFamilyTest.hpp b/LiteLoader/Header/MC/ActorIsFamilyTest.hpp new file mode 100644 index 0000000..bf6e8bf --- /dev/null +++ b/LiteLoader/Header/MC/ActorIsFamilyTest.hpp @@ -0,0 +1,31 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "FilterTest.hpp" +#include "Json.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ActorIsFamilyTest : public FilterTest { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ACTORISFAMILYTEST +public: + class ActorIsFamilyTest& operator=(class ActorIsFamilyTest const &) = delete; + ActorIsFamilyTest(class ActorIsFamilyTest const &) = delete; + ActorIsFamilyTest() = delete; +#endif + +public: + /*0*/ virtual ~ActorIsFamilyTest(); + /*2*/ virtual bool evaluate(struct FilterContext const &) const; + /*4*/ virtual class gsl::basic_string_span getName() const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ACTORISFAMILYTEST +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ActorIsImmobileTest.hpp b/LiteLoader/Header/MC/ActorIsImmobileTest.hpp new file mode 100644 index 0000000..ab68b1a --- /dev/null +++ b/LiteLoader/Header/MC/ActorIsImmobileTest.hpp @@ -0,0 +1,31 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "FilterTest.hpp" +#include "Json.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ActorIsImmobileTest : public FilterTest { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ACTORISIMMOBILETEST +public: + class ActorIsImmobileTest& operator=(class ActorIsImmobileTest const &) = delete; + ActorIsImmobileTest(class ActorIsImmobileTest const &) = delete; + ActorIsImmobileTest() = delete; +#endif + +public: + /*0*/ virtual ~ActorIsImmobileTest(); + /*2*/ virtual bool evaluate(struct FilterContext const &) const; + /*4*/ virtual class gsl::basic_string_span getName() const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ACTORISIMMOBILETEST +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ActorIsLeashedTest.hpp b/LiteLoader/Header/MC/ActorIsLeashedTest.hpp new file mode 100644 index 0000000..63daeda --- /dev/null +++ b/LiteLoader/Header/MC/ActorIsLeashedTest.hpp @@ -0,0 +1,31 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "FilterTest.hpp" +#include "Json.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ActorIsLeashedTest : public FilterTest { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ACTORISLEASHEDTEST +public: + class ActorIsLeashedTest& operator=(class ActorIsLeashedTest const &) = delete; + ActorIsLeashedTest(class ActorIsLeashedTest const &) = delete; + ActorIsLeashedTest() = delete; +#endif + +public: + /*0*/ virtual ~ActorIsLeashedTest(); + /*2*/ virtual bool evaluate(struct FilterContext const &) const; + /*4*/ virtual class gsl::basic_string_span getName() const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ACTORISLEASHEDTEST +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ActorIsLeashedToTest.hpp b/LiteLoader/Header/MC/ActorIsLeashedToTest.hpp new file mode 100644 index 0000000..5ff2287 --- /dev/null +++ b/LiteLoader/Header/MC/ActorIsLeashedToTest.hpp @@ -0,0 +1,31 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "FilterTest.hpp" +#include "Json.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ActorIsLeashedToTest : public FilterTest { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ACTORISLEASHEDTOTEST +public: + class ActorIsLeashedToTest& operator=(class ActorIsLeashedToTest const &) = delete; + ActorIsLeashedToTest(class ActorIsLeashedToTest const &) = delete; + ActorIsLeashedToTest() = delete; +#endif + +public: + /*0*/ virtual ~ActorIsLeashedToTest(); + /*2*/ virtual bool evaluate(struct FilterContext const &) const; + /*4*/ virtual class gsl::basic_string_span getName() const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ACTORISLEASHEDTOTEST +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ActorIsMarkVariantTest.hpp b/LiteLoader/Header/MC/ActorIsMarkVariantTest.hpp new file mode 100644 index 0000000..3d3d6d0 --- /dev/null +++ b/LiteLoader/Header/MC/ActorIsMarkVariantTest.hpp @@ -0,0 +1,31 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "FilterTest.hpp" +#include "Json.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ActorIsMarkVariantTest : public FilterTest { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ACTORISMARKVARIANTTEST +public: + class ActorIsMarkVariantTest& operator=(class ActorIsMarkVariantTest const &) = delete; + ActorIsMarkVariantTest(class ActorIsMarkVariantTest const &) = delete; + ActorIsMarkVariantTest() = delete; +#endif + +public: + /*0*/ virtual ~ActorIsMarkVariantTest(); + /*2*/ virtual bool evaluate(struct FilterContext const &) const; + /*4*/ virtual class gsl::basic_string_span getName() const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ACTORISMARKVARIANTTEST +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ActorIsMovingTest.hpp b/LiteLoader/Header/MC/ActorIsMovingTest.hpp new file mode 100644 index 0000000..ae87702 --- /dev/null +++ b/LiteLoader/Header/MC/ActorIsMovingTest.hpp @@ -0,0 +1,31 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "FilterTest.hpp" +#include "Json.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ActorIsMovingTest : public FilterTest { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ACTORISMOVINGTEST +public: + class ActorIsMovingTest& operator=(class ActorIsMovingTest const &) = delete; + ActorIsMovingTest(class ActorIsMovingTest const &) = delete; + ActorIsMovingTest() = delete; +#endif + +public: + /*0*/ virtual ~ActorIsMovingTest(); + /*2*/ virtual bool evaluate(struct FilterContext const &) const; + /*4*/ virtual class gsl::basic_string_span getName() const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ACTORISMOVINGTEST +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ActorIsOwnerTest.hpp b/LiteLoader/Header/MC/ActorIsOwnerTest.hpp new file mode 100644 index 0000000..174f545 --- /dev/null +++ b/LiteLoader/Header/MC/ActorIsOwnerTest.hpp @@ -0,0 +1,31 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "FilterTest.hpp" +#include "Json.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ActorIsOwnerTest : public FilterTest { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ACTORISOWNERTEST +public: + class ActorIsOwnerTest& operator=(class ActorIsOwnerTest const &) = delete; + ActorIsOwnerTest(class ActorIsOwnerTest const &) = delete; + ActorIsOwnerTest() = delete; +#endif + +public: + /*0*/ virtual ~ActorIsOwnerTest(); + /*2*/ virtual bool evaluate(struct FilterContext const &) const; + /*4*/ virtual class gsl::basic_string_span getName() const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ACTORISOWNERTEST +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ActorIsPersistentTest.hpp b/LiteLoader/Header/MC/ActorIsPersistentTest.hpp new file mode 100644 index 0000000..96bcad1 --- /dev/null +++ b/LiteLoader/Header/MC/ActorIsPersistentTest.hpp @@ -0,0 +1,31 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "FilterTest.hpp" +#include "Json.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ActorIsPersistentTest : public FilterTest { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ACTORISPERSISTENTTEST +public: + class ActorIsPersistentTest& operator=(class ActorIsPersistentTest const &) = delete; + ActorIsPersistentTest(class ActorIsPersistentTest const &) = delete; + ActorIsPersistentTest() = delete; +#endif + +public: + /*0*/ virtual ~ActorIsPersistentTest(); + /*2*/ virtual bool evaluate(struct FilterContext const &) const; + /*4*/ virtual class gsl::basic_string_span getName() const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ACTORISPERSISTENTTEST +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ActorIsRidingTest.hpp b/LiteLoader/Header/MC/ActorIsRidingTest.hpp new file mode 100644 index 0000000..5d75be4 --- /dev/null +++ b/LiteLoader/Header/MC/ActorIsRidingTest.hpp @@ -0,0 +1,31 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "FilterTest.hpp" +#include "Json.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ActorIsRidingTest : public FilterTest { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ACTORISRIDINGTEST +public: + class ActorIsRidingTest& operator=(class ActorIsRidingTest const &) = delete; + ActorIsRidingTest(class ActorIsRidingTest const &) = delete; + ActorIsRidingTest() = delete; +#endif + +public: + /*0*/ virtual ~ActorIsRidingTest(); + /*2*/ virtual bool evaluate(struct FilterContext const &) const; + /*4*/ virtual class gsl::basic_string_span getName() const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ACTORISRIDINGTEST +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ActorIsSkinIDTest.hpp b/LiteLoader/Header/MC/ActorIsSkinIDTest.hpp new file mode 100644 index 0000000..67f6e34 --- /dev/null +++ b/LiteLoader/Header/MC/ActorIsSkinIDTest.hpp @@ -0,0 +1,31 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "FilterTest.hpp" +#include "Json.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ActorIsSkinIDTest : public FilterTest { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ACTORISSKINIDTEST +public: + class ActorIsSkinIDTest& operator=(class ActorIsSkinIDTest const &) = delete; + ActorIsSkinIDTest(class ActorIsSkinIDTest const &) = delete; + ActorIsSkinIDTest() = delete; +#endif + +public: + /*0*/ virtual ~ActorIsSkinIDTest(); + /*2*/ virtual bool evaluate(struct FilterContext const &) const; + /*4*/ virtual class gsl::basic_string_span getName() const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ACTORISSKINIDTEST +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ActorIsSleepingTest.hpp b/LiteLoader/Header/MC/ActorIsSleepingTest.hpp new file mode 100644 index 0000000..35576b6 --- /dev/null +++ b/LiteLoader/Header/MC/ActorIsSleepingTest.hpp @@ -0,0 +1,31 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "FilterTest.hpp" +#include "Json.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ActorIsSleepingTest : public FilterTest { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ACTORISSLEEPINGTEST +public: + class ActorIsSleepingTest& operator=(class ActorIsSleepingTest const &) = delete; + ActorIsSleepingTest(class ActorIsSleepingTest const &) = delete; + ActorIsSleepingTest() = delete; +#endif + +public: + /*0*/ virtual ~ActorIsSleepingTest(); + /*2*/ virtual bool evaluate(struct FilterContext const &) const; + /*4*/ virtual class gsl::basic_string_span getName() const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ACTORISSLEEPINGTEST +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ActorIsSneakingTest.hpp b/LiteLoader/Header/MC/ActorIsSneakingTest.hpp new file mode 100644 index 0000000..7099610 --- /dev/null +++ b/LiteLoader/Header/MC/ActorIsSneakingTest.hpp @@ -0,0 +1,31 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "FilterTest.hpp" +#include "Json.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ActorIsSneakingTest : public FilterTest { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ACTORISSNEAKINGTEST +public: + class ActorIsSneakingTest& operator=(class ActorIsSneakingTest const &) = delete; + ActorIsSneakingTest(class ActorIsSneakingTest const &) = delete; + ActorIsSneakingTest() = delete; +#endif + +public: + /*0*/ virtual ~ActorIsSneakingTest(); + /*2*/ virtual bool evaluate(struct FilterContext const &) const; + /*4*/ virtual class gsl::basic_string_span getName() const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ACTORISSNEAKINGTEST +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ActorIsTargetTest.hpp b/LiteLoader/Header/MC/ActorIsTargetTest.hpp new file mode 100644 index 0000000..ccab613 --- /dev/null +++ b/LiteLoader/Header/MC/ActorIsTargetTest.hpp @@ -0,0 +1,31 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "FilterTest.hpp" +#include "Json.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ActorIsTargetTest : public FilterTest { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ACTORISTARGETTEST +public: + class ActorIsTargetTest& operator=(class ActorIsTargetTest const &) = delete; + ActorIsTargetTest(class ActorIsTargetTest const &) = delete; + ActorIsTargetTest() = delete; +#endif + +public: + /*0*/ virtual ~ActorIsTargetTest(); + /*2*/ virtual bool evaluate(struct FilterContext const &) const; + /*4*/ virtual class gsl::basic_string_span getName() const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ACTORISTARGETTEST +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ActorIsVariantTest.hpp b/LiteLoader/Header/MC/ActorIsVariantTest.hpp new file mode 100644 index 0000000..a32a0e2 --- /dev/null +++ b/LiteLoader/Header/MC/ActorIsVariantTest.hpp @@ -0,0 +1,31 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "FilterTest.hpp" +#include "Json.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ActorIsVariantTest : public FilterTest { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ACTORISVARIANTTEST +public: + class ActorIsVariantTest& operator=(class ActorIsVariantTest const &) = delete; + ActorIsVariantTest(class ActorIsVariantTest const &) = delete; + ActorIsVariantTest() = delete; +#endif + +public: + /*0*/ virtual ~ActorIsVariantTest(); + /*2*/ virtual bool evaluate(struct FilterContext const &) const; + /*4*/ virtual class gsl::basic_string_span getName() const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ACTORISVARIANTTEST +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ActorIsVisibleTest.hpp b/LiteLoader/Header/MC/ActorIsVisibleTest.hpp new file mode 100644 index 0000000..de297d4 --- /dev/null +++ b/LiteLoader/Header/MC/ActorIsVisibleTest.hpp @@ -0,0 +1,31 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "FilterTest.hpp" +#include "Json.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ActorIsVisibleTest : public FilterTest { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ACTORISVISIBLETEST +public: + class ActorIsVisibleTest& operator=(class ActorIsVisibleTest const &) = delete; + ActorIsVisibleTest(class ActorIsVisibleTest const &) = delete; + ActorIsVisibleTest() = delete; +#endif + +public: + /*0*/ virtual ~ActorIsVisibleTest(); + /*2*/ virtual bool evaluate(struct FilterContext const &) const; + /*4*/ virtual class gsl::basic_string_span getName() const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ACTORISVISIBLETEST +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ActorLegacySaveConverter.hpp b/LiteLoader/Header/MC/ActorLegacySaveConverter.hpp new file mode 100644 index 0000000..39cf172 --- /dev/null +++ b/LiteLoader/Header/MC/ActorLegacySaveConverter.hpp @@ -0,0 +1,56 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ActorLegacySaveConverter { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ACTORLEGACYSAVECONVERTER +public: + class ActorLegacySaveConverter& operator=(class ActorLegacySaveConverter const &) = delete; + ActorLegacySaveConverter(class ActorLegacySaveConverter const &) = delete; + ActorLegacySaveConverter() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ACTORLEGACYSAVECONVERTER +#endif + MCAPI static void convertSave(class Actor &, class CompoundTag const &); + +//private: + MCAPI static void convertBoat(class Actor &, class CompoundTag const &); + MCAPI static void convertChicken(class Actor &, class CompoundTag const &); + MCAPI static void convertCow(class Actor &, class CompoundTag const &); + MCAPI static void convertCreeper(class Actor &, class CompoundTag const &); + MCAPI static void convertEnderman(class Actor &, class CompoundTag const &); + MCAPI static void convertHorse(class Actor &, class CompoundTag const &); + MCAPI static void convertIronGolem(class Actor &, class CompoundTag const &); + MCAPI static void convertMinecart(class Actor &, class CompoundTag const &); + MCAPI static void convertMinecartHopper(class Actor &, class CompoundTag const &); + MCAPI static void convertMinecartTNT(class Actor &, class CompoundTag const &); + MCAPI static void convertOcelot(class Actor &, class CompoundTag const &); + MCAPI static void convertPig(class Actor &, class CompoundTag const &); + MCAPI static void convertRabbit(class Actor &, class CompoundTag const &); + MCAPI static void convertSheep(class Actor &, class CompoundTag const &); + MCAPI static void convertSilverfish(class Actor &, class CompoundTag const &); + MCAPI static void convertSkeleton(class Actor &, class CompoundTag const &); + MCAPI static void convertSlime(class Actor &, class CompoundTag const &); + MCAPI static void convertSnowgolem(class Actor &, class CompoundTag const &); + MCAPI static void convertSpider(class Actor &, class CompoundTag const &); + MCAPI static void convertSquid(class Actor &, class CompoundTag const &); + MCAPI static void convertVillager(class Actor &, class CompoundTag const &); + MCAPI static void convertWolf(class Actor &, class CompoundTag const &); + MCAPI static void convertZombie(class Actor &, class CompoundTag const &); + MCAPI static void convertZombieVillager(class Actor &, class CompoundTag const &); + MCAPI static void genericConvert(class Actor &, class CompoundTag const &); + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ActorMapping.hpp b/LiteLoader/Header/MC/ActorMapping.hpp new file mode 100644 index 0000000..bbe76e6 --- /dev/null +++ b/LiteLoader/Header/MC/ActorMapping.hpp @@ -0,0 +1,28 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +struct ActorMapping { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ACTORMAPPING +public: + struct ActorMapping& operator=(struct ActorMapping const &) = delete; + ActorMapping(struct ActorMapping const &) = delete; + ActorMapping() = delete; +#endif +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ACTORMAPPING +#endif + MCAPI ActorMapping(std::string const &, std::string const &); + MCAPI std::string getMappingName(enum ActorTypeNamespaceRules) const; + MCAPI ~ActorMapping(); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ActorOnGroundTest.hpp b/LiteLoader/Header/MC/ActorOnGroundTest.hpp new file mode 100644 index 0000000..b50bed9 --- /dev/null +++ b/LiteLoader/Header/MC/ActorOnGroundTest.hpp @@ -0,0 +1,31 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "FilterTest.hpp" +#include "Json.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ActorOnGroundTest : public FilterTest { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ACTORONGROUNDTEST +public: + class ActorOnGroundTest& operator=(class ActorOnGroundTest const &) = delete; + ActorOnGroundTest(class ActorOnGroundTest const &) = delete; + ActorOnGroundTest() = delete; +#endif + +public: + /*0*/ virtual ~ActorOnGroundTest(); + /*2*/ virtual bool evaluate(struct FilterContext const &) const; + /*4*/ virtual class gsl::basic_string_span getName() const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ACTORONGROUNDTEST +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ActorOnLadderTest.hpp b/LiteLoader/Header/MC/ActorOnLadderTest.hpp new file mode 100644 index 0000000..8700cea --- /dev/null +++ b/LiteLoader/Header/MC/ActorOnLadderTest.hpp @@ -0,0 +1,31 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "FilterTest.hpp" +#include "Json.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ActorOnLadderTest : public FilterTest { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ACTORONLADDERTEST +public: + class ActorOnLadderTest& operator=(class ActorOnLadderTest const &) = delete; + ActorOnLadderTest(class ActorOnLadderTest const &) = delete; + ActorOnLadderTest() = delete; +#endif + +public: + /*0*/ virtual ~ActorOnLadderTest(); + /*2*/ virtual bool evaluate(struct FilterContext const &) const; + /*4*/ virtual class gsl::basic_string_span getName() const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ACTORONLADDERTEST +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ActorParticleEffectEvent.hpp b/LiteLoader/Header/MC/ActorParticleEffectEvent.hpp new file mode 100644 index 0000000..7f94af2 --- /dev/null +++ b/LiteLoader/Header/MC/ActorParticleEffectEvent.hpp @@ -0,0 +1,29 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ActorParticleEffectEvent { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ACTORPARTICLEEFFECTEVENT +public: + class ActorParticleEffectEvent& operator=(class ActorParticleEffectEvent const &) = delete; + ActorParticleEffectEvent(class ActorParticleEffectEvent const &) = delete; + ActorParticleEffectEvent() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ACTORPARTICLEEFFECTEVENT +#endif + MCAPI ActorParticleEffectEvent(class ActorParticleEffectEvent &&); + MCAPI class ActorParticleEffectEvent & operator=(class ActorParticleEffectEvent &&); + MCAPI ~ActorParticleEffectEvent(); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ActorPickRequestPacket.hpp b/LiteLoader/Header/MC/ActorPickRequestPacket.hpp new file mode 100644 index 0000000..e235056 --- /dev/null +++ b/LiteLoader/Header/MC/ActorPickRequestPacket.hpp @@ -0,0 +1,32 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Packet.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ActorPickRequestPacket : public Packet { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ACTORPICKREQUESTPACKET +public: + class ActorPickRequestPacket& operator=(class ActorPickRequestPacket const &) = delete; + ActorPickRequestPacket(class ActorPickRequestPacket const &) = delete; + ActorPickRequestPacket() = delete; +#endif + +public: + /*0*/ virtual ~ActorPickRequestPacket(); + /*1*/ virtual enum MinecraftPacketIds getId() const; + /*2*/ virtual std::string getName() const; + /*3*/ virtual void write(class BinaryStream &) const; + /*4*/ virtual enum StreamReadResult read(class ReadOnlyBinaryStream &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ACTORPICKREQUESTPACKET +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ActorPlacerItem.hpp b/LiteLoader/Header/MC/ActorPlacerItem.hpp new file mode 100644 index 0000000..230191c --- /dev/null +++ b/LiteLoader/Header/MC/ActorPlacerItem.hpp @@ -0,0 +1,60 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Item.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ActorPlacerItem : public Item { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ACTORPLACERITEM +public: + class ActorPlacerItem& operator=(class ActorPlacerItem const &) = delete; + ActorPlacerItem(class ActorPlacerItem const &) = delete; + ActorPlacerItem() = delete; +#endif + +public: + /*0*/ virtual ~ActorPlacerItem(); + /*1*/ virtual void tearDown(); + /*4*/ virtual bool isExperimental(class ItemDescriptor const *) const; + /*5*/ virtual void __unk_vfn_5(); + /*26*/ virtual void __unk_vfn_26(); + /*27*/ virtual void __unk_vfn_27(); + /*31*/ virtual void __unk_vfn_31(); + /*32*/ virtual void __unk_vfn_32(); + /*34*/ virtual void __unk_vfn_34(); + /*36*/ virtual bool isLiquidClipItem(int) const; + /*37*/ virtual void __unk_vfn_37(); + /*43*/ virtual void __unk_vfn_43(); + /*44*/ virtual bool isValidAuxValue(int) const; + /*46*/ virtual void __unk_vfn_46(); + /*47*/ virtual void __unk_vfn_47(); + /*49*/ virtual void __unk_vfn_49(); + /*50*/ virtual void __unk_vfn_50(); + /*51*/ virtual void saveAdditionalData(class ItemStackBase const &, class CompoundTag &) const; + /*52*/ virtual void readAdditionalData(class ItemStackBase &, class CompoundTag const &) const; + /*57*/ virtual bool dispense(class BlockSource &, class Container &, int, class Vec3 const &, unsigned char) const; + /*65*/ virtual std::string buildDescriptionId(class ItemDescriptor const &, class CompoundTag const *) const; + /*79*/ virtual void __unk_vfn_79(); + /*80*/ virtual void __unk_vfn_80(); + /*85*/ virtual struct TextureUVCoordinateSet const & getIcon(class ItemStackBase const &, int, bool) const; + /*87*/ virtual class Item & setIcon(std::string const &, int); + /*90*/ virtual void __unk_vfn_90(); + /*97*/ virtual void __unk_vfn_97(); + /*99*/ virtual bool _useOn(class ItemStack &, class Actor &, class BlockPos, unsigned char, float, float, float) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ACTORPLACERITEM + MCVAPI class Color getBaseColor(class ItemStack const &) const; + MCVAPI class Color getSecondaryColor(class ItemStack const &) const; + MCVAPI bool isMultiColorTinted(class ItemStack const &) const; +#endif + MCAPI class Actor * spawnActorAt(class BlockSource &, enum ActorType, class Vec3 const &, class Vec3 const &, class ItemStack const &, class Actor *) const; + MCAPI static class Actor * spawnOrMoveAgent(class Vec3 const &, class Actor &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ActorRandomChanceTest.hpp b/LiteLoader/Header/MC/ActorRandomChanceTest.hpp new file mode 100644 index 0000000..4a1d5e7 --- /dev/null +++ b/LiteLoader/Header/MC/ActorRandomChanceTest.hpp @@ -0,0 +1,31 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "FilterTest.hpp" +#include "Json.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ActorRandomChanceTest : public FilterTest { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ACTORRANDOMCHANCETEST +public: + class ActorRandomChanceTest& operator=(class ActorRandomChanceTest const &) = delete; + ActorRandomChanceTest(class ActorRandomChanceTest const &) = delete; + ActorRandomChanceTest() = delete; +#endif + +public: + /*0*/ virtual ~ActorRandomChanceTest(); + /*2*/ virtual bool evaluate(struct FilterContext const &) const; + /*4*/ virtual class gsl::basic_string_span getName() const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ACTORRANDOMCHANCETEST +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ActorRiderCountTest.hpp b/LiteLoader/Header/MC/ActorRiderCountTest.hpp new file mode 100644 index 0000000..01a0cf5 --- /dev/null +++ b/LiteLoader/Header/MC/ActorRiderCountTest.hpp @@ -0,0 +1,31 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "FilterTest.hpp" +#include "Json.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ActorRiderCountTest : public FilterTest { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ACTORRIDERCOUNTTEST +public: + class ActorRiderCountTest& operator=(class ActorRiderCountTest const &) = delete; + ActorRiderCountTest(class ActorRiderCountTest const &) = delete; + ActorRiderCountTest() = delete; +#endif + +public: + /*0*/ virtual ~ActorRiderCountTest(); + /*2*/ virtual bool evaluate(struct FilterContext const &) const; + /*4*/ virtual class gsl::basic_string_span getName() const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ACTORRIDERCOUNTTEST +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ActorServerCommandOrigin.hpp b/LiteLoader/Header/MC/ActorServerCommandOrigin.hpp new file mode 100644 index 0000000..c0e823c --- /dev/null +++ b/LiteLoader/Header/MC/ActorServerCommandOrigin.hpp @@ -0,0 +1,34 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Json.hpp" +#include "ActorCommandOrigin.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ActorServerCommandOrigin : public ActorCommandOrigin { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ACTORSERVERCOMMANDORIGIN +public: + class ActorServerCommandOrigin& operator=(class ActorServerCommandOrigin const &) = delete; + ActorServerCommandOrigin(class ActorServerCommandOrigin const &) = delete; + ActorServerCommandOrigin() = delete; +#endif + +public: + /*0*/ virtual ~ActorServerCommandOrigin(); + /*8*/ virtual enum CommandPermissionLevel getPermissionsLevel() const; + /*9*/ virtual std::unique_ptr clone() const; + /*17*/ virtual bool isSelectorExpansionAllowed() const; + /*21*/ virtual enum CommandOriginType getOriginType() const; + /*26*/ virtual class CommandBlockActor * getBlockEntity() const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ACTORSERVERCOMMANDORIGIN +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ActorSkeletalAnimation.hpp b/LiteLoader/Header/MC/ActorSkeletalAnimation.hpp new file mode 100644 index 0000000..cfcbb13 --- /dev/null +++ b/LiteLoader/Header/MC/ActorSkeletalAnimation.hpp @@ -0,0 +1,32 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ActorSkeletalAnimation { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ACTORSKELETALANIMATION +public: + class ActorSkeletalAnimation& operator=(class ActorSkeletalAnimation const &) = delete; + ActorSkeletalAnimation(class ActorSkeletalAnimation const &) = delete; + ActorSkeletalAnimation() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ACTORSKELETALANIMATION +#endif + MCAPI ActorSkeletalAnimation(std::string const &, bool, std::string const &); + MCAPI class ActorAnimationEvent & addActorEvent(float, std::string const &, enum CurrentCmdVersion); + MCAPI class ActorParticleEffectEvent & addParticleEffectEvent(float); + MCAPI class ActorSoundEffectEvent & addSoundEffectEvent(float); + MCAPI void initPrecomputedInterpolation(); + MCAPI ~ActorSkeletalAnimation(); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ActorSkeletalAnimationPlayer.hpp b/LiteLoader/Header/MC/ActorSkeletalAnimationPlayer.hpp new file mode 100644 index 0000000..312d797 --- /dev/null +++ b/LiteLoader/Header/MC/ActorSkeletalAnimationPlayer.hpp @@ -0,0 +1,36 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ActorSkeletalAnimationPlayer { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ACTORSKELETALANIMATIONPLAYER +public: + class ActorSkeletalAnimationPlayer& operator=(class ActorSkeletalAnimationPlayer const &) = delete; + ActorSkeletalAnimationPlayer(class ActorSkeletalAnimationPlayer const &) = delete; + ActorSkeletalAnimationPlayer() = delete; +#endif + +public: + /*0*/ virtual ~ActorSkeletalAnimationPlayer(); + /*1*/ virtual void applyToPose(class RenderParams &, class std::unordered_map, struct std::hash, struct std::equal_to, class std::allocator>>> &, float); + /*2*/ virtual void resetAnimation(); + /*3*/ virtual void buildBoneToPartMapping(class AnimationComponent &); + /*4*/ virtual void bindParticleEffects(class std::unordered_map, struct std::equal_to, class std::allocator>> const &); + /*5*/ virtual void bindSoundEffects(class std::unordered_map, struct std::equal_to, class std::allocator>> const &); + /*6*/ virtual bool hasAnimationFinished() const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ACTORSKELETALANIMATIONPLAYER + MCVAPI class ActorAnimationPlayer * findAnimation(class HashedString const &); + MCVAPI enum ActorAnimationType getAnimationType() const; +#endif + MCAPI ActorSkeletalAnimationPlayer(class HashedString const &, class ActorSkeletalAnimationPtr, class AnimationComponent &, class ExpressionNode const &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ActorSkeletalAnimationPtr.hpp b/LiteLoader/Header/MC/ActorSkeletalAnimationPtr.hpp new file mode 100644 index 0000000..084d477 --- /dev/null +++ b/LiteLoader/Header/MC/ActorSkeletalAnimationPtr.hpp @@ -0,0 +1,28 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ActorSkeletalAnimationPtr { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ACTORSKELETALANIMATIONPTR +public: + class ActorSkeletalAnimationPtr& operator=(class ActorSkeletalAnimationPtr const &) = delete; + ActorSkeletalAnimationPtr(class ActorSkeletalAnimationPtr const &) = delete; + ActorSkeletalAnimationPtr() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ACTORSKELETALANIMATIONPTR +#endif + MCAPI ~ActorSkeletalAnimationPtr(); + MCAPI static class ActorSkeletalAnimationPtr const NONE; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ActorSpawnRuleBase.hpp b/LiteLoader/Header/MC/ActorSpawnRuleBase.hpp new file mode 100644 index 0000000..acd2533 --- /dev/null +++ b/LiteLoader/Header/MC/ActorSpawnRuleBase.hpp @@ -0,0 +1,35 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Json.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ActorSpawnRuleBase { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ACTORSPAWNRULEBASE +public: + class ActorSpawnRuleBase& operator=(class ActorSpawnRuleBase const &) = delete; + ActorSpawnRuleBase(class ActorSpawnRuleBase const &) = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ACTORSPAWNRULEBASE +#endif + MCAPI ActorSpawnRuleBase(); + +//protected: + MCAPI void _applySpawnCondition(class std::function, class Json::Value &, class MobSpawnRules const &, std::string const &); + MCAPI void _getResources(class ResourcePackManager &, class MobSpawnRules const &, class std::function); + MCAPI bool _readJsonHeader(std::string &&, class std::unordered_map, struct std::equal_to, class std::allocator>> &); + MCAPI void _registerSpawnRules(class std::function, class MobSpawnRules const &, class Json::Value &, std::string const &); + +protected: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ActorSpawnRuleGroup.hpp b/LiteLoader/Header/MC/ActorSpawnRuleGroup.hpp new file mode 100644 index 0000000..f15481a --- /dev/null +++ b/LiteLoader/Header/MC/ActorSpawnRuleGroup.hpp @@ -0,0 +1,36 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Json.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ActorSpawnRuleGroup { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ACTORSPAWNRULEGROUP +public: + class ActorSpawnRuleGroup& operator=(class ActorSpawnRuleGroup const &) = delete; + ActorSpawnRuleGroup(class ActorSpawnRuleGroup const &) = delete; + ActorSpawnRuleGroup() = delete; +#endif + +public: + /*0*/ virtual ~ActorSpawnRuleGroup(); + /*1*/ virtual std::string const & getRootKey(); + /*2*/ virtual std::string const & getFileType(); + /*3*/ virtual bool processPopulationControl(std::string const &, class Json::Value &); + /*4*/ virtual void readResourceFiles(class ResourcePackManager &, class std::unordered_map, struct std::equal_to, class std::allocator>> &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ACTORSPAWNRULEGROUP +#endif + MCAPI int getActorSpawnPool(struct ActorDefinitionIdentifier const &) const; + MCAPI int getDelayEnd(std::string) const; + MCAPI void offSetDelayByCurrentTick(struct Tick const &); + MCAPI void resetDelayEnd(class MobSpawnRules, unsigned __int64, class Random &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ActorSurfaceMobTest.hpp b/LiteLoader/Header/MC/ActorSurfaceMobTest.hpp new file mode 100644 index 0000000..bc794e4 --- /dev/null +++ b/LiteLoader/Header/MC/ActorSurfaceMobTest.hpp @@ -0,0 +1,31 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "FilterTest.hpp" +#include "Json.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ActorSurfaceMobTest : public FilterTest { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ACTORSURFACEMOBTEST +public: + class ActorSurfaceMobTest& operator=(class ActorSurfaceMobTest const &) = delete; + ActorSurfaceMobTest(class ActorSurfaceMobTest const &) = delete; + ActorSurfaceMobTest() = delete; +#endif + +public: + /*0*/ virtual ~ActorSurfaceMobTest(); + /*2*/ virtual bool evaluate(struct FilterContext const &) const; + /*4*/ virtual class gsl::basic_string_span getName() const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ACTORSURFACEMOBTEST +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ActorTargetFilter.hpp b/LiteLoader/Header/MC/ActorTargetFilter.hpp new file mode 100644 index 0000000..d341fc2 --- /dev/null +++ b/LiteLoader/Header/MC/ActorTargetFilter.hpp @@ -0,0 +1,26 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +struct ActorTargetFilter { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ACTORTARGETFILTER +public: + struct ActorTargetFilter& operator=(struct ActorTargetFilter const &) = delete; + ActorTargetFilter(struct ActorTargetFilter const &) = delete; + ActorTargetFilter() = delete; +#endif +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ACTORTARGETFILTER +#endif + MCAPI static class std::unordered_map, struct std::equal_to, class std::allocator>> ConditionPredicates; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ActorTerrainInterlockData.hpp b/LiteLoader/Header/MC/ActorTerrainInterlockData.hpp new file mode 100644 index 0000000..21634ca --- /dev/null +++ b/LiteLoader/Header/MC/ActorTerrainInterlockData.hpp @@ -0,0 +1,27 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ActorTerrainInterlockData { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ACTORTERRAININTERLOCKDATA +public: + class ActorTerrainInterlockData& operator=(class ActorTerrainInterlockData const &) = delete; + ActorTerrainInterlockData(class ActorTerrainInterlockData const &) = delete; + ActorTerrainInterlockData() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ACTORTERRAININTERLOCKDATA +#endif + MCAPI void setCreationTime(); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ActorTrustsSubjectTest.hpp b/LiteLoader/Header/MC/ActorTrustsSubjectTest.hpp new file mode 100644 index 0000000..e9593f0 --- /dev/null +++ b/LiteLoader/Header/MC/ActorTrustsSubjectTest.hpp @@ -0,0 +1,31 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "FilterTest.hpp" +#include "Json.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ActorTrustsSubjectTest : public FilterTest { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ACTORTRUSTSSUBJECTTEST +public: + class ActorTrustsSubjectTest& operator=(class ActorTrustsSubjectTest const &) = delete; + ActorTrustsSubjectTest(class ActorTrustsSubjectTest const &) = delete; + ActorTrustsSubjectTest() = delete; +#endif + +public: + /*0*/ virtual ~ActorTrustsSubjectTest(); + /*2*/ virtual bool evaluate(struct FilterContext const &) const; + /*4*/ virtual class gsl::basic_string_span getName() const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ACTORTRUSTSSUBJECTTEST +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ActorUndergroundTest.hpp b/LiteLoader/Header/MC/ActorUndergroundTest.hpp new file mode 100644 index 0000000..b490f8a --- /dev/null +++ b/LiteLoader/Header/MC/ActorUndergroundTest.hpp @@ -0,0 +1,31 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "FilterTest.hpp" +#include "Json.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ActorUndergroundTest : public FilterTest { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ACTORUNDERGROUNDTEST +public: + class ActorUndergroundTest& operator=(class ActorUndergroundTest const &) = delete; + ActorUndergroundTest(class ActorUndergroundTest const &) = delete; + ActorUndergroundTest() = delete; +#endif + +public: + /*0*/ virtual ~ActorUndergroundTest(); + /*2*/ virtual bool evaluate(struct FilterContext const &) const; + /*4*/ virtual class gsl::basic_string_span getName() const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ACTORUNDERGROUNDTEST +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ActorUnderwaterTest.hpp b/LiteLoader/Header/MC/ActorUnderwaterTest.hpp new file mode 100644 index 0000000..7a34481 --- /dev/null +++ b/LiteLoader/Header/MC/ActorUnderwaterTest.hpp @@ -0,0 +1,31 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "FilterTest.hpp" +#include "Json.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ActorUnderwaterTest : public FilterTest { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ACTORUNDERWATERTEST +public: + class ActorUnderwaterTest& operator=(class ActorUnderwaterTest const &) = delete; + ActorUnderwaterTest(class ActorUnderwaterTest const &) = delete; + ActorUnderwaterTest() = delete; +#endif + +public: + /*0*/ virtual ~ActorUnderwaterTest(); + /*2*/ virtual bool evaluate(struct FilterContext const &) const; + /*4*/ virtual class gsl::basic_string_span getName() const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ACTORUNDERWATERTEST +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ActorUniqueID.hpp b/LiteLoader/Header/MC/ActorUniqueID.hpp new file mode 100644 index 0000000..e7b8176 --- /dev/null +++ b/LiteLoader/Header/MC/ActorUniqueID.hpp @@ -0,0 +1,48 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +struct ActorUniqueID { + +#define AFTER_EXTRA +// Add Member There + + long long id; + ActorUniqueID() + { + id = -1; + } + + ActorUniqueID(long long i) + { + id = i; + } + + inline long long get() const + { + return id; + } + + inline operator long long() const + { + return id; + } + +#define DISABLE_CONSTRUCTOR_PREVENTION_ACTORUNIQUEID +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ACTORUNIQUEID +public: + struct ActorUniqueID& operator=(struct ActorUniqueID const &) = delete; + ActorUniqueID(struct ActorUniqueID const &) = delete; + ActorUniqueID() = delete; +#endif +public: + MCAPI unsigned __int64 getHash() const; + MCAPI static struct ActorUniqueID const INVALID_ID; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/AddActorBasePacket.hpp b/LiteLoader/Header/MC/AddActorBasePacket.hpp new file mode 100644 index 0000000..c5f9f4a --- /dev/null +++ b/LiteLoader/Header/MC/AddActorBasePacket.hpp @@ -0,0 +1,27 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class AddActorBasePacket { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ADDACTORBASEPACKET +public: + class AddActorBasePacket& operator=(class AddActorBasePacket const &) = delete; + AddActorBasePacket(class AddActorBasePacket const &) = delete; + AddActorBasePacket() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ADDACTORBASEPACKET + MCVAPI ~AddActorBasePacket(); +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/AddActorPacket.hpp b/LiteLoader/Header/MC/AddActorPacket.hpp new file mode 100644 index 0000000..25029f7 --- /dev/null +++ b/LiteLoader/Header/MC/AddActorPacket.hpp @@ -0,0 +1,33 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Packet.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class AddActorPacket : public Packet { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ADDACTORPACKET +public: + class AddActorPacket& operator=(class AddActorPacket const &) = delete; + AddActorPacket(class AddActorPacket const &) = delete; + AddActorPacket() = delete; +#endif + +public: + /*0*/ virtual ~AddActorPacket(); + /*1*/ virtual enum MinecraftPacketIds getId() const; + /*2*/ virtual std::string getName() const; + /*3*/ virtual void write(class BinaryStream &) const; + /*4*/ virtual enum StreamReadResult read(class ReadOnlyBinaryStream &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ADDACTORPACKET +#endif + MCAPI AddActorPacket(class Actor &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/AddBehaviorTreePacket.hpp b/LiteLoader/Header/MC/AddBehaviorTreePacket.hpp new file mode 100644 index 0000000..99402c3 --- /dev/null +++ b/LiteLoader/Header/MC/AddBehaviorTreePacket.hpp @@ -0,0 +1,32 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Packet.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class AddBehaviorTreePacket : public Packet { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ADDBEHAVIORTREEPACKET +public: + class AddBehaviorTreePacket& operator=(class AddBehaviorTreePacket const &) = delete; + AddBehaviorTreePacket(class AddBehaviorTreePacket const &) = delete; + AddBehaviorTreePacket() = delete; +#endif + +public: + /*0*/ virtual ~AddBehaviorTreePacket(); + /*1*/ virtual enum MinecraftPacketIds getId() const; + /*2*/ virtual std::string getName() const; + /*3*/ virtual void write(class BinaryStream &) const; + /*4*/ virtual enum StreamReadResult read(class ReadOnlyBinaryStream &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ADDBEHAVIORTREEPACKET +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/AddEntityPacket.hpp b/LiteLoader/Header/MC/AddEntityPacket.hpp new file mode 100644 index 0000000..4b00702 --- /dev/null +++ b/LiteLoader/Header/MC/AddEntityPacket.hpp @@ -0,0 +1,30 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Packet.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class AddEntityPacket : public Packet { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ADDENTITYPACKET +public: + class AddEntityPacket& operator=(class AddEntityPacket const &) = delete; + AddEntityPacket(class AddEntityPacket const &) = delete; + AddEntityPacket() = delete; +#endif + +public: + /*0*/ virtual ~AddEntityPacket(); + /*1*/ virtual enum MinecraftPacketIds getId() const; + /*2*/ virtual std::string getName() const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ADDENTITYPACKET +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/AddItemActorPacket.hpp b/LiteLoader/Header/MC/AddItemActorPacket.hpp new file mode 100644 index 0000000..8e9931f --- /dev/null +++ b/LiteLoader/Header/MC/AddItemActorPacket.hpp @@ -0,0 +1,32 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Packet.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class AddItemActorPacket : public Packet { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ADDITEMACTORPACKET +public: + class AddItemActorPacket& operator=(class AddItemActorPacket const &) = delete; + AddItemActorPacket(class AddItemActorPacket const &) = delete; + AddItemActorPacket() = delete; +#endif + +public: + /*0*/ virtual ~AddItemActorPacket(); + /*1*/ virtual enum MinecraftPacketIds getId() const; + /*2*/ virtual std::string getName() const; + /*3*/ virtual void write(class BinaryStream &) const; + /*4*/ virtual enum StreamReadResult read(class ReadOnlyBinaryStream &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ADDITEMACTORPACKET +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/AddOceanTemperatureLayer.hpp b/LiteLoader/Header/MC/AddOceanTemperatureLayer.hpp new file mode 100644 index 0000000..3c8c677 --- /dev/null +++ b/LiteLoader/Header/MC/AddOceanTemperatureLayer.hpp @@ -0,0 +1,30 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class AddOceanTemperatureLayer { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ADDOCEANTEMPERATURELAYER +public: + class AddOceanTemperatureLayer& operator=(class AddOceanTemperatureLayer const &) = delete; + AddOceanTemperatureLayer(class AddOceanTemperatureLayer const &) = delete; + AddOceanTemperatureLayer() = delete; +#endif + +public: + /*0*/ virtual ~AddOceanTemperatureLayer(); + /*1*/ virtual void __unk_vfn_1(); + /*2*/ virtual void __unk_vfn_2(); + /*3*/ virtual void _fillArea(class LayerDetails::WorkingData &, int, int, int, int) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ADDOCEANTEMPERATURELAYER +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/AddPaintingPacket.hpp b/LiteLoader/Header/MC/AddPaintingPacket.hpp new file mode 100644 index 0000000..58d2346 --- /dev/null +++ b/LiteLoader/Header/MC/AddPaintingPacket.hpp @@ -0,0 +1,32 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Packet.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class AddPaintingPacket : public Packet { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ADDPAINTINGPACKET +public: + class AddPaintingPacket& operator=(class AddPaintingPacket const &) = delete; + AddPaintingPacket(class AddPaintingPacket const &) = delete; + AddPaintingPacket() = delete; +#endif + +public: + /*0*/ virtual ~AddPaintingPacket(); + /*1*/ virtual enum MinecraftPacketIds getId() const; + /*2*/ virtual std::string getName() const; + /*3*/ virtual void write(class BinaryStream &) const; + /*4*/ virtual enum StreamReadResult read(class ReadOnlyBinaryStream &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ADDPAINTINGPACKET +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/AddPlayerPacket.hpp b/LiteLoader/Header/MC/AddPlayerPacket.hpp new file mode 100644 index 0000000..4e6230b --- /dev/null +++ b/LiteLoader/Header/MC/AddPlayerPacket.hpp @@ -0,0 +1,33 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Packet.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class AddPlayerPacket : public Packet { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ADDPLAYERPACKET +public: + class AddPlayerPacket& operator=(class AddPlayerPacket const &) = delete; + AddPlayerPacket(class AddPlayerPacket const &) = delete; + AddPlayerPacket() = delete; +#endif + +public: + /*0*/ virtual ~AddPlayerPacket(); + /*1*/ virtual enum MinecraftPacketIds getId() const; + /*2*/ virtual std::string getName() const; + /*3*/ virtual void write(class BinaryStream &) const; + /*4*/ virtual enum StreamReadResult read(class ReadOnlyBinaryStream &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ADDPLAYERPACKET +#endif + MCAPI AddPlayerPacket(class Player &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/AddRiderComponent.hpp b/LiteLoader/Header/MC/AddRiderComponent.hpp new file mode 100644 index 0000000..918765a --- /dev/null +++ b/LiteLoader/Header/MC/AddRiderComponent.hpp @@ -0,0 +1,27 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class AddRiderComponent { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ADDRIDERCOMPONENT +public: + class AddRiderComponent& operator=(class AddRiderComponent const &) = delete; + AddRiderComponent(class AddRiderComponent const &) = delete; + AddRiderComponent() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ADDRIDERCOMPONENT +#endif + MCAPI ~AddRiderComponent(); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/AdmireItemComponent.hpp b/LiteLoader/Header/MC/AdmireItemComponent.hpp new file mode 100644 index 0000000..2e9f08d --- /dev/null +++ b/LiteLoader/Header/MC/AdmireItemComponent.hpp @@ -0,0 +1,30 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class AdmireItemComponent { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ADMIREITEMCOMPONENT +public: + class AdmireItemComponent& operator=(class AdmireItemComponent const &) = delete; + AdmireItemComponent(class AdmireItemComponent const &) = delete; + AdmireItemComponent() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ADMIREITEMCOMPONENT +#endif + MCAPI AdmireItemComponent(class AdmireItemComponent &&); + MCAPI void onAdmireItemPickedUp(class Actor const &, class ItemStack const &); + MCAPI void stopAdmiring(); + MCAPI ~AdmireItemComponent(); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/AdmireItemDefinition.hpp b/LiteLoader/Header/MC/AdmireItemDefinition.hpp new file mode 100644 index 0000000..58b9cbf --- /dev/null +++ b/LiteLoader/Header/MC/AdmireItemDefinition.hpp @@ -0,0 +1,28 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "JsonUtil.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class AdmireItemDefinition { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ADMIREITEMDEFINITION +public: + class AdmireItemDefinition& operator=(class AdmireItemDefinition const &) = delete; + AdmireItemDefinition(class AdmireItemDefinition const &) = delete; + AdmireItemDefinition() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ADMIREITEMDEFINITION +#endif + MCAPI static void buildSchema(class std::shared_ptr> &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/AdmireItemGoal.hpp b/LiteLoader/Header/MC/AdmireItemGoal.hpp new file mode 100644 index 0000000..ee47b65 --- /dev/null +++ b/LiteLoader/Header/MC/AdmireItemGoal.hpp @@ -0,0 +1,39 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class AdmireItemGoal { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ADMIREITEMGOAL +public: + class AdmireItemGoal& operator=(class AdmireItemGoal const &) = delete; + AdmireItemGoal(class AdmireItemGoal const &) = delete; + AdmireItemGoal() = delete; +#endif + +public: + /*0*/ virtual ~AdmireItemGoal(); + /*1*/ virtual bool canUse(); + /*2*/ virtual bool canContinueToUse(); + /*3*/ virtual void __unk_vfn_3(); + /*4*/ virtual void start(); + /*5*/ virtual void stop(); + /*6*/ virtual void tick(); + /*7*/ virtual void appendDebugInfo(std::string &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ADMIREITEMGOAL +#endif + +//private: + MCAPI void _consumeItem(); + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/AdventureSettingsPacket.hpp b/LiteLoader/Header/MC/AdventureSettingsPacket.hpp new file mode 100644 index 0000000..76c5264 --- /dev/null +++ b/LiteLoader/Header/MC/AdventureSettingsPacket.hpp @@ -0,0 +1,34 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Packet.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class AdventureSettingsPacket : public Packet { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ADVENTURESETTINGSPACKET +public: + class AdventureSettingsPacket& operator=(class AdventureSettingsPacket const &) = delete; + AdventureSettingsPacket(class AdventureSettingsPacket const &) = delete; + AdventureSettingsPacket() = delete; +#endif + +public: + /*0*/ virtual ~AdventureSettingsPacket(); + /*1*/ virtual enum MinecraftPacketIds getId() const; + /*2*/ virtual std::string getName() const; + /*3*/ virtual void write(class BinaryStream &) const; + /*4*/ virtual enum StreamReadResult read(class ReadOnlyBinaryStream &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ADVENTURESETTINGSPACKET +#endif + MCAPI AdventureSettingsPacket(struct AdventureSettings const &, class Abilities const &, struct ActorUniqueID, bool); + MCAPI void fillIn(struct AdventureSettings &, class Abilities &) const; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/AgeableComponent.hpp b/LiteLoader/Header/MC/AgeableComponent.hpp new file mode 100644 index 0000000..b57e1ce --- /dev/null +++ b/LiteLoader/Header/MC/AgeableComponent.hpp @@ -0,0 +1,27 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class AgeableComponent { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_AGEABLECOMPONENT +public: + class AgeableComponent& operator=(class AgeableComponent const &) = delete; + AgeableComponent(class AgeableComponent const &) = delete; + AgeableComponent() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_AGEABLECOMPONENT +#endif + MCAPI bool getInteraction(class Actor &, class Player &, class ActorInteraction &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/AgeableDefinition.hpp b/LiteLoader/Header/MC/AgeableDefinition.hpp new file mode 100644 index 0000000..ab25044 --- /dev/null +++ b/LiteLoader/Header/MC/AgeableDefinition.hpp @@ -0,0 +1,30 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "JsonUtil.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class AgeableDefinition { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_AGEABLEDEFINITION +public: + class AgeableDefinition& operator=(class AgeableDefinition const &) = delete; + AgeableDefinition(class AgeableDefinition const &) = delete; + AgeableDefinition() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_AGEABLEDEFINITION +#endif + MCAPI void addDropItemByName(std::string const &); + MCAPI void addFeedItemByName(std::string const &); + MCAPI static void buildSchema(class std::shared_ptr> &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/AgeableSystem.hpp b/LiteLoader/Header/MC/AgeableSystem.hpp new file mode 100644 index 0000000..dd4cf06 --- /dev/null +++ b/LiteLoader/Header/MC/AgeableSystem.hpp @@ -0,0 +1,28 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class AgeableSystem { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_AGEABLESYSTEM +public: + class AgeableSystem& operator=(class AgeableSystem const &) = delete; + AgeableSystem(class AgeableSystem const &) = delete; + AgeableSystem() = delete; +#endif + +public: + /*0*/ virtual ~AgeableSystem(); + /*1*/ virtual void tick(class EntityRegistry &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_AGEABLESYSTEM +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/Agent.hpp b/LiteLoader/Header/MC/Agent.hpp new file mode 100644 index 0000000..f9dedd4 --- /dev/null +++ b/LiteLoader/Header/MC/Agent.hpp @@ -0,0 +1,81 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Actor.hpp" +#include "Mob.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class Agent : public Mob { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_AGENT +public: + class Agent& operator=(class Agent const &) = delete; + Agent(class Agent const &) = delete; + Agent() = delete; +#endif + +public: + /*3*/ virtual void initializeComponents(enum Actor::InitializationMethod, class VariantParameterList const &); + /*7*/ virtual ~Agent(); + /*30*/ virtual void __unk_vfn_30(); + /*33*/ virtual void teleportTo(class Vec3 const &, bool, int, int, struct ActorUniqueID const &); + /*39*/ virtual void normalTick(); + /*52*/ virtual bool isInvisible() const; + /*53*/ virtual bool canShowNameTag() const; + /*54*/ virtual void __unk_vfn_54(); + /*58*/ virtual std::string getFormattedNameTag() const; + /*61*/ virtual void __unk_vfn_61(); + /*76*/ virtual void __unk_vfn_76(); + /*81*/ virtual void __unk_vfn_81(); + /*87*/ virtual bool isPickable(); + /*88*/ virtual void __unk_vfn_88(); + /*90*/ virtual void __unk_vfn_90(); + /*98*/ virtual void __unk_vfn_98(); + /*100*/ virtual void __unk_vfn_100(); + /*121*/ virtual void __unk_vfn_121(); + /*132*/ virtual void handleEntityEvent(enum ActorEvent, int); + /*151*/ virtual void setCarriedItem(class ItemStack const &); + /*169*/ virtual void __unk_vfn_169(); + /*180*/ virtual bool canBePulledIntoVehicle() const; + /*182*/ virtual void __unk_vfn_182(); + /*197*/ virtual bool canBeAffected(class MobEffectInstance const &) const; + /*206*/ virtual void __unk_vfn_206(); + /*207*/ virtual void __unk_vfn_207(); + /*212*/ virtual bool isWorldBuilder(); + /*214*/ virtual bool isAdventure() const; + /*228*/ virtual void __unk_vfn_228(); + /*231*/ virtual void __unk_vfn_231(); + /*232*/ virtual void kill(); + /*235*/ virtual void updateEntitySpecificMolangVariables(class RenderParams &); + /*238*/ virtual void __unk_vfn_238(); + /*240*/ virtual bool _hurt(class ActorDamageSource const &, int, bool, bool); + /*246*/ virtual void __unk_vfn_246(); + /*257*/ virtual void __unk_vfn_257(); + /*258*/ virtual void knockback(class Actor *, int, float, float, float, float, float); + /*275*/ virtual void travel(float, float, float); + /*278*/ virtual void aiStep(); + /*290*/ virtual void __unk_vfn_290(); + /*300*/ virtual void __unk_vfn_300(); + /*324*/ virtual bool createAIGoals(); + /*331*/ virtual bool canExistWhenDisallowMob() const; + /*332*/ virtual void __unk_vfn_332(); + /*336*/ virtual std::unique_ptr initBodyControl(); + /*348*/ virtual void __unk_vfn_348(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_AGENT + MCVAPI bool breaksFallingBlocks() const; + MCVAPI bool getAlwaysShowNameTag() const; + MCVAPI bool interactPreventDefault(); + MCVAPI bool isTargetable() const; +#endif + MCAPI Agent(class ActorDefinitionGroup *, struct ActorDefinitionIdentifier const &); + MCAPI void setNameTagFromOwner(class Player const &); + MCAPI static class Vec3 roundTeleportPos(class Vec3 const &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/AgentBodyControl.hpp b/LiteLoader/Header/MC/AgentBodyControl.hpp new file mode 100644 index 0000000..f19ec6c --- /dev/null +++ b/LiteLoader/Header/MC/AgentBodyControl.hpp @@ -0,0 +1,28 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class AgentBodyControl { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_AGENTBODYCONTROL +public: + class AgentBodyControl& operator=(class AgentBodyControl const &) = delete; + AgentBodyControl(class AgentBodyControl const &) = delete; + AgentBodyControl() = delete; +#endif + +public: + /*0*/ virtual ~AgentBodyControl(); + /*1*/ virtual void clientTick(class Mob &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_AGENTBODYCONTROL +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/AgentCommand.hpp b/LiteLoader/Header/MC/AgentCommand.hpp new file mode 100644 index 0000000..382996a --- /dev/null +++ b/LiteLoader/Header/MC/AgentCommand.hpp @@ -0,0 +1,41 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Command.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class AgentCommand : public Command { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_AGENTCOMMAND +public: + class AgentCommand& operator=(class AgentCommand const &) = delete; + AgentCommand(class AgentCommand const &) = delete; + AgentCommand() = delete; +#endif + +public: + /*0*/ virtual ~AgentCommand(); + /*1*/ virtual void execute(class CommandOrigin const &, class CommandOutput &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_AGENTCOMMAND +#endif + MCAPI static void setup(class CommandRegistry &); + +//private: + MCAPI void createAgent(class Player &, class CommandOrigin const &, class CommandOutput &) const; + MCAPI void createAgentOutputSuccess(class CommandOutput &, bool) const; + MCAPI void reportSuccess(bool, class CommandOutput &) const; + MCAPI bool runAgentCommand(class CommandOrigin const &, class CommandOutput &, class std::function (class Player &)>) const; + MCAPI void setAgentOwner(class Agent &, class Player &) const; + MCAPI void tpAgent(class Player &, class CommandOrigin const &, class CommandOutput &) const; + MCAPI static bool validateRange(class Agent *, class CommandOrigin const &, class CommandOutput &); + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/AgentCommandExecutionGoal.hpp b/LiteLoader/Header/MC/AgentCommandExecutionGoal.hpp new file mode 100644 index 0000000..8c7b414 --- /dev/null +++ b/LiteLoader/Header/MC/AgentCommandExecutionGoal.hpp @@ -0,0 +1,34 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class AgentCommandExecutionGoal { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_AGENTCOMMANDEXECUTIONGOAL +public: + class AgentCommandExecutionGoal& operator=(class AgentCommandExecutionGoal const &) = delete; + AgentCommandExecutionGoal(class AgentCommandExecutionGoal const &) = delete; + AgentCommandExecutionGoal() = delete; +#endif + +public: + /*0*/ virtual ~AgentCommandExecutionGoal(); + /*1*/ virtual bool canUse(); + /*2*/ virtual void __unk_vfn_2(); + /*3*/ virtual bool canBeInterrupted(); + /*4*/ virtual void start(); + /*5*/ virtual void stop(); + /*6*/ virtual void __unk_vfn_6(); + /*7*/ virtual void appendDebugInfo(std::string &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_AGENTCOMMANDEXECUTIONGOAL +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/AgentCommandSystem.hpp b/LiteLoader/Header/MC/AgentCommandSystem.hpp new file mode 100644 index 0000000..03ff49c --- /dev/null +++ b/LiteLoader/Header/MC/AgentCommandSystem.hpp @@ -0,0 +1,28 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class AgentCommandSystem { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_AGENTCOMMANDSYSTEM +public: + class AgentCommandSystem& operator=(class AgentCommandSystem const &) = delete; + AgentCommandSystem(class AgentCommandSystem const &) = delete; + AgentCommandSystem() = delete; +#endif + +public: + /*0*/ virtual ~AgentCommandSystem(); + /*1*/ virtual void tick(class EntityRegistry &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_AGENTCOMMANDSYSTEM +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/AgentLookControl.hpp b/LiteLoader/Header/MC/AgentLookControl.hpp new file mode 100644 index 0000000..5e6bc20 --- /dev/null +++ b/LiteLoader/Header/MC/AgentLookControl.hpp @@ -0,0 +1,30 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class AgentLookControl { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_AGENTLOOKCONTROL +public: + class AgentLookControl& operator=(class AgentLookControl const &) = delete; + AgentLookControl(class AgentLookControl const &) = delete; + AgentLookControl() = delete; +#endif + +public: + /*0*/ virtual ~AgentLookControl(); + /*1*/ virtual void initializeInternal(class Mob &); + /*2*/ virtual void tick(class Mob &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_AGENTLOOKCONTROL +#endif + MCAPI static float sBaseYMax; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/AirBlock.hpp b/LiteLoader/Header/MC/AirBlock.hpp new file mode 100644 index 0000000..eccf6eb --- /dev/null +++ b/LiteLoader/Header/MC/AirBlock.hpp @@ -0,0 +1,79 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "BlockLegacy.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class AirBlock : public BlockLegacy { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_AIRBLOCK +public: + class AirBlock& operator=(class AirBlock const &) = delete; + AirBlock(class AirBlock const &) = delete; + AirBlock() = delete; +#endif + +public: + /*0*/ virtual ~AirBlock(); + /*1*/ virtual void tick(class BlockSource &, class BlockPos const &, class Random &) const; + /*5*/ virtual bool getCollisionShape(class AABB &, class Block const &, class BlockSource &, class BlockPos const &, class Actor *) const; + /*6*/ virtual bool isObstructingChests(class BlockSource &, class BlockPos const &) const; + /*9*/ virtual void addAABBs(class Block const &, class BlockSource &, class BlockPos const &, class AABB const *, std::vector &) const; + /*10*/ virtual class AABB const & getAABB(class BlockSource &, class BlockPos const &, class Block const &, class AABB &, bool) const; + /*11*/ virtual bool addCollisionShapes(class Block const &, class BlockSource &, class BlockPos const &, class AABB const *, std::vector &, class Actor *) const; + /*18*/ virtual void __unk_vfn_18(); + /*24*/ virtual void __unk_vfn_24(); + /*25*/ virtual void __unk_vfn_25(); + /*26*/ virtual void __unk_vfn_26(); + /*27*/ virtual void __unk_vfn_27(); + /*28*/ virtual void __unk_vfn_28(); + /*30*/ virtual void __unk_vfn_30(); + /*31*/ virtual void __unk_vfn_31(); + /*32*/ virtual void __unk_vfn_32(); + /*33*/ virtual void __unk_vfn_33(); + /*34*/ virtual void __unk_vfn_34(); + /*35*/ virtual void __unk_vfn_35(); + /*36*/ virtual void __unk_vfn_36(); + /*38*/ virtual void __unk_vfn_38(); + /*39*/ virtual void __unk_vfn_39(); + /*40*/ virtual void __unk_vfn_40(); + /*42*/ virtual void __unk_vfn_42(); + /*43*/ virtual void __unk_vfn_43(); + /*49*/ virtual void __unk_vfn_49(); + /*52*/ virtual void __unk_vfn_52(); + /*56*/ virtual bool checkIsPathable(class Actor &, class BlockPos const &, class BlockPos const &) const; + /*67*/ virtual void __unk_vfn_67(); + /*73*/ virtual void __unk_vfn_73(); + /*78*/ virtual bool mayPick() const; + /*79*/ virtual bool mayPick(class BlockSource &, class Block const &, bool) const; + /*80*/ virtual bool mayPlace(class BlockSource &, class BlockPos const &, unsigned char) const; + /*81*/ virtual bool mayPlace(class BlockSource &, class BlockPos const &) const; + /*83*/ virtual bool tryToPlace(class BlockSource &, class BlockPos const &, class Block const &, struct ActorBlockSyncMessage const *) const; + /*85*/ virtual void destroy(class BlockSource &, class BlockPos const &, class Block const &, class Actor *) const; + /*86*/ virtual bool playerWillDestroy(class Player &, class BlockPos const &, class Block const &) const; + /*87*/ virtual void __unk_vfn_87(); + /*93*/ virtual void spawnResources(class BlockSource &, class BlockPos const &, class Block const &, std::vector *, float, int, bool) const; + /*95*/ virtual void __unk_vfn_95(); + /*104*/ virtual void entityInside(class BlockSource &, class BlockPos const &, class Actor &) const; + /*109*/ virtual void __unk_vfn_109(); + /*116*/ virtual void __unk_vfn_116(); + /*118*/ virtual void __unk_vfn_118(); + /*119*/ virtual void __unk_vfn_119(); + /*137*/ virtual class AABB const & getVisualShapeInWorld(class Block const &, class BlockSource &, class BlockPos const &, class AABB &, bool) const; + /*138*/ virtual class AABB const & getVisualShape(class Block const &, class AABB &, bool) const; + /*142*/ virtual void __unk_vfn_142(); + /*146*/ virtual void animateTick(class BlockSource &, class BlockPos const &, class Random &) const; + /*158*/ virtual void __unk_vfn_158(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_AIRBLOCK + MCVAPI bool canBeSilkTouched() const; + MCVAPI bool canHaveExtraData() const; +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/AirBlockItem.hpp b/LiteLoader/Header/MC/AirBlockItem.hpp new file mode 100644 index 0000000..f4bc43d --- /dev/null +++ b/LiteLoader/Header/MC/AirBlockItem.hpp @@ -0,0 +1,44 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Item.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class AirBlockItem : public Item { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_AIRBLOCKITEM +public: + class AirBlockItem& operator=(class AirBlockItem const &) = delete; + AirBlockItem(class AirBlockItem const &) = delete; + AirBlockItem() = delete; +#endif + +public: + /*0*/ virtual ~AirBlockItem(); + /*5*/ virtual void __unk_vfn_5(); + /*26*/ virtual void __unk_vfn_26(); + /*27*/ virtual void __unk_vfn_27(); + /*31*/ virtual void __unk_vfn_31(); + /*32*/ virtual void __unk_vfn_32(); + /*34*/ virtual void __unk_vfn_34(); + /*37*/ virtual void __unk_vfn_37(); + /*43*/ virtual void __unk_vfn_43(); + /*46*/ virtual void __unk_vfn_46(); + /*47*/ virtual void __unk_vfn_47(); + /*49*/ virtual void __unk_vfn_49(); + /*50*/ virtual void __unk_vfn_50(); + /*79*/ virtual void __unk_vfn_79(); + /*80*/ virtual void __unk_vfn_80(); + /*90*/ virtual void __unk_vfn_90(); + /*97*/ virtual void __unk_vfn_97(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_AIRBLOCKITEM +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/AllWorkerConfigurations.hpp b/LiteLoader/Header/MC/AllWorkerConfigurations.hpp new file mode 100644 index 0000000..bc7ee78 --- /dev/null +++ b/LiteLoader/Header/MC/AllWorkerConfigurations.hpp @@ -0,0 +1,26 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class AllWorkerConfigurations { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ALLWORKERCONFIGURATIONS +public: + class AllWorkerConfigurations& operator=(class AllWorkerConfigurations const &) = delete; + AllWorkerConfigurations(class AllWorkerConfigurations const &) = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ALLWORKERCONFIGURATIONS +#endif + MCAPI AllWorkerConfigurations(); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/AmbientSoundIntervalDescription.hpp b/LiteLoader/Header/MC/AmbientSoundIntervalDescription.hpp new file mode 100644 index 0000000..f308a81 --- /dev/null +++ b/LiteLoader/Header/MC/AmbientSoundIntervalDescription.hpp @@ -0,0 +1,30 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Json.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +struct AmbientSoundIntervalDescription { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_AMBIENTSOUNDINTERVALDESCRIPTION +public: + struct AmbientSoundIntervalDescription& operator=(struct AmbientSoundIntervalDescription const &) = delete; + AmbientSoundIntervalDescription(struct AmbientSoundIntervalDescription const &) = delete; + AmbientSoundIntervalDescription() = delete; +#endif +public: + /*0*/ virtual char const * getJsonName() const; + /*1*/ virtual ~AmbientSoundIntervalDescription(); + /*2*/ virtual void deserializeData(class Json::Value &); + /*3*/ virtual void serializeData(class Json::Value &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_AMBIENTSOUNDINTERVALDESCRIPTION +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/AmphibiousMoveControl.hpp b/LiteLoader/Header/MC/AmphibiousMoveControl.hpp new file mode 100644 index 0000000..36daaa8 --- /dev/null +++ b/LiteLoader/Header/MC/AmphibiousMoveControl.hpp @@ -0,0 +1,29 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "MoveControl.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class AmphibiousMoveControl : public MoveControl { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_AMPHIBIOUSMOVECONTROL +public: + class AmphibiousMoveControl& operator=(class AmphibiousMoveControl const &) = delete; + AmphibiousMoveControl(class AmphibiousMoveControl const &) = delete; + AmphibiousMoveControl() = delete; +#endif + +public: + /*0*/ virtual ~AmphibiousMoveControl(); + /*2*/ virtual void tick(class MoveControlComponent &, class Mob &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_AMPHIBIOUSMOVECONTROL +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/AmphibiousMoveControlDescription.hpp b/LiteLoader/Header/MC/AmphibiousMoveControlDescription.hpp new file mode 100644 index 0000000..a86716c --- /dev/null +++ b/LiteLoader/Header/MC/AmphibiousMoveControlDescription.hpp @@ -0,0 +1,30 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Json.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +struct AmphibiousMoveControlDescription { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_AMPHIBIOUSMOVECONTROLDESCRIPTION +public: + struct AmphibiousMoveControlDescription& operator=(struct AmphibiousMoveControlDescription const &) = delete; + AmphibiousMoveControlDescription(struct AmphibiousMoveControlDescription const &) = delete; + AmphibiousMoveControlDescription() = delete; +#endif +public: + /*0*/ virtual char const * getJsonName() const; + /*1*/ virtual ~AmphibiousMoveControlDescription(); + /*2*/ virtual void deserializeData(class Json::Value &); + /*3*/ virtual void serializeData(class Json::Value &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_AMPHIBIOUSMOVECONTROLDESCRIPTION +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/Amplifier.hpp b/LiteLoader/Header/MC/Amplifier.hpp new file mode 100644 index 0000000..2d37d88 --- /dev/null +++ b/LiteLoader/Header/MC/Amplifier.hpp @@ -0,0 +1,30 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class Amplifier { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_AMPLIFIER +public: + class Amplifier& operator=(class Amplifier const &) = delete; + Amplifier(class Amplifier const &) = delete; + Amplifier() = delete; +#endif + +public: + /*0*/ virtual ~Amplifier(); + /*1*/ virtual float getAmount(int, float) const; + /*2*/ virtual bool shouldBuff(int, int) const; + /*3*/ virtual int getTickInterval(int) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_AMPLIFIER +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/AngryComponent.hpp b/LiteLoader/Header/MC/AngryComponent.hpp new file mode 100644 index 0000000..442996b --- /dev/null +++ b/LiteLoader/Header/MC/AngryComponent.hpp @@ -0,0 +1,30 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class AngryComponent { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ANGRYCOMPONENT +public: + class AngryComponent& operator=(class AngryComponent const &) = delete; + AngryComponent(class AngryComponent const &) = delete; + AngryComponent() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ANGRYCOMPONENT +#endif + MCAPI AngryComponent(class AngryComponent &&); + MCAPI bool canAttack(class Mob &, class Mob *, class Actor *, bool, bool); + MCAPI void restartTimer(class Mob &); + MCAPI ~AngryComponent(); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/AngryDefinition.hpp b/LiteLoader/Header/MC/AngryDefinition.hpp new file mode 100644 index 0000000..07a2240 --- /dev/null +++ b/LiteLoader/Header/MC/AngryDefinition.hpp @@ -0,0 +1,29 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "JsonUtil.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class AngryDefinition { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ANGRYDEFINITION +public: + class AngryDefinition& operator=(class AngryDefinition const &) = delete; + AngryDefinition(class AngryDefinition const &) = delete; + AngryDefinition() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ANGRYDEFINITION +#endif + MCAPI void addBroadcastTargetByName(std::string const &); + MCAPI static void buildSchema(class std::shared_ptr> &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/AngrySystem.hpp b/LiteLoader/Header/MC/AngrySystem.hpp new file mode 100644 index 0000000..ca096b2 --- /dev/null +++ b/LiteLoader/Header/MC/AngrySystem.hpp @@ -0,0 +1,33 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class AngrySystem { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ANGRYSYSTEM +public: + class AngrySystem& operator=(class AngrySystem const &) = delete; + AngrySystem(class AngrySystem const &) = delete; + AngrySystem() = delete; +#endif + +public: + /*0*/ virtual ~AngrySystem(); + /*1*/ virtual void tick(class EntityRegistry &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ANGRYSYSTEM +#endif + +//private: + MCAPI void _tickComponent(class ViewedEntityContextT, class ActorComponent, class AngryComponent> &); + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/Animal.hpp b/LiteLoader/Header/MC/Animal.hpp new file mode 100644 index 0000000..c9bde86 --- /dev/null +++ b/LiteLoader/Header/MC/Animal.hpp @@ -0,0 +1,56 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Actor.hpp" +#include "Mob.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class Animal : public Mob { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ANIMAL +public: + class Animal& operator=(class Animal const &) = delete; + Animal(class Animal const &) = delete; + Animal() = delete; +#endif + +public: + /*7*/ virtual ~Animal(); + /*30*/ virtual void __unk_vfn_30(); + /*54*/ virtual void __unk_vfn_54(); + /*61*/ virtual void __unk_vfn_61(); + /*76*/ virtual void __unk_vfn_76(); + /*81*/ virtual void __unk_vfn_81(); + /*88*/ virtual void __unk_vfn_88(); + /*90*/ virtual void __unk_vfn_90(); + /*98*/ virtual void __unk_vfn_98(); + /*100*/ virtual void __unk_vfn_100(); + /*121*/ virtual void __unk_vfn_121(); + /*124*/ virtual bool isInvulnerableTo(class ActorDamageSource const &) const; + /*169*/ virtual void __unk_vfn_169(); + /*182*/ virtual void __unk_vfn_182(); + /*206*/ virtual void __unk_vfn_206(); + /*207*/ virtual void __unk_vfn_207(); + /*228*/ virtual void __unk_vfn_228(); + /*231*/ virtual void __unk_vfn_231(); + /*238*/ virtual void __unk_vfn_238(); + /*240*/ virtual bool _hurt(class ActorDamageSource const &, int, bool, bool); + /*246*/ virtual void __unk_vfn_246(); + /*256*/ virtual void _onSizeUpdated(); + /*257*/ virtual void __unk_vfn_257(); + /*266*/ virtual int getAmbientSoundPostponeTicks(); + /*290*/ virtual void __unk_vfn_290(); + /*300*/ virtual void __unk_vfn_300(); + /*330*/ virtual float _getWalkTargetValue(class BlockPos const &); + /*332*/ virtual void __unk_vfn_332(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ANIMAL +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/AnimatePacket.hpp b/LiteLoader/Header/MC/AnimatePacket.hpp new file mode 100644 index 0000000..4a61630 --- /dev/null +++ b/LiteLoader/Header/MC/AnimatePacket.hpp @@ -0,0 +1,32 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Packet.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class AnimatePacket : public Packet { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ANIMATEPACKET +public: + class AnimatePacket& operator=(class AnimatePacket const &) = delete; + AnimatePacket(class AnimatePacket const &) = delete; + AnimatePacket() = delete; +#endif + +public: + /*0*/ virtual ~AnimatePacket(); + /*1*/ virtual enum MinecraftPacketIds getId() const; + /*2*/ virtual std::string getName() const; + /*3*/ virtual void write(class BinaryStream &) const; + /*4*/ virtual enum StreamReadResult read(class ReadOnlyBinaryStream &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ANIMATEPACKET +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/AnimatedImageData.hpp b/LiteLoader/Header/MC/AnimatedImageData.hpp new file mode 100644 index 0000000..36039bd --- /dev/null +++ b/LiteLoader/Header/MC/AnimatedImageData.hpp @@ -0,0 +1,28 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "persona.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class AnimatedImageData { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ANIMATEDIMAGEDATA +public: + class AnimatedImageData& operator=(class AnimatedImageData const &) = delete; + AnimatedImageData(class AnimatedImageData const &) = delete; + AnimatedImageData() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ANIMATEDIMAGEDATA +#endif + MCAPI AnimatedImageData(enum persona::AnimatedTextureType, struct mce::Image const &, float); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/AnimationComponent.hpp b/LiteLoader/Header/MC/AnimationComponent.hpp new file mode 100644 index 0000000..b58ed58 --- /dev/null +++ b/LiteLoader/Header/MC/AnimationComponent.hpp @@ -0,0 +1,44 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class AnimationComponent { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ANIMATIONCOMPONENT +public: + class AnimationComponent& operator=(class AnimationComponent const &) = delete; + AnimationComponent(class AnimationComponent const &) = delete; + AnimationComponent() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ANIMATIONCOMPONENT +#endif + MCAPI AnimationComponent(enum AnimationComponentGroup, class AnimationComponentID const &); + MCAPI std::unique_ptr createAnimationPlayer(class HashedString const &, class ExpressionNode const &); + MCAPI std::vector * getBoneOrientations(enum SkeletalHierarchyIndex, bool); + MCAPI void initializeServerAnimationComponent(class Actor &, class AnimationResourceDefinitionMap &, class std::function); + MCAPI void serverUpdate(class Actor &); + MCAPI void setDirty(); + MCAPI void setupDeltaTimeAndLifeTimeParams(bool); + MCAPI ~AnimationComponent(); + MCAPI static class std::shared_ptr getAnimationComponent(enum AnimationComponentGroup, class AnimationComponentID); + +//private: + MCAPI static class std::unordered_map, struct std::hash, struct std::equal_to, class std::allocator>>> & _getAllAnimationComponents(enum AnimationComponentGroup); + MCAPI static class std::recursive_mutex & _getAnimationComponentMapLock(); + +private: + MCAPI static struct std::atomic<__int64> mClientFrameIndex; + MCAPI static unsigned __int64 mReloadTimeStampClient; + MCAPI static struct std::atomic<__int64> mServerFrameIndex; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/AnimationResourceDefinitionMap.hpp b/LiteLoader/Header/MC/AnimationResourceDefinitionMap.hpp new file mode 100644 index 0000000..6952a38 --- /dev/null +++ b/LiteLoader/Header/MC/AnimationResourceDefinitionMap.hpp @@ -0,0 +1,27 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class AnimationResourceDefinitionMap { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ANIMATIONRESOURCEDEFINITIONMAP +public: + class AnimationResourceDefinitionMap& operator=(class AnimationResourceDefinitionMap const &) = delete; + AnimationResourceDefinitionMap(class AnimationResourceDefinitionMap const &) = delete; + AnimationResourceDefinitionMap() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ANIMATIONRESOURCEDEFINITIONMAP +#endif + MCAPI ~AnimationResourceDefinitionMap(); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/AnimationScriptsDescription.hpp b/LiteLoader/Header/MC/AnimationScriptsDescription.hpp new file mode 100644 index 0000000..64e088a --- /dev/null +++ b/LiteLoader/Header/MC/AnimationScriptsDescription.hpp @@ -0,0 +1,30 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Json.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +struct AnimationScriptsDescription { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ANIMATIONSCRIPTSDESCRIPTION +public: + struct AnimationScriptsDescription& operator=(struct AnimationScriptsDescription const &) = delete; + AnimationScriptsDescription(struct AnimationScriptsDescription const &) = delete; + AnimationScriptsDescription() = delete; +#endif +public: + /*0*/ virtual char const * getJsonName() const; + /*1*/ virtual ~AnimationScriptsDescription(); + /*2*/ virtual void deserializeData(class Json::Value &); + /*3*/ virtual void serializeData(class Json::Value &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ANIMATIONSCRIPTSDESCRIPTION +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/AnimationsDescription.hpp b/LiteLoader/Header/MC/AnimationsDescription.hpp new file mode 100644 index 0000000..d20f24c --- /dev/null +++ b/LiteLoader/Header/MC/AnimationsDescription.hpp @@ -0,0 +1,30 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Json.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +struct AnimationsDescription { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ANIMATIONSDESCRIPTION +public: + struct AnimationsDescription& operator=(struct AnimationsDescription const &) = delete; + AnimationsDescription(struct AnimationsDescription const &) = delete; + AnimationsDescription() = delete; +#endif +public: + /*0*/ virtual char const * getJsonName() const; + /*1*/ virtual ~AnimationsDescription(); + /*2*/ virtual void deserializeData(class Json::Value &); + /*3*/ virtual void serializeData(class Json::Value &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ANIMATIONSDESCRIPTION +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/AnvilBlock.hpp b/LiteLoader/Header/MC/AnvilBlock.hpp new file mode 100644 index 0000000..276ff9a --- /dev/null +++ b/LiteLoader/Header/MC/AnvilBlock.hpp @@ -0,0 +1,81 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "BlockLegacy.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class AnvilBlock : public BlockLegacy { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ANVILBLOCK +public: + class AnvilBlock& operator=(class AnvilBlock const &) = delete; + AnvilBlock(class AnvilBlock const &) = delete; + AnvilBlock() = delete; +#endif + +public: + /*0*/ virtual ~AnvilBlock(); + /*10*/ virtual class AABB const & getAABB(class BlockSource &, class BlockPos const &, class Block const &, class AABB &, bool) const; + /*13*/ virtual bool getLiquidClipVolume(class BlockSource &, class BlockPos const &, class AABB &) const; + /*18*/ virtual void __unk_vfn_18(); + /*24*/ virtual void __unk_vfn_24(); + /*25*/ virtual void __unk_vfn_25(); + /*26*/ virtual void __unk_vfn_26(); + /*27*/ virtual void __unk_vfn_27(); + /*28*/ virtual void __unk_vfn_28(); + /*30*/ virtual void __unk_vfn_30(); + /*31*/ virtual void __unk_vfn_31(); + /*32*/ virtual void __unk_vfn_32(); + /*33*/ virtual void __unk_vfn_33(); + /*34*/ virtual void __unk_vfn_34(); + /*35*/ virtual void __unk_vfn_35(); + /*36*/ virtual void __unk_vfn_36(); + /*38*/ virtual void __unk_vfn_38(); + /*39*/ virtual void __unk_vfn_39(); + /*40*/ virtual void __unk_vfn_40(); + /*42*/ virtual void __unk_vfn_42(); + /*43*/ virtual void __unk_vfn_43(); + /*49*/ virtual void __unk_vfn_49(); + /*50*/ virtual bool canContainLiquid() const; + /*52*/ virtual void __unk_vfn_52(); + /*67*/ virtual void __unk_vfn_67(); + /*73*/ virtual void __unk_vfn_73(); + /*84*/ virtual bool breaksFallingBlocks(class Block const &) const; + /*87*/ virtual void __unk_vfn_87(); + /*91*/ virtual class ItemInstance getResourceItem(class Random &, class Block const &, int) const; + /*92*/ virtual class ItemInstance asItemInstance(class BlockSource &, class BlockPos const &, class Block const &) const; + /*95*/ virtual void __unk_vfn_95(); + /*98*/ virtual bool use(class Player &, class BlockPos const &) const; + /*99*/ virtual class Block const & getPlacementBlock(class Actor &, class BlockPos const &, unsigned char, class Vec3 const &, int) const; + /*109*/ virtual void __unk_vfn_109(); + /*116*/ virtual void __unk_vfn_116(); + /*118*/ virtual void __unk_vfn_118(); + /*119*/ virtual void __unk_vfn_119(); + /*127*/ virtual std::string buildDescriptionId(class Block const &) const; + /*128*/ virtual bool isAuxValueRelevantForPicking() const; + /*141*/ virtual int getVariant(class Block const &) const; + /*142*/ virtual void __unk_vfn_142(); + /*146*/ virtual void animateTick(class BlockSource &, class BlockPos const &, class Random &) const; + /*158*/ virtual void __unk_vfn_158(); + /*159*/ virtual class ItemInstance getSilkTouchItemInstance(class Block const &) const; + /*164*/ virtual class Color getDustColor(class Block const &) const; + /*165*/ virtual std::string getDustParticleName(class Block const &) const; + /*166*/ virtual void __unk_vfn_166(); + /*167*/ virtual void onLand(class BlockSource &, class BlockPos const &) const; + /*168*/ virtual bool isFreeToFall(class BlockSource &, class BlockPos const &) const; + /*169*/ virtual void startFalling(class BlockSource &, class BlockPos const &, class Block const &, bool) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ANVILBLOCK + MCVAPI bool canBeSilkTouched() const; + MCVAPI bool falling() const; + MCVAPI bool isCraftingBlock() const; + MCVAPI bool isInteractiveBlock() const; +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/AnvilContainerManagerModel.hpp b/LiteLoader/Header/MC/AnvilContainerManagerModel.hpp new file mode 100644 index 0000000..5b2d18a --- /dev/null +++ b/LiteLoader/Header/MC/AnvilContainerManagerModel.hpp @@ -0,0 +1,35 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "ContainerManagerModel.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class AnvilContainerManagerModel : public ContainerManagerModel { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ANVILCONTAINERMANAGERMODEL +public: + class AnvilContainerManagerModel& operator=(class AnvilContainerManagerModel const &) = delete; + AnvilContainerManagerModel(class AnvilContainerManagerModel const &) = delete; + AnvilContainerManagerModel() = delete; +#endif + +public: + /*0*/ virtual ~AnvilContainerManagerModel(); + /*6*/ virtual std::vector getItemCopies() const; + /*7*/ virtual void setSlot(int, class ItemStack const &, bool); + /*8*/ virtual class ItemStack const & getSlot(int) const; + /*9*/ virtual void setData(int, int); + /*10*/ virtual void broadcastChanges(); + /*11*/ virtual bool isValid(float); + /*12*/ virtual class ContainerScreenContext _postInit(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ANVILCONTAINERMANAGERMODEL +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/AnvilDamagePacket.hpp b/LiteLoader/Header/MC/AnvilDamagePacket.hpp new file mode 100644 index 0000000..32c230a --- /dev/null +++ b/LiteLoader/Header/MC/AnvilDamagePacket.hpp @@ -0,0 +1,32 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Packet.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class AnvilDamagePacket : public Packet { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ANVILDAMAGEPACKET +public: + class AnvilDamagePacket& operator=(class AnvilDamagePacket const &) = delete; + AnvilDamagePacket(class AnvilDamagePacket const &) = delete; + AnvilDamagePacket() = delete; +#endif + +public: + /*0*/ virtual ~AnvilDamagePacket(); + /*1*/ virtual enum MinecraftPacketIds getId() const; + /*2*/ virtual std::string getName() const; + /*3*/ virtual void write(class BinaryStream &) const; + /*4*/ virtual enum StreamReadResult read(class ReadOnlyBinaryStream &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ANVILDAMAGEPACKET +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/AppConfigs.hpp b/LiteLoader/Header/MC/AppConfigs.hpp new file mode 100644 index 0000000..513e5de --- /dev/null +++ b/LiteLoader/Header/MC/AppConfigs.hpp @@ -0,0 +1,74 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class AppConfigs { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_APPCONFIGS +public: + class AppConfigs& operator=(class AppConfigs const &) = delete; + AppConfigs(class AppConfigs const &) = delete; +#endif + +public: + /*0*/ virtual ~AppConfigs(); + /*1*/ virtual void __unk_vfn_1(); + /*2*/ virtual void __unk_vfn_2(); + /*3*/ virtual void __unk_vfn_3(); + /*4*/ virtual void __unk_vfn_4(); + /*5*/ virtual void __unk_vfn_5(); + /*6*/ virtual void __unk_vfn_6(); + /*7*/ virtual void __unk_vfn_7(); + /*8*/ virtual void __unk_vfn_8(); + /*9*/ virtual void __unk_vfn_9(); + /*10*/ virtual void __unk_vfn_10(); + /*11*/ virtual void __unk_vfn_11(); + /*12*/ virtual void __unk_vfn_12(); + /*13*/ virtual void __unk_vfn_13(); + /*14*/ virtual void __unk_vfn_14(); + /*15*/ virtual void __unk_vfn_15(); + /*16*/ virtual enum EducationEditionOffer getEducationEditionOffering() const; + /*17*/ virtual void __unk_vfn_17(); + /*18*/ virtual struct ConnectionDefinition getConnectionDefinition() const; + /*19*/ virtual void __unk_vfn_19(); + /*20*/ virtual void __unk_vfn_20(); + /*21*/ virtual void __unk_vfn_21(); + /*22*/ virtual void __unk_vfn_22(); + /*23*/ virtual std::vector getAdditionalClientPacks(bool) const; + /*24*/ virtual std::unique_ptr getScreenCapabilities(std::string const &) const; + /*25*/ virtual std::unique_ptr createContentAccessibility(class IEntitlementManager &) const; + /*26*/ virtual std::string getFeedbackURL() const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_APPCONFIGS + MCVAPI void applyLevelDataOverride(class LevelData &) const; + MCVAPI bool areQuizzesSupported() const; + MCVAPI bool areResourcePacksAllowed() const; + MCVAPI bool gameArgumentsNeedAuthentication() const; + MCVAPI bool isChatScreenAllowed() const; + MCVAPI bool isCoursesCacheEnabled() const; + MCVAPI bool isGameTabShownInSettings() const; + MCVAPI bool isLessonProgressionSupported() const; + MCVAPI bool isPlayScreenAllowed() const; + MCVAPI void loadFromData(class IAppConfigData const &); + MCVAPI bool muteByDefault() const; + MCVAPI bool requireTrustedContent() const; + MCVAPI bool sendPermissionsTelemetry() const; + MCVAPI void setCanAccessWorldCallback(class IMinecraftGame &); + MCVAPI bool shouldPromptBeforeExit() const; + MCVAPI bool supportsChangingMultiplayerDuringPlay() const; + MCVAPI bool useFullScreenByDefault() const; + MCVAPI bool useNormalizedFontSize() const; + MCVAPI bool webSocketsDisabled() const; + MCVAPI bool worldBuilderDisabled() const; + MCVAPI bool worldsAreSingleUse() const; +#endif + MCAPI AppConfigs(); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/AppPlatform.hpp b/LiteLoader/Header/MC/AppPlatform.hpp new file mode 100644 index 0000000..336b3ab --- /dev/null +++ b/LiteLoader/Header/MC/AppPlatform.hpp @@ -0,0 +1,237 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Core.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class AppPlatform { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_APPPLATFORM +public: + class AppPlatform& operator=(class AppPlatform const &) = delete; + AppPlatform(class AppPlatform const &) = delete; + AppPlatform() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_APPPLATFORM + MCVAPI void _fireAppTerminated(); + MCVAPI void _onInitialize(); + MCVAPI void _onTeardown(); + MCVAPI bool allowBetaXblSignIn() const; + MCVAPI bool allowContentLogWriteToDisk(); + MCVAPI bool allowsResourcePackDevelopment() const; + MCVAPI bool alwaysUseZippedPacksForDlc() const; + MCVAPI bool areThreadsFrozen() const; + MCVAPI void buyGame(); + MCVAPI bool canLaunchUri(std::string const &); + MCVAPI bool canManageLegacyData() const; + MCVAPI bool canSupportApp(enum ExternalApp) const; + MCVAPI int checkLicense(); + MCVAPI void collectGraphicsHardwareDetails(); + MCVAPI bool compareAppReceiptToLocalReceipt(std::string const &); + MCVAPI bool copyAssetFile(class Core::Path const &, class Core::Path const &); + MCVAPI class Core::PathBuffer copyImportFileToTempFolder(class Core::Path const &); + MCVAPI class std::shared_ptr createLoggingStorageArea(enum Core::FileAccessType, class Core::Path const &); + MCVAPI void createUserInput(); + MCVAPI class std::shared_ptr createWebview(class Webview::PlatformArguments &&) const; + MCVAPI bool doesLANRequireMultiplayerRestrictions() const; + MCVAPI void finish(); + MCVAPI enum ARVRPlatform getARVRPlatform() const; + MCVAPI class Core::PathBuffer getAssetFileFullPath(class Core::Path const &); + MCVAPI std::vector getBroadcastAddresses(); + MCVAPI std::vector getBroadcastingMultiplayerServiceIds(bool, bool) const; + MCVAPI enum BuildPlatform getBuildPlatform() const; + MCVAPI class Core::PathBuffer getCacheStoragePath(); + MCVAPI class Core::PathBuffer getCatalogSearchScratchPath(); + MCVAPI std::string getClientUpdateUrl() const; + MCVAPI enum InputMode getDefaultInputMode() const; + MCVAPI int getDefaultNetworkMaxPlayers() const; + MCVAPI float getDefaultSafeZoneScaleX() const; + MCVAPI float getDefaultSafeZoneScaleY() const; + MCVAPI float getDefaultScreenPositionX() const; + MCVAPI float getDefaultScreenPositionY() const; + MCVAPI enum DeviceSunsetTier getDeviceSunsetTier() const; + MCVAPI std::string getEdition() const; + MCVAPI class std::optional getExtraLevelSaveDataIconParams(std::string const &) const; + MCVAPI std::string getFeedbackHelpLink() const; + MCVAPI class IFileAccess & getFileAccess(enum ResourceFileSystem); + MCVAPI unsigned __int64 getHighPerformanceThreadsCount() const; + MCVAPI std::vector getIPAddresses(); + MCVAPI class Core::PathBuffer getInternalPackStoragePath() const; + MCVAPI class Core::PathBuffer getLevelInfoCachePath() const; + MCVAPI class std::chrono::duration<__int64, struct std::ratio<1, 1000000000>> getLevelSaveInterval() const; + MCVAPI class Core::PathBuffer getLoggingPath() const; + MCVAPI int getMaxSimRadiusInChunks() const; + MCVAPI int getMaxSimultaneousDownloads() const; + MCVAPI unsigned int getMaxSimultaneousServiceRequests() const; + MCVAPI unsigned __int64 getMaximumUsedMemory(); + MCVAPI void ( *)(std::string const &, std::string const &) getModalErrorMessageProc(); + MCVAPI std::string getModelName(); + MCVAPI std::vector> getMultiplayerServiceListToRegister() const; + MCVAPI int getNumberOfParticleFramesToInterpolate() const; + MCVAPI enum OsVersion getOSVersion() const; + MCVAPI class Core::PathBuffer getOnDiskPackScratchPath(); + MCVAPI class Core::PathBuffer getOnDiskScratchPath(); + MCVAPI class std::optional getOperationMode() const; + MCVAPI unsigned __int64 getOptimalLDBSize(); + MCVAPI class std::chrono::duration<__int64, struct std::ratio<1, 1000000000>> getOptionsSaveInterval() const; + MCVAPI std::string getPackageFamilyName() const; + MCVAPI class Core::PathBuffer getPackagedShaderCachePath(); + MCVAPI float getPixelsPerMillimeter(); + MCVAPI int getPlatformDpi() const; + MCVAPI std::string getPlatformStringVar(int); + MCVAPI bool getPlatformTTSEnabled() const; + MCVAPI bool getPlatformTTSExists() const; + MCVAPI enum PlatformType getPlatformType() const; + MCVAPI enum UIScalingRules getPlatformUIScalingRules() const; + MCVAPI class std::variant getRenderSurfaceParameters() const; + MCVAPI int getScreenHeight() const; + MCVAPI int getScreenWidth() const; + MCVAPI std::unique_ptr getSecureStorage(); + MCVAPI class SecureStorageKey getSecureStorageKey(std::string const &); + MCVAPI class Core::PathBuffer getSettingsPath(); + MCVAPI class Core::PathBuffer getShaderCachePath(); + MCVAPI float getStoreNetworkFailureTimeout() const; + MCVAPI class mce::UUID const & getThirdPartyPackUUID() const; + MCVAPI unsigned __int64 getTotalHardwareThreadsCount() const; + MCVAPI std::vector getUserInput(); + MCVAPI int getUserInputStatus(); + MCVAPI class Core::PathBuffer getUserdataPathForLevels() const; + MCVAPI enum VRControllerType getVRControllerType() const; + MCVAPI void goToExternalConsumablesStoreListing() const; + MCVAPI void handlePlatformSpecificSPIErrors(std::string const &); + MCVAPI bool hasAppInstalled(enum ExternalApp) const; + MCVAPI bool hasAssetFile(class Core::Path const &); + MCVAPI bool hasBroadcastPermission(); + MCVAPI bool hasBuyButtonWhenInvalidLicense(); + MCVAPI bool hasFastAlphaTest() const; + MCVAPI bool hasIDEProfiler(); + MCVAPI bool hasJournalingFilesystem() const; + MCVAPI bool hasPlatformSpecificInvites() const; + MCVAPI bool hasSeparatedStorageAreasForContentAcquisition() const; + MCVAPI void hideSplashScreen(); + MCVAPI bool importAsFlatFile() const; + MCVAPI void initializeScreenDependentResources(); + MCVAPI bool isAutoCompactionEnabled() const; + MCVAPI bool isBrazeEnabled() const; + MCVAPI bool isCentennial() const; + MCVAPI bool isContentAutoUpdateAllowed() const; + MCVAPI bool isCrossPlatformToggleVisible() const; + MCVAPI bool isDisplayInitialized() const; + MCVAPI bool isDownloadAndImportBlocking() const; + MCVAPI bool isDownloadBuffered() const; + MCVAPI bool isFireTV() const; + MCVAPI bool isJoinableViaExternalServers() const; + MCVAPI bool isKeyboardVisible() const; + MCVAPI bool isLANAllowed() const; + MCVAPI bool isLowMemoryDevice() const; + MCVAPI bool isNetworkAllowed(); + MCVAPI bool isNetworkAvailable(); + MCVAPI bool isNetworkEnabled(bool); + MCVAPI bool isNetworkThrottled(); + MCVAPI bool isQuitCapable() const; + MCVAPI bool isRatingsPromptSupported() const; + MCVAPI bool isRealmsEnabled() const; + MCVAPI bool isTelemetryAllowed(); + MCVAPI bool isTrialWorldsTransferToFullGameAllowed() const; + MCVAPI bool isWebviewSupported() const; + MCVAPI bool isWin10Arm() const; + MCVAPI bool launchApp(enum ExternalApp) const; + MCVAPI void launchLegacyVersion(); + MCVAPI void launchRatingsPrompt(); + MCVAPI void launchSettings(); + MCVAPI void launchUri(std::string const &); + MCVAPI class std::set, struct std::less>, class std::allocator>> listAssetFilesIn(class Core::Path const &, std::string const &) const; + MCVAPI unsigned int maxFileDataRequestConcurrency() const; + MCVAPI bool minimizeBackgroundDownloads() const; + MCVAPI bool multiplayerRequiresPremiumAccess() const; + MCVAPI bool multiplayerRequiresUGCEnabled() const; + MCVAPI void navigateToStoreForApp(enum ExternalApp) const; + MCVAPI bool notifyControllerConnectionStateChange() const; + MCVAPI void onPrimaryUserNetworkReady(); + MCVAPI bool platformRequiresControllerApplet() const; + MCVAPI std::string readAssetFile(class Core::Path const &); + MCVAPI void registerFileForCollectionWithCrashDump(class Core::Path const &); + MCVAPI bool reloadRenderResourcesOnResume() const; + MCVAPI bool requireControllerAtStartup() const; + MCVAPI bool requiresAutoSaveIconExplanationPopup() const; + MCVAPI bool requiresLiveGoldForMultiplayer() const; + MCVAPI bool requiresNetworkOutageMessaging() const; + MCVAPI bool requiresPatchNoticePopup() const; + MCVAPI bool requiresXboxLiveSigninToPlay() const; + MCVAPI void restartApp(bool); + MCVAPI bool restartRequested(); + MCVAPI void sendBrazeDialogButtonClick(int); + MCVAPI void sendBrazeEvent(std::string const &); + MCVAPI void sendBrazeEventWithProperty(std::string const &, std::string const &, int); + MCVAPI void sendBrazeEventWithStringProperty(std::string const &, std::string const &, std::string const &); + MCVAPI void sendBrazeToastClick(); + MCVAPI void setARVRPlatform(enum ARVRPlatform); + MCVAPI void setFullscreenMode(enum FullscreenMode); + MCVAPI void setNetworkAllowed(bool); + MCVAPI void setScreenSize(int, int); + MCVAPI void setSecureStorageKey(std::string const &, class SecureStorageKey const &); + MCVAPI void setSleepEnabled(bool); + MCVAPI void setThreadsFrozen(bool); + MCVAPI void setVRControllerType(enum VRControllerType); + MCVAPI void setWindowSize(int, int); + MCVAPI void setWindowText(std::string const &); + MCVAPI bool shouldPauseDownloadsWhenEnterGame() const; + MCVAPI bool shouldRegisterForXboxLiveNotifications() const; + MCVAPI bool shouldRemoveGraphicsDeviceOnAppTermination() const; + MCVAPI void showDialog(int); + MCVAPI void showPlatformEmptyStoreDialog(class std::function &&); + MCVAPI void showPlatformStoreIcon(bool); + MCVAPI bool startBroadcast(); + MCVAPI bool supportsAutoSaveOnDBCompaction() const; + MCVAPI bool supportsClientUpdate() const; + MCVAPI bool supportsDayOneExperience() const; + MCVAPI bool supportsHummingbird() const; + MCVAPI bool supportsInPackageRecursion() const; + MCVAPI bool supportsLaunchingLegacyVersion() const; + MCVAPI bool supportsLegacySinglePremiumCacheDirectory() const; + MCVAPI bool supportsScripting() const; + MCVAPI bool supportsTextToSpeech() const; + MCVAPI bool supportsVibration() const; + MCVAPI bool supportsWorldShare() const; + MCVAPI bool supportsXboxLiveAchievements() const; + MCVAPI void trackPurchaseEvent(std::string const &, std::string const &, std::string const &, std::string const &, std::string const &, std::string const &, std::string const &, std::string const &); + MCVAPI void updateLocalization(std::string const &); + MCVAPI void updateTextBoxText(std::string const &); + MCVAPI bool useAppPlatformForTelemetryIPAddress(); + MCVAPI bool useNativeStoreForRealmsPurchase(); + MCVAPI bool usePlatformProfilePicturesOnly() const; + MCVAPI bool useXboxControlHelpers() const; + MCVAPI bool usesAsyncOptionSaving() const; + MCVAPI bool usesHDRBrightness() const; + MCVAPI void vibrate(int); + MCVAPI ~AppPlatform(); +#endif + MCAPI AppPlatform(bool); + MCAPI class Core::PathBuffer getScratchPath(); + MCAPI void initialize(); + MCAPI void removeListener(class AppPlatformListener *); + MCAPI static class Core::PathBuffer> const HOME_PATH; + MCAPI static class Core::PathBuffer> const LOG_PATH; + MCAPI static class Core::PathBuffer> const SETTINGS_PATH; + +//protected: + +//private: + MCAPI void _initializeLoadProfiler(); + +protected: + MCAPI static class Core::PathBuffer> const SHADERCACHE_PATH; + +private: + MCAPI static bool mIsInitialized; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/AppPlatformListener.hpp b/LiteLoader/Header/MC/AppPlatformListener.hpp new file mode 100644 index 0000000..63e78b5 --- /dev/null +++ b/LiteLoader/Header/MC/AppPlatformListener.hpp @@ -0,0 +1,41 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class AppPlatformListener { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_APPPLATFORMLISTENER +public: + class AppPlatformListener& operator=(class AppPlatformListener const &) = delete; + AppPlatformListener(class AppPlatformListener const &) = delete; + AppPlatformListener() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_APPPLATFORMLISTENER + MCVAPI void onAppFocusGained(); + MCVAPI void onAppFocusLost(); + MCVAPI void onAppPaused(); + MCVAPI void onAppPreSuspended(); + MCVAPI void onAppResumed(); + MCVAPI void onAppSuspended(); + MCVAPI void onAppTerminated(); + MCVAPI void onAppUnpaused(); + MCVAPI void onLowMemory(); + MCVAPI void onOperationModeChanged(enum OperationMode); + MCVAPI void onPerformanceModeChanged(bool); + MCVAPI void onPushNotificationReceived(class PushNotificationMessage const &); + MCVAPI void onResizeBegin(); + MCVAPI void onResizeEnd(); +#endif + MCAPI void initListener(float); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/AppPlatformWindows.hpp b/LiteLoader/Header/MC/AppPlatformWindows.hpp new file mode 100644 index 0000000..e654913 --- /dev/null +++ b/LiteLoader/Header/MC/AppPlatformWindows.hpp @@ -0,0 +1,45 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class AppPlatformWindows { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_APPPLATFORMWINDOWS +public: + class AppPlatformWindows& operator=(class AppPlatformWindows const &) = delete; + AppPlatformWindows(class AppPlatformWindows const &) = delete; + AppPlatformWindows() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_APPPLATFORMWINDOWS + MCVAPI bool allowContentLogWriteToDisk(); + MCVAPI unsigned __int64 calculateAvailableDiskFreeSpace(class Core::Path const &); + MCVAPI bool canAppSelfTerminate() const; + MCVAPI class Core::PathBuffer copyImportFileToTempFolder(class Core::Path const &); + MCVAPI class Core::PathBuffer getCurrentStoragePath() const; + MCVAPI class Core::PathBuffer getExternalStoragePath() const; + MCVAPI std::string getFeedbackHelpLink() const; + MCVAPI unsigned __int64 getHighPerformanceThreadsCount() const; + MCVAPI class Core::PathBuffer getInternalStoragePath() const; + MCVAPI class MPMCQueue> & getMainThreadQueue(); + MCVAPI class Core::PathBuffer getPackagedShaderCachePath(); + MCVAPI bool getPlatformTTSEnabled() const; + MCVAPI bool getPlatformTTSExists() const; + MCVAPI class Core::PathBuffer getPlatformTempPath() const; + MCVAPI unsigned __int64 getTotalHardwareThreadsCount() const; + MCVAPI class Core::PathBuffer getUserdataPath() const; + MCVAPI void queueForMainThread_DEPRECATED(class std::function); + MCVAPI bool supportsScripting() const; + MCVAPI ~AppPlatformWindows(); +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/AppPlatform_win32.hpp b/LiteLoader/Header/MC/AppPlatform_win32.hpp new file mode 100644 index 0000000..6f44713 --- /dev/null +++ b/LiteLoader/Header/MC/AppPlatform_win32.hpp @@ -0,0 +1,75 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Core.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class AppPlatform_win32 { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_APPPLATFORM_WIN32 +public: + class AppPlatform_win32& operator=(class AppPlatform_win32 const &) = delete; + AppPlatform_win32(class AppPlatform_win32 const &) = delete; + AppPlatform_win32() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_APPPLATFORM_WIN32 + MCVAPI bool canLaunchUri(std::string const &); + MCVAPI class Core::PathBuffer copyImportFileToTempFolder(class Core::Path const &); + MCVAPI class std::shared_ptr createWebview(class Webview::PlatformArguments &&) const; + MCVAPI std::string getApplicationId() const; + MCVAPI class Core::PathBuffer getAssetFileFullPath(class Core::Path const &); + MCVAPI enum BuildPlatform getBuildPlatform() const; + MCVAPI std::string getEdition() const; + MCVAPI unsigned __int64 getFreeMemory() const; + MCVAPI class Core::PathBuffer getLoggingPath() const; + MCVAPI unsigned __int64 getMemoryLimit() const; + MCVAPI std::string getModelName(); + MCVAPI enum OsVersion getOSVersion() const; + MCVAPI std::string getPackageFamilyName() const; + MCVAPI class Core::PathBuffer getPackagePath() const; + MCVAPI float getPixelsPerMillimeter(); + MCVAPI std::string getPlatformString() const; + MCVAPI bool getPlatformTTSEnabled() const; + MCVAPI enum PlatformType getPlatformType() const; + MCVAPI enum UIScalingRules getPlatformUIScalingRules() const; + MCVAPI class std::variant getRenderSurfaceParameters() const; + MCVAPI int getScreenHeight() const; + MCVAPI int getScreenWidth() const; + MCVAPI std::unique_ptr getSecureStorage(); + MCVAPI std::string getSubPlatformString() const; + MCVAPI unsigned __int64 getTotalPhysicalMemory() const; + MCVAPI unsigned __int64 getUsedMemory(); + MCVAPI bool hasBuyButtonWhenInvalidLicense(); + MCVAPI bool hasFastAlphaTest() const; + MCVAPI bool isCentennial() const; + MCVAPI bool isWebviewSupported() const; + MCVAPI void launchUri(std::string const &); + MCVAPI class std::set, struct std::less>, class std::allocator>> listAssetFilesIn(class Core::Path const &, std::string const &) const; + MCVAPI std::string readAssetFile(class Core::Path const &); + MCVAPI void setFullscreenMode(enum FullscreenMode); + MCVAPI void setScreenSize(int, int); + MCVAPI void setWindowSize(int, int); + MCVAPI void setWindowText(std::string const &); + MCVAPI bool supportsTextToSpeech() const; + MCVAPI bool supportsVibration() const; + MCVAPI void updateTextBoxText(std::string const &); + MCVAPI ~AppPlatform_win32(); +#endif + MCAPI AppPlatform_win32(struct HWND__*, std::string const &, std::string const &, class gsl::basic_string_span, class std::shared_ptr, int, int); + +//private: + MCAPI struct OSInformation _fetchOSInformation() const; + MCAPI class Core::PathBuffer _getExternalStoragePath(class gsl::basic_string_span) const; + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ApplyItemBinding.hpp b/LiteLoader/Header/MC/ApplyItemBinding.hpp new file mode 100644 index 0000000..8baae72 --- /dev/null +++ b/LiteLoader/Header/MC/ApplyItemBinding.hpp @@ -0,0 +1,29 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "ScriptApi.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ApplyItemBinding { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_APPLYITEMBINDING +public: + class ApplyItemBinding& operator=(class ApplyItemBinding const &) = delete; + ApplyItemBinding(class ApplyItemBinding const &) = delete; + ApplyItemBinding() = delete; +#endif + +public: + /*0*/ virtual ~ApplyItemBinding(); + /*1*/ virtual bool createAndApplyTemplate(class ScriptApi::ScriptVersionInfo const &, class ScriptEngine &, class ScriptServerContext &, class Actor **, std::string const &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_APPLYITEMBINDING +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ApplyLegacyEntityBinding.hpp b/LiteLoader/Header/MC/ApplyLegacyEntityBinding.hpp new file mode 100644 index 0000000..360b2d2 --- /dev/null +++ b/LiteLoader/Header/MC/ApplyLegacyEntityBinding.hpp @@ -0,0 +1,29 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "ScriptApi.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ApplyLegacyEntityBinding { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_APPLYLEGACYENTITYBINDING +public: + class ApplyLegacyEntityBinding& operator=(class ApplyLegacyEntityBinding const &) = delete; + ApplyLegacyEntityBinding(class ApplyLegacyEntityBinding const &) = delete; + ApplyLegacyEntityBinding() = delete; +#endif + +public: + /*0*/ virtual ~ApplyLegacyEntityBinding(); + /*1*/ virtual bool createAndApplyTemplate(class ScriptApi::ScriptVersionInfo const &, class ScriptEngine &, class ScriptServerContext &, class Actor **, std::string const &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_APPLYLEGACYENTITYBINDING +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ArbitraryBiomeComponent.hpp b/LiteLoader/Header/MC/ArbitraryBiomeComponent.hpp new file mode 100644 index 0000000..8dea2a8 --- /dev/null +++ b/LiteLoader/Header/MC/ArbitraryBiomeComponent.hpp @@ -0,0 +1,26 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +struct ArbitraryBiomeComponent { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ARBITRARYBIOMECOMPONENT +public: + struct ArbitraryBiomeComponent& operator=(struct ArbitraryBiomeComponent const &) = delete; + ArbitraryBiomeComponent(struct ArbitraryBiomeComponent const &) = delete; + ArbitraryBiomeComponent() = delete; +#endif +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ARBITRARYBIOMECOMPONENT +#endif + MCAPI ~ArbitraryBiomeComponent(); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/AreaAttackComponent.hpp b/LiteLoader/Header/MC/AreaAttackComponent.hpp new file mode 100644 index 0000000..d824b8c --- /dev/null +++ b/LiteLoader/Header/MC/AreaAttackComponent.hpp @@ -0,0 +1,27 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class AreaAttackComponent { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_AREAATTACKCOMPONENT +public: + class AreaAttackComponent& operator=(class AreaAttackComponent const &) = delete; + AreaAttackComponent(class AreaAttackComponent const &) = delete; + AreaAttackComponent() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_AREAATTACKCOMPONENT +#endif + MCAPI ~AreaAttackComponent(); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/AreaAttackDefinition.hpp b/LiteLoader/Header/MC/AreaAttackDefinition.hpp new file mode 100644 index 0000000..eda2fd1 --- /dev/null +++ b/LiteLoader/Header/MC/AreaAttackDefinition.hpp @@ -0,0 +1,29 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "JsonUtil.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class AreaAttackDefinition { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_AREAATTACKDEFINITION +public: + class AreaAttackDefinition& operator=(class AreaAttackDefinition const &) = delete; + AreaAttackDefinition(class AreaAttackDefinition const &) = delete; + AreaAttackDefinition() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_AREAATTACKDEFINITION +#endif + MCAPI void setDamageCause(std::string const &); + MCAPI static void buildSchema(class std::shared_ptr> &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/AreaAttackSystem.hpp b/LiteLoader/Header/MC/AreaAttackSystem.hpp new file mode 100644 index 0000000..6c3516d --- /dev/null +++ b/LiteLoader/Header/MC/AreaAttackSystem.hpp @@ -0,0 +1,33 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class AreaAttackSystem { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_AREAATTACKSYSTEM +public: + class AreaAttackSystem& operator=(class AreaAttackSystem const &) = delete; + AreaAttackSystem(class AreaAttackSystem const &) = delete; + AreaAttackSystem() = delete; +#endif + +public: + /*0*/ virtual ~AreaAttackSystem(); + /*1*/ virtual void tick(class EntityRegistry &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_AREAATTACKSYSTEM +#endif + +//private: + MCAPI void _tickComponent(class ViewedEntityContextT, class ActorComponent, class AreaAttackComponent> &); + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/AreaEffectCloud.hpp b/LiteLoader/Header/MC/AreaEffectCloud.hpp new file mode 100644 index 0000000..6bcc646 --- /dev/null +++ b/LiteLoader/Header/MC/AreaEffectCloud.hpp @@ -0,0 +1,71 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Actor.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class AreaEffectCloud : public Actor { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_AREAEFFECTCLOUD +public: + class AreaEffectCloud& operator=(class AreaEffectCloud const &) = delete; + AreaEffectCloud(class AreaEffectCloud const &) = delete; + AreaEffectCloud() = delete; +#endif + +public: + /*1*/ virtual void reloadHardcoded(enum Actor::InitializationMethod, class VariantParameterList const &); + /*7*/ virtual ~AreaEffectCloud(); + /*30*/ virtual void __unk_vfn_30(); + /*39*/ virtual void normalTick(); + /*54*/ virtual void __unk_vfn_54(); + /*61*/ virtual void __unk_vfn_61(); + /*74*/ virtual float getShadowRadius() const; + /*76*/ virtual void __unk_vfn_76(); + /*81*/ virtual void __unk_vfn_81(); + /*88*/ virtual void __unk_vfn_88(); + /*90*/ virtual void __unk_vfn_90(); + /*98*/ virtual void __unk_vfn_98(); + /*100*/ virtual void __unk_vfn_100(); + /*109*/ virtual void setOwner(struct ActorUniqueID); + /*121*/ virtual void __unk_vfn_121(); + /*169*/ virtual void __unk_vfn_169(); + /*182*/ virtual void __unk_vfn_182(); + /*206*/ virtual void __unk_vfn_206(); + /*207*/ virtual void __unk_vfn_207(); + /*228*/ virtual void __unk_vfn_228(); + /*231*/ virtual void __unk_vfn_231(); + /*238*/ virtual void __unk_vfn_238(); + /*242*/ virtual void readAdditionalSaveData(class CompoundTag const &, class DataLoadHelper &); + /*243*/ virtual void addAdditionalSaveData(class CompoundTag &); + /*246*/ virtual void __unk_vfn_246(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_AREAEFFECTCLOUD +#endif + MCAPI int getDuration() const; + MCAPI float getEffectiveRadius() const; + MCAPI float getInitialRadius() const; + MCAPI int getPickupCount() const; + MCAPI void setDuration(int); + MCAPI void setInitialRadius(float); + MCAPI void setParticle(enum ParticleType); + MCAPI void setParticleColor(class Color &); + MCAPI void setPickupCount(int); + MCAPI void setPotion(short); + MCAPI void setRadiusChangeOnPickup(float); + MCAPI void setRadiusPerTick(float); + +//private: + MCAPI unsigned __int64 _getSpawnTick() const; + MCAPI void _setSpawnTick(__int64); + MCAPI void _spawnParticles(class Random &, unsigned int, float); + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ArmorItem.hpp b/LiteLoader/Header/MC/ArmorItem.hpp new file mode 100644 index 0000000..b834223 --- /dev/null +++ b/LiteLoader/Header/MC/ArmorItem.hpp @@ -0,0 +1,78 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Item.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ArmorItem : public Item { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ARMORITEM +public: + class ArmorItem& operator=(class ArmorItem const &) = delete; + ArmorItem(class ArmorItem const &) = delete; + ArmorItem() = delete; +#endif + +public: + /*0*/ virtual ~ArmorItem(); + /*5*/ virtual void __unk_vfn_5(); + /*26*/ virtual void __unk_vfn_26(); + /*27*/ virtual void __unk_vfn_27(); + /*31*/ virtual void __unk_vfn_31(); + /*32*/ virtual void __unk_vfn_32(); + /*34*/ virtual void __unk_vfn_34(); + /*37*/ virtual void __unk_vfn_37(); + /*38*/ virtual void appendFormattedHovertext(class ItemStackBase const &, class Level &, std::string &, bool) const; + /*39*/ virtual bool isValidRepairItem(class ItemStackBase const &, class ItemStackBase const &) const; + /*40*/ virtual int getEnchantSlot() const; + /*41*/ virtual int getEnchantValue() const; + /*42*/ virtual int getArmorValue() const; + /*43*/ virtual void __unk_vfn_43(); + /*45*/ virtual int getDamageChance(int) const; + /*46*/ virtual void __unk_vfn_46(); + /*47*/ virtual void __unk_vfn_47(); + /*48*/ virtual class Color getColor(class CompoundTag const *, class ItemDescriptor const &) const; + /*49*/ virtual void __unk_vfn_49(); + /*50*/ virtual void __unk_vfn_50(); + /*53*/ virtual bool isTintable() const; + /*54*/ virtual int buildIdAux(short, class CompoundTag const *) const; + /*55*/ virtual class ItemDescriptor buildDescriptor(short, class CompoundTag const *) const; + /*56*/ virtual class ItemStack & use(class ItemStack &, class Player &) const; + /*57*/ virtual bool dispense(class BlockSource &, class Container &, int, class Vec3 const &, unsigned char) const; + /*62*/ virtual void hurtEnemy(class ItemStack &, class Mob *, class Mob *) const; + /*64*/ virtual bool mineBlock(class ItemStack &, class Block const &, int, int, int, class Actor *) const; + /*79*/ virtual void __unk_vfn_79(); + /*80*/ virtual void __unk_vfn_80(); + /*85*/ virtual struct TextureUVCoordinateSet const & getIcon(class ItemStackBase const &, int, bool) const; + /*87*/ virtual class Item & setIcon(std::string const &, int); + /*90*/ virtual void __unk_vfn_90(); + /*97*/ virtual void __unk_vfn_97(); + /*100*/ virtual float getArmorKnockbackResistance() const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ARMORITEM + MCVAPI bool isArmor() const; +#endif + MCAPI ArmorItem(std::string const &, int, class ArmorItem::ArmorMaterial const &, int, enum ArmorSlot); + MCAPI bool hasCustomColor(class CompoundTag const *) const; + MCAPI void playEquipSound(class BlockSource &, enum ArmorSlot, class Player &) const; + MCAPI void setColor(class ItemStackBase &, class Color const &) const; + MCAPI static class ArmorItem::ArmorMaterial const CHAIN; + MCAPI static class ArmorItem::ArmorMaterial const DIAMOND; + MCAPI static class ArmorItem::ArmorMaterial const ELYTRA; + MCAPI static class ArmorItem::ArmorMaterial const GOLD; + MCAPI static class ArmorItem::ArmorMaterial const IRON; + MCAPI static class ArmorItem::ArmorMaterial const LEATHER; + MCAPI static class ArmorItem::ArmorMaterial const NETHERITE; + MCAPI static class ArmorItem::ArmorMaterial const TURTLE; + MCAPI static bool dispenseArmor(class BlockSource &, class Container &, int, class Vec3 const &, unsigned char, enum ArmorSlot); + MCAPI static enum ArmorSlot getSlotForItem(class ItemStackBase const &); + MCAPI static bool isFlyEnabled(class ItemInstance const &); + MCAPI static int const mHealthPerSlot[]; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ArmorStand.hpp b/LiteLoader/Header/MC/ArmorStand.hpp new file mode 100644 index 0000000..120f624 --- /dev/null +++ b/LiteLoader/Header/MC/ArmorStand.hpp @@ -0,0 +1,90 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Actor.hpp" +#include "Mob.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ArmorStand : public Mob { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ARMORSTAND +public: + class ArmorStand& operator=(class ArmorStand const &) = delete; + ArmorStand(class ArmorStand const &) = delete; + ArmorStand() = delete; +#endif + +public: + /*7*/ virtual ~ArmorStand(); + /*30*/ virtual void __unk_vfn_30(); + /*33*/ virtual void teleportTo(class Vec3 const &, bool, int, int, struct ActorUniqueID const &); + /*39*/ virtual void normalTick(); + /*54*/ virtual void __unk_vfn_54(); + /*61*/ virtual void __unk_vfn_61(); + /*74*/ virtual float getShadowRadius() const; + /*76*/ virtual void __unk_vfn_76(); + /*81*/ virtual void __unk_vfn_81(); + /*87*/ virtual bool isPickable(); + /*88*/ virtual void __unk_vfn_88(); + /*90*/ virtual void __unk_vfn_90(); + /*98*/ virtual void __unk_vfn_98(); + /*100*/ virtual void __unk_vfn_100(); + /*121*/ virtual void __unk_vfn_121(); + /*124*/ virtual bool isInvulnerableTo(class ActorDamageSource const &) const; + /*169*/ virtual void __unk_vfn_169(); + /*182*/ virtual void __unk_vfn_182(); + /*206*/ virtual void __unk_vfn_206(); + /*207*/ virtual void __unk_vfn_207(); + /*217*/ virtual bool getInteraction(class Player &, class ActorInteraction &, class Vec3 const &); + /*228*/ virtual void __unk_vfn_228(); + /*231*/ virtual void __unk_vfn_231(); + /*235*/ virtual void updateEntitySpecificMolangVariables(class RenderParams &); + /*238*/ virtual void __unk_vfn_238(); + /*240*/ virtual bool _hurt(class ActorDamageSource const &, int, bool, bool); + /*242*/ virtual void readAdditionalSaveData(class CompoundTag const &, class DataLoadHelper &); + /*243*/ virtual void addAdditionalSaveData(class CompoundTag &); + /*246*/ virtual void __unk_vfn_246(); + /*257*/ virtual void __unk_vfn_257(); + /*279*/ virtual void pushActors(); + /*290*/ virtual void __unk_vfn_290(); + /*300*/ virtual void __unk_vfn_300(); + /*332*/ virtual void __unk_vfn_332(); + /*348*/ virtual void __unk_vfn_348(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ARMORSTAND + MCVAPI bool interactPreventDefault(); +#endif + MCAPI int getNumSlotsFilled() const; + MCAPI void setPoseIndex(int); + +//private: + MCAPI void _causeDamage(float); + MCAPI void _destroyWithEffects(class Vec3 const &); + MCAPI void _dropHeldItems(); + MCAPI void _dropHeldItemsAndResource(); + MCAPI void _dropItem(class ItemStack const &); + MCAPI void _readPose(class CompoundTag const *); + MCAPI bool _trySwapItem(class Player &, enum EquipmentSlot); + +private: + MCAPI static struct ArmorStand::Pose const POSE_ATHENA; + MCAPI static struct ArmorStand::Pose const POSE_BRANDISH; + MCAPI static struct ArmorStand::Pose const POSE_CANCAN_A; + MCAPI static struct ArmorStand::Pose const POSE_CANCAN_B; + MCAPI static struct ArmorStand::Pose const POSE_DEFAULT; + MCAPI static struct ArmorStand::Pose const POSE_ENTERTAIN; + MCAPI static struct ArmorStand::Pose const POSE_HERO; + MCAPI static struct ArmorStand::Pose const POSE_HONOR; + MCAPI static struct ArmorStand::Pose const POSE_RIPOSTE; + MCAPI static struct ArmorStand::Pose const POSE_SALUTE; + MCAPI static struct ArmorStand::Pose const POSE_SOLEMN; + MCAPI static struct ArmorStand::Pose const POSE_ZERO_ROTATION; + MCAPI static struct ArmorStand::Pose const POSE_ZOMBIE; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ArmorStandItem.hpp b/LiteLoader/Header/MC/ArmorStandItem.hpp new file mode 100644 index 0000000..19f556f --- /dev/null +++ b/LiteLoader/Header/MC/ArmorStandItem.hpp @@ -0,0 +1,46 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Item.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ArmorStandItem : public Item { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ARMORSTANDITEM +public: + class ArmorStandItem& operator=(class ArmorStandItem const &) = delete; + ArmorStandItem(class ArmorStandItem const &) = delete; + ArmorStandItem() = delete; +#endif + +public: + /*0*/ virtual ~ArmorStandItem(); + /*5*/ virtual void __unk_vfn_5(); + /*26*/ virtual void __unk_vfn_26(); + /*27*/ virtual void __unk_vfn_27(); + /*31*/ virtual void __unk_vfn_31(); + /*32*/ virtual void __unk_vfn_32(); + /*34*/ virtual void __unk_vfn_34(); + /*37*/ virtual void __unk_vfn_37(); + /*43*/ virtual void __unk_vfn_43(); + /*46*/ virtual void __unk_vfn_46(); + /*47*/ virtual void __unk_vfn_47(); + /*49*/ virtual void __unk_vfn_49(); + /*50*/ virtual void __unk_vfn_50(); + /*79*/ virtual void __unk_vfn_79(); + /*80*/ virtual void __unk_vfn_80(); + /*90*/ virtual void __unk_vfn_90(); + /*97*/ virtual void __unk_vfn_97(); + /*99*/ virtual bool _useOn(class ItemStack &, class Actor &, class BlockPos, unsigned char, float, float, float) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ARMORSTANDITEM +#endif + MCAPI bool _shouldRemove(class BlockSource &, class BlockPos) const; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/Arrow.hpp b/LiteLoader/Header/MC/Arrow.hpp new file mode 100644 index 0000000..dd0cced --- /dev/null +++ b/LiteLoader/Header/MC/Arrow.hpp @@ -0,0 +1,62 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Actor.hpp" +#include "AbstractArrow.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class Arrow : public AbstractArrow { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ARROW +public: + class Arrow& operator=(class Arrow const &) = delete; + Arrow(class Arrow const &) = delete; + Arrow() = delete; +#endif + +public: + /*1*/ virtual void reloadHardcoded(enum Actor::InitializationMethod, class VariantParameterList const &); + /*7*/ virtual ~Arrow(); + /*30*/ virtual void __unk_vfn_30(); + /*39*/ virtual void normalTick(); + /*54*/ virtual void __unk_vfn_54(); + /*61*/ virtual void __unk_vfn_61(); + /*76*/ virtual void __unk_vfn_76(); + /*81*/ virtual void __unk_vfn_81(); + /*82*/ virtual void playerTouch(class Player &); + /*88*/ virtual void __unk_vfn_88(); + /*90*/ virtual void __unk_vfn_90(); + /*98*/ virtual void __unk_vfn_98(); + /*100*/ virtual void __unk_vfn_100(); + /*121*/ virtual void __unk_vfn_121(); + /*169*/ virtual void __unk_vfn_169(); + /*182*/ virtual void __unk_vfn_182(); + /*206*/ virtual void __unk_vfn_206(); + /*207*/ virtual void __unk_vfn_207(); + /*219*/ virtual void setAuxValue(int); + /*228*/ virtual void __unk_vfn_228(); + /*231*/ virtual void __unk_vfn_231(); + /*238*/ virtual void __unk_vfn_238(); + /*242*/ virtual void readAdditionalSaveData(class CompoundTag const &, class DataLoadHelper &); + /*243*/ virtual void addAdditionalSaveData(class CompoundTag &); + /*246*/ virtual void __unk_vfn_246(); + /*257*/ virtual void __unk_vfn_257(); + /*258*/ virtual void shoot(class Vec3 const &, float, float, class Vec3 const &); + /*260*/ virtual class ItemStack _getPickupItem() const; + /*261*/ virtual void applyParticleColor(class Particle *); + /*262*/ virtual class Color getEffectColor(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ARROW + MCVAPI bool canMakeStepSound() const; +#endif + MCAPI int getAuxValue() const; + MCAPI void setEnchantPower(int); + MCAPI void setEnchantPunch(int); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ArrowEffectSubcomponent.hpp b/LiteLoader/Header/MC/ArrowEffectSubcomponent.hpp new file mode 100644 index 0000000..e39a910 --- /dev/null +++ b/LiteLoader/Header/MC/ArrowEffectSubcomponent.hpp @@ -0,0 +1,31 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Json.hpp" +#include "MobEffectSubcomponent.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ArrowEffectSubcomponent : public MobEffectSubcomponent { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ARROWEFFECTSUBCOMPONENT +public: + class ArrowEffectSubcomponent& operator=(class ArrowEffectSubcomponent const &) = delete; + ArrowEffectSubcomponent(class ArrowEffectSubcomponent const &) = delete; + ArrowEffectSubcomponent() = delete; +#endif + +public: + /*0*/ virtual ~ArrowEffectSubcomponent(); + /*2*/ virtual void writetoJSON(class Json::Value &) const; + /*3*/ virtual void doOnHitEffect(class Actor &, class ProjectileComponent &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ARROWEFFECTSUBCOMPONENT +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ArrowItem.hpp b/LiteLoader/Header/MC/ArrowItem.hpp new file mode 100644 index 0000000..93665f0 --- /dev/null +++ b/LiteLoader/Header/MC/ArrowItem.hpp @@ -0,0 +1,52 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Item.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ArrowItem : public Item { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ARROWITEM +public: + class ArrowItem& operator=(class ArrowItem const &) = delete; + ArrowItem(class ArrowItem const &) = delete; + ArrowItem() = delete; +#endif + +public: + /*0*/ virtual ~ArrowItem(); + /*5*/ virtual void __unk_vfn_5(); + /*26*/ virtual void __unk_vfn_26(); + /*27*/ virtual void __unk_vfn_27(); + /*31*/ virtual void __unk_vfn_31(); + /*32*/ virtual void __unk_vfn_32(); + /*34*/ virtual void __unk_vfn_34(); + /*37*/ virtual void __unk_vfn_37(); + /*38*/ virtual void appendFormattedHovertext(class ItemStackBase const &, class Level &, std::string &, bool) const; + /*43*/ virtual void __unk_vfn_43(); + /*44*/ virtual bool isValidAuxValue(int) const; + /*46*/ virtual void __unk_vfn_46(); + /*47*/ virtual void __unk_vfn_47(); + /*49*/ virtual void __unk_vfn_49(); + /*50*/ virtual void __unk_vfn_50(); + /*57*/ virtual bool dispense(class BlockSource &, class Container &, int, class Vec3 const &, unsigned char) const; + /*65*/ virtual std::string buildDescriptionId(class ItemDescriptor const &, class CompoundTag const *) const; + /*66*/ virtual std::string buildEffectDescriptionName(class ItemStackBase const &) const; + /*79*/ virtual void __unk_vfn_79(); + /*80*/ virtual void __unk_vfn_80(); + /*85*/ virtual struct TextureUVCoordinateSet const & getIcon(class ItemStackBase const &, int, bool) const; + /*87*/ virtual class Item & setIcon(std::string const &, int); + /*90*/ virtual void __unk_vfn_90(); + /*97*/ virtual void __unk_vfn_97(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ARROWITEM +#endif + MCAPI void applyEffect(class Arrow *, class ItemInstance const &) const; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/AsyncTracker.hpp b/LiteLoader/Header/MC/AsyncTracker.hpp new file mode 100644 index 0000000..b5c3ac4 --- /dev/null +++ b/LiteLoader/Header/MC/AsyncTracker.hpp @@ -0,0 +1,27 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class AsyncTracker { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ASYNCTRACKER +public: + class AsyncTracker& operator=(class AsyncTracker const &) = delete; + AsyncTracker(class AsyncTracker const &) = delete; + AsyncTracker() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ASYNCTRACKER +#endif + MCAPI bool hasAsyncOperationTimedOut(); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/AsynchronousIPResolver.hpp b/LiteLoader/Header/MC/AsynchronousIPResolver.hpp new file mode 100644 index 0000000..a9407f3 --- /dev/null +++ b/LiteLoader/Header/MC/AsynchronousIPResolver.hpp @@ -0,0 +1,32 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class AsynchronousIPResolver { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ASYNCHRONOUSIPRESOLVER +public: + class AsynchronousIPResolver& operator=(class AsynchronousIPResolver const &) = delete; + AsynchronousIPResolver(class AsynchronousIPResolver const &) = delete; + AsynchronousIPResolver() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ASYNCHRONOUSIPRESOLVER +#endif + MCAPI ~AsynchronousIPResolver(); + +//private: + MCAPI void _resolve(); + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/AtlasItemManager.hpp b/LiteLoader/Header/MC/AtlasItemManager.hpp new file mode 100644 index 0000000..7138622 --- /dev/null +++ b/LiteLoader/Header/MC/AtlasItemManager.hpp @@ -0,0 +1,27 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class AtlasItemManager { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ATLASITEMMANAGER +public: + class AtlasItemManager& operator=(class AtlasItemManager const &) = delete; + AtlasItemManager(class AtlasItemManager const &) = delete; + AtlasItemManager() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ATLASITEMMANAGER +#endif + MCAPI class TextureAtlasItem const & getTextureItem(std::string const &) const; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/AttackCooldownComponent.hpp b/LiteLoader/Header/MC/AttackCooldownComponent.hpp new file mode 100644 index 0000000..cf111c6 --- /dev/null +++ b/LiteLoader/Header/MC/AttackCooldownComponent.hpp @@ -0,0 +1,27 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class AttackCooldownComponent { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ATTACKCOOLDOWNCOMPONENT +public: + class AttackCooldownComponent& operator=(class AttackCooldownComponent const &) = delete; + AttackCooldownComponent(class AttackCooldownComponent const &) = delete; + AttackCooldownComponent() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ATTACKCOOLDOWNCOMPONENT +#endif + MCAPI ~AttackCooldownComponent(); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/AttackCooldownSystem.hpp b/LiteLoader/Header/MC/AttackCooldownSystem.hpp new file mode 100644 index 0000000..6a7b7a8 --- /dev/null +++ b/LiteLoader/Header/MC/AttackCooldownSystem.hpp @@ -0,0 +1,28 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class AttackCooldownSystem { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ATTACKCOOLDOWNSYSTEM +public: + class AttackCooldownSystem& operator=(class AttackCooldownSystem const &) = delete; + AttackCooldownSystem(class AttackCooldownSystem const &) = delete; + AttackCooldownSystem() = delete; +#endif + +public: + /*0*/ virtual ~AttackCooldownSystem(); + /*1*/ virtual void tick(class EntityRegistry &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ATTACKCOOLDOWNSYSTEM +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/AttackDamageMobEffect.hpp b/LiteLoader/Header/MC/AttackDamageMobEffect.hpp new file mode 100644 index 0000000..a12bbe3 --- /dev/null +++ b/LiteLoader/Header/MC/AttackDamageMobEffect.hpp @@ -0,0 +1,30 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "MobEffect.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class AttackDamageMobEffect : public MobEffect { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ATTACKDAMAGEMOBEFFECT +public: + class AttackDamageMobEffect& operator=(class AttackDamageMobEffect const &) = delete; + AttackDamageMobEffect(class AttackDamageMobEffect const &) = delete; + AttackDamageMobEffect() = delete; +#endif + +public: + /*0*/ virtual ~AttackDamageMobEffect(); + /*5*/ virtual float getAttributeModifierValue(int, class AttributeModifier const &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ATTACKDAMAGEMOBEFFECT +#endif + MCAPI AttackDamageMobEffect(int, std::string const &, std::string const &, bool, int, int); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/AttackDefinition.hpp b/LiteLoader/Header/MC/AttackDefinition.hpp new file mode 100644 index 0000000..6a37ea7 --- /dev/null +++ b/LiteLoader/Header/MC/AttackDefinition.hpp @@ -0,0 +1,30 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Json.hpp" +#include "BehaviorDefinition.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class AttackDefinition : public BehaviorDefinition { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ATTACKDEFINITION +public: + class AttackDefinition& operator=(class AttackDefinition const &) = delete; + AttackDefinition(class AttackDefinition const &) = delete; + AttackDefinition() = delete; +#endif + +public: + /*0*/ virtual ~AttackDefinition(); + /*1*/ virtual void load(class Json::Value, class BehaviorFactory const &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ATTACKDEFINITION +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/AttackDescription.hpp b/LiteLoader/Header/MC/AttackDescription.hpp new file mode 100644 index 0000000..f2d0374 --- /dev/null +++ b/LiteLoader/Header/MC/AttackDescription.hpp @@ -0,0 +1,30 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Json.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +struct AttackDescription { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ATTACKDESCRIPTION +public: + struct AttackDescription& operator=(struct AttackDescription const &) = delete; + AttackDescription(struct AttackDescription const &) = delete; + AttackDescription() = delete; +#endif +public: + /*0*/ virtual char const * getJsonName() const; + /*1*/ virtual ~AttackDescription(); + /*2*/ virtual void deserializeData(class Json::Value &); + /*3*/ virtual void serializeData(class Json::Value &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ATTACKDESCRIPTION +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/AttackNode.hpp b/LiteLoader/Header/MC/AttackNode.hpp new file mode 100644 index 0000000..0804852 --- /dev/null +++ b/LiteLoader/Header/MC/AttackNode.hpp @@ -0,0 +1,29 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class AttackNode { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ATTACKNODE +public: + class AttackNode& operator=(class AttackNode const &) = delete; + AttackNode(class AttackNode const &) = delete; + AttackNode() = delete; +#endif + +public: + /*0*/ virtual ~AttackNode(); + /*1*/ virtual enum BehaviorStatus tick(class Actor &); + /*2*/ virtual void initializeFromDefinition(class Actor &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ATTACKNODE +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/Attribute.hpp b/LiteLoader/Header/MC/Attribute.hpp new file mode 100644 index 0000000..ca7e1a8 --- /dev/null +++ b/LiteLoader/Header/MC/Attribute.hpp @@ -0,0 +1,28 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class Attribute { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ATTRIBUTE +public: + class Attribute& operator=(class Attribute const &) = delete; + Attribute(class Attribute const &) = delete; + Attribute() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ATTRIBUTE +#endif + MCAPI Attribute(class HashedString const &, enum RedefinitionMode, bool); + MCAPI static class Attribute & getByName(class HashedString const &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/AttributeBuff.hpp b/LiteLoader/Header/MC/AttributeBuff.hpp new file mode 100644 index 0000000..6a41c9f --- /dev/null +++ b/LiteLoader/Header/MC/AttributeBuff.hpp @@ -0,0 +1,31 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class AttributeBuff { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ATTRIBUTEBUFF +public: + class AttributeBuff& operator=(class AttributeBuff const &) = delete; + AttributeBuff() = delete; +#endif + +public: + /*0*/ virtual ~AttributeBuff(); + /*1*/ virtual bool isInstantaneous() const = 0; + /*2*/ virtual bool isSerializable() const = 0; + /*3*/ virtual void setDurationAmplifier(class std::shared_ptr); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ATTRIBUTEBUFF +#endif + MCAPI AttributeBuff(class AttributeBuff const &); + MCAPI void setValueAmplifier(class std::shared_ptr); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/AttributeCollection.hpp b/LiteLoader/Header/MC/AttributeCollection.hpp new file mode 100644 index 0000000..cd236d0 --- /dev/null +++ b/LiteLoader/Header/MC/AttributeCollection.hpp @@ -0,0 +1,31 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class AttributeCollection { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ATTRIBUTECOLLECTION +public: + class AttributeCollection& operator=(class AttributeCollection const &) = delete; + AttributeCollection(class AttributeCollection const &) = delete; + AttributeCollection() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ATTRIBUTECOLLECTION +#endif + +//private: + MCAPI static class AttributeCollection & instance(); + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/AttributeInstance.hpp b/LiteLoader/Header/MC/AttributeInstance.hpp new file mode 100644 index 0000000..ddfe200 --- /dev/null +++ b/LiteLoader/Header/MC/AttributeInstance.hpp @@ -0,0 +1,52 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class AttributeInstance { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ATTRIBUTEINSTANCE +public: + class AttributeInstance& operator=(class AttributeInstance const &) = delete; + AttributeInstance(class AttributeInstance const &) = delete; + AttributeInstance() = delete; +#endif + +public: + /*0*/ virtual ~AttributeInstance(); + /*1*/ virtual void tick(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ATTRIBUTEINSTANCE +#endif + MCAPI void addBuff(class AttributeBuff const &); + MCAPI void addModifier(class std::shared_ptr); + MCAPI void addModifier(class AttributeModifier const &); + MCAPI std::vector getModifiers(int) const; + MCAPI std::vector getModifiers() const; + MCAPI bool hasModifier(class std::shared_ptr) const; + MCAPI bool hasModifier(class AttributeModifier const &) const; + MCAPI void removeModifier(class std::shared_ptr); + MCAPI void removeModifier(class AttributeModifier const &); + MCAPI void resetToDefaultValue(); + MCAPI void resetToMaxValue(); + MCAPI void resetToMinValue(); + MCAPI void setDefaultValue(float, int); + MCAPI void setDelegate(class std::shared_ptr); + MCAPI void setMaxValue(float); + MCAPI void setRange(float, float, float); + +//private: + MCAPI float _calculateValue(); + MCAPI float _calculateValue(class AttributeBuff const &); + MCAPI float _sanitizeValue(float); + MCAPI void _setDirty(); + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/AttributeInstanceDelegate.hpp b/LiteLoader/Header/MC/AttributeInstanceDelegate.hpp new file mode 100644 index 0000000..1ecda90 --- /dev/null +++ b/LiteLoader/Header/MC/AttributeInstanceDelegate.hpp @@ -0,0 +1,31 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class AttributeInstanceDelegate { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ATTRIBUTEINSTANCEDELEGATE +public: + class AttributeInstanceDelegate& operator=(class AttributeInstanceDelegate const &) = delete; + AttributeInstanceDelegate(class AttributeInstanceDelegate const &) = delete; + AttributeInstanceDelegate() = delete; +#endif + +public: + /*0*/ virtual ~AttributeInstanceDelegate(); + /*1*/ virtual void tick(); + /*2*/ virtual void notify(__int64); + /*3*/ virtual bool change(float, float, struct AttributeBuffInfo); + /*4*/ virtual float getBuffValue(class AttributeBuff const &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ATTRIBUTEINSTANCEDELEGATE +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/AttributeModifier.hpp b/LiteLoader/Header/MC/AttributeModifier.hpp new file mode 100644 index 0000000..fce7f93 --- /dev/null +++ b/LiteLoader/Header/MC/AttributeModifier.hpp @@ -0,0 +1,34 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class AttributeModifier { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ATTRIBUTEMODIFIER +public: + AttributeModifier(class AttributeModifier const &) = delete; +#endif + +public: + /*0*/ virtual ~AttributeModifier(); + /*1*/ virtual bool isInstantaneous() const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ATTRIBUTEMODIFIER +#endif + MCAPI AttributeModifier(); + MCAPI class AttributeModifier & operator=(class AttributeModifier const &); + MCAPI bool operator==(class AttributeModifier const &) const; + +//private: + +private: + MCAPI static class mce::UUID const mInvalidUUID; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/AutomaticFeatureRules.hpp b/LiteLoader/Header/MC/AutomaticFeatureRules.hpp new file mode 100644 index 0000000..2e186b6 --- /dev/null +++ b/LiteLoader/Header/MC/AutomaticFeatureRules.hpp @@ -0,0 +1,17 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +namespace AutomaticFeatureRules { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA + MCAPI void parseAutomaticFeatures(class ResourcePackManager &, class IWorldRegistriesProvider &, bool, std::vector (&)[7]); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/Automation.hpp b/LiteLoader/Header/MC/Automation.hpp new file mode 100644 index 0000000..e2aff46 --- /dev/null +++ b/LiteLoader/Header/MC/Automation.hpp @@ -0,0 +1,25 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +namespace Automation { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA + MCAPI extern char const * Body; + MCAPI extern char const * BodyData; + MCAPI extern char const * Header; + MCAPI extern char const * HeaderData; + MCAPI extern char const * MsgPurpose; + MCAPI extern char const * RequestId; + MCAPI extern char const * StatusCode; + MCAPI extern char const * StatusMsg; + MCAPI extern char const * VersionData; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/AutomationClientConnectPacket.hpp b/LiteLoader/Header/MC/AutomationClientConnectPacket.hpp new file mode 100644 index 0000000..3f25f5a --- /dev/null +++ b/LiteLoader/Header/MC/AutomationClientConnectPacket.hpp @@ -0,0 +1,32 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Packet.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class AutomationClientConnectPacket : public Packet { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_AUTOMATIONCLIENTCONNECTPACKET +public: + class AutomationClientConnectPacket& operator=(class AutomationClientConnectPacket const &) = delete; + AutomationClientConnectPacket(class AutomationClientConnectPacket const &) = delete; + AutomationClientConnectPacket() = delete; +#endif + +public: + /*0*/ virtual ~AutomationClientConnectPacket(); + /*1*/ virtual enum MinecraftPacketIds getId() const; + /*2*/ virtual std::string getName() const; + /*3*/ virtual void write(class BinaryStream &) const; + /*4*/ virtual enum StreamReadResult read(class ReadOnlyBinaryStream &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_AUTOMATIONCLIENTCONNECTPACKET +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/AutomationPlayerCommandOrigin.hpp b/LiteLoader/Header/MC/AutomationPlayerCommandOrigin.hpp new file mode 100644 index 0000000..dd2fb9c --- /dev/null +++ b/LiteLoader/Header/MC/AutomationPlayerCommandOrigin.hpp @@ -0,0 +1,39 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Json.hpp" +#include "PlayerCommandOrigin.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class AutomationPlayerCommandOrigin : public PlayerCommandOrigin { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_AUTOMATIONPLAYERCOMMANDORIGIN +public: + class AutomationPlayerCommandOrigin& operator=(class AutomationPlayerCommandOrigin const &) = delete; + AutomationPlayerCommandOrigin(class AutomationPlayerCommandOrigin const &) = delete; + AutomationPlayerCommandOrigin() = delete; +#endif + +public: + /*0*/ virtual ~AutomationPlayerCommandOrigin(); + /*1*/ virtual std::string const & getRequestId() const; + /*2*/ virtual std::string getName() const; + /*8*/ virtual enum CommandPermissionLevel getPermissionsLevel() const; + /*9*/ virtual std::unique_ptr clone() const; + /*12*/ virtual bool hasChatPerms() const; + /*13*/ virtual bool hasTellPerms() const; + /*18*/ virtual class NetworkIdentifier const & getSourceId() const; + /*21*/ virtual enum CommandOriginType getOriginType() const; + /*22*/ virtual struct CommandOriginData toCommandOriginData() const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_AUTOMATIONPLAYERCOMMANDORIGIN +#endif + MCAPI AutomationPlayerCommandOrigin(struct ActorUniqueID, class Level &, std::string const &, enum CommandPermissionLevel, class NetworkIdentifier const &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/AuxDataBlockItem.hpp b/LiteLoader/Header/MC/AuxDataBlockItem.hpp new file mode 100644 index 0000000..a054767 --- /dev/null +++ b/LiteLoader/Header/MC/AuxDataBlockItem.hpp @@ -0,0 +1,46 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "BlockItem.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class AuxDataBlockItem : public BlockItem { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_AUXDATABLOCKITEM +public: + class AuxDataBlockItem& operator=(class AuxDataBlockItem const &) = delete; + AuxDataBlockItem(class AuxDataBlockItem const &) = delete; + AuxDataBlockItem() = delete; +#endif + +public: + /*0*/ virtual ~AuxDataBlockItem(); + /*5*/ virtual void __unk_vfn_5(); + /*21*/ virtual int getLevelDataForAuxValue(int) const; + /*26*/ virtual void __unk_vfn_26(); + /*27*/ virtual void __unk_vfn_27(); + /*31*/ virtual void __unk_vfn_31(); + /*32*/ virtual void __unk_vfn_32(); + /*34*/ virtual void __unk_vfn_34(); + /*37*/ virtual void __unk_vfn_37(); + /*43*/ virtual void __unk_vfn_43(); + /*46*/ virtual void __unk_vfn_46(); + /*47*/ virtual void __unk_vfn_47(); + /*49*/ virtual void __unk_vfn_49(); + /*50*/ virtual void __unk_vfn_50(); + /*65*/ virtual std::string buildDescriptionId(class ItemDescriptor const &, class CompoundTag const *) const; + /*79*/ virtual void __unk_vfn_79(); + /*80*/ virtual void __unk_vfn_80(); + /*90*/ virtual void __unk_vfn_90(); + /*97*/ virtual void __unk_vfn_97(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_AUXDATABLOCKITEM +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/AvailableActorIdentifiersPacket.hpp b/LiteLoader/Header/MC/AvailableActorIdentifiersPacket.hpp new file mode 100644 index 0000000..58c9bbe --- /dev/null +++ b/LiteLoader/Header/MC/AvailableActorIdentifiersPacket.hpp @@ -0,0 +1,33 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Packet.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class AvailableActorIdentifiersPacket : public Packet { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_AVAILABLEACTORIDENTIFIERSPACKET +public: + class AvailableActorIdentifiersPacket& operator=(class AvailableActorIdentifiersPacket const &) = delete; + AvailableActorIdentifiersPacket(class AvailableActorIdentifiersPacket const &) = delete; + AvailableActorIdentifiersPacket() = delete; +#endif + +public: + /*0*/ virtual ~AvailableActorIdentifiersPacket(); + /*1*/ virtual enum MinecraftPacketIds getId() const; + /*2*/ virtual std::string getName() const; + /*3*/ virtual void write(class BinaryStream &) const; + /*4*/ virtual enum StreamReadResult read(class ReadOnlyBinaryStream &); + /*5*/ virtual struct ExtendedStreamReadResult readExtended(class ReadOnlyBinaryStream &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_AVAILABLEACTORIDENTIFIERSPACKET +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/AvailableCommandsPacket.hpp b/LiteLoader/Header/MC/AvailableCommandsPacket.hpp new file mode 100644 index 0000000..3a5a10f --- /dev/null +++ b/LiteLoader/Header/MC/AvailableCommandsPacket.hpp @@ -0,0 +1,32 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Packet.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class AvailableCommandsPacket : public Packet { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_AVAILABLECOMMANDSPACKET +public: + class AvailableCommandsPacket& operator=(class AvailableCommandsPacket const &) = delete; + AvailableCommandsPacket(class AvailableCommandsPacket const &) = delete; + AvailableCommandsPacket() = delete; +#endif + +public: + /*0*/ virtual ~AvailableCommandsPacket(); + /*1*/ virtual enum MinecraftPacketIds getId() const; + /*2*/ virtual std::string getName() const; + /*3*/ virtual void write(class BinaryStream &) const; + /*4*/ virtual enum StreamReadResult read(class ReadOnlyBinaryStream &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_AVAILABLECOMMANDSPACKET +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/AvoidBlockGoal.hpp b/LiteLoader/Header/MC/AvoidBlockGoal.hpp new file mode 100644 index 0000000..7989e51 --- /dev/null +++ b/LiteLoader/Header/MC/AvoidBlockGoal.hpp @@ -0,0 +1,40 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class AvoidBlockGoal { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_AVOIDBLOCKGOAL +public: + class AvoidBlockGoal& operator=(class AvoidBlockGoal const &) = delete; + AvoidBlockGoal(class AvoidBlockGoal const &) = delete; + AvoidBlockGoal() = delete; +#endif + +public: + /*0*/ virtual ~AvoidBlockGoal(); + /*1*/ virtual bool canUse(); + /*2*/ virtual bool canContinueToUse(); + /*3*/ virtual void __unk_vfn_3(); + /*4*/ virtual void start(); + /*5*/ virtual void stop(); + /*6*/ virtual void tick(); + /*7*/ virtual void appendDebugInfo(std::string &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_AVOIDBLOCKGOAL +#endif + +//private: + MCAPI bool _findTargetBlock(); + MCAPI bool _isValidTarget(class Block const &) const; + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/AvoidMobTypeDefinition.hpp b/LiteLoader/Header/MC/AvoidMobTypeDefinition.hpp new file mode 100644 index 0000000..eb60fff --- /dev/null +++ b/LiteLoader/Header/MC/AvoidMobTypeDefinition.hpp @@ -0,0 +1,28 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "JsonUtil.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class AvoidMobTypeDefinition { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_AVOIDMOBTYPEDEFINITION +public: + class AvoidMobTypeDefinition& operator=(class AvoidMobTypeDefinition const &) = delete; + AvoidMobTypeDefinition(class AvoidMobTypeDefinition const &) = delete; + AvoidMobTypeDefinition() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_AVOIDMOBTYPEDEFINITION +#endif + MCAPI static void buildSchema(std::string const &, class std::shared_ptr> &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/AvoidMobTypeGoal.hpp b/LiteLoader/Header/MC/AvoidMobTypeGoal.hpp new file mode 100644 index 0000000..0c363d0 --- /dev/null +++ b/LiteLoader/Header/MC/AvoidMobTypeGoal.hpp @@ -0,0 +1,36 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class AvoidMobTypeGoal { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_AVOIDMOBTYPEGOAL +public: + class AvoidMobTypeGoal& operator=(class AvoidMobTypeGoal const &) = delete; + AvoidMobTypeGoal(class AvoidMobTypeGoal const &) = delete; + AvoidMobTypeGoal() = delete; +#endif + +public: + /*0*/ virtual ~AvoidMobTypeGoal(); + /*1*/ virtual bool canUse(); + /*2*/ virtual bool canContinueToUse(); + /*3*/ virtual void __unk_vfn_3(); + /*4*/ virtual void start(); + /*5*/ virtual void stop(); + /*6*/ virtual void tick(); + /*7*/ virtual void appendDebugInfo(std::string &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_AVOIDMOBTYPEGOAL +#endif + MCAPI bool canFindAvoidPath(class Actor *); + MCAPI class Actor * findNearestEntityToAvoid(float); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/BackgroundTask.hpp b/LiteLoader/Header/MC/BackgroundTask.hpp new file mode 100644 index 0000000..a101e6c --- /dev/null +++ b/LiteLoader/Header/MC/BackgroundTask.hpp @@ -0,0 +1,44 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Bedrock.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class BackgroundTask { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_BACKGROUNDTASK +public: + class BackgroundTask& operator=(class BackgroundTask const &) = delete; + BackgroundTask(class BackgroundTask const &) = delete; + BackgroundTask() = delete; +#endif + +public: + /*0*/ virtual ~BackgroundTask(); + /*1*/ virtual enum Bedrock::Threading::AsyncStatus getStatus() const; + /*2*/ virtual class std::error_code getError() const; + /*3*/ virtual class std::exception_ptr getException() const; + /*4*/ virtual void cancel(); + /*5*/ virtual void addOnComplete(class std::function const &)>); + /*6*/ virtual class TaskResult invoke(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_BACKGROUNDTASK +#endif + MCAPI BackgroundTask(class gsl::not_null, struct TaskStartInfo &, bool, class std::function); + MCAPI enum BackgroundTask::TaskRunResult run(class ITaskExecutionContext const *); + MCAPI void setNext(class std::shared_ptr); + MCAPI static class std::shared_ptr create(class gsl::not_null, struct TaskStartInfo &, bool, class std::function); + +//private: + MCAPI void _setPredecessor(class std::shared_ptr>, bool); + MCAPI bool _tryTransitionTo(enum BackgroundTask::TaskStatus, bool, bool); + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/BackgroundTaskQueue.hpp b/LiteLoader/Header/MC/BackgroundTaskQueue.hpp new file mode 100644 index 0000000..eea28b4 --- /dev/null +++ b/LiteLoader/Header/MC/BackgroundTaskQueue.hpp @@ -0,0 +1,35 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class BackgroundTaskQueue { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_BACKGROUNDTASKQUEUE +public: + class BackgroundTaskQueue& operator=(class BackgroundTaskQueue const &) = delete; + BackgroundTaskQueue(class BackgroundTaskQueue const &) = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_BACKGROUNDTASKQUEUE +#endif + MCAPI BackgroundTaskQueue(); + MCAPI void flush(); + MCAPI void queue(class std::shared_ptr, bool); + MCAPI class std::shared_ptr tryPop(int); + MCAPI ~BackgroundTaskQueue(); + +//private: + MCAPI bool _fetchAllAvailableTasks(); + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/BackgroundWorker.hpp b/LiteLoader/Header/MC/BackgroundWorker.hpp new file mode 100644 index 0000000..d61e2f6 --- /dev/null +++ b/LiteLoader/Header/MC/BackgroundWorker.hpp @@ -0,0 +1,43 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Bedrock.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class BackgroundWorker { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_BACKGROUNDWORKER +public: + class BackgroundWorker& operator=(class BackgroundWorker const &) = delete; + BackgroundWorker(class BackgroundWorker const &) = delete; + BackgroundWorker() = delete; +#endif + +public: + /*0*/ virtual ~BackgroundWorker(); + /*1*/ virtual bool isAsync() const; + /*2*/ virtual bool canTaskRunAgain() const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_BACKGROUNDWORKER +#endif + MCAPI BackgroundWorker(std::string, bool, class Bedrock::Threading::OSThreadPriority const &, class std::optional, class WorkerPool &, bool); + MCAPI void queue(class std::shared_ptr); + MCAPI void start(); + MCAPI void wake(); + +//private: + MCAPI void _doNoWorkDelay(); + MCAPI bool _processNextTask(); + MCAPI enum BackgroundWorker::RunOneResult _runOneTask(); + MCAPI class std::shared_ptr _tryPop(); + +private: + MCAPI static class BackgroundWorker * gLocalWorkerMappingSingleton; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/BackwardsCompatTextureGroup.hpp b/LiteLoader/Header/MC/BackwardsCompatTextureGroup.hpp new file mode 100644 index 0000000..589c00f --- /dev/null +++ b/LiteLoader/Header/MC/BackwardsCompatTextureGroup.hpp @@ -0,0 +1,31 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class BackwardsCompatTextureGroup { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_BACKWARDSCOMPATTEXTUREGROUP +public: + class BackwardsCompatTextureGroup& operator=(class BackwardsCompatTextureGroup const &) = delete; + BackwardsCompatTextureGroup(class BackwardsCompatTextureGroup const &) = delete; + BackwardsCompatTextureGroup() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_BACKWARDSCOMPATTEXTUREGROUP +#endif + +//private: + +private: + MCAPI static class BackwardsCompatTextureInfo const invalidInfo; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/Balloon.hpp b/LiteLoader/Header/MC/Balloon.hpp new file mode 100644 index 0000000..5665246 --- /dev/null +++ b/LiteLoader/Header/MC/Balloon.hpp @@ -0,0 +1,53 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Actor.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class Balloon : public Actor { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_BALLOON +public: + class Balloon& operator=(class Balloon const &) = delete; + Balloon(class Balloon const &) = delete; + Balloon() = delete; +#endif + +public: + /*1*/ virtual void reloadHardcoded(enum Actor::InitializationMethod, class VariantParameterList const &); + /*7*/ virtual ~Balloon(); + /*11*/ virtual void remove(); + /*30*/ virtual void __unk_vfn_30(); + /*36*/ virtual void lerpTo(class Vec3 const &, class Vec2 const &, int); + /*39*/ virtual void normalTick(); + /*54*/ virtual void __unk_vfn_54(); + /*61*/ virtual void __unk_vfn_61(); + /*76*/ virtual void __unk_vfn_76(); + /*81*/ virtual void __unk_vfn_81(); + /*87*/ virtual bool isPickable(); + /*88*/ virtual void __unk_vfn_88(); + /*90*/ virtual void __unk_vfn_90(); + /*98*/ virtual void __unk_vfn_98(); + /*100*/ virtual void __unk_vfn_100(); + /*121*/ virtual void __unk_vfn_121(); + /*169*/ virtual void __unk_vfn_169(); + /*182*/ virtual void __unk_vfn_182(); + /*206*/ virtual void __unk_vfn_206(); + /*207*/ virtual void __unk_vfn_207(); + /*228*/ virtual void __unk_vfn_228(); + /*231*/ virtual void __unk_vfn_231(); + /*238*/ virtual void __unk_vfn_238(); + /*240*/ virtual bool _hurt(class ActorDamageSource const &, int, bool, bool); + /*246*/ virtual void __unk_vfn_246(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_BALLOON +#endif + MCAPI void remove(bool); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/BalloonComponent.hpp b/LiteLoader/Header/MC/BalloonComponent.hpp new file mode 100644 index 0000000..a78683a --- /dev/null +++ b/LiteLoader/Header/MC/BalloonComponent.hpp @@ -0,0 +1,38 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class BalloonComponent { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_BALLOONCOMPONENT +public: + class BalloonComponent& operator=(class BalloonComponent const &) = delete; + BalloonComponent(class BalloonComponent const &) = delete; + BalloonComponent() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_BALLOONCOMPONENT +#endif + MCAPI void detach(class Actor &); + MCAPI void integrate(class Actor &); + MCAPI void onRemoved(class Actor &, bool); + MCAPI void readAdditionalSaveData(class Actor &, class CompoundTag const &, class DataLoadHelper &); + MCAPI void setAttachedActor(class Actor &, class Actor &); + MCAPI bool shouldPop(class Actor &, bool &); + MCAPI static std::string const ATTACHED_TAG; + MCAPI static float const FENCE_BALLOON_RANGE; + MCAPI static std::string const MAX_HEIGHT_TAG; + MCAPI static std::string const SHOULD_DROP_TAG; + MCAPI static void _integrateBalloon(class Vec3 &, class Vec3 *, class Vec3 const &, class DistanceConstraint *); + MCAPI static class Actor * getBalloonForActor(class Actor const &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/BalloonItem.hpp b/LiteLoader/Header/MC/BalloonItem.hpp new file mode 100644 index 0000000..c9ea32f --- /dev/null +++ b/LiteLoader/Header/MC/BalloonItem.hpp @@ -0,0 +1,49 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Item.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class BalloonItem : public Item { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_BALLOONITEM +public: + class BalloonItem& operator=(class BalloonItem const &) = delete; + BalloonItem(class BalloonItem const &) = delete; + BalloonItem() = delete; +#endif + +public: + /*0*/ virtual ~BalloonItem(); + /*5*/ virtual void __unk_vfn_5(); + /*26*/ virtual void __unk_vfn_26(); + /*27*/ virtual void __unk_vfn_27(); + /*31*/ virtual void __unk_vfn_31(); + /*32*/ virtual void __unk_vfn_32(); + /*34*/ virtual void __unk_vfn_34(); + /*37*/ virtual void __unk_vfn_37(); + /*43*/ virtual void __unk_vfn_43(); + /*46*/ virtual void __unk_vfn_46(); + /*47*/ virtual void __unk_vfn_47(); + /*48*/ virtual class Color getColor(class CompoundTag const *, class ItemDescriptor const &) const; + /*49*/ virtual void __unk_vfn_49(); + /*50*/ virtual void __unk_vfn_50(); + /*53*/ virtual bool isTintable() const; + /*65*/ virtual std::string buildDescriptionId(class ItemDescriptor const &, class CompoundTag const *) const; + /*79*/ virtual void __unk_vfn_79(); + /*80*/ virtual void __unk_vfn_80(); + /*90*/ virtual void __unk_vfn_90(); + /*97*/ virtual void __unk_vfn_97(); + /*99*/ virtual bool _useOn(class ItemStack &, class Actor &, class BlockPos, unsigned char, float, float, float) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_BALLOONITEM +#endif + MCAPI static bool canAttachToBlock(class BlockPos const &, class BlockSource const &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/BalloonSystem.hpp b/LiteLoader/Header/MC/BalloonSystem.hpp new file mode 100644 index 0000000..443ab20 --- /dev/null +++ b/LiteLoader/Header/MC/BalloonSystem.hpp @@ -0,0 +1,28 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class BalloonSystem { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_BALLOONSYSTEM +public: + class BalloonSystem& operator=(class BalloonSystem const &) = delete; + BalloonSystem(class BalloonSystem const &) = delete; + BalloonSystem() = delete; +#endif + +public: + /*0*/ virtual ~BalloonSystem(); + /*1*/ virtual void tick(class EntityRegistry &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_BALLOONSYSTEM +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/BalloonableComponent.hpp b/LiteLoader/Header/MC/BalloonableComponent.hpp new file mode 100644 index 0000000..2bb6d81 --- /dev/null +++ b/LiteLoader/Header/MC/BalloonableComponent.hpp @@ -0,0 +1,33 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class BalloonableComponent { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_BALLOONABLECOMPONENT +public: + class BalloonableComponent& operator=(class BalloonableComponent const &) = delete; + BalloonableComponent(class BalloonableComponent const &) = delete; + BalloonableComponent() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_BALLOONABLECOMPONENT +#endif + MCAPI bool getInteraction(class Actor &, class Player &, class ActorInteraction &); + +//private: + MCAPI bool attach(class Actor &, class Actor &, class ItemStack &); + MCAPI void detach(class Actor &, class Actor &); + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/BalloonableDefinition.hpp b/LiteLoader/Header/MC/BalloonableDefinition.hpp new file mode 100644 index 0000000..fd46470 --- /dev/null +++ b/LiteLoader/Header/MC/BalloonableDefinition.hpp @@ -0,0 +1,28 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "JsonUtil.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class BalloonableDefinition { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_BALLOONABLEDEFINITION +public: + class BalloonableDefinition& operator=(class BalloonableDefinition const &) = delete; + BalloonableDefinition(class BalloonableDefinition const &) = delete; + BalloonableDefinition() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_BALLOONABLEDEFINITION +#endif + MCAPI static void buildSchema(class std::shared_ptr> &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/BambooBlock.hpp b/LiteLoader/Header/MC/BambooBlock.hpp new file mode 100644 index 0000000..10af52f --- /dev/null +++ b/LiteLoader/Header/MC/BambooBlock.hpp @@ -0,0 +1,84 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "BlockLegacy.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class BambooBlock : public BlockLegacy { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_BAMBOOBLOCK +public: + class BambooBlock& operator=(class BambooBlock const &) = delete; + BambooBlock(class BambooBlock const &) = delete; + BambooBlock() = delete; +#endif + +public: + /*0*/ virtual ~BambooBlock(); + /*1*/ virtual void tick(class BlockSource &, class BlockPos const &, class Random &) const; + /*8*/ virtual class Vec3 randomlyModifyPosition(class BlockPos const &) const; + /*10*/ virtual class AABB const & getAABB(class BlockSource &, class BlockPos const &, class Block const &, class AABB &, bool) const; + /*18*/ virtual void __unk_vfn_18(); + /*24*/ virtual void __unk_vfn_24(); + /*25*/ virtual void __unk_vfn_25(); + /*26*/ virtual void __unk_vfn_26(); + /*27*/ virtual void __unk_vfn_27(); + /*28*/ virtual void __unk_vfn_28(); + /*29*/ virtual bool isWaterBlocking() const; + /*30*/ virtual void __unk_vfn_30(); + /*31*/ virtual void __unk_vfn_31(); + /*32*/ virtual void __unk_vfn_32(); + /*33*/ virtual void __unk_vfn_33(); + /*34*/ virtual void __unk_vfn_34(); + /*35*/ virtual void __unk_vfn_35(); + /*36*/ virtual void __unk_vfn_36(); + /*38*/ virtual void __unk_vfn_38(); + /*39*/ virtual void __unk_vfn_39(); + /*40*/ virtual void __unk_vfn_40(); + /*42*/ virtual void __unk_vfn_42(); + /*43*/ virtual void __unk_vfn_43(); + /*44*/ virtual bool isValidAuxValue(int) const; + /*49*/ virtual void __unk_vfn_49(); + /*50*/ virtual bool canContainLiquid() const; + /*52*/ virtual void __unk_vfn_52(); + /*56*/ virtual bool checkIsPathable(class Actor &, class BlockPos const &, class BlockPos const &) const; + /*59*/ virtual void onPlace(class BlockSource &, class BlockPos const &) const; + /*67*/ virtual void __unk_vfn_67(); + /*73*/ virtual void __unk_vfn_73(); + /*75*/ virtual bool onFertilized(class BlockSource &, class BlockPos const &, class Actor *, enum FertilizerType) const; + /*76*/ virtual bool mayConsumeFertilizer(class BlockSource &) const; + /*77*/ virtual bool canBeFertilized(class BlockSource &, class BlockPos const &, class Block const &) const; + /*81*/ virtual bool mayPlace(class BlockSource &, class BlockPos const &) const; + /*87*/ virtual void __unk_vfn_87(); + /*88*/ virtual void neighborChanged(class BlockSource &, class BlockPos const &, class BlockPos const &) const; + /*91*/ virtual class ItemInstance getResourceItem(class Random &, class Block const &, int) const; + /*92*/ virtual class ItemInstance asItemInstance(class BlockSource &, class BlockPos const &, class Block const &) const; + /*95*/ virtual void __unk_vfn_95(); + /*99*/ virtual class Block const & getPlacementBlock(class Actor &, class BlockPos const &, unsigned char, class Vec3 const &, int) const; + /*105*/ virtual void playerDestroy(class Player &, class BlockPos const &, class Block const &) const; + /*106*/ virtual bool canSurvive(class BlockSource &, class BlockPos const &) const; + /*109*/ virtual void __unk_vfn_109(); + /*116*/ virtual void __unk_vfn_116(); + /*118*/ virtual void __unk_vfn_118(); + /*119*/ virtual void __unk_vfn_119(); + /*138*/ virtual class AABB const & getVisualShape(class Block const &, class AABB &, bool) const; + /*142*/ virtual void __unk_vfn_142(); + /*158*/ virtual void __unk_vfn_158(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_BAMBOOBLOCK + MCVAPI bool canBeSilkTouched() const; +#endif + +//private: + MCAPI void _checkAlive(class BlockSource &, class BlockPos const &) const; + MCAPI class Block const & _determineNewBlockState(class BlockSource &, class BlockPos const &) const; + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/BambooBlockItem.hpp b/LiteLoader/Header/MC/BambooBlockItem.hpp new file mode 100644 index 0000000..d210d93 --- /dev/null +++ b/LiteLoader/Header/MC/BambooBlockItem.hpp @@ -0,0 +1,46 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "BlockItem.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class BambooBlockItem : public BlockItem { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_BAMBOOBLOCKITEM +public: + class BambooBlockItem& operator=(class BambooBlockItem const &) = delete; + BambooBlockItem(class BambooBlockItem const &) = delete; + BambooBlockItem() = delete; +#endif + +public: + /*0*/ virtual ~BambooBlockItem(); + /*5*/ virtual void __unk_vfn_5(); + /*21*/ virtual int getLevelDataForAuxValue(int) const; + /*26*/ virtual void __unk_vfn_26(); + /*27*/ virtual void __unk_vfn_27(); + /*31*/ virtual void __unk_vfn_31(); + /*32*/ virtual void __unk_vfn_32(); + /*34*/ virtual void __unk_vfn_34(); + /*37*/ virtual void __unk_vfn_37(); + /*43*/ virtual void __unk_vfn_43(); + /*46*/ virtual void __unk_vfn_46(); + /*47*/ virtual void __unk_vfn_47(); + /*49*/ virtual void __unk_vfn_49(); + /*50*/ virtual void __unk_vfn_50(); + /*79*/ virtual void __unk_vfn_79(); + /*80*/ virtual void __unk_vfn_80(); + /*90*/ virtual void __unk_vfn_90(); + /*97*/ virtual void __unk_vfn_97(); + /*99*/ virtual bool _useOn(class ItemStack &, class Actor &, class BlockPos, unsigned char, float, float, float) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_BAMBOOBLOCKITEM +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/BambooFeature.hpp b/LiteLoader/Header/MC/BambooFeature.hpp new file mode 100644 index 0000000..bc1fbe0 --- /dev/null +++ b/LiteLoader/Header/MC/BambooFeature.hpp @@ -0,0 +1,29 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Feature.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class BambooFeature : public Feature { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_BAMBOOFEATURE +public: + class BambooFeature& operator=(class BambooFeature const &) = delete; + BambooFeature(class BambooFeature const &) = delete; + BambooFeature() = delete; +#endif + +public: + /*0*/ virtual ~BambooFeature(); + /*1*/ virtual bool place(class BlockSource &, class BlockPos const &, class Random &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_BAMBOOFEATURE +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/BambooSapling.hpp b/LiteLoader/Header/MC/BambooSapling.hpp new file mode 100644 index 0000000..0f7e897 --- /dev/null +++ b/LiteLoader/Header/MC/BambooSapling.hpp @@ -0,0 +1,78 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Sapling.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class BambooSapling : public Sapling { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_BAMBOOSAPLING +public: + class BambooSapling& operator=(class BambooSapling const &) = delete; + BambooSapling(class BambooSapling const &) = delete; + BambooSapling() = delete; +#endif + +public: + /*0*/ virtual ~BambooSapling(); + /*1*/ virtual void tick(class BlockSource &, class BlockPos const &, class Random &) const; + /*8*/ virtual class Vec3 randomlyModifyPosition(class BlockPos const &) const; + /*18*/ virtual void __unk_vfn_18(); + /*24*/ virtual void __unk_vfn_24(); + /*25*/ virtual void __unk_vfn_25(); + /*26*/ virtual void __unk_vfn_26(); + /*27*/ virtual void __unk_vfn_27(); + /*28*/ virtual void __unk_vfn_28(); + /*30*/ virtual void __unk_vfn_30(); + /*31*/ virtual void __unk_vfn_31(); + /*32*/ virtual void __unk_vfn_32(); + /*33*/ virtual void __unk_vfn_33(); + /*34*/ virtual void __unk_vfn_34(); + /*35*/ virtual void __unk_vfn_35(); + /*36*/ virtual void __unk_vfn_36(); + /*38*/ virtual void __unk_vfn_38(); + /*39*/ virtual void __unk_vfn_39(); + /*40*/ virtual void __unk_vfn_40(); + /*42*/ virtual void __unk_vfn_42(); + /*43*/ virtual void __unk_vfn_43(); + /*44*/ virtual bool isValidAuxValue(int) const; + /*49*/ virtual void __unk_vfn_49(); + /*50*/ virtual bool canContainLiquid() const; + /*52*/ virtual void __unk_vfn_52(); + /*67*/ virtual void __unk_vfn_67(); + /*73*/ virtual void __unk_vfn_73(); + /*75*/ virtual bool onFertilized(class BlockSource &, class BlockPos const &, class Actor *, enum FertilizerType) const; + /*77*/ virtual bool canBeFertilized(class BlockSource &, class BlockPos const &, class Block const &) const; + /*81*/ virtual bool mayPlace(class BlockSource &, class BlockPos const &) const; + /*87*/ virtual void __unk_vfn_87(); + /*88*/ virtual void neighborChanged(class BlockSource &, class BlockPos const &, class BlockPos const &) const; + /*91*/ virtual class ItemInstance getResourceItem(class Random &, class Block const &, int) const; + /*92*/ virtual class ItemInstance asItemInstance(class BlockSource &, class BlockPos const &, class Block const &) const; + /*95*/ virtual void __unk_vfn_95(); + /*105*/ virtual void playerDestroy(class Player &, class BlockPos const &, class Block const &) const; + /*106*/ virtual bool canSurvive(class BlockSource &, class BlockPos const &) const; + /*109*/ virtual void __unk_vfn_109(); + /*116*/ virtual void __unk_vfn_116(); + /*118*/ virtual void __unk_vfn_118(); + /*119*/ virtual void __unk_vfn_119(); + /*128*/ virtual bool isAuxValueRelevantForPicking() const; + /*141*/ virtual int getVariant(class Block const &) const; + /*142*/ virtual void __unk_vfn_142(); + /*158*/ virtual void __unk_vfn_158(); + /*159*/ virtual class ItemInstance getSilkTouchItemInstance(class Block const &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_BAMBOOSAPLING +#endif + +//private: + MCAPI bool _grow(class BlockSource &, class BlockPos const &) const; + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/BannerAddPatternRecipe.hpp b/LiteLoader/Header/MC/BannerAddPatternRecipe.hpp new file mode 100644 index 0000000..aba200e --- /dev/null +++ b/LiteLoader/Header/MC/BannerAddPatternRecipe.hpp @@ -0,0 +1,38 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Recipe.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class BannerAddPatternRecipe : public Recipe { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_BANNERADDPATTERNRECIPE +public: + class BannerAddPatternRecipe& operator=(class BannerAddPatternRecipe const &) = delete; + BannerAddPatternRecipe(class BannerAddPatternRecipe const &) = delete; + BannerAddPatternRecipe() = delete; +#endif + +public: + /*0*/ virtual ~BannerAddPatternRecipe(); + /*1*/ virtual std::vector const & assemble(class CraftingContainer &) const; + /*2*/ virtual int getCraftingSize() const; + /*3*/ virtual class RecipeIngredient const & getIngredient(int, int) const; + /*4*/ virtual std::vector const & getResultItem() const; + /*6*/ virtual bool matches(class CraftingContainer &, class Level &) const; + /*7*/ virtual int size() const; + /*8*/ virtual bool isExperimental() const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_BANNERADDPATTERNRECIPE +#endif + MCAPI BannerAddPatternRecipe(std::string, class mce::UUID const &); + MCAPI class BannerPattern * matchPatterns(class CraftingContainer &) const; + MCAPI static class mce::UUID const ID; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/BannerBlock.hpp b/LiteLoader/Header/MC/BannerBlock.hpp new file mode 100644 index 0000000..85ecc53 --- /dev/null +++ b/LiteLoader/Header/MC/BannerBlock.hpp @@ -0,0 +1,205 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "ActorBlock.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class BannerBlock : public ActorBlock { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_BANNERBLOCK +public: + class BannerBlock& operator=(class BannerBlock const &) = delete; + BannerBlock(class BannerBlock const &) = delete; + BannerBlock() = delete; +#endif + +public: + /*0*/ virtual ~BannerBlock(); + /*1*/ virtual void tick(class BlockSource &, class BlockPos const &, class Random &) const; + /*2*/ virtual class Block const & getStateFromLegacyData(unsigned short) const; + /*3*/ virtual class std::shared_ptr newBlockEntity(class BlockPos const &, class Block const &) const; + /*4*/ virtual class Block const * getNextBlockPermutation(class Block const &) const; + /*5*/ virtual bool getCollisionShape(class AABB &, class Block const &, class BlockSource &, class BlockPos const &, class Actor *) const; + /*6*/ virtual bool isObstructingChests(class BlockSource &, class BlockPos const &) const; + /*7*/ virtual void __unk_vfn_7(); + /*8*/ virtual class Vec3 randomlyModifyPosition(class BlockPos const &, int &) const; + /*9*/ virtual void addAABBs(class Block const &, class BlockSource &, class BlockPos const &, class AABB const *, std::vector &) const; + /*10*/ virtual class AABB const & getAABB(class BlockSource &, class BlockPos const &, class Block const &, class AABB &, bool) const; + /*11*/ virtual bool addCollisionShapes(class Block const &, class BlockSource &, class BlockPos const &, class AABB const *, std::vector &, class Actor *) const; + /*12*/ virtual class AABB const & getOutline(class BlockSource &, class BlockPos const &, class AABB &) const; + /*13*/ virtual bool getLiquidClipVolume(class BlockSource &, class BlockPos const &, class AABB &) const; + /*14*/ virtual void __unk_vfn_14(); + /*15*/ virtual void __unk_vfn_15(); + /*16*/ virtual struct Brightness getLightEmission(class Block const &) const; + /*17*/ virtual bool shouldRandomTick() const; + /*18*/ virtual void __unk_vfn_18(); + /*19*/ virtual void __unk_vfn_19(); + /*20*/ virtual void __unk_vfn_20(); + /*21*/ virtual bool canProvideSupport(class Block const &, unsigned char, enum BlockSupportType) const; + /*22*/ virtual bool canConnect(class Block const &, unsigned char, class Block const &) const; + /*23*/ virtual void getConnectedDirections(class Block const &, class BlockPos const &, class BlockSource &, bool &, bool &, bool &, bool &) const; + /*24*/ virtual void __unk_vfn_24(); + /*25*/ virtual void __unk_vfn_25(); + /*26*/ virtual void __unk_vfn_26(); + /*27*/ virtual void __unk_vfn_27(); + /*28*/ virtual void __unk_vfn_28(); + /*29*/ virtual bool isWaterBlocking() const; + /*30*/ virtual void __unk_vfn_30(); + /*31*/ virtual void __unk_vfn_31(); + /*32*/ virtual void __unk_vfn_32(); + /*33*/ virtual void __unk_vfn_33(); + /*34*/ virtual void __unk_vfn_34(); + /*35*/ virtual void __unk_vfn_35(); + /*36*/ virtual void __unk_vfn_36(); + /*37*/ virtual void __unk_vfn_37(); + /*38*/ virtual void __unk_vfn_38(); + /*39*/ virtual void __unk_vfn_39(); + /*40*/ virtual void __unk_vfn_40(); + /*41*/ virtual bool canHurtAndBreakItem() const; + /*42*/ virtual void __unk_vfn_42(); + /*43*/ virtual void __unk_vfn_43(); + /*44*/ virtual void __unk_vfn_44(); + /*45*/ virtual void __unk_vfn_45(); + /*46*/ virtual class Block const & sanitizeFillBlock(class BlockSource &, class BlockPos const &, class Block const &) const; + /*47*/ virtual void __unk_vfn_47(); + /*48*/ virtual void __unk_vfn_48(); + /*49*/ virtual void __unk_vfn_49(); + /*50*/ virtual bool canContainLiquid() const; + /*51*/ virtual void __unk_vfn_51(); + /*52*/ virtual void __unk_vfn_52(); + /*53*/ virtual bool canBeUsedInCommands(bool, class BaseGameVersion const &) const; + /*54*/ virtual float getThickness() const; + /*55*/ virtual void __unk_vfn_55(); + /*56*/ virtual void __unk_vfn_56(); + /*57*/ virtual void __unk_vfn_57(); + /*58*/ virtual void __unk_vfn_58(); + /*59*/ virtual void onPlace(class BlockSource &, class BlockPos const &) const; + /*60*/ virtual void __unk_vfn_60(); + /*61*/ virtual void __unk_vfn_61(); + /*62*/ virtual void __unk_vfn_62(); + /*63*/ virtual void onFallOn(class BlockSource &, class BlockPos const &, class Actor &, float) const; + /*64*/ virtual void __unk_vfn_64(); + /*65*/ virtual void __unk_vfn_65(); + /*66*/ virtual void __unk_vfn_66(); + /*67*/ virtual void __unk_vfn_67(); + /*68*/ virtual void __unk_vfn_68(); + /*69*/ virtual void __unk_vfn_69(); + /*70*/ virtual void __unk_vfn_70(); + /*71*/ virtual enum BlockProperty getRedstoneProperty(class BlockSource &, class BlockPos const &) const; + /*72*/ virtual void updateEntityAfterFallOn(class BlockSource &, class BlockPos const &, class Actor &) const; + /*73*/ virtual void __unk_vfn_73(); + /*74*/ virtual void __unk_vfn_74(); + /*75*/ virtual void __unk_vfn_75(); + /*76*/ virtual void __unk_vfn_76(); + /*77*/ virtual void __unk_vfn_77(); + /*78*/ virtual bool mayPick(class BlockSource &, class Block const &, bool) const; + /*79*/ virtual void __unk_vfn_79(); + /*80*/ virtual bool mayPlace(class BlockSource &, class BlockPos const &) const; + /*81*/ virtual void __unk_vfn_81(); + /*82*/ virtual void __unk_vfn_82(); + /*83*/ virtual bool tryToPlace(class BlockSource &, class BlockPos const &, class Block const &, struct ActorBlockSyncMessage const *) const; + /*84*/ virtual bool breaksFallingBlocks(class Block const &) const; + /*85*/ virtual void __unk_vfn_85(); + /*86*/ virtual bool playerWillDestroy(class Player &, class BlockPos const &, class Block const &) const; + /*87*/ virtual void __unk_vfn_87(); + /*88*/ virtual void neighborChanged(class BlockSource &, class BlockPos const &, class BlockPos const &) const; + /*89*/ virtual void __unk_vfn_89(); + /*90*/ virtual void __unk_vfn_90(); + /*91*/ virtual void __unk_vfn_91(); + /*92*/ virtual class ItemInstance asItemInstance(class BlockSource &, class BlockPos const &, class Block const &) const; + /*93*/ virtual void spawnResources(class BlockSource &, class BlockPos const &, class Block const &, std::vector *, float, int, bool) const; + /*94*/ virtual void trySpawnResourcesOnExplosion(class BlockSource &, class BlockPos const &, class Block const &, std::vector *, float, int, bool) const; + /*95*/ virtual void __unk_vfn_95(); + /*96*/ virtual void __unk_vfn_96(); + /*97*/ virtual class HitResult clip(class BlockSource &, class BlockPos const &, class Vec3 const &, class Vec3 const &, bool) const; + /*98*/ virtual void __unk_vfn_98(); + /*99*/ virtual class Block const & getPlacementBlock(class Actor &, class BlockPos const &, unsigned char, class Vec3 const &, int) const; + /*100*/ virtual int calcVariant(class BlockSource &, class BlockPos const &) const; + /*101*/ virtual void __unk_vfn_101(); + /*102*/ virtual void __unk_vfn_102(); + /*103*/ virtual void __unk_vfn_103(); + /*104*/ virtual void __unk_vfn_104(); + /*105*/ virtual void playerDestroy(class Player &, class BlockPos const &, class Block const &) const; + /*106*/ virtual bool canSurvive(class BlockSource &, class BlockPos const &) const; + /*107*/ virtual void __unk_vfn_107(); + /*108*/ virtual bool canBeBuiltOver(class BlockSource &, class BlockPos const &) const; + /*109*/ virtual void triggerEvent(class BlockSource &, class BlockPos const &, int, int) const; + /*110*/ virtual void __unk_vfn_110(); + /*111*/ virtual void __unk_vfn_111(); + /*112*/ virtual class MobSpawnerData const * getMobToSpawn(class SpawnConditions const &, class BlockSource &) const; + /*113*/ virtual void __unk_vfn_113(); + /*114*/ virtual void __unk_vfn_114(); + /*115*/ virtual bool shouldStopFalling(class Actor &) const; + /*116*/ virtual void __unk_vfn_116(); + /*117*/ virtual float calcGroundFriction(class Mob &, class BlockPos const &) const; + /*118*/ virtual void __unk_vfn_118(); + /*119*/ virtual void __unk_vfn_119(); + /*120*/ virtual void __unk_vfn_120(); + /*121*/ virtual bool canSlide(class BlockSource &, class BlockPos const &) const; + /*122*/ virtual void __unk_vfn_122(); + /*123*/ virtual void __unk_vfn_123(); + /*124*/ virtual void __unk_vfn_124(); + /*125*/ virtual void __unk_vfn_125(); + /*126*/ virtual void __unk_vfn_126(); + /*127*/ virtual void __unk_vfn_127(); + /*128*/ virtual void __unk_vfn_128(); + /*129*/ virtual void __unk_vfn_129(); + /*130*/ virtual void __unk_vfn_130(); + /*131*/ virtual void __unk_vfn_131(); + /*132*/ virtual int getColorForParticle(class BlockSource &, class BlockPos const &, class Block const &) const; + /*133*/ virtual void __unk_vfn_133(); + /*134*/ virtual void onGraphicsModeChanged(bool, bool, bool); + /*135*/ virtual void __unk_vfn_135(); + /*136*/ virtual float getShadeBrightness() const; + /*137*/ virtual class AABB const & getVisualShapeInWorld(class Block const &, class BlockSource &, class BlockPos const &, class AABB &, bool) const; + /*138*/ virtual class AABB const & getVisualShape(class Block const &, class AABB &, bool) const; + /*139*/ virtual class AABB const & getUIShape(class Block const &, class AABB &) const; + /*140*/ virtual int telemetryVariant(class BlockSource &, class BlockPos const &) const; + /*141*/ virtual void __unk_vfn_141(); + /*142*/ virtual void __unk_vfn_142(); + /*143*/ virtual class Block const & getRenderBlock() const; + /*144*/ virtual void __unk_vfn_144(); + /*145*/ virtual void __unk_vfn_145(); + /*146*/ virtual void __unk_vfn_146(); + /*147*/ virtual class BlockLegacy & init(); + /*148*/ virtual class BlockLegacy & setLightBlock(struct Brightness); + /*149*/ virtual class BlockLegacy & setLightEmission(float); + /*150*/ virtual class BlockLegacy & setExplodeable(float); + /*151*/ virtual class BlockLegacy & setDestroyTime(float); + /*152*/ virtual class BlockLegacy & setFriction(float); + /*153*/ virtual class BlockLegacy & addProperty(enum BlockProperty); + /*154*/ virtual class BlockLegacy & addState(class ItemState const &); + /*155*/ virtual class BlockLegacy & addState(class ItemState const &, unsigned __int64); + /*156*/ virtual class BlockLegacy & setAllowsRunes(bool); + /*157*/ virtual class BlockLegacy & setMapColor(class Color const &); + /*158*/ virtual void __unk_vfn_158(); + /*159*/ virtual void __unk_vfn_159(); + /*160*/ virtual void setVisualShape(class AABB const &); + /*161*/ virtual void setVisualShape(class Vec3 const &, class Vec3 const &); + /*162*/ virtual void __unk_vfn_162(); + /*163*/ virtual void __unk_vfn_163(); + /*164*/ virtual class ItemInstance getEntityResourceItem(class Random &, class BlockActor const &, int) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_BANNERBLOCK + MCVAPI bool checkIsPathable(class Actor &, class BlockPos const &, class BlockPos const &) const; + MCVAPI int getVariant(class Block const &) const; +#endif + MCAPI BannerBlock(std::string const &, int, bool); + MCAPI static class AABB EAST_AABB; + MCAPI static class AABB NORTH_AABB; + MCAPI static class AABB SOUTH_AABB; + MCAPI static class AABB STANDING_AABB; + MCAPI static class AABB WEST_AABB; + +//private: + MCAPI class ItemInstance _itemInstanceFromBlockEntity(class gsl::not_null) const; + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/BannerBlockActor.hpp b/LiteLoader/Header/MC/BannerBlockActor.hpp new file mode 100644 index 0000000..4495121 --- /dev/null +++ b/LiteLoader/Header/MC/BannerBlockActor.hpp @@ -0,0 +1,52 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "BlockActor.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class BannerBlockActor : public BlockActor { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_BANNERBLOCKACTOR +public: + class BannerBlockActor& operator=(class BannerBlockActor const &) = delete; + BannerBlockActor(class BannerBlockActor const &) = delete; + BannerBlockActor() = delete; +#endif + +public: + /*0*/ virtual ~BannerBlockActor(); + /*1*/ virtual void load(class Level &, class CompoundTag const &, class DataLoadHelper &); + /*2*/ virtual bool save(class CompoundTag &) const; + /*7*/ virtual void tick(class BlockSource &); + /*12*/ virtual void onPlace(class BlockSource &); + /*13*/ virtual void __unk_vfn_13(); + /*17*/ virtual void __unk_vfn_17(); + /*29*/ virtual void __unk_vfn_29(); + /*30*/ virtual void __unk_vfn_30(); + /*32*/ virtual void __unk_vfn_32(); + /*33*/ virtual void __unk_vfn_33(); + /*34*/ virtual std::unique_ptr _getUpdatePacket(class BlockSource &); + /*35*/ virtual void _onUpdatePacket(class CompoundTag const &, class BlockSource &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_BANNERBLOCKACTOR +#endif + MCAPI void setItemValues(class ItemStack const &); + MCAPI static int const MAX_PATTERNS; + MCAPI static std::string const TAG_BASE_COLOR; + MCAPI static std::string const TAG_COLOR; + MCAPI static std::string const TAG_PATTERN; + MCAPI static std::string const TAG_PATTERNS; + MCAPI static std::string const TAG_TYPE; + MCAPI static enum BannerBlockType getBannerType(class CompoundTag const *); + MCAPI static int getBaseColor(class ItemStack const &); + MCAPI static int getPatternCount(class CompoundTag const *); + MCAPI static bool isDefaultBanner(class ItemStackBase const &); + MCAPI static bool removeLastPattern(class ItemStack &, class Player &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/BannerDuplicateRecipe.hpp b/LiteLoader/Header/MC/BannerDuplicateRecipe.hpp new file mode 100644 index 0000000..b84f1cd --- /dev/null +++ b/LiteLoader/Header/MC/BannerDuplicateRecipe.hpp @@ -0,0 +1,37 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Recipe.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class BannerDuplicateRecipe : public Recipe { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_BANNERDUPLICATERECIPE +public: + class BannerDuplicateRecipe& operator=(class BannerDuplicateRecipe const &) = delete; + BannerDuplicateRecipe(class BannerDuplicateRecipe const &) = delete; + BannerDuplicateRecipe() = delete; +#endif + +public: + /*0*/ virtual ~BannerDuplicateRecipe(); + /*1*/ virtual std::vector const & assemble(class CraftingContainer &) const; + /*2*/ virtual int getCraftingSize() const; + /*3*/ virtual class RecipeIngredient const & getIngredient(int, int) const; + /*4*/ virtual std::vector const & getResultItem() const; + /*6*/ virtual bool matches(class CraftingContainer &, class Level &) const; + /*7*/ virtual int size() const; + /*8*/ virtual bool isExperimental() const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_BANNERDUPLICATERECIPE +#endif + MCAPI BannerDuplicateRecipe(std::string, class mce::UUID const &); + MCAPI static class mce::UUID const ID; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/BannerItem.hpp b/LiteLoader/Header/MC/BannerItem.hpp new file mode 100644 index 0000000..f0273d1 --- /dev/null +++ b/LiteLoader/Header/MC/BannerItem.hpp @@ -0,0 +1,49 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Item.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class BannerItem : public Item { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_BANNERITEM +public: + class BannerItem& operator=(class BannerItem const &) = delete; + BannerItem(class BannerItem const &) = delete; + BannerItem() = delete; +#endif + +public: + /*0*/ virtual ~BannerItem(); + /*5*/ virtual void __unk_vfn_5(); + /*26*/ virtual void __unk_vfn_26(); + /*27*/ virtual void __unk_vfn_27(); + /*31*/ virtual void __unk_vfn_31(); + /*32*/ virtual void __unk_vfn_32(); + /*33*/ virtual bool isWearableThroughLootTable(class CompoundTag const *) const; + /*34*/ virtual void __unk_vfn_34(); + /*37*/ virtual void __unk_vfn_37(); + /*38*/ virtual void appendFormattedHovertext(class ItemStackBase const &, class Level &, std::string &, bool) const; + /*43*/ virtual void __unk_vfn_43(); + /*44*/ virtual bool isValidAuxValue(int) const; + /*46*/ virtual void __unk_vfn_46(); + /*47*/ virtual void __unk_vfn_47(); + /*49*/ virtual void __unk_vfn_49(); + /*50*/ virtual void __unk_vfn_50(); + /*65*/ virtual std::string buildDescriptionId(class ItemDescriptor const &, class CompoundTag const *) const; + /*79*/ virtual void __unk_vfn_79(); + /*80*/ virtual void __unk_vfn_80(); + /*90*/ virtual void __unk_vfn_90(); + /*97*/ virtual void __unk_vfn_97(); + /*99*/ virtual bool _useOn(class ItemStack &, class Actor &, class BlockPos, unsigned char, float, float, float) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_BANNERITEM +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/BannerPattern.hpp b/LiteLoader/Header/MC/BannerPattern.hpp new file mode 100644 index 0000000..4a76e64 --- /dev/null +++ b/LiteLoader/Header/MC/BannerPattern.hpp @@ -0,0 +1,31 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class BannerPattern { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_BANNERPATTERN +public: + class BannerPattern& operator=(class BannerPattern const &) = delete; + BannerPattern(class BannerPattern const &) = delete; + BannerPattern() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_BANNERPATTERN +#endif + MCAPI BannerPattern(std::string const &, std::string const &, class ItemStack, short); + MCAPI BannerPattern(std::string const &, std::string const &, class ItemStack, short, bool); + MCAPI static unsigned char getPatternIndexFromNameID(std::string const &); + MCAPI static void initPatterns(); + MCAPI static std::vector> mPatterns; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/BannerPatternItem.hpp b/LiteLoader/Header/MC/BannerPatternItem.hpp new file mode 100644 index 0000000..10bd772 --- /dev/null +++ b/LiteLoader/Header/MC/BannerPatternItem.hpp @@ -0,0 +1,46 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Item.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class BannerPatternItem : public Item { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_BANNERPATTERNITEM +public: + class BannerPatternItem& operator=(class BannerPatternItem const &) = delete; + BannerPatternItem(class BannerPatternItem const &) = delete; + BannerPatternItem() = delete; +#endif + +public: + /*0*/ virtual ~BannerPatternItem(); + /*5*/ virtual void __unk_vfn_5(); + /*26*/ virtual void __unk_vfn_26(); + /*27*/ virtual void __unk_vfn_27(); + /*31*/ virtual void __unk_vfn_31(); + /*32*/ virtual void __unk_vfn_32(); + /*34*/ virtual void __unk_vfn_34(); + /*37*/ virtual void __unk_vfn_37(); + /*38*/ virtual void appendFormattedHovertext(class ItemStackBase const &, class Level &, std::string &, bool) const; + /*43*/ virtual void __unk_vfn_43(); + /*46*/ virtual void __unk_vfn_46(); + /*47*/ virtual void __unk_vfn_47(); + /*49*/ virtual void __unk_vfn_49(); + /*50*/ virtual void __unk_vfn_50(); + /*79*/ virtual void __unk_vfn_79(); + /*80*/ virtual void __unk_vfn_80(); + /*90*/ virtual void __unk_vfn_90(); + /*97*/ virtual void __unk_vfn_97(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_BANNERPATTERNITEM + MCVAPI bool isPattern() const; +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/BarrelBlock.hpp b/LiteLoader/Header/MC/BarrelBlock.hpp new file mode 100644 index 0000000..9d8a46e --- /dev/null +++ b/LiteLoader/Header/MC/BarrelBlock.hpp @@ -0,0 +1,68 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "BlockLegacy.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class BarrelBlock : public BlockLegacy { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_BARRELBLOCK +public: + class BarrelBlock& operator=(class BarrelBlock const &) = delete; + BarrelBlock(class BarrelBlock const &) = delete; + BarrelBlock() = delete; +#endif + +public: + /*0*/ virtual ~BarrelBlock(); + /*18*/ virtual void __unk_vfn_18(); + /*24*/ virtual void __unk_vfn_24(); + /*25*/ virtual void __unk_vfn_25(); + /*26*/ virtual void __unk_vfn_26(); + /*27*/ virtual void __unk_vfn_27(); + /*28*/ virtual void __unk_vfn_28(); + /*30*/ virtual void __unk_vfn_30(); + /*31*/ virtual void __unk_vfn_31(); + /*32*/ virtual void __unk_vfn_32(); + /*33*/ virtual void __unk_vfn_33(); + /*34*/ virtual void __unk_vfn_34(); + /*35*/ virtual void __unk_vfn_35(); + /*36*/ virtual void __unk_vfn_36(); + /*38*/ virtual void __unk_vfn_38(); + /*39*/ virtual void __unk_vfn_39(); + /*40*/ virtual void __unk_vfn_40(); + /*42*/ virtual void __unk_vfn_42(); + /*43*/ virtual void __unk_vfn_43(); + /*49*/ virtual void __unk_vfn_49(); + /*52*/ virtual void __unk_vfn_52(); + /*60*/ virtual void onRemove(class BlockSource &, class BlockPos const &) const; + /*67*/ virtual void __unk_vfn_67(); + /*73*/ virtual void __unk_vfn_73(); + /*87*/ virtual void __unk_vfn_87(); + /*95*/ virtual void __unk_vfn_95(); + /*98*/ virtual bool use(class Player &, class BlockPos const &) const; + /*109*/ virtual void __unk_vfn_109(); + /*116*/ virtual void __unk_vfn_116(); + /*118*/ virtual void __unk_vfn_118(); + /*119*/ virtual void __unk_vfn_119(); + /*120*/ virtual int getComparatorSignal(class BlockSource &, class BlockPos const &, class Block const &, unsigned char) const; + /*141*/ virtual int getVariant(class Block const &) const; + /*142*/ virtual void __unk_vfn_142(); + /*145*/ virtual enum Flip getFaceFlip(unsigned char, class Block const &) const; + /*158*/ virtual void __unk_vfn_158(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_BARRELBLOCK + MCVAPI bool hasComparatorSignal() const; + MCVAPI bool isContainerBlock() const; + MCVAPI bool isInteractiveBlock() const; + MCVAPI bool isSignalSource() const; +#endif + MCAPI static void setOpen(bool, class BlockSource &, class BlockPos const &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/BarrelBlockActor.hpp b/LiteLoader/Header/MC/BarrelBlockActor.hpp new file mode 100644 index 0000000..17951f5 --- /dev/null +++ b/LiteLoader/Header/MC/BarrelBlockActor.hpp @@ -0,0 +1,32 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class BarrelBlockActor { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_BARRELBLOCKACTOR +public: + class BarrelBlockActor& operator=(class BarrelBlockActor const &) = delete; + BarrelBlockActor(class BarrelBlockActor const &) = delete; + BarrelBlockActor() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_BARRELBLOCKACTOR + MCVAPI std::string getName() const; + MCVAPI void onPlace(class BlockSource &); + MCVAPI void playCloseSound(class BlockSource &); + MCVAPI void playOpenSound(class BlockSource &); + MCVAPI void startOpen(class Player &); + MCVAPI void stopOpen(class Player &); +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/BarrierBlock.hpp b/LiteLoader/Header/MC/BarrierBlock.hpp new file mode 100644 index 0000000..9508a74 --- /dev/null +++ b/LiteLoader/Header/MC/BarrierBlock.hpp @@ -0,0 +1,61 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "BlockLegacy.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class BarrierBlock : public BlockLegacy { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_BARRIERBLOCK +public: + class BarrierBlock& operator=(class BarrierBlock const &) = delete; + BarrierBlock(class BarrierBlock const &) = delete; + BarrierBlock() = delete; +#endif + +public: + /*0*/ virtual ~BarrierBlock(); + /*18*/ virtual void __unk_vfn_18(); + /*22*/ virtual bool canConnect(class Block const &, unsigned char, class Block const &) const; + /*24*/ virtual void __unk_vfn_24(); + /*25*/ virtual void __unk_vfn_25(); + /*26*/ virtual void __unk_vfn_26(); + /*27*/ virtual void __unk_vfn_27(); + /*28*/ virtual void __unk_vfn_28(); + /*30*/ virtual void __unk_vfn_30(); + /*31*/ virtual void __unk_vfn_31(); + /*32*/ virtual void __unk_vfn_32(); + /*33*/ virtual void __unk_vfn_33(); + /*34*/ virtual void __unk_vfn_34(); + /*35*/ virtual void __unk_vfn_35(); + /*36*/ virtual void __unk_vfn_36(); + /*38*/ virtual void __unk_vfn_38(); + /*39*/ virtual void __unk_vfn_39(); + /*40*/ virtual void __unk_vfn_40(); + /*42*/ virtual void __unk_vfn_42(); + /*43*/ virtual void __unk_vfn_43(); + /*49*/ virtual void __unk_vfn_49(); + /*50*/ virtual bool canContainLiquid() const; + /*52*/ virtual void __unk_vfn_52(); + /*67*/ virtual void __unk_vfn_67(); + /*73*/ virtual void __unk_vfn_73(); + /*87*/ virtual void __unk_vfn_87(); + /*95*/ virtual void __unk_vfn_95(); + /*109*/ virtual void __unk_vfn_109(); + /*116*/ virtual void __unk_vfn_116(); + /*118*/ virtual void __unk_vfn_118(); + /*119*/ virtual void __unk_vfn_119(); + /*136*/ virtual float getShadeBrightness() const; + /*142*/ virtual void __unk_vfn_142(); + /*158*/ virtual void __unk_vfn_158(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_BARRIERBLOCK +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/BarterComponent.hpp b/LiteLoader/Header/MC/BarterComponent.hpp new file mode 100644 index 0000000..61273e5 --- /dev/null +++ b/LiteLoader/Header/MC/BarterComponent.hpp @@ -0,0 +1,27 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class BarterComponent { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_BARTERCOMPONENT +public: + class BarterComponent& operator=(class BarterComponent const &) = delete; + BarterComponent(class BarterComponent const &) = delete; + BarterComponent() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_BARTERCOMPONENT +#endif + MCAPI void onBarterItemPickedUp(class Actor const &, struct ActorUniqueID, short); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/BarterDefinition.hpp b/LiteLoader/Header/MC/BarterDefinition.hpp new file mode 100644 index 0000000..15de372 --- /dev/null +++ b/LiteLoader/Header/MC/BarterDefinition.hpp @@ -0,0 +1,28 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "JsonUtil.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class BarterDefinition { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_BARTERDEFINITION +public: + class BarterDefinition& operator=(class BarterDefinition const &) = delete; + BarterDefinition(class BarterDefinition const &) = delete; + BarterDefinition() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_BARTERDEFINITION +#endif + MCAPI static void buildSchema(class std::shared_ptr> &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/BarterGoal.hpp b/LiteLoader/Header/MC/BarterGoal.hpp new file mode 100644 index 0000000..90b5a8a --- /dev/null +++ b/LiteLoader/Header/MC/BarterGoal.hpp @@ -0,0 +1,39 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class BarterGoal { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_BARTERGOAL +public: + class BarterGoal& operator=(class BarterGoal const &) = delete; + BarterGoal(class BarterGoal const &) = delete; + BarterGoal() = delete; +#endif + +public: + /*0*/ virtual ~BarterGoal(); + /*1*/ virtual bool canUse(); + /*2*/ virtual bool canContinueToUse(); + /*3*/ virtual void __unk_vfn_3(); + /*4*/ virtual void __unk_vfn_4(); + /*5*/ virtual void __unk_vfn_5(); + /*6*/ virtual void tick(); + /*7*/ virtual void appendDebugInfo(std::string &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_BARTERGOAL +#endif + +//private: + MCAPI class Vec3 _getThrowVector(); + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/BasaltColumnsFeature.hpp b/LiteLoader/Header/MC/BasaltColumnsFeature.hpp new file mode 100644 index 0000000..21c147f --- /dev/null +++ b/LiteLoader/Header/MC/BasaltColumnsFeature.hpp @@ -0,0 +1,35 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Feature.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class BasaltColumnsFeature : public Feature { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_BASALTCOLUMNSFEATURE +public: + class BasaltColumnsFeature& operator=(class BasaltColumnsFeature const &) = delete; + BasaltColumnsFeature(class BasaltColumnsFeature const &) = delete; + BasaltColumnsFeature() = delete; +#endif + +public: + /*0*/ virtual ~BasaltColumnsFeature(); + /*1*/ virtual bool place(class BlockSource &, class BlockPos const &, class Random &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_BASALTCOLUMNSFEATURE +#endif + +//private: + MCAPI class std::optional _findSurface(class BlockSource &, class BlockPos, int, int) const; + MCAPI bool _placeColumnCluster(class BlockSource &, class BlockPos, int, int) const; + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/BasaltPillarFeature.hpp b/LiteLoader/Header/MC/BasaltPillarFeature.hpp new file mode 100644 index 0000000..b9f6a1c --- /dev/null +++ b/LiteLoader/Header/MC/BasaltPillarFeature.hpp @@ -0,0 +1,35 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Feature.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class BasaltPillarFeature : public Feature { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_BASALTPILLARFEATURE +public: + class BasaltPillarFeature& operator=(class BasaltPillarFeature const &) = delete; + BasaltPillarFeature(class BasaltPillarFeature const &) = delete; + BasaltPillarFeature() = delete; +#endif + +public: + /*0*/ virtual ~BasaltPillarFeature(); + /*1*/ virtual bool place(class BlockSource &, class BlockPos const &, class Random &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_BASALTPILLARFEATURE +#endif + +//private: + MCAPI bool _growColumn(class BlockSource &, class BlockPos const &, class Random &, float) const; + MCAPI bool _placePillarBaseBlock(class BlockSource &, class BlockPos const &) const; + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/BaseAttributeMap.hpp b/LiteLoader/Header/MC/BaseAttributeMap.hpp new file mode 100644 index 0000000..e54992a --- /dev/null +++ b/LiteLoader/Header/MC/BaseAttributeMap.hpp @@ -0,0 +1,34 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class BaseAttributeMap { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_BASEATTRIBUTEMAP +public: + class BaseAttributeMap& operator=(class BaseAttributeMap const &) = delete; + BaseAttributeMap(class BaseAttributeMap const &) = delete; + BaseAttributeMap() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_BASEATTRIBUTEMAP +#endif + MCAPI class AttributeInstance const & getInstance(unsigned int) const; + MCAPI class AttributeInstance * getMutableInstance(unsigned int); + MCAPI class AttributeInstance & registerAttribute(class Attribute const &); + +//private: + +private: + MCAPI static class AttributeInstance mInvalidInstance; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/BaseCircuitComponent.hpp b/LiteLoader/Header/MC/BaseCircuitComponent.hpp new file mode 100644 index 0000000..0672ec8 --- /dev/null +++ b/LiteLoader/Header/MC/BaseCircuitComponent.hpp @@ -0,0 +1,59 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class BaseCircuitComponent { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_BASECIRCUITCOMPONENT +public: + class BaseCircuitComponent& operator=(class BaseCircuitComponent const &) = delete; + BaseCircuitComponent(class BaseCircuitComponent const &) = delete; + BaseCircuitComponent() = delete; +#endif + +public: + /*0*/ virtual ~BaseCircuitComponent(); + /*1*/ virtual int getStrength() const; + /*2*/ virtual int getDirection() const; + /*3*/ virtual void setStrength(int); + /*4*/ virtual void setDirection(unsigned char); + /*5*/ virtual void __unk_vfn_5(); + /*6*/ virtual bool canConsumerPower(); + /*7*/ virtual bool canStopPower(); + /*8*/ virtual void setStopPower(bool); + /*9*/ virtual unsigned __int64 getBaseType() const; + /*10*/ virtual unsigned __int64 getInstanceType() const; + /*11*/ virtual bool removeSource(class BlockPos const &, class BaseCircuitComponent const *); + /*12*/ virtual bool addSource(class CircuitSceneGraph &, class CircuitTrackingInfo const &, int &, bool &); + /*13*/ virtual bool allowConnection(class CircuitSceneGraph &, class CircuitTrackingInfo const &, bool &); + /*14*/ virtual void checkLock(class CircuitSystem &, class BlockPos const &); + /*15*/ virtual bool evaluate(class CircuitSystem &, class BlockPos const &); + /*16*/ virtual void cacheValues(class CircuitSystem &, class BlockPos const &); + /*17*/ virtual void updateDependencies(class CircuitSceneGraph &, class BlockPos const &); + /*18*/ virtual void __unk_vfn_18(); + /*19*/ virtual bool isHalfPulse(); + /*20*/ virtual bool hasSource(class BaseCircuitComponent &); + /*21*/ virtual void __unk_vfn_21(); + /*22*/ virtual bool isSecondaryPowered(); + /*23*/ virtual unsigned char getPoweroutDirection() const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_BASECIRCUITCOMPONENT + MCVAPI bool allowIndirect(); + MCVAPI bool consumePowerAnyDirection(); + MCVAPI bool hasChildrenSource(); +#endif + +//protected: + MCAPI bool trackPowerSource(class CircuitTrackingInfo const &, int, bool, int); + MCAPI bool trackPowerSourceDuplicates(class CircuitTrackingInfo const &, int, bool); + +protected: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/BaseCommandBlock.hpp b/LiteLoader/Header/MC/BaseCommandBlock.hpp new file mode 100644 index 0000000..a2a2a25 --- /dev/null +++ b/LiteLoader/Header/MC/BaseCommandBlock.hpp @@ -0,0 +1,39 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class BaseCommandBlock { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_BASECOMMANDBLOCK +public: + class BaseCommandBlock& operator=(class BaseCommandBlock const &) = delete; + BaseCommandBlock(class BaseCommandBlock const &) = delete; + BaseCommandBlock() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_BASECOMMANDBLOCK +#endif + MCAPI std::string getLastOutput() const; + MCAPI void load(class CompoundTag const &, class DataLoadHelper &); + MCAPI bool save(class CompoundTag &) const; + MCAPI void setLastOutput(std::string const &, std::vector const &); + MCAPI void setTrackOutput(bool); + +//private: + MCAPI bool _performCommand(class BlockSource &, class CommandOrigin const &, bool &); + MCAPI void _setCommand(class BlockSource &, class CommandOrigin const &, std::string const &); + MCAPI void compile(class CommandOrigin const &, class Level &); + +private: + MCAPI static std::string const DefaultCommandBlockName; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/BaseContainerMenu.hpp b/LiteLoader/Header/MC/BaseContainerMenu.hpp new file mode 100644 index 0000000..968b5be --- /dev/null +++ b/LiteLoader/Header/MC/BaseContainerMenu.hpp @@ -0,0 +1,41 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class BaseContainerMenu { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_BASECONTAINERMENU +public: + class BaseContainerMenu& operator=(class BaseContainerMenu const &) = delete; + BaseContainerMenu(class BaseContainerMenu const &) = delete; + BaseContainerMenu() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_BASECONTAINERMENU + MCVAPI void broadcastChanges(); + MCVAPI void containerContentChanged(int); + MCVAPI enum ContainerID getContainerId() const; + MCVAPI enum ContainerType getContainerType() const; + MCVAPI bool isResultSlot(int); + MCVAPI bool isSlotDirty(int); + MCVAPI void setContainerId(enum ContainerID); + MCVAPI void setContainerType(enum ContainerType); + MCVAPI void setData(int, int); + MCVAPI ~BaseContainerMenu(); +#endif + +//protected: + MCAPI void _saveLastSlots(class Container *); + +protected: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/BaseGamePackSlices.hpp b/LiteLoader/Header/MC/BaseGamePackSlices.hpp new file mode 100644 index 0000000..da52e5f --- /dev/null +++ b/LiteLoader/Header/MC/BaseGamePackSlices.hpp @@ -0,0 +1,27 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class BaseGamePackSlices { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_BASEGAMEPACKSLICES +public: + class BaseGamePackSlices& operator=(class BaseGamePackSlices const &) = delete; + BaseGamePackSlices(class BaseGamePackSlices const &) = delete; + BaseGamePackSlices() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_BASEGAMEPACKSLICES +#endif + MCAPI ~BaseGamePackSlices(); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/BaseGameVersion.hpp b/LiteLoader/Header/MC/BaseGameVersion.hpp new file mode 100644 index 0000000..ad0584e --- /dev/null +++ b/LiteLoader/Header/MC/BaseGameVersion.hpp @@ -0,0 +1,35 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "SemVersion.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class BaseGameVersion { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_BASEGAMEVERSION +public: + class BaseGameVersion& operator=(class BaseGameVersion const &) = delete; + BaseGameVersion(class BaseGameVersion const &) = delete; + BaseGameVersion() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_BASEGAMEVERSION +#endif + MCAPI BaseGameVersion(unsigned short, unsigned int); + MCAPI BaseGameVersion(class SemVersion const &); + MCAPI bool isCompatibleWith(class BaseGameVersion const &) const; + MCAPI bool operator>(class BaseGameVersion const &) const; + MCAPI ~BaseGameVersion(); + MCAPI static class BaseGameVersion const ANY; + MCAPI static class BaseGameVersion const EMPTY; + MCAPI static enum SemVersion::MatchType fromString(std::string const &, class BaseGameVersion &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/BaseGameVersioning.hpp b/LiteLoader/Header/MC/BaseGameVersioning.hpp new file mode 100644 index 0000000..1ecb57e --- /dev/null +++ b/LiteLoader/Header/MC/BaseGameVersioning.hpp @@ -0,0 +1,18 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +namespace BaseGameVersioning { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA + MCAPI extern class BaseGameVersion const REQUIRED_BASE_GAME_VERSION_FOR_OLD_CONTENT; + MCAPI std::vector const & getAvailableBehaviorPackBaseGameVersions(); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/BaseGoalDefinition.hpp b/LiteLoader/Header/MC/BaseGoalDefinition.hpp new file mode 100644 index 0000000..7e119ca --- /dev/null +++ b/LiteLoader/Header/MC/BaseGoalDefinition.hpp @@ -0,0 +1,33 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class BaseGoalDefinition { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_BASEGOALDEFINITION +public: + class BaseGoalDefinition& operator=(class BaseGoalDefinition const &) = delete; + BaseGoalDefinition(class BaseGoalDefinition const &) = delete; + BaseGoalDefinition() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_BASEGOALDEFINITION + MCVAPI bool validate(class Mob &); + MCVAPI bool validateMobType(class Mob &); +#endif + +//private: + +private: + MCAPI static class std::unordered_map, struct std::equal_to, class std::allocator>> mControlFlagMap; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/BaseMobSpawner.hpp b/LiteLoader/Header/MC/BaseMobSpawner.hpp new file mode 100644 index 0000000..a960be8 --- /dev/null +++ b/LiteLoader/Header/MC/BaseMobSpawner.hpp @@ -0,0 +1,39 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class BaseMobSpawner { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_BASEMOBSPAWNER +public: + class BaseMobSpawner& operator=(class BaseMobSpawner const &) = delete; + BaseMobSpawner(class BaseMobSpawner const &) = delete; + BaseMobSpawner() = delete; +#endif + +public: + /*0*/ virtual ~BaseMobSpawner(); + /*1*/ virtual void tick(class BlockSource &); + /*2*/ virtual void load(class CompoundTag const &); + /*3*/ virtual void save(class CompoundTag &); + /*4*/ virtual class BlockPos const & getPos() = 0; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_BASEMOBSPAWNER +#endif + MCAPI class Mob * getDisplayEntity(class BlockSource &); + MCAPI void setEntityId(struct ActorDefinitionIdentifier); + MCAPI void setNextSpawnData(std::unique_ptr); + +//protected: + MCAPI void _delay(class BlockSource &); + +protected: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/BaseMoveToBlockGoal.hpp b/LiteLoader/Header/MC/BaseMoveToBlockGoal.hpp new file mode 100644 index 0000000..355b405 --- /dev/null +++ b/LiteLoader/Header/MC/BaseMoveToBlockGoal.hpp @@ -0,0 +1,31 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class BaseMoveToBlockGoal { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_BASEMOVETOBLOCKGOAL +public: + class BaseMoveToBlockGoal& operator=(class BaseMoveToBlockGoal const &) = delete; + BaseMoveToBlockGoal(class BaseMoveToBlockGoal const &) = delete; + BaseMoveToBlockGoal() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_BASEMOVETOBLOCKGOAL + MCVAPI void _moveToBlock(); + MCVAPI bool canContinueToUse(); + MCVAPI bool canUse(); + MCVAPI bool findTargetBlock(); + MCVAPI ~BaseMoveToBlockGoal(); +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/BaseMoveToGoal.hpp b/LiteLoader/Header/MC/BaseMoveToGoal.hpp new file mode 100644 index 0000000..4908073 --- /dev/null +++ b/LiteLoader/Header/MC/BaseMoveToGoal.hpp @@ -0,0 +1,54 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class BaseMoveToGoal { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_BASEMOVETOGOAL +public: + class BaseMoveToGoal& operator=(class BaseMoveToGoal const &) = delete; + BaseMoveToGoal(class BaseMoveToGoal const &) = delete; + BaseMoveToGoal() = delete; +#endif + +public: + /*0*/ virtual ~BaseMoveToGoal(); + /*1*/ virtual bool canUse(); + /*2*/ virtual bool canContinueToUse(); + /*3*/ virtual void __unk_vfn_3(); + /*4*/ virtual void start(); + /*5*/ virtual void stop(); + /*6*/ virtual void tick(); + /*7*/ virtual void appendDebugInfo(std::string &) const = 0; + /*8*/ virtual void __unk_vfn_8(); + /*9*/ virtual void __unk_vfn_9(); + /*10*/ virtual bool hasReachedTarget() const; + /*11*/ virtual bool isValidTarget(class BlockSource &, class BlockPos const &) = 0; + /*12*/ virtual int _nextStartTick(); + /*13*/ virtual bool _canReach(class BlockPos const &); + /*14*/ virtual void _moveToBlock() = 0; + /*15*/ virtual class Vec3 _getTargetPosition() const; + /*16*/ virtual unsigned __int64 _getRepathTime() const; + /*17*/ virtual bool getPOI(enum POIType); + /*18*/ virtual class std::weak_ptr _getOwnedPOI(enum POIType) const; + /*19*/ virtual void _createDestroyParticles(class Level &, class BlockSource &, class BlockPos); + /*20*/ virtual void _playBreakProgressSound(class Level &, class BlockSource &, class BlockPos); + /*21*/ virtual void _playDestroySound(class Level &, class BlockSource &, class BlockPos); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_BASEMOVETOGOAL +#endif + MCAPI BaseMoveToGoal(class Mob &, float, float, float, int, int); + +//protected: + MCAPI class BlockPos _blockAboveTarget() const; + +protected: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/BasePressurePlateBlock.hpp b/LiteLoader/Header/MC/BasePressurePlateBlock.hpp new file mode 100644 index 0000000..e3ce883 --- /dev/null +++ b/LiteLoader/Header/MC/BasePressurePlateBlock.hpp @@ -0,0 +1,83 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "BlockLegacy.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class BasePressurePlateBlock : public BlockLegacy { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_BASEPRESSUREPLATEBLOCK +public: + class BasePressurePlateBlock& operator=(class BasePressurePlateBlock const &) = delete; + BasePressurePlateBlock(class BasePressurePlateBlock const &) = delete; + BasePressurePlateBlock() = delete; +#endif + +public: + /*0*/ virtual ~BasePressurePlateBlock(); + /*1*/ virtual void tick(class BlockSource &, class BlockPos const &, class Random &) const; + /*5*/ virtual bool getCollisionShape(class AABB &, class Block const &, class BlockSource &, class BlockPos const &, class Actor *) const; + /*10*/ virtual class AABB const & getAABB(class BlockSource &, class BlockPos const &, class Block const &, class AABB &, bool) const; + /*18*/ virtual void __unk_vfn_18(); + /*24*/ virtual void __unk_vfn_24(); + /*25*/ virtual void __unk_vfn_25(); + /*26*/ virtual void __unk_vfn_26(); + /*27*/ virtual void __unk_vfn_27(); + /*28*/ virtual void __unk_vfn_28(); + /*30*/ virtual void __unk_vfn_30(); + /*31*/ virtual void __unk_vfn_31(); + /*32*/ virtual void __unk_vfn_32(); + /*33*/ virtual void __unk_vfn_33(); + /*34*/ virtual void __unk_vfn_34(); + /*35*/ virtual void __unk_vfn_35(); + /*36*/ virtual void __unk_vfn_36(); + /*38*/ virtual void __unk_vfn_38(); + /*39*/ virtual void __unk_vfn_39(); + /*40*/ virtual void __unk_vfn_40(); + /*42*/ virtual void __unk_vfn_42(); + /*43*/ virtual void __unk_vfn_43(); + /*49*/ virtual void __unk_vfn_49(); + /*51*/ virtual bool shouldConnectToRedstone(class BlockSource &, class BlockPos const &, int) const; + /*52*/ virtual void __unk_vfn_52(); + /*56*/ virtual bool checkIsPathable(class Actor &, class BlockPos const &, class BlockPos const &) const; + /*59*/ virtual void onPlace(class BlockSource &, class BlockPos const &) const; + /*67*/ virtual void __unk_vfn_67(); + /*70*/ virtual void setupRedstoneComponent(class BlockSource &, class BlockPos const &) const; + /*73*/ virtual void __unk_vfn_73(); + /*81*/ virtual bool mayPlace(class BlockSource &, class BlockPos const &) const; + /*87*/ virtual void __unk_vfn_87(); + /*88*/ virtual void neighborChanged(class BlockSource &, class BlockPos const &, class BlockPos const &) const; + /*95*/ virtual void __unk_vfn_95(); + /*101*/ virtual bool isAttachedTo(class BlockSource &, class BlockPos const &, class BlockPos &) const; + /*104*/ virtual void entityInside(class BlockSource &, class BlockPos const &, class Actor &) const; + /*109*/ virtual void __unk_vfn_109(); + /*116*/ virtual void __unk_vfn_116(); + /*118*/ virtual void __unk_vfn_118(); + /*119*/ virtual void __unk_vfn_119(); + /*138*/ virtual class AABB const & getVisualShape(class Block const &, class AABB &, bool) const; + /*141*/ virtual int getVariant(class Block const &) const; + /*142*/ virtual void __unk_vfn_142(); + /*158*/ virtual void __unk_vfn_158(); + /*164*/ virtual int getTickDelay() const; + /*165*/ virtual int getSignalStrength(class BlockSource &, class BlockPos const &) const = 0; + /*166*/ virtual int getSignalForData(int) const = 0; + /*167*/ virtual int getRedstoneSignal(int) const = 0; + /*168*/ virtual class AABB const getSensitiveAABB(class BlockPos const &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_BASEPRESSUREPLATEBLOCK + MCVAPI bool canSpawnOn() const; + MCVAPI bool isSignalSource() const; +#endif + +//protected: + MCAPI void checkPressed(class BlockSource &, class BlockPos const &, int, int) const; + +protected: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/BaseRailBlock.hpp b/LiteLoader/Header/MC/BaseRailBlock.hpp new file mode 100644 index 0000000..46f59ea --- /dev/null +++ b/LiteLoader/Header/MC/BaseRailBlock.hpp @@ -0,0 +1,85 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "BlockLegacy.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class BaseRailBlock : public BlockLegacy { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_BASERAILBLOCK +public: + class BaseRailBlock& operator=(class BaseRailBlock const &) = delete; + BaseRailBlock(class BaseRailBlock const &) = delete; + BaseRailBlock() = delete; +#endif + +public: + /*0*/ virtual ~BaseRailBlock(); + /*1*/ virtual void tick(class BlockSource &, class BlockPos const &, class Random &) const; + /*10*/ virtual class AABB const & getAABB(class BlockSource &, class BlockPos const &, class Block const &, class AABB &, bool) const; + /*18*/ virtual void __unk_vfn_18(); + /*24*/ virtual void __unk_vfn_24(); + /*25*/ virtual void __unk_vfn_25(); + /*26*/ virtual void __unk_vfn_26(); + /*27*/ virtual void __unk_vfn_27(); + /*28*/ virtual void __unk_vfn_28(); + /*29*/ virtual bool isWaterBlocking() const; + /*30*/ virtual void __unk_vfn_30(); + /*31*/ virtual void __unk_vfn_31(); + /*32*/ virtual void __unk_vfn_32(); + /*33*/ virtual void __unk_vfn_33(); + /*34*/ virtual void __unk_vfn_34(); + /*35*/ virtual void __unk_vfn_35(); + /*36*/ virtual void __unk_vfn_36(); + /*38*/ virtual void __unk_vfn_38(); + /*39*/ virtual void __unk_vfn_39(); + /*40*/ virtual void __unk_vfn_40(); + /*42*/ virtual void __unk_vfn_42(); + /*43*/ virtual void __unk_vfn_43(); + /*49*/ virtual void __unk_vfn_49(); + /*50*/ virtual bool canContainLiquid() const; + /*52*/ virtual void __unk_vfn_52(); + /*59*/ virtual void onPlace(class BlockSource &, class BlockPos const &) const; + /*65*/ virtual void onRedstoneUpdate(class BlockSource &, class BlockPos const &, int, bool) const; + /*67*/ virtual void __unk_vfn_67(); + /*70*/ virtual void setupRedstoneComponent(class BlockSource &, class BlockPos const &) const; + /*73*/ virtual void __unk_vfn_73(); + /*81*/ virtual bool mayPlace(class BlockSource &, class BlockPos const &) const; + /*87*/ virtual void __unk_vfn_87(); + /*88*/ virtual void neighborChanged(class BlockSource &, class BlockPos const &, class BlockPos const &) const; + /*90*/ virtual int getResourceCount(class Random &, class Block const &, int, bool) const; + /*92*/ virtual class ItemInstance asItemInstance(class BlockSource &, class BlockPos const &, class Block const &) const; + /*95*/ virtual void __unk_vfn_95(); + /*109*/ virtual void __unk_vfn_109(); + /*116*/ virtual void __unk_vfn_116(); + /*118*/ virtual void __unk_vfn_118(); + /*119*/ virtual void __unk_vfn_119(); + /*126*/ virtual enum BlockRenderLayer getRenderLayer(class Block const &, class BlockSource &, class BlockPos const &) const; + /*138*/ virtual class AABB const & getVisualShape(class Block const &, class AABB &, bool) const; + /*142*/ virtual void __unk_vfn_142(); + /*158*/ virtual void __unk_vfn_158(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_BASERAILBLOCK + MCVAPI bool canSpawnOn() const; + MCVAPI bool isRailBlock() const; + MCVAPI bool waterSpreadCausesSpawn() const; +#endif + MCAPI BaseRailBlock(std::string const &, int, bool); + MCAPI static bool isFacingWestEast(class BlockSource const &, class BlockPos const &); + MCAPI static bool isRail(class BlockSource &, class BlockPos const &); + MCAPI static bool isSlope(class Block const &); + +//private: + MCAPI bool _canSurvive(class BlockSource const &, class BlockPos const &) const; + MCAPI void _updatePlacement(class BlockSource &, class BlockPos const &) const; + MCAPI static void _createCircuitComponent(class BlockSource &, class BlockPos const &); + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/BaseRailTransporter.hpp b/LiteLoader/Header/MC/BaseRailTransporter.hpp new file mode 100644 index 0000000..9cd328c --- /dev/null +++ b/LiteLoader/Header/MC/BaseRailTransporter.hpp @@ -0,0 +1,36 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "BaseCircuitComponent.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class BaseRailTransporter : public BaseCircuitComponent { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_BASERAILTRANSPORTER +public: + class BaseRailTransporter& operator=(class BaseRailTransporter const &) = delete; + BaseRailTransporter(class BaseRailTransporter const &) = delete; + BaseRailTransporter() = delete; +#endif + +public: + /*0*/ virtual ~BaseRailTransporter(); + /*5*/ virtual void __unk_vfn_5(); + /*9*/ virtual unsigned __int64 getBaseType() const; + /*10*/ virtual unsigned __int64 getInstanceType() const; + /*12*/ virtual bool addSource(class CircuitSceneGraph &, class CircuitTrackingInfo const &, int &, bool &); + /*13*/ virtual bool allowConnection(class CircuitSceneGraph &, class CircuitTrackingInfo const &, bool &); + /*15*/ virtual bool evaluate(class CircuitSystem &, class BlockPos const &); + /*18*/ virtual void __unk_vfn_18(); + /*21*/ virtual void __unk_vfn_21(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_BASERAILTRANSPORTER +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/BasicTimer.hpp b/LiteLoader/Header/MC/BasicTimer.hpp new file mode 100644 index 0000000..46b5b36 --- /dev/null +++ b/LiteLoader/Header/MC/BasicTimer.hpp @@ -0,0 +1,28 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class BasicTimer { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_BASICTIMER +public: + class BasicTimer& operator=(class BasicTimer const &) = delete; + BasicTimer(class BasicTimer const &) = delete; + BasicTimer() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_BASICTIMER +#endif + MCAPI BasicTimer(double, class std::function); + MCAPI ~BasicTimer(); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/BastionFeature.hpp b/LiteLoader/Header/MC/BastionFeature.hpp new file mode 100644 index 0000000..ea536c0 --- /dev/null +++ b/LiteLoader/Header/MC/BastionFeature.hpp @@ -0,0 +1,31 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "StructureFeature.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class BastionFeature : public StructureFeature { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_BASTIONFEATURE +public: + class BastionFeature& operator=(class BastionFeature const &) = delete; + BastionFeature(class BastionFeature const &) = delete; + BastionFeature() = delete; +#endif + +public: + /*0*/ virtual ~BastionFeature(); + /*3*/ virtual bool getNearestGeneratedFeature(class Dimension &, class BiomeSource &, class BlockPos const &, class BlockPos &); + /*4*/ virtual bool isFeatureChunk(class BiomeSource const &, class Random &, class ChunkPos const &, unsigned int); + /*5*/ virtual std::unique_ptr createStructureStart(class Dimension &, class BiomeSource &, class Random &, class ChunkPos const &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_BASTIONFEATURE +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/BastionPiece.hpp b/LiteLoader/Header/MC/BastionPiece.hpp new file mode 100644 index 0000000..02bcd96 --- /dev/null +++ b/LiteLoader/Header/MC/BastionPiece.hpp @@ -0,0 +1,32 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "PoolElementStructurePiece.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class BastionPiece : public PoolElementStructurePiece { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_BASTIONPIECE +public: + class BastionPiece& operator=(class BastionPiece const &) = delete; + BastionPiece(class BastionPiece const &) = delete; + BastionPiece() = delete; +#endif + +public: + /*0*/ virtual ~BastionPiece(); + /*12*/ virtual int generateHeightAtPosition(class BlockPos const &, class Dimension &, class BlockVolume &, class std::unordered_map>, struct std::hash, struct std::equal_to, class std::allocator>>>> &) const; + /*13*/ virtual class Block const * getSupportBlock(class BlockSource &, class BlockPos const &, class Block const &) const; + /*14*/ virtual class Block const & getBeardStabilizeBlock(class Block const &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_BASTIONPIECE +#endif + MCAPI static void addPieces(class BlockPos, std::vector> &, class Random &, class JigsawStructureRegistry &, enum VanillaBiomeTypes, class Dimension &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/BastionStart.hpp b/LiteLoader/Header/MC/BastionStart.hpp new file mode 100644 index 0000000..54c0a12 --- /dev/null +++ b/LiteLoader/Header/MC/BastionStart.hpp @@ -0,0 +1,30 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class BastionStart { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_BASTIONSTART +public: + class BastionStart& operator=(class BastionStart const &) = delete; + BastionStart(class BastionStart const &) = delete; + BastionStart() = delete; +#endif + +public: + /*0*/ virtual ~BastionStart(); + /*1*/ virtual bool postProcess(class BlockSource &, class Random &, class BoundingBox const &); + /*2*/ virtual bool isValid() const; + /*3*/ virtual enum StructureFeatureType getType() const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_BASTIONSTART +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/Bat.hpp b/LiteLoader/Header/MC/Bat.hpp new file mode 100644 index 0000000..52aa2b0 --- /dev/null +++ b/LiteLoader/Header/MC/Bat.hpp @@ -0,0 +1,59 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Actor.hpp" +#include "Mob.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class Bat : public Mob { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_BAT +public: + class Bat& operator=(class Bat const &) = delete; + Bat(class Bat const &) = delete; + Bat() = delete; +#endif + +public: + /*7*/ virtual ~Bat(); + /*30*/ virtual void __unk_vfn_30(); + /*39*/ virtual void normalTick(); + /*54*/ virtual void __unk_vfn_54(); + /*61*/ virtual void __unk_vfn_61(); + /*76*/ virtual void __unk_vfn_76(); + /*81*/ virtual void __unk_vfn_81(); + /*88*/ virtual void __unk_vfn_88(); + /*90*/ virtual void __unk_vfn_90(); + /*98*/ virtual void __unk_vfn_98(); + /*100*/ virtual void __unk_vfn_100(); + /*121*/ virtual void __unk_vfn_121(); + /*169*/ virtual void __unk_vfn_169(); + /*172*/ virtual void checkFallDamage(float, bool); + /*182*/ virtual void __unk_vfn_182(); + /*206*/ virtual void __unk_vfn_206(); + /*207*/ virtual void __unk_vfn_207(); + /*228*/ virtual void __unk_vfn_228(); + /*231*/ virtual void __unk_vfn_231(); + /*238*/ virtual void __unk_vfn_238(); + /*240*/ virtual bool _hurt(class ActorDamageSource const &, int, bool, bool); + /*242*/ virtual void readAdditionalSaveData(class CompoundTag const &, class DataLoadHelper &); + /*243*/ virtual void addAdditionalSaveData(class CompoundTag &); + /*246*/ virtual void __unk_vfn_246(); + /*257*/ virtual void __unk_vfn_257(); + /*279*/ virtual void pushActors(); + /*290*/ virtual void __unk_vfn_290(); + /*300*/ virtual void __unk_vfn_300(); + /*332*/ virtual void __unk_vfn_332(); + /*339*/ virtual void newServerAiStep(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_BAT + MCVAPI bool useNewAi() const; +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/BatchedNetworkPeer.hpp b/LiteLoader/Header/MC/BatchedNetworkPeer.hpp new file mode 100644 index 0000000..f00072c --- /dev/null +++ b/LiteLoader/Header/MC/BatchedNetworkPeer.hpp @@ -0,0 +1,39 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "NetworkPeer.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class BatchedNetworkPeer { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_BATCHEDNETWORKPEER +public: + class BatchedNetworkPeer& operator=(class BatchedNetworkPeer const &) = delete; + BatchedNetworkPeer(class BatchedNetworkPeer const &) = delete; + BatchedNetworkPeer() = delete; +#endif + +public: + /*0*/ virtual ~BatchedNetworkPeer(); + /*1*/ virtual void sendPacket(std::string const &, enum NetworkPeer::Reliability, int, unsigned short, enum Compressibility); + /*2*/ virtual enum NetworkPeer::DataStatus receivePacket(std::string &); + /*3*/ virtual struct NetworkPeer::NetworkStatus getNetworkStatus(); + /*4*/ virtual void update(); + /*5*/ virtual void flush(class std::function &&); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_BATCHEDNETWORKPEER +#endif + MCAPI BatchedNetworkPeer(class std::shared_ptr, class Scheduler &); + +//private: + MCAPI void _startSendTask(); + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/BeaconBlock.hpp b/LiteLoader/Header/MC/BeaconBlock.hpp new file mode 100644 index 0000000..8404b9b --- /dev/null +++ b/LiteLoader/Header/MC/BeaconBlock.hpp @@ -0,0 +1,195 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "ActorBlock.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class BeaconBlock : public ActorBlock { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_BEACONBLOCK +public: + class BeaconBlock& operator=(class BeaconBlock const &) = delete; + BeaconBlock(class BeaconBlock const &) = delete; + BeaconBlock() = delete; +#endif + +public: + /*0*/ virtual ~BeaconBlock(); + /*1*/ virtual void __unk_vfn_1(); + /*2*/ virtual class Block const & getStateFromLegacyData(unsigned short) const; + /*3*/ virtual class std::shared_ptr newBlockEntity(class BlockPos const &, class Block const &) const; + /*4*/ virtual class Block const * getNextBlockPermutation(class Block const &) const; + /*5*/ virtual bool getCollisionShape(class AABB &, class Block const &, class BlockSource &, class BlockPos const &, class Actor *) const; + /*6*/ virtual bool isObstructingChests(class BlockSource &, class BlockPos const &) const; + /*7*/ virtual void __unk_vfn_7(); + /*8*/ virtual class Vec3 randomlyModifyPosition(class BlockPos const &, int &) const; + /*9*/ virtual void addAABBs(class Block const &, class BlockSource &, class BlockPos const &, class AABB const *, std::vector &) const; + /*10*/ virtual class AABB const & getAABB(class BlockSource &, class BlockPos const &, class Block const &, class AABB &, bool) const; + /*11*/ virtual bool addCollisionShapes(class Block const &, class BlockSource &, class BlockPos const &, class AABB const *, std::vector &, class Actor *) const; + /*12*/ virtual class AABB const & getOutline(class BlockSource &, class BlockPos const &, class AABB &) const; + /*13*/ virtual bool getLiquidClipVolume(class BlockSource &, class BlockPos const &, class AABB &) const; + /*14*/ virtual void __unk_vfn_14(); + /*15*/ virtual void __unk_vfn_15(); + /*16*/ virtual struct Brightness getLightEmission(class Block const &) const; + /*17*/ virtual bool shouldRandomTick() const; + /*18*/ virtual void __unk_vfn_18(); + /*19*/ virtual void __unk_vfn_19(); + /*20*/ virtual void __unk_vfn_20(); + /*21*/ virtual bool canProvideSupport(class Block const &, unsigned char, enum BlockSupportType) const; + /*22*/ virtual bool canConnect(class Block const &, unsigned char, class Block const &) const; + /*23*/ virtual void getConnectedDirections(class Block const &, class BlockPos const &, class BlockSource &, bool &, bool &, bool &, bool &) const; + /*24*/ virtual void __unk_vfn_24(); + /*25*/ virtual void __unk_vfn_25(); + /*26*/ virtual void __unk_vfn_26(); + /*27*/ virtual void __unk_vfn_27(); + /*28*/ virtual void __unk_vfn_28(); + /*29*/ virtual bool isWaterBlocking() const; + /*30*/ virtual void __unk_vfn_30(); + /*31*/ virtual void __unk_vfn_31(); + /*32*/ virtual void __unk_vfn_32(); + /*33*/ virtual void __unk_vfn_33(); + /*34*/ virtual void __unk_vfn_34(); + /*35*/ virtual void __unk_vfn_35(); + /*36*/ virtual void __unk_vfn_36(); + /*37*/ virtual void __unk_vfn_37(); + /*38*/ virtual void __unk_vfn_38(); + /*39*/ virtual void __unk_vfn_39(); + /*40*/ virtual void __unk_vfn_40(); + /*41*/ virtual bool canHurtAndBreakItem() const; + /*42*/ virtual void __unk_vfn_42(); + /*43*/ virtual void __unk_vfn_43(); + /*44*/ virtual void __unk_vfn_44(); + /*45*/ virtual void __unk_vfn_45(); + /*46*/ virtual class Block const & sanitizeFillBlock(class BlockSource &, class BlockPos const &, class Block const &) const; + /*47*/ virtual void __unk_vfn_47(); + /*48*/ virtual void __unk_vfn_48(); + /*49*/ virtual void __unk_vfn_49(); + /*50*/ virtual void __unk_vfn_50(); + /*51*/ virtual void __unk_vfn_51(); + /*52*/ virtual void __unk_vfn_52(); + /*53*/ virtual bool canBeUsedInCommands(bool, class BaseGameVersion const &) const; + /*54*/ virtual float getThickness() const; + /*55*/ virtual void __unk_vfn_55(); + /*56*/ virtual bool checkIsPathable(class Actor &, class BlockPos const &, class BlockPos const &) const; + /*57*/ virtual void __unk_vfn_57(); + /*58*/ virtual void __unk_vfn_58(); + /*59*/ virtual void __unk_vfn_59(); + /*60*/ virtual void __unk_vfn_60(); + /*61*/ virtual void __unk_vfn_61(); + /*62*/ virtual void __unk_vfn_62(); + /*63*/ virtual void onFallOn(class BlockSource &, class BlockPos const &, class Actor &, float) const; + /*64*/ virtual void __unk_vfn_64(); + /*65*/ virtual void __unk_vfn_65(); + /*66*/ virtual void __unk_vfn_66(); + /*67*/ virtual void __unk_vfn_67(); + /*68*/ virtual void __unk_vfn_68(); + /*69*/ virtual void __unk_vfn_69(); + /*70*/ virtual void __unk_vfn_70(); + /*71*/ virtual enum BlockProperty getRedstoneProperty(class BlockSource &, class BlockPos const &) const; + /*72*/ virtual void updateEntityAfterFallOn(class BlockSource &, class BlockPos const &, class Actor &) const; + /*73*/ virtual void __unk_vfn_73(); + /*74*/ virtual void __unk_vfn_74(); + /*75*/ virtual void __unk_vfn_75(); + /*76*/ virtual void __unk_vfn_76(); + /*77*/ virtual void __unk_vfn_77(); + /*78*/ virtual bool mayPick(class BlockSource &, class Block const &, bool) const; + /*79*/ virtual void __unk_vfn_79(); + /*80*/ virtual bool mayPlace(class BlockSource &, class BlockPos const &) const; + /*81*/ virtual void __unk_vfn_81(); + /*82*/ virtual void __unk_vfn_82(); + /*83*/ virtual bool tryToPlace(class BlockSource &, class BlockPos const &, class Block const &, struct ActorBlockSyncMessage const *) const; + /*84*/ virtual bool breaksFallingBlocks(class Block const &) const; + /*85*/ virtual void __unk_vfn_85(); + /*86*/ virtual bool playerWillDestroy(class Player &, class BlockPos const &, class Block const &) const; + /*87*/ virtual void __unk_vfn_87(); + /*88*/ virtual void neighborChanged(class BlockSource &, class BlockPos const &, class BlockPos const &) const; + /*89*/ virtual void __unk_vfn_89(); + /*90*/ virtual void __unk_vfn_90(); + /*91*/ virtual void __unk_vfn_91(); + /*92*/ virtual void __unk_vfn_92(); + /*93*/ virtual void spawnResources(class BlockSource &, class BlockPos const &, class Block const &, std::vector *, float, int, bool) const; + /*94*/ virtual void trySpawnResourcesOnExplosion(class BlockSource &, class BlockPos const &, class Block const &, std::vector *, float, int, bool) const; + /*95*/ virtual void __unk_vfn_95(); + /*96*/ virtual void __unk_vfn_96(); + /*97*/ virtual class HitResult clip(class BlockSource &, class BlockPos const &, class Vec3 const &, class Vec3 const &, bool) const; + /*98*/ virtual void __unk_vfn_98(); + /*99*/ virtual class Block const & getPlacementBlock(class Actor &, class BlockPos const &, unsigned char, class Vec3 const &, int) const; + /*100*/ virtual int calcVariant(class BlockSource &, class BlockPos const &) const; + /*101*/ virtual void __unk_vfn_101(); + /*102*/ virtual void __unk_vfn_102(); + /*103*/ virtual void __unk_vfn_103(); + /*104*/ virtual void __unk_vfn_104(); + /*105*/ virtual void playerDestroy(class Player &, class BlockPos const &, class Block const &) const; + /*106*/ virtual void __unk_vfn_106(); + /*107*/ virtual void __unk_vfn_107(); + /*108*/ virtual bool canBeBuiltOver(class BlockSource &, class BlockPos const &) const; + /*109*/ virtual void triggerEvent(class BlockSource &, class BlockPos const &, int, int) const; + /*110*/ virtual void __unk_vfn_110(); + /*111*/ virtual void __unk_vfn_111(); + /*112*/ virtual class MobSpawnerData const * getMobToSpawn(class SpawnConditions const &, class BlockSource &) const; + /*113*/ virtual void __unk_vfn_113(); + /*114*/ virtual void __unk_vfn_114(); + /*115*/ virtual bool shouldStopFalling(class Actor &) const; + /*116*/ virtual void __unk_vfn_116(); + /*117*/ virtual float calcGroundFriction(class Mob &, class BlockPos const &) const; + /*118*/ virtual void __unk_vfn_118(); + /*119*/ virtual void __unk_vfn_119(); + /*120*/ virtual void __unk_vfn_120(); + /*121*/ virtual bool canSlide(class BlockSource &, class BlockPos const &) const; + /*122*/ virtual void __unk_vfn_122(); + /*123*/ virtual void __unk_vfn_123(); + /*124*/ virtual void __unk_vfn_124(); + /*125*/ virtual void __unk_vfn_125(); + /*126*/ virtual void __unk_vfn_126(); + /*127*/ virtual void __unk_vfn_127(); + /*128*/ virtual void __unk_vfn_128(); + /*129*/ virtual void __unk_vfn_129(); + /*130*/ virtual void __unk_vfn_130(); + /*131*/ virtual void __unk_vfn_131(); + /*132*/ virtual int getColorForParticle(class BlockSource &, class BlockPos const &, class Block const &) const; + /*133*/ virtual void __unk_vfn_133(); + /*134*/ virtual void onGraphicsModeChanged(bool, bool, bool); + /*135*/ virtual void __unk_vfn_135(); + /*136*/ virtual float getShadeBrightness() const; + /*137*/ virtual class AABB const & getVisualShapeInWorld(class Block const &, class BlockSource &, class BlockPos const &, class AABB &, bool) const; + /*138*/ virtual class AABB const & getVisualShape(class Block const &, class AABB &, bool) const; + /*139*/ virtual class AABB const & getUIShape(class Block const &, class AABB &) const; + /*140*/ virtual int telemetryVariant(class BlockSource &, class BlockPos const &) const; + /*141*/ virtual int getVariant(class Block const &) const; + /*142*/ virtual void __unk_vfn_142(); + /*143*/ virtual class Block const & getRenderBlock() const; + /*144*/ virtual void __unk_vfn_144(); + /*145*/ virtual void __unk_vfn_145(); + /*146*/ virtual void __unk_vfn_146(); + /*147*/ virtual class BlockLegacy & init(); + /*148*/ virtual class BlockLegacy & setLightBlock(struct Brightness); + /*149*/ virtual class BlockLegacy & setLightEmission(float); + /*150*/ virtual class BlockLegacy & setExplodeable(float); + /*151*/ virtual class BlockLegacy & setDestroyTime(float); + /*152*/ virtual class BlockLegacy & setFriction(float); + /*153*/ virtual class BlockLegacy & addProperty(enum BlockProperty); + /*154*/ virtual class BlockLegacy & addState(class ItemState const &); + /*155*/ virtual class BlockLegacy & addState(class ItemState const &, unsigned __int64); + /*156*/ virtual class BlockLegacy & setAllowsRunes(bool); + /*157*/ virtual class BlockLegacy & setMapColor(class Color const &); + /*158*/ virtual void __unk_vfn_158(); + /*159*/ virtual void __unk_vfn_159(); + /*160*/ virtual void setVisualShape(class AABB const &); + /*161*/ virtual void setVisualShape(class Vec3 const &, class Vec3 const &); + /*162*/ virtual void __unk_vfn_162(); + /*163*/ virtual void __unk_vfn_163(); + /*164*/ virtual class ItemInstance getEntityResourceItem(class Random &, class BlockActor const &, int) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_BEACONBLOCK + MCVAPI bool canContainLiquid() const; + MCVAPI bool isInteractiveBlock() const; + MCVAPI bool use(class Player &, class BlockPos const &) const; +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/BeaconBlockActor.hpp b/LiteLoader/Header/MC/BeaconBlockActor.hpp new file mode 100644 index 0000000..d59f21b --- /dev/null +++ b/LiteLoader/Header/MC/BeaconBlockActor.hpp @@ -0,0 +1,60 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class BeaconBlockActor { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_BEACONBLOCKACTOR +public: + class BeaconBlockActor& operator=(class BeaconBlockActor const &) = delete; + BeaconBlockActor(class BeaconBlockActor const &) = delete; + BeaconBlockActor() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_BEACONBLOCKACTOR + MCVAPI std::unique_ptr _getUpdatePacket(class BlockSource &); + MCVAPI void _onUpdatePacket(class CompoundTag const &, class BlockSource &); + MCVAPI class Container * getContainer(); + MCVAPI class Container const * getContainer() const; + MCVAPI int getContainerSize() const; + MCVAPI class ItemStack const & getItem(int) const; + MCVAPI int getMaxStackSize() const; + MCVAPI std::string getName() const; + MCVAPI bool hasAlphaLayer() const; + MCVAPI void load(class Level &, class CompoundTag const &, class DataLoadHelper &); + MCVAPI void removeItem(int, int); + MCVAPI bool save(class CompoundTag &) const; + MCVAPI void serverInitItemStackIds(int, int, class std::function); + MCVAPI void setItem(int, class ItemStack const &); + MCVAPI void startOpen(class Player &); + MCVAPI void stopOpen(class Player &); + MCVAPI void tick(class BlockSource &); + MCVAPI ~BeaconBlockActor(); +#endif + MCAPI BeaconBlockActor(class BlockPos const &); + MCAPI class CompoundTag getBeaconData(); + MCAPI bool setPrimaryEffect(int); + MCAPI bool setSecondaryEffect(int); + MCAPI static bool isPaymentItem(class ItemDescriptor const &); + +//private: + MCAPI void _applyEffects(class BlockSource &); + MCAPI void _checkShape(class BlockSource &); + MCAPI int _getEffectTier(int) const; + MCAPI bool _isEffectValid(int) const; + MCAPI bool _isSecondaryEffectValid(int) const; + MCAPI void _loadClientSideState(class Level &, class CompoundTag const &, class DataLoadHelper &); + MCAPI bool _saveClientSideState(class CompoundTag &) const; + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/BeaconContainerManagerModel.hpp b/LiteLoader/Header/MC/BeaconContainerManagerModel.hpp new file mode 100644 index 0000000..06a1dda --- /dev/null +++ b/LiteLoader/Header/MC/BeaconContainerManagerModel.hpp @@ -0,0 +1,37 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "LevelContainerManagerModel.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class BeaconContainerManagerModel : public LevelContainerManagerModel { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_BEACONCONTAINERMANAGERMODEL +public: + class BeaconContainerManagerModel& operator=(class BeaconContainerManagerModel const &) = delete; + BeaconContainerManagerModel(class BeaconContainerManagerModel const &) = delete; + BeaconContainerManagerModel() = delete; +#endif + +public: + /*0*/ virtual ~BeaconContainerManagerModel(); + /*6*/ virtual std::vector getItemCopies() const; + /*7*/ virtual void setSlot(int, class ItemStack const &, bool); + /*8*/ virtual class ItemStack const & getSlot(int) const; + /*12*/ virtual class ContainerScreenContext _postInit(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_BEACONCONTAINERMANAGERMODEL +#endif + +//private: + MCAPI void _resetSelectionState(); + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/BeardAndShaverDescription.hpp b/LiteLoader/Header/MC/BeardAndShaverDescription.hpp new file mode 100644 index 0000000..6f1b1dd --- /dev/null +++ b/LiteLoader/Header/MC/BeardAndShaverDescription.hpp @@ -0,0 +1,33 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class BeardAndShaverDescription { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_BEARDANDSHAVERDESCRIPTION +public: + class BeardAndShaverDescription& operator=(class BeardAndShaverDescription const &) = delete; + BeardAndShaverDescription(class BeardAndShaverDescription const &) = delete; + BeardAndShaverDescription() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_BEARDANDSHAVERDESCRIPTION +#endif + MCAPI static float calculateContributions(std::vector &, class BlockPos const &); + +//private: + MCAPI void _precomputeRigidData(); + +private: + MCAPI static struct BeardKernel mBeardKernel; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/BeardAndShaverStorage.hpp b/LiteLoader/Header/MC/BeardAndShaverStorage.hpp new file mode 100644 index 0000000..945eca4 --- /dev/null +++ b/LiteLoader/Header/MC/BeardAndShaverStorage.hpp @@ -0,0 +1,29 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class BeardAndShaverStorage { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_BEARDANDSHAVERSTORAGE +public: + class BeardAndShaverStorage& operator=(class BeardAndShaverStorage const &) = delete; + BeardAndShaverStorage(class BeardAndShaverStorage const &) = delete; + BeardAndShaverStorage() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_BEARDANDSHAVERSTORAGE +#endif + MCAPI void set(class BoundingBox const &, int, float, float); + MCAPI std::vector take(class ChunkPos const &); + MCAPI ~BeardAndShaverStorage(); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/BeardKernel.hpp b/LiteLoader/Header/MC/BeardKernel.hpp new file mode 100644 index 0000000..f08af7e --- /dev/null +++ b/LiteLoader/Header/MC/BeardKernel.hpp @@ -0,0 +1,28 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +struct BeardKernel { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_BEARDKERNEL +public: + struct BeardKernel& operator=(struct BeardKernel const &) = delete; + BeardKernel(struct BeardKernel const &) = delete; + BeardKernel() = delete; +#endif +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_BEARDKERNEL +#endif + +//private: + MCAPI class std::array const createBeardKernel(); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/BedBlock.hpp b/LiteLoader/Header/MC/BedBlock.hpp new file mode 100644 index 0000000..bb3b746 --- /dev/null +++ b/LiteLoader/Header/MC/BedBlock.hpp @@ -0,0 +1,82 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "BlockLegacy.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class BedBlock : public BlockLegacy { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_BEDBLOCK +public: + class BedBlock& operator=(class BedBlock const &) = delete; + BedBlock(class BedBlock const &) = delete; + BedBlock() = delete; +#endif + +public: + /*0*/ virtual ~BedBlock(); + /*4*/ virtual class Block const * getNextBlockPermutation(class Block const &) const; + /*18*/ virtual void __unk_vfn_18(); + /*24*/ virtual void __unk_vfn_24(); + /*25*/ virtual void __unk_vfn_25(); + /*26*/ virtual void __unk_vfn_26(); + /*27*/ virtual void __unk_vfn_27(); + /*28*/ virtual void __unk_vfn_28(); + /*30*/ virtual void __unk_vfn_30(); + /*31*/ virtual void __unk_vfn_31(); + /*32*/ virtual void __unk_vfn_32(); + /*33*/ virtual void __unk_vfn_33(); + /*34*/ virtual void __unk_vfn_34(); + /*35*/ virtual void __unk_vfn_35(); + /*36*/ virtual void __unk_vfn_36(); + /*38*/ virtual void __unk_vfn_38(); + /*39*/ virtual void __unk_vfn_39(); + /*40*/ virtual void __unk_vfn_40(); + /*42*/ virtual void __unk_vfn_42(); + /*43*/ virtual void __unk_vfn_43(); + /*45*/ virtual bool canFillAtPos(class BlockSource &, class BlockPos const &, class Block const &) const; + /*46*/ virtual class Block const & sanitizeFillBlock(class BlockSource &, class BlockPos const &, class Block const &) const; + /*47*/ virtual void onFillBlock(class BlockSource &, class BlockPos const &, class Block const &) const; + /*49*/ virtual void __unk_vfn_49(); + /*52*/ virtual void __unk_vfn_52(); + /*56*/ virtual bool checkIsPathable(class Actor &, class BlockPos const &, class BlockPos const &) const; + /*59*/ virtual void onPlace(class BlockSource &, class BlockPos const &) const; + /*63*/ virtual void onFallOn(class BlockSource &, class BlockPos const &, class Actor &, float) const; + /*67*/ virtual void __unk_vfn_67(); + /*72*/ virtual void updateEntityAfterFallOn(class BlockSource &, class BlockPos const &, class Actor &) const; + /*73*/ virtual void __unk_vfn_73(); + /*86*/ virtual bool playerWillDestroy(class Player &, class BlockPos const &, class Block const &) const; + /*87*/ virtual void __unk_vfn_87(); + /*88*/ virtual void neighborChanged(class BlockSource &, class BlockPos const &, class BlockPos const &) const; + /*89*/ virtual bool getSecondPart(class BlockSource &, class BlockPos const &, class BlockPos &) const; + /*92*/ virtual class ItemInstance asItemInstance(class BlockSource &, class BlockPos const &, class Block const &) const; + /*93*/ virtual void spawnResources(class BlockSource &, class BlockPos const &, class Block const &, std::vector *, float, int, bool) const; + /*95*/ virtual void __unk_vfn_95(); + /*98*/ virtual bool use(class Player &, class BlockPos const &) const; + /*109*/ virtual void __unk_vfn_109(); + /*116*/ virtual void __unk_vfn_116(); + /*118*/ virtual void __unk_vfn_118(); + /*119*/ virtual void __unk_vfn_119(); + /*122*/ virtual bool canSpawnAt(class BlockSource const &, class BlockPos const &) const; + /*140*/ virtual int telemetryVariant(class BlockSource &, class BlockPos const &) const; + /*141*/ virtual int getVariant(class Block const &) const; + /*142*/ virtual void __unk_vfn_142(); + /*144*/ virtual unsigned char getMappedFace(unsigned char, class Block const &) const; + /*158*/ virtual void __unk_vfn_158(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_BEDBLOCK + MCVAPI bool canBeSilkTouched() const; + MCVAPI bool isBounceBlock() const; + MCVAPI bool isInteractiveBlock() const; +#endif + MCAPI static bool findStandUpPosition(class BlockSource &, class BlockPos const &, int, class BlockPos &, bool); + MCAPI static bool isValidStandUpPosition(class BlockSource &, class BlockPos const &); + MCAPI static void setOccupied(class BlockSource &, class BlockPos const &, bool); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/BedBlockActor.hpp b/LiteLoader/Header/MC/BedBlockActor.hpp new file mode 100644 index 0000000..9f83f94 --- /dev/null +++ b/LiteLoader/Header/MC/BedBlockActor.hpp @@ -0,0 +1,45 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "BlockActor.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class BedBlockActor : public BlockActor { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_BEDBLOCKACTOR +public: + class BedBlockActor& operator=(class BedBlockActor const &) = delete; + BedBlockActor(class BedBlockActor const &) = delete; + BedBlockActor() = delete; +#endif + +public: + /*0*/ virtual ~BedBlockActor(); + /*1*/ virtual void load(class Level &, class CompoundTag const &, class DataLoadHelper &); + /*2*/ virtual bool save(class CompoundTag &) const; + /*3*/ virtual bool saveItemInstanceData(class CompoundTag &); + /*7*/ virtual void tick(class BlockSource &); + /*9*/ virtual void onChanged(class BlockSource &); + /*12*/ virtual void onPlace(class BlockSource &); + /*13*/ virtual void __unk_vfn_13(); + /*17*/ virtual void __unk_vfn_17(); + /*20*/ virtual class BlockActor * getCrackEntity(class BlockSource &, class BlockPos const &); + /*24*/ virtual std::string getName() const; + /*29*/ virtual void __unk_vfn_29(); + /*30*/ virtual void __unk_vfn_30(); + /*32*/ virtual void __unk_vfn_32(); + /*33*/ virtual void __unk_vfn_33(); + /*34*/ virtual std::unique_ptr _getUpdatePacket(class BlockSource &); + /*35*/ virtual void _onUpdatePacket(class CompoundTag const &, class BlockSource &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_BEDBLOCKACTOR +#endif + MCAPI BedBlockActor(class BlockPos const &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/BedItem.hpp b/LiteLoader/Header/MC/BedItem.hpp new file mode 100644 index 0000000..bc58b83 --- /dev/null +++ b/LiteLoader/Header/MC/BedItem.hpp @@ -0,0 +1,55 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Item.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class BedItem : public Item { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_BEDITEM +public: + class BedItem& operator=(class BedItem const &) = delete; + BedItem(class BedItem const &) = delete; + BedItem() = delete; +#endif + +public: + /*0*/ virtual ~BedItem(); + /*5*/ virtual void __unk_vfn_5(); + /*26*/ virtual void __unk_vfn_26(); + /*27*/ virtual void __unk_vfn_27(); + /*31*/ virtual void __unk_vfn_31(); + /*32*/ virtual void __unk_vfn_32(); + /*34*/ virtual void __unk_vfn_34(); + /*37*/ virtual void __unk_vfn_37(); + /*43*/ virtual void __unk_vfn_43(); + /*44*/ virtual bool isValidAuxValue(int) const; + /*46*/ virtual void __unk_vfn_46(); + /*47*/ virtual void __unk_vfn_47(); + /*49*/ virtual void __unk_vfn_49(); + /*50*/ virtual void __unk_vfn_50(); + /*65*/ virtual std::string buildDescriptionId(class ItemDescriptor const &, class CompoundTag const *) const; + /*79*/ virtual void __unk_vfn_79(); + /*80*/ virtual void __unk_vfn_80(); + /*85*/ virtual struct TextureUVCoordinateSet const & getIcon(class ItemStackBase const &, int, bool) const; + /*87*/ virtual class Item & setIcon(std::string const &, int); + /*90*/ virtual void __unk_vfn_90(); + /*95*/ virtual bool _checkUseOnPermissions(class Actor &, class ItemStack &, unsigned char const &, class BlockPos const &) const; + /*97*/ virtual void __unk_vfn_97(); + /*99*/ virtual bool _useOn(class ItemStack &, class Actor &, class BlockPos, unsigned char, float, float, float) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_BEDITEM +#endif + +//private: + MCAPI bool _tryUseOn(class ItemStack &, class Actor &, class BlockPos, unsigned char, float, float, float) const; + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/Bedrock.hpp b/LiteLoader/Header/MC/Bedrock.hpp new file mode 100644 index 0000000..ec98c80 --- /dev/null +++ b/LiteLoader/Header/MC/Bedrock.hpp @@ -0,0 +1,28 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +namespace Bedrock { + +#define AFTER_EXTRA + +template +class NonOwnerPointer { +public: + std::shared_ptr mPtr; + + NonOwnerPointer(T0& a1) { + mPtr = std::make_shared(a1); + } + +}; + +#undef AFTER_EXTRA + MCAPI void throw_system_error(enum std::errc); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/BedrockBlock.hpp b/LiteLoader/Header/MC/BedrockBlock.hpp new file mode 100644 index 0000000..08ed53e --- /dev/null +++ b/LiteLoader/Header/MC/BedrockBlock.hpp @@ -0,0 +1,60 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "BlockLegacy.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class BedrockBlock : public BlockLegacy { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_BEDROCKBLOCK +public: + class BedrockBlock& operator=(class BedrockBlock const &) = delete; + BedrockBlock(class BedrockBlock const &) = delete; + BedrockBlock() = delete; +#endif + +public: + /*0*/ virtual ~BedrockBlock(); + /*18*/ virtual void __unk_vfn_18(); + /*24*/ virtual void __unk_vfn_24(); + /*25*/ virtual void __unk_vfn_25(); + /*26*/ virtual void __unk_vfn_26(); + /*27*/ virtual void __unk_vfn_27(); + /*28*/ virtual void __unk_vfn_28(); + /*30*/ virtual void __unk_vfn_30(); + /*31*/ virtual void __unk_vfn_31(); + /*32*/ virtual void __unk_vfn_32(); + /*33*/ virtual void __unk_vfn_33(); + /*34*/ virtual void __unk_vfn_34(); + /*35*/ virtual void __unk_vfn_35(); + /*36*/ virtual void __unk_vfn_36(); + /*38*/ virtual void __unk_vfn_38(); + /*39*/ virtual void __unk_vfn_39(); + /*40*/ virtual void __unk_vfn_40(); + /*42*/ virtual void __unk_vfn_42(); + /*43*/ virtual void __unk_vfn_43(); + /*49*/ virtual void __unk_vfn_49(); + /*52*/ virtual void __unk_vfn_52(); + /*67*/ virtual void __unk_vfn_67(); + /*73*/ virtual void __unk_vfn_73(); + /*87*/ virtual void __unk_vfn_87(); + /*92*/ virtual class ItemInstance asItemInstance(class BlockSource &, class BlockPos const &, class Block const &) const; + /*95*/ virtual void __unk_vfn_95(); + /*109*/ virtual void __unk_vfn_109(); + /*116*/ virtual void __unk_vfn_116(); + /*118*/ virtual void __unk_vfn_118(); + /*119*/ virtual void __unk_vfn_119(); + /*142*/ virtual void __unk_vfn_142(); + /*158*/ virtual void __unk_vfn_158(); + /*159*/ virtual class ItemInstance getSilkTouchItemInstance(class Block const &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_BEDROCKBLOCK +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/BedrockBlockTypes.hpp b/LiteLoader/Header/MC/BedrockBlockTypes.hpp new file mode 100644 index 0000000..df62ce3 --- /dev/null +++ b/LiteLoader/Header/MC/BedrockBlockTypes.hpp @@ -0,0 +1,17 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +namespace BedrockBlockTypes { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA + MCAPI extern class WeakPtr mAir; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/BedrockBlocks.hpp b/LiteLoader/Header/MC/BedrockBlocks.hpp new file mode 100644 index 0000000..cf39a41 --- /dev/null +++ b/LiteLoader/Header/MC/BedrockBlocks.hpp @@ -0,0 +1,17 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +namespace BedrockBlocks { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA + MCAPI extern class Block const * mAir; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/BedrockItems.hpp b/LiteLoader/Header/MC/BedrockItems.hpp new file mode 100644 index 0000000..2af154c --- /dev/null +++ b/LiteLoader/Header/MC/BedrockItems.hpp @@ -0,0 +1,28 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class BedrockItems { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_BEDROCKITEMS +public: + class BedrockItems& operator=(class BedrockItems const &) = delete; + BedrockItems(class BedrockItems const &) = delete; + BedrockItems() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_BEDROCKITEMS +#endif + MCAPI static class WeakPtr mAir; + MCAPI static void registerItems(); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/BedrockLog.hpp b/LiteLoader/Header/MC/BedrockLog.hpp new file mode 100644 index 0000000..4a0e7c4 --- /dev/null +++ b/LiteLoader/Header/MC/BedrockLog.hpp @@ -0,0 +1,30 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Core.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +namespace BedrockLog { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA + MCAPI enum LogAreaID _areaFilterFromString(std::string const &); + MCAPI bool _constructAreaFilterFromString(std::string const &, class BedrockLog::LogAreaFilter &); + MCAPI std::string _constructAreaFilterStringFromFilter(class BedrockLog::LogAreaFilter const &); + MCAPI struct BedrockLog::LogDetails & _getLog(enum BedrockLog::LogCategory, enum BedrockLog::LogChannel); + MCAPI void _initAreaFilterMap(); + MCAPI void _initPriorityFilterMap(); + MCAPI void _openChannel(class Core::Path const &, std::string const &, std::string const &, enum BedrockLog::LogCategory, enum BedrockLog::LogChannel, bool, class LogSettingsUpdater *, double); + MCAPI void createLog(class Core::Path const &, std::string const &, std::string const &, enum BedrockLog::LogCategory, class std::bitset<3>, bool, class LogSettingsUpdater *, double); + MCAPI void flushAllLogs(); + MCAPI void log(enum BedrockLog::LogCategory, class std::bitset<3>, enum BedrockLog::LogRule, enum LogAreaID, unsigned int, char const *, int, char const *, ...); + MCAPI void log_va(enum BedrockLog::LogCategory, class std::bitset<3>, enum BedrockLog::LogRule, enum LogAreaID, unsigned int, char const *, int, char const *, char *); + MCAPI int rakDebugLog(char const *, ...); + MCAPI void update(); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/Bee.hpp b/LiteLoader/Header/MC/Bee.hpp new file mode 100644 index 0000000..fc0ee33 --- /dev/null +++ b/LiteLoader/Header/MC/Bee.hpp @@ -0,0 +1,60 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Actor.hpp" +#include "Animal.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class Bee : public Animal { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_BEE +public: + class Bee& operator=(class Bee const &) = delete; + Bee(class Bee const &) = delete; + Bee() = delete; +#endif + +public: + /*2*/ virtual void reloadHardcodedClient(enum Actor::InitializationMethod, class VariantParameterList const &); + /*7*/ virtual ~Bee(); + /*30*/ virtual void __unk_vfn_30(); + /*39*/ virtual void normalTick(); + /*54*/ virtual void __unk_vfn_54(); + /*61*/ virtual void __unk_vfn_61(); + /*76*/ virtual void __unk_vfn_76(); + /*81*/ virtual void __unk_vfn_81(); + /*88*/ virtual void __unk_vfn_88(); + /*90*/ virtual void __unk_vfn_90(); + /*98*/ virtual void __unk_vfn_98(); + /*100*/ virtual void __unk_vfn_100(); + /*121*/ virtual void __unk_vfn_121(); + /*169*/ virtual void __unk_vfn_169(); + /*177*/ virtual void onSynchedDataUpdate(int); + /*182*/ virtual void __unk_vfn_182(); + /*206*/ virtual void __unk_vfn_206(); + /*207*/ virtual void __unk_vfn_207(); + /*228*/ virtual void __unk_vfn_228(); + /*231*/ virtual void __unk_vfn_231(); + /*238*/ virtual void __unk_vfn_238(); + /*246*/ virtual void __unk_vfn_246(); + /*257*/ virtual void __unk_vfn_257(); + /*266*/ virtual int getAmbientSoundPostponeTicks(); + /*290*/ virtual void __unk_vfn_290(); + /*300*/ virtual void __unk_vfn_300(); + /*332*/ virtual void __unk_vfn_332(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_BEE +#endif + +//protected: + MCAPI void _registerLoopingSounds(); + +protected: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/BeehiveBlock.hpp b/LiteLoader/Header/MC/BeehiveBlock.hpp new file mode 100644 index 0000000..96e947e --- /dev/null +++ b/LiteLoader/Header/MC/BeehiveBlock.hpp @@ -0,0 +1,204 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "ActorBlock.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class BeehiveBlock : public ActorBlock { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_BEEHIVEBLOCK +public: + class BeehiveBlock& operator=(class BeehiveBlock const &) = delete; + BeehiveBlock(class BeehiveBlock const &) = delete; + BeehiveBlock() = delete; +#endif + +public: + /*0*/ virtual ~BeehiveBlock(); + /*1*/ virtual void __unk_vfn_1(); + /*2*/ virtual class Block const & getStateFromLegacyData(unsigned short) const; + /*3*/ virtual class std::shared_ptr newBlockEntity(class BlockPos const &, class Block const &) const; + /*4*/ virtual class Block const * getNextBlockPermutation(class Block const &) const; + /*5*/ virtual bool getCollisionShape(class AABB &, class Block const &, class BlockSource &, class BlockPos const &, class Actor *) const; + /*6*/ virtual bool isObstructingChests(class BlockSource &, class BlockPos const &) const; + /*7*/ virtual void __unk_vfn_7(); + /*8*/ virtual class Vec3 randomlyModifyPosition(class BlockPos const &, int &) const; + /*9*/ virtual void addAABBs(class Block const &, class BlockSource &, class BlockPos const &, class AABB const *, std::vector &) const; + /*10*/ virtual class AABB const & getAABB(class BlockSource &, class BlockPos const &, class Block const &, class AABB &, bool) const; + /*11*/ virtual bool addCollisionShapes(class Block const &, class BlockSource &, class BlockPos const &, class AABB const *, std::vector &, class Actor *) const; + /*12*/ virtual class AABB const & getOutline(class BlockSource &, class BlockPos const &, class AABB &) const; + /*13*/ virtual bool getLiquidClipVolume(class BlockSource &, class BlockPos const &, class AABB &) const; + /*14*/ virtual void __unk_vfn_14(); + /*15*/ virtual void __unk_vfn_15(); + /*16*/ virtual struct Brightness getLightEmission(class Block const &) const; + /*17*/ virtual bool shouldRandomTick() const; + /*18*/ virtual void __unk_vfn_18(); + /*19*/ virtual void __unk_vfn_19(); + /*20*/ virtual void __unk_vfn_20(); + /*21*/ virtual bool canProvideSupport(class Block const &, unsigned char, enum BlockSupportType) const; + /*22*/ virtual bool canConnect(class Block const &, unsigned char, class Block const &) const; + /*23*/ virtual void getConnectedDirections(class Block const &, class BlockPos const &, class BlockSource &, bool &, bool &, bool &, bool &) const; + /*24*/ virtual void __unk_vfn_24(); + /*25*/ virtual void __unk_vfn_25(); + /*26*/ virtual void __unk_vfn_26(); + /*27*/ virtual void __unk_vfn_27(); + /*28*/ virtual void __unk_vfn_28(); + /*29*/ virtual bool isWaterBlocking() const; + /*30*/ virtual void __unk_vfn_30(); + /*31*/ virtual void __unk_vfn_31(); + /*32*/ virtual void __unk_vfn_32(); + /*33*/ virtual void __unk_vfn_33(); + /*34*/ virtual void __unk_vfn_34(); + /*35*/ virtual void __unk_vfn_35(); + /*36*/ virtual void __unk_vfn_36(); + /*37*/ virtual void __unk_vfn_37(); + /*38*/ virtual void __unk_vfn_38(); + /*39*/ virtual void __unk_vfn_39(); + /*40*/ virtual void __unk_vfn_40(); + /*41*/ virtual bool canHurtAndBreakItem() const; + /*42*/ virtual void __unk_vfn_42(); + /*43*/ virtual void __unk_vfn_43(); + /*44*/ virtual void __unk_vfn_44(); + /*45*/ virtual void __unk_vfn_45(); + /*46*/ virtual class Block const & sanitizeFillBlock(class BlockSource &, class BlockPos const &, class Block const &) const; + /*47*/ virtual void __unk_vfn_47(); + /*48*/ virtual void __unk_vfn_48(); + /*49*/ virtual void __unk_vfn_49(); + /*50*/ virtual bool canContainLiquid() const; + /*51*/ virtual void __unk_vfn_51(); + /*52*/ virtual void __unk_vfn_52(); + /*53*/ virtual bool canBeUsedInCommands(bool, class BaseGameVersion const &) const; + /*54*/ virtual float getThickness() const; + /*55*/ virtual void __unk_vfn_55(); + /*56*/ virtual bool checkIsPathable(class Actor &, class BlockPos const &, class BlockPos const &) const; + /*57*/ virtual void __unk_vfn_57(); + /*58*/ virtual void __unk_vfn_58(); + /*59*/ virtual void __unk_vfn_59(); + /*60*/ virtual void __unk_vfn_60(); + /*61*/ virtual void __unk_vfn_61(); + /*62*/ virtual void __unk_vfn_62(); + /*63*/ virtual void onFallOn(class BlockSource &, class BlockPos const &, class Actor &, float) const; + /*64*/ virtual void __unk_vfn_64(); + /*65*/ virtual void __unk_vfn_65(); + /*66*/ virtual void __unk_vfn_66(); + /*67*/ virtual void __unk_vfn_67(); + /*68*/ virtual void __unk_vfn_68(); + /*69*/ virtual void __unk_vfn_69(); + /*70*/ virtual void __unk_vfn_70(); + /*71*/ virtual enum BlockProperty getRedstoneProperty(class BlockSource &, class BlockPos const &) const; + /*72*/ virtual void updateEntityAfterFallOn(class BlockSource &, class BlockPos const &, class Actor &) const; + /*73*/ virtual void __unk_vfn_73(); + /*74*/ virtual void __unk_vfn_74(); + /*75*/ virtual void __unk_vfn_75(); + /*76*/ virtual void __unk_vfn_76(); + /*77*/ virtual void __unk_vfn_77(); + /*78*/ virtual bool mayPick(class BlockSource &, class Block const &, bool) const; + /*79*/ virtual void __unk_vfn_79(); + /*80*/ virtual bool mayPlace(class BlockSource &, class BlockPos const &) const; + /*81*/ virtual void __unk_vfn_81(); + /*82*/ virtual void __unk_vfn_82(); + /*83*/ virtual bool tryToPlace(class BlockSource &, class BlockPos const &, class Block const &, struct ActorBlockSyncMessage const *) const; + /*84*/ virtual bool breaksFallingBlocks(class Block const &) const; + /*85*/ virtual void __unk_vfn_85(); + /*86*/ virtual bool playerWillDestroy(class Player &, class BlockPos const &, class Block const &) const; + /*87*/ virtual void __unk_vfn_87(); + /*88*/ virtual void neighborChanged(class BlockSource &, class BlockPos const &, class BlockPos const &) const; + /*89*/ virtual void __unk_vfn_89(); + /*90*/ virtual void __unk_vfn_90(); + /*91*/ virtual class ItemInstance getResourceItem(class Random &, class Block const &, int) const; + /*92*/ virtual class ItemInstance asItemInstance(class BlockSource &, class BlockPos const &, class Block const &) const; + /*93*/ virtual void spawnResources(class BlockSource &, class BlockPos const &, class Block const &, std::vector *, float, int, bool) const; + /*94*/ virtual void trySpawnResourcesOnExplosion(class BlockSource &, class BlockPos const &, class Block const &, std::vector *, float, int, bool) const; + /*95*/ virtual void __unk_vfn_95(); + /*96*/ virtual void __unk_vfn_96(); + /*97*/ virtual class HitResult clip(class BlockSource &, class BlockPos const &, class Vec3 const &, class Vec3 const &, bool) const; + /*98*/ virtual bool use(class Player &, class BlockPos const &) const; + /*99*/ virtual void __unk_vfn_99(); + /*100*/ virtual int calcVariant(class BlockSource &, class BlockPos const &) const; + /*101*/ virtual void __unk_vfn_101(); + /*102*/ virtual void __unk_vfn_102(); + /*103*/ virtual void __unk_vfn_103(); + /*104*/ virtual void __unk_vfn_104(); + /*105*/ virtual void playerDestroy(class Player &, class BlockPos const &, class Block const &) const; + /*106*/ virtual void __unk_vfn_106(); + /*107*/ virtual void __unk_vfn_107(); + /*108*/ virtual bool canBeBuiltOver(class BlockSource &, class BlockPos const &) const; + /*109*/ virtual void triggerEvent(class BlockSource &, class BlockPos const &, int, int) const; + /*110*/ virtual void executeEvent(class BlockSource &, class BlockPos const &, class Block const &, std::string const &, class Actor &) const; + /*111*/ virtual void __unk_vfn_111(); + /*112*/ virtual class MobSpawnerData const * getMobToSpawn(class SpawnConditions const &, class BlockSource &) const; + /*113*/ virtual void __unk_vfn_113(); + /*114*/ virtual void __unk_vfn_114(); + /*115*/ virtual bool shouldStopFalling(class Actor &) const; + /*116*/ virtual void __unk_vfn_116(); + /*117*/ virtual float calcGroundFriction(class Mob &, class BlockPos const &) const; + /*118*/ virtual void __unk_vfn_118(); + /*119*/ virtual void __unk_vfn_119(); + /*120*/ virtual int getComparatorSignal(class BlockSource &, class BlockPos const &, class Block const &, unsigned char) const; + /*121*/ virtual bool canSlide(class BlockSource &, class BlockPos const &) const; + /*122*/ virtual void __unk_vfn_122(); + /*123*/ virtual void __unk_vfn_123(); + /*124*/ virtual void __unk_vfn_124(); + /*125*/ virtual void __unk_vfn_125(); + /*126*/ virtual void __unk_vfn_126(); + /*127*/ virtual void __unk_vfn_127(); + /*128*/ virtual void __unk_vfn_128(); + /*129*/ virtual void __unk_vfn_129(); + /*130*/ virtual void __unk_vfn_130(); + /*131*/ virtual void __unk_vfn_131(); + /*132*/ virtual int getColorForParticle(class BlockSource &, class BlockPos const &, class Block const &) const; + /*133*/ virtual void __unk_vfn_133(); + /*134*/ virtual void onGraphicsModeChanged(bool, bool, bool); + /*135*/ virtual void __unk_vfn_135(); + /*136*/ virtual float getShadeBrightness() const; + /*137*/ virtual class AABB const & getVisualShapeInWorld(class Block const &, class BlockSource &, class BlockPos const &, class AABB &, bool) const; + /*138*/ virtual class AABB const & getVisualShape(class Block const &, class AABB &, bool) const; + /*139*/ virtual class AABB const & getUIShape(class Block const &, class AABB &) const; + /*140*/ virtual int telemetryVariant(class BlockSource &, class BlockPos const &) const; + /*141*/ virtual int getVariant(class Block const &) const; + /*142*/ virtual void __unk_vfn_142(); + /*143*/ virtual void __unk_vfn_143(); + /*144*/ virtual void __unk_vfn_144(); + /*145*/ virtual void __unk_vfn_145(); + /*146*/ virtual void animateTick(class BlockSource &, class BlockPos const &, class Random &) const; + /*147*/ virtual class BlockLegacy & init(); + /*148*/ virtual class BlockLegacy & setLightBlock(struct Brightness); + /*149*/ virtual class BlockLegacy & setLightEmission(float); + /*150*/ virtual class BlockLegacy & setExplodeable(float); + /*151*/ virtual class BlockLegacy & setDestroyTime(float); + /*152*/ virtual class BlockLegacy & setFriction(float); + /*153*/ virtual class BlockLegacy & addProperty(enum BlockProperty); + /*154*/ virtual class BlockLegacy & addState(class ItemState const &); + /*155*/ virtual class BlockLegacy & addState(class ItemState const &, unsigned __int64); + /*156*/ virtual class BlockLegacy & setAllowsRunes(bool); + /*157*/ virtual class BlockLegacy & setMapColor(class Color const &); + /*158*/ virtual void __unk_vfn_158(); + /*159*/ virtual void __unk_vfn_159(); + /*160*/ virtual void setVisualShape(class AABB const &); + /*161*/ virtual void setVisualShape(class Vec3 const &, class Vec3 const &); + /*162*/ virtual void __unk_vfn_162(); + /*163*/ virtual void __unk_vfn_163(); + /*164*/ virtual class ItemInstance getEntityResourceItem(class Random &, class BlockActor const &, int) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_BEEHIVEBLOCK + MCVAPI bool canBeSilkTouched() const; + MCVAPI bool hasComparatorSignal() const; +#endif + MCAPI void emitHoneyComb(class BlockSource &, class BlockPos const &) const; + MCAPI static bool hasHoneyToHarvest(class Block const &); + MCAPI static void resetHoneyLevel(class BlockSource &, class Block const &, class BlockPos const &); + +//private: + MCAPI void _fillHoneyBottle(class Player &, class ItemStack &, class ItemStack &, class BlockSource &, class BlockPos const &) const; + MCAPI class ItemInstance _getSilkTouchItemInstance(class Block const &, class Player &, class BlockPos const &) const; + MCAPI bool _hasLitCampfireBelow(class BlockSource const &, class BlockPos) const; + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/BeehiveBlockActor.hpp b/LiteLoader/Header/MC/BeehiveBlockActor.hpp new file mode 100644 index 0000000..ceafa27 --- /dev/null +++ b/LiteLoader/Header/MC/BeehiveBlockActor.hpp @@ -0,0 +1,50 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "BlockActor.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class BeehiveBlockActor : public BlockActor { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_BEEHIVEBLOCKACTOR +public: + class BeehiveBlockActor& operator=(class BeehiveBlockActor const &) = delete; + BeehiveBlockActor(class BeehiveBlockActor const &) = delete; + BeehiveBlockActor() = delete; +#endif + +public: + /*0*/ virtual ~BeehiveBlockActor(); + /*1*/ virtual void load(class Level &, class CompoundTag const &, class DataLoadHelper &); + /*2*/ virtual bool save(class CompoundTag &) const; + /*7*/ virtual void tick(class BlockSource &); + /*13*/ virtual void __unk_vfn_13(); + /*17*/ virtual void __unk_vfn_17(); + /*29*/ virtual void __unk_vfn_29(); + /*30*/ virtual void __unk_vfn_30(); + /*32*/ virtual void __unk_vfn_32(); + /*33*/ virtual void __unk_vfn_33(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_BEEHIVEBLOCKACTOR +#endif + MCAPI void evictAll(class BlockSource &, bool); + MCAPI void saveUserData(class CompoundTag &) const; + MCAPI bool tryAdmit(class Actor &); + MCAPI static enum BlockActorType const TypeId; + MCAPI static std::string const TypeString; + +//private: + MCAPI std::vector _findFreeDirections(class BlockSource &, unsigned char, unsigned __int64); + MCAPI bool _isUsableAsSpawnBlock(class BlockSource &, unsigned char); + MCAPI class Actor * _revive(class BlockSource &, struct BeehiveBlockActor::Occupant const &, unsigned char); + MCAPI void _trySpawnBees(class BlockSource &); + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/BeetrootBlock.hpp b/LiteLoader/Header/MC/BeetrootBlock.hpp new file mode 100644 index 0000000..120b469 --- /dev/null +++ b/LiteLoader/Header/MC/BeetrootBlock.hpp @@ -0,0 +1,63 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "CropBlock.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class BeetrootBlock : public CropBlock { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_BEETROOTBLOCK +public: + class BeetrootBlock& operator=(class BeetrootBlock const &) = delete; + BeetrootBlock(class BeetrootBlock const &) = delete; + BeetrootBlock() = delete; +#endif + +public: + /*0*/ virtual ~BeetrootBlock(); + /*10*/ virtual class AABB const & getAABB(class BlockSource &, class BlockPos const &, class Block const &, class AABB &, bool) const; + /*18*/ virtual void __unk_vfn_18(); + /*24*/ virtual void __unk_vfn_24(); + /*25*/ virtual void __unk_vfn_25(); + /*26*/ virtual void __unk_vfn_26(); + /*27*/ virtual void __unk_vfn_27(); + /*28*/ virtual void __unk_vfn_28(); + /*30*/ virtual void __unk_vfn_30(); + /*31*/ virtual void __unk_vfn_31(); + /*32*/ virtual void __unk_vfn_32(); + /*33*/ virtual void __unk_vfn_33(); + /*34*/ virtual void __unk_vfn_34(); + /*35*/ virtual void __unk_vfn_35(); + /*36*/ virtual void __unk_vfn_36(); + /*38*/ virtual void __unk_vfn_38(); + /*39*/ virtual void __unk_vfn_39(); + /*40*/ virtual void __unk_vfn_40(); + /*42*/ virtual void __unk_vfn_42(); + /*43*/ virtual void __unk_vfn_43(); + /*49*/ virtual void __unk_vfn_49(); + /*52*/ virtual void __unk_vfn_52(); + /*67*/ virtual void __unk_vfn_67(); + /*73*/ virtual void __unk_vfn_73(); + /*87*/ virtual void __unk_vfn_87(); + /*95*/ virtual void __unk_vfn_95(); + /*109*/ virtual void __unk_vfn_109(); + /*116*/ virtual void __unk_vfn_116(); + /*118*/ virtual void __unk_vfn_118(); + /*119*/ virtual void __unk_vfn_119(); + /*141*/ virtual int getVariant(class Block const &) const; + /*142*/ virtual void __unk_vfn_142(); + /*158*/ virtual void __unk_vfn_158(); + /*165*/ virtual class Item const & getBaseSeed() const; + /*166*/ virtual class Item const & getBaseCrop() const; + /*168*/ virtual int getCropNum(class Random &, int, int, bool) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_BEETROOTBLOCK +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/BegGoal.hpp b/LiteLoader/Header/MC/BegGoal.hpp new file mode 100644 index 0000000..bc3bfbc --- /dev/null +++ b/LiteLoader/Header/MC/BegGoal.hpp @@ -0,0 +1,39 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class BegGoal { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_BEGGOAL +public: + class BegGoal& operator=(class BegGoal const &) = delete; + BegGoal(class BegGoal const &) = delete; + BegGoal() = delete; +#endif + +public: + /*0*/ virtual ~BegGoal(); + /*1*/ virtual bool canUse(); + /*2*/ virtual bool canContinueToUse(); + /*3*/ virtual void __unk_vfn_3(); + /*4*/ virtual void start(); + /*5*/ virtual void stop(); + /*6*/ virtual void tick(); + /*7*/ virtual void appendDebugInfo(std::string &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_BEGGOAL +#endif + +//private: + MCAPI bool _playerHoldingInteresting(class Player *); + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/BehaviorComponent.hpp b/LiteLoader/Header/MC/BehaviorComponent.hpp new file mode 100644 index 0000000..4489d05 --- /dev/null +++ b/LiteLoader/Header/MC/BehaviorComponent.hpp @@ -0,0 +1,27 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class BehaviorComponent { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_BEHAVIORCOMPONENT +public: + class BehaviorComponent& operator=(class BehaviorComponent const &) = delete; + BehaviorComponent(class BehaviorComponent const &) = delete; + BehaviorComponent() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_BEHAVIORCOMPONENT +#endif + MCAPI ~BehaviorComponent(); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/BehaviorData.hpp b/LiteLoader/Header/MC/BehaviorData.hpp new file mode 100644 index 0000000..65b88d1 --- /dev/null +++ b/LiteLoader/Header/MC/BehaviorData.hpp @@ -0,0 +1,28 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class BehaviorData { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_BEHAVIORDATA +public: + class BehaviorData& operator=(class BehaviorData const &) = delete; + BehaviorData(class BehaviorData const &) = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_BEHAVIORDATA +#endif + MCAPI BehaviorData(); + MCAPI bool hasData(std::string const &) const; + MCAPI bool hasDataOfType(std::string const &, enum BehaviorData::DataType) const; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/BehaviorDefinition.hpp b/LiteLoader/Header/MC/BehaviorDefinition.hpp new file mode 100644 index 0000000..dc8ab7f --- /dev/null +++ b/LiteLoader/Header/MC/BehaviorDefinition.hpp @@ -0,0 +1,30 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Json.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class BehaviorDefinition { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_BEHAVIORDEFINITION +public: + class BehaviorDefinition& operator=(class BehaviorDefinition const &) = delete; + BehaviorDefinition(class BehaviorDefinition const &) = delete; + BehaviorDefinition() = delete; +#endif + +public: + /*0*/ virtual ~BehaviorDefinition(); + /*1*/ virtual void load(class Json::Value, class BehaviorFactory const &); + /*2*/ virtual std::unique_ptr createNode(class Actor &, class BehaviorFactory const &, class BehaviorNode *, class BehaviorData *) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_BEHAVIORDEFINITION +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/BehaviorFactory.hpp b/LiteLoader/Header/MC/BehaviorFactory.hpp new file mode 100644 index 0000000..4bc2acc --- /dev/null +++ b/LiteLoader/Header/MC/BehaviorFactory.hpp @@ -0,0 +1,36 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Json.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class BehaviorFactory { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_BEHAVIORFACTORY +public: + class BehaviorFactory& operator=(class BehaviorFactory const &) = delete; + BehaviorFactory(class BehaviorFactory const &) = delete; + BehaviorFactory() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_BEHAVIORFACTORY +#endif + MCAPI std::unique_ptr loadNodeDefinition(std::string const &, class Json::Value, class BehaviorTreeDefinitionPtr &) const; + MCAPI void registerNodePair(std::string const &, class std::function (void)>, class std::function (void)>); + MCAPI std::unique_ptr tryGetDefinition(std::string const &) const; + MCAPI std::unique_ptr tryGetNode(std::string const &) const; + +//private: + MCAPI void _initNodes(); + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/BehaviorNode.hpp b/LiteLoader/Header/MC/BehaviorNode.hpp new file mode 100644 index 0000000..64b4f3c --- /dev/null +++ b/LiteLoader/Header/MC/BehaviorNode.hpp @@ -0,0 +1,29 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class BehaviorNode { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_BEHAVIORNODE +public: + class BehaviorNode& operator=(class BehaviorNode const &) = delete; + BehaviorNode(class BehaviorNode const &) = delete; + BehaviorNode() = delete; +#endif + +public: + /*0*/ virtual ~BehaviorNode(); + /*1*/ virtual void __unk_vfn_1() = 0; + /*2*/ virtual void initializeFromDefinition(class Actor &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_BEHAVIORNODE +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/BehaviorNodeUtils.hpp b/LiteLoader/Header/MC/BehaviorNodeUtils.hpp new file mode 100644 index 0000000..fbf8a93 --- /dev/null +++ b/LiteLoader/Header/MC/BehaviorNodeUtils.hpp @@ -0,0 +1,17 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +namespace BehaviorNodeUtils { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA + MCAPI void lookAt(class Actor &, class Vec3 const &, float, float); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/BehaviorSystem.hpp b/LiteLoader/Header/MC/BehaviorSystem.hpp new file mode 100644 index 0000000..ecdbe48 --- /dev/null +++ b/LiteLoader/Header/MC/BehaviorSystem.hpp @@ -0,0 +1,28 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class BehaviorSystem { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_BEHAVIORSYSTEM +public: + class BehaviorSystem& operator=(class BehaviorSystem const &) = delete; + BehaviorSystem(class BehaviorSystem const &) = delete; + BehaviorSystem() = delete; +#endif + +public: + /*0*/ virtual ~BehaviorSystem(); + /*1*/ virtual void tick(class EntityRegistry &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_BEHAVIORSYSTEM +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/BehaviorTreeDefinitionPtr.hpp b/LiteLoader/Header/MC/BehaviorTreeDefinitionPtr.hpp new file mode 100644 index 0000000..bf95302 --- /dev/null +++ b/LiteLoader/Header/MC/BehaviorTreeDefinitionPtr.hpp @@ -0,0 +1,33 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class BehaviorTreeDefinitionPtr { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_BEHAVIORTREEDEFINITIONPTR +public: + BehaviorTreeDefinitionPtr(class BehaviorTreeDefinitionPtr const &) = delete; + BehaviorTreeDefinitionPtr() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_BEHAVIORTREEDEFINITIONPTR +#endif + MCAPI class BehaviorTreeDefinitionPtr & operator=(class BehaviorTreeDefinitionPtr const &); + MCAPI ~BehaviorTreeDefinitionPtr(); + MCAPI static class BehaviorTreeDefinitionPtr const NONE; + +//protected: + MCAPI class BehaviorTreeDefinitionPtr & _move(class BehaviorTreeDefinitionPtr &&); + +protected: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/BehaviorTreeDescription.hpp b/LiteLoader/Header/MC/BehaviorTreeDescription.hpp new file mode 100644 index 0000000..b35ce53 --- /dev/null +++ b/LiteLoader/Header/MC/BehaviorTreeDescription.hpp @@ -0,0 +1,28 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +struct BehaviorTreeDescription { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_BEHAVIORTREEDESCRIPTION +public: + struct BehaviorTreeDescription& operator=(struct BehaviorTreeDescription const &) = delete; + BehaviorTreeDescription(struct BehaviorTreeDescription const &) = delete; + BehaviorTreeDescription() = delete; +#endif +public: + /*0*/ virtual char const * getJsonName() const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_BEHAVIORTREEDESCRIPTION + MCVAPI void deserializeData(class Json::Value &); + MCVAPI void serializeData(class Json::Value &) const; +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/BehaviorTreeGroup.hpp b/LiteLoader/Header/MC/BehaviorTreeGroup.hpp new file mode 100644 index 0000000..9b1d453 --- /dev/null +++ b/LiteLoader/Header/MC/BehaviorTreeGroup.hpp @@ -0,0 +1,32 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class BehaviorTreeGroup { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_BEHAVIORTREEGROUP +public: + class BehaviorTreeGroup& operator=(class BehaviorTreeGroup const &) = delete; + BehaviorTreeGroup(class BehaviorTreeGroup const &) = delete; + BehaviorTreeGroup() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_BEHAVIORTREEGROUP +#endif + MCAPI class BehaviorTreeDefinitionPtr tryGetDefinition(std::string const &); + +//private: + MCAPI void _removeRef(class BehaviorTreeDefinitionPtr &); + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/BellBlock.hpp b/LiteLoader/Header/MC/BellBlock.hpp new file mode 100644 index 0000000..c2a8b78 --- /dev/null +++ b/LiteLoader/Header/MC/BellBlock.hpp @@ -0,0 +1,204 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "ActorBlock.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class BellBlock : public ActorBlock { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_BELLBLOCK +public: + class BellBlock& operator=(class BellBlock const &) = delete; + BellBlock(class BellBlock const &) = delete; + BellBlock() = delete; +#endif + +public: + /*0*/ virtual ~BellBlock(); + /*1*/ virtual void tick(class BlockSource &, class BlockPos const &, class Random &) const; + /*2*/ virtual class Block const & getStateFromLegacyData(unsigned short) const; + /*3*/ virtual class std::shared_ptr newBlockEntity(class BlockPos const &, class Block const &) const; + /*4*/ virtual class Block const * getNextBlockPermutation(class Block const &) const; + /*5*/ virtual bool getCollisionShape(class AABB &, class Block const &, class BlockSource &, class BlockPos const &, class Actor *) const; + /*6*/ virtual bool isObstructingChests(class BlockSource &, class BlockPos const &) const; + /*7*/ virtual void __unk_vfn_7(); + /*8*/ virtual class Vec3 randomlyModifyPosition(class BlockPos const &, int &) const; + /*9*/ virtual void addAABBs(class Block const &, class BlockSource &, class BlockPos const &, class AABB const *, std::vector &) const; + /*10*/ virtual class AABB const & getAABB(class BlockSource &, class BlockPos const &, class Block const &, class AABB &, bool) const; + /*11*/ virtual bool addCollisionShapes(class Block const &, class BlockSource &, class BlockPos const &, class AABB const *, std::vector &, class Actor *) const; + /*12*/ virtual class AABB const & getOutline(class BlockSource &, class BlockPos const &, class AABB &) const; + /*13*/ virtual bool getLiquidClipVolume(class BlockSource &, class BlockPos const &, class AABB &) const; + /*14*/ virtual void onProjectileHit(class BlockSource &, class BlockPos const &, class Actor const &) const; + /*15*/ virtual void __unk_vfn_15(); + /*16*/ virtual struct Brightness getLightEmission(class Block const &) const; + /*17*/ virtual bool shouldRandomTick() const; + /*18*/ virtual void __unk_vfn_18(); + /*19*/ virtual void __unk_vfn_19(); + /*20*/ virtual void __unk_vfn_20(); + /*21*/ virtual bool canProvideSupport(class Block const &, unsigned char, enum BlockSupportType) const; + /*22*/ virtual bool canConnect(class Block const &, unsigned char, class Block const &) const; + /*23*/ virtual void getConnectedDirections(class Block const &, class BlockPos const &, class BlockSource &, bool &, bool &, bool &, bool &) const; + /*24*/ virtual void __unk_vfn_24(); + /*25*/ virtual void __unk_vfn_25(); + /*26*/ virtual void __unk_vfn_26(); + /*27*/ virtual void __unk_vfn_27(); + /*28*/ virtual void __unk_vfn_28(); + /*29*/ virtual bool isWaterBlocking() const; + /*30*/ virtual void __unk_vfn_30(); + /*31*/ virtual void __unk_vfn_31(); + /*32*/ virtual void __unk_vfn_32(); + /*33*/ virtual void __unk_vfn_33(); + /*34*/ virtual void __unk_vfn_34(); + /*35*/ virtual void __unk_vfn_35(); + /*36*/ virtual void __unk_vfn_36(); + /*37*/ virtual void __unk_vfn_37(); + /*38*/ virtual void __unk_vfn_38(); + /*39*/ virtual void __unk_vfn_39(); + /*40*/ virtual void __unk_vfn_40(); + /*41*/ virtual bool canHurtAndBreakItem() const; + /*42*/ virtual void __unk_vfn_42(); + /*43*/ virtual void __unk_vfn_43(); + /*44*/ virtual void __unk_vfn_44(); + /*45*/ virtual void __unk_vfn_45(); + /*46*/ virtual class Block const & sanitizeFillBlock(class BlockSource &, class BlockPos const &, class Block const &) const; + /*47*/ virtual void onRedstoneUpdate(class BlockSource &, class BlockPos const &, int, bool) const; + /*48*/ virtual void __unk_vfn_48(); + /*49*/ virtual void __unk_vfn_49(); + /*50*/ virtual void __unk_vfn_50(); + /*51*/ virtual void __unk_vfn_51(); + /*52*/ virtual void __unk_vfn_52(); + /*53*/ virtual bool canBeUsedInCommands(bool, class BaseGameVersion const &) const; + /*54*/ virtual float getThickness() const; + /*55*/ virtual void __unk_vfn_55(); + /*56*/ virtual bool checkIsPathable(class Actor &, class BlockPos const &, class BlockPos const &) const; + /*57*/ virtual void __unk_vfn_57(); + /*58*/ virtual void __unk_vfn_58(); + /*59*/ virtual void onPlace(class BlockSource &, class BlockPos const &) const; + /*60*/ virtual void __unk_vfn_60(); + /*61*/ virtual void __unk_vfn_61(); + /*62*/ virtual void __unk_vfn_62(); + /*63*/ virtual void onFallOn(class BlockSource &, class BlockPos const &, class Actor &, float) const; + /*64*/ virtual void __unk_vfn_64(); + /*65*/ virtual void __unk_vfn_65(); + /*66*/ virtual void __unk_vfn_66(); + /*67*/ virtual void __unk_vfn_67(); + /*68*/ virtual void movedByPiston(class BlockSource &, class BlockPos const &) const; + /*69*/ virtual void __unk_vfn_69(); + /*70*/ virtual void setupRedstoneComponent(class BlockSource &, class BlockPos const &) const; + /*71*/ virtual enum BlockProperty getRedstoneProperty(class BlockSource &, class BlockPos const &) const; + /*72*/ virtual void updateEntityAfterFallOn(class BlockSource &, class BlockPos const &, class Actor &) const; + /*73*/ virtual void __unk_vfn_73(); + /*74*/ virtual void __unk_vfn_74(); + /*75*/ virtual void __unk_vfn_75(); + /*76*/ virtual void __unk_vfn_76(); + /*77*/ virtual void __unk_vfn_77(); + /*78*/ virtual bool mayPick(class BlockSource &, class Block const &, bool) const; + /*79*/ virtual void __unk_vfn_79(); + /*80*/ virtual bool mayPlace(class BlockSource &, class BlockPos const &) const; + /*81*/ virtual void __unk_vfn_81(); + /*82*/ virtual void __unk_vfn_82(); + /*83*/ virtual bool tryToPlace(class BlockSource &, class BlockPos const &, class Block const &, struct ActorBlockSyncMessage const *) const; + /*84*/ virtual bool breaksFallingBlocks(class Block const &) const; + /*85*/ virtual void __unk_vfn_85(); + /*86*/ virtual bool playerWillDestroy(class Player &, class BlockPos const &, class Block const &) const; + /*87*/ virtual void __unk_vfn_87(); + /*88*/ virtual void neighborChanged(class BlockSource &, class BlockPos const &, class BlockPos const &) const; + /*89*/ virtual void __unk_vfn_89(); + /*90*/ virtual void __unk_vfn_90(); + /*91*/ virtual void __unk_vfn_91(); + /*92*/ virtual void __unk_vfn_92(); + /*93*/ virtual void spawnResources(class BlockSource &, class BlockPos const &, class Block const &, std::vector *, float, int, bool) const; + /*94*/ virtual void trySpawnResourcesOnExplosion(class BlockSource &, class BlockPos const &, class Block const &, std::vector *, float, int, bool) const; + /*95*/ virtual void __unk_vfn_95(); + /*96*/ virtual void __unk_vfn_96(); + /*97*/ virtual class HitResult clip(class BlockSource &, class BlockPos const &, class Vec3 const &, class Vec3 const &, bool) const; + /*98*/ virtual bool use(class Player &, class BlockPos const &) const; + /*99*/ virtual class Block const & getPlacementBlock(class Actor &, class BlockPos const &, unsigned char, class Vec3 const &, int) const; + /*100*/ virtual int calcVariant(class BlockSource &, class BlockPos const &) const; + /*101*/ virtual void __unk_vfn_101(); + /*102*/ virtual void __unk_vfn_102(); + /*103*/ virtual void __unk_vfn_103(); + /*104*/ virtual void entityInside(class BlockSource &, class BlockPos const &, class Actor &) const; + /*105*/ virtual void playerDestroy(class Player &, class BlockPos const &, class Block const &) const; + /*106*/ virtual bool canSurvive(class BlockSource &, class BlockPos const &) const; + /*107*/ virtual void __unk_vfn_107(); + /*108*/ virtual bool canBeBuiltOver(class BlockSource &, class BlockPos const &) const; + /*109*/ virtual void triggerEvent(class BlockSource &, class BlockPos const &, int, int) const; + /*110*/ virtual void __unk_vfn_110(); + /*111*/ virtual void __unk_vfn_111(); + /*112*/ virtual class MobSpawnerData const * getMobToSpawn(class SpawnConditions const &, class BlockSource &) const; + /*113*/ virtual void __unk_vfn_113(); + /*114*/ virtual void __unk_vfn_114(); + /*115*/ virtual bool shouldStopFalling(class Actor &) const; + /*116*/ virtual void __unk_vfn_116(); + /*117*/ virtual float calcGroundFriction(class Mob &, class BlockPos const &) const; + /*118*/ virtual void __unk_vfn_118(); + /*119*/ virtual void __unk_vfn_119(); + /*120*/ virtual void __unk_vfn_120(); + /*121*/ virtual bool canSlide(class BlockSource &, class BlockPos const &) const; + /*122*/ virtual void __unk_vfn_122(); + /*123*/ virtual void __unk_vfn_123(); + /*124*/ virtual void __unk_vfn_124(); + /*125*/ virtual void __unk_vfn_125(); + /*126*/ virtual void __unk_vfn_126(); + /*127*/ virtual void __unk_vfn_127(); + /*128*/ virtual void __unk_vfn_128(); + /*129*/ virtual void __unk_vfn_129(); + /*130*/ virtual void __unk_vfn_130(); + /*131*/ virtual void __unk_vfn_131(); + /*132*/ virtual int getColorForParticle(class BlockSource &, class BlockPos const &, class Block const &) const; + /*133*/ virtual void __unk_vfn_133(); + /*134*/ virtual void onGraphicsModeChanged(bool, bool, bool); + /*135*/ virtual void __unk_vfn_135(); + /*136*/ virtual float getShadeBrightness() const; + /*137*/ virtual class AABB const & getVisualShapeInWorld(class Block const &, class BlockSource &, class BlockPos const &, class AABB &, bool) const; + /*138*/ virtual class AABB const & getVisualShape(class Block const &, class AABB &, bool) const; + /*139*/ virtual class AABB const & getUIShape(class Block const &, class AABB &) const; + /*140*/ virtual int telemetryVariant(class BlockSource &, class BlockPos const &) const; + /*141*/ virtual int getVariant(class Block const &) const; + /*142*/ virtual void __unk_vfn_142(); + /*143*/ virtual class Block const & getRenderBlock() const; + /*144*/ virtual void __unk_vfn_144(); + /*145*/ virtual void __unk_vfn_145(); + /*146*/ virtual void __unk_vfn_146(); + /*147*/ virtual class BlockLegacy & init(); + /*148*/ virtual class BlockLegacy & setLightBlock(struct Brightness); + /*149*/ virtual class BlockLegacy & setLightEmission(float); + /*150*/ virtual class BlockLegacy & setExplodeable(float); + /*151*/ virtual class BlockLegacy & setDestroyTime(float); + /*152*/ virtual class BlockLegacy & setFriction(float); + /*153*/ virtual class BlockLegacy & addProperty(enum BlockProperty); + /*154*/ virtual class BlockLegacy & addState(class ItemState const &); + /*155*/ virtual class BlockLegacy & addState(class ItemState const &, unsigned __int64); + /*156*/ virtual class BlockLegacy & setAllowsRunes(bool); + /*157*/ virtual class BlockLegacy & setMapColor(class Color const &); + /*158*/ virtual void __unk_vfn_158(); + /*159*/ virtual void __unk_vfn_159(); + /*160*/ virtual void setVisualShape(class AABB const &); + /*161*/ virtual void setVisualShape(class Vec3 const &, class Vec3 const &); + /*162*/ virtual void __unk_vfn_162(); + /*163*/ virtual void __unk_vfn_163(); + /*164*/ virtual class ItemInstance getEntityResourceItem(class Random &, class BlockActor const &, int) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_BELLBLOCK + MCVAPI class ItemInstance asItemInstance(class BlockSource &, class BlockPos const &, class Block const &) const; + MCVAPI bool canContainLiquid() const; + MCVAPI class ItemInstance getSilkTouchItemInstance(class Block const &) const; + MCVAPI bool shouldConnectToRedstone(class BlockSource &, class BlockPos const &, int) const; +#endif + MCAPI bool hasValidAttachment(class Block const &, class BlockSource &, class BlockPos const &) const; + +//private: + MCAPI class Block const & _determineAttachment(class Actor &, class BlockSource &, class BlockPos const &, unsigned char) const; + MCAPI class AABB const & _getShape(class Block const &, class AABB &) const; + MCAPI void _sendBellUsedEventToClient(class BlockSource const &, class Actor const &) const; + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/BellBlockActor.hpp b/LiteLoader/Header/MC/BellBlockActor.hpp new file mode 100644 index 0000000..4525547 --- /dev/null +++ b/LiteLoader/Header/MC/BellBlockActor.hpp @@ -0,0 +1,41 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Direction.hpp" +#include "BlockActor.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class BellBlockActor : public BlockActor { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_BELLBLOCKACTOR +public: + class BellBlockActor& operator=(class BellBlockActor const &) = delete; + BellBlockActor(class BellBlockActor const &) = delete; + BellBlockActor() = delete; +#endif + +public: + /*0*/ virtual ~BellBlockActor(); + /*1*/ virtual void load(class Level &, class CompoundTag const &, class DataLoadHelper &); + /*2*/ virtual bool save(class CompoundTag &) const; + /*7*/ virtual void tick(class BlockSource &); + /*13*/ virtual void __unk_vfn_13(); + /*17*/ virtual void __unk_vfn_17(); + /*29*/ virtual void __unk_vfn_29(); + /*30*/ virtual void __unk_vfn_30(); + /*32*/ virtual void __unk_vfn_32(); + /*33*/ virtual void __unk_vfn_33(); + /*34*/ virtual std::unique_ptr _getUpdatePacket(class BlockSource &); + /*35*/ virtual void _onUpdatePacket(class CompoundTag const &, class BlockSource &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_BELLBLOCKACTOR +#endif + MCAPI bool ring(enum Direction::Type, class BlockSource &, bool); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/BellBlockItem.hpp b/LiteLoader/Header/MC/BellBlockItem.hpp new file mode 100644 index 0000000..29ba74b --- /dev/null +++ b/LiteLoader/Header/MC/BellBlockItem.hpp @@ -0,0 +1,45 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "BlockItem.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class BellBlockItem : public BlockItem { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_BELLBLOCKITEM +public: + class BellBlockItem& operator=(class BellBlockItem const &) = delete; + BellBlockItem(class BellBlockItem const &) = delete; + BellBlockItem() = delete; +#endif + +public: + /*0*/ virtual ~BellBlockItem(); + /*5*/ virtual void __unk_vfn_5(); + /*26*/ virtual void __unk_vfn_26(); + /*27*/ virtual void __unk_vfn_27(); + /*31*/ virtual void __unk_vfn_31(); + /*32*/ virtual void __unk_vfn_32(); + /*34*/ virtual void __unk_vfn_34(); + /*37*/ virtual void __unk_vfn_37(); + /*43*/ virtual void __unk_vfn_43(); + /*46*/ virtual void __unk_vfn_46(); + /*47*/ virtual void __unk_vfn_47(); + /*49*/ virtual void __unk_vfn_49(); + /*50*/ virtual void __unk_vfn_50(); + /*79*/ virtual void __unk_vfn_79(); + /*80*/ virtual void __unk_vfn_80(); + /*90*/ virtual void __unk_vfn_90(); + /*97*/ virtual void __unk_vfn_97(); + /*99*/ virtual bool _useOn(class ItemStack &, class Actor &, class BlockPos, unsigned char, float, float, float) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_BELLBLOCKITEM +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/BigEndianStringByteInput.hpp b/LiteLoader/Header/MC/BigEndianStringByteInput.hpp new file mode 100644 index 0000000..c88378a --- /dev/null +++ b/LiteLoader/Header/MC/BigEndianStringByteInput.hpp @@ -0,0 +1,35 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "StringByteInput.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class BigEndianStringByteInput : public StringByteInput { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_BIGENDIANSTRINGBYTEINPUT +public: + class BigEndianStringByteInput& operator=(class BigEndianStringByteInput const &) = delete; + BigEndianStringByteInput(class BigEndianStringByteInput const &) = delete; + BigEndianStringByteInput() = delete; +#endif + +public: + /*0*/ virtual ~BigEndianStringByteInput(); + /*3*/ virtual float readFloat(); + /*4*/ virtual double readDouble(); + /*6*/ virtual short readShort(); + /*7*/ virtual int readInt(); + /*8*/ virtual __int64 readLongLong(); + /*9*/ virtual bool readBytes(void *, unsigned __int64); + /*11*/ virtual bool readBigEndianBytes(void *, unsigned __int64); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_BIGENDIANSTRINGBYTEINPUT +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/BinaryHeap.hpp b/LiteLoader/Header/MC/BinaryHeap.hpp new file mode 100644 index 0000000..a42db59 --- /dev/null +++ b/LiteLoader/Header/MC/BinaryHeap.hpp @@ -0,0 +1,34 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class BinaryHeap { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_BINARYHEAP +public: + class BinaryHeap& operator=(class BinaryHeap const &) = delete; + BinaryHeap(class BinaryHeap const &) = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_BINARYHEAP +#endif + MCAPI BinaryHeap(); + MCAPI class PathfinderNode * insert(class PathfinderNode *); + MCAPI ~BinaryHeap(); + +//private: + MCAPI void downHeap(int); + MCAPI void upHeap(int); + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/BinaryStream.hpp b/LiteLoader/Header/MC/BinaryStream.hpp new file mode 100644 index 0000000..af0818f --- /dev/null +++ b/LiteLoader/Header/MC/BinaryStream.hpp @@ -0,0 +1,53 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "ReadOnlyBinaryStream.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class BinaryStream : public ReadOnlyBinaryStream { + +#define AFTER_EXTRA +public: + LIAPI void write(const void* origin, size_t num); + LIAPI void writeByte(uint8_t origin); + LIAPI void writeBool(bool origin); + LIAPI void writeDouble(double value); + LIAPI void writeFloat(float value); + LIAPI void writeString(std::string value); + LIAPI void writeSignedInt(int value); + LIAPI void writeSignedInt64(__int64 value); + LIAPI void writeSignedShort(short value); + LIAPI void writeUnsignedChar(unsigned char value); + LIAPI void writeUnsignedShort(unsigned short value); + LIAPI void writeUnsignedInt(unsigned int value); + LIAPI void writeUnsignedInt64(unsigned __int64 value); + LIAPI void writeVarInt(int value); + LIAPI void writeVarInt64(__int64 value); + + LIAPI void reserve(size_t size); + LIAPI std::string& getRaw(); + LIAPI void writeCompoundTag(class CompoundTag const& tag); + + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_BINARYSTREAM +public: + class BinaryStream& operator=(class BinaryStream const &) = delete; + BinaryStream(class BinaryStream const &) = delete; +#endif + +public: + /*0*/ virtual ~BinaryStream(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_BINARYSTREAM +#endif + MCAPI BinaryStream(); + MCAPI BinaryStream(std::string &, bool); + MCAPI void writeSignedBigEndianInt(int); + MCAPI void writeUnsignedVarInt(unsigned int); + MCAPI void writeUnsignedVarInt64(unsigned __int64); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/Biome.hpp b/LiteLoader/Header/MC/Biome.hpp new file mode 100644 index 0000000..52d628e --- /dev/null +++ b/LiteLoader/Header/MC/Biome.hpp @@ -0,0 +1,57 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA +// Include Headers or Declare Types Here +enum VanillaBiomeTypes; + +#undef BEFORE_EXTRA + +class Biome { + +#define AFTER_EXTRA + // Add Member There +public: + enum BiomeTempCategory; + LIAPI int getId() const; + LIAPI std::string const& getName() const; + LIAPI static Biome* fromId(int id); + LIAPI static Biome* fromName(std::string const& name); + LIAPI static std::vector getBiomesByType(VanillaBiomeTypes type); + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_BIOME +public: + class Biome& operator=(class Biome const &) = delete; + Biome(class Biome const &) = delete; + Biome() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_BIOME +#endif + MCAPI Biome(int); + MCAPI class Biome & addTag(class HashedString, class TagRegistry, struct IDType> &); + MCAPI enum VanillaBiomeTypes getBiomeType() const; + MCAPI int getFoliageColor(class BlockPos const &) const; + MCAPI int getMapFoliageColor(class BlockPos const &) const; + MCAPI int getMapGrassColor(class BlockPos const &) const; + MCAPI float getTemperature(class BlockSource const &, class BlockPos const &) const; + MCAPI enum Biome::BiomeTempCategory getTemperatureCategory() const; + MCAPI float getTemperatureWorldGen(class BlockPos const &) const; + MCAPI bool hasTag(struct IDType const &, class TagRegistry, struct IDType> const &) const; + MCAPI bool hasTag(class WellKnownTagID const &) const; + MCAPI bool isHumid() const; + MCAPI class Biome & setColor(int); + MCAPI class Biome & setColor(int, bool); + MCAPI class Biome & setMapWaterColor(int); + MCAPI void writePacketData(class CompoundTag &, class TagRegistry, struct IDType> &); + MCAPI static class Color const DEFAULT_FOG_COLOR; + MCAPI static class Color const DEFAULT_UNDERWATER_COLOR; + MCAPI static class Color const DEFAULT_WATER_COLOR; + MCAPI static struct BiomeHeight const HEIGHTS_DEFAULT; + MCAPI static float const RAIN_TEMP_THRESHOLD; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/BiomeArea.hpp b/LiteLoader/Header/MC/BiomeArea.hpp new file mode 100644 index 0000000..2d8c5a6 --- /dev/null +++ b/LiteLoader/Header/MC/BiomeArea.hpp @@ -0,0 +1,28 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class BiomeArea { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_BIOMEAREA +public: + class BiomeArea& operator=(class BiomeArea const &) = delete; + BiomeArea(class BiomeArea const &) = delete; + BiomeArea() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_BIOMEAREA +#endif + MCAPI BiomeArea(class BoundingBox const &, unsigned int); + MCAPI ~BiomeArea(); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/BiomeClimateSelectorLayer.hpp b/LiteLoader/Header/MC/BiomeClimateSelectorLayer.hpp new file mode 100644 index 0000000..cc9d0a0 --- /dev/null +++ b/LiteLoader/Header/MC/BiomeClimateSelectorLayer.hpp @@ -0,0 +1,31 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class BiomeClimateSelectorLayer { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_BIOMECLIMATESELECTORLAYER +public: + class BiomeClimateSelectorLayer& operator=(class BiomeClimateSelectorLayer const &) = delete; + BiomeClimateSelectorLayer(class BiomeClimateSelectorLayer const &) = delete; + BiomeClimateSelectorLayer() = delete; +#endif + +public: + /*0*/ virtual ~BiomeClimateSelectorLayer(); + /*1*/ virtual void init(__int64); + /*2*/ virtual class LayerDetails::TransferData _allocateAndFill(unsigned __int64, int, int, unsigned int, unsigned int) const; + /*3*/ virtual void _fillArea(class LayerDetails::WorkingData &, int, int, int, int, int, class LayerResult, class LayerResult, class LayerResult) const; + /*4*/ virtual class std::tuple _getAreaRead(int, int, unsigned int, unsigned int) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_BIOMECLIMATESELECTORLAYER +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/BiomeComponentLoading.hpp b/LiteLoader/Header/MC/BiomeComponentLoading.hpp new file mode 100644 index 0000000..cacf314 --- /dev/null +++ b/LiteLoader/Header/MC/BiomeComponentLoading.hpp @@ -0,0 +1,18 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +namespace BiomeComponentLoading { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA + MCAPI void _read(std::string const &, class CompoundTag const &, std::vector> &, class IWorldRegistriesProvider &); + MCAPI void _write(std::string const &, class CompoundTag &, std::vector> const &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/BiomeDecorationFeature.hpp b/LiteLoader/Header/MC/BiomeDecorationFeature.hpp new file mode 100644 index 0000000..a769501 --- /dev/null +++ b/LiteLoader/Header/MC/BiomeDecorationFeature.hpp @@ -0,0 +1,27 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +struct BiomeDecorationFeature { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_BIOMEDECORATIONFEATURE +public: + struct BiomeDecorationFeature& operator=(struct BiomeDecorationFeature const &) = delete; +#endif +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_BIOMEDECORATIONFEATURE +#endif + MCAPI BiomeDecorationFeature(); + MCAPI BiomeDecorationFeature(struct BiomeDecorationFeature &&); + MCAPI BiomeDecorationFeature(struct BiomeDecorationFeature const &); + MCAPI ~BiomeDecorationFeature(); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/BiomeDecorationSystem.hpp b/LiteLoader/Header/MC/BiomeDecorationSystem.hpp new file mode 100644 index 0000000..06be007 --- /dev/null +++ b/LiteLoader/Header/MC/BiomeDecorationSystem.hpp @@ -0,0 +1,24 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +namespace BiomeDecorationSystem { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA + MCAPI class std::function const &)> const * blockSourceMolangQueries(std::string const &, bool); + MCAPI bool decorate(class LevelChunk &, class BlockSource &, class Random &, class gsl::span); + MCAPI void decorate(class Biome &, class LevelChunk &, class BlockSource &, class Random &); + MCAPI float getAboveTopSolidMolang(class RenderParams &, std::vector const &); + MCAPI float getHeightmapMolang(class RenderParams &, std::vector const &); + MCAPI float getIsEmptyMolang(class RenderParams &, std::vector const &); + MCAPI float getIsExperimentalMolang(class RenderParams &, std::vector const &); + MCAPI float getNoiseMolang(class RenderParams &, std::vector const &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/BiomeDefinitionListPacket.hpp b/LiteLoader/Header/MC/BiomeDefinitionListPacket.hpp new file mode 100644 index 0000000..b06d7a6 --- /dev/null +++ b/LiteLoader/Header/MC/BiomeDefinitionListPacket.hpp @@ -0,0 +1,33 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Packet.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class BiomeDefinitionListPacket : public Packet { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_BIOMEDEFINITIONLISTPACKET +public: + class BiomeDefinitionListPacket& operator=(class BiomeDefinitionListPacket const &) = delete; + BiomeDefinitionListPacket(class BiomeDefinitionListPacket const &) = delete; +#endif + +public: + /*0*/ virtual ~BiomeDefinitionListPacket(); + /*1*/ virtual enum MinecraftPacketIds getId() const; + /*2*/ virtual std::string getName() const; + /*3*/ virtual void write(class BinaryStream &) const; + /*4*/ virtual enum StreamReadResult read(class ReadOnlyBinaryStream &); + /*5*/ virtual struct ExtendedStreamReadResult readExtended(class ReadOnlyBinaryStream &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_BIOMEDEFINITIONLISTPACKET +#endif + MCAPI BiomeDefinitionListPacket(); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/BiomeFilterGroup.hpp b/LiteLoader/Header/MC/BiomeFilterGroup.hpp new file mode 100644 index 0000000..d8737a1 --- /dev/null +++ b/LiteLoader/Header/MC/BiomeFilterGroup.hpp @@ -0,0 +1,31 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "FilterGroup.hpp" +#include "Json.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class BiomeFilterGroup : public FilterGroup { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_BIOMEFILTERGROUP +public: + class BiomeFilterGroup& operator=(class BiomeFilterGroup const &) = delete; + BiomeFilterGroup() = delete; +#endif + +public: + /*0*/ virtual ~BiomeFilterGroup(); + /*1*/ virtual class std::shared_ptr _createSubgroup(enum FilterGroup::CollectionType) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_BIOMEFILTERGROUP +#endif + MCAPI BiomeFilterGroup(class BiomeFilterGroup const &); + MCAPI void finalizeParsedValue(class IWorldRegistriesProvider &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/BiomeIdCompatibility.hpp b/LiteLoader/Header/MC/BiomeIdCompatibility.hpp new file mode 100644 index 0000000..73d6009 --- /dev/null +++ b/LiteLoader/Header/MC/BiomeIdCompatibility.hpp @@ -0,0 +1,18 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +namespace BiomeIdCompatibility { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA + MCAPI extern unsigned int const MAX_CUSTOM_BIOMES; + MCAPI unsigned int adjustForReservedRanges(unsigned int, std::string const &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/BiomeMetadata.hpp b/LiteLoader/Header/MC/BiomeMetadata.hpp new file mode 100644 index 0000000..e22f936 --- /dev/null +++ b/LiteLoader/Header/MC/BiomeMetadata.hpp @@ -0,0 +1,26 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +struct BiomeMetadata { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_BIOMEMETADATA +public: + struct BiomeMetadata& operator=(struct BiomeMetadata const &) = delete; + BiomeMetadata(struct BiomeMetadata const &) = delete; + BiomeMetadata() = delete; +#endif +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_BIOMEMETADATA +#endif + MCAPI ~BiomeMetadata(); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/BiomeRegistry.hpp b/LiteLoader/Header/MC/BiomeRegistry.hpp new file mode 100644 index 0000000..acee590 --- /dev/null +++ b/LiteLoader/Header/MC/BiomeRegistry.hpp @@ -0,0 +1,47 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Json.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class BiomeRegistry { + +#define AFTER_EXTRA +// Add Member There +public: +struct BiomeParent { + BiomeParent() = delete; + BiomeParent(BiomeParent const&) = delete; + BiomeParent(BiomeParent const&&) = delete; +}; + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_BIOMEREGISTRY +public: + class BiomeRegistry& operator=(class BiomeRegistry const &) = delete; + BiomeRegistry(class BiomeRegistry const &) = delete; + BiomeRegistry() = delete; +#endif + +public: + /*0*/ virtual class OwnerPtrT & getEntityRegistry(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_BIOMEREGISTRY +#endif + MCAPI void forEachBiome(class std::function) const; + MCAPI class Biome * lookupByName(std::string const &) const; + MCAPI class Biome & registerBiome(std::string const &); + +//private: + MCAPI bool _addToInheritanceTree(class InheritanceTree &, std::string const &, class Json::Value &&); + MCAPI class InheritanceTree _buildInheritanceTree(class ResourcePackManager &); + MCAPI void _initTagRegistry(); + MCAPI bool _loadSingleBiome(class ResourcePackManager &, class InheritanceTree &, std::string const &); + MCAPI void _mergeDataInheritance(class Json::Value &, class InheritanceTree &, struct BiomeRegistry::BiomeParent const &); + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/BiomeRegistryMergeStrategy.hpp b/LiteLoader/Header/MC/BiomeRegistryMergeStrategy.hpp new file mode 100644 index 0000000..2922c9a --- /dev/null +++ b/LiteLoader/Header/MC/BiomeRegistryMergeStrategy.hpp @@ -0,0 +1,28 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class BiomeRegistryMergeStrategy { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_BIOMEREGISTRYMERGESTRATEGY +public: + class BiomeRegistryMergeStrategy& operator=(class BiomeRegistryMergeStrategy const &) = delete; + BiomeRegistryMergeStrategy(class BiomeRegistryMergeStrategy const &) = delete; + BiomeRegistryMergeStrategy() = delete; +#endif + +public: + /*0*/ virtual ~BiomeRegistryMergeStrategy(); + /*1*/ virtual void mergeFiles(std::vector const &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_BIOMEREGISTRYMERGESTRATEGY +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/BiomeSurfaceSystem.hpp b/LiteLoader/Header/MC/BiomeSurfaceSystem.hpp new file mode 100644 index 0000000..8cb7c19 --- /dev/null +++ b/LiteLoader/Header/MC/BiomeSurfaceSystem.hpp @@ -0,0 +1,17 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +namespace BiomeSurfaceSystem { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA + MCAPI void buildSurfaceAt(class Biome &, class Random &, class BlockVolume &, class BlockPos const &, float, short, std::unique_ptr &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/Blacklist.hpp b/LiteLoader/Header/MC/Blacklist.hpp new file mode 100644 index 0000000..e54b138 --- /dev/null +++ b/LiteLoader/Header/MC/Blacklist.hpp @@ -0,0 +1,37 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class Blacklist { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_BLACKLIST +public: + class Blacklist& operator=(class Blacklist const &) = delete; + Blacklist(class Blacklist const &) = delete; + Blacklist() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_BLACKLIST +#endif + MCAPI void addEntry(struct Blacklist::Entry const &); + MCAPI enum Blacklist::Duration getDuration(struct Blacklist::Entry const &) const; + MCAPI std::string const & getMessage(struct Blacklist::Entry const &) const; + MCAPI bool isBlocked(struct Blacklist::Entry const &) const; + MCAPI void removeEntry(struct Blacklist::Entry const &); + MCAPI ~Blacklist(); + +//private: + MCAPI bool isBlocked(struct Blacklist::Entry const &, class std::_Vector_const_iterator>> &) const; + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/BlastFurnaceBlock.hpp b/LiteLoader/Header/MC/BlastFurnaceBlock.hpp new file mode 100644 index 0000000..f9788b3 --- /dev/null +++ b/LiteLoader/Header/MC/BlastFurnaceBlock.hpp @@ -0,0 +1,123 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "FurnaceBlock.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class BlastFurnaceBlock : public FurnaceBlock { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_BLASTFURNACEBLOCK +public: + class BlastFurnaceBlock& operator=(class BlastFurnaceBlock const &) = delete; + BlastFurnaceBlock(class BlastFurnaceBlock const &) = delete; + BlastFurnaceBlock() = delete; +#endif + +public: + /*0*/ virtual ~BlastFurnaceBlock(); + /*1*/ virtual void __unk_vfn_1(); + /*7*/ virtual void __unk_vfn_7(); + /*14*/ virtual void __unk_vfn_14(); + /*15*/ virtual void __unk_vfn_15(); + /*18*/ virtual void __unk_vfn_18(); + /*19*/ virtual void __unk_vfn_19(); + /*20*/ virtual void __unk_vfn_20(); + /*24*/ virtual void __unk_vfn_24(); + /*25*/ virtual void __unk_vfn_25(); + /*26*/ virtual void __unk_vfn_26(); + /*27*/ virtual void __unk_vfn_27(); + /*28*/ virtual void __unk_vfn_28(); + /*30*/ virtual void __unk_vfn_30(); + /*31*/ virtual void __unk_vfn_31(); + /*32*/ virtual void __unk_vfn_32(); + /*33*/ virtual void __unk_vfn_33(); + /*34*/ virtual void __unk_vfn_34(); + /*35*/ virtual void __unk_vfn_35(); + /*36*/ virtual void __unk_vfn_36(); + /*37*/ virtual void __unk_vfn_37(); + /*38*/ virtual void __unk_vfn_38(); + /*39*/ virtual void __unk_vfn_39(); + /*40*/ virtual void __unk_vfn_40(); + /*42*/ virtual void __unk_vfn_42(); + /*43*/ virtual void __unk_vfn_43(); + /*44*/ virtual void __unk_vfn_44(); + /*45*/ virtual void __unk_vfn_45(); + /*47*/ virtual void __unk_vfn_47(); + /*48*/ virtual void __unk_vfn_48(); + /*49*/ virtual void __unk_vfn_49(); + /*51*/ virtual void __unk_vfn_51(); + /*52*/ virtual void __unk_vfn_52(); + /*55*/ virtual void __unk_vfn_55(); + /*57*/ virtual void __unk_vfn_57(); + /*58*/ virtual void __unk_vfn_58(); + /*61*/ virtual void __unk_vfn_61(); + /*62*/ virtual void __unk_vfn_62(); + /*64*/ virtual void __unk_vfn_64(); + /*65*/ virtual void __unk_vfn_65(); + /*66*/ virtual void __unk_vfn_66(); + /*67*/ virtual void __unk_vfn_67(); + /*68*/ virtual void __unk_vfn_68(); + /*69*/ virtual void __unk_vfn_69(); + /*70*/ virtual void __unk_vfn_70(); + /*73*/ virtual void __unk_vfn_73(); + /*74*/ virtual void __unk_vfn_74(); + /*75*/ virtual void __unk_vfn_75(); + /*76*/ virtual void __unk_vfn_76(); + /*77*/ virtual void __unk_vfn_77(); + /*79*/ virtual void __unk_vfn_79(); + /*81*/ virtual void __unk_vfn_81(); + /*82*/ virtual void __unk_vfn_82(); + /*85*/ virtual void __unk_vfn_85(); + /*87*/ virtual void __unk_vfn_87(); + /*89*/ virtual void __unk_vfn_89(); + /*90*/ virtual void __unk_vfn_90(); + /*91*/ virtual void __unk_vfn_91(); + /*92*/ virtual void __unk_vfn_92(); + /*95*/ virtual void __unk_vfn_95(); + /*96*/ virtual void __unk_vfn_96(); + /*98*/ virtual bool use(class Player &, class BlockPos const &) const; + /*101*/ virtual void __unk_vfn_101(); + /*102*/ virtual void __unk_vfn_102(); + /*103*/ virtual void __unk_vfn_103(); + /*104*/ virtual void __unk_vfn_104(); + /*106*/ virtual void __unk_vfn_106(); + /*107*/ virtual void __unk_vfn_107(); + /*110*/ virtual void __unk_vfn_110(); + /*111*/ virtual void __unk_vfn_111(); + /*113*/ virtual void __unk_vfn_113(); + /*114*/ virtual void __unk_vfn_114(); + /*116*/ virtual void __unk_vfn_116(); + /*118*/ virtual void __unk_vfn_118(); + /*119*/ virtual void __unk_vfn_119(); + /*122*/ virtual void __unk_vfn_122(); + /*123*/ virtual void __unk_vfn_123(); + /*124*/ virtual void __unk_vfn_124(); + /*125*/ virtual void __unk_vfn_125(); + /*126*/ virtual void __unk_vfn_126(); + /*127*/ virtual void __unk_vfn_127(); + /*128*/ virtual void __unk_vfn_128(); + /*129*/ virtual void __unk_vfn_129(); + /*130*/ virtual void __unk_vfn_130(); + /*131*/ virtual void __unk_vfn_131(); + /*133*/ virtual void __unk_vfn_133(); + /*135*/ virtual void __unk_vfn_135(); + /*142*/ virtual void __unk_vfn_142(); + /*145*/ virtual void __unk_vfn_145(); + /*158*/ virtual void __unk_vfn_158(); + /*159*/ virtual void __unk_vfn_159(); + /*162*/ virtual void __unk_vfn_162(); + /*163*/ virtual void __unk_vfn_163(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_BLASTFURNACEBLOCK + MCVAPI class ItemInstance asItemInstance(class BlockSource &, class BlockPos const &, class Block const &) const; + MCVAPI class ItemInstance getResourceItem(class Random &, class Block const &, int) const; + MCVAPI class ItemInstance getSilkTouchItemInstance(class Block const &) const; +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/BlastFurnaceBlockActor.hpp b/LiteLoader/Header/MC/BlastFurnaceBlockActor.hpp new file mode 100644 index 0000000..7dfb53d --- /dev/null +++ b/LiteLoader/Header/MC/BlastFurnaceBlockActor.hpp @@ -0,0 +1,27 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class BlastFurnaceBlockActor { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_BLASTFURNACEBLOCKACTOR +public: + class BlastFurnaceBlockActor& operator=(class BlastFurnaceBlockActor const &) = delete; + BlastFurnaceBlockActor(class BlastFurnaceBlockActor const &) = delete; + BlastFurnaceBlockActor() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_BLASTFURNACEBLOCKACTOR + MCVAPI std::string getName() const; +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/BlastFurnaceContainerManagerModel.hpp b/LiteLoader/Header/MC/BlastFurnaceContainerManagerModel.hpp new file mode 100644 index 0000000..0e14101 --- /dev/null +++ b/LiteLoader/Header/MC/BlastFurnaceContainerManagerModel.hpp @@ -0,0 +1,28 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "FurnaceContainerManagerModel.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class BlastFurnaceContainerManagerModel : public FurnaceContainerManagerModel { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_BLASTFURNACECONTAINERMANAGERMODEL +public: + class BlastFurnaceContainerManagerModel& operator=(class BlastFurnaceContainerManagerModel const &) = delete; + BlastFurnaceContainerManagerModel(class BlastFurnaceContainerManagerModel const &) = delete; + BlastFurnaceContainerManagerModel() = delete; +#endif + +public: + /*0*/ virtual ~BlastFurnaceContainerManagerModel(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_BLASTFURNACECONTAINERMANAGERMODEL +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/Blaze.hpp b/LiteLoader/Header/MC/Blaze.hpp new file mode 100644 index 0000000..f583452 --- /dev/null +++ b/LiteLoader/Header/MC/Blaze.hpp @@ -0,0 +1,59 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Actor.hpp" +#include "Monster.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class Blaze : public Monster { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_BLAZE +public: + class Blaze& operator=(class Blaze const &) = delete; + Blaze(class Blaze const &) = delete; + Blaze() = delete; +#endif + +public: + /*7*/ virtual ~Blaze(); + /*30*/ virtual void __unk_vfn_30(); + /*39*/ virtual void normalTick(); + /*54*/ virtual void __unk_vfn_54(); + /*61*/ virtual void __unk_vfn_61(); + /*76*/ virtual void __unk_vfn_76(); + /*80*/ virtual float getBrightness(float) const; + /*81*/ virtual void __unk_vfn_81(); + /*88*/ virtual void __unk_vfn_88(); + /*90*/ virtual void __unk_vfn_90(); + /*96*/ virtual bool isOnFire() const; + /*98*/ virtual void __unk_vfn_98(); + /*100*/ virtual void __unk_vfn_100(); + /*121*/ virtual void __unk_vfn_121(); + /*169*/ virtual void __unk_vfn_169(); + /*182*/ virtual void __unk_vfn_182(); + /*206*/ virtual void __unk_vfn_206(); + /*207*/ virtual void __unk_vfn_207(); + /*228*/ virtual void __unk_vfn_228(); + /*231*/ virtual void __unk_vfn_231(); + /*238*/ virtual void __unk_vfn_238(); + /*246*/ virtual void __unk_vfn_246(); + /*257*/ virtual void __unk_vfn_257(); + /*275*/ virtual void travel(float, float, float); + /*278*/ virtual void aiStep(); + /*290*/ virtual void __unk_vfn_290(); + /*300*/ virtual void __unk_vfn_300(); + /*332*/ virtual void __unk_vfn_332(); + /*348*/ virtual void __unk_vfn_348(); + /*349*/ virtual bool isDarkEnoughToSpawn() const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_BLAZE + MCVAPI bool useNewAi() const; +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/Block.hpp b/LiteLoader/Header/MC/Block.hpp new file mode 100644 index 0000000..47b1d95 --- /dev/null +++ b/LiteLoader/Header/MC/Block.hpp @@ -0,0 +1,74 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA +// Add include headers & pre-declares +#include "CompoundTag.hpp" + +#undef BEFORE_EXTRA + +class Block { + +#define AFTER_EXTRA + // Add new members to class +public: + LIAPI static Block* create(const string& str, unsigned short tileData); + LIAPI static Block* create(CompoundTag* nbt); + + LIAPI string getTypeName() const; + //LIAPI int getId() const; + LIAPI unsigned short getTileData(); + LIAPI std::unique_ptr getNbt(); + LIAPI bool setNbt(CompoundTag* nbt); + + inline bool operator==(class Block const& a2) const { + __int64 v2; // r8 + __int64 v3; // rax + v2 = *(__int64*)(this + 16); + if (!v2 || (v3 = *(__int64*)(&a2 + 16)) == 0) + return false; + return v2 == v3 && *(unsigned short*)(this + 8) == *(unsigned short*)(&a2 + 8); + } + + inline bool operator!=(class Block const& a2) const { + __int64 v2; // r8 + __int64 v3; // rax + + v2 = *(__int64*)(this + 16); + if (!v2 || (v3 = *(__int64*)(&a2 + 16)) == 0) + return false; + return v2 != v3 || *(unsigned short*)(this + 8) != *(unsigned short*)(&a2 + 8); + } + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_BLOCK +public: + class Block& operator=(class Block const &) = delete; + Block(class Block const &) = delete; + Block() = delete; +#endif + +public: + /*0*/ virtual ~Block(); + /*1*/ virtual enum BlockRenderLayer getRenderLayer() const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_BLOCK +#endif + MCAPI class Block const & copyState(class Block const &, class ItemState const &) const; + MCAPI enum CreativeItemCategory getCreativeCategory() const; + MCAPI class BlockLegacy const & getLegacyBlock() const; + MCAPI bool hasState(class ItemState const &) const; + MCAPI bool isSolidBlockingBlock() const; + MCAPI bool isSolidBlockingBlockAndNotSignalSource() const; + MCAPI class Block const & keepState(class ItemState const &) const; + MCAPI void spawnResources(class BlockSource &, class BlockPos const &, std::vector *, float, int, bool) const; + MCAPI std::string toDebugString() const; + MCAPI static std::string const BLOCK_DESCRIPTION_PREFIX; + +//protected: + MCAPI void buildSerializationId(unsigned int); + +protected: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/BlockActor.hpp b/LiteLoader/Header/MC/BlockActor.hpp new file mode 100644 index 0000000..8b1bf2e --- /dev/null +++ b/LiteLoader/Header/MC/BlockActor.hpp @@ -0,0 +1,97 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA +// Add include headers & pre-declares +class Block; +class Container; +class CompoundTag; +class BlockSource; + +#undef BEFORE_EXTRA + +class BlockActor { + +#define AFTER_EXTRA + // Add new members to class +public: + //LIAPI bool refreshData(); + //LIAPI bool refreshData(BlockSource* bs); + LIAPI std::unique_ptr getNbt(); + LIAPI bool setNbt(CompoundTag* nbt); + LIAPI bool setNbt(CompoundTag* nbt, BlockSource* bs); + //static unsigned int getBlockEntityType(Block* block); + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_BLOCKACTOR +public: + class BlockActor& operator=(class BlockActor const &) = delete; + BlockActor(class BlockActor const &) = delete; + BlockActor() = delete; +#endif + +public: + /*0*/ virtual ~BlockActor(); + /*1*/ virtual void load(class Level &, class CompoundTag const &, class DataLoadHelper &); + /*2*/ virtual bool save(class CompoundTag &) const; + /*3*/ virtual bool saveItemInstanceData(class CompoundTag &); + /*4*/ virtual void saveBlockData(class CompoundTag &, class BlockSource &) const; + /*5*/ virtual void loadBlockData(class CompoundTag const &, class BlockSource &, class DataLoadHelper &); + /*6*/ virtual void onCustomTagLoadDone(class BlockSource &); + /*7*/ virtual void tick(class BlockSource &); + /*8*/ virtual bool isFinished(); + /*9*/ virtual void onChanged(class BlockSource &); + /*10*/ virtual bool isMovable(class BlockSource &); + /*11*/ virtual bool isCustomNameSaved(); + /*12*/ virtual void onPlace(class BlockSource &); + /*13*/ virtual void __unk_vfn_13(); + /*14*/ virtual void onRemoved(class BlockSource &); + /*15*/ virtual void triggerEvent(int, int); + /*16*/ virtual void clearCache(); + /*17*/ virtual void __unk_vfn_17(); + /*18*/ virtual float getShadowRadius(class BlockSource &) const; + /*19*/ virtual bool hasAlphaLayer() const; + /*20*/ virtual class BlockActor * getCrackEntity(class BlockSource &, class BlockPos const &); + /*21*/ virtual void getDebugText(std::vector &, class BlockPos const &); + /*22*/ virtual std::string const & getCustomName() const; + /*23*/ virtual std::string const & getFilteredCustomName(class UIProfanityContext const &); + /*24*/ virtual std::string getName() const; + /*25*/ virtual void setCustomName(std::string const &); + /*26*/ virtual std::string getImmersiveReaderText(class BlockSource &); + /*27*/ virtual int getRepairCost() const; + /*28*/ virtual class PistonBlockActor * getOwningPiston(class BlockSource &); + /*29*/ virtual void __unk_vfn_29(); + /*30*/ virtual void __unk_vfn_30(); + /*31*/ virtual float getDeletionDelayTimeSeconds() const; + /*32*/ virtual void __unk_vfn_32(); + /*33*/ virtual void __unk_vfn_33(); + /*34*/ virtual std::unique_ptr _getUpdatePacket(class BlockSource &); + /*35*/ virtual void _onUpdatePacket(class CompoundTag const &, class BlockSource &); + /*36*/ virtual bool _playerCanUpdate(class Player const &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_BLOCKACTOR + MCVAPI class Container * getContainer(); + MCVAPI class Container const * getContainer() const; + MCVAPI void onChunkLoaded(class LevelChunk &); + MCVAPI void onChunkUnloaded(class LevelChunk &); + MCVAPI void onMove(); + MCVAPI void onNeighborChanged(class BlockSource &, class BlockPos const &); +#endif + MCAPI BlockActor(enum BlockActorType, class BlockPos const &, std::string const &); + MCAPI static void initBlockEntities(); + MCAPI static class std::shared_ptr loadStatic(class Level &, class CompoundTag const &, class DataLoadHelper &); + MCAPI static void setId(enum BlockActorType, std::string const &); + +//protected: + MCAPI void _resetAABB(); + +//private: + +protected: + +private: + MCAPI static class std::map, class std::allocator>> mClassIdMap; + MCAPI static class std::map, class std::allocator>> mIdClassMap; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/BlockActorDataPacket.hpp b/LiteLoader/Header/MC/BlockActorDataPacket.hpp new file mode 100644 index 0000000..e36237e --- /dev/null +++ b/LiteLoader/Header/MC/BlockActorDataPacket.hpp @@ -0,0 +1,33 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Packet.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class BlockActorDataPacket : public Packet { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_BLOCKACTORDATAPACKET +public: + class BlockActorDataPacket& operator=(class BlockActorDataPacket const &) = delete; + BlockActorDataPacket(class BlockActorDataPacket const &) = delete; + BlockActorDataPacket() = delete; +#endif + +public: + /*0*/ virtual ~BlockActorDataPacket(); + /*1*/ virtual enum MinecraftPacketIds getId() const; + /*2*/ virtual std::string getName() const; + /*3*/ virtual void write(class BinaryStream &) const; + /*4*/ virtual enum StreamReadResult read(class ReadOnlyBinaryStream &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_BLOCKACTORDATAPACKET +#endif + MCAPI BlockActorDataPacket(class BlockPos const &, class CompoundTag); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/BlockActorFactory.hpp b/LiteLoader/Header/MC/BlockActorFactory.hpp new file mode 100644 index 0000000..2d9f7ef --- /dev/null +++ b/LiteLoader/Header/MC/BlockActorFactory.hpp @@ -0,0 +1,32 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class BlockActorFactory { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_BLOCKACTORFACTORY +public: + class BlockActorFactory& operator=(class BlockActorFactory const &) = delete; + BlockActorFactory(class BlockActorFactory const &) = delete; + BlockActorFactory() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_BLOCKACTORFACTORY +#endif + MCAPI static class std::shared_ptr createBlockEntity(enum BlockActorType, class BlockPos const &, class BlockLegacy const &); + +//private: + +private: + MCAPI static std::vector (class BlockPos const &)>>> mCustomBlockEntityCreation; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/BlockActorLevelListener.hpp b/LiteLoader/Header/MC/BlockActorLevelListener.hpp new file mode 100644 index 0000000..a4399bb --- /dev/null +++ b/LiteLoader/Header/MC/BlockActorLevelListener.hpp @@ -0,0 +1,49 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "BlockSourceListener.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class BlockActorLevelListener : public BlockSourceListener { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_BLOCKACTORLEVELLISTENER +public: + class BlockActorLevelListener& operator=(class BlockActorLevelListener const &) = delete; + BlockActorLevelListener(class BlockActorLevelListener const &) = delete; + BlockActorLevelListener() = delete; +#endif + +public: + /*0*/ virtual ~BlockActorLevelListener(); + /*1*/ virtual void __unk_vfn_1(); + /*2*/ virtual void __unk_vfn_2(); + /*3*/ virtual void __unk_vfn_3(); + /*4*/ virtual void __unk_vfn_4(); + /*6*/ virtual void __unk_vfn_6(); + /*8*/ virtual void __unk_vfn_8(); + /*9*/ virtual void __unk_vfn_9(); + /*10*/ virtual void __unk_vfn_10(); + /*11*/ virtual class Particle * addParticle(enum ParticleType, class Vec3 const &, class Vec3 const &, int, class CompoundTag const *, bool); + /*12*/ virtual void __unk_vfn_12(); + /*13*/ virtual void __unk_vfn_13(); + /*14*/ virtual void __unk_vfn_14(); + /*15*/ virtual void __unk_vfn_15(); + /*16*/ virtual void __unk_vfn_16(); + /*17*/ virtual void __unk_vfn_17(); + /*18*/ virtual void __unk_vfn_18(); + /*19*/ virtual void __unk_vfn_19(); + /*20*/ virtual void __unk_vfn_20(); + /*21*/ virtual void __unk_vfn_21(); + /*22*/ virtual void onChunkLoaded(class ChunkSource &, class LevelChunk &); + /*23*/ virtual void onChunkUnloaded(class LevelChunk &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_BLOCKACTORLEVELLISTENER +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/BlockBlobFeature.hpp b/LiteLoader/Header/MC/BlockBlobFeature.hpp new file mode 100644 index 0000000..8904d6e --- /dev/null +++ b/LiteLoader/Header/MC/BlockBlobFeature.hpp @@ -0,0 +1,29 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Feature.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class BlockBlobFeature : public Feature { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_BLOCKBLOBFEATURE +public: + class BlockBlobFeature& operator=(class BlockBlobFeature const &) = delete; + BlockBlobFeature(class BlockBlobFeature const &) = delete; + BlockBlobFeature() = delete; +#endif + +public: + /*0*/ virtual ~BlockBlobFeature(); + /*1*/ virtual bool place(class BlockSource &, class BlockPos const &, class Random &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_BLOCKBLOBFEATURE +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/BlockBreakSensorComponent.hpp b/LiteLoader/Header/MC/BlockBreakSensorComponent.hpp new file mode 100644 index 0000000..d9ac285 --- /dev/null +++ b/LiteLoader/Header/MC/BlockBreakSensorComponent.hpp @@ -0,0 +1,27 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class BlockBreakSensorComponent { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_BLOCKBREAKSENSORCOMPONENT +public: + class BlockBreakSensorComponent& operator=(class BlockBreakSensorComponent const &) = delete; + BlockBreakSensorComponent(class BlockBreakSensorComponent const &) = delete; + BlockBreakSensorComponent() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_BLOCKBREAKSENSORCOMPONENT +#endif + MCAPI BlockBreakSensorComponent(class BlockBreakSensorComponent &&); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/BlockBreakSensorDefinition.hpp b/LiteLoader/Header/MC/BlockBreakSensorDefinition.hpp new file mode 100644 index 0000000..be56002 --- /dev/null +++ b/LiteLoader/Header/MC/BlockBreakSensorDefinition.hpp @@ -0,0 +1,28 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "JsonUtil.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class BlockBreakSensorDefinition { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_BLOCKBREAKSENSORDEFINITION +public: + class BlockBreakSensorDefinition& operator=(class BlockBreakSensorDefinition const &) = delete; + BlockBreakSensorDefinition(class BlockBreakSensorDefinition const &) = delete; + BlockBreakSensorDefinition() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_BLOCKBREAKSENSORDEFINITION +#endif + MCAPI static void buildSchema(class std::shared_ptr> &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/BlockBreakSensorSystem.hpp b/LiteLoader/Header/MC/BlockBreakSensorSystem.hpp new file mode 100644 index 0000000..851de8d --- /dev/null +++ b/LiteLoader/Header/MC/BlockBreakSensorSystem.hpp @@ -0,0 +1,28 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class BlockBreakSensorSystem { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_BLOCKBREAKSENSORSYSTEM +public: + class BlockBreakSensorSystem& operator=(class BlockBreakSensorSystem const &) = delete; + BlockBreakSensorSystem(class BlockBreakSensorSystem const &) = delete; + BlockBreakSensorSystem() = delete; +#endif + +public: + /*0*/ virtual ~BlockBreakSensorSystem(); + /*1*/ virtual void tick(class EntityRegistry &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_BLOCKBREAKSENSORSYSTEM +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/BlockColorUtil.hpp b/LiteLoader/Header/MC/BlockColorUtil.hpp new file mode 100644 index 0000000..362107a --- /dev/null +++ b/LiteLoader/Header/MC/BlockColorUtil.hpp @@ -0,0 +1,22 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +namespace BlockColorUtil { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA + MCAPI extern class std::array RAINBOW; + MCAPI enum BlockColor fromItemColor(enum ItemColor); + MCAPI class Color getColor(enum BlockColor); + MCAPI std::string const & getName(enum BlockColor); + MCAPI std::string const & getNameMixedCase(enum BlockColor); + MCAPI std::string const & getNameSnakeCase(enum BlockColor); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/BlockCommandOrigin.hpp b/LiteLoader/Header/MC/BlockCommandOrigin.hpp new file mode 100644 index 0000000..45aa9dd --- /dev/null +++ b/LiteLoader/Header/MC/BlockCommandOrigin.hpp @@ -0,0 +1,44 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Json.hpp" +#include "CommandOrigin.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class BlockCommandOrigin : public CommandOrigin { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_BLOCKCOMMANDORIGIN +public: + class BlockCommandOrigin& operator=(class BlockCommandOrigin const &) = delete; + BlockCommandOrigin(class BlockCommandOrigin const &) = delete; + BlockCommandOrigin() = delete; +#endif + +public: + /*0*/ virtual ~BlockCommandOrigin(); + /*1*/ virtual std::string const & getRequestId() const; + /*2*/ virtual std::string getName() const; + /*3*/ virtual class BlockPos getBlockPosition() const; + /*4*/ virtual class Vec3 getWorldPosition() const; + /*5*/ virtual class Level * getLevel() const; + /*6*/ virtual class Dimension * getDimension() const; + /*7*/ virtual class Actor * getEntity() const; + /*8*/ virtual enum CommandPermissionLevel getPermissionsLevel() const; + /*9*/ virtual std::unique_ptr clone() const; + /*16*/ virtual bool canUseCommandsWithoutCheatsEnabled() const; + /*17*/ virtual bool isSelectorExpansionAllowed() const; + /*21*/ virtual enum CommandOriginType getOriginType() const; + /*26*/ virtual class CommandBlockActor * getBlockEntity() const; + /*27*/ virtual class BaseCommandBlock * getBaseCommandBlock() const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_BLOCKCOMMANDORIGIN +#endif + MCAPI BlockCommandOrigin(class BlockSource &, class BlockPos const &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/BlockComponentDescription.hpp b/LiteLoader/Header/MC/BlockComponentDescription.hpp new file mode 100644 index 0000000..a881e6f --- /dev/null +++ b/LiteLoader/Header/MC/BlockComponentDescription.hpp @@ -0,0 +1,34 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +struct BlockComponentDescription { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_BLOCKCOMPONENTDESCRIPTION +public: + struct BlockComponentDescription& operator=(struct BlockComponentDescription const &) = delete; + BlockComponentDescription(struct BlockComponentDescription const &) = delete; + BlockComponentDescription() = delete; +#endif +public: + /*0*/ virtual ~BlockComponentDescription(); + /*1*/ virtual std::string const & getName() const; + /*2*/ virtual void __unk_vfn_2(); + /*3*/ virtual void __unk_vfn_3(); + /*4*/ virtual bool isNetworkComponent() const; + /*5*/ virtual std::unique_ptr buildNetworkTag() const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_BLOCKCOMPONENTDESCRIPTION + MCVAPI void buildSchema(class JsonUtil::JsonSchemaObjectNode, struct BlockDefinition> &) const; + MCVAPI void initializeComponent(class BlockLegacy &) const; + MCVAPI void initializeFromNetwork(class BlockLegacy &, class CompoundTag const &); +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/BlockComponentFactory.hpp b/LiteLoader/Header/MC/BlockComponentFactory.hpp new file mode 100644 index 0000000..1352887 --- /dev/null +++ b/LiteLoader/Header/MC/BlockComponentFactory.hpp @@ -0,0 +1,28 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class BlockComponentFactory { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_BLOCKCOMPONENTFACTORY +public: + class BlockComponentFactory& operator=(class BlockComponentFactory const &) = delete; + BlockComponentFactory(class BlockComponentFactory const &) = delete; + BlockComponentFactory() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_BLOCKCOMPONENTFACTORY +#endif + MCAPI std::unique_ptr createComponentDescription(std::string const &) const; + MCAPI void registerDescription(std::string const &, class std::function (void)>); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/BlockDefinition.hpp b/LiteLoader/Header/MC/BlockDefinition.hpp new file mode 100644 index 0000000..13f40a2 --- /dev/null +++ b/LiteLoader/Header/MC/BlockDefinition.hpp @@ -0,0 +1,27 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +struct BlockDefinition { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_BLOCKDEFINITION +public: + struct BlockDefinition& operator=(struct BlockDefinition const &) = delete; + BlockDefinition(struct BlockDefinition const &) = delete; + BlockDefinition() = delete; +#endif +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_BLOCKDEFINITION +#endif + MCAPI struct BlockComponentDescription * getComponentDescription(std::string const &) const; + MCAPI ~BlockDefinition(); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/BlockDefinitionGroup.hpp b/LiteLoader/Header/MC/BlockDefinitionGroup.hpp new file mode 100644 index 0000000..27778c1 --- /dev/null +++ b/LiteLoader/Header/MC/BlockDefinitionGroup.hpp @@ -0,0 +1,41 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Json.hpp" +#include "JsonUtil.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class BlockDefinitionGroup { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_BLOCKDEFINITIONGROUP +public: + class BlockDefinitionGroup& operator=(class BlockDefinitionGroup const &) = delete; + BlockDefinitionGroup(class BlockDefinitionGroup const &) = delete; + BlockDefinitionGroup() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_BLOCKDEFINITIONGROUP +#endif + MCAPI void buildBlockSchema(class BlockComponentFactory const &); + MCAPI bool generateBlockResource(class Json::Value const &, class std::shared_ptr> const &, struct BlockDefinitionGroup::BlockResource &); + MCAPI void loadResources(class ResourcePackManager &, class BlockComponentFactory const &); + MCAPI void registerBlocks(); + MCAPI ~BlockDefinitionGroup(); + +//private: + MCAPI void _buildBlockComponentsSchema(class JsonUtil::JsonSchemaObjectNode, struct BlockDefinition> &, class BlockComponentFactory const &); + MCAPI void _buildBlockDescriptionSchema(class JsonUtil::JsonSchemaObjectNode, struct BlockDefinition> &); + MCAPI bool _loadBlockDescription(class Json::Value const &, struct BlockDescription &); + MCAPI void _loadComponents(class Json::Value const &, struct BlockDefinition &, class BlockComponentFactory const &, class std::shared_ptr> const &); + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/BlockDescription.hpp b/LiteLoader/Header/MC/BlockDescription.hpp new file mode 100644 index 0000000..dc50bfd --- /dev/null +++ b/LiteLoader/Header/MC/BlockDescription.hpp @@ -0,0 +1,26 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +struct BlockDescription { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_BLOCKDESCRIPTION +public: + BlockDescription(struct BlockDescription const &) = delete; + BlockDescription() = delete; +#endif +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_BLOCKDESCRIPTION +#endif + MCAPI struct BlockDescription & operator=(struct BlockDescription const &); + MCAPI ~BlockDescription(); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/BlockDestroyTimeDescription.hpp b/LiteLoader/Header/MC/BlockDestroyTimeDescription.hpp new file mode 100644 index 0000000..a41f10c --- /dev/null +++ b/LiteLoader/Header/MC/BlockDestroyTimeDescription.hpp @@ -0,0 +1,34 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "JsonUtil.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +struct BlockDestroyTimeDescription { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_BLOCKDESTROYTIMEDESCRIPTION +public: + struct BlockDestroyTimeDescription& operator=(struct BlockDestroyTimeDescription const &) = delete; + BlockDestroyTimeDescription(struct BlockDestroyTimeDescription const &) = delete; + BlockDestroyTimeDescription() = delete; +#endif +public: + /*0*/ virtual ~BlockDestroyTimeDescription(); + /*1*/ virtual std::string const & getName() const; + /*2*/ virtual void initializeComponent(class BlockLegacy &) const; + /*3*/ virtual void buildSchema(class JsonUtil::JsonSchemaObjectNode, struct BlockDefinition> &) const; + /*4*/ virtual bool isNetworkComponent() const; + /*5*/ virtual std::unique_ptr buildNetworkTag() const; + /*6*/ virtual void initializeFromNetwork(class BlockLegacy &, class CompoundTag const &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_BLOCKDESTROYTIMEDESCRIPTION +#endif + MCAPI static std::string const NameID; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/BlockEventCoordinator.hpp b/LiteLoader/Header/MC/BlockEventCoordinator.hpp new file mode 100644 index 0000000..66a2c80 --- /dev/null +++ b/LiteLoader/Header/MC/BlockEventCoordinator.hpp @@ -0,0 +1,28 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class BlockEventCoordinator { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_BLOCKEVENTCOORDINATOR +public: + class BlockEventCoordinator& operator=(class BlockEventCoordinator const &) = delete; + BlockEventCoordinator(class BlockEventCoordinator const &) = delete; + BlockEventCoordinator() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_BLOCKEVENTCOORDINATOR +#endif + MCAPI void sendBlockPlacedByPlayer(class Player &, class Block const &, class BlockPos const &, bool); + MCAPI void sendUnknownBlockReceived(class Level &, struct NewBlockID const &, unsigned short); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/BlockEventDispatcher.hpp b/LiteLoader/Header/MC/BlockEventDispatcher.hpp new file mode 100644 index 0000000..d289816 --- /dev/null +++ b/LiteLoader/Header/MC/BlockEventDispatcher.hpp @@ -0,0 +1,27 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class BlockEventDispatcher { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_BLOCKEVENTDISPATCHER +public: + class BlockEventDispatcher& operator=(class BlockEventDispatcher const &) = delete; + BlockEventDispatcher(class BlockEventDispatcher const &) = delete; + BlockEventDispatcher() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_BLOCKEVENTDISPATCHER +#endif + MCAPI class BlockEventDispatcherToken registerListener(class Vec3 const &, float, class std::function); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/BlockEventDispatcherToken.hpp b/LiteLoader/Header/MC/BlockEventDispatcherToken.hpp new file mode 100644 index 0000000..20ab8f2 --- /dev/null +++ b/LiteLoader/Header/MC/BlockEventDispatcherToken.hpp @@ -0,0 +1,27 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class BlockEventDispatcherToken { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_BLOCKEVENTDISPATCHERTOKEN +public: + class BlockEventDispatcherToken& operator=(class BlockEventDispatcherToken const &) = delete; + BlockEventDispatcherToken(class BlockEventDispatcherToken const &) = delete; + BlockEventDispatcherToken() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_BLOCKEVENTDISPATCHERTOKEN +#endif + MCAPI void unregister(); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/BlockEventListener.hpp b/LiteLoader/Header/MC/BlockEventListener.hpp new file mode 100644 index 0000000..2782fcb --- /dev/null +++ b/LiteLoader/Header/MC/BlockEventListener.hpp @@ -0,0 +1,37 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class BlockEventListener { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_BLOCKEVENTLISTENER +public: + class BlockEventListener& operator=(class BlockEventListener const &) = delete; + BlockEventListener(class BlockEventListener const &) = delete; + BlockEventListener() = delete; +#endif + +public: + /*0*/ virtual ~BlockEventListener(); + /*1*/ virtual void __unk_vfn_1(); + /*2*/ virtual enum EventResult onBlockDestroyedByPlayer(class Player &, std::string, class BlockPos const &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_BLOCKEVENTLISTENER + MCVAPI enum EventResult onBlockDestructionStarted(class Player &, class BlockPos const &); + MCVAPI enum EventResult onBlockDestructionStopped(class Player &, class BlockPos const &, int); + MCVAPI enum EventResult onBlockExploded(class BlockPos const &, class Block const &, class Actor *); + MCVAPI enum EventResult onBlockInteractedWith(class Player &, class BlockPos const &); + MCVAPI enum EventResult onBlockModified(class BlockPos const &, class Block const &, class Block const &); + MCVAPI enum EventResult onBlockMovedByPiston(class BlockPos const &, class BlockPos const &, enum PistonBlockActor::PistonState); + MCVAPI enum EventResult onBlockPlacedByPlayer(class Player &, class Block const &, class BlockPos const &, bool); + MCVAPI enum EventResult onUnknownBlockReceived(class Level &, struct NewBlockID const &, unsigned short); +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/BlockEventPacket.hpp b/LiteLoader/Header/MC/BlockEventPacket.hpp new file mode 100644 index 0000000..9e1b368 --- /dev/null +++ b/LiteLoader/Header/MC/BlockEventPacket.hpp @@ -0,0 +1,32 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Packet.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class BlockEventPacket : public Packet { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_BLOCKEVENTPACKET +public: + class BlockEventPacket& operator=(class BlockEventPacket const &) = delete; + BlockEventPacket(class BlockEventPacket const &) = delete; + BlockEventPacket() = delete; +#endif + +public: + /*0*/ virtual ~BlockEventPacket(); + /*1*/ virtual enum MinecraftPacketIds getId() const; + /*2*/ virtual std::string getName() const; + /*3*/ virtual void write(class BinaryStream &) const; + /*4*/ virtual enum StreamReadResult read(class ReadOnlyBinaryStream &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_BLOCKEVENTPACKET +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/BlockExplodeableDescription.hpp b/LiteLoader/Header/MC/BlockExplodeableDescription.hpp new file mode 100644 index 0000000..c971db2 --- /dev/null +++ b/LiteLoader/Header/MC/BlockExplodeableDescription.hpp @@ -0,0 +1,31 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "JsonUtil.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +struct BlockExplodeableDescription { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_BLOCKEXPLODEABLEDESCRIPTION +public: + struct BlockExplodeableDescription& operator=(struct BlockExplodeableDescription const &) = delete; + BlockExplodeableDescription(struct BlockExplodeableDescription const &) = delete; + BlockExplodeableDescription() = delete; +#endif +public: + /*0*/ virtual ~BlockExplodeableDescription(); + /*1*/ virtual std::string const & getName() const; + /*2*/ virtual void initializeComponent(class BlockLegacy &) const; + /*3*/ virtual void buildSchema(class JsonUtil::JsonSchemaObjectNode, struct BlockDefinition> &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_BLOCKEXPLODEABLEDESCRIPTION +#endif + MCAPI static std::string const NameID; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/BlockFlammableDescription.hpp b/LiteLoader/Header/MC/BlockFlammableDescription.hpp new file mode 100644 index 0000000..50acafa --- /dev/null +++ b/LiteLoader/Header/MC/BlockFlammableDescription.hpp @@ -0,0 +1,31 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "JsonUtil.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +struct BlockFlammableDescription { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_BLOCKFLAMMABLEDESCRIPTION +public: + struct BlockFlammableDescription& operator=(struct BlockFlammableDescription const &) = delete; + BlockFlammableDescription(struct BlockFlammableDescription const &) = delete; + BlockFlammableDescription() = delete; +#endif +public: + /*0*/ virtual ~BlockFlammableDescription(); + /*1*/ virtual std::string const & getName() const; + /*2*/ virtual void initializeComponent(class BlockLegacy &) const; + /*3*/ virtual void buildSchema(class JsonUtil::JsonSchemaObjectNode, struct BlockDefinition> &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_BLOCKFLAMMABLEDESCRIPTION +#endif + MCAPI static std::string const NameID; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/BlockFrictionDescription.hpp b/LiteLoader/Header/MC/BlockFrictionDescription.hpp new file mode 100644 index 0000000..6ac5eca --- /dev/null +++ b/LiteLoader/Header/MC/BlockFrictionDescription.hpp @@ -0,0 +1,34 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "JsonUtil.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +struct BlockFrictionDescription { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_BLOCKFRICTIONDESCRIPTION +public: + struct BlockFrictionDescription& operator=(struct BlockFrictionDescription const &) = delete; + BlockFrictionDescription(struct BlockFrictionDescription const &) = delete; + BlockFrictionDescription() = delete; +#endif +public: + /*0*/ virtual ~BlockFrictionDescription(); + /*1*/ virtual std::string const & getName() const; + /*2*/ virtual void initializeComponent(class BlockLegacy &) const; + /*3*/ virtual void buildSchema(class JsonUtil::JsonSchemaObjectNode, struct BlockDefinition> &) const; + /*4*/ virtual bool isNetworkComponent() const; + /*5*/ virtual std::unique_ptr buildNetworkTag() const; + /*6*/ virtual void initializeFromNetwork(class BlockLegacy &, class CompoundTag const &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_BLOCKFRICTIONDESCRIPTION +#endif + MCAPI static std::string const NameID; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/BlockGraphics.hpp b/LiteLoader/Header/MC/BlockGraphics.hpp new file mode 100644 index 0000000..91e10cb --- /dev/null +++ b/LiteLoader/Header/MC/BlockGraphics.hpp @@ -0,0 +1,46 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class BlockGraphics { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_BLOCKGRAPHICS +public: + class BlockGraphics& operator=(class BlockGraphics const &) = delete; + BlockGraphics(class BlockGraphics const &) = delete; + BlockGraphics() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_BLOCKGRAPHICS +#endif + MCAPI struct TextureUVCoordinateSet const & getIconTexture(int) const; + MCAPI bool isFullAndOpaque() const; + MCAPI static class BlockGraphics const * getForBlock(class Block const &); + MCAPI static class std::unordered_map, struct std::equal_to, class std::allocator>> mBlockLookupMap; + MCAPI static std::unique_ptr mDummyBlock; + MCAPI static std::vector> mOwnedBlocks; + +//protected: + +//private: + +protected: + MCAPI static class std::weak_ptr mTerrainTextureAtlas; + +private: + MCAPI static class std::mutex mBlockModelAccess; + MCAPI static class std::unordered_map, struct std::equal_to, class std::allocator>> mBlocks; + MCAPI static bool mInitialized; + MCAPI static class std::map, struct std::less, class std::allocator>>> mModels; + MCAPI static class std::map, struct std::less, class std::allocator>>> mTessellatedModels; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/BlockID.hpp b/LiteLoader/Header/MC/BlockID.hpp new file mode 100644 index 0000000..32bdf48 --- /dev/null +++ b/LiteLoader/Header/MC/BlockID.hpp @@ -0,0 +1,25 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +struct BlockID { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_BLOCKID +public: + struct BlockID& operator=(struct BlockID const &) = delete; + BlockID(struct BlockID const &) = delete; +#endif +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_BLOCKID +#endif + MCAPI BlockID(); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/BlockInstance.hpp b/LiteLoader/Header/MC/BlockInstance.hpp new file mode 100644 index 0000000..d1de390 --- /dev/null +++ b/LiteLoader/Header/MC/BlockInstance.hpp @@ -0,0 +1,41 @@ +#pragma once +#include "../Global.h" +class BlockSource; +class Block; +class ItemStack; +class BlockActor; +class Container; + +class BlockInstance +{ + friend class Level; + friend class BlockSource; + + Block* block; + BlockPos pos; + int dim; + LIAPI BlockInstance(Block* block, BlockPos pos, int dimid); + LIAPI BlockInstance(BlockPos pos, int dimid = 0); + +public: + LIAPI BlockInstance() = default; + LIAPI static BlockInstance createBlockInstance(Block* block, BlockPos pos, int dimId); + + LIAPI Block* getBlock(); + LIAPI BlockPos getPosition(); + LIAPI BlockSource* getBlockSource(); + LIAPI int getDimensionId(); + + //LIAPI bool hasBlockEntity(); + LIAPI BlockActor* getBlockEntity(); + LIAPI bool hasContainer(); + LIAPI Container* getContainer(); + + //LIAPI bool breakNaturally(bool isCreativeMode = false); + //LIAPI bool breakNaturally(ItemStack* tool, bool isCreativeMode = false); + //LIAPI ItemStack getBlockDrops(); + LIAPI bool isNull(); + + LIAPI bool operator==(BlockInstance const& bli); + LIAPI const static BlockInstance Null; +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/BlockIntersectionConstraint.hpp b/LiteLoader/Header/MC/BlockIntersectionConstraint.hpp new file mode 100644 index 0000000..71cf177 --- /dev/null +++ b/LiteLoader/Header/MC/BlockIntersectionConstraint.hpp @@ -0,0 +1,29 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class BlockIntersectionConstraint { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_BLOCKINTERSECTIONCONSTRAINT +public: + class BlockIntersectionConstraint& operator=(class BlockIntersectionConstraint const &) = delete; + BlockIntersectionConstraint(class BlockIntersectionConstraint const &) = delete; + BlockIntersectionConstraint() = delete; +#endif + +public: + /*0*/ virtual ~BlockIntersectionConstraint(); + /*1*/ virtual bool isSatisfied(class IBlockPlacementTarget const &, class BlockPos const &, enum Rotation const &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_BLOCKINTERSECTIONCONSTRAINT +#endif + MCAPI BlockIntersectionConstraint(class StructureTemplate &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/BlockIsNameTest.hpp b/LiteLoader/Header/MC/BlockIsNameTest.hpp new file mode 100644 index 0000000..049dbcc --- /dev/null +++ b/LiteLoader/Header/MC/BlockIsNameTest.hpp @@ -0,0 +1,31 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "FilterTest.hpp" +#include "Json.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class BlockIsNameTest : public FilterTest { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_BLOCKISNAMETEST +public: + class BlockIsNameTest& operator=(class BlockIsNameTest const &) = delete; + BlockIsNameTest(class BlockIsNameTest const &) = delete; + BlockIsNameTest() = delete; +#endif + +public: + /*0*/ virtual ~BlockIsNameTest(); + /*2*/ virtual bool evaluate(struct FilterContext const &) const; + /*4*/ virtual class gsl::basic_string_span getName() const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_BLOCKISNAMETEST +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/BlockItem.hpp b/LiteLoader/Header/MC/BlockItem.hpp new file mode 100644 index 0000000..2f97d52 --- /dev/null +++ b/LiteLoader/Header/MC/BlockItem.hpp @@ -0,0 +1,54 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Item.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class BlockItem : public Item { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_BLOCKITEM +public: + class BlockItem& operator=(class BlockItem const &) = delete; + BlockItem(class BlockItem const &) = delete; + BlockItem() = delete; +#endif + +public: + /*0*/ virtual ~BlockItem(); + /*4*/ virtual bool isExperimental(class ItemDescriptor const *) const; + /*5*/ virtual void __unk_vfn_5(); + /*26*/ virtual void __unk_vfn_26(); + /*27*/ virtual void __unk_vfn_27(); + /*31*/ virtual void __unk_vfn_31(); + /*32*/ virtual void __unk_vfn_32(); + /*34*/ virtual void __unk_vfn_34(); + /*35*/ virtual bool isDestructive(int) const; + /*37*/ virtual void __unk_vfn_37(); + /*43*/ virtual void __unk_vfn_43(); + /*44*/ virtual bool isValidAuxValue(int) const; + /*46*/ virtual void __unk_vfn_46(); + /*47*/ virtual void __unk_vfn_47(); + /*49*/ virtual void __unk_vfn_49(); + /*50*/ virtual void __unk_vfn_50(); + /*65*/ virtual std::string buildDescriptionId(class ItemDescriptor const &, class CompoundTag const *) const; + /*79*/ virtual void __unk_vfn_79(); + /*80*/ virtual void __unk_vfn_80(); + /*84*/ virtual struct Brightness getLightEmission(int) const; + /*85*/ virtual struct TextureUVCoordinateSet const & getIcon(class ItemStackBase const &, int, bool) const; + /*86*/ virtual int getIconYOffset() const; + /*90*/ virtual void __unk_vfn_90(); + /*96*/ virtual bool _calculatePlacePos(class ItemStack &, class Actor &, unsigned char &, class BlockPos &) const; + /*97*/ virtual void __unk_vfn_97(); + /*99*/ virtual bool _useOn(class ItemStack &, class Actor &, class BlockPos, unsigned char, float, float, float) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_BLOCKITEM +#endif + MCAPI BlockItem(std::string const &, int); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/BlockLegacy.hpp b/LiteLoader/Header/MC/BlockLegacy.hpp new file mode 100644 index 0000000..17f8384 --- /dev/null +++ b/LiteLoader/Header/MC/BlockLegacy.hpp @@ -0,0 +1,256 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA +// Add include headers & pre-declares +class Block; +class BlockSource; +class ItemStack; + +#undef BEFORE_EXTRA + +class BlockLegacy { + +#define AFTER_EXTRA +// Add new members to class +public: + struct NameInfo; + + LIAPI Block* toBlock(unsigned short tileData); + LIAPI string getTypeName(); + LIAPI bool applyBoneMeal(BlockSource*, BlockPos*); + LIAPI ItemStack* getBlockDrops(); + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_BLOCKLEGACY +public: + class BlockLegacy& operator=(class BlockLegacy const &) = delete; + BlockLegacy(class BlockLegacy const &) = delete; + BlockLegacy() = delete; +#endif + +public: + /*0*/ virtual ~BlockLegacy(); + /*1*/ virtual void tick(class BlockSource &, class BlockPos const &, class Random &) const; + /*2*/ virtual class Block const & getStateFromLegacyData(unsigned short) const; + /*3*/ virtual class std::shared_ptr newBlockEntity(class BlockPos const &, class Block const &) const; + /*4*/ virtual class Block const * getNextBlockPermutation(class Block const &) const; + /*5*/ virtual bool getCollisionShape(class AABB &, class Block const &, class BlockSource &, class BlockPos const &, class Actor *) const; + /*6*/ virtual bool isObstructingChests(class BlockSource &, class BlockPos const &) const; + /*7*/ virtual class Vec3 randomlyModifyPosition(class BlockPos const &, int &) const; + /*8*/ virtual class Vec3 randomlyModifyPosition(class BlockPos const &) const; + /*9*/ virtual void addAABBs(class Block const &, class BlockSource &, class BlockPos const &, class AABB const *, std::vector &) const; + /*10*/ virtual class AABB const & getAABB(class BlockSource &, class BlockPos const &, class Block const &, class AABB &, bool) const; + /*11*/ virtual bool addCollisionShapes(class Block const &, class BlockSource &, class BlockPos const &, class AABB const *, std::vector &, class Actor *) const; + /*12*/ virtual class AABB const & getOutline(class BlockSource &, class BlockPos const &, class AABB &) const; + /*13*/ virtual bool getLiquidClipVolume(class BlockSource &, class BlockPos const &, class AABB &) const; + /*14*/ virtual void onProjectileHit(class BlockSource &, class BlockPos const &, class Actor const &) const; + /*15*/ virtual bool liquidCanFlowIntoFromDirection(unsigned char, class std::function const &, class BlockPos const &) const; + /*16*/ virtual struct Brightness getLightEmission(class Block const &) const; + /*17*/ virtual bool shouldRandomTick() const; + /*18*/ virtual void __unk_vfn_18(); + /*19*/ virtual bool isStrippable(class Block const &) const; + /*20*/ virtual class Block const & getStrippedBlock(class Block const &) const; + /*21*/ virtual bool canProvideSupport(class Block const &, unsigned char, enum BlockSupportType) const; + /*22*/ virtual bool canConnect(class Block const &, unsigned char, class Block const &) const; + /*23*/ virtual void getConnectedDirections(class Block const &, class BlockPos const &, class BlockSource &, bool &, bool &, bool &, bool &) const; + /*24*/ virtual void __unk_vfn_24(); + /*25*/ virtual void __unk_vfn_25(); + /*26*/ virtual void __unk_vfn_26(); + /*27*/ virtual void __unk_vfn_27(); + /*28*/ virtual void __unk_vfn_28(); + /*29*/ virtual bool isWaterBlocking() const; + /*30*/ virtual void __unk_vfn_30(); + /*31*/ virtual void __unk_vfn_31(); + /*32*/ virtual void __unk_vfn_32(); + /*33*/ virtual void __unk_vfn_33(); + /*34*/ virtual void __unk_vfn_34(); + /*35*/ virtual void __unk_vfn_35(); + /*36*/ virtual void __unk_vfn_36(); + /*37*/ virtual bool isDoubleSlabBlock() const; + /*38*/ virtual void __unk_vfn_38(); + /*39*/ virtual void __unk_vfn_39(); + /*40*/ virtual void __unk_vfn_40(); + /*41*/ virtual bool canHurtAndBreakItem() const; + /*42*/ virtual void __unk_vfn_42(); + /*43*/ virtual void __unk_vfn_43(); + /*44*/ virtual bool isValidAuxValue(int) const; + /*45*/ virtual bool canFillAtPos(class BlockSource &, class BlockPos const &, class Block const &) const; + /*46*/ virtual class Block const & sanitizeFillBlock(class BlockSource &, class BlockPos const &, class Block const &) const; + /*47*/ virtual void onFillBlock(class BlockSource &, class BlockPos const &, class Block const &) const; + /*48*/ virtual int getDirectSignal(class BlockSource &, class BlockPos const &, int) const; + /*49*/ virtual void __unk_vfn_49(); + /*50*/ virtual bool canContainLiquid() const; + /*51*/ virtual bool shouldConnectToRedstone(class BlockSource &, class BlockPos const &, int) const; + /*52*/ virtual void __unk_vfn_52(); + /*53*/ virtual bool canBeUsedInCommands(bool, class BaseGameVersion const &) const; + /*54*/ virtual float getThickness() const; + /*55*/ virtual float getFlexibility(class BlockSource &, class BlockPos const &) const; + /*56*/ virtual bool checkIsPathable(class Actor &, class BlockPos const &, class BlockPos const &) const; + /*57*/ virtual bool shouldDispense(class BlockSource &, class Container &) const; + /*58*/ virtual bool dispense(class BlockSource &, class Container &, int, class Vec3 const &, unsigned char) const; + /*59*/ virtual void onPlace(class BlockSource &, class BlockPos const &) const; + /*60*/ virtual void onRemove(class BlockSource &, class BlockPos const &) const; + /*61*/ virtual void onExploded(class BlockSource &, class BlockPos const &, class Actor *) const; + /*62*/ virtual void onStepOn(class Actor &, class BlockPos const &) const; + /*63*/ virtual void onFallOn(class BlockSource &, class BlockPos const &, class Actor &, float) const; + /*64*/ virtual void transformOnFall(class BlockSource &, class BlockPos const &, class Actor *, float) const; + /*65*/ virtual void onRedstoneUpdate(class BlockSource &, class BlockPos const &, int, bool) const; + /*66*/ virtual void onMove(class BlockSource &, class BlockPos const &, class BlockPos const &) const; + /*67*/ virtual void __unk_vfn_67(); + /*68*/ virtual void movedByPiston(class BlockSource &, class BlockPos const &) const; + /*69*/ virtual void onStructureBlockPlace(class BlockSource &, class BlockPos const &) const; + /*70*/ virtual void setupRedstoneComponent(class BlockSource &, class BlockPos const &) const; + /*71*/ virtual enum BlockProperty getRedstoneProperty(class BlockSource &, class BlockPos const &) const; + /*72*/ virtual void updateEntityAfterFallOn(class BlockSource &, class BlockPos const &, class Actor &) const; + /*73*/ virtual void __unk_vfn_73(); + /*74*/ virtual bool ignoreEntitiesOnPistonMove(class Block const &) const; + /*75*/ virtual bool onFertilized(class BlockSource &, class BlockPos const &, class Actor *, enum FertilizerType) const; + /*76*/ virtual bool mayConsumeFertilizer(class BlockSource &) const; + /*77*/ virtual bool canBeFertilized(class BlockSource &, class BlockPos const &, class Block const &) const; + /*78*/ virtual bool mayPick() const; + /*79*/ virtual bool mayPick(class BlockSource &, class Block const &, bool) const; + /*80*/ virtual bool mayPlace(class BlockSource &, class BlockPos const &, unsigned char) const; + /*81*/ virtual bool mayPlace(class BlockSource &, class BlockPos const &) const; + /*82*/ virtual bool mayPlaceOn(class BlockSource &, class BlockPos const &) const; + /*83*/ virtual bool tryToPlace(class BlockSource &, class BlockPos const &, class Block const &, struct ActorBlockSyncMessage const *) const; + /*84*/ virtual bool breaksFallingBlocks(class Block const &) const; + /*85*/ virtual void destroy(class BlockSource &, class BlockPos const &, class Block const &, class Actor *) const; + /*86*/ virtual bool playerWillDestroy(class Player &, class BlockPos const &, class Block const &) const; + /*87*/ virtual void __unk_vfn_87(); + /*88*/ virtual void neighborChanged(class BlockSource &, class BlockPos const &, class BlockPos const &) const; + /*89*/ virtual bool getSecondPart(class BlockSource &, class BlockPos const &, class BlockPos &) const; + /*90*/ virtual int getResourceCount(class Random &, class Block const &, int, bool) const; + /*91*/ virtual class ItemInstance getResourceItem(class Random &, class Block const &, int) const; + /*92*/ virtual class ItemInstance asItemInstance(class BlockSource &, class BlockPos const &, class Block const &) const; + /*93*/ virtual void spawnResources(class BlockSource &, class BlockPos const &, class Block const &, std::vector *, float, int, bool) const; + /*94*/ virtual void trySpawnResourcesOnExplosion(class BlockSource &, class BlockPos const &, class Block const &, std::vector *, float, int, bool) const; + /*95*/ virtual void __unk_vfn_95(); + /*96*/ virtual float getExplosionResistance(class Actor *) const; + /*97*/ virtual class HitResult clip(class BlockSource &, class BlockPos const &, class Vec3 const &, class Vec3 const &, bool) const; + /*98*/ virtual bool use(class Player &, class BlockPos const &) const; + /*99*/ virtual class Block const & getPlacementBlock(class Actor &, class BlockPos const &, unsigned char, class Vec3 const &, int) const; + /*100*/ virtual int calcVariant(class BlockSource &, class BlockPos const &) const; + /*101*/ virtual bool isAttachedTo(class BlockSource &, class BlockPos const &, class BlockPos &) const; + /*102*/ virtual bool attack(class Player *, class BlockPos const &) const; + /*103*/ virtual void handleEntityInside(class BlockSource &, class BlockPos const &, class Actor *, class Vec3 &) const; + /*104*/ virtual void entityInside(class BlockSource &, class BlockPos const &, class Actor &) const; + /*105*/ virtual void playerDestroy(class Player &, class BlockPos const &, class Block const &) const; + /*106*/ virtual bool canSurvive(class BlockSource &, class BlockPos const &) const; + /*107*/ virtual int getExperienceDrop(class Random &) const; + /*108*/ virtual bool canBeBuiltOver(class BlockSource &, class BlockPos const &) const; + /*109*/ virtual void __unk_vfn_109(); + /*110*/ virtual void executeEvent(class BlockSource &, class BlockPos const &, class Block const &, std::string const &, class Actor &) const; + /*111*/ virtual bool hasTag(class BlockSource &, class BlockPos const &, class Block const &, std::string const &) const; + /*112*/ virtual class MobSpawnerData const * getMobToSpawn(class SpawnConditions const &, class BlockSource &) const; + /*113*/ virtual class Color getMapColor(class BlockSource &, class BlockPos const &) const; + /*114*/ virtual class Color getMapColor() const; + /*115*/ virtual bool shouldStopFalling(class Actor &) const; + /*116*/ virtual void __unk_vfn_116(); + /*117*/ virtual float calcGroundFriction(class Mob &, class BlockPos const &) const; + /*118*/ virtual void __unk_vfn_118(); + /*119*/ virtual void __unk_vfn_119(); + /*120*/ virtual int getComparatorSignal(class BlockSource &, class BlockPos const &, class Block const &, unsigned char) const; + /*121*/ virtual bool canSlide(class BlockSource &, class BlockPos const &) const; + /*122*/ virtual bool canSpawnAt(class BlockSource const &, class BlockPos const &) const; + /*123*/ virtual void notifySpawnedAt(class BlockSource &, class BlockPos const &) const; + /*124*/ virtual int getIconYOffset() const; + /*125*/ virtual enum BlockRenderLayer getRenderLayer() const; + /*126*/ virtual enum BlockRenderLayer getRenderLayer(class Block const &, class BlockSource &, class BlockPos const &) const; + /*127*/ virtual std::string buildDescriptionId(class Block const &) const; + /*128*/ virtual bool isAuxValueRelevantForPicking() const; + /*129*/ virtual int getColor(class Block const &) const; + /*130*/ virtual int getColor(class BlockSource &, class BlockPos const &, class Block const &) const; + /*131*/ virtual int getColorAtPos(class BlockSource &, class BlockPos const &) const; + /*132*/ virtual int getColorForParticle(class BlockSource &, class BlockPos const &, class Block const &) const; + /*133*/ virtual bool isSeasonTinted(class Block const &, class BlockSource &, class BlockPos const &) const; + /*134*/ virtual void onGraphicsModeChanged(bool, bool, bool); + /*135*/ virtual int getExtraRenderLayers() const; + /*136*/ virtual float getShadeBrightness() const; + /*137*/ virtual class AABB const & getVisualShapeInWorld(class Block const &, class BlockSource &, class BlockPos const &, class AABB &, bool) const; + /*138*/ virtual class AABB const & getVisualShape(class Block const &, class AABB &, bool) const; + /*139*/ virtual class AABB const & getUIShape(class Block const &, class AABB &) const; + /*140*/ virtual int telemetryVariant(class BlockSource &, class BlockPos const &) const; + /*141*/ virtual int getVariant(class Block const &) const; + /*142*/ virtual void __unk_vfn_142(); + /*143*/ virtual class Block const & getRenderBlock() const; + /*144*/ virtual unsigned char getMappedFace(unsigned char, class Block const &) const; + /*145*/ virtual enum Flip getFaceFlip(unsigned char, class Block const &) const; + /*146*/ virtual void animateTick(class BlockSource &, class BlockPos const &, class Random &) const; + /*147*/ virtual class BlockLegacy & init(); + /*148*/ virtual class BlockLegacy & setLightBlock(struct Brightness); + /*149*/ virtual class BlockLegacy & setLightEmission(float); + /*150*/ virtual class BlockLegacy & setExplodeable(float); + /*151*/ virtual class BlockLegacy & setDestroyTime(float); + /*152*/ virtual class BlockLegacy & setFriction(float); + /*153*/ virtual class BlockLegacy & addProperty(enum BlockProperty); + /*154*/ virtual class BlockLegacy & addState(class ItemState const &); + /*155*/ virtual class BlockLegacy & addState(class ItemState const &, unsigned __int64); + /*156*/ virtual class BlockLegacy & setAllowsRunes(bool); + /*157*/ virtual class BlockLegacy & setMapColor(class Color const &); + /*158*/ virtual void __unk_vfn_158(); + /*159*/ virtual class ItemInstance getSilkTouchItemInstance(class Block const &) const; + /*160*/ virtual void setVisualShape(class AABB const &); + /*161*/ virtual void setVisualShape(class Vec3 const &, class Vec3 const &); + /*162*/ virtual class Block const * tryLegacyUpgrade(unsigned short) const; + /*163*/ virtual bool dealsContactDamage(class Actor const &, class Block const &, bool) const; + /*164*/ virtual class Color getDustColor(class Block const &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_BLOCKLEGACY + MCVAPI bool canBeOriginalSurface() const; + MCVAPI bool canBeSilkTouched() const; + MCVAPI bool canHaveExtraData() const; + MCVAPI bool canSpawnOn() const; + MCVAPI bool detachesOnPistonMove(class BlockSource &, class BlockPos const &) const; + MCVAPI bool getIgnoresDestroyPermissions(class Actor &, class BlockPos const &) const; + MCVAPI void handleRain(class BlockSource &, class BlockPos const &, float) const; + MCVAPI bool hasComparatorSignal() const; + MCVAPI bool hasVariableLighting() const; + MCVAPI bool isBounceBlock() const; + MCVAPI bool isButtonBlock() const; + MCVAPI bool isContainerBlock() const; + MCVAPI bool isCraftingBlock() const; + MCVAPI bool isCropBlock() const; + MCVAPI bool isDoorBlock() const; + MCVAPI bool isFenceBlock() const; + MCVAPI bool isFenceGateBlock() const; + MCVAPI bool isHurtableBlock() const; + MCVAPI bool isInteractiveBlock() const; + MCVAPI bool isRailBlock() const; + MCVAPI bool isSignalSource() const; + MCVAPI bool isSlabBlock() const; + MCVAPI bool isStairBlock() const; + MCVAPI bool isStemBlock() const; + MCVAPI bool isThinFenceBlock() const; + MCVAPI bool isWallBlock() const; + MCVAPI bool pushesUpFallingBlocks() const; + MCVAPI bool spawnBurnResources(class BlockSource &, float, float, float) const; + MCVAPI void triggerEvent(class BlockSource &, class BlockPos const &, int, int) const; + MCVAPI bool waterSpreadCausesSpawn() const; +#endif + MCAPI BlockLegacy(std::string const &, int, class Material const &); + MCAPI bool addAABB(class AABB const &, class AABB const *, std::vector &) const; + MCAPI class BlockLegacy & addBlockProperty(enum BlockProperty); + MCAPI std::string buildDescriptionName(class Block const &) const; + MCAPI class HitResult clip(class BlockSource &, class BlockPos const &, class Vec3 const &, class Vec3 const &, bool, class AABB const &) const; + MCAPI void createBlockPermutations(unsigned int); + MCAPI class WeakPtr createWeakPtr(); + MCAPI void forEachBlockPermutation(class std::function) const; + MCAPI void forEachItemStateInstance(class std::function) const; + MCAPI void getDebugText(std::vector &, class BlockPos const &) const; + MCAPI class Block const & getDefaultState() const; + MCAPI bool operator==(class BlockLegacy const &) const; + MCAPI class ItemActor * popResource(class BlockSource &, class BlockPos const &, class ItemInstance const &) const; + MCAPI class BlockLegacy & setCanBeExtraBlock(bool); + MCAPI class BlockLegacy & setCategory(enum CreativeItemCategory); + MCAPI class BlockLegacy & setMinRequiredBaseGameVersion(class BaseGameVersion const &); + MCAPI class BlockLegacy & setNameId(std::string const &); + MCAPI void spawnResources(class BlockSource &, class BlockPos const &, std::vector *, float, int, bool) const; + MCAPI class Block const * tryGetStateFromLegacyData(unsigned short) const; + MCAPI static std::string const BLOCK_DESCRIPTION_PREFIX; + MCAPI static float const SIZE_OFFSET; + MCAPI static unsigned char getPlacementFacingAll(class Actor &, class BlockPos const &, float); + MCAPI static unsigned char getPlacementFacingAllExceptAxisY(class Actor &, class BlockPos const &, float); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/BlockLightDescription.hpp b/LiteLoader/Header/MC/BlockLightDescription.hpp new file mode 100644 index 0000000..e193fb1 --- /dev/null +++ b/LiteLoader/Header/MC/BlockLightDescription.hpp @@ -0,0 +1,34 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "JsonUtil.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +struct BlockLightDescription { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_BLOCKLIGHTDESCRIPTION +public: + struct BlockLightDescription& operator=(struct BlockLightDescription const &) = delete; + BlockLightDescription(struct BlockLightDescription const &) = delete; + BlockLightDescription() = delete; +#endif +public: + /*0*/ virtual ~BlockLightDescription(); + /*1*/ virtual std::string const & getName() const; + /*2*/ virtual void initializeComponent(class BlockLegacy &) const; + /*3*/ virtual void buildSchema(class JsonUtil::JsonSchemaObjectNode, struct BlockDefinition> &) const; + /*4*/ virtual bool isNetworkComponent() const; + /*5*/ virtual std::unique_ptr buildNetworkTag() const; + /*6*/ virtual void initializeFromNetwork(class BlockLegacy &, class CompoundTag const &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_BLOCKLIGHTDESCRIPTION +#endif + MCAPI static std::string const NameID; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/BlockLightEmissionDescription.hpp b/LiteLoader/Header/MC/BlockLightEmissionDescription.hpp new file mode 100644 index 0000000..b0babb2 --- /dev/null +++ b/LiteLoader/Header/MC/BlockLightEmissionDescription.hpp @@ -0,0 +1,34 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "JsonUtil.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +struct BlockLightEmissionDescription { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_BLOCKLIGHTEMISSIONDESCRIPTION +public: + struct BlockLightEmissionDescription& operator=(struct BlockLightEmissionDescription const &) = delete; + BlockLightEmissionDescription(struct BlockLightEmissionDescription const &) = delete; + BlockLightEmissionDescription() = delete; +#endif +public: + /*0*/ virtual ~BlockLightEmissionDescription(); + /*1*/ virtual std::string const & getName() const; + /*2*/ virtual void initializeComponent(class BlockLegacy &) const; + /*3*/ virtual void buildSchema(class JsonUtil::JsonSchemaObjectNode, struct BlockDefinition> &) const; + /*4*/ virtual bool isNetworkComponent() const; + /*5*/ virtual std::unique_ptr buildNetworkTag() const; + /*6*/ virtual void initializeFromNetwork(class BlockLegacy &, class CompoundTag const &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_BLOCKLIGHTEMISSIONDESCRIPTION +#endif + MCAPI static std::string const NameID; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/BlockListEventMap.hpp b/LiteLoader/Header/MC/BlockListEventMap.hpp new file mode 100644 index 0000000..b9a819e --- /dev/null +++ b/LiteLoader/Header/MC/BlockListEventMap.hpp @@ -0,0 +1,27 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class BlockListEventMap { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_BLOCKLISTEVENTMAP +public: + class BlockListEventMap& operator=(class BlockListEventMap const &) = delete; + BlockListEventMap(class BlockListEventMap const &) = delete; + BlockListEventMap() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_BLOCKLISTEVENTMAP +#endif + MCAPI ~BlockListEventMap(); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/BlockListSerializer.hpp b/LiteLoader/Header/MC/BlockListSerializer.hpp new file mode 100644 index 0000000..4327535 --- /dev/null +++ b/LiteLoader/Header/MC/BlockListSerializer.hpp @@ -0,0 +1,28 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Json.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class BlockListSerializer { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_BLOCKLISTSERIALIZER +public: + class BlockListSerializer& operator=(class BlockListSerializer const &) = delete; + BlockListSerializer(class BlockListSerializer const &) = delete; + BlockListSerializer() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_BLOCKLISTSERIALIZER +#endif + MCAPI static void loadJSONSet(std::string const &, class std::set, class std::allocator> &, class Json::Value); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/BlockMapColorDescription.hpp b/LiteLoader/Header/MC/BlockMapColorDescription.hpp new file mode 100644 index 0000000..9ce05a5 --- /dev/null +++ b/LiteLoader/Header/MC/BlockMapColorDescription.hpp @@ -0,0 +1,31 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "JsonUtil.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +struct BlockMapColorDescription { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_BLOCKMAPCOLORDESCRIPTION +public: + struct BlockMapColorDescription& operator=(struct BlockMapColorDescription const &) = delete; + BlockMapColorDescription(struct BlockMapColorDescription const &) = delete; + BlockMapColorDescription() = delete; +#endif +public: + /*0*/ virtual ~BlockMapColorDescription(); + /*1*/ virtual std::string const & getName() const; + /*2*/ virtual void initializeComponent(class BlockLegacy &) const; + /*3*/ virtual void buildSchema(class JsonUtil::JsonSchemaObjectNode, struct BlockDefinition> &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_BLOCKMAPCOLORDESCRIPTION +#endif + MCAPI static std::string const NameID; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/BlockPalette.hpp b/LiteLoader/Header/MC/BlockPalette.hpp new file mode 100644 index 0000000..becff1e --- /dev/null +++ b/LiteLoader/Header/MC/BlockPalette.hpp @@ -0,0 +1,39 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class BlockPalette { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_BLOCKPALETTE +public: + class BlockPalette& operator=(class BlockPalette const &) = delete; + BlockPalette(class BlockPalette const &) = delete; + BlockPalette() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_BLOCKPALETTE +#endif + MCAPI BlockPalette(struct BlockPalette::ConstructorToken); + MCAPI class Block const & getBlock(class CompoundTag const &) const; + MCAPI class Block const & getBlock(unsigned int const &) const; + MCAPI class Block const & getBlockFromLegacyData(struct NewBlockID, unsigned int) const; + MCAPI class BlockLegacy const * getBlockLegacy(std::string const &) const; + MCAPI void initFromBlockDefinitions(); + MCAPI class Block const & switchBlock(class Block const &, class BlockLegacy const &) const; + MCAPI ~BlockPalette(); + +//private: + MCAPI bool shouldWarnFor(struct NewBlockID, unsigned short) const; + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/BlockPatternBuilder.hpp b/LiteLoader/Header/MC/BlockPatternBuilder.hpp new file mode 100644 index 0000000..fc270ca --- /dev/null +++ b/LiteLoader/Header/MC/BlockPatternBuilder.hpp @@ -0,0 +1,39 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class BlockPatternBuilder { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_BLOCKPATTERNBUILDER +public: + class BlockPatternBuilder& operator=(class BlockPatternBuilder const &) = delete; + BlockPatternBuilder(class BlockPatternBuilder const &) = delete; + BlockPatternBuilder() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_BLOCKPATTERNBUILDER +#endif + MCAPI class BlockPatternBuilder & aisle(int, ...); + MCAPI class BlockPatternBuilder & define(char, class Block const &); + MCAPI class BlockPatternBuilder & define(char, class std::function); + MCAPI struct BuildMatch match(class BlockPos const &); + MCAPI struct BuildMatch match(class BlockPos const &, int, int); + MCAPI struct BuildMatch match(class BlockPos const &, int, int, unsigned char, unsigned char); + MCAPI void replaceBlocks(char, struct BuildMatch, class Block const &, bool); + MCAPI static std::unique_ptr start(class BlockSource &); + +//private: + MCAPI bool _fitsBlockPatternEntry(int, int, class BlockPos const &, class Block const &); + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/BlockPickRequestPacket.hpp b/LiteLoader/Header/MC/BlockPickRequestPacket.hpp new file mode 100644 index 0000000..2193bfe --- /dev/null +++ b/LiteLoader/Header/MC/BlockPickRequestPacket.hpp @@ -0,0 +1,32 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Packet.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class BlockPickRequestPacket : public Packet { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_BLOCKPICKREQUESTPACKET +public: + class BlockPickRequestPacket& operator=(class BlockPickRequestPacket const &) = delete; + BlockPickRequestPacket(class BlockPickRequestPacket const &) = delete; + BlockPickRequestPacket() = delete; +#endif + +public: + /*0*/ virtual ~BlockPickRequestPacket(); + /*1*/ virtual enum MinecraftPacketIds getId() const; + /*2*/ virtual std::string getName() const; + /*3*/ virtual void write(class BinaryStream &) const; + /*4*/ virtual enum StreamReadResult read(class ReadOnlyBinaryStream &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_BLOCKPICKREQUESTPACKET +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/BlockPileFeature.hpp b/LiteLoader/Header/MC/BlockPileFeature.hpp new file mode 100644 index 0000000..6876b25 --- /dev/null +++ b/LiteLoader/Header/MC/BlockPileFeature.hpp @@ -0,0 +1,35 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Feature.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class BlockPileFeature : public Feature { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_BLOCKPILEFEATURE +public: + class BlockPileFeature& operator=(class BlockPileFeature const &) = delete; + BlockPileFeature(class BlockPileFeature const &) = delete; + BlockPileFeature() = delete; +#endif + +public: + /*0*/ virtual ~BlockPileFeature(); + /*1*/ virtual bool place(class BlockSource &, class BlockPos const &, class Random &) const; + /*3*/ virtual class Block const & getBlockToPlace(class Random &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_BLOCKPILEFEATURE +#endif + +//protected: + MCAPI void tryPlaceBlock(class BlockSource &, class BlockPos const &, class Random &) const; + +protected: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/BlockPlanterItem.hpp b/LiteLoader/Header/MC/BlockPlanterItem.hpp new file mode 100644 index 0000000..64499ed --- /dev/null +++ b/LiteLoader/Header/MC/BlockPlanterItem.hpp @@ -0,0 +1,47 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Item.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class BlockPlanterItem : public Item { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_BLOCKPLANTERITEM +public: + class BlockPlanterItem& operator=(class BlockPlanterItem const &) = delete; + BlockPlanterItem(class BlockPlanterItem const &) = delete; + BlockPlanterItem() = delete; +#endif + +public: + /*0*/ virtual ~BlockPlanterItem(); + /*5*/ virtual void __unk_vfn_5(); + /*26*/ virtual void __unk_vfn_26(); + /*27*/ virtual void __unk_vfn_27(); + /*31*/ virtual void __unk_vfn_31(); + /*32*/ virtual void __unk_vfn_32(); + /*34*/ virtual void __unk_vfn_34(); + /*37*/ virtual void __unk_vfn_37(); + /*43*/ virtual void __unk_vfn_43(); + /*46*/ virtual void __unk_vfn_46(); + /*47*/ virtual void __unk_vfn_47(); + /*49*/ virtual void __unk_vfn_49(); + /*50*/ virtual void __unk_vfn_50(); + /*79*/ virtual void __unk_vfn_79(); + /*80*/ virtual void __unk_vfn_80(); + /*90*/ virtual void __unk_vfn_90(); + /*96*/ virtual bool _calculatePlacePos(class ItemStack &, class Actor &, unsigned char &, class BlockPos &) const; + /*97*/ virtual void __unk_vfn_97(); + /*99*/ virtual bool _useOn(class ItemStack &, class Actor &, class BlockPos, unsigned char, float, float, float) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_BLOCKPLANTERITEM +#endif + MCAPI BlockPlanterItem(std::string const &, int, class Block const &, bool); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/BlockPos.hpp b/LiteLoader/Header/MC/BlockPos.hpp new file mode 100644 index 0000000..cc885ac --- /dev/null +++ b/LiteLoader/Header/MC/BlockPos.hpp @@ -0,0 +1,219 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + + +class Vec3; +class BlockPos { +public: + int x, y, z; + inline BlockPos() : BlockPos(0, 0, 0){}; + inline BlockPos(int mx, int my, int mz) : x(mx), y(my), z(mz){}; + + //MCAPI BlockPos(); + MCAPI BlockPos(class Vec3 const &); + MCAPI BlockPos(float, float, float); + MCAPI BlockPos(double, double, double); + MCAPI unsigned __int64 hashCode() const; + MCAPI class BlockPos relative(unsigned char, int) const; + MCAPI std::string toString() const; + MCAPI class BlockPos transform(enum Rotation, enum Mirror, class Vec3 const &) const; + MCAPI static class BlockPos const MAX; + MCAPI static class BlockPos const MIN; + MCAPI static class BlockPos const ONE; + MCAPI static class BlockPos const ZERO; + + std::vector getNeighbors() const { + std::vector res; + res.push_back({x, y - 1, z}); + res.push_back({x, y + 1, z}); + res.push_back({x, y, z - 1}); + res.push_back({x, y, z + 1}); + res.push_back({x - 1, y, z}); + res.push_back({x + 1, y, z}); + return res; + } + + inline std::string toString() const { + return std::to_string(x) + "," + std::to_string(y) + "," + std::to_string(z); + } + + inline BlockPos add(int dx) const { + return {x + dx, y, z}; + } + + inline BlockPos add(int dx, int dy) const { + return {x + dx, y + dy, z}; + } + + inline BlockPos add(int dx, int dy, int dz) const { + return {x + dx, y + dy, z + dz}; + } + + + int& operator[](int index) { + if (index < 0 || index > 2) { + return (&x)[0]; + } + return (&x)[index]; + } + + constexpr inline bool operator==(BlockPos const& b) const { + return x == b.x && y == b.y && z == b.z; + } + + constexpr bool operator!=(BlockPos const& b) const { + return x != b.x || y != b.y || z != b.z; + } + + constexpr BlockPos& operator+=(BlockPos const& b) { + x += b.x; + y += b.y; + z += b.z; + return *this; + } + + constexpr BlockPos& operator-=(BlockPos const& b) { + x -= b.x; + y -= b.y; + z -= b.z; + return *this; + } + + constexpr BlockPos& operator*=(BlockPos const& b) { + x *= b.x; + y *= b.y; + z *= b.z; + return *this; + } + + constexpr BlockPos& operator/=(BlockPos const& b) { + x /= b.x; + y /= b.y; + z /= b.z; + return *this; + } + + inline BlockPos operator+(BlockPos const& b) const { + return {x + b.x, y + b.y, z + b.z}; + } + + inline BlockPos operator*(BlockPos const& b) const { + return {x * b.x, y * b.y, z * b.z}; + } + + inline BlockPos operator/(BlockPos const& b) const { + return {x / b.x, y / b.y, z / b.z}; + } + + inline BlockPos operator-(BlockPos const& b) const { + return {x - b.x, y - b.y, z - b.z}; + } + + inline BlockPos operator*(int b) const { + return {x * b, y * b, z * b}; + } + + inline BlockPos operator/(int b) const { + return {x / b, y / b, z / b}; + } + + inline BlockPos operator+(int b) const { + return {x + b, y + b, z + b}; + } + + inline BlockPos operator-(int b) const { + return {x - b, y - b, z - b}; + } + + constexpr BlockPos& operator+=(int b) { + x += b; + y += b; + z += b; + return *this; + } + + constexpr BlockPos& operator-=(int b) { + x -= b; + y -= b; + z -= b; + return *this; + } + + constexpr BlockPos& operator*=(int b) { + x *= b; + y *= b; + z *= b; + return *this; + } + + constexpr BlockPos& operator/=(int b) { + x /= b; + y /= b; + z /= b; + return *this; + } + + inline bool containedWithin(BlockPos const& a, BlockPos const& b) const { + return x >= a.x && y >= a.y && z >= a.z && x <= b.x && y <= b.y && z <= b.z; + } + + inline double length() const { + return sqrt(x * x + y * y + z * z); + } + + inline double distanceTo(BlockPos const& a) const { + return (*this - a).length(); + } + + inline static BlockPos max(const BlockPos& a, const BlockPos& b) { + return {std::max(a.x, b.x), std::max(a.y, b.y), std::max(a.z, b.z)}; + } + + inline static BlockPos min(const BlockPos& a, const BlockPos& b) { + return {std::min(a.x, b.x), std::min(a.y, b.y), std::min(a.z, b.z)}; + } + + LIAPI Vec3 toVec3() const; + LIAPI class BoundingBox toBoundingBox() const; + LIAPI class AABB toAABB() const; + LIAPI Vec3 bottomCenter() const; + LIAPI Vec3 center() const; + LIAPI bool containedWithin(class BoundingBox const&) const; +}; + +namespace std { + +template <> struct hash { + std::size_t operator()(BlockPos const& pos) const noexcept { + //??$hash3@HHH@Math@mce@@SA_KAEBH00@Z + unsigned __int64 t1; // r8 + unsigned __int64 t2; // r8 + + t1 = *((unsigned __int8*)&pos.x + 3) ^ + (0x100000001B3i64 * + (*((unsigned __int8*)&pos.x + 2) ^ + (0x100000001B3i64 * (*((unsigned __int8*)&pos.x + 1) ^ + (0x100000001B3i64 * (*(unsigned __int8*)&pos.x ^ 0xCBF29CE484222325ui64)))))); + t2 = + (((0x100000001B3i64 * t1 + 2654435769u) >> 2) + 2654435769u + ((0x100000001B3i64 * t1 + 2654435769u) << 6) + + 0x100000001B3i64 * (*((unsigned __int8*)&pos.y + 3) ^ + (0x100000001B3i64 * + (*((unsigned __int8*)&pos.y + 2) ^ + (0x100000001B3i64 * + (*((unsigned __int8*)&pos.y + 1) ^ + (0x100000001B3i64 * (*(unsigned __int8*)&pos.y ^ 0xCBF29CE484222325ui64)))))))) ^ + (0x100000001B3i64 * t1 + 2654435769u); + return t2 ^ ((t2 << 6) + + 0x100000001B3i64 * + (*((unsigned __int8*)&pos.z + 3) ^ + (0x100000001B3i64 * (*((unsigned __int8*)&pos.z + 2) ^ + (0x100000001B3i64 * (*((unsigned __int8*)&pos.z + 1) ^ + (0x100000001B3i64 * (*(unsigned __int8*)&pos.z ^ + 0xCBF29CE484222325ui64))))))) + + (t2 >> 2) + 2654435769u); + } +}; + +} // namespace std \ No newline at end of file diff --git a/LiteLoader/Header/MC/BlockReducer.hpp b/LiteLoader/Header/MC/BlockReducer.hpp new file mode 100644 index 0000000..35b2fbb --- /dev/null +++ b/LiteLoader/Header/MC/BlockReducer.hpp @@ -0,0 +1,35 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class BlockReducer { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_BLOCKREDUCER +public: + class BlockReducer& operator=(class BlockReducer const &) = delete; + BlockReducer(class BlockReducer const &) = delete; + BlockReducer() = delete; +#endif + +public: + /*0*/ virtual ~BlockReducer(); + /*1*/ virtual void _registerBlock(class ItemStack const &, std::vector &&); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_BLOCKREDUCER +#endif + MCAPI std::vector const * getReduction(class ItemStackBase const &) const; + MCAPI void registerBlocks(); + +//protected: + MCAPI void _registerBlock(class ItemStack const &, std::vector const &); + +protected: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/BlockSelector.hpp b/LiteLoader/Header/MC/BlockSelector.hpp new file mode 100644 index 0000000..020b0b2 --- /dev/null +++ b/LiteLoader/Header/MC/BlockSelector.hpp @@ -0,0 +1,26 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class BlockSelector { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_BLOCKSELECTOR +public: + class BlockSelector& operator=(class BlockSelector const &) = delete; + BlockSelector(class BlockSelector const &) = delete; + BlockSelector() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_BLOCKSELECTOR +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/BlockSerializationUtils.hpp b/LiteLoader/Header/MC/BlockSerializationUtils.hpp new file mode 100644 index 0000000..bffcb17 --- /dev/null +++ b/LiteLoader/Header/MC/BlockSerializationUtils.hpp @@ -0,0 +1,25 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +namespace BlockSerializationUtils { + +#define AFTER_EXTRA +// Add Member There +// struct NbtToBlockCache { +// NbtToBlockCache() = delete; +// NbtToBlockCache(NbtToBlockCache const&) = delete; +// NbtToBlockCache(NbtToBlockCache const&&) = delete; +// }; +// enum NBTState; + +#undef AFTER_EXTRA + MCAPI extern class std::unordered_map, struct std::hash, struct std::equal_to, class std::allocator>>> BLOCK_REPLACE_DATA_MAP; + MCAPI class Block const * tryGetBlockFromNBT(class CompoundTag const &, struct BlockSerializationUtils::NbtToBlockCache *); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/BlockSet.hpp b/LiteLoader/Header/MC/BlockSet.hpp new file mode 100644 index 0000000..d6542b1 --- /dev/null +++ b/LiteLoader/Header/MC/BlockSet.hpp @@ -0,0 +1,27 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class BlockSet { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_BLOCKSET +public: + class BlockSet& operator=(class BlockSet const &) = delete; + BlockSet(class BlockSet const &) = delete; + BlockSet() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_BLOCKSET +#endif + MCAPI ~BlockSet(); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/BlockSource.hpp b/LiteLoader/Header/MC/BlockSource.hpp new file mode 100644 index 0000000..e5761c3 --- /dev/null +++ b/LiteLoader/Header/MC/BlockSource.hpp @@ -0,0 +1,135 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA +#include "BlockInstance.hpp" + +#undef BEFORE_EXTRA + +class BlockSource { + +#define AFTER_EXTRA +// Add Member There +#define ENABLE_VIRTUAL_FAKESYMBOL_BLOCKSOURCE +public: +// struct ClipParameters +// { +// MCAPI static const std::function CHECK_ALL_BLOCKS; +// }; + //LIAPI BlockInstance getBlockInstance(BlockPos); + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_BLOCKSOURCE +public: + class BlockSource& operator=(class BlockSource const &) = delete; + BlockSource(class BlockSource const &) = delete; + BlockSource() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_BLOCKSOURCE +#endif + MCAPI BlockSource(class Level &, class Dimension &, class ChunkSource &, bool, bool); + MCAPI void addListener(class BlockSourceListener &); + MCAPI void addToRandomTickingQueue(class BlockPos const &, class Block const &, int, int); + MCAPI void addToRandomTickingQueuePercentChance(class BlockPos const &, class Block const &, float, int); + MCAPI void addToTickingQueue(class BlockPos const &, class Block const &, int, int); + MCAPI bool areChunksFullyLoaded(class BlockPos const &, int); + MCAPI void blockEvent(class BlockPos const &, int, int); + MCAPI bool canSeeSky(class BlockPos const &) const; + MCAPI bool canSeeSky(int, int, int) const; + MCAPI bool canSeeSkyFromBelowWater(class BlockPos const &); + MCAPI bool checkBlockDestroyPermissions(class Actor &, class BlockPos const &, class ItemStack const &, bool); + MCAPI bool checkBlockPermissions(class Actor &, class BlockPos const &, unsigned char, class ItemStack const &, bool); + MCAPI class HitResult clip(class Vec3 const &, class Vec3 const &, bool, bool, int, bool, bool); + MCAPI bool containsAnyBlockOfType(class BlockPos const &, class BlockPos const &, class Block const &) const; + MCAPI bool containsAnyLiquid(class AABB const &); + MCAPI bool containsAnySolidBlocking(class AABB const &); + MCAPI bool containsFireBlock(class AABB const &); + MCAPI bool containsMaterial(class AABB const &, enum MaterialType); + MCAPI std::vector & fetchAABBs(class AABB const &, bool); + MCAPI class gsl::span, -1> fetchActors(struct ActorDefinitionIdentifier const &, class AABB const &); + MCAPI void fetchBlockEntities(class AABB const &, std::vector &); + MCAPI class gsl::span fetchBlocksInBox(class BoundingBox const &, class std::function); + MCAPI class gsl::span fetchBlocksInCylinder(class BlockPos const &, unsigned int, unsigned int, class std::function); + MCAPI class gsl::span fetchBlocksInCylinderSorted(class BlockPos const &, unsigned int, unsigned int, class std::function); + MCAPI std::vector & fetchCollisionShapes(class AABB const &, float *, bool, class Actor *); + MCAPI class gsl::span, -1> fetchEntities(class Actor const *, class AABB const &, bool); + MCAPI class gsl::span, -1> fetchEntities(class gsl::span, -1>, class AABB const &, bool); + MCAPI class gsl::span, -1> fetchEntities(enum ActorType, class AABB const &, class Actor const *); + MCAPI std::vector const & fetchEntities2(enum ActorType, class AABB const &, bool); + MCAPI class Actor * fetchNearestEntityOfType(class Actor *, class AABB const &, enum ActorType); + MCAPI bool findNextTopSolidBlockAbove(class BlockPos &); + MCAPI bool findNextTopSolidBlockUnder(class BlockPos &); + MCAPI void fireBlockChanged(class BlockPos const &, unsigned int, class Block const &, class Block const &, int, struct ActorBlockSyncMessage const *); + MCAPI void fireBlockEntityAboutToBeRemoved(class std::shared_ptr); + MCAPI void fireBlockEntityChanged(class BlockActor &); + MCAPI class AABB generateUnloadedChunkAABB(class ChunkPos const &); + MCAPI short getAboveTopSolidBlock(class BlockPos const &, bool, bool); + MCAPI class Biome & getBiome(class BlockPos const &); + MCAPI class Block const & getBlock(class BlockPos const &) const; + MCAPI class Block const & getBlock(int, int, int) const; + MCAPI class BlockActor * getBlockEntity(class BlockPos const &); + MCAPI class BlockActor * getBlockEntity(int, int, int); + MCAPI float getBrightness(class BlockPos const &) const; + MCAPI struct BrightnessPair getBrightnessPair(class BlockPos const &) const; + MCAPI class LevelChunk * getChunk(class ChunkPos const &) const; + MCAPI class Biome const & getConstBiome(class BlockPos const &) const; + MCAPI class Block const & getExtraBlock(class BlockPos const &) const; + MCAPI short getHeightmap(class BlockPos const &) const; + MCAPI short getHeightmap(int, int); + MCAPI class Block const & getLiquidBlock(class BlockPos const &) const; + MCAPI class Material const & getMaterial(int, int, int) const; + MCAPI bool getNextTickUpdateForPos(class BlockPos const &, enum TickingQueueType, struct Tick &) const; + MCAPI struct Brightness getRawBrightness(class BlockPos const &, bool, bool) const; + MCAPI float getSeenPercent(class Vec3 const &, class AABB const &); + MCAPI class BlockTickingQueue * getTickingQueue(class BlockPos const &, enum TickingQueueType) const; + MCAPI float getVisualLiquidHeight(class Vec3 const &); + MCAPI bool hasBlock(class BlockPos const &) const; + MCAPI bool hasBorderBlock(class BlockPos); + MCAPI bool hasChunksAt(struct Bounds const &) const; + MCAPI bool hasChunksAt(class AABB const &) const; + MCAPI bool hasChunksAt(class BlockPos const &, int) const; + MCAPI bool hasChunksAt(class BlockPos const &, class BlockPos const &) const; + MCAPI bool hasTickInCurrentTick(class BlockPos const &, enum TickingQueueType) const; + MCAPI bool hasTickInPendingTicks(class BlockPos const &) const; + MCAPI bool hasTickInPendingTicks(class BlockPos const &, enum TickingQueueType) const; + MCAPI bool hasTickInPendingTicks(class BlockPos const &, class Block const &, enum TickingQueueType) const; + MCAPI bool isConsideredSolidBlock(class BlockPos const &); + MCAPI bool isEmptyBlock(int, int, int); + MCAPI bool isInWall(class Vec3 const &); + MCAPI bool isPositionUnderLiquid(class Vec3 const &, enum MaterialType); + MCAPI bool isSolidBlockingBlock(int, int, int) const; + MCAPI bool isTouchingMaterial(class BlockPos const &, enum MaterialType) const; + MCAPI bool isUnderWater(class Vec3 const &, class Block const &) const; + MCAPI bool isUnobstructedByEntities(class AABB const &, class gsl::span, -1>); + MCAPI bool mayPlace(class Block const &, class BlockPos const &, unsigned char, class Actor *, bool); + MCAPI void neighborChanged(class BlockPos const &, class BlockPos const &); + MCAPI bool removeBlock(class BlockPos const &); + MCAPI bool setBlock(int, int, int, class Block const &, int); + MCAPI bool setBlock(class BlockPos const &, class Block const &, int, struct ActorBlockSyncMessage const *); + MCAPI bool setBlock(class BlockPos const &, class Block const &, int, class std::shared_ptr, struct ActorBlockSyncMessage const *); + MCAPI void setBorderBlock(class BlockPos const &, bool); + MCAPI bool setExtraBlock(class BlockPos const &, class Block const &, int); + MCAPI class Biome * tryGetBiome(class BlockPos const &) const; + MCAPI void updateNeighborsAt(class BlockPos const &); + MCAPI void updateNeighborsAtExceptFromFacing(class BlockPos const &, class BlockPos const &, int); + +//protected: + MCAPI std::vector & _fetchBorderBlockCollisions(class AABB const &, class Actor *, bool); + MCAPI bool _hasChunksAt(struct Bounds const &) const; + MCAPI void addUnloadedChunksAABBs(class AABB const &); + MCAPI void addVoidFloor(class AABB const &); + +//private: + MCAPI bool _getBlockPermissions(class BlockPos const &, bool); + MCAPI float _getLiquidHeight(class BlockPos const &, enum MaterialType, bool); + MCAPI void _removeFromTickingQueue(class BlockPos const &, class Block const &, enum TickingQueueType); + +protected: + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/BlockSourceListener.hpp b/LiteLoader/Header/MC/BlockSourceListener.hpp new file mode 100644 index 0000000..9edc69d --- /dev/null +++ b/LiteLoader/Header/MC/BlockSourceListener.hpp @@ -0,0 +1,41 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class BlockSourceListener { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_BLOCKSOURCELISTENER +public: + class BlockSourceListener& operator=(class BlockSourceListener const &) = delete; + BlockSourceListener(class BlockSourceListener const &) = delete; + BlockSourceListener() = delete; +#endif + +public: + /*0*/ virtual ~BlockSourceListener(); + /*1*/ virtual void __unk_vfn_1(); + /*2*/ virtual void __unk_vfn_2(); + /*3*/ virtual void __unk_vfn_3(); + /*4*/ virtual void __unk_vfn_4(); + /*5*/ virtual void onBrightnessChanged(class BlockSource &, class BlockPos const &); + /*6*/ virtual void __unk_vfn_6(); + /*7*/ virtual void onBlockEntityAboutToBeRemoved(class BlockSource &, class std::shared_ptr); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_BLOCKSOURCELISTENER + MCVAPI void onAreaChanged(class BlockSource &, class BlockPos const &, class BlockPos const &); + MCVAPI void onBlockChanged(class BlockSource &, class BlockPos const &, unsigned int, class Block const &, class Block const &, int, struct ActorBlockSyncMessage const *); + MCVAPI void onBlockEntityChanged(class BlockSource &, class BlockActor &); + MCVAPI void onBlockEvent(class BlockSource &, int, int, int, int, int); + MCVAPI void onEntityChanged(class BlockSource &, class Actor &); + MCVAPI void onSourceCreated(class BlockSource &); + MCVAPI void onSourceDestroyed(class BlockSource &); +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/BlockTickingQueue.hpp b/LiteLoader/Header/MC/BlockTickingQueue.hpp new file mode 100644 index 0000000..7d57688 --- /dev/null +++ b/LiteLoader/Header/MC/BlockTickingQueue.hpp @@ -0,0 +1,42 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class BlockTickingQueue { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_BLOCKTICKINGQUEUE +public: + class BlockTickingQueue& operator=(class BlockTickingQueue const &) = delete; + BlockTickingQueue(class BlockTickingQueue const &) = delete; + BlockTickingQueue() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_BLOCKTICKINGQUEUE +#endif + MCAPI void add(class BlockSource &, class BlockPos const &, class Block const &, int, int); + MCAPI void eliminateDuplicatesOf(class BlockLegacy const &); + MCAPI void load(class CompoundTag const &, class BlockPalette const &); + MCAPI void save(class CompoundTag &) const; + MCAPI bool tickPendingTicks(class BlockSource &, struct Tick const &, int, bool); + MCAPI ~BlockTickingQueue(); + +//protected: + MCAPI void _saveQueue(class ListTag &, class BlockTickingQueue::TickDataSet const &) const; + +//private: + MCAPI void _onQueueChanged() const; + +protected: + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/BlockTypeRegistry.hpp b/LiteLoader/Header/MC/BlockTypeRegistry.hpp new file mode 100644 index 0000000..6236699 --- /dev/null +++ b/LiteLoader/Header/MC/BlockTypeRegistry.hpp @@ -0,0 +1,34 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class BlockTypeRegistry { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_BLOCKTYPEREGISTRY +public: + class BlockTypeRegistry& operator=(class BlockTypeRegistry const &) = delete; + BlockTypeRegistry(class BlockTypeRegistry const &) = delete; + BlockTypeRegistry() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_BLOCKTYPEREGISTRY +#endif + MCAPI static void forEachBlock(class std::function); + MCAPI static class WeakPtr lookupByName(std::string const &); + MCAPI static void unregisterBlock(std::string const &); + +//private: + +private: + MCAPI static class std::unordered_map, struct std::hash, struct std::equal_to, class std::allocator>>> mBlockLookupMap; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/BlockUtils.hpp b/LiteLoader/Header/MC/BlockUtils.hpp new file mode 100644 index 0000000..2e07458 --- /dev/null +++ b/LiteLoader/Header/MC/BlockUtils.hpp @@ -0,0 +1,28 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class BlockUtils { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_BLOCKUTILS +public: + class BlockUtils& operator=(class BlockUtils const &) = delete; + BlockUtils(class BlockUtils const &) = delete; + BlockUtils() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_BLOCKUTILS +#endif + MCAPI static bool isFullFlowingLiquid(class Block const &); + MCAPI static bool isLiquidSource(class Block const &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/BlockVolume.hpp b/LiteLoader/Header/MC/BlockVolume.hpp new file mode 100644 index 0000000..57dd8f9 --- /dev/null +++ b/LiteLoader/Header/MC/BlockVolume.hpp @@ -0,0 +1,30 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class BlockVolume { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_BLOCKVOLUME +public: + class BlockVolume& operator=(class BlockVolume const &) = delete; + BlockVolume(class BlockVolume const &) = delete; + BlockVolume() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_BLOCKVOLUME +#endif + MCAPI struct BlockVolume::BlockVolumeIter begin(); + MCAPI std::unique_ptr> computeHeightMap() const; + MCAPI struct BlockVolume::BlockVolumeIter end(); + MCAPI short getAboveTopSolidBlock(class ChunkBlockPos const &, bool, bool, bool) const; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/BlueFireBlock.hpp b/LiteLoader/Header/MC/BlueFireBlock.hpp new file mode 100644 index 0000000..8717cdf --- /dev/null +++ b/LiteLoader/Header/MC/BlueFireBlock.hpp @@ -0,0 +1,70 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "BlockLegacy.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class BlueFireBlock : public BlockLegacy { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_BLUEFIREBLOCK +public: + class BlueFireBlock& operator=(class BlueFireBlock const &) = delete; + BlueFireBlock(class BlueFireBlock const &) = delete; + BlueFireBlock() = delete; +#endif + +public: + /*0*/ virtual ~BlueFireBlock(); + /*1*/ virtual void tick(class BlockSource &, class BlockPos const &, class Random &) const; + /*10*/ virtual class AABB const & getAABB(class BlockSource &, class BlockPos const &, class Block const &, class AABB &, bool) const; + /*18*/ virtual void __unk_vfn_18(); + /*24*/ virtual void __unk_vfn_24(); + /*25*/ virtual void __unk_vfn_25(); + /*26*/ virtual void __unk_vfn_26(); + /*27*/ virtual void __unk_vfn_27(); + /*28*/ virtual void __unk_vfn_28(); + /*30*/ virtual void __unk_vfn_30(); + /*31*/ virtual void __unk_vfn_31(); + /*32*/ virtual void __unk_vfn_32(); + /*33*/ virtual void __unk_vfn_33(); + /*34*/ virtual void __unk_vfn_34(); + /*35*/ virtual void __unk_vfn_35(); + /*36*/ virtual void __unk_vfn_36(); + /*38*/ virtual void __unk_vfn_38(); + /*39*/ virtual void __unk_vfn_39(); + /*40*/ virtual void __unk_vfn_40(); + /*42*/ virtual void __unk_vfn_42(); + /*43*/ virtual void __unk_vfn_43(); + /*49*/ virtual void __unk_vfn_49(); + /*50*/ virtual bool canContainLiquid() const; + /*52*/ virtual void __unk_vfn_52(); + /*59*/ virtual void onPlace(class BlockSource &, class BlockPos const &) const; + /*67*/ virtual void __unk_vfn_67(); + /*73*/ virtual void __unk_vfn_73(); + /*78*/ virtual bool mayPick() const; + /*81*/ virtual bool mayPlace(class BlockSource &, class BlockPos const &) const; + /*87*/ virtual void __unk_vfn_87(); + /*88*/ virtual void neighborChanged(class BlockSource &, class BlockPos const &, class BlockPos const &) const; + /*90*/ virtual int getResourceCount(class Random &, class Block const &, int, bool) const; + /*95*/ virtual void __unk_vfn_95(); + /*106*/ virtual bool canSurvive(class BlockSource &, class BlockPos const &) const; + /*109*/ virtual void __unk_vfn_109(); + /*116*/ virtual void __unk_vfn_116(); + /*118*/ virtual void __unk_vfn_118(); + /*119*/ virtual void __unk_vfn_119(); + /*142*/ virtual void __unk_vfn_142(); + /*146*/ virtual void animateTick(class BlockSource &, class BlockPos const &, class Random &) const; + /*158*/ virtual void __unk_vfn_158(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_BLUEFIREBLOCK + MCVAPI bool canBeSilkTouched() const; + MCVAPI bool waterSpreadCausesSpawn() const; +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/BlueIceBlock.hpp b/LiteLoader/Header/MC/BlueIceBlock.hpp new file mode 100644 index 0000000..70b575d --- /dev/null +++ b/LiteLoader/Header/MC/BlueIceBlock.hpp @@ -0,0 +1,59 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "BlockLegacy.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class BlueIceBlock : public BlockLegacy { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_BLUEICEBLOCK +public: + class BlueIceBlock& operator=(class BlueIceBlock const &) = delete; + BlueIceBlock(class BlueIceBlock const &) = delete; + BlueIceBlock() = delete; +#endif + +public: + /*0*/ virtual ~BlueIceBlock(); + /*18*/ virtual void __unk_vfn_18(); + /*24*/ virtual void __unk_vfn_24(); + /*25*/ virtual void __unk_vfn_25(); + /*26*/ virtual void __unk_vfn_26(); + /*27*/ virtual void __unk_vfn_27(); + /*28*/ virtual void __unk_vfn_28(); + /*30*/ virtual void __unk_vfn_30(); + /*31*/ virtual void __unk_vfn_31(); + /*32*/ virtual void __unk_vfn_32(); + /*33*/ virtual void __unk_vfn_33(); + /*34*/ virtual void __unk_vfn_34(); + /*35*/ virtual void __unk_vfn_35(); + /*36*/ virtual void __unk_vfn_36(); + /*38*/ virtual void __unk_vfn_38(); + /*39*/ virtual void __unk_vfn_39(); + /*40*/ virtual void __unk_vfn_40(); + /*42*/ virtual void __unk_vfn_42(); + /*43*/ virtual void __unk_vfn_43(); + /*49*/ virtual void __unk_vfn_49(); + /*52*/ virtual void __unk_vfn_52(); + /*67*/ virtual void __unk_vfn_67(); + /*73*/ virtual void __unk_vfn_73(); + /*87*/ virtual void __unk_vfn_87(); + /*90*/ virtual int getResourceCount(class Random &, class Block const &, int, bool) const; + /*95*/ virtual void __unk_vfn_95(); + /*109*/ virtual void __unk_vfn_109(); + /*116*/ virtual void __unk_vfn_116(); + /*118*/ virtual void __unk_vfn_118(); + /*119*/ virtual void __unk_vfn_119(); + /*142*/ virtual void __unk_vfn_142(); + /*158*/ virtual void __unk_vfn_158(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_BLUEICEBLOCK +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/BlueIceFeature.hpp b/LiteLoader/Header/MC/BlueIceFeature.hpp new file mode 100644 index 0000000..656ff28 --- /dev/null +++ b/LiteLoader/Header/MC/BlueIceFeature.hpp @@ -0,0 +1,29 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Feature.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class BlueIceFeature : public Feature { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_BLUEICEFEATURE +public: + class BlueIceFeature& operator=(class BlueIceFeature const &) = delete; + BlueIceFeature(class BlueIceFeature const &) = delete; + BlueIceFeature() = delete; +#endif + +public: + /*0*/ virtual ~BlueIceFeature(); + /*1*/ virtual bool place(class BlockSource &, class BlockPos const &, class Random &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_BLUEICEFEATURE +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/Boat.hpp b/LiteLoader/Header/MC/Boat.hpp new file mode 100644 index 0000000..287da4e --- /dev/null +++ b/LiteLoader/Header/MC/Boat.hpp @@ -0,0 +1,80 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Actor.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class Boat : public Actor { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_BOAT +public: + class Boat& operator=(class Boat const &) = delete; + Boat(class Boat const &) = delete; + Boat() = delete; +#endif + +public: + /*1*/ virtual void reloadHardcoded(enum Actor::InitializationMethod, class VariantParameterList const &); + /*2*/ virtual void reloadHardcodedClient(enum Actor::InitializationMethod, class VariantParameterList const &); + /*7*/ virtual ~Boat(); + /*11*/ virtual void remove(); + /*30*/ virtual void __unk_vfn_30(); + /*39*/ virtual void normalTick(); + /*45*/ virtual void addRider(class Actor &); + /*47*/ virtual std::string getExitTip(std::string const &, enum InputMode) const; + /*54*/ virtual void __unk_vfn_54(); + /*61*/ virtual void __unk_vfn_61(); + /*73*/ virtual float getShadowHeightOffs(); + /*74*/ virtual float getShadowRadius() const; + /*76*/ virtual void __unk_vfn_76(); + /*81*/ virtual void __unk_vfn_81(); + /*83*/ virtual void onAboveBubbleColumn(bool); + /*87*/ virtual bool isPickable(); + /*88*/ virtual void __unk_vfn_88(); + /*90*/ virtual void __unk_vfn_90(); + /*98*/ virtual void __unk_vfn_98(); + /*100*/ virtual void __unk_vfn_100(); + /*121*/ virtual void __unk_vfn_121(); + /*124*/ virtual bool isInvulnerableTo(class ActorDamageSource const &) const; + /*169*/ virtual void __unk_vfn_169(); + /*171*/ virtual struct ActorUniqueID getControllingPlayer() const; + /*178*/ virtual bool canAddRider(class Actor &) const; + /*182*/ virtual void __unk_vfn_182(); + /*206*/ virtual void __unk_vfn_206(); + /*207*/ virtual void __unk_vfn_207(); + /*210*/ virtual float getRiderYRotation(class Actor const &) const; + /*228*/ virtual void __unk_vfn_228(); + /*231*/ virtual void __unk_vfn_231(); + /*238*/ virtual void __unk_vfn_238(); + /*240*/ virtual bool _hurt(class ActorDamageSource const &, int, bool, bool); + /*246*/ virtual void __unk_vfn_246(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_BOAT +#endif + MCAPI Boat(class ActorDefinitionGroup *, struct ActorDefinitionIdentifier const &); + MCAPI void computePaddleForcesBasedOnGaze(class Vec3 &, float &, float &, float, float); + MCAPI void destroy(class Actor *); + MCAPI float getRowingTime(enum Side) const; + MCAPI void setRowingTime(enum Side, float); + +//protected: + MCAPI void setBubbleTime(int); + MCAPI void tickBubbleColumn(); + +//private: + MCAPI void _computePaddleForce(float &, float &, float, float); + MCAPI void _control(); + MCAPI void _float(); + MCAPI void _paddleControl(enum Side, class Vec3 &, class Vec3 &); + +protected: + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/BoatFrictionHelper.hpp b/LiteLoader/Header/MC/BoatFrictionHelper.hpp new file mode 100644 index 0000000..f2855fe --- /dev/null +++ b/LiteLoader/Header/MC/BoatFrictionHelper.hpp @@ -0,0 +1,17 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +namespace BoatFrictionHelper { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA + MCAPI float getFrictionBasedOnCollision(class BlockSource &, class BlockPos const &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/BoatItem.hpp b/LiteLoader/Header/MC/BoatItem.hpp new file mode 100644 index 0000000..313fc64 --- /dev/null +++ b/LiteLoader/Header/MC/BoatItem.hpp @@ -0,0 +1,52 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Item.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class BoatItem : public Item { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_BOATITEM +public: + class BoatItem& operator=(class BoatItem const &) = delete; + BoatItem(class BoatItem const &) = delete; + BoatItem() = delete; +#endif + +public: + /*0*/ virtual ~BoatItem(); + /*5*/ virtual void __unk_vfn_5(); + /*22*/ virtual bool isStackedByData() const; + /*26*/ virtual void __unk_vfn_26(); + /*27*/ virtual void __unk_vfn_27(); + /*31*/ virtual void __unk_vfn_31(); + /*32*/ virtual void __unk_vfn_32(); + /*34*/ virtual void __unk_vfn_34(); + /*36*/ virtual bool isLiquidClipItem(int) const; + /*37*/ virtual void __unk_vfn_37(); + /*43*/ virtual void __unk_vfn_43(); + /*44*/ virtual bool isValidAuxValue(int) const; + /*46*/ virtual void __unk_vfn_46(); + /*47*/ virtual void __unk_vfn_47(); + /*49*/ virtual void __unk_vfn_49(); + /*50*/ virtual void __unk_vfn_50(); + /*57*/ virtual bool dispense(class BlockSource &, class Container &, int, class Vec3 const &, unsigned char) const; + /*65*/ virtual std::string buildDescriptionId(class ItemDescriptor const &, class CompoundTag const *) const; + /*79*/ virtual void __unk_vfn_79(); + /*80*/ virtual void __unk_vfn_80(); + /*85*/ virtual struct TextureUVCoordinateSet const & getIcon(class ItemStackBase const &, int, bool) const; + /*87*/ virtual class Item & setIcon(std::string const &, int); + /*90*/ virtual void __unk_vfn_90(); + /*97*/ virtual void __unk_vfn_97(); + /*99*/ virtual bool _useOn(class ItemStack &, class Actor &, class BlockPos, unsigned char, float, float, float) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_BOATITEM +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/BodyControl.hpp b/LiteLoader/Header/MC/BodyControl.hpp new file mode 100644 index 0000000..1253b88 --- /dev/null +++ b/LiteLoader/Header/MC/BodyControl.hpp @@ -0,0 +1,28 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class BodyControl { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_BODYCONTROL +public: + class BodyControl& operator=(class BodyControl const &) = delete; + BodyControl(class BodyControl const &) = delete; + BodyControl() = delete; +#endif + +public: + /*0*/ virtual ~BodyControl(); + /*1*/ virtual void clientTick(class Mob &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_BODYCONTROL +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/BodyControlSystem.hpp b/LiteLoader/Header/MC/BodyControlSystem.hpp new file mode 100644 index 0000000..69cc1e9 --- /dev/null +++ b/LiteLoader/Header/MC/BodyControlSystem.hpp @@ -0,0 +1,28 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class BodyControlSystem { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_BODYCONTROLSYSTEM +public: + class BodyControlSystem& operator=(class BodyControlSystem const &) = delete; + BodyControlSystem(class BodyControlSystem const &) = delete; + BodyControlSystem() = delete; +#endif + +public: + /*0*/ virtual ~BodyControlSystem(); + /*1*/ virtual void tick(class EntityRegistry &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_BODYCONTROLSYSTEM +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/BoneAnimationChannel.hpp b/LiteLoader/Header/MC/BoneAnimationChannel.hpp new file mode 100644 index 0000000..c789fdc --- /dev/null +++ b/LiteLoader/Header/MC/BoneAnimationChannel.hpp @@ -0,0 +1,27 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class BoneAnimationChannel { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_BONEANIMATIONCHANNEL +public: + class BoneAnimationChannel& operator=(class BoneAnimationChannel const &) = delete; + BoneAnimationChannel(class BoneAnimationChannel const &) = delete; + BoneAnimationChannel() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_BONEANIMATIONCHANNEL +#endif + MCAPI class KeyFrameTransform & addKeyFrame(float); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/BoneOrientation.hpp b/LiteLoader/Header/MC/BoneOrientation.hpp new file mode 100644 index 0000000..862f8e4 --- /dev/null +++ b/LiteLoader/Header/MC/BoneOrientation.hpp @@ -0,0 +1,26 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class BoneOrientation { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_BONEORIENTATION +public: + class BoneOrientation& operator=(class BoneOrientation const &) = delete; + BoneOrientation(class BoneOrientation const &) = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_BONEORIENTATION +#endif + MCAPI BoneOrientation(); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/BoneOrientationTransform.hpp b/LiteLoader/Header/MC/BoneOrientationTransform.hpp new file mode 100644 index 0000000..23b6682 --- /dev/null +++ b/LiteLoader/Header/MC/BoneOrientationTransform.hpp @@ -0,0 +1,26 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class BoneOrientationTransform { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_BONEORIENTATIONTRANSFORM +public: + class BoneOrientationTransform& operator=(class BoneOrientationTransform const &) = delete; + BoneOrientationTransform(class BoneOrientationTransform const &) = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_BONEORIENTATIONTRANSFORM +#endif + MCAPI BoneOrientationTransform(); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/BonusChestFeature.hpp b/LiteLoader/Header/MC/BonusChestFeature.hpp new file mode 100644 index 0000000..f071006 --- /dev/null +++ b/LiteLoader/Header/MC/BonusChestFeature.hpp @@ -0,0 +1,34 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Feature.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class BonusChestFeature : public Feature { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_BONUSCHESTFEATURE +public: + class BonusChestFeature& operator=(class BonusChestFeature const &) = delete; + BonusChestFeature(class BonusChestFeature const &) = delete; + BonusChestFeature() = delete; +#endif + +public: + /*0*/ virtual ~BonusChestFeature(); + /*1*/ virtual bool place(class BlockSource &, class BlockPos const &, class Random &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_BONUSCHESTFEATURE +#endif + +//private: + MCAPI bool _place(class BlockSource &, class BlockPos const &, class Random &) const; + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/BookCloningRecipe.hpp b/LiteLoader/Header/MC/BookCloningRecipe.hpp new file mode 100644 index 0000000..d3bdc52 --- /dev/null +++ b/LiteLoader/Header/MC/BookCloningRecipe.hpp @@ -0,0 +1,37 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Recipe.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class BookCloningRecipe : public Recipe { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_BOOKCLONINGRECIPE +public: + class BookCloningRecipe& operator=(class BookCloningRecipe const &) = delete; + BookCloningRecipe(class BookCloningRecipe const &) = delete; + BookCloningRecipe() = delete; +#endif + +public: + /*0*/ virtual ~BookCloningRecipe(); + /*1*/ virtual std::vector const & assemble(class CraftingContainer &) const; + /*2*/ virtual int getCraftingSize() const; + /*3*/ virtual class RecipeIngredient const & getIngredient(int, int) const; + /*4*/ virtual std::vector const & getResultItem() const; + /*6*/ virtual bool matches(class CraftingContainer &, class Level &) const; + /*7*/ virtual int size() const; + /*8*/ virtual bool isExperimental() const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_BOOKCLONINGRECIPE +#endif + MCAPI BookCloningRecipe(std::string, class mce::UUID const &); + MCAPI static class mce::UUID const ID; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/BookEditPacket.hpp b/LiteLoader/Header/MC/BookEditPacket.hpp new file mode 100644 index 0000000..dbebfe2 --- /dev/null +++ b/LiteLoader/Header/MC/BookEditPacket.hpp @@ -0,0 +1,39 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Packet.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class BookEditPacket : public Packet { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_BOOKEDITPACKET +public: + class BookEditPacket& operator=(class BookEditPacket const &) = delete; + BookEditPacket() = delete; +#endif + +public: + /*0*/ virtual ~BookEditPacket(); + /*1*/ virtual enum MinecraftPacketIds getId() const; + /*2*/ virtual std::string getName() const; + /*3*/ virtual void write(class BinaryStream &) const; + /*4*/ virtual enum StreamReadResult read(class ReadOnlyBinaryStream &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_BOOKEDITPACKET +#endif + MCAPI BookEditPacket(class BookEditPacket const &); + MCAPI struct PageContent getPage() const; + +//private: + MCAPI void _readPage(class ReadOnlyBinaryStream &); + MCAPI void _writePage(class BinaryStream &) const; + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/BookshelfBlock.hpp b/LiteLoader/Header/MC/BookshelfBlock.hpp new file mode 100644 index 0000000..ef68655 --- /dev/null +++ b/LiteLoader/Header/MC/BookshelfBlock.hpp @@ -0,0 +1,61 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "BlockLegacy.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class BookshelfBlock : public BlockLegacy { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_BOOKSHELFBLOCK +public: + class BookshelfBlock& operator=(class BookshelfBlock const &) = delete; + BookshelfBlock(class BookshelfBlock const &) = delete; + BookshelfBlock() = delete; +#endif + +public: + /*0*/ virtual ~BookshelfBlock(); + /*18*/ virtual void __unk_vfn_18(); + /*24*/ virtual void __unk_vfn_24(); + /*25*/ virtual void __unk_vfn_25(); + /*26*/ virtual void __unk_vfn_26(); + /*27*/ virtual void __unk_vfn_27(); + /*28*/ virtual void __unk_vfn_28(); + /*30*/ virtual void __unk_vfn_30(); + /*31*/ virtual void __unk_vfn_31(); + /*32*/ virtual void __unk_vfn_32(); + /*33*/ virtual void __unk_vfn_33(); + /*34*/ virtual void __unk_vfn_34(); + /*35*/ virtual void __unk_vfn_35(); + /*36*/ virtual void __unk_vfn_36(); + /*38*/ virtual void __unk_vfn_38(); + /*39*/ virtual void __unk_vfn_39(); + /*40*/ virtual void __unk_vfn_40(); + /*42*/ virtual void __unk_vfn_42(); + /*43*/ virtual void __unk_vfn_43(); + /*49*/ virtual void __unk_vfn_49(); + /*52*/ virtual void __unk_vfn_52(); + /*67*/ virtual void __unk_vfn_67(); + /*73*/ virtual void __unk_vfn_73(); + /*87*/ virtual void __unk_vfn_87(); + /*90*/ virtual int getResourceCount(class Random &, class Block const &, int, bool) const; + /*91*/ virtual class ItemInstance getResourceItem(class Random &, class Block const &, int) const; + /*95*/ virtual void __unk_vfn_95(); + /*109*/ virtual void __unk_vfn_109(); + /*116*/ virtual void __unk_vfn_116(); + /*118*/ virtual void __unk_vfn_118(); + /*119*/ virtual void __unk_vfn_119(); + /*142*/ virtual void __unk_vfn_142(); + /*146*/ virtual void animateTick(class BlockSource &, class BlockPos const &, class Random &) const; + /*158*/ virtual void __unk_vfn_158(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_BOOKSHELFBLOCK +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/BoolOption.hpp b/LiteLoader/Header/MC/BoolOption.hpp new file mode 100644 index 0000000..3023a39 --- /dev/null +++ b/LiteLoader/Header/MC/BoolOption.hpp @@ -0,0 +1,32 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Json.hpp" +#include "Option.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class BoolOption : public Option { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_BOOLOPTION +public: + class BoolOption& operator=(class BoolOption const &) = delete; + BoolOption(class BoolOption const &) = delete; + BoolOption() = delete; +#endif + +public: + /*0*/ virtual ~BoolOption(); + /*1*/ virtual void save(std::vector> &); + /*2*/ virtual void load(std::string const &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_BOOLOPTION +#endif + MCAPI void set(bool, bool); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/BoostItem.hpp b/LiteLoader/Header/MC/BoostItem.hpp new file mode 100644 index 0000000..e705f36 --- /dev/null +++ b/LiteLoader/Header/MC/BoostItem.hpp @@ -0,0 +1,27 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +struct BoostItem { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_BOOSTITEM +public: + struct BoostItem& operator=(struct BoostItem const &) = delete; + BoostItem(struct BoostItem const &) = delete; + BoostItem() = delete; +#endif +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_BOOSTITEM +#endif + MCAPI void setItem(std::string const &); + MCAPI void setReplacement(std::string const &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/BoostableComponent.hpp b/LiteLoader/Header/MC/BoostableComponent.hpp new file mode 100644 index 0000000..f887cf9 --- /dev/null +++ b/LiteLoader/Header/MC/BoostableComponent.hpp @@ -0,0 +1,34 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class BoostableComponent { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_BOOSTABLECOMPONENT +public: + class BoostableComponent& operator=(class BoostableComponent const &) = delete; + BoostableComponent(class BoostableComponent const &) = delete; + BoostableComponent() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_BOOSTABLECOMPONENT +#endif + MCAPI bool onItemInteract(class Actor &, class ItemStack &, class Player &); + +//private: + MCAPI void _useItem(class Actor &, class ItemStack &, class Player &); + +private: + MCAPI static class std::shared_ptr SPEED_MODIFIER_BOOSTING; + MCAPI static class mce::UUID const SPEED_MODIFIER_BOOSTING_UUID; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/BoostableDefinition.hpp b/LiteLoader/Header/MC/BoostableDefinition.hpp new file mode 100644 index 0000000..1a2ffea --- /dev/null +++ b/LiteLoader/Header/MC/BoostableDefinition.hpp @@ -0,0 +1,28 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "JsonUtil.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class BoostableDefinition { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_BOOSTABLEDEFINITION +public: + class BoostableDefinition& operator=(class BoostableDefinition const &) = delete; + BoostableDefinition(class BoostableDefinition const &) = delete; + BoostableDefinition() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_BOOSTABLEDEFINITION +#endif + MCAPI static void buildSchema(class std::shared_ptr> &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/BoostableSystem.hpp b/LiteLoader/Header/MC/BoostableSystem.hpp new file mode 100644 index 0000000..c2c6053 --- /dev/null +++ b/LiteLoader/Header/MC/BoostableSystem.hpp @@ -0,0 +1,28 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class BoostableSystem { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_BOOSTABLESYSTEM +public: + class BoostableSystem& operator=(class BoostableSystem const &) = delete; + BoostableSystem(class BoostableSystem const &) = delete; + BoostableSystem() = delete; +#endif + +public: + /*0*/ virtual ~BoostableSystem(); + /*1*/ virtual void tick(class EntityRegistry &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_BOOSTABLESYSTEM +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/BorderBlock.hpp b/LiteLoader/Header/MC/BorderBlock.hpp new file mode 100644 index 0000000..3eeb953 --- /dev/null +++ b/LiteLoader/Header/MC/BorderBlock.hpp @@ -0,0 +1,69 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "WallBlock.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class BorderBlock : public WallBlock { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_BORDERBLOCK +public: + class BorderBlock& operator=(class BorderBlock const &) = delete; + BorderBlock(class BorderBlock const &) = delete; + BorderBlock() = delete; +#endif + +public: + /*0*/ virtual ~BorderBlock(); + /*5*/ virtual bool getCollisionShape(class AABB &, class Block const &, class BlockSource &, class BlockPos const &, class Actor *) const; + /*18*/ virtual void __unk_vfn_18(); + /*24*/ virtual void __unk_vfn_24(); + /*25*/ virtual void __unk_vfn_25(); + /*26*/ virtual void __unk_vfn_26(); + /*27*/ virtual void __unk_vfn_27(); + /*28*/ virtual void __unk_vfn_28(); + /*30*/ virtual void __unk_vfn_30(); + /*31*/ virtual void __unk_vfn_31(); + /*32*/ virtual void __unk_vfn_32(); + /*33*/ virtual void __unk_vfn_33(); + /*34*/ virtual void __unk_vfn_34(); + /*35*/ virtual void __unk_vfn_35(); + /*36*/ virtual void __unk_vfn_36(); + /*38*/ virtual void __unk_vfn_38(); + /*39*/ virtual void __unk_vfn_39(); + /*40*/ virtual void __unk_vfn_40(); + /*42*/ virtual void __unk_vfn_42(); + /*43*/ virtual void __unk_vfn_43(); + /*49*/ virtual void __unk_vfn_49(); + /*52*/ virtual void __unk_vfn_52(); + /*59*/ virtual void onPlace(class BlockSource &, class BlockPos const &) const; + /*60*/ virtual void onRemove(class BlockSource &, class BlockPos const &) const; + /*67*/ virtual void __unk_vfn_67(); + /*70*/ virtual void setupRedstoneComponent(class BlockSource &, class BlockPos const &) const; + /*73*/ virtual void __unk_vfn_73(); + /*87*/ virtual void __unk_vfn_87(); + /*90*/ virtual int getResourceCount(class Random &, class Block const &, int, bool) const; + /*91*/ virtual class ItemInstance getResourceItem(class Random &, class Block const &, int) const; + /*95*/ virtual void __unk_vfn_95(); + /*109*/ virtual void __unk_vfn_109(); + /*116*/ virtual void __unk_vfn_116(); + /*118*/ virtual void __unk_vfn_118(); + /*119*/ virtual void __unk_vfn_119(); + /*127*/ virtual std::string buildDescriptionId(class Block const &) const; + /*137*/ virtual class AABB const & getVisualShapeInWorld(class Block const &, class BlockSource &, class BlockPos const &, class AABB &, bool) const; + /*138*/ virtual class AABB const & getVisualShape(class Block const &, class AABB &, bool) const; + /*141*/ virtual int getVariant(class Block const &) const; + /*142*/ virtual void __unk_vfn_142(); + /*146*/ virtual void animateTick(class BlockSource &, class BlockPos const &, class Random &) const; + /*158*/ virtual void __unk_vfn_158(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_BORDERBLOCK +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/BossComponent.hpp b/LiteLoader/Header/MC/BossComponent.hpp new file mode 100644 index 0000000..3a3d2b0 --- /dev/null +++ b/LiteLoader/Header/MC/BossComponent.hpp @@ -0,0 +1,36 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class BossComponent { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_BOSSCOMPONENT +public: + class BossComponent& operator=(class BossComponent const &) = delete; + BossComponent(class BossComponent const &) = delete; + BossComponent() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_BOSSCOMPONENT +#endif + MCAPI BossComponent(class BossComponent &&); + MCAPI void addPlayerToParty(class mce::UUID, int); + MCAPI void broadcastBossEvent(class Actor &, enum BossEventUpdateType); + MCAPI void sendDeathTelemetry(class Actor &); + MCAPI void unRegisterPlayer(class Actor &, class Player *); + +//private: + MCAPI void _sendBossEvent(class Actor &, enum BossEventUpdateType, class Player *); + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/BossDefinition.hpp b/LiteLoader/Header/MC/BossDefinition.hpp new file mode 100644 index 0000000..9516e7e --- /dev/null +++ b/LiteLoader/Header/MC/BossDefinition.hpp @@ -0,0 +1,27 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class BossDefinition { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_BOSSDEFINITION +public: + class BossDefinition& operator=(class BossDefinition const &) = delete; + BossDefinition(class BossDefinition const &) = delete; + BossDefinition() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_BOSSDEFINITION +#endif + MCAPI void initialize(class EntityContext &, class BossComponent &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/BossEventPacket.hpp b/LiteLoader/Header/MC/BossEventPacket.hpp new file mode 100644 index 0000000..8a58ea3 --- /dev/null +++ b/LiteLoader/Header/MC/BossEventPacket.hpp @@ -0,0 +1,32 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Packet.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class BossEventPacket : public Packet { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_BOSSEVENTPACKET +public: + class BossEventPacket& operator=(class BossEventPacket const &) = delete; + BossEventPacket(class BossEventPacket const &) = delete; + BossEventPacket() = delete; +#endif + +public: + /*0*/ virtual ~BossEventPacket(); + /*1*/ virtual enum MinecraftPacketIds getId() const; + /*2*/ virtual std::string getName() const; + /*3*/ virtual void write(class BinaryStream &) const; + /*4*/ virtual enum StreamReadResult read(class ReadOnlyBinaryStream &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_BOSSEVENTPACKET +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/BossSystem.hpp b/LiteLoader/Header/MC/BossSystem.hpp new file mode 100644 index 0000000..032ad4a --- /dev/null +++ b/LiteLoader/Header/MC/BossSystem.hpp @@ -0,0 +1,28 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class BossSystem { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_BOSSSYSTEM +public: + class BossSystem& operator=(class BossSystem const &) = delete; + BossSystem(class BossSystem const &) = delete; + BossSystem() = delete; +#endif + +public: + /*0*/ virtual ~BossSystem(); + /*1*/ virtual void tick(class EntityRegistry &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_BOSSSYSTEM +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/BottleItem.hpp b/LiteLoader/Header/MC/BottleItem.hpp new file mode 100644 index 0000000..311b2e0 --- /dev/null +++ b/LiteLoader/Header/MC/BottleItem.hpp @@ -0,0 +1,53 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Item.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class BottleItem : public Item { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_BOTTLEITEM +public: + class BottleItem& operator=(class BottleItem const &) = delete; + BottleItem(class BottleItem const &) = delete; + BottleItem() = delete; +#endif + +public: + /*0*/ virtual ~BottleItem(); + /*5*/ virtual void __unk_vfn_5(); + /*26*/ virtual void __unk_vfn_26(); + /*27*/ virtual void __unk_vfn_27(); + /*31*/ virtual void __unk_vfn_31(); + /*32*/ virtual void __unk_vfn_32(); + /*34*/ virtual void __unk_vfn_34(); + /*36*/ virtual bool isLiquidClipItem(int) const; + /*37*/ virtual void __unk_vfn_37(); + /*43*/ virtual void __unk_vfn_43(); + /*46*/ virtual void __unk_vfn_46(); + /*47*/ virtual void __unk_vfn_47(); + /*49*/ virtual void __unk_vfn_49(); + /*50*/ virtual void __unk_vfn_50(); + /*57*/ virtual bool dispense(class BlockSource &, class Container &, int, class Vec3 const &, unsigned char) const; + /*79*/ virtual void __unk_vfn_79(); + /*80*/ virtual void __unk_vfn_80(); + /*90*/ virtual void __unk_vfn_90(); + /*97*/ virtual void __unk_vfn_97(); + /*99*/ virtual bool _useOn(class ItemStack &, class Actor &, class BlockPos, unsigned char, float, float, float) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_BOTTLEITEM +#endif + +//private: + MCAPI void _createBottledItem(class Actor &, class ItemStack &, class Item const &) const; + MCAPI void _fillBottleViaDispenser(class BlockSource &, class Item const &, class Container &, int, class Vec3 const &, unsigned char) const; + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/BoundingBox.hpp b/LiteLoader/Header/MC/BoundingBox.hpp new file mode 100644 index 0000000..3e14146 --- /dev/null +++ b/LiteLoader/Header/MC/BoundingBox.hpp @@ -0,0 +1,101 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#include "../Global.h" + +class BoundingBox { + +public: + BlockPos min; + BlockPos max; + + inline BlockPos getCenter() const { + return {(min.x + max.x) / 2, (min.y + max.y) / 2, (min.z + max.z) / 2}; + } + + LIAPI class AABB toAABB() const; + + + inline BoundingBox(class BoundingBox const& k) : min(k.min), max(k.max){}; + inline BoundingBox(BlockPos const& p1, BlockPos const& p2) : min(p1), max(p2){}; + inline BoundingBox() : min(BlockPos::MIN), max(BlockPos::MIN){}; + + inline BlockPos& operator[](int index) { + if (index < 0 || index > 1) { + return (&min)[0]; + } + return (&min)[index]; + } + + constexpr BoundingBox& operator+=(int& b) { + min += b; + max += b; + return *this; + } + + constexpr BoundingBox& operator-=(int& b) { + min -= b; + max -= b; + return *this; + } + + constexpr BoundingBox& operator+=(BlockPos const& b) { + min += b; + max += b; + return *this; + } + + constexpr BoundingBox& operator-=(BlockPos const& b) { + min -= b; + max -= b; + return *this; + } + + inline BoundingBox operator+(BlockPos const& b) const { + return BoundingBox(min + b, max + b); + } + + inline BoundingBox operator+(int& b) const { + return BoundingBox(min + b, max + b); + } + + inline BoundingBox operator-(BlockPos const& b) const { + return BoundingBox(min - b, max - b); + } + + inline BoundingBox operator-(int& b) const { + return BoundingBox(min - b, max - b); + } + + inline void forEachBlockInBox(const std::function& todo) { + for (int y = min.y; y <= max.y; ++y) + for (int x = min.x; x <= max.x; ++x) + for (int z = min.z; z <= max.z; ++z) { + todo({x, y, z}); + } + } + + inline BoundingBox merge(BoundingBox const& a) { + return BoundingBox(BlockPos::min(a.min, min), BlockPos::max(a.max, max)); + } + + inline BoundingBox merge(BlockPos const& a) { + return BoundingBox(BlockPos::min(a, min), BlockPos::max(a, max)); + } + +public: + MCAPI BoundingBox(class BlockPos const&, class BlockPos const&, enum Rotation); + + MCAPI bool isValid() const; + + MCAPI static class BoundingBox orientBox(int, int, int, int, int, int, int, int, int, int); +}; + +namespace std { + +template <> struct hash { + std::size_t operator()(BoundingBox const& box) const noexcept { + return (std::hash()(box.min) ^ std::hash()(box.max)); + } +}; + +} // namespace std diff --git a/LiteLoader/Header/MC/Bounds.hpp b/LiteLoader/Header/MC/Bounds.hpp new file mode 100644 index 0000000..4b20eb8 --- /dev/null +++ b/LiteLoader/Header/MC/Bounds.hpp @@ -0,0 +1,28 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +struct Bounds { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_BOUNDS +public: + struct Bounds& operator=(struct Bounds const &) = delete; + Bounds(struct Bounds const &) = delete; + Bounds() = delete; +#endif +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_BOUNDS +#endif + MCAPI Bounds(class BlockPos const &, class BlockPos const &, int, enum Bounds::Option); + MCAPI Bounds(class ChunkPos const &, class ChunkPos const &); + MCAPI bool contains(struct Bounds const &) const; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/BowEnchant.hpp b/LiteLoader/Header/MC/BowEnchant.hpp new file mode 100644 index 0000000..d4187a1 --- /dev/null +++ b/LiteLoader/Header/MC/BowEnchant.hpp @@ -0,0 +1,31 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Enchant.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class BowEnchant : public Enchant { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_BOWENCHANT +public: + class BowEnchant& operator=(class BowEnchant const &) = delete; + BowEnchant(class BowEnchant const &) = delete; + BowEnchant() = delete; +#endif + +public: + /*0*/ virtual ~BowEnchant(); + /*2*/ virtual int getMinCost(int) const; + /*3*/ virtual int getMaxCost(int) const; + /*5*/ virtual int getMaxLevel() const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_BOWENCHANT +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/BowItem.hpp b/LiteLoader/Header/MC/BowItem.hpp new file mode 100644 index 0000000..8a1324b --- /dev/null +++ b/LiteLoader/Header/MC/BowItem.hpp @@ -0,0 +1,47 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Item.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class BowItem : public Item { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_BOWITEM +public: + class BowItem& operator=(class BowItem const &) = delete; + BowItem(class BowItem const &) = delete; + BowItem() = delete; +#endif + +public: + /*0*/ virtual ~BowItem(); + /*5*/ virtual void __unk_vfn_5(); + /*26*/ virtual void __unk_vfn_26(); + /*27*/ virtual void __unk_vfn_27(); + /*31*/ virtual void __unk_vfn_31(); + /*32*/ virtual void __unk_vfn_32(); + /*34*/ virtual void __unk_vfn_34(); + /*37*/ virtual void __unk_vfn_37(); + /*40*/ virtual int getEnchantSlot() const; + /*43*/ virtual void __unk_vfn_43(); + /*46*/ virtual void __unk_vfn_46(); + /*47*/ virtual void __unk_vfn_47(); + /*49*/ virtual void __unk_vfn_49(); + /*50*/ virtual void __unk_vfn_50(); + /*79*/ virtual void __unk_vfn_79(); + /*80*/ virtual void __unk_vfn_80(); + /*85*/ virtual struct TextureUVCoordinateSet const & getIcon(class ItemStackBase const &, int, bool) const; + /*87*/ virtual class Item & setIcon(std::string const &, int); + /*90*/ virtual void __unk_vfn_90(); + /*97*/ virtual void __unk_vfn_97(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_BOWITEM +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/BreakBlockDefinition.hpp b/LiteLoader/Header/MC/BreakBlockDefinition.hpp new file mode 100644 index 0000000..92157d4 --- /dev/null +++ b/LiteLoader/Header/MC/BreakBlockDefinition.hpp @@ -0,0 +1,30 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Json.hpp" +#include "BehaviorDefinition.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class BreakBlockDefinition : public BehaviorDefinition { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_BREAKBLOCKDEFINITION +public: + class BreakBlockDefinition& operator=(class BreakBlockDefinition const &) = delete; + BreakBlockDefinition(class BreakBlockDefinition const &) = delete; + BreakBlockDefinition() = delete; +#endif + +public: + /*0*/ virtual ~BreakBlockDefinition(); + /*1*/ virtual void load(class Json::Value, class BehaviorFactory const &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_BREAKBLOCKDEFINITION +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/BreakBlockNode.hpp b/LiteLoader/Header/MC/BreakBlockNode.hpp new file mode 100644 index 0000000..b5c9801 --- /dev/null +++ b/LiteLoader/Header/MC/BreakBlockNode.hpp @@ -0,0 +1,29 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class BreakBlockNode { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_BREAKBLOCKNODE +public: + class BreakBlockNode& operator=(class BreakBlockNode const &) = delete; + BreakBlockNode(class BreakBlockNode const &) = delete; + BreakBlockNode() = delete; +#endif + +public: + /*0*/ virtual ~BreakBlockNode(); + /*1*/ virtual enum BehaviorStatus tick(class Actor &); + /*2*/ virtual void initializeFromDefinition(class Actor &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_BREAKBLOCKNODE +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/BreakBlocksComponent.hpp b/LiteLoader/Header/MC/BreakBlocksComponent.hpp new file mode 100644 index 0000000..5974a79 --- /dev/null +++ b/LiteLoader/Header/MC/BreakBlocksComponent.hpp @@ -0,0 +1,28 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class BreakBlocksComponent { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_BREAKBLOCKSCOMPONENT +public: + class BreakBlocksComponent& operator=(class BreakBlocksComponent const &) = delete; + BreakBlocksComponent(class BreakBlocksComponent const &) = delete; + BreakBlocksComponent() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_BREAKBLOCKSCOMPONENT +#endif + MCAPI void breakNearbyBlocks(class Actor &); + MCAPI bool isBreakable(class Actor &, class BlockLegacy const &) const; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/BreakBlocksDescription.hpp b/LiteLoader/Header/MC/BreakBlocksDescription.hpp new file mode 100644 index 0000000..1e4e5dc --- /dev/null +++ b/LiteLoader/Header/MC/BreakBlocksDescription.hpp @@ -0,0 +1,30 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Json.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +struct BreakBlocksDescription { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_BREAKBLOCKSDESCRIPTION +public: + struct BreakBlocksDescription& operator=(struct BreakBlocksDescription const &) = delete; + BreakBlocksDescription(struct BreakBlocksDescription const &) = delete; + BreakBlocksDescription() = delete; +#endif +public: + /*0*/ virtual char const * getJsonName() const; + /*1*/ virtual ~BreakBlocksDescription(); + /*2*/ virtual void deserializeData(class Json::Value &); + /*3*/ virtual void serializeData(class Json::Value &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_BREAKBLOCKSDESCRIPTION +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/BreakBlocksSystem.hpp b/LiteLoader/Header/MC/BreakBlocksSystem.hpp new file mode 100644 index 0000000..27d54d7 --- /dev/null +++ b/LiteLoader/Header/MC/BreakBlocksSystem.hpp @@ -0,0 +1,28 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class BreakBlocksSystem { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_BREAKBLOCKSSYSTEM +public: + class BreakBlocksSystem& operator=(class BreakBlocksSystem const &) = delete; + BreakBlocksSystem(class BreakBlocksSystem const &) = delete; + BreakBlocksSystem() = delete; +#endif + +public: + /*0*/ virtual ~BreakBlocksSystem(); + /*1*/ virtual void tick(class EntityRegistry &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_BREAKBLOCKSSYSTEM +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/BreakDoorAnnotationComponent.hpp b/LiteLoader/Header/MC/BreakDoorAnnotationComponent.hpp new file mode 100644 index 0000000..4bf790c --- /dev/null +++ b/LiteLoader/Header/MC/BreakDoorAnnotationComponent.hpp @@ -0,0 +1,34 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class BreakDoorAnnotationComponent { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_BREAKDOORANNOTATIONCOMPONENT +public: + class BreakDoorAnnotationComponent& operator=(class BreakDoorAnnotationComponent const &) = delete; + BreakDoorAnnotationComponent(class BreakDoorAnnotationComponent const &) = delete; + BreakDoorAnnotationComponent() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_BREAKDOORANNOTATIONCOMPONENT +#endif + MCAPI bool canMobBreakDoor(class Mob &, class Path const &) const; + MCAPI void clearProgress(class Mob &); + MCAPI void obstructionCheck(class Mob &); + +//private: + MCAPI void _cleanUp(class Mob &); + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/BreakDoorAnnotationDescription.hpp b/LiteLoader/Header/MC/BreakDoorAnnotationDescription.hpp new file mode 100644 index 0000000..7f78634 --- /dev/null +++ b/LiteLoader/Header/MC/BreakDoorAnnotationDescription.hpp @@ -0,0 +1,30 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Json.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +struct BreakDoorAnnotationDescription { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_BREAKDOORANNOTATIONDESCRIPTION +public: + struct BreakDoorAnnotationDescription& operator=(struct BreakDoorAnnotationDescription const &) = delete; + BreakDoorAnnotationDescription(struct BreakDoorAnnotationDescription const &) = delete; + BreakDoorAnnotationDescription() = delete; +#endif +public: + /*0*/ virtual char const * getJsonName() const; + /*1*/ virtual ~BreakDoorAnnotationDescription(); + /*2*/ virtual void deserializeData(class Json::Value &); + /*3*/ virtual void serializeData(class Json::Value &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_BREAKDOORANNOTATIONDESCRIPTION +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/BreakDoorAnnotationSystem.hpp b/LiteLoader/Header/MC/BreakDoorAnnotationSystem.hpp new file mode 100644 index 0000000..588c4ec --- /dev/null +++ b/LiteLoader/Header/MC/BreakDoorAnnotationSystem.hpp @@ -0,0 +1,28 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class BreakDoorAnnotationSystem { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_BREAKDOORANNOTATIONSYSTEM +public: + class BreakDoorAnnotationSystem& operator=(class BreakDoorAnnotationSystem const &) = delete; + BreakDoorAnnotationSystem(class BreakDoorAnnotationSystem const &) = delete; + BreakDoorAnnotationSystem() = delete; +#endif + +public: + /*0*/ virtual ~BreakDoorAnnotationSystem(); + /*1*/ virtual void tick(class EntityRegistry &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_BREAKDOORANNOTATIONSYSTEM +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/BreakDoorGoal.hpp b/LiteLoader/Header/MC/BreakDoorGoal.hpp new file mode 100644 index 0000000..60bc3c8 --- /dev/null +++ b/LiteLoader/Header/MC/BreakDoorGoal.hpp @@ -0,0 +1,34 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class BreakDoorGoal { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_BREAKDOORGOAL +public: + class BreakDoorGoal& operator=(class BreakDoorGoal const &) = delete; + BreakDoorGoal(class BreakDoorGoal const &) = delete; + BreakDoorGoal() = delete; +#endif + +public: + /*0*/ virtual ~BreakDoorGoal(); + /*1*/ virtual bool canUse(); + /*2*/ virtual bool canContinueToUse(); + /*3*/ virtual void __unk_vfn_3(); + /*4*/ virtual void start(); + /*5*/ virtual void stop(); + /*6*/ virtual void tick(); + /*7*/ virtual void appendDebugInfo(std::string &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_BREAKDOORGOAL +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/BreathableComponent.hpp b/LiteLoader/Header/MC/BreathableComponent.hpp new file mode 100644 index 0000000..3429271 --- /dev/null +++ b/LiteLoader/Header/MC/BreathableComponent.hpp @@ -0,0 +1,29 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class BreathableComponent { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_BREATHABLECOMPONENT +public: + class BreathableComponent& operator=(class BreathableComponent const &) = delete; + BreathableComponent(class BreathableComponent const &) = delete; + BreathableComponent() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_BREATHABLECOMPONENT +#endif + MCAPI BreathableComponent(class BreathableComponent &&); + MCAPI bool canBreathe(class Actor const &) const; + MCAPI void updateBreathableState(class Actor &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/BreathableDefinition.hpp b/LiteLoader/Header/MC/BreathableDefinition.hpp new file mode 100644 index 0000000..06c2f97 --- /dev/null +++ b/LiteLoader/Header/MC/BreathableDefinition.hpp @@ -0,0 +1,31 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "JsonUtil.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class BreathableDefinition { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_BREATHABLEDEFINITION +public: + class BreathableDefinition& operator=(class BreathableDefinition const &) = delete; + BreathableDefinition(class BreathableDefinition const &) = delete; + BreathableDefinition() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_BREATHABLEDEFINITION +#endif + MCAPI void addBreathableBlockByName(std::string const &); + MCAPI void addNonBreathableBlockByName(std::string const &); + MCAPI void initialize(class EntityContext &, class BreathableComponent &); + MCAPI static void buildSchema(class std::shared_ptr> &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/BreathableSystem.hpp b/LiteLoader/Header/MC/BreathableSystem.hpp new file mode 100644 index 0000000..0c53181 --- /dev/null +++ b/LiteLoader/Header/MC/BreathableSystem.hpp @@ -0,0 +1,28 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class BreathableSystem { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_BREATHABLESYSTEM +public: + class BreathableSystem& operator=(class BreathableSystem const &) = delete; + BreathableSystem(class BreathableSystem const &) = delete; + BreathableSystem() = delete; +#endif + +public: + /*0*/ virtual ~BreathableSystem(); + /*1*/ virtual void tick(class EntityRegistry &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_BREATHABLESYSTEM +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/BreatheAirGoal.hpp b/LiteLoader/Header/MC/BreatheAirGoal.hpp new file mode 100644 index 0000000..04f9389 --- /dev/null +++ b/LiteLoader/Header/MC/BreatheAirGoal.hpp @@ -0,0 +1,40 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class BreatheAirGoal { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_BREATHEAIRGOAL +public: + class BreatheAirGoal& operator=(class BreatheAirGoal const &) = delete; + BreatheAirGoal(class BreatheAirGoal const &) = delete; + BreatheAirGoal() = delete; +#endif + +public: + /*0*/ virtual ~BreatheAirGoal(); + /*1*/ virtual bool canUse(); + /*2*/ virtual bool canContinueToUse(); + /*3*/ virtual bool canBeInterrupted(); + /*4*/ virtual void start(); + /*5*/ virtual void __unk_vfn_5(); + /*6*/ virtual void tick(); + /*7*/ virtual void appendDebugInfo(std::string &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_BREATHEAIRGOAL +#endif + +//private: + MCAPI int _determineApproximateDepth(); + MCAPI void _findAirPosition(); + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/BreedGoal.hpp b/LiteLoader/Header/MC/BreedGoal.hpp new file mode 100644 index 0000000..da82280 --- /dev/null +++ b/LiteLoader/Header/MC/BreedGoal.hpp @@ -0,0 +1,40 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class BreedGoal { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_BREEDGOAL +public: + class BreedGoal& operator=(class BreedGoal const &) = delete; + BreedGoal(class BreedGoal const &) = delete; + BreedGoal() = delete; +#endif + +public: + /*0*/ virtual ~BreedGoal(); + /*1*/ virtual bool canUse(); + /*2*/ virtual bool canContinueToUse(); + /*3*/ virtual void __unk_vfn_3(); + /*4*/ virtual void __unk_vfn_4(); + /*5*/ virtual void stop(); + /*6*/ virtual void tick(); + /*7*/ virtual void appendDebugInfo(std::string &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_BREEDGOAL +#endif + +//private: + MCAPI bool _isCloseEnoughToBreed(class Vec3, class Vec2, class Vec3, class Vec2) const; + MCAPI class Mob * _moveToFreePartner() const; + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/BreedableComponent.hpp b/LiteLoader/Header/MC/BreedableComponent.hpp new file mode 100644 index 0000000..b6b3633 --- /dev/null +++ b/LiteLoader/Header/MC/BreedableComponent.hpp @@ -0,0 +1,38 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class BreedableComponent { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_BREEDABLECOMPONENT +public: + class BreedableComponent& operator=(class BreedableComponent const &) = delete; + BreedableComponent(class BreedableComponent const &) = delete; + BreedableComponent() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_BREEDABLECOMPONENT +#endif + MCAPI bool canMate(class Actor const &, class Actor const &) const; + MCAPI bool getInteraction(class Actor &, class Player &, class ActorInteraction &); + MCAPI bool meetsSittingRequirements(class Actor const &) const; + MCAPI void readAdditionalSaveData(class Actor &, class CompoundTag const &, class DataLoadHelper &); + MCAPI void setInLove(class Actor &, class Player const *); + +//private: + MCAPI void _handleMate(class Actor &, class Actor &); + MCAPI void _handlePregnancy(class Actor &, class Actor &); + MCAPI bool _meetsEnvironmentRequirements(class Actor &) const; + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/BreedableDefinition.hpp b/LiteLoader/Header/MC/BreedableDefinition.hpp new file mode 100644 index 0000000..2bdccfa --- /dev/null +++ b/LiteLoader/Header/MC/BreedableDefinition.hpp @@ -0,0 +1,32 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "JsonUtil.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class BreedableDefinition { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_BREEDABLEDEFINITION +public: + class BreedableDefinition& operator=(class BreedableDefinition const &) = delete; + BreedableDefinition(class BreedableDefinition const &) = delete; + BreedableDefinition() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_BREEDABLEDEFINITION +#endif + MCAPI void addBreedItemByName(std::string const &); + MCAPI void addBreedableType(struct BreedableType const &); + MCAPI void addEnvironmentRequirement(struct EnvironmentRequirement const &); + MCAPI ~BreedableDefinition(); + MCAPI static void buildSchema(class std::shared_ptr> &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/BreedableSystem.hpp b/LiteLoader/Header/MC/BreedableSystem.hpp new file mode 100644 index 0000000..c4c9d3d --- /dev/null +++ b/LiteLoader/Header/MC/BreedableSystem.hpp @@ -0,0 +1,28 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class BreedableSystem { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_BREEDABLESYSTEM +public: + class BreedableSystem& operator=(class BreedableSystem const &) = delete; + BreedableSystem(class BreedableSystem const &) = delete; + BreedableSystem() = delete; +#endif + +public: + /*0*/ virtual ~BreedableSystem(); + /*1*/ virtual void tick(class EntityRegistry &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_BREEDABLESYSTEM +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/BreedableType.hpp b/LiteLoader/Header/MC/BreedableType.hpp new file mode 100644 index 0000000..7359893 --- /dev/null +++ b/LiteLoader/Header/MC/BreedableType.hpp @@ -0,0 +1,26 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +struct BreedableType { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_BREEDABLETYPE +public: + struct BreedableType& operator=(struct BreedableType const &) = delete; +#endif +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_BREEDABLETYPE +#endif + MCAPI BreedableType(); + MCAPI BreedableType(struct BreedableType const &); + MCAPI ~BreedableType(); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/BrewingStandBlock.hpp b/LiteLoader/Header/MC/BrewingStandBlock.hpp new file mode 100644 index 0000000..ff0ebe6 --- /dev/null +++ b/LiteLoader/Header/MC/BrewingStandBlock.hpp @@ -0,0 +1,199 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "ActorBlock.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class BrewingStandBlock : public ActorBlock { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_BREWINGSTANDBLOCK +public: + class BrewingStandBlock& operator=(class BrewingStandBlock const &) = delete; + BrewingStandBlock(class BrewingStandBlock const &) = delete; + BrewingStandBlock() = delete; +#endif + +public: + /*0*/ virtual ~BrewingStandBlock(); + /*1*/ virtual void __unk_vfn_1(); + /*2*/ virtual class Block const & getStateFromLegacyData(unsigned short) const; + /*3*/ virtual class std::shared_ptr newBlockEntity(class BlockPos const &, class Block const &) const; + /*4*/ virtual class Block const * getNextBlockPermutation(class Block const &) const; + /*5*/ virtual bool getCollisionShape(class AABB &, class Block const &, class BlockSource &, class BlockPos const &, class Actor *) const; + /*6*/ virtual bool isObstructingChests(class BlockSource &, class BlockPos const &) const; + /*7*/ virtual void __unk_vfn_7(); + /*8*/ virtual class Vec3 randomlyModifyPosition(class BlockPos const &, int &) const; + /*9*/ virtual void addAABBs(class Block const &, class BlockSource &, class BlockPos const &, class AABB const *, std::vector &) const; + /*10*/ virtual class AABB const & getAABB(class BlockSource &, class BlockPos const &, class Block const &, class AABB &, bool) const; + /*11*/ virtual bool addCollisionShapes(class Block const &, class BlockSource &, class BlockPos const &, class AABB const *, std::vector &, class Actor *) const; + /*12*/ virtual class AABB const & getOutline(class BlockSource &, class BlockPos const &, class AABB &) const; + /*13*/ virtual bool getLiquidClipVolume(class BlockSource &, class BlockPos const &, class AABB &) const; + /*14*/ virtual void __unk_vfn_14(); + /*15*/ virtual void __unk_vfn_15(); + /*16*/ virtual struct Brightness getLightEmission(class Block const &) const; + /*17*/ virtual bool shouldRandomTick() const; + /*18*/ virtual void __unk_vfn_18(); + /*19*/ virtual void __unk_vfn_19(); + /*20*/ virtual void __unk_vfn_20(); + /*21*/ virtual bool canProvideSupport(class Block const &, unsigned char, enum BlockSupportType) const; + /*22*/ virtual bool canConnect(class Block const &, unsigned char, class Block const &) const; + /*23*/ virtual void getConnectedDirections(class Block const &, class BlockPos const &, class BlockSource &, bool &, bool &, bool &, bool &) const; + /*24*/ virtual void __unk_vfn_24(); + /*25*/ virtual void __unk_vfn_25(); + /*26*/ virtual void __unk_vfn_26(); + /*27*/ virtual void __unk_vfn_27(); + /*28*/ virtual void __unk_vfn_28(); + /*29*/ virtual bool isWaterBlocking() const; + /*30*/ virtual void __unk_vfn_30(); + /*31*/ virtual void __unk_vfn_31(); + /*32*/ virtual void __unk_vfn_32(); + /*33*/ virtual void __unk_vfn_33(); + /*34*/ virtual void __unk_vfn_34(); + /*35*/ virtual void __unk_vfn_35(); + /*36*/ virtual void __unk_vfn_36(); + /*37*/ virtual void __unk_vfn_37(); + /*38*/ virtual void __unk_vfn_38(); + /*39*/ virtual void __unk_vfn_39(); + /*40*/ virtual void __unk_vfn_40(); + /*41*/ virtual bool canHurtAndBreakItem() const; + /*42*/ virtual void __unk_vfn_42(); + /*43*/ virtual void __unk_vfn_43(); + /*44*/ virtual void __unk_vfn_44(); + /*45*/ virtual void __unk_vfn_45(); + /*46*/ virtual class Block const & sanitizeFillBlock(class BlockSource &, class BlockPos const &, class Block const &) const; + /*47*/ virtual void __unk_vfn_47(); + /*48*/ virtual void __unk_vfn_48(); + /*49*/ virtual void __unk_vfn_49(); + /*50*/ virtual bool canContainLiquid() const; + /*51*/ virtual void __unk_vfn_51(); + /*52*/ virtual void __unk_vfn_52(); + /*53*/ virtual bool canBeUsedInCommands(bool, class BaseGameVersion const &) const; + /*54*/ virtual float getThickness() const; + /*55*/ virtual void __unk_vfn_55(); + /*56*/ virtual bool checkIsPathable(class Actor &, class BlockPos const &, class BlockPos const &) const; + /*57*/ virtual void __unk_vfn_57(); + /*58*/ virtual void __unk_vfn_58(); + /*59*/ virtual void __unk_vfn_59(); + /*60*/ virtual void onRemove(class BlockSource &, class BlockPos const &) const; + /*61*/ virtual void __unk_vfn_61(); + /*62*/ virtual void __unk_vfn_62(); + /*63*/ virtual void onFallOn(class BlockSource &, class BlockPos const &, class Actor &, float) const; + /*64*/ virtual void __unk_vfn_64(); + /*65*/ virtual void __unk_vfn_65(); + /*66*/ virtual void __unk_vfn_66(); + /*67*/ virtual void __unk_vfn_67(); + /*68*/ virtual void __unk_vfn_68(); + /*69*/ virtual void __unk_vfn_69(); + /*70*/ virtual void __unk_vfn_70(); + /*71*/ virtual enum BlockProperty getRedstoneProperty(class BlockSource &, class BlockPos const &) const; + /*72*/ virtual void updateEntityAfterFallOn(class BlockSource &, class BlockPos const &, class Actor &) const; + /*73*/ virtual void __unk_vfn_73(); + /*74*/ virtual void __unk_vfn_74(); + /*75*/ virtual void __unk_vfn_75(); + /*76*/ virtual void __unk_vfn_76(); + /*77*/ virtual void __unk_vfn_77(); + /*78*/ virtual bool mayPick(class BlockSource &, class Block const &, bool) const; + /*79*/ virtual void __unk_vfn_79(); + /*80*/ virtual bool mayPlace(class BlockSource &, class BlockPos const &) const; + /*81*/ virtual void __unk_vfn_81(); + /*82*/ virtual void __unk_vfn_82(); + /*83*/ virtual bool tryToPlace(class BlockSource &, class BlockPos const &, class Block const &, struct ActorBlockSyncMessage const *) const; + /*84*/ virtual bool breaksFallingBlocks(class Block const &) const; + /*85*/ virtual void __unk_vfn_85(); + /*86*/ virtual bool playerWillDestroy(class Player &, class BlockPos const &, class Block const &) const; + /*87*/ virtual void __unk_vfn_87(); + /*88*/ virtual void neighborChanged(class BlockSource &, class BlockPos const &, class BlockPos const &) const; + /*89*/ virtual void __unk_vfn_89(); + /*90*/ virtual void __unk_vfn_90(); + /*91*/ virtual void __unk_vfn_91(); + /*92*/ virtual void __unk_vfn_92(); + /*93*/ virtual void spawnResources(class BlockSource &, class BlockPos const &, class Block const &, std::vector *, float, int, bool) const; + /*94*/ virtual void trySpawnResourcesOnExplosion(class BlockSource &, class BlockPos const &, class Block const &, std::vector *, float, int, bool) const; + /*95*/ virtual void __unk_vfn_95(); + /*96*/ virtual void __unk_vfn_96(); + /*97*/ virtual class HitResult clip(class BlockSource &, class BlockPos const &, class Vec3 const &, class Vec3 const &, bool) const; + /*98*/ virtual void __unk_vfn_98(); + /*99*/ virtual class Block const & getPlacementBlock(class Actor &, class BlockPos const &, unsigned char, class Vec3 const &, int) const; + /*100*/ virtual int calcVariant(class BlockSource &, class BlockPos const &) const; + /*101*/ virtual void __unk_vfn_101(); + /*102*/ virtual void __unk_vfn_102(); + /*103*/ virtual void __unk_vfn_103(); + /*104*/ virtual void __unk_vfn_104(); + /*105*/ virtual void playerDestroy(class Player &, class BlockPos const &, class Block const &) const; + /*106*/ virtual void __unk_vfn_106(); + /*107*/ virtual void __unk_vfn_107(); + /*108*/ virtual bool canBeBuiltOver(class BlockSource &, class BlockPos const &) const; + /*109*/ virtual void triggerEvent(class BlockSource &, class BlockPos const &, int, int) const; + /*110*/ virtual void __unk_vfn_110(); + /*111*/ virtual void __unk_vfn_111(); + /*112*/ virtual class MobSpawnerData const * getMobToSpawn(class SpawnConditions const &, class BlockSource &) const; + /*113*/ virtual void __unk_vfn_113(); + /*114*/ virtual void __unk_vfn_114(); + /*115*/ virtual bool shouldStopFalling(class Actor &) const; + /*116*/ virtual void __unk_vfn_116(); + /*117*/ virtual float calcGroundFriction(class Mob &, class BlockPos const &) const; + /*118*/ virtual void __unk_vfn_118(); + /*119*/ virtual void __unk_vfn_119(); + /*120*/ virtual int getComparatorSignal(class BlockSource &, class BlockPos const &, class Block const &, unsigned char) const; + /*121*/ virtual bool canSlide(class BlockSource &, class BlockPos const &) const; + /*122*/ virtual void __unk_vfn_122(); + /*123*/ virtual void __unk_vfn_123(); + /*124*/ virtual void __unk_vfn_124(); + /*125*/ virtual void __unk_vfn_125(); + /*126*/ virtual void __unk_vfn_126(); + /*127*/ virtual std::string buildDescriptionId(class Block const &) const; + /*128*/ virtual void __unk_vfn_128(); + /*129*/ virtual void __unk_vfn_129(); + /*130*/ virtual void __unk_vfn_130(); + /*131*/ virtual void __unk_vfn_131(); + /*132*/ virtual int getColorForParticle(class BlockSource &, class BlockPos const &, class Block const &) const; + /*133*/ virtual void __unk_vfn_133(); + /*134*/ virtual void onGraphicsModeChanged(bool, bool, bool); + /*135*/ virtual void __unk_vfn_135(); + /*136*/ virtual float getShadeBrightness() const; + /*137*/ virtual class AABB const & getVisualShapeInWorld(class Block const &, class BlockSource &, class BlockPos const &, class AABB &, bool) const; + /*138*/ virtual class AABB const & getVisualShape(class Block const &, class AABB &, bool) const; + /*139*/ virtual class AABB const & getUIShape(class Block const &, class AABB &) const; + /*140*/ virtual int telemetryVariant(class BlockSource &, class BlockPos const &) const; + /*141*/ virtual int getVariant(class Block const &) const; + /*142*/ virtual void __unk_vfn_142(); + /*143*/ virtual class Block const & getRenderBlock() const; + /*144*/ virtual void __unk_vfn_144(); + /*145*/ virtual void __unk_vfn_145(); + /*146*/ virtual void animateTick(class BlockSource &, class BlockPos const &, class Random &) const; + /*147*/ virtual class BlockLegacy & init(); + /*148*/ virtual class BlockLegacy & setLightBlock(struct Brightness); + /*149*/ virtual class BlockLegacy & setLightEmission(float); + /*150*/ virtual class BlockLegacy & setExplodeable(float); + /*151*/ virtual class BlockLegacy & setDestroyTime(float); + /*152*/ virtual class BlockLegacy & setFriction(float); + /*153*/ virtual class BlockLegacy & addProperty(enum BlockProperty); + /*154*/ virtual class BlockLegacy & addState(class ItemState const &); + /*155*/ virtual class BlockLegacy & addState(class ItemState const &, unsigned __int64); + /*156*/ virtual class BlockLegacy & setAllowsRunes(bool); + /*157*/ virtual class BlockLegacy & setMapColor(class Color const &); + /*158*/ virtual void __unk_vfn_158(); + /*159*/ virtual void __unk_vfn_159(); + /*160*/ virtual void setVisualShape(class AABB const &); + /*161*/ virtual void setVisualShape(class Vec3 const &, class Vec3 const &); + /*162*/ virtual void __unk_vfn_162(); + /*163*/ virtual void __unk_vfn_163(); + /*164*/ virtual class ItemInstance getEntityResourceItem(class Random &, class BlockActor const &, int) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_BREWINGSTANDBLOCK + MCVAPI class ItemInstance asItemInstance(class BlockSource &, class BlockPos const &, class Block const &) const; + MCVAPI class ItemInstance getResourceItem(class Random &, class Block const &, int) const; + MCVAPI bool hasComparatorSignal() const; + MCVAPI bool isContainerBlock() const; + MCVAPI bool isCraftingBlock() const; + MCVAPI bool isInteractiveBlock() const; + MCVAPI bool use(class Player &, class BlockPos const &) const; +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/BrewingStandBlockActor.hpp b/LiteLoader/Header/MC/BrewingStandBlockActor.hpp new file mode 100644 index 0000000..f14f954 --- /dev/null +++ b/LiteLoader/Header/MC/BrewingStandBlockActor.hpp @@ -0,0 +1,52 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class BrewingStandBlockActor { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_BREWINGSTANDBLOCKACTOR +public: + class BrewingStandBlockActor& operator=(class BrewingStandBlockActor const &) = delete; + BrewingStandBlockActor(class BrewingStandBlockActor const &) = delete; + BrewingStandBlockActor() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_BREWINGSTANDBLOCKACTOR + MCVAPI bool canPullOutItem(class BlockSource &, int, int, class ItemInstance const &) const; + MCVAPI bool canPushInItem(class BlockSource &, int, int, class ItemInstance const &) const; + MCVAPI class Container * getContainer(); + MCVAPI class Container const * getContainer() const; + MCVAPI int getContainerSize() const; + MCVAPI class ItemStack const & getItem(int) const; + MCVAPI int getMaxStackSize() const; + MCVAPI std::string getName() const; + MCVAPI bool isFinished(); + MCVAPI void load(class Level &, class CompoundTag const &, class DataLoadHelper &); + MCVAPI void onChanged(class BlockSource &); + MCVAPI void onMove(); + MCVAPI bool save(class CompoundTag &) const; + MCVAPI void serverInitItemStackIds(int, int, class std::function); + MCVAPI void setContainerChanged(int); + MCVAPI void setItem(int, class ItemStack const &); + MCVAPI void startOpen(class Player &); + MCVAPI void stopOpen(class Player &); + MCVAPI void tick(class BlockSource &); +#endif + MCAPI void brew(); + MCAPI int getPotionSlotUsage() const; + +//private: + MCAPI bool canBrew(); + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/BrewingStandContainerManagerModel.hpp b/LiteLoader/Header/MC/BrewingStandContainerManagerModel.hpp new file mode 100644 index 0000000..e3f8f16 --- /dev/null +++ b/LiteLoader/Header/MC/BrewingStandContainerManagerModel.hpp @@ -0,0 +1,35 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "ContainerManagerModel.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class BrewingStandContainerManagerModel : public ContainerManagerModel { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_BREWINGSTANDCONTAINERMANAGERMODEL +public: + class BrewingStandContainerManagerModel& operator=(class BrewingStandContainerManagerModel const &) = delete; + BrewingStandContainerManagerModel(class BrewingStandContainerManagerModel const &) = delete; + BrewingStandContainerManagerModel() = delete; +#endif + +public: + /*0*/ virtual ~BrewingStandContainerManagerModel(); + /*6*/ virtual std::vector getItemCopies() const; + /*7*/ virtual void setSlot(int, class ItemStack const &, bool); + /*8*/ virtual class ItemStack const & getSlot(int) const; + /*9*/ virtual void setData(int, int); + /*10*/ virtual void broadcastChanges(); + /*11*/ virtual bool isValid(float); + /*12*/ virtual class ContainerScreenContext _postInit(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_BREWINGSTANDCONTAINERMANAGERMODEL +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/BribeableComponent.hpp b/LiteLoader/Header/MC/BribeableComponent.hpp new file mode 100644 index 0000000..a8af4c5 --- /dev/null +++ b/LiteLoader/Header/MC/BribeableComponent.hpp @@ -0,0 +1,29 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class BribeableComponent { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_BRIBEABLECOMPONENT +public: + class BribeableComponent& operator=(class BribeableComponent const &) = delete; + BribeableComponent(class BribeableComponent const &) = delete; + BribeableComponent() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_BRIBEABLECOMPONENT +#endif + MCAPI bool getInteraction(class Actor &, class Player &, class ActorInteraction &); + MCAPI void resetBribe(class Actor &); + MCAPI void setBribed(class Actor &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/BribeableDefinition.hpp b/LiteLoader/Header/MC/BribeableDefinition.hpp new file mode 100644 index 0000000..9f26164 --- /dev/null +++ b/LiteLoader/Header/MC/BribeableDefinition.hpp @@ -0,0 +1,29 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "JsonUtil.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class BribeableDefinition { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_BRIBEABLEDEFINITION +public: + class BribeableDefinition& operator=(class BribeableDefinition const &) = delete; + BribeableDefinition(class BribeableDefinition const &) = delete; + BribeableDefinition() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_BRIBEABLEDEFINITION +#endif + MCAPI void addBribeItemByName(std::string const &); + MCAPI static void buildSchema(class std::shared_ptr> &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/BribeableSystem.hpp b/LiteLoader/Header/MC/BribeableSystem.hpp new file mode 100644 index 0000000..b4d9b50 --- /dev/null +++ b/LiteLoader/Header/MC/BribeableSystem.hpp @@ -0,0 +1,28 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class BribeableSystem { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_BRIBEABLESYSTEM +public: + class BribeableSystem& operator=(class BribeableSystem const &) = delete; + BribeableSystem(class BribeableSystem const &) = delete; + BribeableSystem() = delete; +#endif + +public: + /*0*/ virtual ~BribeableSystem(); + /*1*/ virtual void tick(class EntityRegistry &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_BRIBEABLESYSTEM +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/Brightness.hpp b/LiteLoader/Header/MC/Brightness.hpp new file mode 100644 index 0000000..4a9bf74 --- /dev/null +++ b/LiteLoader/Header/MC/Brightness.hpp @@ -0,0 +1,29 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +struct Brightness { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_BRIGHTNESS +public: + struct Brightness& operator=(struct Brightness const &) = delete; + Brightness() = delete; +#endif +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_BRIGHTNESS +#endif + MCAPI Brightness(unsigned char const &); + MCAPI Brightness(struct Brightness const &); + MCAPI static struct Brightness const INVALID; + MCAPI static struct Brightness const MAX; + MCAPI static struct Brightness const MIN; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/BubbleColumnBlock.hpp b/LiteLoader/Header/MC/BubbleColumnBlock.hpp new file mode 100644 index 0000000..884e1e0 --- /dev/null +++ b/LiteLoader/Header/MC/BubbleColumnBlock.hpp @@ -0,0 +1,80 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "BlockLegacy.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class BubbleColumnBlock : public BlockLegacy { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_BUBBLECOLUMNBLOCK +public: + class BubbleColumnBlock& operator=(class BubbleColumnBlock const &) = delete; + BubbleColumnBlock(class BubbleColumnBlock const &) = delete; + BubbleColumnBlock() = delete; +#endif + +public: + /*0*/ virtual ~BubbleColumnBlock(); + /*1*/ virtual void tick(class BlockSource &, class BlockPos const &, class Random &) const; + /*5*/ virtual bool getCollisionShape(class AABB &, class Block const &, class BlockSource &, class BlockPos const &, class Actor *) const; + /*9*/ virtual void addAABBs(class Block const &, class BlockSource &, class BlockPos const &, class AABB const *, std::vector &) const; + /*10*/ virtual class AABB const & getAABB(class BlockSource &, class BlockPos const &, class Block const &, class AABB &, bool) const; + /*11*/ virtual bool addCollisionShapes(class Block const &, class BlockSource &, class BlockPos const &, class AABB const *, std::vector &, class Actor *) const; + /*18*/ virtual void __unk_vfn_18(); + /*24*/ virtual void __unk_vfn_24(); + /*25*/ virtual void __unk_vfn_25(); + /*26*/ virtual void __unk_vfn_26(); + /*27*/ virtual void __unk_vfn_27(); + /*28*/ virtual void __unk_vfn_28(); + /*30*/ virtual void __unk_vfn_30(); + /*31*/ virtual void __unk_vfn_31(); + /*32*/ virtual void __unk_vfn_32(); + /*33*/ virtual void __unk_vfn_33(); + /*34*/ virtual void __unk_vfn_34(); + /*35*/ virtual void __unk_vfn_35(); + /*36*/ virtual void __unk_vfn_36(); + /*38*/ virtual void __unk_vfn_38(); + /*39*/ virtual void __unk_vfn_39(); + /*40*/ virtual void __unk_vfn_40(); + /*42*/ virtual void __unk_vfn_42(); + /*43*/ virtual void __unk_vfn_43(); + /*49*/ virtual void __unk_vfn_49(); + /*50*/ virtual bool canContainLiquid() const; + /*52*/ virtual void __unk_vfn_52(); + /*56*/ virtual bool checkIsPathable(class Actor &, class BlockPos const &, class BlockPos const &) const; + /*59*/ virtual void onPlace(class BlockSource &, class BlockPos const &) const; + /*67*/ virtual void __unk_vfn_67(); + /*73*/ virtual void __unk_vfn_73(); + /*79*/ virtual bool mayPick(class BlockSource &, class Block const &, bool) const; + /*87*/ virtual void __unk_vfn_87(); + /*88*/ virtual void neighborChanged(class BlockSource &, class BlockPos const &, class BlockPos const &) const; + /*90*/ virtual int getResourceCount(class Random &, class Block const &, int, bool) const; + /*95*/ virtual void __unk_vfn_95(); + /*104*/ virtual void entityInside(class BlockSource &, class BlockPos const &, class Actor &) const; + /*106*/ virtual bool canSurvive(class BlockSource &, class BlockPos const &) const; + /*109*/ virtual void __unk_vfn_109(); + /*116*/ virtual void __unk_vfn_116(); + /*118*/ virtual void __unk_vfn_118(); + /*119*/ virtual void __unk_vfn_119(); + /*134*/ virtual void onGraphicsModeChanged(bool, bool, bool); + /*142*/ virtual void __unk_vfn_142(); + /*146*/ virtual void animateTick(class BlockSource &, class BlockPos const &, class Random &) const; + /*158*/ virtual void __unk_vfn_158(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_BUBBLECOLUMNBLOCK +#endif + MCAPI static bool addBubbleColumnSegment(class BlockSource &, class BlockPos const &); + +//private: + MCAPI static void createParticles(class BlockSource &, class BlockPos const &, class Random &, bool); + MCAPI static bool getFlowDownward(class Block const &); + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/BucketItem.hpp b/LiteLoader/Header/MC/BucketItem.hpp new file mode 100644 index 0000000..908e59e --- /dev/null +++ b/LiteLoader/Header/MC/BucketItem.hpp @@ -0,0 +1,74 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Item.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class BucketItem : public Item { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_BUCKETITEM +public: + class BucketItem& operator=(class BucketItem const &) = delete; + BucketItem(class BucketItem const &) = delete; + BucketItem() = delete; +#endif + +public: + /*0*/ virtual ~BucketItem(); + /*5*/ virtual void __unk_vfn_5(); + /*26*/ virtual void __unk_vfn_26(); + /*27*/ virtual void __unk_vfn_27(); + /*31*/ virtual void __unk_vfn_31(); + /*32*/ virtual void __unk_vfn_32(); + /*34*/ virtual void __unk_vfn_34(); + /*35*/ virtual bool isDestructive(int) const; + /*36*/ virtual bool isLiquidClipItem(int) const; + /*37*/ virtual void __unk_vfn_37(); + /*43*/ virtual void __unk_vfn_43(); + /*44*/ virtual bool isValidAuxValue(int) const; + /*46*/ virtual void __unk_vfn_46(); + /*47*/ virtual void __unk_vfn_47(); + /*49*/ virtual void __unk_vfn_49(); + /*50*/ virtual void __unk_vfn_50(); + /*56*/ virtual class ItemStack & use(class ItemStack &, class Player &) const; + /*57*/ virtual bool dispense(class BlockSource &, class Container &, int, class Vec3 const &, unsigned char) const; + /*58*/ virtual enum ItemUseMethod useTimeDepleted(class ItemStack &, class Level *, class Player *) const; + /*59*/ virtual void releaseUsing(class ItemStack &, class Player *, int) const; + /*65*/ virtual std::string buildDescriptionId(class ItemDescriptor const &, class CompoundTag const *) const; + /*70*/ virtual unsigned char getMaxStackSize(class ItemDescriptor const &) const; + /*79*/ virtual void __unk_vfn_79(); + /*80*/ virtual void __unk_vfn_80(); + /*84*/ virtual struct Brightness getLightEmission(int) const; + /*85*/ virtual struct TextureUVCoordinateSet const & getIcon(class ItemStackBase const &, int, bool) const; + /*87*/ virtual class Item & setIcon(std::string const &, int); + /*90*/ virtual void __unk_vfn_90(); + /*93*/ virtual std::string getAuxValuesDescription() const; + /*97*/ virtual void __unk_vfn_97(); + /*99*/ virtual bool _useOn(class ItemStack &, class Actor &, class BlockPos, unsigned char, float, float, float) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_BUCKETITEM + MCVAPI bool uniqueAuxValues() const; +#endif + MCAPI BucketItem(std::string const &, int); + MCAPI static class std::tuple getFishData(class Actor const &); + +//protected: + MCAPI void addBucketEntitySaveData(class Actor &, class ItemStack &) const; + MCAPI bool readBucketEntitySaveData(class BlockSource &, class Actor *, unsigned char, class BlockPos, class ItemInstance const &) const; + +//private: + MCAPI bool _emptyBucket(class BlockSource &, class Block const &, class BlockPos const &, class Actor *, class ItemStack const &, unsigned char) const; + MCAPI bool _takeLiquid(class ItemStack &, class Actor &, class BlockPos const &) const; + +protected: + +private: + MCAPI static std::vector> const mFillTypeToEntityType; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/BucketableComponent.hpp b/LiteLoader/Header/MC/BucketableComponent.hpp new file mode 100644 index 0000000..f7dff9e --- /dev/null +++ b/LiteLoader/Header/MC/BucketableComponent.hpp @@ -0,0 +1,27 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class BucketableComponent { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_BUCKETABLECOMPONENT +public: + class BucketableComponent& operator=(class BucketableComponent const &) = delete; + BucketableComponent(class BucketableComponent const &) = delete; + BucketableComponent() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_BUCKETABLECOMPONENT +#endif + MCAPI bool getInteraction(class Actor &, class Player &, class ActorInteraction &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/BucketableDescription.hpp b/LiteLoader/Header/MC/BucketableDescription.hpp new file mode 100644 index 0000000..68d9c27 --- /dev/null +++ b/LiteLoader/Header/MC/BucketableDescription.hpp @@ -0,0 +1,28 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +struct BucketableDescription { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_BUCKETABLEDESCRIPTION +public: + struct BucketableDescription& operator=(struct BucketableDescription const &) = delete; + BucketableDescription(struct BucketableDescription const &) = delete; + BucketableDescription() = delete; +#endif +public: + /*0*/ virtual char const * getJsonName() const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_BUCKETABLEDESCRIPTION + MCVAPI void deserializeData(class Json::Value &); + MCVAPI void serializeData(class Json::Value &) const; +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/BuoyancyComponent.hpp b/LiteLoader/Header/MC/BuoyancyComponent.hpp new file mode 100644 index 0000000..48f61fc --- /dev/null +++ b/LiteLoader/Header/MC/BuoyancyComponent.hpp @@ -0,0 +1,35 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class BuoyancyComponent { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_BUOYANCYCOMPONENT +public: + class BuoyancyComponent& operator=(class BuoyancyComponent const &) = delete; + BuoyancyComponent(class BuoyancyComponent const &) = delete; + BuoyancyComponent() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_BUOYANCYCOMPONENT +#endif + MCAPI BuoyancyComponent(class BuoyancyComponent &&); + MCAPI bool canFloat(class Actor const &) const; + MCAPI void loadData(std::string const &); + MCAPI bool needToResurface(class Actor const &) const; + +//private: + MCAPI bool _isValidLiquidBlock(class Block const &) const; + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/BuoyancyDefinition.hpp b/LiteLoader/Header/MC/BuoyancyDefinition.hpp new file mode 100644 index 0000000..5563596 --- /dev/null +++ b/LiteLoader/Header/MC/BuoyancyDefinition.hpp @@ -0,0 +1,37 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "JsonUtil.hpp" +#include "Json.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class BuoyancyDefinition { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_BUOYANCYDEFINITION +public: + class BuoyancyDefinition& operator=(class BuoyancyDefinition const &) = delete; + BuoyancyDefinition(class BuoyancyDefinition const &) = delete; + BuoyancyDefinition() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_BUOYANCYDEFINITION +#endif + MCAPI void initialize(class EntityContext &, class BuoyancyComponent &) const; + MCAPI static void addLiquidBlock(std::string const &, class std::set, struct std::less>, class std::allocator>> &); + MCAPI static void buildSchema(class std::shared_ptr> &); + +//private: + MCAPI void _addLiquidBlockByName(std::string const &); + MCAPI class Json::Value _serialize() const; + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/BuoyancySystem.hpp b/LiteLoader/Header/MC/BuoyancySystem.hpp new file mode 100644 index 0000000..32edf46 --- /dev/null +++ b/LiteLoader/Header/MC/BuoyancySystem.hpp @@ -0,0 +1,28 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class BuoyancySystem { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_BUOYANCYSYSTEM +public: + class BuoyancySystem& operator=(class BuoyancySystem const &) = delete; + BuoyancySystem(class BuoyancySystem const &) = delete; + BuoyancySystem() = delete; +#endif + +public: + /*0*/ virtual ~BuoyancySystem(); + /*1*/ virtual void tick(class EntityRegistry &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_BUOYANCYSYSTEM +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/BuriedTreasureFeature.hpp b/LiteLoader/Header/MC/BuriedTreasureFeature.hpp new file mode 100644 index 0000000..54af08a --- /dev/null +++ b/LiteLoader/Header/MC/BuriedTreasureFeature.hpp @@ -0,0 +1,31 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "StructureFeature.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class BuriedTreasureFeature : public StructureFeature { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_BURIEDTREASUREFEATURE +public: + class BuriedTreasureFeature& operator=(class BuriedTreasureFeature const &) = delete; + BuriedTreasureFeature(class BuriedTreasureFeature const &) = delete; + BuriedTreasureFeature() = delete; +#endif + +public: + /*0*/ virtual ~BuriedTreasureFeature(); + /*3*/ virtual bool getNearestGeneratedFeature(class Dimension &, class BiomeSource &, class BlockPos const &, class BlockPos &); + /*4*/ virtual bool isFeatureChunk(class BiomeSource const &, class Random &, class ChunkPos const &, unsigned int); + /*5*/ virtual std::unique_ptr createStructureStart(class Dimension &, class BiomeSource &, class Random &, class ChunkPos const &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_BURIEDTREASUREFEATURE +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/BuriedTreasurePiece.hpp b/LiteLoader/Header/MC/BuriedTreasurePiece.hpp new file mode 100644 index 0000000..2a05db7 --- /dev/null +++ b/LiteLoader/Header/MC/BuriedTreasurePiece.hpp @@ -0,0 +1,36 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "StructurePiece.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class BuriedTreasurePiece : public StructurePiece { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_BURIEDTREASUREPIECE +public: + class BuriedTreasurePiece& operator=(class BuriedTreasurePiece const &) = delete; + BuriedTreasurePiece(class BuriedTreasurePiece const &) = delete; + BuriedTreasurePiece() = delete; +#endif + +public: + /*0*/ virtual ~BuriedTreasurePiece(); + /*3*/ virtual enum StructurePieceType getType() const; + /*5*/ virtual bool postProcess(class BlockSource &, class Random &, class BoundingBox const &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_BURIEDTREASUREPIECE +#endif + +//private: + MCAPI void _buryChest(class BlockSource &, class Random &, class BlockPos &) const; + MCAPI bool _isCovered(class BlockSource const &, class BlockPos const &) const; + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/BuriedTreasureStart.hpp b/LiteLoader/Header/MC/BuriedTreasureStart.hpp new file mode 100644 index 0000000..4bb24c8 --- /dev/null +++ b/LiteLoader/Header/MC/BuriedTreasureStart.hpp @@ -0,0 +1,29 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "StructureStart.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class BuriedTreasureStart : public StructureStart { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_BURIEDTREASURESTART +public: + class BuriedTreasureStart& operator=(class BuriedTreasureStart const &) = delete; + BuriedTreasureStart(class BuriedTreasureStart const &) = delete; + BuriedTreasureStart() = delete; +#endif + +public: + /*0*/ virtual ~BuriedTreasureStart(); + /*3*/ virtual enum StructureFeatureType getType() const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_BURIEDTREASURESTART +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/BurnsInDaylightSystem.hpp b/LiteLoader/Header/MC/BurnsInDaylightSystem.hpp new file mode 100644 index 0000000..982234b --- /dev/null +++ b/LiteLoader/Header/MC/BurnsInDaylightSystem.hpp @@ -0,0 +1,28 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class BurnsInDaylightSystem { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_BURNSINDAYLIGHTSYSTEM +public: + class BurnsInDaylightSystem& operator=(class BurnsInDaylightSystem const &) = delete; + BurnsInDaylightSystem(class BurnsInDaylightSystem const &) = delete; + BurnsInDaylightSystem() = delete; +#endif + +public: + /*0*/ virtual ~BurnsInDaylightSystem(); + /*1*/ virtual void tick(class EntityRegistry &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_BURNSINDAYLIGHTSYSTEM +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/BurstReactionComponent.hpp b/LiteLoader/Header/MC/BurstReactionComponent.hpp new file mode 100644 index 0000000..4a9883b --- /dev/null +++ b/LiteLoader/Header/MC/BurstReactionComponent.hpp @@ -0,0 +1,31 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class BurstReactionComponent { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_BURSTREACTIONCOMPONENT +public: + class BurstReactionComponent& operator=(class BurstReactionComponent const &) = delete; + BurstReactionComponent(class BurstReactionComponent const &) = delete; + BurstReactionComponent() = delete; +#endif + +public: + /*0*/ virtual ~BurstReactionComponent(); + /*1*/ virtual void __unk_vfn_1(); + /*2*/ virtual void __unk_vfn_2(); + /*3*/ virtual void _onEnd(class LabTableReaction &, class BlockSource &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_BURSTREACTIONCOMPONENT +#endif + MCAPI BurstReactionComponent(enum ParticleType, class Vec3 const &, class Vec3 const &, int, int, int, bool, class HashedString const &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/BushBlock.hpp b/LiteLoader/Header/MC/BushBlock.hpp new file mode 100644 index 0000000..ef8343b --- /dev/null +++ b/LiteLoader/Header/MC/BushBlock.hpp @@ -0,0 +1,68 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "BlockLegacy.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class BushBlock : public BlockLegacy { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_BUSHBLOCK +public: + class BushBlock& operator=(class BushBlock const &) = delete; + BushBlock(class BushBlock const &) = delete; + BushBlock() = delete; +#endif + +public: + /*0*/ virtual ~BushBlock(); + /*1*/ virtual void tick(class BlockSource &, class BlockPos const &, class Random &) const; + /*10*/ virtual class AABB const & getAABB(class BlockSource &, class BlockPos const &, class Block const &, class AABB &, bool) const; + /*18*/ virtual void __unk_vfn_18(); + /*24*/ virtual void __unk_vfn_24(); + /*25*/ virtual void __unk_vfn_25(); + /*26*/ virtual void __unk_vfn_26(); + /*27*/ virtual void __unk_vfn_27(); + /*28*/ virtual void __unk_vfn_28(); + /*30*/ virtual void __unk_vfn_30(); + /*31*/ virtual void __unk_vfn_31(); + /*32*/ virtual void __unk_vfn_32(); + /*33*/ virtual void __unk_vfn_33(); + /*34*/ virtual void __unk_vfn_34(); + /*35*/ virtual void __unk_vfn_35(); + /*36*/ virtual void __unk_vfn_36(); + /*38*/ virtual void __unk_vfn_38(); + /*39*/ virtual void __unk_vfn_39(); + /*40*/ virtual void __unk_vfn_40(); + /*42*/ virtual void __unk_vfn_42(); + /*43*/ virtual void __unk_vfn_43(); + /*49*/ virtual void __unk_vfn_49(); + /*52*/ virtual void __unk_vfn_52(); + /*67*/ virtual void __unk_vfn_67(); + /*73*/ virtual void __unk_vfn_73(); + /*82*/ virtual bool mayPlaceOn(class BlockSource &, class BlockPos const &) const; + /*87*/ virtual void __unk_vfn_87(); + /*88*/ virtual void neighborChanged(class BlockSource &, class BlockPos const &, class BlockPos const &) const; + /*95*/ virtual void __unk_vfn_95(); + /*106*/ virtual bool canSurvive(class BlockSource &, class BlockPos const &) const; + /*109*/ virtual void __unk_vfn_109(); + /*116*/ virtual void __unk_vfn_116(); + /*118*/ virtual void __unk_vfn_118(); + /*119*/ virtual void __unk_vfn_119(); + /*142*/ virtual void __unk_vfn_142(); + /*158*/ virtual void __unk_vfn_158(); + /*164*/ virtual void checkAlive(class BlockSource &, class BlockPos const &) const; + /*165*/ virtual class Item const & getBaseSeed() const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_BUSHBLOCK + MCVAPI bool waterSpreadCausesSpawn() const; +#endif + MCAPI BushBlock(std::string const &, int, class Material const &); + MCAPI bool growCrops(class BlockSource &, class BlockPos const &, enum FertilizerType) const; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ButtonBlock.hpp b/LiteLoader/Header/MC/ButtonBlock.hpp new file mode 100644 index 0000000..cddf850 --- /dev/null +++ b/LiteLoader/Header/MC/ButtonBlock.hpp @@ -0,0 +1,91 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "BlockLegacy.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ButtonBlock : public BlockLegacy { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_BUTTONBLOCK +public: + class ButtonBlock& operator=(class ButtonBlock const &) = delete; + ButtonBlock(class ButtonBlock const &) = delete; + ButtonBlock() = delete; +#endif + +public: + /*0*/ virtual ~ButtonBlock(); + /*1*/ virtual void tick(class BlockSource &, class BlockPos const &, class Random &) const; + /*5*/ virtual bool getCollisionShape(class AABB &, class Block const &, class BlockSource &, class BlockPos const &, class Actor *) const; + /*18*/ virtual void __unk_vfn_18(); + /*24*/ virtual void __unk_vfn_24(); + /*25*/ virtual void __unk_vfn_25(); + /*26*/ virtual void __unk_vfn_26(); + /*27*/ virtual void __unk_vfn_27(); + /*28*/ virtual void __unk_vfn_28(); + /*30*/ virtual void __unk_vfn_30(); + /*31*/ virtual void __unk_vfn_31(); + /*32*/ virtual void __unk_vfn_32(); + /*33*/ virtual void __unk_vfn_33(); + /*34*/ virtual void __unk_vfn_34(); + /*35*/ virtual void __unk_vfn_35(); + /*36*/ virtual void __unk_vfn_36(); + /*38*/ virtual void __unk_vfn_38(); + /*39*/ virtual void __unk_vfn_39(); + /*40*/ virtual void __unk_vfn_40(); + /*42*/ virtual void __unk_vfn_42(); + /*43*/ virtual void __unk_vfn_43(); + /*49*/ virtual void __unk_vfn_49(); + /*51*/ virtual bool shouldConnectToRedstone(class BlockSource &, class BlockPos const &, int) const; + /*52*/ virtual void __unk_vfn_52(); + /*59*/ virtual void onPlace(class BlockSource &, class BlockPos const &) const; + /*65*/ virtual void onRedstoneUpdate(class BlockSource &, class BlockPos const &, int, bool) const; + /*67*/ virtual void __unk_vfn_67(); + /*70*/ virtual void setupRedstoneComponent(class BlockSource &, class BlockPos const &) const; + /*73*/ virtual void __unk_vfn_73(); + /*80*/ virtual bool mayPlace(class BlockSource &, class BlockPos const &, unsigned char) const; + /*81*/ virtual bool mayPlace(class BlockSource &, class BlockPos const &) const; + /*87*/ virtual void __unk_vfn_87(); + /*88*/ virtual void neighborChanged(class BlockSource &, class BlockPos const &, class BlockPos const &) const; + /*90*/ virtual int getResourceCount(class Random &, class Block const &, int, bool) const; + /*91*/ virtual class ItemInstance getResourceItem(class Random &, class Block const &, int) const; + /*92*/ virtual class ItemInstance asItemInstance(class BlockSource &, class BlockPos const &, class Block const &) const; + /*95*/ virtual void __unk_vfn_95(); + /*98*/ virtual bool use(class Player &, class BlockPos const &) const; + /*99*/ virtual class Block const & getPlacementBlock(class Actor &, class BlockPos const &, unsigned char, class Vec3 const &, int) const; + /*101*/ virtual bool isAttachedTo(class BlockSource &, class BlockPos const &, class BlockPos &) const; + /*104*/ virtual void entityInside(class BlockSource &, class BlockPos const &, class Actor &) const; + /*109*/ virtual void __unk_vfn_109(); + /*116*/ virtual void __unk_vfn_116(); + /*118*/ virtual void __unk_vfn_118(); + /*119*/ virtual void __unk_vfn_119(); + /*138*/ virtual class AABB const & getVisualShape(class Block const &, class AABB &, bool) const; + /*139*/ virtual class AABB const & getUIShape(class Block const &, class AABB &) const; + /*141*/ virtual int getVariant(class Block const &) const; + /*142*/ virtual void __unk_vfn_142(); + /*158*/ virtual void __unk_vfn_158(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_BUTTONBLOCK + MCVAPI bool canSpawnOn() const; + MCVAPI bool isButtonBlock() const; + MCVAPI bool isInteractiveBlock() const; + MCVAPI bool isSignalSource() const; +#endif + MCAPI static bool canAttachTo(class BlockSource &, class BlockPos const &, unsigned char); + +//private: + MCAPI void _buttonPressed(class BlockSource &, class Block const &, class Vec3 const &) const; + MCAPI void _buttonUnpressed(class BlockSource &, class Block const &, class Vec3 const &) const; + MCAPI bool _checkCanSurvive(class BlockSource &, class BlockPos const &) const; + MCAPI void _checkPressed(class BlockSource &, class BlockPos const &) const; + MCAPI void _getShape(class AABB &, bool, unsigned char, bool) const; + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ByteArrayTag.hpp b/LiteLoader/Header/MC/ByteArrayTag.hpp new file mode 100644 index 0000000..398269c --- /dev/null +++ b/LiteLoader/Header/MC/ByteArrayTag.hpp @@ -0,0 +1,35 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Tag.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ByteArrayTag : public Tag { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_BYTEARRAYTAG +public: + class ByteArrayTag& operator=(class ByteArrayTag const &) = delete; + ByteArrayTag(class ByteArrayTag const &) = delete; + ByteArrayTag() = delete; +#endif + +public: + /*0*/ virtual ~ByteArrayTag(); + /*2*/ virtual void write(class IDataOutput &) const; + /*3*/ virtual void load(class IDataInput &); + /*4*/ virtual std::string toString() const; + /*5*/ virtual enum Tag::Type getId() const; + /*6*/ virtual bool equals(class Tag const &) const; + /*9*/ virtual std::unique_ptr copy() const; + /*10*/ virtual unsigned __int64 hash() const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_BYTEARRAYTAG +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ByteTag.hpp b/LiteLoader/Header/MC/ByteTag.hpp new file mode 100644 index 0000000..62c90a4 --- /dev/null +++ b/LiteLoader/Header/MC/ByteTag.hpp @@ -0,0 +1,35 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Tag.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ByteTag : public Tag { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_BYTETAG +public: + class ByteTag& operator=(class ByteTag const &) = delete; + ByteTag(class ByteTag const &) = delete; + ByteTag() = delete; +#endif + +public: + /*0*/ virtual ~ByteTag(); + /*2*/ virtual void write(class IDataOutput &) const; + /*3*/ virtual void load(class IDataInput &); + /*4*/ virtual std::string toString() const; + /*5*/ virtual enum Tag::Type getId() const; + /*6*/ virtual bool equals(class Tag const &) const; + /*9*/ virtual std::unique_ptr copy() const; + /*10*/ virtual unsigned __int64 hash() const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_BYTETAG +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/BytesDataInput.hpp b/LiteLoader/Header/MC/BytesDataInput.hpp new file mode 100644 index 0000000..cc6e467 --- /dev/null +++ b/LiteLoader/Header/MC/BytesDataInput.hpp @@ -0,0 +1,34 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class BytesDataInput { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_BYTESDATAINPUT +public: + class BytesDataInput& operator=(class BytesDataInput const &) = delete; + BytesDataInput(class BytesDataInput const &) = delete; + BytesDataInput() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_BYTESDATAINPUT + MCVAPI char readByte(); + MCVAPI double readDouble(); + MCVAPI float readFloat(); + MCVAPI int readInt(); + MCVAPI __int64 readLongLong(); + MCVAPI std::string readLongString(); + MCVAPI short readShort(); + MCVAPI std::string readString(); +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/BytesDataOutput.hpp b/LiteLoader/Header/MC/BytesDataOutput.hpp new file mode 100644 index 0000000..a54fe26 --- /dev/null +++ b/LiteLoader/Header/MC/BytesDataOutput.hpp @@ -0,0 +1,34 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class BytesDataOutput { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_BYTESDATAOUTPUT +public: + class BytesDataOutput& operator=(class BytesDataOutput const &) = delete; + BytesDataOutput(class BytesDataOutput const &) = delete; + BytesDataOutput() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_BYTESDATAOUTPUT + MCVAPI void writeByte(char); + MCVAPI void writeDouble(double); + MCVAPI void writeFloat(float); + MCVAPI void writeInt(int); + MCVAPI void writeLongLong(__int64); + MCVAPI void writeLongString(class gsl::basic_string_span); + MCVAPI void writeShort(short); + MCVAPI void writeString(class gsl::basic_string_span); +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/CDScopedEvent.hpp b/LiteLoader/Header/MC/CDScopedEvent.hpp new file mode 100644 index 0000000..478c00d --- /dev/null +++ b/LiteLoader/Header/MC/CDScopedEvent.hpp @@ -0,0 +1,27 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class CDScopedEvent { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_CDSCOPEDEVENT +public: + class CDScopedEvent& operator=(class CDScopedEvent const &) = delete; + CDScopedEvent(class CDScopedEvent const &) = delete; + CDScopedEvent() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_CDSCOPEDEVENT +#endif + MCAPI ~CDScopedEvent(); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/CSHA1.hpp b/LiteLoader/Header/MC/CSHA1.hpp new file mode 100644 index 0000000..9782401 --- /dev/null +++ b/LiteLoader/Header/MC/CSHA1.hpp @@ -0,0 +1,34 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class CSHA1 { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_CSHA1 +public: + class CSHA1& operator=(class CSHA1 const &) = delete; + CSHA1(class CSHA1 const &) = delete; + CSHA1() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_CSHA1 +#endif + MCAPI void Final(); + MCAPI void Update(unsigned char const *, unsigned int); + MCAPI ~CSHA1(); + +//private: + MCAPI void Transform(unsigned int *, unsigned char const *); + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/CactusBlock.hpp b/LiteLoader/Header/MC/CactusBlock.hpp new file mode 100644 index 0000000..a00111a --- /dev/null +++ b/LiteLoader/Header/MC/CactusBlock.hpp @@ -0,0 +1,72 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "BlockLegacy.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class CactusBlock : public BlockLegacy { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_CACTUSBLOCK +public: + class CactusBlock& operator=(class CactusBlock const &) = delete; + CactusBlock(class CactusBlock const &) = delete; + CactusBlock() = delete; +#endif + +public: + /*0*/ virtual ~CactusBlock(); + /*1*/ virtual void tick(class BlockSource &, class BlockPos const &, class Random &) const; + /*10*/ virtual class AABB const & getAABB(class BlockSource &, class BlockPos const &, class Block const &, class AABB &, bool) const; + /*18*/ virtual void __unk_vfn_18(); + /*24*/ virtual void __unk_vfn_24(); + /*25*/ virtual void __unk_vfn_25(); + /*26*/ virtual void __unk_vfn_26(); + /*27*/ virtual void __unk_vfn_27(); + /*28*/ virtual void __unk_vfn_28(); + /*30*/ virtual void __unk_vfn_30(); + /*31*/ virtual void __unk_vfn_31(); + /*32*/ virtual void __unk_vfn_32(); + /*33*/ virtual void __unk_vfn_33(); + /*34*/ virtual void __unk_vfn_34(); + /*35*/ virtual void __unk_vfn_35(); + /*36*/ virtual void __unk_vfn_36(); + /*38*/ virtual void __unk_vfn_38(); + /*39*/ virtual void __unk_vfn_39(); + /*40*/ virtual void __unk_vfn_40(); + /*42*/ virtual void __unk_vfn_42(); + /*43*/ virtual void __unk_vfn_43(); + /*49*/ virtual void __unk_vfn_49(); + /*52*/ virtual void __unk_vfn_52(); + /*67*/ virtual void __unk_vfn_67(); + /*73*/ virtual void __unk_vfn_73(); + /*81*/ virtual bool mayPlace(class BlockSource &, class BlockPos const &) const; + /*87*/ virtual void __unk_vfn_87(); + /*88*/ virtual void neighborChanged(class BlockSource &, class BlockPos const &, class BlockPos const &) const; + /*95*/ virtual void __unk_vfn_95(); + /*104*/ virtual void entityInside(class BlockSource &, class BlockPos const &, class Actor &) const; + /*106*/ virtual bool canSurvive(class BlockSource &, class BlockPos const &) const; + /*109*/ virtual void __unk_vfn_109(); + /*116*/ virtual void __unk_vfn_116(); + /*118*/ virtual void __unk_vfn_118(); + /*119*/ virtual void __unk_vfn_119(); + /*134*/ virtual void onGraphicsModeChanged(bool, bool, bool); + /*142*/ virtual void __unk_vfn_142(); + /*158*/ virtual void __unk_vfn_158(); + /*163*/ virtual bool dealsContactDamage(class Actor const &, class Block const &, bool) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_CACTUSBLOCK + MCVAPI bool canBeSilkTouched() const; +#endif + +//private: + MCAPI bool _neighborsDestroy(class BlockSource &, class BlockPos const &) const; + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/CactusFeature.hpp b/LiteLoader/Header/MC/CactusFeature.hpp new file mode 100644 index 0000000..4d4c5c3 --- /dev/null +++ b/LiteLoader/Header/MC/CactusFeature.hpp @@ -0,0 +1,29 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Feature.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class CactusFeature : public Feature { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_CACTUSFEATURE +public: + class CactusFeature& operator=(class CactusFeature const &) = delete; + CactusFeature(class CactusFeature const &) = delete; + CactusFeature() = delete; +#endif + +public: + /*0*/ virtual ~CactusFeature(); + /*1*/ virtual bool place(class BlockSource &, class BlockPos const &, class Random &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_CACTUSFEATURE +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/CakeBlock.hpp b/LiteLoader/Header/MC/CakeBlock.hpp new file mode 100644 index 0000000..aecf86f --- /dev/null +++ b/LiteLoader/Header/MC/CakeBlock.hpp @@ -0,0 +1,75 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "BlockLegacy.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class CakeBlock : public BlockLegacy { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_CAKEBLOCK +public: + class CakeBlock& operator=(class CakeBlock const &) = delete; + CakeBlock(class CakeBlock const &) = delete; + CakeBlock() = delete; +#endif + +public: + /*0*/ virtual ~CakeBlock(); + /*18*/ virtual void __unk_vfn_18(); + /*24*/ virtual void __unk_vfn_24(); + /*25*/ virtual void __unk_vfn_25(); + /*26*/ virtual void __unk_vfn_26(); + /*27*/ virtual void __unk_vfn_27(); + /*28*/ virtual void __unk_vfn_28(); + /*30*/ virtual void __unk_vfn_30(); + /*31*/ virtual void __unk_vfn_31(); + /*32*/ virtual void __unk_vfn_32(); + /*33*/ virtual void __unk_vfn_33(); + /*34*/ virtual void __unk_vfn_34(); + /*35*/ virtual void __unk_vfn_35(); + /*36*/ virtual void __unk_vfn_36(); + /*38*/ virtual void __unk_vfn_38(); + /*39*/ virtual void __unk_vfn_39(); + /*40*/ virtual void __unk_vfn_40(); + /*42*/ virtual void __unk_vfn_42(); + /*43*/ virtual void __unk_vfn_43(); + /*49*/ virtual void __unk_vfn_49(); + /*52*/ virtual void __unk_vfn_52(); + /*56*/ virtual bool checkIsPathable(class Actor &, class BlockPos const &, class BlockPos const &) const; + /*67*/ virtual void __unk_vfn_67(); + /*73*/ virtual void __unk_vfn_73(); + /*80*/ virtual bool mayPlace(class BlockSource &, class BlockPos const &, unsigned char) const; + /*87*/ virtual void __unk_vfn_87(); + /*88*/ virtual void neighborChanged(class BlockSource &, class BlockPos const &, class BlockPos const &) const; + /*90*/ virtual int getResourceCount(class Random &, class Block const &, int, bool) const; + /*92*/ virtual class ItemInstance asItemInstance(class BlockSource &, class BlockPos const &, class Block const &) const; + /*95*/ virtual void __unk_vfn_95(); + /*98*/ virtual bool use(class Player &, class BlockPos const &) const; + /*106*/ virtual bool canSurvive(class BlockSource &, class BlockPos const &) const; + /*109*/ virtual void __unk_vfn_109(); + /*116*/ virtual void __unk_vfn_116(); + /*118*/ virtual void __unk_vfn_118(); + /*119*/ virtual void __unk_vfn_119(); + /*120*/ virtual int getComparatorSignal(class BlockSource &, class BlockPos const &, class Block const &, unsigned char) const; + /*138*/ virtual class AABB const & getVisualShape(class Block const &, class AABB &, bool) const; + /*141*/ virtual int getVariant(class Block const &) const; + /*142*/ virtual void __unk_vfn_142(); + /*158*/ virtual void __unk_vfn_158(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_CAKEBLOCK + MCVAPI bool canBeSilkTouched() const; + MCVAPI bool hasComparatorSignal() const; +#endif + +//private: + MCAPI void _removeCakeSlice(class Player &, class BlockSource &, class BlockPos const &) const; + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/CameraBlock.hpp b/LiteLoader/Header/MC/CameraBlock.hpp new file mode 100644 index 0000000..73bf929 --- /dev/null +++ b/LiteLoader/Header/MC/CameraBlock.hpp @@ -0,0 +1,59 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "BlockLegacy.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class CameraBlock : public BlockLegacy { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_CAMERABLOCK +public: + class CameraBlock& operator=(class CameraBlock const &) = delete; + CameraBlock(class CameraBlock const &) = delete; + CameraBlock() = delete; +#endif + +public: + /*0*/ virtual ~CameraBlock(); + /*18*/ virtual void __unk_vfn_18(); + /*24*/ virtual void __unk_vfn_24(); + /*25*/ virtual void __unk_vfn_25(); + /*26*/ virtual void __unk_vfn_26(); + /*27*/ virtual void __unk_vfn_27(); + /*28*/ virtual void __unk_vfn_28(); + /*30*/ virtual void __unk_vfn_30(); + /*31*/ virtual void __unk_vfn_31(); + /*32*/ virtual void __unk_vfn_32(); + /*33*/ virtual void __unk_vfn_33(); + /*34*/ virtual void __unk_vfn_34(); + /*35*/ virtual void __unk_vfn_35(); + /*36*/ virtual void __unk_vfn_36(); + /*38*/ virtual void __unk_vfn_38(); + /*39*/ virtual void __unk_vfn_39(); + /*40*/ virtual void __unk_vfn_40(); + /*42*/ virtual void __unk_vfn_42(); + /*43*/ virtual void __unk_vfn_43(); + /*49*/ virtual void __unk_vfn_49(); + /*52*/ virtual void __unk_vfn_52(); + /*53*/ virtual bool canBeUsedInCommands(bool, class BaseGameVersion const &) const; + /*67*/ virtual void __unk_vfn_67(); + /*73*/ virtual void __unk_vfn_73(); + /*87*/ virtual void __unk_vfn_87(); + /*95*/ virtual void __unk_vfn_95(); + /*109*/ virtual void __unk_vfn_109(); + /*116*/ virtual void __unk_vfn_116(); + /*118*/ virtual void __unk_vfn_118(); + /*119*/ virtual void __unk_vfn_119(); + /*142*/ virtual void __unk_vfn_142(); + /*158*/ virtual void __unk_vfn_158(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_CAMERABLOCK +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/CameraItem.hpp b/LiteLoader/Header/MC/CameraItem.hpp new file mode 100644 index 0000000..e065a54 --- /dev/null +++ b/LiteLoader/Header/MC/CameraItem.hpp @@ -0,0 +1,44 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Item.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class CameraItem : public Item { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_CAMERAITEM +public: + class CameraItem& operator=(class CameraItem const &) = delete; + CameraItem(class CameraItem const &) = delete; + CameraItem() = delete; +#endif + +public: + /*0*/ virtual ~CameraItem(); + /*5*/ virtual void __unk_vfn_5(); + /*26*/ virtual void __unk_vfn_26(); + /*27*/ virtual void __unk_vfn_27(); + /*31*/ virtual void __unk_vfn_31(); + /*32*/ virtual void __unk_vfn_32(); + /*34*/ virtual void __unk_vfn_34(); + /*37*/ virtual void __unk_vfn_37(); + /*43*/ virtual void __unk_vfn_43(); + /*46*/ virtual void __unk_vfn_46(); + /*47*/ virtual void __unk_vfn_47(); + /*49*/ virtual void __unk_vfn_49(); + /*50*/ virtual void __unk_vfn_50(); + /*79*/ virtual void __unk_vfn_79(); + /*80*/ virtual void __unk_vfn_80(); + /*90*/ virtual void __unk_vfn_90(); + /*97*/ virtual void __unk_vfn_97(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_CAMERAITEM +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/CameraItemComponent.hpp b/LiteLoader/Header/MC/CameraItemComponent.hpp new file mode 100644 index 0000000..71f8b52 --- /dev/null +++ b/LiteLoader/Header/MC/CameraItemComponent.hpp @@ -0,0 +1,36 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Json.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class CameraItemComponent { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_CAMERAITEMCOMPONENT +public: + class CameraItemComponent& operator=(class CameraItemComponent const &) = delete; + CameraItemComponent(class CameraItemComponent const &) = delete; + CameraItemComponent() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_CAMERAITEMCOMPONENT +#endif + MCAPI bool init(class Json::Value &); + MCAPI void releaseUsing(class ItemStack &, class Player &, int); + MCAPI void use(class ItemStack &, class Player &); + MCAPI bool useOn(class ItemStack &, class Actor &, class BlockPos const &, unsigned char, class Vec3 const &); + +//private: + MCAPI enum CameraItemComponent::UseAction _tryPlace(class ItemStack const &, class Actor &, class BlockPos const &, unsigned char, class Vec3 &) const; + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/CameraPacket.hpp b/LiteLoader/Header/MC/CameraPacket.hpp new file mode 100644 index 0000000..f02c008 --- /dev/null +++ b/LiteLoader/Header/MC/CameraPacket.hpp @@ -0,0 +1,32 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Packet.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class CameraPacket : public Packet { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_CAMERAPACKET +public: + class CameraPacket& operator=(class CameraPacket const &) = delete; + CameraPacket(class CameraPacket const &) = delete; + CameraPacket() = delete; +#endif + +public: + /*0*/ virtual ~CameraPacket(); + /*1*/ virtual enum MinecraftPacketIds getId() const; + /*2*/ virtual std::string getName() const; + /*3*/ virtual void write(class BinaryStream &) const; + /*4*/ virtual enum StreamReadResult read(class ReadOnlyBinaryStream &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_CAMERAPACKET +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/CampfireBlock.hpp b/LiteLoader/Header/MC/CampfireBlock.hpp new file mode 100644 index 0000000..d70c67d --- /dev/null +++ b/LiteLoader/Header/MC/CampfireBlock.hpp @@ -0,0 +1,205 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "ActorBlock.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class CampfireBlock : public ActorBlock { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_CAMPFIREBLOCK +public: + class CampfireBlock& operator=(class CampfireBlock const &) = delete; + CampfireBlock(class CampfireBlock const &) = delete; + CampfireBlock() = delete; +#endif + +public: + /*0*/ virtual ~CampfireBlock(); + /*1*/ virtual void tick(class BlockSource &, class BlockPos const &, class Random &) const; + /*2*/ virtual class Block const & getStateFromLegacyData(unsigned short) const; + /*3*/ virtual class std::shared_ptr newBlockEntity(class BlockPos const &, class Block const &) const; + /*4*/ virtual class Block const * getNextBlockPermutation(class Block const &) const; + /*5*/ virtual bool getCollisionShape(class AABB &, class Block const &, class BlockSource &, class BlockPos const &, class Actor *) const; + /*6*/ virtual bool isObstructingChests(class BlockSource &, class BlockPos const &) const; + /*7*/ virtual void __unk_vfn_7(); + /*8*/ virtual class Vec3 randomlyModifyPosition(class BlockPos const &, int &) const; + /*9*/ virtual void addAABBs(class Block const &, class BlockSource &, class BlockPos const &, class AABB const *, std::vector &) const; + /*10*/ virtual class AABB const & getAABB(class BlockSource &, class BlockPos const &, class Block const &, class AABB &, bool) const; + /*11*/ virtual bool addCollisionShapes(class Block const &, class BlockSource &, class BlockPos const &, class AABB const *, std::vector &, class Actor *) const; + /*12*/ virtual class AABB const & getOutline(class BlockSource &, class BlockPos const &, class AABB &) const; + /*13*/ virtual bool getLiquidClipVolume(class BlockSource &, class BlockPos const &, class AABB &) const; + /*14*/ virtual void __unk_vfn_14(); + /*15*/ virtual void __unk_vfn_15(); + /*16*/ virtual struct Brightness getLightEmission(class Block const &) const; + /*17*/ virtual bool shouldRandomTick() const; + /*18*/ virtual void __unk_vfn_18(); + /*19*/ virtual void __unk_vfn_19(); + /*20*/ virtual void __unk_vfn_20(); + /*21*/ virtual bool canProvideSupport(class Block const &, unsigned char, enum BlockSupportType) const; + /*22*/ virtual bool canConnect(class Block const &, unsigned char, class Block const &) const; + /*23*/ virtual void getConnectedDirections(class Block const &, class BlockPos const &, class BlockSource &, bool &, bool &, bool &, bool &) const; + /*24*/ virtual void __unk_vfn_24(); + /*25*/ virtual void __unk_vfn_25(); + /*26*/ virtual void __unk_vfn_26(); + /*27*/ virtual void __unk_vfn_27(); + /*28*/ virtual void __unk_vfn_28(); + /*29*/ virtual void __unk_vfn_29(); + /*30*/ virtual void __unk_vfn_30(); + /*31*/ virtual void __unk_vfn_31(); + /*32*/ virtual void __unk_vfn_32(); + /*33*/ virtual void __unk_vfn_33(); + /*34*/ virtual void __unk_vfn_34(); + /*35*/ virtual void __unk_vfn_35(); + /*36*/ virtual void __unk_vfn_36(); + /*37*/ virtual void __unk_vfn_37(); + /*38*/ virtual void __unk_vfn_38(); + /*39*/ virtual void __unk_vfn_39(); + /*40*/ virtual void __unk_vfn_40(); + /*41*/ virtual bool canHurtAndBreakItem() const; + /*42*/ virtual void __unk_vfn_42(); + /*43*/ virtual void __unk_vfn_43(); + /*44*/ virtual void __unk_vfn_44(); + /*45*/ virtual void __unk_vfn_45(); + /*46*/ virtual class Block const & sanitizeFillBlock(class BlockSource &, class BlockPos const &, class Block const &) const; + /*47*/ virtual void __unk_vfn_47(); + /*48*/ virtual void __unk_vfn_48(); + /*49*/ virtual void __unk_vfn_49(); + /*50*/ virtual void __unk_vfn_50(); + /*51*/ virtual void __unk_vfn_51(); + /*52*/ virtual void __unk_vfn_52(); + /*53*/ virtual bool canBeUsedInCommands(bool, class BaseGameVersion const &) const; + /*54*/ virtual float getThickness() const; + /*55*/ virtual void __unk_vfn_55(); + /*56*/ virtual bool checkIsPathable(class Actor &, class BlockPos const &, class BlockPos const &) const; + /*57*/ virtual void __unk_vfn_57(); + /*58*/ virtual void __unk_vfn_58(); + /*59*/ virtual void onPlace(class BlockSource &, class BlockPos const &) const; + /*60*/ virtual void onRemove(class BlockSource &, class BlockPos const &) const; + /*61*/ virtual void __unk_vfn_61(); + /*62*/ virtual void __unk_vfn_62(); + /*63*/ virtual void onFallOn(class BlockSource &, class BlockPos const &, class Actor &, float) const; + /*64*/ virtual void __unk_vfn_64(); + /*65*/ virtual void __unk_vfn_65(); + /*66*/ virtual void __unk_vfn_66(); + /*67*/ virtual void __unk_vfn_67(); + /*68*/ virtual void __unk_vfn_68(); + /*69*/ virtual void __unk_vfn_69(); + /*70*/ virtual void __unk_vfn_70(); + /*71*/ virtual enum BlockProperty getRedstoneProperty(class BlockSource &, class BlockPos const &) const; + /*72*/ virtual void updateEntityAfterFallOn(class BlockSource &, class BlockPos const &, class Actor &) const; + /*73*/ virtual void __unk_vfn_73(); + /*74*/ virtual void __unk_vfn_74(); + /*75*/ virtual void __unk_vfn_75(); + /*76*/ virtual void __unk_vfn_76(); + /*77*/ virtual void __unk_vfn_77(); + /*78*/ virtual bool mayPick(class BlockSource &, class Block const &, bool) const; + /*79*/ virtual void __unk_vfn_79(); + /*80*/ virtual bool mayPlace(class BlockSource &, class BlockPos const &) const; + /*81*/ virtual void __unk_vfn_81(); + /*82*/ virtual void __unk_vfn_82(); + /*83*/ virtual bool tryToPlace(class BlockSource &, class BlockPos const &, class Block const &, struct ActorBlockSyncMessage const *) const; + /*84*/ virtual bool breaksFallingBlocks(class Block const &) const; + /*85*/ virtual void __unk_vfn_85(); + /*86*/ virtual bool playerWillDestroy(class Player &, class BlockPos const &, class Block const &) const; + /*87*/ virtual void __unk_vfn_87(); + /*88*/ virtual void neighborChanged(class BlockSource &, class BlockPos const &, class BlockPos const &) const; + /*89*/ virtual void __unk_vfn_89(); + /*90*/ virtual int getResourceCount(class Random &, class Block const &, int, bool) const; + /*91*/ virtual class ItemInstance getResourceItem(class Random &, class Block const &, int) const; + /*92*/ virtual class ItemInstance asItemInstance(class BlockSource &, class BlockPos const &, class Block const &) const; + /*93*/ virtual void spawnResources(class BlockSource &, class BlockPos const &, class Block const &, std::vector *, float, int, bool) const; + /*94*/ virtual void trySpawnResourcesOnExplosion(class BlockSource &, class BlockPos const &, class Block const &, std::vector *, float, int, bool) const; + /*95*/ virtual void __unk_vfn_95(); + /*96*/ virtual void __unk_vfn_96(); + /*97*/ virtual class HitResult clip(class BlockSource &, class BlockPos const &, class Vec3 const &, class Vec3 const &, bool) const; + /*98*/ virtual bool use(class Player &, class BlockPos const &) const; + /*99*/ virtual class Block const & getPlacementBlock(class Actor &, class BlockPos const &, unsigned char, class Vec3 const &, int) const; + /*100*/ virtual int calcVariant(class BlockSource &, class BlockPos const &) const; + /*101*/ virtual void __unk_vfn_101(); + /*102*/ virtual void __unk_vfn_102(); + /*103*/ virtual void __unk_vfn_103(); + /*104*/ virtual void entityInside(class BlockSource &, class BlockPos const &, class Actor &) const; + /*105*/ virtual void playerDestroy(class Player &, class BlockPos const &, class Block const &) const; + /*106*/ virtual bool canSurvive(class BlockSource &, class BlockPos const &) const; + /*107*/ virtual void __unk_vfn_107(); + /*108*/ virtual bool canBeBuiltOver(class BlockSource &, class BlockPos const &) const; + /*109*/ virtual void triggerEvent(class BlockSource &, class BlockPos const &, int, int) const; + /*110*/ virtual void __unk_vfn_110(); + /*111*/ virtual void __unk_vfn_111(); + /*112*/ virtual class MobSpawnerData const * getMobToSpawn(class SpawnConditions const &, class BlockSource &) const; + /*113*/ virtual void __unk_vfn_113(); + /*114*/ virtual void __unk_vfn_114(); + /*115*/ virtual bool shouldStopFalling(class Actor &) const; + /*116*/ virtual void __unk_vfn_116(); + /*117*/ virtual float calcGroundFriction(class Mob &, class BlockPos const &) const; + /*118*/ virtual void __unk_vfn_118(); + /*119*/ virtual void __unk_vfn_119(); + /*120*/ virtual void __unk_vfn_120(); + /*121*/ virtual bool canSlide(class BlockSource &, class BlockPos const &) const; + /*122*/ virtual void __unk_vfn_122(); + /*123*/ virtual void __unk_vfn_123(); + /*124*/ virtual void __unk_vfn_124(); + /*125*/ virtual void __unk_vfn_125(); + /*126*/ virtual void __unk_vfn_126(); + /*127*/ virtual void __unk_vfn_127(); + /*128*/ virtual void __unk_vfn_128(); + /*129*/ virtual void __unk_vfn_129(); + /*130*/ virtual void __unk_vfn_130(); + /*131*/ virtual void __unk_vfn_131(); + /*132*/ virtual int getColorForParticle(class BlockSource &, class BlockPos const &, class Block const &) const; + /*133*/ virtual void __unk_vfn_133(); + /*134*/ virtual void onGraphicsModeChanged(bool, bool, bool); + /*135*/ virtual void __unk_vfn_135(); + /*136*/ virtual float getShadeBrightness() const; + /*137*/ virtual class AABB const & getVisualShapeInWorld(class Block const &, class BlockSource &, class BlockPos const &, class AABB &, bool) const; + /*138*/ virtual class AABB const & getVisualShape(class Block const &, class AABB &, bool) const; + /*139*/ virtual class AABB const & getUIShape(class Block const &, class AABB &) const; + /*140*/ virtual int telemetryVariant(class BlockSource &, class BlockPos const &) const; + /*141*/ virtual int getVariant(class Block const &) const; + /*142*/ virtual void __unk_vfn_142(); + /*143*/ virtual class Block const & getRenderBlock() const; + /*144*/ virtual void __unk_vfn_144(); + /*145*/ virtual void __unk_vfn_145(); + /*146*/ virtual void animateTick(class BlockSource &, class BlockPos const &, class Random &) const; + /*147*/ virtual class BlockLegacy & init(); + /*148*/ virtual class BlockLegacy & setLightBlock(struct Brightness); + /*149*/ virtual class BlockLegacy & setLightEmission(float); + /*150*/ virtual class BlockLegacy & setExplodeable(float); + /*151*/ virtual class BlockLegacy & setDestroyTime(float); + /*152*/ virtual class BlockLegacy & setFriction(float); + /*153*/ virtual class BlockLegacy & addProperty(enum BlockProperty); + /*154*/ virtual class BlockLegacy & addState(class ItemState const &); + /*155*/ virtual class BlockLegacy & addState(class ItemState const &, unsigned __int64); + /*156*/ virtual class BlockLegacy & setAllowsRunes(bool); + /*157*/ virtual class BlockLegacy & setMapColor(class Color const &); + /*158*/ virtual void __unk_vfn_158(); + /*159*/ virtual class ItemInstance getSilkTouchItemInstance(class Block const &) const; + /*160*/ virtual void setVisualShape(class AABB const &); + /*161*/ virtual void setVisualShape(class Vec3 const &, class Vec3 const &); + /*162*/ virtual void __unk_vfn_162(); + /*163*/ virtual void __unk_vfn_163(); + /*164*/ virtual class ItemInstance getEntityResourceItem(class Random &, class BlockActor const &, int) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_CAMPFIREBLOCK + MCVAPI bool canBeSilkTouched() const; + MCVAPI bool canContainLiquid() const; + MCVAPI bool hasVariableLighting() const; + MCVAPI bool isWaterBlocking() const; + MCVAPI bool waterSpreadCausesSpawn() const; +#endif + MCAPI CampfireBlock(std::string const &, int, bool); + MCAPI static bool tryDouseFire(class BlockSource &, class BlockPos const &, bool); + MCAPI static bool tryLightFire(class BlockSource &, class BlockPos const &); + +//private: + MCAPI void _checkAlive(class BlockSource &, class BlockPos const &) const; + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/CampfireBlockActor.hpp b/LiteLoader/Header/MC/CampfireBlockActor.hpp new file mode 100644 index 0000000..32d38e9 --- /dev/null +++ b/LiteLoader/Header/MC/CampfireBlockActor.hpp @@ -0,0 +1,47 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "BlockActor.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class CampfireBlockActor : public BlockActor { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_CAMPFIREBLOCKACTOR +public: + class CampfireBlockActor& operator=(class CampfireBlockActor const &) = delete; + CampfireBlockActor(class CampfireBlockActor const &) = delete; + CampfireBlockActor() = delete; +#endif + +public: + /*0*/ virtual ~CampfireBlockActor(); + /*1*/ virtual void load(class Level &, class CompoundTag const &, class DataLoadHelper &); + /*2*/ virtual bool save(class CompoundTag &) const; + /*7*/ virtual void tick(class BlockSource &); + /*9*/ virtual void onChanged(class BlockSource &); + /*13*/ virtual void __unk_vfn_13(); + /*17*/ virtual void __unk_vfn_17(); + /*18*/ virtual float getShadowRadius(class BlockSource &) const; + /*29*/ virtual void __unk_vfn_29(); + /*30*/ virtual void __unk_vfn_30(); + /*32*/ virtual void __unk_vfn_32(); + /*33*/ virtual void __unk_vfn_33(); + /*34*/ virtual std::unique_ptr _getUpdatePacket(class BlockSource &); + /*35*/ virtual void _onUpdatePacket(class CompoundTag const &, class BlockSource &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_CAMPFIREBLOCKACTOR +#endif + MCAPI void dropAllItems(class BlockSource &); + +//private: + MCAPI void _finishCooking(class BlockSource &, int); + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/CanClimbDescription.hpp b/LiteLoader/Header/MC/CanClimbDescription.hpp new file mode 100644 index 0000000..2739082 --- /dev/null +++ b/LiteLoader/Header/MC/CanClimbDescription.hpp @@ -0,0 +1,28 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +struct CanClimbDescription { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_CANCLIMBDESCRIPTION +public: + struct CanClimbDescription& operator=(struct CanClimbDescription const &) = delete; + CanClimbDescription(struct CanClimbDescription const &) = delete; + CanClimbDescription() = delete; +#endif +public: + /*0*/ virtual char const * getJsonName() const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_CANCLIMBDESCRIPTION + MCVAPI void deserializeData(class Json::Value &); + MCVAPI void serializeData(class Json::Value &) const; +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/CanFlyDescription.hpp b/LiteLoader/Header/MC/CanFlyDescription.hpp new file mode 100644 index 0000000..954791f --- /dev/null +++ b/LiteLoader/Header/MC/CanFlyDescription.hpp @@ -0,0 +1,28 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +struct CanFlyDescription { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_CANFLYDESCRIPTION +public: + struct CanFlyDescription& operator=(struct CanFlyDescription const &) = delete; + CanFlyDescription(struct CanFlyDescription const &) = delete; + CanFlyDescription() = delete; +#endif +public: + /*0*/ virtual char const * getJsonName() const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_CANFLYDESCRIPTION + MCVAPI void deserializeData(class Json::Value &); + MCVAPI void serializeData(class Json::Value &) const; +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/CanPowerJumpDescription.hpp b/LiteLoader/Header/MC/CanPowerJumpDescription.hpp new file mode 100644 index 0000000..3abe516 --- /dev/null +++ b/LiteLoader/Header/MC/CanPowerJumpDescription.hpp @@ -0,0 +1,28 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +struct CanPowerJumpDescription { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_CANPOWERJUMPDESCRIPTION +public: + struct CanPowerJumpDescription& operator=(struct CanPowerJumpDescription const &) = delete; + CanPowerJumpDescription(struct CanPowerJumpDescription const &) = delete; + CanPowerJumpDescription() = delete; +#endif +public: + /*0*/ virtual char const * getJsonName() const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_CANPOWERJUMPDESCRIPTION + MCVAPI void deserializeData(class Json::Value &); + MCVAPI void serializeData(class Json::Value &) const; +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/CanyonFeature.hpp b/LiteLoader/Header/MC/CanyonFeature.hpp new file mode 100644 index 0000000..3fd2a7a --- /dev/null +++ b/LiteLoader/Header/MC/CanyonFeature.hpp @@ -0,0 +1,35 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class CanyonFeature { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_CANYONFEATURE +public: + class CanyonFeature& operator=(class CanyonFeature const &) = delete; + CanyonFeature(class CanyonFeature const &) = delete; + CanyonFeature() = delete; +#endif + +public: + /*0*/ virtual ~CanyonFeature(); + /*1*/ virtual bool carve(class BlockVolume &, class BiomeSource &, class Random &, class ChunkPos const &, class Vec3 const &, class Vec3 const &, int, int, int, int, int, int, float, float, class gsl::span) const; + /*2*/ virtual void addFeature(class BlockVolume &, class BiomeSource &, class ChunkPos const &, class Random &, int, int); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_CANYONFEATURE +#endif + MCAPI void apply(class BlockVolume &, class ChunkPos const &, class BiomeSource &, class Random &, unsigned int); + +//protected: + MCAPI void addTunnel(class BlockVolume &, class BiomeSource &, class Random &, class ChunkPos const &, class Vec3 const &, class Vec3 const &, float, float, float, int, int, float) const; + +protected: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/CapacitorComponent.hpp b/LiteLoader/Header/MC/CapacitorComponent.hpp new file mode 100644 index 0000000..479acdd --- /dev/null +++ b/LiteLoader/Header/MC/CapacitorComponent.hpp @@ -0,0 +1,27 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class CapacitorComponent { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_CAPACITORCOMPONENT +public: + class CapacitorComponent& operator=(class CapacitorComponent const &) = delete; + CapacitorComponent(class CapacitorComponent const &) = delete; + CapacitorComponent() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_CAPACITORCOMPONENT + MCVAPI unsigned __int64 getBaseType() const; +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/CarrotBlock.hpp b/LiteLoader/Header/MC/CarrotBlock.hpp new file mode 100644 index 0000000..7ed98b1 --- /dev/null +++ b/LiteLoader/Header/MC/CarrotBlock.hpp @@ -0,0 +1,66 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "CropBlock.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class CarrotBlock : public CropBlock { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_CARROTBLOCK +public: + class CarrotBlock& operator=(class CarrotBlock const &) = delete; + CarrotBlock(class CarrotBlock const &) = delete; + CarrotBlock() = delete; +#endif + +public: + /*0*/ virtual ~CarrotBlock(); + /*10*/ virtual class AABB const & getAABB(class BlockSource &, class BlockPos const &, class Block const &, class AABB &, bool) const; + /*18*/ virtual void __unk_vfn_18(); + /*24*/ virtual void __unk_vfn_24(); + /*25*/ virtual void __unk_vfn_25(); + /*26*/ virtual void __unk_vfn_26(); + /*27*/ virtual void __unk_vfn_27(); + /*28*/ virtual void __unk_vfn_28(); + /*30*/ virtual void __unk_vfn_30(); + /*31*/ virtual void __unk_vfn_31(); + /*32*/ virtual void __unk_vfn_32(); + /*33*/ virtual void __unk_vfn_33(); + /*34*/ virtual void __unk_vfn_34(); + /*35*/ virtual void __unk_vfn_35(); + /*36*/ virtual void __unk_vfn_36(); + /*38*/ virtual void __unk_vfn_38(); + /*39*/ virtual void __unk_vfn_39(); + /*40*/ virtual void __unk_vfn_40(); + /*42*/ virtual void __unk_vfn_42(); + /*43*/ virtual void __unk_vfn_43(); + /*49*/ virtual void __unk_vfn_49(); + /*52*/ virtual void __unk_vfn_52(); + /*67*/ virtual void __unk_vfn_67(); + /*73*/ virtual void __unk_vfn_73(); + /*87*/ virtual void __unk_vfn_87(); + /*90*/ virtual int getResourceCount(class Random &, class Block const &, int, bool) const; + /*95*/ virtual void __unk_vfn_95(); + /*109*/ virtual void __unk_vfn_109(); + /*116*/ virtual void __unk_vfn_116(); + /*118*/ virtual void __unk_vfn_118(); + /*119*/ virtual void __unk_vfn_119(); + /*125*/ virtual enum BlockRenderLayer getRenderLayer() const; + /*126*/ virtual enum BlockRenderLayer getRenderLayer(class Block const &, class BlockSource &, class BlockPos const &) const; + /*141*/ virtual int getVariant(class Block const &) const; + /*142*/ virtual void __unk_vfn_142(); + /*158*/ virtual void __unk_vfn_158(); + /*165*/ virtual class Item const & getBaseSeed() const; + /*166*/ virtual class Item const & getBaseCrop() const; + /*168*/ virtual int getCropNum(class Random &, int, int, bool) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_CARROTBLOCK +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/CarrotOnAStickItem.hpp b/LiteLoader/Header/MC/CarrotOnAStickItem.hpp new file mode 100644 index 0000000..5783483 --- /dev/null +++ b/LiteLoader/Header/MC/CarrotOnAStickItem.hpp @@ -0,0 +1,50 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Item.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class CarrotOnAStickItem : public Item { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_CARROTONASTICKITEM +public: + class CarrotOnAStickItem& operator=(class CarrotOnAStickItem const &) = delete; + CarrotOnAStickItem(class CarrotOnAStickItem const &) = delete; + CarrotOnAStickItem() = delete; +#endif + +public: + /*0*/ virtual ~CarrotOnAStickItem(); + /*5*/ virtual void __unk_vfn_5(); + /*25*/ virtual bool isHandEquipped() const; + /*26*/ virtual void __unk_vfn_26(); + /*27*/ virtual void __unk_vfn_27(); + /*31*/ virtual void __unk_vfn_31(); + /*32*/ virtual void __unk_vfn_32(); + /*34*/ virtual void __unk_vfn_34(); + /*37*/ virtual void __unk_vfn_37(); + /*40*/ virtual int getEnchantSlot() const; + /*41*/ virtual int getEnchantValue() const; + /*43*/ virtual void __unk_vfn_43(); + /*46*/ virtual void __unk_vfn_46(); + /*47*/ virtual void __unk_vfn_47(); + /*49*/ virtual void __unk_vfn_49(); + /*50*/ virtual void __unk_vfn_50(); + /*62*/ virtual void hurtEnemy(class ItemStack &, class Mob *, class Mob *) const; + /*64*/ virtual bool mineBlock(class ItemStack &, class Block const &, int, int, int, class Actor *) const; + /*79*/ virtual void __unk_vfn_79(); + /*80*/ virtual void __unk_vfn_80(); + /*90*/ virtual void __unk_vfn_90(); + /*97*/ virtual void __unk_vfn_97(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_CARROTONASTICKITEM + MCVAPI bool requiresInteract() const; +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/CartographyContainerManagerModel.hpp b/LiteLoader/Header/MC/CartographyContainerManagerModel.hpp new file mode 100644 index 0000000..cfed539 --- /dev/null +++ b/LiteLoader/Header/MC/CartographyContainerManagerModel.hpp @@ -0,0 +1,35 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "ContainerManagerModel.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class CartographyContainerManagerModel : public ContainerManagerModel { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_CARTOGRAPHYCONTAINERMANAGERMODEL +public: + class CartographyContainerManagerModel& operator=(class CartographyContainerManagerModel const &) = delete; + CartographyContainerManagerModel(class CartographyContainerManagerModel const &) = delete; + CartographyContainerManagerModel() = delete; +#endif + +public: + /*0*/ virtual ~CartographyContainerManagerModel(); + /*6*/ virtual std::vector getItemCopies() const; + /*7*/ virtual void setSlot(int, class ItemStack const &, bool); + /*8*/ virtual class ItemStack const & getSlot(int) const; + /*9*/ virtual void setData(int, int); + /*10*/ virtual void broadcastChanges(); + /*11*/ virtual bool isValid(float); + /*12*/ virtual class ContainerScreenContext _postInit(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_CARTOGRAPHYCONTAINERMANAGERMODEL +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/CartographyTableBlock.hpp b/LiteLoader/Header/MC/CartographyTableBlock.hpp new file mode 100644 index 0000000..51ef95c --- /dev/null +++ b/LiteLoader/Header/MC/CartographyTableBlock.hpp @@ -0,0 +1,61 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "BlockLegacy.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class CartographyTableBlock : public BlockLegacy { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_CARTOGRAPHYTABLEBLOCK +public: + class CartographyTableBlock& operator=(class CartographyTableBlock const &) = delete; + CartographyTableBlock(class CartographyTableBlock const &) = delete; + CartographyTableBlock() = delete; +#endif + +public: + /*0*/ virtual ~CartographyTableBlock(); + /*18*/ virtual void __unk_vfn_18(); + /*24*/ virtual void __unk_vfn_24(); + /*25*/ virtual void __unk_vfn_25(); + /*26*/ virtual void __unk_vfn_26(); + /*27*/ virtual void __unk_vfn_27(); + /*28*/ virtual void __unk_vfn_28(); + /*30*/ virtual void __unk_vfn_30(); + /*31*/ virtual void __unk_vfn_31(); + /*32*/ virtual void __unk_vfn_32(); + /*33*/ virtual void __unk_vfn_33(); + /*34*/ virtual void __unk_vfn_34(); + /*35*/ virtual void __unk_vfn_35(); + /*36*/ virtual void __unk_vfn_36(); + /*38*/ virtual void __unk_vfn_38(); + /*39*/ virtual void __unk_vfn_39(); + /*40*/ virtual void __unk_vfn_40(); + /*42*/ virtual void __unk_vfn_42(); + /*43*/ virtual void __unk_vfn_43(); + /*49*/ virtual void __unk_vfn_49(); + /*52*/ virtual void __unk_vfn_52(); + /*67*/ virtual void __unk_vfn_67(); + /*73*/ virtual void __unk_vfn_73(); + /*87*/ virtual void __unk_vfn_87(); + /*95*/ virtual void __unk_vfn_95(); + /*98*/ virtual bool use(class Player &, class BlockPos const &) const; + /*109*/ virtual void __unk_vfn_109(); + /*116*/ virtual void __unk_vfn_116(); + /*118*/ virtual void __unk_vfn_118(); + /*119*/ virtual void __unk_vfn_119(); + /*142*/ virtual void __unk_vfn_142(); + /*158*/ virtual void __unk_vfn_158(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_CARTOGRAPHYTABLEBLOCK + MCVAPI bool isCraftingBlock() const; + MCVAPI bool isInteractiveBlock() const; +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/Cat.hpp b/LiteLoader/Header/MC/Cat.hpp new file mode 100644 index 0000000..52f28d0 --- /dev/null +++ b/LiteLoader/Header/MC/Cat.hpp @@ -0,0 +1,56 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Actor.hpp" +#include "Animal.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class Cat : public Animal { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_CAT +public: + class Cat& operator=(class Cat const &) = delete; + Cat(class Cat const &) = delete; + Cat() = delete; +#endif + +public: + /*7*/ virtual ~Cat(); + /*30*/ virtual void __unk_vfn_30(); + /*54*/ virtual void __unk_vfn_54(); + /*61*/ virtual void __unk_vfn_61(); + /*76*/ virtual void __unk_vfn_76(); + /*81*/ virtual void __unk_vfn_81(); + /*88*/ virtual void __unk_vfn_88(); + /*90*/ virtual void __unk_vfn_90(); + /*98*/ virtual void __unk_vfn_98(); + /*100*/ virtual void __unk_vfn_100(); + /*111*/ virtual void onTame(); + /*121*/ virtual void __unk_vfn_121(); + /*169*/ virtual void __unk_vfn_169(); + /*182*/ virtual void __unk_vfn_182(); + /*206*/ virtual void __unk_vfn_206(); + /*207*/ virtual void __unk_vfn_207(); + /*228*/ virtual void __unk_vfn_228(); + /*231*/ virtual void __unk_vfn_231(); + /*235*/ virtual void updateEntitySpecificMolangVariables(class RenderParams &); + /*238*/ virtual void __unk_vfn_238(); + /*246*/ virtual void __unk_vfn_246(); + /*257*/ virtual void __unk_vfn_257(); + /*265*/ virtual enum LevelSoundEvent getAmbientSound(); + /*278*/ virtual void aiStep(); + /*290*/ virtual void __unk_vfn_290(); + /*300*/ virtual void __unk_vfn_300(); + /*332*/ virtual void __unk_vfn_332(); + /*340*/ virtual void _serverAiMobStep(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_CAT +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/CatchFireSubcomponent.hpp b/LiteLoader/Header/MC/CatchFireSubcomponent.hpp new file mode 100644 index 0000000..22c60d9 --- /dev/null +++ b/LiteLoader/Header/MC/CatchFireSubcomponent.hpp @@ -0,0 +1,31 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Json.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class CatchFireSubcomponent { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_CATCHFIRESUBCOMPONENT +public: + class CatchFireSubcomponent& operator=(class CatchFireSubcomponent const &) = delete; + CatchFireSubcomponent(class CatchFireSubcomponent const &) = delete; + CatchFireSubcomponent() = delete; +#endif + +public: + /*0*/ virtual ~CatchFireSubcomponent(); + /*1*/ virtual void readfromJSON(class Json::Value &); + /*2*/ virtual void writetoJSON(class Json::Value &) const; + /*3*/ virtual void doOnHitEffect(class Actor &, class ProjectileComponent &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_CATCHFIRESUBCOMPONENT +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/CauldronBlock.hpp b/LiteLoader/Header/MC/CauldronBlock.hpp new file mode 100644 index 0000000..84ff695 --- /dev/null +++ b/LiteLoader/Header/MC/CauldronBlock.hpp @@ -0,0 +1,209 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "MinecraftEventing.hpp" +#include "ActorBlock.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class CauldronBlock : public ActorBlock { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_CAULDRONBLOCK +public: + class CauldronBlock& operator=(class CauldronBlock const &) = delete; + CauldronBlock(class CauldronBlock const &) = delete; + CauldronBlock() = delete; +#endif + +public: + /*0*/ virtual ~CauldronBlock(); + /*1*/ virtual void __unk_vfn_1(); + /*2*/ virtual class Block const & getStateFromLegacyData(unsigned short) const; + /*3*/ virtual class std::shared_ptr newBlockEntity(class BlockPos const &, class Block const &) const; + /*4*/ virtual class Block const * getNextBlockPermutation(class Block const &) const; + /*5*/ virtual bool getCollisionShape(class AABB &, class Block const &, class BlockSource &, class BlockPos const &, class Actor *) const; + /*6*/ virtual bool isObstructingChests(class BlockSource &, class BlockPos const &) const; + /*7*/ virtual void __unk_vfn_7(); + /*8*/ virtual class Vec3 randomlyModifyPosition(class BlockPos const &, int &) const; + /*9*/ virtual void addAABBs(class Block const &, class BlockSource &, class BlockPos const &, class AABB const *, std::vector &) const; + /*10*/ virtual class AABB const & getAABB(class BlockSource &, class BlockPos const &, class Block const &, class AABB &, bool) const; + /*11*/ virtual bool addCollisionShapes(class Block const &, class BlockSource &, class BlockPos const &, class AABB const *, std::vector &, class Actor *) const; + /*12*/ virtual class AABB const & getOutline(class BlockSource &, class BlockPos const &, class AABB &) const; + /*13*/ virtual bool getLiquidClipVolume(class BlockSource &, class BlockPos const &, class AABB &) const; + /*14*/ virtual void __unk_vfn_14(); + /*15*/ virtual void __unk_vfn_15(); + /*16*/ virtual struct Brightness getLightEmission(class Block const &) const; + /*17*/ virtual bool shouldRandomTick() const; + /*18*/ virtual void __unk_vfn_18(); + /*19*/ virtual void __unk_vfn_19(); + /*20*/ virtual void __unk_vfn_20(); + /*21*/ virtual bool canProvideSupport(class Block const &, unsigned char, enum BlockSupportType) const; + /*22*/ virtual bool canConnect(class Block const &, unsigned char, class Block const &) const; + /*23*/ virtual void getConnectedDirections(class Block const &, class BlockPos const &, class BlockSource &, bool &, bool &, bool &, bool &) const; + /*24*/ virtual void __unk_vfn_24(); + /*25*/ virtual void __unk_vfn_25(); + /*26*/ virtual void __unk_vfn_26(); + /*27*/ virtual void __unk_vfn_27(); + /*28*/ virtual void __unk_vfn_28(); + /*29*/ virtual bool isWaterBlocking() const; + /*30*/ virtual void __unk_vfn_30(); + /*31*/ virtual void __unk_vfn_31(); + /*32*/ virtual void __unk_vfn_32(); + /*33*/ virtual void __unk_vfn_33(); + /*34*/ virtual void __unk_vfn_34(); + /*35*/ virtual void __unk_vfn_35(); + /*36*/ virtual void __unk_vfn_36(); + /*37*/ virtual void __unk_vfn_37(); + /*38*/ virtual void __unk_vfn_38(); + /*39*/ virtual void __unk_vfn_39(); + /*40*/ virtual void __unk_vfn_40(); + /*41*/ virtual bool canHurtAndBreakItem() const; + /*42*/ virtual void __unk_vfn_42(); + /*43*/ virtual void __unk_vfn_43(); + /*44*/ virtual void __unk_vfn_44(); + /*45*/ virtual void __unk_vfn_45(); + /*46*/ virtual class Block const & sanitizeFillBlock(class BlockSource &, class BlockPos const &, class Block const &) const; + /*47*/ virtual void __unk_vfn_47(); + /*48*/ virtual void __unk_vfn_48(); + /*49*/ virtual void __unk_vfn_49(); + /*50*/ virtual void __unk_vfn_50(); + /*51*/ virtual void __unk_vfn_51(); + /*52*/ virtual void handleRain(class BlockSource &, class BlockPos const &, float) const; + /*53*/ virtual bool canBeUsedInCommands(bool, class BaseGameVersion const &) const; + /*54*/ virtual float getThickness() const; + /*55*/ virtual void __unk_vfn_55(); + /*56*/ virtual bool checkIsPathable(class Actor &, class BlockPos const &, class BlockPos const &) const; + /*57*/ virtual void __unk_vfn_57(); + /*58*/ virtual void __unk_vfn_58(); + /*59*/ virtual void onPlace(class BlockSource &, class BlockPos const &) const; + /*60*/ virtual void __unk_vfn_60(); + /*61*/ virtual void __unk_vfn_61(); + /*62*/ virtual void __unk_vfn_62(); + /*63*/ virtual void onFallOn(class BlockSource &, class BlockPos const &, class Actor &, float) const; + /*64*/ virtual void __unk_vfn_64(); + /*65*/ virtual void __unk_vfn_65(); + /*66*/ virtual void __unk_vfn_66(); + /*67*/ virtual void __unk_vfn_67(); + /*68*/ virtual void __unk_vfn_68(); + /*69*/ virtual void __unk_vfn_69(); + /*70*/ virtual void __unk_vfn_70(); + /*71*/ virtual enum BlockProperty getRedstoneProperty(class BlockSource &, class BlockPos const &) const; + /*72*/ virtual void updateEntityAfterFallOn(class BlockSource &, class BlockPos const &, class Actor &) const; + /*73*/ virtual void __unk_vfn_73(); + /*74*/ virtual void __unk_vfn_74(); + /*75*/ virtual void __unk_vfn_75(); + /*76*/ virtual void __unk_vfn_76(); + /*77*/ virtual void __unk_vfn_77(); + /*78*/ virtual bool mayPick(class BlockSource &, class Block const &, bool) const; + /*79*/ virtual void __unk_vfn_79(); + /*80*/ virtual bool mayPlace(class BlockSource &, class BlockPos const &) const; + /*81*/ virtual void __unk_vfn_81(); + /*82*/ virtual void __unk_vfn_82(); + /*83*/ virtual bool tryToPlace(class BlockSource &, class BlockPos const &, class Block const &, struct ActorBlockSyncMessage const *) const; + /*84*/ virtual bool breaksFallingBlocks(class Block const &) const; + /*85*/ virtual void __unk_vfn_85(); + /*86*/ virtual bool playerWillDestroy(class Player &, class BlockPos const &, class Block const &) const; + /*87*/ virtual void __unk_vfn_87(); + /*88*/ virtual void neighborChanged(class BlockSource &, class BlockPos const &, class BlockPos const &) const; + /*89*/ virtual void __unk_vfn_89(); + /*90*/ virtual void __unk_vfn_90(); + /*91*/ virtual void __unk_vfn_91(); + /*92*/ virtual class ItemInstance asItemInstance(class BlockSource &, class BlockPos const &, class Block const &) const; + /*93*/ virtual void spawnResources(class BlockSource &, class BlockPos const &, class Block const &, std::vector *, float, int, bool) const; + /*94*/ virtual void trySpawnResourcesOnExplosion(class BlockSource &, class BlockPos const &, class Block const &, std::vector *, float, int, bool) const; + /*95*/ virtual void __unk_vfn_95(); + /*96*/ virtual void __unk_vfn_96(); + /*97*/ virtual class HitResult clip(class BlockSource &, class BlockPos const &, class Vec3 const &, class Vec3 const &, bool) const; + /*98*/ virtual bool use(class Player &, class BlockPos const &) const; + /*99*/ virtual class Block const & getPlacementBlock(class Actor &, class BlockPos const &, unsigned char, class Vec3 const &, int) const; + /*100*/ virtual int calcVariant(class BlockSource &, class BlockPos const &) const; + /*101*/ virtual void __unk_vfn_101(); + /*102*/ virtual void __unk_vfn_102(); + /*103*/ virtual void handleEntityInside(class BlockSource &, class BlockPos const &, class Actor *, class Vec3 &) const; + /*104*/ virtual void __unk_vfn_104(); + /*105*/ virtual void playerDestroy(class Player &, class BlockPos const &, class Block const &) const; + /*106*/ virtual void __unk_vfn_106(); + /*107*/ virtual void __unk_vfn_107(); + /*108*/ virtual bool canBeBuiltOver(class BlockSource &, class BlockPos const &) const; + /*109*/ virtual void triggerEvent(class BlockSource &, class BlockPos const &, int, int) const; + /*110*/ virtual void __unk_vfn_110(); + /*111*/ virtual void __unk_vfn_111(); + /*112*/ virtual class MobSpawnerData const * getMobToSpawn(class SpawnConditions const &, class BlockSource &) const; + /*113*/ virtual void __unk_vfn_113(); + /*114*/ virtual void __unk_vfn_114(); + /*115*/ virtual bool shouldStopFalling(class Actor &) const; + /*116*/ virtual void __unk_vfn_116(); + /*117*/ virtual float calcGroundFriction(class Mob &, class BlockPos const &) const; + /*118*/ virtual void __unk_vfn_118(); + /*119*/ virtual void __unk_vfn_119(); + /*120*/ virtual int getComparatorSignal(class BlockSource &, class BlockPos const &, class Block const &, unsigned char) const; + /*121*/ virtual bool canSlide(class BlockSource &, class BlockPos const &) const; + /*122*/ virtual void __unk_vfn_122(); + /*123*/ virtual void __unk_vfn_123(); + /*124*/ virtual void __unk_vfn_124(); + /*125*/ virtual void __unk_vfn_125(); + /*126*/ virtual void __unk_vfn_126(); + /*127*/ virtual void __unk_vfn_127(); + /*128*/ virtual void __unk_vfn_128(); + /*129*/ virtual void __unk_vfn_129(); + /*130*/ virtual void __unk_vfn_130(); + /*131*/ virtual void __unk_vfn_131(); + /*132*/ virtual int getColorForParticle(class BlockSource &, class BlockPos const &, class Block const &) const; + /*133*/ virtual void __unk_vfn_133(); + /*134*/ virtual void onGraphicsModeChanged(bool, bool, bool); + /*135*/ virtual int getExtraRenderLayers() const; + /*136*/ virtual float getShadeBrightness() const; + /*137*/ virtual class AABB const & getVisualShapeInWorld(class Block const &, class BlockSource &, class BlockPos const &, class AABB &, bool) const; + /*138*/ virtual class AABB const & getVisualShape(class Block const &, class AABB &, bool) const; + /*139*/ virtual class AABB const & getUIShape(class Block const &, class AABB &) const; + /*140*/ virtual int telemetryVariant(class BlockSource &, class BlockPos const &) const; + /*141*/ virtual int getVariant(class Block const &) const; + /*142*/ virtual void __unk_vfn_142(); + /*143*/ virtual class Block const & getRenderBlock() const; + /*144*/ virtual void __unk_vfn_144(); + /*145*/ virtual void __unk_vfn_145(); + /*146*/ virtual void animateTick(class BlockSource &, class BlockPos const &, class Random &) const; + /*147*/ virtual class BlockLegacy & init(); + /*148*/ virtual class BlockLegacy & setLightBlock(struct Brightness); + /*149*/ virtual class BlockLegacy & setLightEmission(float); + /*150*/ virtual class BlockLegacy & setExplodeable(float); + /*151*/ virtual class BlockLegacy & setDestroyTime(float); + /*152*/ virtual class BlockLegacy & setFriction(float); + /*153*/ virtual class BlockLegacy & addProperty(enum BlockProperty); + /*154*/ virtual class BlockLegacy & addState(class ItemState const &); + /*155*/ virtual class BlockLegacy & addState(class ItemState const &, unsigned __int64); + /*156*/ virtual class BlockLegacy & setAllowsRunes(bool); + /*157*/ virtual class BlockLegacy & setMapColor(class Color const &); + /*158*/ virtual void __unk_vfn_158(); + /*159*/ virtual void __unk_vfn_159(); + /*160*/ virtual void setVisualShape(class AABB const &); + /*161*/ virtual void setVisualShape(class Vec3 const &, class Vec3 const &); + /*162*/ virtual void __unk_vfn_162(); + /*163*/ virtual void __unk_vfn_163(); + /*164*/ virtual class ItemInstance getEntityResourceItem(class Random &, class BlockActor const &, int) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_CAULDRONBLOCK + MCVAPI bool canContainLiquid() const; + MCVAPI class ItemInstance getResourceItem(class Random &, class Block const &, int) const; + MCVAPI class ItemInstance getSilkTouchItemInstance(class Block const &) const; + MCVAPI bool hasComparatorSignal() const; + MCVAPI bool isInteractiveBlock() const; +#endif + MCAPI CauldronBlock(std::string const &, int); + MCAPI void setLiquidLevel(class BlockSource &, class BlockPos const &, int, enum CauldronLiquidType) const; + MCAPI static void spawnPotionParticles(class Level &, class Vec3 const &, class Random &, int, int); + +//private: + MCAPI void _explodeCauldronContents(class BlockSource &, class BlockPos const &, unsigned short) const; + MCAPI void _sendCauldronUsedEventToClient(class Player const &, short, enum MinecraftEventing::POIBlockInteractionType) const; + MCAPI void _spawnCauldronEvent(class BlockSource &, class BlockPos const &, enum LevelEvent) const; + MCAPI void _useInventory(class Player &, class ItemStack &, class ItemStack &, int) const; + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/CauldronBlockActor.hpp b/LiteLoader/Header/MC/CauldronBlockActor.hpp new file mode 100644 index 0000000..ef49876 --- /dev/null +++ b/LiteLoader/Header/MC/CauldronBlockActor.hpp @@ -0,0 +1,48 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class CauldronBlockActor { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_CAULDRONBLOCKACTOR +public: + class CauldronBlockActor& operator=(class CauldronBlockActor const &) = delete; + CauldronBlockActor(class CauldronBlockActor const &) = delete; + CauldronBlockActor() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_CAULDRONBLOCKACTOR + MCVAPI std::unique_ptr _getUpdatePacket(class BlockSource &); + MCVAPI void _onUpdatePacket(class CompoundTag const &, class BlockSource &); + MCVAPI class Container * getContainer(); + MCVAPI class Container const * getContainer() const; + MCVAPI int getContainerSize() const; + MCVAPI class ItemStack const & getItem(int) const; + MCVAPI int getMaxStackSize() const; + MCVAPI std::string getName() const; + MCVAPI bool isFinished(); + MCVAPI void load(class Level &, class CompoundTag const &, class DataLoadHelper &); + MCVAPI void onChanged(class BlockSource &); + MCVAPI bool save(class CompoundTag &) const; + MCVAPI void serverInitItemStackIds(int, int, class std::function); + MCVAPI void setItem(int, class ItemStack const &); + MCVAPI void startOpen(class Player &); + MCVAPI void stopOpen(class Player &); + MCVAPI void tick(class BlockSource &); +#endif + MCAPI class Color getCustomColor() const; + MCAPI class Color getMixDyeColor(); + MCAPI class Color getPotionColor() const; + MCAPI void setCustomColor(class Color const &); + MCAPI static class Color WATER_COLOR; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/CaveSpider.hpp b/LiteLoader/Header/MC/CaveSpider.hpp new file mode 100644 index 0000000..75b50e6 --- /dev/null +++ b/LiteLoader/Header/MC/CaveSpider.hpp @@ -0,0 +1,55 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Actor.hpp" +#include "Spider.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class CaveSpider : public Spider { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_CAVESPIDER +public: + class CaveSpider& operator=(class CaveSpider const &) = delete; + CaveSpider(class CaveSpider const &) = delete; + CaveSpider() = delete; +#endif + +public: + /*7*/ virtual ~CaveSpider(); + /*30*/ virtual void __unk_vfn_30(); + /*54*/ virtual void __unk_vfn_54(); + /*61*/ virtual void __unk_vfn_61(); + /*76*/ virtual void __unk_vfn_76(); + /*81*/ virtual void __unk_vfn_81(); + /*88*/ virtual void __unk_vfn_88(); + /*90*/ virtual void __unk_vfn_90(); + /*98*/ virtual void __unk_vfn_98(); + /*100*/ virtual void __unk_vfn_100(); + /*121*/ virtual void __unk_vfn_121(); + /*169*/ virtual void __unk_vfn_169(); + /*182*/ virtual void __unk_vfn_182(); + /*206*/ virtual void __unk_vfn_206(); + /*207*/ virtual void __unk_vfn_207(); + /*208*/ virtual void getDebugText(std::vector &); + /*228*/ virtual void __unk_vfn_228(); + /*231*/ virtual void __unk_vfn_231(); + /*238*/ virtual void __unk_vfn_238(); + /*246*/ virtual void __unk_vfn_246(); + /*257*/ virtual void __unk_vfn_257(); + /*290*/ virtual void __unk_vfn_290(); + /*300*/ virtual void __unk_vfn_300(); + /*332*/ virtual void __unk_vfn_332(); + /*348*/ virtual void __unk_vfn_348(); + /*350*/ virtual float getModelScale() const; + /*351*/ virtual enum Spider::Type getSpiderType() const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_CAVESPIDER +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/CelebrateHuntDefinition.hpp b/LiteLoader/Header/MC/CelebrateHuntDefinition.hpp new file mode 100644 index 0000000..d30bdb6 --- /dev/null +++ b/LiteLoader/Header/MC/CelebrateHuntDefinition.hpp @@ -0,0 +1,28 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "JsonUtil.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class CelebrateHuntDefinition { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_CELEBRATEHUNTDEFINITION +public: + class CelebrateHuntDefinition& operator=(class CelebrateHuntDefinition const &) = delete; + CelebrateHuntDefinition(class CelebrateHuntDefinition const &) = delete; + CelebrateHuntDefinition() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_CELEBRATEHUNTDEFINITION +#endif + MCAPI static void buildSchema(class std::shared_ptr> &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/CelebrateHuntSystem.hpp b/LiteLoader/Header/MC/CelebrateHuntSystem.hpp new file mode 100644 index 0000000..42ed00c --- /dev/null +++ b/LiteLoader/Header/MC/CelebrateHuntSystem.hpp @@ -0,0 +1,28 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class CelebrateHuntSystem { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_CELEBRATEHUNTSYSTEM +public: + class CelebrateHuntSystem& operator=(class CelebrateHuntSystem const &) = delete; + CelebrateHuntSystem(class CelebrateHuntSystem const &) = delete; + CelebrateHuntSystem() = delete; +#endif + +public: + /*0*/ virtual ~CelebrateHuntSystem(); + /*1*/ virtual void tick(class EntityRegistry &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_CELEBRATEHUNTSYSTEM +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/CelebrateHuntSystemInternal.hpp b/LiteLoader/Header/MC/CelebrateHuntSystemInternal.hpp new file mode 100644 index 0000000..01e77e4 --- /dev/null +++ b/LiteLoader/Header/MC/CelebrateHuntSystemInternal.hpp @@ -0,0 +1,18 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +namespace CelebrateHuntSystemInternal { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA + MCAPI void _stopCelebrating(class Actor &, class CelebrateHuntComponent &); + MCAPI void _tickCelebrateHuntComponent(class EntityContext &, class FlagComponent &, class ActorComponent &, class CelebrateHuntComponent &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/CentralSpikedFeature.hpp b/LiteLoader/Header/MC/CentralSpikedFeature.hpp new file mode 100644 index 0000000..73c1274 --- /dev/null +++ b/LiteLoader/Header/MC/CentralSpikedFeature.hpp @@ -0,0 +1,29 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Feature.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class CentralSpikedFeature : public Feature { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_CENTRALSPIKEDFEATURE +public: + class CentralSpikedFeature& operator=(class CentralSpikedFeature const &) = delete; + CentralSpikedFeature(class CentralSpikedFeature const &) = delete; + CentralSpikedFeature() = delete; +#endif + +public: + /*0*/ virtual ~CentralSpikedFeature(); + /*1*/ virtual bool place(class BlockSource &, class BlockPos const &, class Random &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_CENTRALSPIKEDFEATURE +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/Certificate.hpp b/LiteLoader/Header/MC/Certificate.hpp new file mode 100644 index 0000000..b60c104 --- /dev/null +++ b/LiteLoader/Header/MC/Certificate.hpp @@ -0,0 +1,34 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Json.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class Certificate { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_CERTIFICATE +public: + class Certificate& operator=(class Certificate const &) = delete; + Certificate() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_CERTIFICATE +#endif + MCAPI Certificate(class Certificate const &); + MCAPI __int64 getExpirationDate() const; + MCAPI class Json::Value getExtraData(std::string const &, class Json::Value const &) const; + MCAPI std::string getIdentityPublicKey() const; + MCAPI __int64 getNotBeforeDate() const; + MCAPI bool isCertificateAuthority() const; + MCAPI bool validate(__int64); + MCAPI ~Certificate(); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ChainBlock.hpp b/LiteLoader/Header/MC/ChainBlock.hpp new file mode 100644 index 0000000..afcd9cc --- /dev/null +++ b/LiteLoader/Header/MC/ChainBlock.hpp @@ -0,0 +1,66 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "BlockLegacy.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ChainBlock : public BlockLegacy { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_CHAINBLOCK +public: + class ChainBlock& operator=(class ChainBlock const &) = delete; + ChainBlock(class ChainBlock const &) = delete; + ChainBlock() = delete; +#endif + +public: + /*0*/ virtual ~ChainBlock(); + /*18*/ virtual void __unk_vfn_18(); + /*21*/ virtual bool canProvideSupport(class Block const &, unsigned char, enum BlockSupportType) const; + /*22*/ virtual bool canConnect(class Block const &, unsigned char, class Block const &) const; + /*24*/ virtual void __unk_vfn_24(); + /*25*/ virtual void __unk_vfn_25(); + /*26*/ virtual void __unk_vfn_26(); + /*27*/ virtual void __unk_vfn_27(); + /*28*/ virtual void __unk_vfn_28(); + /*30*/ virtual void __unk_vfn_30(); + /*31*/ virtual void __unk_vfn_31(); + /*32*/ virtual void __unk_vfn_32(); + /*33*/ virtual void __unk_vfn_33(); + /*34*/ virtual void __unk_vfn_34(); + /*35*/ virtual void __unk_vfn_35(); + /*36*/ virtual void __unk_vfn_36(); + /*38*/ virtual void __unk_vfn_38(); + /*39*/ virtual void __unk_vfn_39(); + /*40*/ virtual void __unk_vfn_40(); + /*42*/ virtual void __unk_vfn_42(); + /*43*/ virtual void __unk_vfn_43(); + /*49*/ virtual void __unk_vfn_49(); + /*50*/ virtual bool canContainLiquid() const; + /*52*/ virtual void __unk_vfn_52(); + /*67*/ virtual void __unk_vfn_67(); + /*73*/ virtual void __unk_vfn_73(); + /*87*/ virtual void __unk_vfn_87(); + /*91*/ virtual class ItemInstance getResourceItem(class Random &, class Block const &, int) const; + /*92*/ virtual class ItemInstance asItemInstance(class BlockSource &, class BlockPos const &, class Block const &) const; + /*95*/ virtual void __unk_vfn_95(); + /*109*/ virtual void __unk_vfn_109(); + /*116*/ virtual void __unk_vfn_116(); + /*118*/ virtual void __unk_vfn_118(); + /*119*/ virtual void __unk_vfn_119(); + /*137*/ virtual class AABB const & getVisualShapeInWorld(class Block const &, class BlockSource &, class BlockPos const &, class AABB &, bool) const; + /*138*/ virtual class AABB const & getVisualShape(class Block const &, class AABB &, bool) const; + /*142*/ virtual void __unk_vfn_142(); + /*158*/ virtual void __unk_vfn_158(); + /*159*/ virtual class ItemInstance getSilkTouchItemInstance(class Block const &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_CHAINBLOCK +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ChalkboardBlockActor.hpp b/LiteLoader/Header/MC/ChalkboardBlockActor.hpp new file mode 100644 index 0000000..cabc678 --- /dev/null +++ b/LiteLoader/Header/MC/ChalkboardBlockActor.hpp @@ -0,0 +1,47 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "BlockActor.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ChalkboardBlockActor : public BlockActor { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_CHALKBOARDBLOCKACTOR +public: + class ChalkboardBlockActor& operator=(class ChalkboardBlockActor const &) = delete; + ChalkboardBlockActor(class ChalkboardBlockActor const &) = delete; + ChalkboardBlockActor() = delete; +#endif + +public: + /*0*/ virtual ~ChalkboardBlockActor(); + /*1*/ virtual void load(class Level &, class CompoundTag const &, class DataLoadHelper &); + /*2*/ virtual bool save(class CompoundTag &) const; + /*9*/ virtual void onChanged(class BlockSource &); + /*13*/ virtual void __unk_vfn_13(); + /*17*/ virtual void __unk_vfn_17(); + /*18*/ virtual float getShadowRadius(class BlockSource &) const; + /*26*/ virtual std::string getImmersiveReaderText(class BlockSource &); + /*29*/ virtual void __unk_vfn_29(); + /*30*/ virtual void __unk_vfn_30(); + /*32*/ virtual void __unk_vfn_32(); + /*33*/ virtual void __unk_vfn_33(); + /*34*/ virtual std::unique_ptr _getUpdatePacket(class BlockSource &); + /*35*/ virtual void _onUpdatePacket(class CompoundTag const &, class BlockSource &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_CHALKBOARDBLOCKACTOR +#endif + MCAPI ChalkboardBlockActor(class BlockPos const &); + MCAPI void setText(std::string const &); + MCAPI static std::vector calculateAllBlocks(class BlockPos const &, enum ChalkboardSize, int); + MCAPI static bool canCreateChalkboard(class Actor *, class BlockSource &, class BlockPos const &, enum ChalkboardSize, int, std::vector &); + MCAPI static class ChalkboardBlockActor * convertFromEntity(class BlockSource &, class CompoundTag const &); + MCAPI static class ChalkboardBlockActor * createChalkboard(class Actor *, class BlockSource &, class BlockPos const &, enum ChalkboardSize, int, bool, std::string); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ChanceInformation.hpp b/LiteLoader/Header/MC/ChanceInformation.hpp new file mode 100644 index 0000000..5c75243 --- /dev/null +++ b/LiteLoader/Header/MC/ChanceInformation.hpp @@ -0,0 +1,28 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ChanceInformation { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_CHANCEINFORMATION +public: + ChanceInformation(class ChanceInformation const &) = delete; + ChanceInformation() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_CHANCEINFORMATION +#endif + MCAPI bool isValid() const; + MCAPI class ChanceInformation & operator=(class ChanceInformation const &); + MCAPI bool roll(class Random &) const; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ChangeDimensionPacket.hpp b/LiteLoader/Header/MC/ChangeDimensionPacket.hpp new file mode 100644 index 0000000..302f4df --- /dev/null +++ b/LiteLoader/Header/MC/ChangeDimensionPacket.hpp @@ -0,0 +1,32 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Packet.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ChangeDimensionPacket : public Packet { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_CHANGEDIMENSIONPACKET +public: + class ChangeDimensionPacket& operator=(class ChangeDimensionPacket const &) = delete; + ChangeDimensionPacket(class ChangeDimensionPacket const &) = delete; + ChangeDimensionPacket() = delete; +#endif + +public: + /*0*/ virtual ~ChangeDimensionPacket(); + /*1*/ virtual enum MinecraftPacketIds getId() const; + /*2*/ virtual std::string getName() const; + /*3*/ virtual void write(class BinaryStream &) const; + /*4*/ virtual enum StreamReadResult read(class ReadOnlyBinaryStream &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_CHANGEDIMENSIONPACKET +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ChangeSettingCommand.hpp b/LiteLoader/Header/MC/ChangeSettingCommand.hpp new file mode 100644 index 0000000..d585ac2 --- /dev/null +++ b/LiteLoader/Header/MC/ChangeSettingCommand.hpp @@ -0,0 +1,30 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Command.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ChangeSettingCommand : public Command { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_CHANGESETTINGCOMMAND +public: + class ChangeSettingCommand& operator=(class ChangeSettingCommand const &) = delete; + ChangeSettingCommand(class ChangeSettingCommand const &) = delete; + ChangeSettingCommand() = delete; +#endif + +public: + /*0*/ virtual ~ChangeSettingCommand(); + /*1*/ virtual void execute(class CommandOrigin const &, class CommandOutput &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_CHANGESETTINGCOMMAND +#endif + MCAPI static void setup(class CommandRegistry &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ChargeAttackDefinition.hpp b/LiteLoader/Header/MC/ChargeAttackDefinition.hpp new file mode 100644 index 0000000..d2de680 --- /dev/null +++ b/LiteLoader/Header/MC/ChargeAttackDefinition.hpp @@ -0,0 +1,28 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "JsonUtil.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ChargeAttackDefinition { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_CHARGEATTACKDEFINITION +public: + class ChargeAttackDefinition& operator=(class ChargeAttackDefinition const &) = delete; + ChargeAttackDefinition(class ChargeAttackDefinition const &) = delete; + ChargeAttackDefinition() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_CHARGEATTACKDEFINITION +#endif + MCAPI static void buildSchema(std::string const &, class std::shared_ptr> &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ChargeAttackGoal.hpp b/LiteLoader/Header/MC/ChargeAttackGoal.hpp new file mode 100644 index 0000000..724304e --- /dev/null +++ b/LiteLoader/Header/MC/ChargeAttackGoal.hpp @@ -0,0 +1,34 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ChargeAttackGoal { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_CHARGEATTACKGOAL +public: + class ChargeAttackGoal& operator=(class ChargeAttackGoal const &) = delete; + ChargeAttackGoal(class ChargeAttackGoal const &) = delete; + ChargeAttackGoal() = delete; +#endif + +public: + /*0*/ virtual ~ChargeAttackGoal(); + /*1*/ virtual bool canUse(); + /*2*/ virtual bool canContinueToUse(); + /*3*/ virtual void __unk_vfn_3(); + /*4*/ virtual void start(); + /*5*/ virtual void stop(); + /*6*/ virtual void tick(); + /*7*/ virtual void appendDebugInfo(std::string &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_CHARGEATTACKGOAL +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ChargeHeldItemDefinition.hpp b/LiteLoader/Header/MC/ChargeHeldItemDefinition.hpp new file mode 100644 index 0000000..ece5da3 --- /dev/null +++ b/LiteLoader/Header/MC/ChargeHeldItemDefinition.hpp @@ -0,0 +1,26 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ChargeHeldItemDefinition { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_CHARGEHELDITEMDEFINITION +public: + class ChargeHeldItemDefinition& operator=(class ChargeHeldItemDefinition const &) = delete; + ChargeHeldItemDefinition(class ChargeHeldItemDefinition const &) = delete; + ChargeHeldItemDefinition() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_CHARGEHELDITEMDEFINITION +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ChargeHeldItemGoal.hpp b/LiteLoader/Header/MC/ChargeHeldItemGoal.hpp new file mode 100644 index 0000000..7a1042b --- /dev/null +++ b/LiteLoader/Header/MC/ChargeHeldItemGoal.hpp @@ -0,0 +1,34 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ChargeHeldItemGoal { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_CHARGEHELDITEMGOAL +public: + class ChargeHeldItemGoal& operator=(class ChargeHeldItemGoal const &) = delete; + ChargeHeldItemGoal(class ChargeHeldItemGoal const &) = delete; + ChargeHeldItemGoal() = delete; +#endif + +public: + /*0*/ virtual ~ChargeHeldItemGoal(); + /*1*/ virtual bool canUse(); + /*2*/ virtual bool canContinueToUse(); + /*3*/ virtual void __unk_vfn_3(); + /*4*/ virtual void start(); + /*5*/ virtual void stop(); + /*6*/ virtual void tick(); + /*7*/ virtual void appendDebugInfo(std::string &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_CHARGEHELDITEMGOAL +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ChemicalHeatBlock.hpp b/LiteLoader/Header/MC/ChemicalHeatBlock.hpp new file mode 100644 index 0000000..0e9243a --- /dev/null +++ b/LiteLoader/Header/MC/ChemicalHeatBlock.hpp @@ -0,0 +1,62 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "BlockLegacy.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ChemicalHeatBlock : public BlockLegacy { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_CHEMICALHEATBLOCK +public: + class ChemicalHeatBlock& operator=(class ChemicalHeatBlock const &) = delete; + ChemicalHeatBlock(class ChemicalHeatBlock const &) = delete; + ChemicalHeatBlock() = delete; +#endif + +public: + /*0*/ virtual ~ChemicalHeatBlock(); + /*1*/ virtual void tick(class BlockSource &, class BlockPos const &, class Random &) const; + /*18*/ virtual void __unk_vfn_18(); + /*24*/ virtual void __unk_vfn_24(); + /*25*/ virtual void __unk_vfn_25(); + /*26*/ virtual void __unk_vfn_26(); + /*27*/ virtual void __unk_vfn_27(); + /*28*/ virtual void __unk_vfn_28(); + /*30*/ virtual void __unk_vfn_30(); + /*31*/ virtual void __unk_vfn_31(); + /*32*/ virtual void __unk_vfn_32(); + /*33*/ virtual void __unk_vfn_33(); + /*34*/ virtual void __unk_vfn_34(); + /*35*/ virtual void __unk_vfn_35(); + /*36*/ virtual void __unk_vfn_36(); + /*38*/ virtual void __unk_vfn_38(); + /*39*/ virtual void __unk_vfn_39(); + /*40*/ virtual void __unk_vfn_40(); + /*42*/ virtual void __unk_vfn_42(); + /*43*/ virtual void __unk_vfn_43(); + /*49*/ virtual void __unk_vfn_49(); + /*52*/ virtual void __unk_vfn_52(); + /*53*/ virtual bool canBeUsedInCommands(bool, class BaseGameVersion const &) const; + /*59*/ virtual void onPlace(class BlockSource &, class BlockPos const &) const; + /*67*/ virtual void __unk_vfn_67(); + /*73*/ virtual void __unk_vfn_73(); + /*87*/ virtual void __unk_vfn_87(); + /*95*/ virtual void __unk_vfn_95(); + /*109*/ virtual void __unk_vfn_109(); + /*116*/ virtual void __unk_vfn_116(); + /*118*/ virtual void __unk_vfn_118(); + /*119*/ virtual void __unk_vfn_119(); + /*135*/ virtual int getExtraRenderLayers() const; + /*142*/ virtual void __unk_vfn_142(); + /*158*/ virtual void __unk_vfn_158(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_CHEMICALHEATBLOCK +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ChemistryAuxDataBlockItem.hpp b/LiteLoader/Header/MC/ChemistryAuxDataBlockItem.hpp new file mode 100644 index 0000000..b11a3a1 --- /dev/null +++ b/LiteLoader/Header/MC/ChemistryAuxDataBlockItem.hpp @@ -0,0 +1,45 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "AuxDataBlockItem.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ChemistryAuxDataBlockItem : public AuxDataBlockItem { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_CHEMISTRYAUXDATABLOCKITEM +public: + class ChemistryAuxDataBlockItem& operator=(class ChemistryAuxDataBlockItem const &) = delete; + ChemistryAuxDataBlockItem(class ChemistryAuxDataBlockItem const &) = delete; + ChemistryAuxDataBlockItem() = delete; +#endif + +public: + /*0*/ virtual ~ChemistryAuxDataBlockItem(); + /*5*/ virtual void __unk_vfn_5(); + /*26*/ virtual void __unk_vfn_26(); + /*27*/ virtual void __unk_vfn_27(); + /*31*/ virtual void __unk_vfn_31(); + /*32*/ virtual void __unk_vfn_32(); + /*34*/ virtual void __unk_vfn_34(); + /*37*/ virtual void __unk_vfn_37(); + /*43*/ virtual void __unk_vfn_43(); + /*46*/ virtual void __unk_vfn_46(); + /*47*/ virtual void __unk_vfn_47(); + /*49*/ virtual void __unk_vfn_49(); + /*50*/ virtual void __unk_vfn_50(); + /*75*/ virtual void fixupOnLoad(class ItemStackBase &) const; + /*79*/ virtual void __unk_vfn_79(); + /*80*/ virtual void __unk_vfn_80(); + /*90*/ virtual void __unk_vfn_90(); + /*97*/ virtual void __unk_vfn_97(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_CHEMISTRYAUXDATABLOCKITEM +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ChemistryIngredient.hpp b/LiteLoader/Header/MC/ChemistryIngredient.hpp new file mode 100644 index 0000000..92efffe --- /dev/null +++ b/LiteLoader/Header/MC/ChemistryIngredient.hpp @@ -0,0 +1,27 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +struct ChemistryIngredient { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_CHEMISTRYINGREDIENT +public: + struct ChemistryIngredient& operator=(struct ChemistryIngredient const &) = delete; + ChemistryIngredient(struct ChemistryIngredient const &) = delete; + ChemistryIngredient() = delete; +#endif +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_CHEMISTRYINGREDIENT +#endif + MCAPI ChemistryIngredient(enum ElementType, int); + MCAPI ~ChemistryIngredient(); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ChemistryItem.hpp b/LiteLoader/Header/MC/ChemistryItem.hpp new file mode 100644 index 0000000..af6e475 --- /dev/null +++ b/LiteLoader/Header/MC/ChemistryItem.hpp @@ -0,0 +1,45 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Item.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ChemistryItem : public Item { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_CHEMISTRYITEM +public: + class ChemistryItem& operator=(class ChemistryItem const &) = delete; + ChemistryItem(class ChemistryItem const &) = delete; + ChemistryItem() = delete; +#endif + +public: + /*0*/ virtual ~ChemistryItem(); + /*5*/ virtual void __unk_vfn_5(); + /*26*/ virtual void __unk_vfn_26(); + /*27*/ virtual void __unk_vfn_27(); + /*31*/ virtual void __unk_vfn_31(); + /*32*/ virtual void __unk_vfn_32(); + /*34*/ virtual void __unk_vfn_34(); + /*37*/ virtual void __unk_vfn_37(); + /*43*/ virtual void __unk_vfn_43(); + /*46*/ virtual void __unk_vfn_46(); + /*47*/ virtual void __unk_vfn_47(); + /*49*/ virtual void __unk_vfn_49(); + /*50*/ virtual void __unk_vfn_50(); + /*75*/ virtual void fixupOnLoad(class ItemStackBase &) const; + /*79*/ virtual void __unk_vfn_79(); + /*80*/ virtual void __unk_vfn_80(); + /*90*/ virtual void __unk_vfn_90(); + /*97*/ virtual void __unk_vfn_97(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_CHEMISTRYITEM +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ChemistryRecipes.hpp b/LiteLoader/Header/MC/ChemistryRecipes.hpp new file mode 100644 index 0000000..93b6e59 --- /dev/null +++ b/LiteLoader/Header/MC/ChemistryRecipes.hpp @@ -0,0 +1,27 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ChemistryRecipes { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_CHEMISTRYRECIPES +public: + class ChemistryRecipes& operator=(class ChemistryRecipes const &) = delete; + ChemistryRecipes(class ChemistryRecipes const &) = delete; + ChemistryRecipes() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_CHEMISTRYRECIPES +#endif + MCAPI static void addRecipes(class Recipes &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ChemistryStickItem.hpp b/LiteLoader/Header/MC/ChemistryStickItem.hpp new file mode 100644 index 0000000..333f404 --- /dev/null +++ b/LiteLoader/Header/MC/ChemistryStickItem.hpp @@ -0,0 +1,53 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ChemistryStickItem { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_CHEMISTRYSTICKITEM +public: + class ChemistryStickItem& operator=(class ChemistryStickItem const &) = delete; + ChemistryStickItem(class ChemistryStickItem const &) = delete; + ChemistryStickItem() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_CHEMISTRYSTICKITEM + MCVAPI void fixupOnLoad(class ItemStackBase &) const; + MCVAPI void hurtEnemy(class ItemStack &, class Mob *, class Mob *) const; + MCVAPI bool inventoryTick(class ItemStack &, class Level &, class Actor &, int, bool) const; + MCVAPI bool isValidRepairItem(class ItemStackBase const &, class ItemStackBase const &) const; + MCVAPI bool mineBlock(class ItemStack &, class Block const &, int, int, int, class Actor *) const; + MCVAPI class Item & setMaxDamage(int); + MCVAPI bool showsDurabilityInCreative() const; + MCVAPI bool uniqueAuxValues() const; + MCVAPI class ItemStack & use(class ItemStack &, class Player &) const; + MCVAPI enum ItemUseMethod useTimeDepleted(class ItemStack &, class Level *, class Player *) const; + MCVAPI ~ChemistryStickItem(); +#endif + +//protected: + MCAPI bool _tick(class ItemStack &, unsigned __int64) const; + +//private: + MCAPI void _storeActivationTimestamp(class ItemStack &, unsigned __int64, int) const; + +protected: + +private: + MCAPI static std::string const ACTIVATION_TIMESTAMP_TAG; + MCAPI static int const ACTIVE_BIT; + MCAPI static int const COLOR_BITS; + MCAPI static int const COLOR_MASK; + MCAPI static int const DAMAGE_BITS; + MCAPI static int const DAMAGE_MASK; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ChemistryTableBlock.hpp b/LiteLoader/Header/MC/ChemistryTableBlock.hpp new file mode 100644 index 0000000..cec5295 --- /dev/null +++ b/LiteLoader/Header/MC/ChemistryTableBlock.hpp @@ -0,0 +1,200 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "ActorBlock.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ChemistryTableBlock : public ActorBlock { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_CHEMISTRYTABLEBLOCK +public: + class ChemistryTableBlock& operator=(class ChemistryTableBlock const &) = delete; + ChemistryTableBlock(class ChemistryTableBlock const &) = delete; + ChemistryTableBlock() = delete; +#endif + +public: + /*0*/ virtual ~ChemistryTableBlock(); + /*1*/ virtual void __unk_vfn_1(); + /*2*/ virtual class Block const & getStateFromLegacyData(unsigned short) const; + /*3*/ virtual class std::shared_ptr newBlockEntity(class BlockPos const &, class Block const &) const; + /*4*/ virtual class Block const * getNextBlockPermutation(class Block const &) const; + /*5*/ virtual bool getCollisionShape(class AABB &, class Block const &, class BlockSource &, class BlockPos const &, class Actor *) const; + /*6*/ virtual bool isObstructingChests(class BlockSource &, class BlockPos const &) const; + /*7*/ virtual void __unk_vfn_7(); + /*8*/ virtual class Vec3 randomlyModifyPosition(class BlockPos const &, int &) const; + /*9*/ virtual void addAABBs(class Block const &, class BlockSource &, class BlockPos const &, class AABB const *, std::vector &) const; + /*10*/ virtual class AABB const & getAABB(class BlockSource &, class BlockPos const &, class Block const &, class AABB &, bool) const; + /*11*/ virtual bool addCollisionShapes(class Block const &, class BlockSource &, class BlockPos const &, class AABB const *, std::vector &, class Actor *) const; + /*12*/ virtual class AABB const & getOutline(class BlockSource &, class BlockPos const &, class AABB &) const; + /*13*/ virtual bool getLiquidClipVolume(class BlockSource &, class BlockPos const &, class AABB &) const; + /*14*/ virtual void __unk_vfn_14(); + /*15*/ virtual void __unk_vfn_15(); + /*16*/ virtual struct Brightness getLightEmission(class Block const &) const; + /*17*/ virtual bool shouldRandomTick() const; + /*18*/ virtual void __unk_vfn_18(); + /*19*/ virtual void __unk_vfn_19(); + /*20*/ virtual void __unk_vfn_20(); + /*21*/ virtual bool canProvideSupport(class Block const &, unsigned char, enum BlockSupportType) const; + /*22*/ virtual bool canConnect(class Block const &, unsigned char, class Block const &) const; + /*23*/ virtual void getConnectedDirections(class Block const &, class BlockPos const &, class BlockSource &, bool &, bool &, bool &, bool &) const; + /*24*/ virtual void __unk_vfn_24(); + /*25*/ virtual void __unk_vfn_25(); + /*26*/ virtual void __unk_vfn_26(); + /*27*/ virtual void __unk_vfn_27(); + /*28*/ virtual void __unk_vfn_28(); + /*29*/ virtual void __unk_vfn_29(); + /*30*/ virtual void __unk_vfn_30(); + /*31*/ virtual void __unk_vfn_31(); + /*32*/ virtual void __unk_vfn_32(); + /*33*/ virtual void __unk_vfn_33(); + /*34*/ virtual void __unk_vfn_34(); + /*35*/ virtual void __unk_vfn_35(); + /*36*/ virtual void __unk_vfn_36(); + /*37*/ virtual void __unk_vfn_37(); + /*38*/ virtual void __unk_vfn_38(); + /*39*/ virtual void __unk_vfn_39(); + /*40*/ virtual void __unk_vfn_40(); + /*41*/ virtual bool canHurtAndBreakItem() const; + /*42*/ virtual void __unk_vfn_42(); + /*43*/ virtual void __unk_vfn_43(); + /*44*/ virtual bool isValidAuxValue(int) const; + /*45*/ virtual void __unk_vfn_45(); + /*46*/ virtual class Block const & sanitizeFillBlock(class BlockSource &, class BlockPos const &, class Block const &) const; + /*47*/ virtual void onFillBlock(class BlockSource &, class BlockPos const &, class Block const &) const; + /*48*/ virtual void __unk_vfn_48(); + /*49*/ virtual void __unk_vfn_49(); + /*50*/ virtual bool canContainLiquid() const; + /*51*/ virtual void __unk_vfn_51(); + /*52*/ virtual void __unk_vfn_52(); + /*53*/ virtual bool canBeUsedInCommands(bool, class BaseGameVersion const &) const; + /*54*/ virtual float getThickness() const; + /*55*/ virtual void __unk_vfn_55(); + /*56*/ virtual bool checkIsPathable(class Actor &, class BlockPos const &, class BlockPos const &) const; + /*57*/ virtual void __unk_vfn_57(); + /*58*/ virtual void __unk_vfn_58(); + /*59*/ virtual void __unk_vfn_59(); + /*60*/ virtual void onRemove(class BlockSource &, class BlockPos const &) const; + /*61*/ virtual void __unk_vfn_61(); + /*62*/ virtual void __unk_vfn_62(); + /*63*/ virtual void onFallOn(class BlockSource &, class BlockPos const &, class Actor &, float) const; + /*64*/ virtual void __unk_vfn_64(); + /*65*/ virtual void __unk_vfn_65(); + /*66*/ virtual void __unk_vfn_66(); + /*67*/ virtual void __unk_vfn_67(); + /*68*/ virtual void __unk_vfn_68(); + /*69*/ virtual void __unk_vfn_69(); + /*70*/ virtual void __unk_vfn_70(); + /*71*/ virtual enum BlockProperty getRedstoneProperty(class BlockSource &, class BlockPos const &) const; + /*72*/ virtual void updateEntityAfterFallOn(class BlockSource &, class BlockPos const &, class Actor &) const; + /*73*/ virtual void __unk_vfn_73(); + /*74*/ virtual void __unk_vfn_74(); + /*75*/ virtual void __unk_vfn_75(); + /*76*/ virtual void __unk_vfn_76(); + /*77*/ virtual void __unk_vfn_77(); + /*78*/ virtual bool mayPick(class BlockSource &, class Block const &, bool) const; + /*79*/ virtual void __unk_vfn_79(); + /*80*/ virtual bool mayPlace(class BlockSource &, class BlockPos const &) const; + /*81*/ virtual void __unk_vfn_81(); + /*82*/ virtual void __unk_vfn_82(); + /*83*/ virtual bool tryToPlace(class BlockSource &, class BlockPos const &, class Block const &, struct ActorBlockSyncMessage const *) const; + /*84*/ virtual bool breaksFallingBlocks(class Block const &) const; + /*85*/ virtual void __unk_vfn_85(); + /*86*/ virtual bool playerWillDestroy(class Player &, class BlockPos const &, class Block const &) const; + /*87*/ virtual void __unk_vfn_87(); + /*88*/ virtual void neighborChanged(class BlockSource &, class BlockPos const &, class BlockPos const &) const; + /*89*/ virtual void __unk_vfn_89(); + /*90*/ virtual void __unk_vfn_90(); + /*91*/ virtual void __unk_vfn_91(); + /*92*/ virtual class ItemInstance asItemInstance(class BlockSource &, class BlockPos const &, class Block const &) const; + /*93*/ virtual void spawnResources(class BlockSource &, class BlockPos const &, class Block const &, std::vector *, float, int, bool) const; + /*94*/ virtual void trySpawnResourcesOnExplosion(class BlockSource &, class BlockPos const &, class Block const &, std::vector *, float, int, bool) const; + /*95*/ virtual void __unk_vfn_95(); + /*96*/ virtual void __unk_vfn_96(); + /*97*/ virtual class HitResult clip(class BlockSource &, class BlockPos const &, class Vec3 const &, class Vec3 const &, bool) const; + /*98*/ virtual void __unk_vfn_98(); + /*99*/ virtual class Block const & getPlacementBlock(class Actor &, class BlockPos const &, unsigned char, class Vec3 const &, int) const; + /*100*/ virtual int calcVariant(class BlockSource &, class BlockPos const &) const; + /*101*/ virtual void __unk_vfn_101(); + /*102*/ virtual void __unk_vfn_102(); + /*103*/ virtual void __unk_vfn_103(); + /*104*/ virtual void __unk_vfn_104(); + /*105*/ virtual void playerDestroy(class Player &, class BlockPos const &, class Block const &) const; + /*106*/ virtual void __unk_vfn_106(); + /*107*/ virtual void __unk_vfn_107(); + /*108*/ virtual bool canBeBuiltOver(class BlockSource &, class BlockPos const &) const; + /*109*/ virtual void triggerEvent(class BlockSource &, class BlockPos const &, int, int) const; + /*110*/ virtual void __unk_vfn_110(); + /*111*/ virtual void __unk_vfn_111(); + /*112*/ virtual class MobSpawnerData const * getMobToSpawn(class SpawnConditions const &, class BlockSource &) const; + /*113*/ virtual void __unk_vfn_113(); + /*114*/ virtual class Color getMapColor(class BlockSource &, class BlockPos const &) const; + /*115*/ virtual bool shouldStopFalling(class Actor &) const; + /*116*/ virtual void __unk_vfn_116(); + /*117*/ virtual float calcGroundFriction(class Mob &, class BlockPos const &) const; + /*118*/ virtual void __unk_vfn_118(); + /*119*/ virtual void __unk_vfn_119(); + /*120*/ virtual void __unk_vfn_120(); + /*121*/ virtual bool canSlide(class BlockSource &, class BlockPos const &) const; + /*122*/ virtual void __unk_vfn_122(); + /*123*/ virtual void __unk_vfn_123(); + /*124*/ virtual void __unk_vfn_124(); + /*125*/ virtual void __unk_vfn_125(); + /*126*/ virtual void __unk_vfn_126(); + /*127*/ virtual std::string buildDescriptionId(class Block const &) const; + /*128*/ virtual void __unk_vfn_128(); + /*129*/ virtual void __unk_vfn_129(); + /*130*/ virtual void __unk_vfn_130(); + /*131*/ virtual void __unk_vfn_131(); + /*132*/ virtual int getColorForParticle(class BlockSource &, class BlockPos const &, class Block const &) const; + /*133*/ virtual void __unk_vfn_133(); + /*134*/ virtual void onGraphicsModeChanged(bool, bool, bool); + /*135*/ virtual void __unk_vfn_135(); + /*136*/ virtual float getShadeBrightness() const; + /*137*/ virtual class AABB const & getVisualShapeInWorld(class Block const &, class BlockSource &, class BlockPos const &, class AABB &, bool) const; + /*138*/ virtual class AABB const & getVisualShape(class Block const &, class AABB &, bool) const; + /*139*/ virtual class AABB const & getUIShape(class Block const &, class AABB &) const; + /*140*/ virtual int telemetryVariant(class BlockSource &, class BlockPos const &) const; + /*141*/ virtual int getVariant(class Block const &) const; + /*142*/ virtual void __unk_vfn_142(); + /*143*/ virtual class Block const & getRenderBlock() const; + /*144*/ virtual unsigned char getMappedFace(unsigned char, class Block const &) const; + /*145*/ virtual void __unk_vfn_145(); + /*146*/ virtual void __unk_vfn_146(); + /*147*/ virtual class BlockLegacy & init(); + /*148*/ virtual class BlockLegacy & setLightBlock(struct Brightness); + /*149*/ virtual class BlockLegacy & setLightEmission(float); + /*150*/ virtual class BlockLegacy & setExplodeable(float); + /*151*/ virtual class BlockLegacy & setDestroyTime(float); + /*152*/ virtual class BlockLegacy & setFriction(float); + /*153*/ virtual class BlockLegacy & addProperty(enum BlockProperty); + /*154*/ virtual class BlockLegacy & addState(class ItemState const &); + /*155*/ virtual class BlockLegacy & addState(class ItemState const &, unsigned __int64); + /*156*/ virtual class BlockLegacy & setAllowsRunes(bool); + /*157*/ virtual class BlockLegacy & setMapColor(class Color const &); + /*158*/ virtual void __unk_vfn_158(); + /*159*/ virtual void __unk_vfn_159(); + /*160*/ virtual void setVisualShape(class AABB const &); + /*161*/ virtual void setVisualShape(class Vec3 const &, class Vec3 const &); + /*162*/ virtual void __unk_vfn_162(); + /*163*/ virtual void __unk_vfn_163(); + /*164*/ virtual class ItemInstance getEntityResourceItem(class Random &, class BlockActor const &, int) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_CHEMISTRYTABLEBLOCK + MCVAPI bool canBeSilkTouched() const; + MCVAPI bool isAuxValueRelevantForPicking() const; + MCVAPI bool isCraftingBlock() const; + MCVAPI bool isInteractiveBlock() const; + MCVAPI bool isWaterBlocking() const; + MCVAPI bool use(class Player &, class BlockPos const &) const; +#endif + MCAPI static class ItemInstance getItemForType(enum ChemistryTableType, int); + MCAPI static bool isUIValidForPlayer(class BlockPos const &, class Player &, float, enum ChemistryTableType); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ChemistryTableBlockActor.hpp b/LiteLoader/Header/MC/ChemistryTableBlockActor.hpp new file mode 100644 index 0000000..1385bb0 --- /dev/null +++ b/LiteLoader/Header/MC/ChemistryTableBlockActor.hpp @@ -0,0 +1,50 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ChemistryTableBlockActor { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_CHEMISTRYTABLEBLOCKACTOR +public: + class ChemistryTableBlockActor& operator=(class ChemistryTableBlockActor const &) = delete; + ChemistryTableBlockActor(class ChemistryTableBlockActor const &) = delete; + ChemistryTableBlockActor() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_CHEMISTRYTABLEBLOCKACTOR + MCVAPI class Container * getContainer(); + MCVAPI class Container const * getContainer() const; + MCVAPI int getContainerSize() const; + MCVAPI class ItemStack const & getItem(int) const; + MCVAPI int getMaxStackSize() const; + MCVAPI void load(class Level &, class CompoundTag const &, class DataLoadHelper &); + MCVAPI void onRemoved(class BlockSource &); + MCVAPI bool save(class CompoundTag &) const; + MCVAPI void serverInitItemStackIds(int, int, class std::function); + MCVAPI void setItem(int, class ItemStack const &); + MCVAPI void startOpen(class Player &); + MCVAPI void stopOpen(class Player &); + MCVAPI void tick(class BlockSource &); +#endif + MCAPI void playerOpenLabTable(class Player &); + MCAPI void reset(class BlockSource &); + MCAPI void serverCombine(class BlockSource &, std::vector const &); + MCAPI void serverLabTablePacket_DEPRECATED(class LabTablePacket const &, class BlockSource &); + +//private: + MCAPI std::unique_ptr _createReaction(class Random &, std::vector const &); + MCAPI void _popPendingReactionOutput(class BlockSource &); + MCAPI enum ChemistryTableType _updateType(class BlockSource &); + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ChestBlock.hpp b/LiteLoader/Header/MC/ChestBlock.hpp new file mode 100644 index 0000000..dde9197 --- /dev/null +++ b/LiteLoader/Header/MC/ChestBlock.hpp @@ -0,0 +1,200 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "ActorBlock.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ChestBlock : public ActorBlock { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_CHESTBLOCK +public: + class ChestBlock& operator=(class ChestBlock const &) = delete; + ChestBlock(class ChestBlock const &) = delete; + ChestBlock() = delete; +#endif + +public: + /*0*/ virtual ~ChestBlock(); + /*1*/ virtual void onRedstoneUpdate(class BlockSource &, class BlockPos const &, int, bool) const; + /*2*/ virtual class Block const & getStateFromLegacyData(unsigned short) const; + /*3*/ virtual class std::shared_ptr newBlockEntity(class BlockPos const &, class Block const &) const; + /*4*/ virtual class Block const * getNextBlockPermutation(class Block const &) const; + /*5*/ virtual bool getCollisionShape(class AABB &, class Block const &, class BlockSource &, class BlockPos const &, class Actor *) const; + /*6*/ virtual bool isObstructingChests(class BlockSource &, class BlockPos const &) const; + /*7*/ virtual void __unk_vfn_7(); + /*8*/ virtual class Vec3 randomlyModifyPosition(class BlockPos const &, int &) const; + /*9*/ virtual void addAABBs(class Block const &, class BlockSource &, class BlockPos const &, class AABB const *, std::vector &) const; + /*10*/ virtual class AABB const & getAABB(class BlockSource &, class BlockPos const &, class Block const &, class AABB &, bool) const; + /*11*/ virtual bool addCollisionShapes(class Block const &, class BlockSource &, class BlockPos const &, class AABB const *, std::vector &, class Actor *) const; + /*12*/ virtual class AABB const & getOutline(class BlockSource &, class BlockPos const &, class AABB &) const; + /*13*/ virtual bool getLiquidClipVolume(class BlockSource &, class BlockPos const &, class AABB &) const; + /*14*/ virtual void __unk_vfn_14(); + /*15*/ virtual void __unk_vfn_15(); + /*16*/ virtual struct Brightness getLightEmission(class Block const &) const; + /*17*/ virtual bool shouldRandomTick() const; + /*18*/ virtual void __unk_vfn_18(); + /*19*/ virtual void __unk_vfn_19(); + /*20*/ virtual void __unk_vfn_20(); + /*21*/ virtual bool canProvideSupport(class Block const &, unsigned char, enum BlockSupportType) const; + /*22*/ virtual bool canConnect(class Block const &, unsigned char, class Block const &) const; + /*23*/ virtual void getConnectedDirections(class Block const &, class BlockPos const &, class BlockSource &, bool &, bool &, bool &, bool &) const; + /*24*/ virtual void __unk_vfn_24(); + /*25*/ virtual void __unk_vfn_25(); + /*26*/ virtual void __unk_vfn_26(); + /*27*/ virtual void __unk_vfn_27(); + /*28*/ virtual void __unk_vfn_28(); + /*29*/ virtual bool isWaterBlocking() const; + /*30*/ virtual void __unk_vfn_30(); + /*31*/ virtual void __unk_vfn_31(); + /*32*/ virtual void __unk_vfn_32(); + /*33*/ virtual void __unk_vfn_33(); + /*34*/ virtual void __unk_vfn_34(); + /*35*/ virtual void __unk_vfn_35(); + /*36*/ virtual void __unk_vfn_36(); + /*37*/ virtual void __unk_vfn_37(); + /*38*/ virtual void __unk_vfn_38(); + /*39*/ virtual void __unk_vfn_39(); + /*40*/ virtual void __unk_vfn_40(); + /*41*/ virtual bool canHurtAndBreakItem() const; + /*42*/ virtual void __unk_vfn_42(); + /*43*/ virtual void __unk_vfn_43(); + /*44*/ virtual void __unk_vfn_44(); + /*45*/ virtual void __unk_vfn_45(); + /*46*/ virtual class Block const & sanitizeFillBlock(class BlockSource &, class BlockPos const &, class Block const &) const; + /*47*/ virtual void __unk_vfn_47(); + /*48*/ virtual void __unk_vfn_48(); + /*49*/ virtual void __unk_vfn_49(); + /*50*/ virtual bool canContainLiquid() const; + /*51*/ virtual void __unk_vfn_51(); + /*52*/ virtual void __unk_vfn_52(); + /*53*/ virtual bool canBeUsedInCommands(bool, class BaseGameVersion const &) const; + /*54*/ virtual float getThickness() const; + /*55*/ virtual void __unk_vfn_55(); + /*56*/ virtual bool checkIsPathable(class Actor &, class BlockPos const &, class BlockPos const &) const; + /*57*/ virtual void __unk_vfn_57(); + /*58*/ virtual bool dispense(class BlockSource &, class Container &, int, class Vec3 const &, unsigned char) const; + /*59*/ virtual void onPlace(class BlockSource &, class BlockPos const &) const; + /*60*/ virtual void onRemove(class BlockSource &, class BlockPos const &) const; + /*61*/ virtual void __unk_vfn_61(); + /*62*/ virtual void __unk_vfn_62(); + /*63*/ virtual void onFallOn(class BlockSource &, class BlockPos const &, class Actor &, float) const; + /*64*/ virtual void __unk_vfn_64(); + /*65*/ virtual void __unk_vfn_65(); + /*66*/ virtual void onMove(class BlockSource &, class BlockPos const &, class BlockPos const &) const; + /*67*/ virtual void __unk_vfn_67(); + /*68*/ virtual void __unk_vfn_68(); + /*69*/ virtual void __unk_vfn_69(); + /*70*/ virtual void setupRedstoneComponent(class BlockSource &, class BlockPos const &) const; + /*71*/ virtual enum BlockProperty getRedstoneProperty(class BlockSource &, class BlockPos const &) const; + /*72*/ virtual void updateEntityAfterFallOn(class BlockSource &, class BlockPos const &, class Actor &) const; + /*73*/ virtual void __unk_vfn_73(); + /*74*/ virtual void __unk_vfn_74(); + /*75*/ virtual void __unk_vfn_75(); + /*76*/ virtual void __unk_vfn_76(); + /*77*/ virtual void __unk_vfn_77(); + /*78*/ virtual bool mayPick(class BlockSource &, class Block const &, bool) const; + /*79*/ virtual void __unk_vfn_79(); + /*80*/ virtual bool mayPlace(class BlockSource &, class BlockPos const &) const; + /*81*/ virtual void __unk_vfn_81(); + /*82*/ virtual void __unk_vfn_82(); + /*83*/ virtual bool tryToPlace(class BlockSource &, class BlockPos const &, class Block const &, struct ActorBlockSyncMessage const *) const; + /*84*/ virtual bool breaksFallingBlocks(class Block const &) const; + /*85*/ virtual void __unk_vfn_85(); + /*86*/ virtual bool playerWillDestroy(class Player &, class BlockPos const &, class Block const &) const; + /*87*/ virtual void __unk_vfn_87(); + /*88*/ virtual void neighborChanged(class BlockSource &, class BlockPos const &, class BlockPos const &) const; + /*89*/ virtual bool getSecondPart(class BlockSource &, class BlockPos const &, class BlockPos &) const; + /*90*/ virtual int getResourceCount(class Random &, class Block const &, int, bool) const; + /*91*/ virtual class ItemInstance getResourceItem(class Random &, class Block const &, int) const; + /*92*/ virtual class ItemInstance asItemInstance(class BlockSource &, class BlockPos const &, class Block const &) const; + /*93*/ virtual void spawnResources(class BlockSource &, class BlockPos const &, class Block const &, std::vector *, float, int, bool) const; + /*94*/ virtual void trySpawnResourcesOnExplosion(class BlockSource &, class BlockPos const &, class Block const &, std::vector *, float, int, bool) const; + /*95*/ virtual void __unk_vfn_95(); + /*96*/ virtual void __unk_vfn_96(); + /*97*/ virtual class HitResult clip(class BlockSource &, class BlockPos const &, class Vec3 const &, class Vec3 const &, bool) const; + /*98*/ virtual bool use(class Player &, class BlockPos const &) const; + /*99*/ virtual class Block const & getPlacementBlock(class Actor &, class BlockPos const &, unsigned char, class Vec3 const &, int) const; + /*100*/ virtual int calcVariant(class BlockSource &, class BlockPos const &) const; + /*101*/ virtual void __unk_vfn_101(); + /*102*/ virtual void __unk_vfn_102(); + /*103*/ virtual void __unk_vfn_103(); + /*104*/ virtual void __unk_vfn_104(); + /*105*/ virtual void playerDestroy(class Player &, class BlockPos const &, class Block const &) const; + /*106*/ virtual void __unk_vfn_106(); + /*107*/ virtual void __unk_vfn_107(); + /*108*/ virtual bool canBeBuiltOver(class BlockSource &, class BlockPos const &) const; + /*109*/ virtual void triggerEvent(class BlockSource &, class BlockPos const &, int, int) const; + /*110*/ virtual void __unk_vfn_110(); + /*111*/ virtual void __unk_vfn_111(); + /*112*/ virtual class MobSpawnerData const * getMobToSpawn(class SpawnConditions const &, class BlockSource &) const; + /*113*/ virtual void __unk_vfn_113(); + /*114*/ virtual void __unk_vfn_114(); + /*115*/ virtual bool shouldStopFalling(class Actor &) const; + /*116*/ virtual void __unk_vfn_116(); + /*117*/ virtual float calcGroundFriction(class Mob &, class BlockPos const &) const; + /*118*/ virtual void __unk_vfn_118(); + /*119*/ virtual void __unk_vfn_119(); + /*120*/ virtual int getComparatorSignal(class BlockSource &, class BlockPos const &, class Block const &, unsigned char) const; + /*121*/ virtual bool canSlide(class BlockSource &, class BlockPos const &) const; + /*122*/ virtual void __unk_vfn_122(); + /*123*/ virtual void __unk_vfn_123(); + /*124*/ virtual void __unk_vfn_124(); + /*125*/ virtual void __unk_vfn_125(); + /*126*/ virtual void __unk_vfn_126(); + /*127*/ virtual void __unk_vfn_127(); + /*128*/ virtual void __unk_vfn_128(); + /*129*/ virtual void __unk_vfn_129(); + /*130*/ virtual int getColor(class Block const &) const; + /*131*/ virtual void __unk_vfn_131(); + /*132*/ virtual int getColorForParticle(class BlockSource &, class BlockPos const &, class Block const &) const; + /*133*/ virtual void __unk_vfn_133(); + /*134*/ virtual void onGraphicsModeChanged(bool, bool, bool); + /*135*/ virtual void __unk_vfn_135(); + /*136*/ virtual float getShadeBrightness() const; + /*137*/ virtual class AABB const & getVisualShapeInWorld(class Block const &, class BlockSource &, class BlockPos const &, class AABB &, bool) const; + /*138*/ virtual class AABB const & getVisualShape(class Block const &, class AABB &, bool) const; + /*139*/ virtual class AABB const & getUIShape(class Block const &, class AABB &) const; + /*140*/ virtual int telemetryVariant(class BlockSource &, class BlockPos const &) const; + /*141*/ virtual int getVariant(class Block const &) const; + /*142*/ virtual void __unk_vfn_142(); + /*143*/ virtual class Block const & getRenderBlock() const; + /*144*/ virtual unsigned char getMappedFace(unsigned char, class Block const &) const; + /*145*/ virtual void __unk_vfn_145(); + /*146*/ virtual void animateTick(class BlockSource &, class BlockPos const &, class Random &) const; + /*147*/ virtual class BlockLegacy & init(); + /*148*/ virtual class BlockLegacy & setLightBlock(struct Brightness); + /*149*/ virtual class BlockLegacy & setLightEmission(float); + /*150*/ virtual class BlockLegacy & setExplodeable(float); + /*151*/ virtual class BlockLegacy & setDestroyTime(float); + /*152*/ virtual class BlockLegacy & setFriction(float); + /*153*/ virtual class BlockLegacy & addProperty(enum BlockProperty); + /*154*/ virtual class BlockLegacy & addState(class ItemState const &); + /*155*/ virtual class BlockLegacy & addState(class ItemState const &, unsigned __int64); + /*156*/ virtual class BlockLegacy & setAllowsRunes(bool); + /*157*/ virtual class BlockLegacy & setMapColor(class Color const &); + /*158*/ virtual void __unk_vfn_158(); + /*159*/ virtual void __unk_vfn_159(); + /*160*/ virtual void setVisualShape(class AABB const &); + /*161*/ virtual void setVisualShape(class Vec3 const &, class Vec3 const &); + /*162*/ virtual void __unk_vfn_162(); + /*163*/ virtual void __unk_vfn_163(); + /*164*/ virtual class ItemInstance getEntityResourceItem(class Random &, class BlockActor const &, int) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_CHESTBLOCK + MCVAPI bool detachesOnPistonMove(class BlockSource &, class BlockPos const &) const; + MCVAPI bool hasComparatorSignal() const; + MCVAPI bool isContainerBlock() const; + MCVAPI bool isInteractiveBlock() const; + MCVAPI bool isSignalSource() const; + MCVAPI bool shouldConnectToRedstone(class BlockSource &, class BlockPos const &, int) const; +#endif + MCAPI ChestBlock(std::string const &, int, enum ChestBlock::ChestType, enum MaterialType); + MCAPI void updateSignalStrength(class BlockSource &, class BlockPos const &, int) const; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ChestBlockActor.hpp b/LiteLoader/Header/MC/ChestBlockActor.hpp new file mode 100644 index 0000000..630841e --- /dev/null +++ b/LiteLoader/Header/MC/ChestBlockActor.hpp @@ -0,0 +1,78 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ChestBlockActor { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_CHESTBLOCKACTOR +public: + class ChestBlockActor& operator=(class ChestBlockActor const &) = delete; + ChestBlockActor(class ChestBlockActor const &) = delete; + ChestBlockActor() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_CHESTBLOCKACTOR + MCVAPI bool _canOpenThis(class BlockSource &) const; + MCVAPI bool _detectEntityObstruction(class BlockSource &) const; + MCVAPI std::unique_ptr _getUpdatePacket(class BlockSource &); + MCVAPI void _onUpdatePacket(class CompoundTag const &, class BlockSource &); + MCVAPI void addContentChangeListener(class ContainerContentChangeListener *); + MCVAPI bool canPullOutItem(class BlockSource &, int, int, class ItemInstance const &) const; + MCVAPI bool canPushInItem(class BlockSource &, int, int, class ItemInstance const &) const; + MCVAPI void clearCache(); + MCVAPI int clearInventory(int); + MCVAPI class Container * getContainer(); + MCVAPI class Container const * getContainer() const; + MCVAPI int getContainerSize() const; + MCVAPI class BlockActor * getCrackEntity(class BlockSource &, class BlockPos const &); + MCVAPI void getDebugText(std::vector &, class BlockPos const &); + MCVAPI class ItemStack const & getItem(int) const; + MCVAPI int getMaxStackSize() const; + MCVAPI std::string getName() const; + MCVAPI class AABB getObstructionAABB() const; + MCVAPI void initializeContainerContents(class BlockSource &); + MCVAPI void load(class Level &, class CompoundTag const &, class DataLoadHelper &); + MCVAPI void loadItems(class CompoundTag const &, class Level &); + MCVAPI void onChanged(class BlockSource &); + MCVAPI void onMove(); + MCVAPI void onNeighborChanged(class BlockSource &, class BlockPos const &); + MCVAPI void onPlace(class BlockSource &); + MCVAPI void onRemoved(class BlockSource &); + MCVAPI void playCloseSound(class BlockSource &); + MCVAPI void playOpenSound(class BlockSource &); + MCVAPI void removeContentChangeListener(class ContainerContentChangeListener *); + MCVAPI bool save(class CompoundTag &) const; + MCVAPI bool saveItemInstanceData(class CompoundTag &); + MCVAPI bool saveItems(class CompoundTag &) const; + MCVAPI void serverInitItemStackIds(int, int, class std::function); + MCVAPI void setContainerChanged(int); + MCVAPI void setItem(int, class ItemStack const &); + MCVAPI void startOpen(class Player &); + MCVAPI void stopOpen(class Player &); + MCVAPI void tick(class BlockSource &); + MCVAPI void triggerEvent(int, int); +#endif + MCAPI ChestBlockActor(enum BlockActorType, std::string const &, enum BlockActorRendererId, class BlockPos const &, bool); + MCAPI bool canPairWith(class BlockActor *, class BlockSource &); + MCAPI void forceCloseChest(class BlockSource &); + MCAPI void pairWith(class ChestBlockActor *, bool); + MCAPI void unpair(class BlockSource &); + +//private: + MCAPI void _closeChest(class BlockSource &, class Player *); + MCAPI bool _detectBlockObstruction(class BlockSource &) const; + MCAPI bool _saveClientSideState(class CompoundTag &) const; + MCAPI void _unpair(); + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ChestContainerManagerModel.hpp b/LiteLoader/Header/MC/ChestContainerManagerModel.hpp new file mode 100644 index 0000000..d7fa577 --- /dev/null +++ b/LiteLoader/Header/MC/ChestContainerManagerModel.hpp @@ -0,0 +1,31 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "LevelContainerManagerModel.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ChestContainerManagerModel : public LevelContainerManagerModel { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_CHESTCONTAINERMANAGERMODEL +public: + class ChestContainerManagerModel& operator=(class ChestContainerManagerModel const &) = delete; + ChestContainerManagerModel(class ChestContainerManagerModel const &) = delete; + ChestContainerManagerModel() = delete; +#endif + +public: + /*0*/ virtual ~ChestContainerManagerModel(); + /*11*/ virtual bool isValid(float); + /*12*/ virtual class ContainerScreenContext _postInit(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_CHESTCONTAINERMANAGERMODEL +#endif + MCAPI ChestContainerManagerModel(enum ContainerID, class Player &, class BlockPos const &, enum BlockActorType); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/Chicken.hpp b/LiteLoader/Header/MC/Chicken.hpp new file mode 100644 index 0000000..7d7bcda --- /dev/null +++ b/LiteLoader/Header/MC/Chicken.hpp @@ -0,0 +1,55 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Actor.hpp" +#include "Animal.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class Chicken : public Animal { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_CHICKEN +public: + class Chicken& operator=(class Chicken const &) = delete; + Chicken(class Chicken const &) = delete; + Chicken() = delete; +#endif + +public: + /*7*/ virtual ~Chicken(); + /*30*/ virtual void __unk_vfn_30(); + /*54*/ virtual void __unk_vfn_54(); + /*61*/ virtual void __unk_vfn_61(); + /*76*/ virtual void __unk_vfn_76(); + /*81*/ virtual void __unk_vfn_81(); + /*88*/ virtual void __unk_vfn_88(); + /*90*/ virtual void __unk_vfn_90(); + /*98*/ virtual void __unk_vfn_98(); + /*100*/ virtual void __unk_vfn_100(); + /*121*/ virtual void __unk_vfn_121(); + /*169*/ virtual void __unk_vfn_169(); + /*182*/ virtual void __unk_vfn_182(); + /*206*/ virtual void __unk_vfn_206(); + /*207*/ virtual void __unk_vfn_207(); + /*228*/ virtual void __unk_vfn_228(); + /*231*/ virtual void __unk_vfn_231(); + /*235*/ virtual void updateEntitySpecificMolangVariables(class RenderParams &); + /*238*/ virtual void __unk_vfn_238(); + /*244*/ virtual void _playStepSound(class BlockPos const &, class Block const &); + /*246*/ virtual void __unk_vfn_246(); + /*257*/ virtual void __unk_vfn_257(); + /*278*/ virtual void aiStep(); + /*290*/ virtual void __unk_vfn_290(); + /*300*/ virtual void __unk_vfn_300(); + /*332*/ virtual void __unk_vfn_332(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_CHICKEN + MCVAPI bool useNewAi() const; +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ChorusFlowerBlock.hpp b/LiteLoader/Header/MC/ChorusFlowerBlock.hpp new file mode 100644 index 0000000..3171167 --- /dev/null +++ b/LiteLoader/Header/MC/ChorusFlowerBlock.hpp @@ -0,0 +1,77 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "BlockLegacy.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ChorusFlowerBlock : public BlockLegacy { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_CHORUSFLOWERBLOCK +public: + class ChorusFlowerBlock& operator=(class ChorusFlowerBlock const &) = delete; + ChorusFlowerBlock(class ChorusFlowerBlock const &) = delete; + ChorusFlowerBlock() = delete; +#endif + +public: + /*0*/ virtual ~ChorusFlowerBlock(); + /*1*/ virtual void tick(class BlockSource &, class BlockPos const &, class Random &) const; + /*18*/ virtual void __unk_vfn_18(); + /*21*/ virtual bool canProvideSupport(class Block const &, unsigned char, enum BlockSupportType) const; + /*24*/ virtual void __unk_vfn_24(); + /*25*/ virtual void __unk_vfn_25(); + /*26*/ virtual void __unk_vfn_26(); + /*27*/ virtual void __unk_vfn_27(); + /*28*/ virtual void __unk_vfn_28(); + /*29*/ virtual bool isWaterBlocking() const; + /*30*/ virtual void __unk_vfn_30(); + /*31*/ virtual void __unk_vfn_31(); + /*32*/ virtual void __unk_vfn_32(); + /*33*/ virtual void __unk_vfn_33(); + /*34*/ virtual void __unk_vfn_34(); + /*35*/ virtual void __unk_vfn_35(); + /*36*/ virtual void __unk_vfn_36(); + /*38*/ virtual void __unk_vfn_38(); + /*39*/ virtual void __unk_vfn_39(); + /*40*/ virtual void __unk_vfn_40(); + /*42*/ virtual void __unk_vfn_42(); + /*43*/ virtual void __unk_vfn_43(); + /*49*/ virtual void __unk_vfn_49(); + /*50*/ virtual bool canContainLiquid() const; + /*52*/ virtual void __unk_vfn_52(); + /*67*/ virtual void __unk_vfn_67(); + /*73*/ virtual void __unk_vfn_73(); + /*81*/ virtual bool mayPlace(class BlockSource &, class BlockPos const &) const; + /*87*/ virtual void __unk_vfn_87(); + /*88*/ virtual void neighborChanged(class BlockSource &, class BlockPos const &, class BlockPos const &) const; + /*90*/ virtual int getResourceCount(class Random &, class Block const &, int, bool) const; + /*95*/ virtual void __unk_vfn_95(); + /*105*/ virtual void playerDestroy(class Player &, class BlockPos const &, class Block const &) const; + /*106*/ virtual bool canSurvive(class BlockSource &, class BlockPos const &) const; + /*109*/ virtual void __unk_vfn_109(); + /*116*/ virtual void __unk_vfn_116(); + /*118*/ virtual void __unk_vfn_118(); + /*119*/ virtual void __unk_vfn_119(); + /*141*/ virtual int getVariant(class Block const &) const; + /*142*/ virtual void __unk_vfn_142(); + /*158*/ virtual void __unk_vfn_158(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_CHORUSFLOWERBLOCK + MCVAPI bool waterSpreadCausesSpawn() const; +#endif + +//private: + MCAPI void _placeDeadFlower(class BlockSource &, class BlockPos const &) const; + MCAPI void _placeGrownFlower(class BlockSource &, class BlockPos const &, int) const; + MCAPI static bool _allNeighborsEmpty(class BlockSource &, class BlockPos const &, unsigned char); + MCAPI static void _growTreeRecursive(class BlockSource &, class BlockPos const &, class BlockPos const &, class Random &, int, int); + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ChorusPlantBlock.hpp b/LiteLoader/Header/MC/ChorusPlantBlock.hpp new file mode 100644 index 0000000..c2c87ef --- /dev/null +++ b/LiteLoader/Header/MC/ChorusPlantBlock.hpp @@ -0,0 +1,71 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "BlockLegacy.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ChorusPlantBlock : public BlockLegacy { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_CHORUSPLANTBLOCK +public: + class ChorusPlantBlock& operator=(class ChorusPlantBlock const &) = delete; + ChorusPlantBlock(class ChorusPlantBlock const &) = delete; + ChorusPlantBlock() = delete; +#endif + +public: + /*0*/ virtual ~ChorusPlantBlock(); + /*1*/ virtual void tick(class BlockSource &, class BlockPos const &, class Random &) const; + /*10*/ virtual class AABB const & getAABB(class BlockSource &, class BlockPos const &, class Block const &, class AABB &, bool) const; + /*18*/ virtual void __unk_vfn_18(); + /*21*/ virtual bool canProvideSupport(class Block const &, unsigned char, enum BlockSupportType) const; + /*24*/ virtual void __unk_vfn_24(); + /*25*/ virtual void __unk_vfn_25(); + /*26*/ virtual void __unk_vfn_26(); + /*27*/ virtual void __unk_vfn_27(); + /*28*/ virtual void __unk_vfn_28(); + /*29*/ virtual bool isWaterBlocking() const; + /*30*/ virtual void __unk_vfn_30(); + /*31*/ virtual void __unk_vfn_31(); + /*32*/ virtual void __unk_vfn_32(); + /*33*/ virtual void __unk_vfn_33(); + /*34*/ virtual void __unk_vfn_34(); + /*35*/ virtual void __unk_vfn_35(); + /*36*/ virtual void __unk_vfn_36(); + /*38*/ virtual void __unk_vfn_38(); + /*39*/ virtual void __unk_vfn_39(); + /*40*/ virtual void __unk_vfn_40(); + /*42*/ virtual void __unk_vfn_42(); + /*43*/ virtual void __unk_vfn_43(); + /*49*/ virtual void __unk_vfn_49(); + /*50*/ virtual bool canContainLiquid() const; + /*52*/ virtual void __unk_vfn_52(); + /*56*/ virtual bool checkIsPathable(class Actor &, class BlockPos const &, class BlockPos const &) const; + /*67*/ virtual void __unk_vfn_67(); + /*73*/ virtual void __unk_vfn_73(); + /*81*/ virtual bool mayPlace(class BlockSource &, class BlockPos const &) const; + /*87*/ virtual void __unk_vfn_87(); + /*88*/ virtual void neighborChanged(class BlockSource &, class BlockPos const &, class BlockPos const &) const; + /*90*/ virtual int getResourceCount(class Random &, class Block const &, int, bool) const; + /*91*/ virtual class ItemInstance getResourceItem(class Random &, class Block const &, int) const; + /*95*/ virtual void __unk_vfn_95(); + /*106*/ virtual bool canSurvive(class BlockSource &, class BlockPos const &) const; + /*109*/ virtual void __unk_vfn_109(); + /*116*/ virtual void __unk_vfn_116(); + /*118*/ virtual void __unk_vfn_118(); + /*119*/ virtual void __unk_vfn_119(); + /*142*/ virtual void __unk_vfn_142(); + /*158*/ virtual void __unk_vfn_158(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_CHORUSPLANTBLOCK + MCVAPI bool canBeSilkTouched() const; + MCVAPI bool waterSpreadCausesSpawn() const; +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ChunkBlockPos.hpp b/LiteLoader/Header/MC/ChunkBlockPos.hpp new file mode 100644 index 0000000..1865e8f --- /dev/null +++ b/LiteLoader/Header/MC/ChunkBlockPos.hpp @@ -0,0 +1,82 @@ +/** + * @file ChunkBlockPos.hpp + * @note This Header is auto generated by LiteLoaderBDS Toolchain. + * + */ +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA +// Include Headers or Declare Types Here + +class ChunkLocalHeight { +public: + short mVal; + ChunkLocalHeight(short v) + : mVal(v){}; + ChunkLocalHeight() + : mVal(0){}; +}; + +#undef BEFORE_EXTRA + +/** + * @brief MC class ChunkBlockPos. + * + */ +class ChunkBlockPos { + +#define AFTER_EXTRA +// Add Member There +#define DISABLE_CONSTRUCTOR_PREVENTION_CHUNKBLOCKPOS +public: +char x; +char z; +ChunkLocalHeight y; +ChunkBlockPos() + : x(0) + , y(0) + , z(0){}; + +ChunkBlockPos(char x, short y, char z) + : x(x) + , y(y) + , z(z){}; + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_CHUNKBLOCKPOS +public: + class ChunkBlockPos& operator=(class ChunkBlockPos const &) = delete; + ChunkBlockPos(class ChunkBlockPos const &) = delete; + ChunkBlockPos() = delete; +#endif + +public: + /** + * @symbol ??0ChunkBlockPos@@QEAA@EVChunkLocalHeight@@E@Z + * @hash -1288855647 + */ + MCAPI ChunkBlockPos(unsigned char, class ChunkLocalHeight, unsigned char); + /** + * @symbol ??0ChunkBlockPos@@QEAA@AEBVBlockPos@@F@Z + * @hash -1853558367 + */ + MCAPI ChunkBlockPos(class BlockPos const &, short); + /** + * @symbol ?toPos@ChunkBlockPos@@QEBA?AVPos@@XZ + * @hash 1137411744 + */ + MCAPI class Pos toPos() const; + /** + * @symbol ?from2D@ChunkBlockPos@@SA?AV1@EE@Z + * @hash 2007391019 + */ + MCAPI static class ChunkBlockPos from2D(unsigned char, unsigned char); + /** + * @symbol ?fromLegacyIndex@ChunkBlockPos@@SA?AV1@G@Z + * @hash -1358394925 + */ + MCAPI static class ChunkBlockPos fromLegacyIndex(unsigned short); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ChunkBuildOrderPolicy.hpp b/LiteLoader/Header/MC/ChunkBuildOrderPolicy.hpp new file mode 100644 index 0000000..d8bc0e6 --- /dev/null +++ b/LiteLoader/Header/MC/ChunkBuildOrderPolicy.hpp @@ -0,0 +1,32 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ChunkBuildOrderPolicy { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_CHUNKBUILDORDERPOLICY +public: + class ChunkBuildOrderPolicy& operator=(class ChunkBuildOrderPolicy const &) = delete; + ChunkBuildOrderPolicy(class ChunkBuildOrderPolicy const &) = delete; + ChunkBuildOrderPolicy() = delete; +#endif + +public: + /*0*/ virtual ~ChunkBuildOrderPolicy(); + /*1*/ virtual int getChunkRebuildPriority(class ChunkPos const &) const; + /*2*/ virtual unsigned int registerForUpdates(); + /*3*/ virtual void unregisterForUpdates(unsigned int); + /*4*/ virtual void setPriority(unsigned int, class ChunkPos const &, int); + /*5*/ virtual void updatePriorities(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_CHUNKBUILDORDERPOLICY +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ChunkBuildOrderPolicyBase.hpp b/LiteLoader/Header/MC/ChunkBuildOrderPolicyBase.hpp new file mode 100644 index 0000000..8b0e9bd --- /dev/null +++ b/LiteLoader/Header/MC/ChunkBuildOrderPolicyBase.hpp @@ -0,0 +1,29 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ChunkBuildOrderPolicyBase { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_CHUNKBUILDORDERPOLICYBASE +public: + class ChunkBuildOrderPolicyBase& operator=(class ChunkBuildOrderPolicyBase const &) = delete; + ChunkBuildOrderPolicyBase(class ChunkBuildOrderPolicyBase const &) = delete; + ChunkBuildOrderPolicyBase() = delete; +#endif + +public: + /*0*/ virtual ~ChunkBuildOrderPolicyBase(); + /*1*/ virtual void __unk_vfn_1() = 0; + /*2*/ virtual unsigned int registerForUpdates(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_CHUNKBUILDORDERPOLICYBASE +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ChunkPos.hpp b/LiteLoader/Header/MC/ChunkPos.hpp new file mode 100644 index 0000000..275e084 --- /dev/null +++ b/LiteLoader/Header/MC/ChunkPos.hpp @@ -0,0 +1,30 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ChunkPos { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_CHUNKPOS +public: + class ChunkPos& operator=(class ChunkPos const &) = delete; + ChunkPos(class ChunkPos const &) = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_CHUNKPOS +#endif + MCAPI ChunkPos(); + MCAPI static class ChunkPos const INVALID; + MCAPI static class ChunkPos const MAX; + MCAPI static class ChunkPos const MIN; + MCAPI static class ChunkPos const ONE; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ChunkRadiusUpdatedPacket.hpp b/LiteLoader/Header/MC/ChunkRadiusUpdatedPacket.hpp new file mode 100644 index 0000000..2623ef8 --- /dev/null +++ b/LiteLoader/Header/MC/ChunkRadiusUpdatedPacket.hpp @@ -0,0 +1,32 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Packet.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ChunkRadiusUpdatedPacket : public Packet { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_CHUNKRADIUSUPDATEDPACKET +public: + class ChunkRadiusUpdatedPacket& operator=(class ChunkRadiusUpdatedPacket const &) = delete; + ChunkRadiusUpdatedPacket(class ChunkRadiusUpdatedPacket const &) = delete; + ChunkRadiusUpdatedPacket() = delete; +#endif + +public: + /*0*/ virtual ~ChunkRadiusUpdatedPacket(); + /*1*/ virtual enum MinecraftPacketIds getId() const; + /*2*/ virtual std::string getName() const; + /*3*/ virtual void write(class BinaryStream &) const; + /*4*/ virtual enum StreamReadResult read(class ReadOnlyBinaryStream &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_CHUNKRADIUSUPDATEDPACKET +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ChunkSource.hpp b/LiteLoader/Header/MC/ChunkSource.hpp new file mode 100644 index 0000000..f879bb4 --- /dev/null +++ b/LiteLoader/Header/MC/ChunkSource.hpp @@ -0,0 +1,72 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ChunkSource { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_CHUNKSOURCE +public: + class ChunkSource& operator=(class ChunkSource const &) = delete; + ChunkSource(class ChunkSource const &) = delete; + ChunkSource() = delete; +#endif + +public: + /*0*/ virtual ~ChunkSource(); + /*1*/ virtual void shutdown(); + /*2*/ virtual bool isShutdownDone(); + /*3*/ virtual class std::shared_ptr getExistingChunk(class ChunkPos const &); + /*4*/ virtual class std::shared_ptr getRandomChunk(class Random &); + /*5*/ virtual class std::shared_ptr createNewChunk(class ChunkPos const &, enum ChunkSource::LoadMode); + /*6*/ virtual class std::shared_ptr getOrLoadChunk(class ChunkPos const &, enum ChunkSource::LoadMode); + /*7*/ virtual bool postProcess(class ChunkViewSource &); + /*8*/ virtual void checkAndReplaceChunk(class ChunkViewSource &, class LevelChunk &); + /*9*/ virtual void loadChunk(class LevelChunk &, bool); + /*10*/ virtual void postProcessMobsAt(class BlockSource &, int, int, class Random &); + /*11*/ virtual bool saveLiveChunk(class LevelChunk &); + /*12*/ virtual void hintDiscardBatchBegin(); + /*13*/ virtual void hintDiscardBatchEnd(); + /*14*/ virtual void acquireDiscarded(class std::unique_ptr); + /*15*/ virtual void compact(); + /*16*/ virtual void flushPendingWrites(); + /*17*/ virtual bool isWithinWorldLimit(class ChunkPos const &) const; + /*18*/ virtual class std::unordered_map, struct std::hash, struct std::equal_to, class std::allocator>>> const * getChunkMap(); + /*19*/ virtual class std::unordered_map, struct std::hash, struct std::equal_to, class std::allocator>>> const & getStorage() const; + /*20*/ virtual void clearDeletedEntities(); + /*21*/ virtual bool canCreateViews() const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_CHUNKSOURCE +#endif + MCAPI ChunkSource(std::unique_ptr); + MCAPI void checkAndLaunchChunkGenerationTasks(bool); + MCAPI class GridArea> createEmptyView(enum ChunkSource::LoadMode, bool, class std::function>, class buffer_span)>); + MCAPI class std::shared_ptr getAvailableChunk(class ChunkPos const &); + MCAPI class std::shared_ptr getGeneratedChunk(class ChunkPos const &); + +//protected: + MCAPI bool _checkAndDispatchTaskForLevelChunk(struct std::pair const &, bool); + MCAPI bool _checkForReplacementDataTask(class LevelChunk &, class ChunkViewSource &); + MCAPI void _checkForUnblockingChunks(class LevelChunk const &); + MCAPI void _checkLevelChunkForNextStage(class LevelChunk const &, class LevelChunkGridAreaElement> &, enum ChunkState); + MCAPI void _checkLevelChunkForPostProcessing(class LevelChunk const &, class LevelChunkGridAreaElement> &); + MCAPI bool _chunkAtStage(class std::weak_ptr, enum ChunkState); + MCAPI void _freeChunkGenerationGridMap(class ChunkPos const &); + MCAPI void _launchGenerationTask(class std::shared_ptr const &, bool); + MCAPI void _launchLightingTask(class std::shared_ptr const &, class std::shared_ptr const &, bool); + MCAPI void _launchPostProcessingTask(class std::shared_ptr const &, class std::shared_ptr const &, bool); + MCAPI void _launchReplacementDataTask(class std::shared_ptr const &, class std::shared_ptr const &, bool); + MCAPI bool _lightingTask(class std::shared_ptr const &, class ChunkViewSource &); + MCAPI bool _loadChunkTask(class LevelChunk &); + MCAPI bool _postProcessingTask(class LevelChunk &, class ChunkViewSource &); + MCAPI void _spawnChunkGenerationTasks(int, bool); + +protected: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ChunkViewSource.hpp b/LiteLoader/Header/MC/ChunkViewSource.hpp new file mode 100644 index 0000000..cb9d5f1 --- /dev/null +++ b/LiteLoader/Header/MC/ChunkViewSource.hpp @@ -0,0 +1,38 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "ChunkSource.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ChunkViewSource : public ChunkSource { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_CHUNKVIEWSOURCE +public: + class ChunkViewSource& operator=(class ChunkViewSource const &) = delete; + ChunkViewSource(class ChunkViewSource const &) = delete; + ChunkViewSource() = delete; +#endif + +public: + /*0*/ virtual ~ChunkViewSource(); + /*3*/ virtual class std::shared_ptr getExistingChunk(class ChunkPos const &); + /*4*/ virtual class std::shared_ptr getRandomChunk(class Random &); + /*5*/ virtual class std::shared_ptr createNewChunk(class ChunkPos const &, enum ChunkSource::LoadMode); + /*14*/ virtual void acquireDiscarded(class std::unique_ptr); + /*17*/ virtual bool isWithinWorldLimit(class ChunkPos const &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_CHUNKVIEWSOURCE +#endif + MCAPI ChunkViewSource(class ChunkSource &, enum ChunkSource::LoadMode); + MCAPI ChunkViewSource(class ChunkSource &, class LevelChunkGridAreaElement> &, struct Bounds const &); + MCAPI void move(struct Bounds const &, bool, class std::function>, class buffer_span)>); + MCAPI void move(class BlockPos const &, class BlockPos const &, bool, class std::function>, class buffer_span)>); + MCAPI void move(class BlockPos const &, int, bool, class std::function>, class buffer_span)>); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/CircleAroundAnchorDefinition.hpp b/LiteLoader/Header/MC/CircleAroundAnchorDefinition.hpp new file mode 100644 index 0000000..f93bd0e --- /dev/null +++ b/LiteLoader/Header/MC/CircleAroundAnchorDefinition.hpp @@ -0,0 +1,28 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "JsonUtil.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class CircleAroundAnchorDefinition { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_CIRCLEAROUNDANCHORDEFINITION +public: + class CircleAroundAnchorDefinition& operator=(class CircleAroundAnchorDefinition const &) = delete; + CircleAroundAnchorDefinition(class CircleAroundAnchorDefinition const &) = delete; + CircleAroundAnchorDefinition() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_CIRCLEAROUNDANCHORDEFINITION +#endif + MCAPI static void buildSchema(std::string const &, class std::shared_ptr> &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/CircleAroundAnchorGoal.hpp b/LiteLoader/Header/MC/CircleAroundAnchorGoal.hpp new file mode 100644 index 0000000..077eebd --- /dev/null +++ b/LiteLoader/Header/MC/CircleAroundAnchorGoal.hpp @@ -0,0 +1,41 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class CircleAroundAnchorGoal { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_CIRCLEAROUNDANCHORGOAL +public: + class CircleAroundAnchorGoal& operator=(class CircleAroundAnchorGoal const &) = delete; + CircleAroundAnchorGoal(class CircleAroundAnchorGoal const &) = delete; + CircleAroundAnchorGoal() = delete; +#endif + +public: + /*0*/ virtual ~CircleAroundAnchorGoal(); + /*1*/ virtual bool canUse(); + /*2*/ virtual void __unk_vfn_2(); + /*3*/ virtual void __unk_vfn_3(); + /*4*/ virtual void start(); + /*5*/ virtual void stop(); + /*6*/ virtual void tick(); + /*7*/ virtual void appendDebugInfo(std::string &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_CIRCLEAROUNDANCHORGOAL +#endif + +//private: + MCAPI float _calculateHeightOffset() const; + MCAPI void _selectNext(); + MCAPI void _setAnchorAboveTarget(); + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/CircuitComponentList.hpp b/LiteLoader/Header/MC/CircuitComponentList.hpp new file mode 100644 index 0000000..2d27677 --- /dev/null +++ b/LiteLoader/Header/MC/CircuitComponentList.hpp @@ -0,0 +1,29 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class CircuitComponentList { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_CIRCUITCOMPONENTLIST +public: + class CircuitComponentList& operator=(class CircuitComponentList const &) = delete; + CircuitComponentList(class CircuitComponentList const &) = delete; + CircuitComponentList() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_CIRCUITCOMPONENTLIST +#endif + MCAPI void add(class BaseCircuitComponent *, int, class BlockPos); + MCAPI bool removeSource(class BlockPos const &, class BaseCircuitComponent const *); + MCAPI ~CircuitComponentList(); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/CircuitSceneGraph.hpp b/LiteLoader/Header/MC/CircuitSceneGraph.hpp new file mode 100644 index 0000000..3d146a0 --- /dev/null +++ b/LiteLoader/Header/MC/CircuitSceneGraph.hpp @@ -0,0 +1,47 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class CircuitSceneGraph { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_CIRCUITSCENEGRAPH +public: + class CircuitSceneGraph& operator=(class CircuitSceneGraph const &) = delete; + CircuitSceneGraph(class CircuitSceneGraph const &) = delete; + CircuitSceneGraph() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_CIRCUITSCENEGRAPH +#endif + MCAPI void add(class BlockPos const &, std::unique_ptr); + MCAPI class BaseCircuitComponent * addIfPoweredBlockAt(class BlockSource &, class BlockPos const &); + MCAPI void addPositionToReEvaluate(class ChunkPos const &, class BlockPos const &); + MCAPI class BaseCircuitComponent * getBaseComponent(class BlockPos const &); + MCAPI class BaseCircuitComponent * getComponent(class BlockPos const &, unsigned __int64); + MCAPI class BaseCircuitComponent * getFromPendingAdd(class BlockPos const &, unsigned __int64); + MCAPI class BaseCircuitComponent * getFromPendingAdd(class BlockPos const &); + MCAPI void invalidatePos(class BlockPos const &); + MCAPI void preSetupPoweredBlocks(class ChunkPos const &); + MCAPI void remove(class BlockPos const &, class BaseCircuitComponent *); + MCAPI ~CircuitSceneGraph(); + +//private: + MCAPI void findRelationships(class BlockPos const &, class BaseCircuitComponent *, class BlockSource *); + MCAPI void processPendingAdds(); + MCAPI void processPendingUpdates(class BlockSource *); + MCAPI void removeComponent(class BlockPos const &); + MCAPI void removeStaleRelationships(); + MCAPI void scheduleRelationshipUpdate(class BlockPos const &, class BaseCircuitComponent *); + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/CircuitSystem.hpp b/LiteLoader/Header/MC/CircuitSystem.hpp new file mode 100644 index 0000000..29bde20 --- /dev/null +++ b/LiteLoader/Header/MC/CircuitSystem.hpp @@ -0,0 +1,36 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class CircuitSystem { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_CIRCUITSYSTEM +public: + class CircuitSystem& operator=(class CircuitSystem const &) = delete; + CircuitSystem(class CircuitSystem const &) = delete; + CircuitSystem() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_CIRCUITSYSTEM +#endif + MCAPI void evaluate(class BlockSource *); + MCAPI void setStrength(class BlockPos const &, int); + MCAPI void updateBlocks(class BlockSource &, class BlockPos const &); + +//private: + MCAPI class BaseCircuitComponent * createComponent(class BlockPos const &, unsigned char, std::unique_ptr); + MCAPI void evaluateComponents(bool); + MCAPI void updateIndividualBlock(class gsl::not_null, class BlockPos const &, class BlockPos const &, class BlockSource &); + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/CircuitTrackingInfo.hpp b/LiteLoader/Header/MC/CircuitTrackingInfo.hpp new file mode 100644 index 0000000..8237f1d --- /dev/null +++ b/LiteLoader/Header/MC/CircuitTrackingInfo.hpp @@ -0,0 +1,27 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class CircuitTrackingInfo { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_CIRCUITTRACKINGINFO +public: + class CircuitTrackingInfo& operator=(class CircuitTrackingInfo const &) = delete; + CircuitTrackingInfo() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_CIRCUITTRACKINGINFO +#endif + MCAPI CircuitTrackingInfo(class gsl::not_null, class BlockPos const &, int); + MCAPI CircuitTrackingInfo(class CircuitTrackingInfo const &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ClassroomModeListener.hpp b/LiteLoader/Header/MC/ClassroomModeListener.hpp new file mode 100644 index 0000000..489b5ec --- /dev/null +++ b/LiteLoader/Header/MC/ClassroomModeListener.hpp @@ -0,0 +1,43 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "BlockSourceListener.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ClassroomModeListener : public BlockSourceListener { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_CLASSROOMMODELISTENER +public: + class ClassroomModeListener& operator=(class ClassroomModeListener const &) = delete; + ClassroomModeListener(class ClassroomModeListener const &) = delete; + ClassroomModeListener() = delete; +#endif + +public: + /*0*/ virtual ~ClassroomModeListener(); + /*1*/ virtual void __unk_vfn_1(); + /*2*/ virtual void __unk_vfn_2(); + /*3*/ virtual void __unk_vfn_3(); + /*4*/ virtual void __unk_vfn_4(); + /*6*/ virtual void __unk_vfn_6(); + /*8*/ virtual void __unk_vfn_8(); + /*9*/ virtual void __unk_vfn_9(); + /*10*/ virtual void __unk_vfn_10(); + /*11*/ virtual class Particle * addParticle(enum ParticleType, class Vec3 const &, class Vec3 const &, int, class CompoundTag const *, bool); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_CLASSROOMMODELISTENER + MCVAPI void onAreaChanged(class BlockSource &, class BlockPos const &, class BlockPos const &); + MCVAPI void onBlockChanged(class BlockSource &, class BlockPos const &, unsigned int, class Block const &, class Block const &, int, struct ActorBlockSyncMessage const *); + MCVAPI void onChunkLoaded(class ChunkSource &, class LevelChunk &); + MCVAPI void onChunkUnloaded(class LevelChunk &); + MCVAPI void onEntityAdded(class Actor &); + MCVAPI void onEntityRemoved(class Actor &); +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ClassroomModeNetworkHandler.hpp b/LiteLoader/Header/MC/ClassroomModeNetworkHandler.hpp new file mode 100644 index 0000000..a8b74de --- /dev/null +++ b/LiteLoader/Header/MC/ClassroomModeNetworkHandler.hpp @@ -0,0 +1,33 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ClassroomModeNetworkHandler { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_CLASSROOMMODENETWORKHANDLER +public: + class ClassroomModeNetworkHandler& operator=(class ClassroomModeNetworkHandler const &) = delete; + ClassroomModeNetworkHandler(class ClassroomModeNetworkHandler const &) = delete; + ClassroomModeNetworkHandler() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_CLASSROOMMODENETWORKHANDLER + MCVAPI bool allowIncomingPacketId(class NetworkIdentifier const &, enum MinecraftPacketIds); + MCVAPI void onWebsocketRequest(std::string const &, std::string const &, class std::function); +#endif + +//private: + MCAPI void _connect(std::string const &); + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ClayBlock.hpp b/LiteLoader/Header/MC/ClayBlock.hpp new file mode 100644 index 0000000..24ad508 --- /dev/null +++ b/LiteLoader/Header/MC/ClayBlock.hpp @@ -0,0 +1,64 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "BlockLegacy.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ClayBlock : public BlockLegacy { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_CLAYBLOCK +public: + class ClayBlock& operator=(class ClayBlock const &) = delete; + ClayBlock(class ClayBlock const &) = delete; + ClayBlock() = delete; +#endif + +public: + /*0*/ virtual ~ClayBlock(); + /*18*/ virtual void __unk_vfn_18(); + /*24*/ virtual void __unk_vfn_24(); + /*25*/ virtual void __unk_vfn_25(); + /*26*/ virtual void __unk_vfn_26(); + /*27*/ virtual void __unk_vfn_27(); + /*28*/ virtual void __unk_vfn_28(); + /*30*/ virtual void __unk_vfn_30(); + /*31*/ virtual void __unk_vfn_31(); + /*32*/ virtual void __unk_vfn_32(); + /*33*/ virtual void __unk_vfn_33(); + /*34*/ virtual void __unk_vfn_34(); + /*35*/ virtual void __unk_vfn_35(); + /*36*/ virtual void __unk_vfn_36(); + /*38*/ virtual void __unk_vfn_38(); + /*39*/ virtual void __unk_vfn_39(); + /*40*/ virtual void __unk_vfn_40(); + /*42*/ virtual void __unk_vfn_42(); + /*43*/ virtual void __unk_vfn_43(); + /*49*/ virtual void __unk_vfn_49(); + /*52*/ virtual void __unk_vfn_52(); + /*67*/ virtual void __unk_vfn_67(); + /*73*/ virtual void __unk_vfn_73(); + /*75*/ virtual bool onFertilized(class BlockSource &, class BlockPos const &, class Actor *, enum FertilizerType) const; + /*76*/ virtual bool mayConsumeFertilizer(class BlockSource &) const; + /*77*/ virtual bool canBeFertilized(class BlockSource &, class BlockPos const &, class Block const &) const; + /*87*/ virtual void __unk_vfn_87(); + /*90*/ virtual int getResourceCount(class Random &, class Block const &, int, bool) const; + /*91*/ virtual class ItemInstance getResourceItem(class Random &, class Block const &, int) const; + /*95*/ virtual void __unk_vfn_95(); + /*109*/ virtual void __unk_vfn_109(); + /*116*/ virtual void __unk_vfn_116(); + /*118*/ virtual void __unk_vfn_118(); + /*119*/ virtual void __unk_vfn_119(); + /*142*/ virtual void __unk_vfn_142(); + /*158*/ virtual void __unk_vfn_158(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_CLAYBLOCK + MCVAPI bool canBeOriginalSurface() const; +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ClayFeature.hpp b/LiteLoader/Header/MC/ClayFeature.hpp new file mode 100644 index 0000000..91886c6 --- /dev/null +++ b/LiteLoader/Header/MC/ClayFeature.hpp @@ -0,0 +1,29 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Feature.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ClayFeature : public Feature { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_CLAYFEATURE +public: + class ClayFeature& operator=(class ClayFeature const &) = delete; + ClayFeature(class ClayFeature const &) = delete; + ClayFeature() = delete; +#endif + +public: + /*0*/ virtual ~ClayFeature(); + /*1*/ virtual bool place(class BlockSource &, class BlockPos const &, class Random &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_CLAYFEATURE +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ClearCommand.hpp b/LiteLoader/Header/MC/ClearCommand.hpp new file mode 100644 index 0000000..e994b4c --- /dev/null +++ b/LiteLoader/Header/MC/ClearCommand.hpp @@ -0,0 +1,30 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Command.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ClearCommand : public Command { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_CLEARCOMMAND +public: + class ClearCommand& operator=(class ClearCommand const &) = delete; + ClearCommand(class ClearCommand const &) = delete; + ClearCommand() = delete; +#endif + +public: + /*0*/ virtual ~ClearCommand(); + /*1*/ virtual void execute(class CommandOrigin const &, class CommandOutput &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_CLEARCOMMAND +#endif + MCAPI static void setup(class CommandRegistry &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ClientAutomationCommandOrigin.hpp b/LiteLoader/Header/MC/ClientAutomationCommandOrigin.hpp new file mode 100644 index 0000000..41847c1 --- /dev/null +++ b/LiteLoader/Header/MC/ClientAutomationCommandOrigin.hpp @@ -0,0 +1,42 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Json.hpp" +#include "CommandOrigin.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ClientAutomationCommandOrigin : public CommandOrigin { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_CLIENTAUTOMATIONCOMMANDORIGIN +public: + class ClientAutomationCommandOrigin& operator=(class ClientAutomationCommandOrigin const &) = delete; + ClientAutomationCommandOrigin(class ClientAutomationCommandOrigin const &) = delete; + ClientAutomationCommandOrigin() = delete; +#endif + +public: + /*0*/ virtual ~ClientAutomationCommandOrigin(); + /*1*/ virtual std::string const & getRequestId() const; + /*2*/ virtual std::string getName() const; + /*3*/ virtual class BlockPos getBlockPosition() const; + /*4*/ virtual class Vec3 getWorldPosition() const; + /*5*/ virtual class Level * getLevel() const; + /*6*/ virtual class Dimension * getDimension() const; + /*7*/ virtual class Actor * getEntity() const; + /*8*/ virtual enum CommandPermissionLevel getPermissionsLevel() const; + /*9*/ virtual std::unique_ptr clone() const; + /*16*/ virtual bool canUseCommandsWithoutCheatsEnabled() const; + /*17*/ virtual bool isSelectorExpansionAllowed() const; + /*21*/ virtual enum CommandOriginType getOriginType() const; + /*22*/ virtual struct CommandOriginData toCommandOriginData() const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_CLIENTAUTOMATIONCOMMANDORIGIN +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ClientCacheBlobStatusPacket.hpp b/LiteLoader/Header/MC/ClientCacheBlobStatusPacket.hpp new file mode 100644 index 0000000..7908dc5 --- /dev/null +++ b/LiteLoader/Header/MC/ClientCacheBlobStatusPacket.hpp @@ -0,0 +1,32 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Packet.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ClientCacheBlobStatusPacket : public Packet { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_CLIENTCACHEBLOBSTATUSPACKET +public: + class ClientCacheBlobStatusPacket& operator=(class ClientCacheBlobStatusPacket const &) = delete; + ClientCacheBlobStatusPacket(class ClientCacheBlobStatusPacket const &) = delete; + ClientCacheBlobStatusPacket() = delete; +#endif + +public: + /*0*/ virtual ~ClientCacheBlobStatusPacket(); + /*1*/ virtual enum MinecraftPacketIds getId() const; + /*2*/ virtual std::string getName() const; + /*3*/ virtual void write(class BinaryStream &) const; + /*4*/ virtual enum StreamReadResult read(class ReadOnlyBinaryStream &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_CLIENTCACHEBLOBSTATUSPACKET +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ClientCacheMissResponsePacket.hpp b/LiteLoader/Header/MC/ClientCacheMissResponsePacket.hpp new file mode 100644 index 0000000..b0c6c61 --- /dev/null +++ b/LiteLoader/Header/MC/ClientCacheMissResponsePacket.hpp @@ -0,0 +1,32 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Packet.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ClientCacheMissResponsePacket : public Packet { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_CLIENTCACHEMISSRESPONSEPACKET +public: + class ClientCacheMissResponsePacket& operator=(class ClientCacheMissResponsePacket const &) = delete; + ClientCacheMissResponsePacket(class ClientCacheMissResponsePacket const &) = delete; +#endif + +public: + /*0*/ virtual ~ClientCacheMissResponsePacket(); + /*1*/ virtual enum MinecraftPacketIds getId() const; + /*2*/ virtual std::string getName() const; + /*3*/ virtual void write(class BinaryStream &) const; + /*4*/ virtual enum StreamReadResult read(class ReadOnlyBinaryStream &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_CLIENTCACHEMISSRESPONSEPACKET +#endif + MCAPI ClientCacheMissResponsePacket(); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ClientCacheStatusPacket.hpp b/LiteLoader/Header/MC/ClientCacheStatusPacket.hpp new file mode 100644 index 0000000..f9ec1b7 --- /dev/null +++ b/LiteLoader/Header/MC/ClientCacheStatusPacket.hpp @@ -0,0 +1,32 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Packet.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ClientCacheStatusPacket : public Packet { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_CLIENTCACHESTATUSPACKET +public: + class ClientCacheStatusPacket& operator=(class ClientCacheStatusPacket const &) = delete; + ClientCacheStatusPacket(class ClientCacheStatusPacket const &) = delete; + ClientCacheStatusPacket() = delete; +#endif + +public: + /*0*/ virtual ~ClientCacheStatusPacket(); + /*1*/ virtual enum MinecraftPacketIds getId() const; + /*2*/ virtual std::string getName() const; + /*3*/ virtual void write(class BinaryStream &) const; + /*4*/ virtual enum StreamReadResult read(class ReadOnlyBinaryStream &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_CLIENTCACHESTATUSPACKET +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ClientToServerHandshakePacket.hpp b/LiteLoader/Header/MC/ClientToServerHandshakePacket.hpp new file mode 100644 index 0000000..a7bcfdb --- /dev/null +++ b/LiteLoader/Header/MC/ClientToServerHandshakePacket.hpp @@ -0,0 +1,32 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Packet.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ClientToServerHandshakePacket : public Packet { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_CLIENTTOSERVERHANDSHAKEPACKET +public: + class ClientToServerHandshakePacket& operator=(class ClientToServerHandshakePacket const &) = delete; + ClientToServerHandshakePacket(class ClientToServerHandshakePacket const &) = delete; + ClientToServerHandshakePacket() = delete; +#endif + +public: + /*0*/ virtual ~ClientToServerHandshakePacket(); + /*1*/ virtual enum MinecraftPacketIds getId() const; + /*2*/ virtual std::string getName() const; + /*3*/ virtual void write(class BinaryStream &) const; + /*4*/ virtual enum StreamReadResult read(class ReadOnlyBinaryStream &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_CLIENTTOSERVERHANDSHAKEPACKET +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ClientboundMapItemDataPacket.hpp b/LiteLoader/Header/MC/ClientboundMapItemDataPacket.hpp new file mode 100644 index 0000000..2987b92 --- /dev/null +++ b/LiteLoader/Header/MC/ClientboundMapItemDataPacket.hpp @@ -0,0 +1,35 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "MapItemTrackedActor.hpp" +#include "Packet.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ClientboundMapItemDataPacket : public Packet { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_CLIENTBOUNDMAPITEMDATAPACKET +public: + class ClientboundMapItemDataPacket& operator=(class ClientboundMapItemDataPacket const &) = delete; + ClientboundMapItemDataPacket(class ClientboundMapItemDataPacket const &) = delete; + ClientboundMapItemDataPacket() = delete; +#endif + +public: + /*0*/ virtual ~ClientboundMapItemDataPacket(); + /*1*/ virtual enum MinecraftPacketIds getId() const; + /*2*/ virtual std::string getName() const; + /*3*/ virtual void write(class BinaryStream &) const; + /*4*/ virtual enum StreamReadResult read(class ReadOnlyBinaryStream &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_CLIENTBOUNDMAPITEMDATAPACKET +#endif + MCAPI ClientboundMapItemDataPacket(struct ActorUniqueID, signed char, std::vector>> const &, class buffer_span, int, int, int, int, class AutomaticID, bool); + MCAPI ClientboundMapItemDataPacket(class gsl::not_null, class Level &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ClockItem.hpp b/LiteLoader/Header/MC/ClockItem.hpp new file mode 100644 index 0000000..8112615 --- /dev/null +++ b/LiteLoader/Header/MC/ClockItem.hpp @@ -0,0 +1,46 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Item.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ClockItem : public Item { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_CLOCKITEM +public: + class ClockItem& operator=(class ClockItem const &) = delete; + ClockItem(class ClockItem const &) = delete; + ClockItem() = delete; +#endif + +public: + /*0*/ virtual ~ClockItem(); + /*5*/ virtual void __unk_vfn_5(); + /*26*/ virtual void __unk_vfn_26(); + /*27*/ virtual void __unk_vfn_27(); + /*31*/ virtual void __unk_vfn_31(); + /*32*/ virtual void __unk_vfn_32(); + /*34*/ virtual void __unk_vfn_34(); + /*37*/ virtual void __unk_vfn_37(); + /*43*/ virtual void __unk_vfn_43(); + /*46*/ virtual void __unk_vfn_46(); + /*47*/ virtual void __unk_vfn_47(); + /*49*/ virtual void __unk_vfn_49(); + /*50*/ virtual void __unk_vfn_50(); + /*79*/ virtual void __unk_vfn_79(); + /*80*/ virtual void __unk_vfn_80(); + /*83*/ virtual int getAnimationFrameFor(class Mob *, bool, class ItemStack const *, bool) const; + /*85*/ virtual struct TextureUVCoordinateSet const & getIcon(class ItemStackBase const &, int, bool) const; + /*90*/ virtual void __unk_vfn_90(); + /*97*/ virtual void __unk_vfn_97(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_CLOCKITEM +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ClockSpriteCalculator.hpp b/LiteLoader/Header/MC/ClockSpriteCalculator.hpp new file mode 100644 index 0000000..7b7525d --- /dev/null +++ b/LiteLoader/Header/MC/ClockSpriteCalculator.hpp @@ -0,0 +1,27 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ClockSpriteCalculator { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_CLOCKSPRITECALCULATOR +public: + class ClockSpriteCalculator& operator=(class ClockSpriteCalculator const &) = delete; + ClockSpriteCalculator(class ClockSpriteCalculator const &) = delete; + ClockSpriteCalculator() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_CLOCKSPRITECALCULATOR +#endif + MCAPI int update(class BlockSource const &, class Vec3 const &, bool); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/CloneCommand.hpp b/LiteLoader/Header/MC/CloneCommand.hpp new file mode 100644 index 0000000..5b4ff25 --- /dev/null +++ b/LiteLoader/Header/MC/CloneCommand.hpp @@ -0,0 +1,35 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Command.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class CloneCommand : public Command { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_CLONECOMMAND +public: + class CloneCommand& operator=(class CloneCommand const &) = delete; + CloneCommand(class CloneCommand const &) = delete; + CloneCommand() = delete; +#endif + +public: + /*0*/ virtual ~CloneCommand(); + /*1*/ virtual void execute(class CommandOrigin const &, class CommandOutput &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_CLONECOMMAND +#endif + MCAPI static void setup(class CommandRegistry &); + +//private: + MCAPI static void convertClonedTag(class CompoundTag &, class BlockActor const &, class BlockPos const &); + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/CloseWebSocketCommand.hpp b/LiteLoader/Header/MC/CloseWebSocketCommand.hpp new file mode 100644 index 0000000..b3faea4 --- /dev/null +++ b/LiteLoader/Header/MC/CloseWebSocketCommand.hpp @@ -0,0 +1,35 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Command.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class CloseWebSocketCommand : public Command { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_CLOSEWEBSOCKETCOMMAND +public: + class CloseWebSocketCommand& operator=(class CloseWebSocketCommand const &) = delete; + CloseWebSocketCommand(class CloseWebSocketCommand const &) = delete; + CloseWebSocketCommand() = delete; +#endif + +public: + /*0*/ virtual ~CloseWebSocketCommand(); + /*1*/ virtual void execute(class CommandOrigin const &, class CommandOutput &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_CLOSEWEBSOCKETCOMMAND +#endif + MCAPI static void setup(class CommandRegistry &, class IMinecraftApp &); + +//private: + +private: + MCAPI static class IMinecraftApp * mApp; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ClothBlock.hpp b/LiteLoader/Header/MC/ClothBlock.hpp new file mode 100644 index 0000000..1daf442 --- /dev/null +++ b/LiteLoader/Header/MC/ClothBlock.hpp @@ -0,0 +1,62 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "BlockLegacy.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ClothBlock : public BlockLegacy { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_CLOTHBLOCK +public: + class ClothBlock& operator=(class ClothBlock const &) = delete; + ClothBlock(class ClothBlock const &) = delete; + ClothBlock() = delete; +#endif + +public: + /*0*/ virtual ~ClothBlock(); + /*18*/ virtual void __unk_vfn_18(); + /*24*/ virtual void __unk_vfn_24(); + /*25*/ virtual void __unk_vfn_25(); + /*26*/ virtual void __unk_vfn_26(); + /*27*/ virtual void __unk_vfn_27(); + /*28*/ virtual void __unk_vfn_28(); + /*30*/ virtual void __unk_vfn_30(); + /*31*/ virtual void __unk_vfn_31(); + /*32*/ virtual void __unk_vfn_32(); + /*33*/ virtual void __unk_vfn_33(); + /*34*/ virtual void __unk_vfn_34(); + /*35*/ virtual void __unk_vfn_35(); + /*36*/ virtual void __unk_vfn_36(); + /*38*/ virtual void __unk_vfn_38(); + /*39*/ virtual void __unk_vfn_39(); + /*40*/ virtual void __unk_vfn_40(); + /*42*/ virtual void __unk_vfn_42(); + /*43*/ virtual void __unk_vfn_43(); + /*49*/ virtual void __unk_vfn_49(); + /*52*/ virtual void __unk_vfn_52(); + /*67*/ virtual void __unk_vfn_67(); + /*73*/ virtual void __unk_vfn_73(); + /*87*/ virtual void __unk_vfn_87(); + /*91*/ virtual class ItemInstance getResourceItem(class Random &, class Block const &, int) const; + /*95*/ virtual void __unk_vfn_95(); + /*109*/ virtual void __unk_vfn_109(); + /*113*/ virtual class Color getMapColor(class BlockSource &, class BlockPos const &) const; + /*116*/ virtual void __unk_vfn_116(); + /*118*/ virtual void __unk_vfn_118(); + /*119*/ virtual void __unk_vfn_119(); + /*128*/ virtual bool isAuxValueRelevantForPicking() const; + /*142*/ virtual void __unk_vfn_142(); + /*158*/ virtual void __unk_vfn_158(); + /*159*/ virtual class ItemInstance getSilkTouchItemInstance(class Block const &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_CLOTHBLOCK +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ClothBlockItem.hpp b/LiteLoader/Header/MC/ClothBlockItem.hpp new file mode 100644 index 0000000..2fccf47 --- /dev/null +++ b/LiteLoader/Header/MC/ClothBlockItem.hpp @@ -0,0 +1,46 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "BlockItem.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ClothBlockItem : public BlockItem { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_CLOTHBLOCKITEM +public: + class ClothBlockItem& operator=(class ClothBlockItem const &) = delete; + ClothBlockItem(class ClothBlockItem const &) = delete; + ClothBlockItem() = delete; +#endif + +public: + /*0*/ virtual ~ClothBlockItem(); + /*5*/ virtual void __unk_vfn_5(); + /*21*/ virtual int getLevelDataForAuxValue(int) const; + /*26*/ virtual void __unk_vfn_26(); + /*27*/ virtual void __unk_vfn_27(); + /*31*/ virtual void __unk_vfn_31(); + /*32*/ virtual void __unk_vfn_32(); + /*34*/ virtual void __unk_vfn_34(); + /*37*/ virtual void __unk_vfn_37(); + /*43*/ virtual void __unk_vfn_43(); + /*46*/ virtual void __unk_vfn_46(); + /*47*/ virtual void __unk_vfn_47(); + /*49*/ virtual void __unk_vfn_49(); + /*50*/ virtual void __unk_vfn_50(); + /*65*/ virtual std::string buildDescriptionId(class ItemDescriptor const &, class CompoundTag const *) const; + /*79*/ virtual void __unk_vfn_79(); + /*80*/ virtual void __unk_vfn_80(); + /*90*/ virtual void __unk_vfn_90(); + /*97*/ virtual void __unk_vfn_97(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_CLOTHBLOCKITEM +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/CoalItem.hpp b/LiteLoader/Header/MC/CoalItem.hpp new file mode 100644 index 0000000..3372f35 --- /dev/null +++ b/LiteLoader/Header/MC/CoalItem.hpp @@ -0,0 +1,47 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Item.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class CoalItem : public Item { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_COALITEM +public: + class CoalItem& operator=(class CoalItem const &) = delete; + CoalItem(class CoalItem const &) = delete; + CoalItem() = delete; +#endif + +public: + /*0*/ virtual ~CoalItem(); + /*5*/ virtual void __unk_vfn_5(); + /*26*/ virtual void __unk_vfn_26(); + /*27*/ virtual void __unk_vfn_27(); + /*31*/ virtual void __unk_vfn_31(); + /*32*/ virtual void __unk_vfn_32(); + /*34*/ virtual void __unk_vfn_34(); + /*37*/ virtual void __unk_vfn_37(); + /*43*/ virtual void __unk_vfn_43(); + /*46*/ virtual void __unk_vfn_46(); + /*47*/ virtual void __unk_vfn_47(); + /*49*/ virtual void __unk_vfn_49(); + /*50*/ virtual void __unk_vfn_50(); + /*65*/ virtual std::string buildDescriptionId(class ItemDescriptor const &, class CompoundTag const *) const; + /*79*/ virtual void __unk_vfn_79(); + /*80*/ virtual void __unk_vfn_80(); + /*85*/ virtual struct TextureUVCoordinateSet const & getIcon(class ItemStackBase const &, int, bool) const; + /*87*/ virtual class Item & setIcon(std::string const &, int); + /*90*/ virtual void __unk_vfn_90(); + /*97*/ virtual void __unk_vfn_97(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_COALITEM +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/CocoaBlock.hpp b/LiteLoader/Header/MC/CocoaBlock.hpp new file mode 100644 index 0000000..2dc8600 --- /dev/null +++ b/LiteLoader/Header/MC/CocoaBlock.hpp @@ -0,0 +1,71 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "BlockLegacy.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class CocoaBlock : public BlockLegacy { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_COCOABLOCK +public: + class CocoaBlock& operator=(class CocoaBlock const &) = delete; + CocoaBlock(class CocoaBlock const &) = delete; + CocoaBlock() = delete; +#endif + +public: + /*0*/ virtual ~CocoaBlock(); + /*1*/ virtual void tick(class BlockSource &, class BlockPos const &, class Random &) const; + /*18*/ virtual void __unk_vfn_18(); + /*24*/ virtual void __unk_vfn_24(); + /*25*/ virtual void __unk_vfn_25(); + /*26*/ virtual void __unk_vfn_26(); + /*27*/ virtual void __unk_vfn_27(); + /*28*/ virtual void __unk_vfn_28(); + /*30*/ virtual void __unk_vfn_30(); + /*31*/ virtual void __unk_vfn_31(); + /*32*/ virtual void __unk_vfn_32(); + /*33*/ virtual void __unk_vfn_33(); + /*34*/ virtual void __unk_vfn_34(); + /*35*/ virtual void __unk_vfn_35(); + /*36*/ virtual void __unk_vfn_36(); + /*38*/ virtual void __unk_vfn_38(); + /*39*/ virtual void __unk_vfn_39(); + /*40*/ virtual void __unk_vfn_40(); + /*42*/ virtual void __unk_vfn_42(); + /*43*/ virtual void __unk_vfn_43(); + /*49*/ virtual void __unk_vfn_49(); + /*52*/ virtual void __unk_vfn_52(); + /*59*/ virtual void onPlace(class BlockSource &, class BlockPos const &) const; + /*67*/ virtual void __unk_vfn_67(); + /*73*/ virtual void __unk_vfn_73(); + /*75*/ virtual bool onFertilized(class BlockSource &, class BlockPos const &, class Actor *, enum FertilizerType) const; + /*77*/ virtual bool canBeFertilized(class BlockSource &, class BlockPos const &, class Block const &) const; + /*87*/ virtual void __unk_vfn_87(); + /*88*/ virtual void neighborChanged(class BlockSource &, class BlockPos const &, class BlockPos const &) const; + /*90*/ virtual int getResourceCount(class Random &, class Block const &, int, bool) const; + /*91*/ virtual class ItemInstance getResourceItem(class Random &, class Block const &, int) const; + /*92*/ virtual class ItemInstance asItemInstance(class BlockSource &, class BlockPos const &, class Block const &) const; + /*95*/ virtual void __unk_vfn_95(); + /*99*/ virtual class Block const & getPlacementBlock(class Actor &, class BlockPos const &, unsigned char, class Vec3 const &, int) const; + /*106*/ virtual bool canSurvive(class BlockSource &, class BlockPos const &) const; + /*109*/ virtual void __unk_vfn_109(); + /*116*/ virtual void __unk_vfn_116(); + /*118*/ virtual void __unk_vfn_118(); + /*119*/ virtual void __unk_vfn_119(); + /*138*/ virtual class AABB const & getVisualShape(class Block const &, class AABB &, bool) const; + /*142*/ virtual void __unk_vfn_142(); + /*158*/ virtual void __unk_vfn_158(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_COCOABLOCK + MCVAPI bool canBeSilkTouched() const; +#endif + MCAPI void updateCocoa(class BlockSource &, class BlockPos const &, class Random &, bool) const; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/CodeBuilderCommand.hpp b/LiteLoader/Header/MC/CodeBuilderCommand.hpp new file mode 100644 index 0000000..02c0469 --- /dev/null +++ b/LiteLoader/Header/MC/CodeBuilderCommand.hpp @@ -0,0 +1,30 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Command.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class CodeBuilderCommand : public Command { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_CODEBUILDERCOMMAND +public: + class CodeBuilderCommand& operator=(class CodeBuilderCommand const &) = delete; + CodeBuilderCommand(class CodeBuilderCommand const &) = delete; + CodeBuilderCommand() = delete; +#endif + +public: + /*0*/ virtual ~CodeBuilderCommand(); + /*1*/ virtual void execute(class CommandOrigin const &, class CommandOutput &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_CODEBUILDERCOMMAND +#endif + MCAPI static void setup(class CommandRegistry &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/CodeBuilderPacket.hpp b/LiteLoader/Header/MC/CodeBuilderPacket.hpp new file mode 100644 index 0000000..5ba043b --- /dev/null +++ b/LiteLoader/Header/MC/CodeBuilderPacket.hpp @@ -0,0 +1,32 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Packet.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class CodeBuilderPacket : public Packet { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_CODEBUILDERPACKET +public: + class CodeBuilderPacket& operator=(class CodeBuilderPacket const &) = delete; + CodeBuilderPacket(class CodeBuilderPacket const &) = delete; + CodeBuilderPacket() = delete; +#endif + +public: + /*0*/ virtual ~CodeBuilderPacket(); + /*1*/ virtual enum MinecraftPacketIds getId() const; + /*2*/ virtual std::string getName() const; + /*3*/ virtual void write(class BinaryStream &) const; + /*4*/ virtual enum StreamReadResult read(class ReadOnlyBinaryStream &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_CODEBUILDERPACKET +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/CollisionBoxDescription.hpp b/LiteLoader/Header/MC/CollisionBoxDescription.hpp new file mode 100644 index 0000000..4b22436 --- /dev/null +++ b/LiteLoader/Header/MC/CollisionBoxDescription.hpp @@ -0,0 +1,30 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Json.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +struct CollisionBoxDescription { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_COLLISIONBOXDESCRIPTION +public: + struct CollisionBoxDescription& operator=(struct CollisionBoxDescription const &) = delete; + CollisionBoxDescription(struct CollisionBoxDescription const &) = delete; + CollisionBoxDescription() = delete; +#endif +public: + /*0*/ virtual char const * getJsonName() const; + /*1*/ virtual ~CollisionBoxDescription(); + /*2*/ virtual void deserializeData(class Json::Value &); + /*3*/ virtual void serializeData(class Json::Value &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_COLLISIONBOXDESCRIPTION +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/Color.hpp b/LiteLoader/Header/MC/Color.hpp new file mode 100644 index 0000000..b073a5f --- /dev/null +++ b/LiteLoader/Header/MC/Color.hpp @@ -0,0 +1,48 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class Color { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_COLOR +public: + class Color& operator=(class Color const &) = delete; + Color(class Color const &) = delete; + Color() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_COLOR +#endif + MCAPI bool operator==(class Color const &) const; + MCAPI int toARGB() const; + MCAPI std::string toHexString() const; + MCAPI static class Color const BLACK; + MCAPI static class Color const BLUE; + MCAPI static class Color const CYAN; + MCAPI static class Color const GREEN; + MCAPI static class Color const GREY; + MCAPI static class Color const MINECOIN_GOLD; + MCAPI static class Color const NIL; + MCAPI static class Color const ORANGE; + MCAPI static class Color const PINK; + MCAPI static class Color const PURPLE; + MCAPI static class Color const RED; + MCAPI static class Color const SHADE_DOWN; + MCAPI static class Color const SHADE_NORTH_SOUTH; + MCAPI static class Color const SHADE_UP; + MCAPI static class Color const SHADE_WEST_EAST; + MCAPI static class Color const WHITE; + MCAPI static class Color const YELLOW; + MCAPI static class Color fromARGB(int); + MCAPI static class Color fromHexString(std::string const &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/Color2Description.hpp b/LiteLoader/Header/MC/Color2Description.hpp new file mode 100644 index 0000000..948d100 --- /dev/null +++ b/LiteLoader/Header/MC/Color2Description.hpp @@ -0,0 +1,30 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Json.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +struct Color2Description { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_COLOR2DESCRIPTION +public: + struct Color2Description& operator=(struct Color2Description const &) = delete; + Color2Description(struct Color2Description const &) = delete; + Color2Description() = delete; +#endif +public: + /*0*/ virtual char const * getJsonName() const; + /*1*/ virtual ~Color2Description(); + /*2*/ virtual void deserializeData(class Json::Value &); + /*3*/ virtual void serializeData(class Json::Value &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_COLOR2DESCRIPTION +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ColorDescription.hpp b/LiteLoader/Header/MC/ColorDescription.hpp new file mode 100644 index 0000000..71a2495 --- /dev/null +++ b/LiteLoader/Header/MC/ColorDescription.hpp @@ -0,0 +1,30 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Json.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +struct ColorDescription { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_COLORDESCRIPTION +public: + struct ColorDescription& operator=(struct ColorDescription const &) = delete; + ColorDescription(struct ColorDescription const &) = delete; + ColorDescription() = delete; +#endif +public: + /*0*/ virtual char const * getJsonName() const; + /*1*/ virtual ~ColorDescription(); + /*2*/ virtual void deserializeData(class Json::Value &); + /*3*/ virtual void serializeData(class Json::Value &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_COLORDESCRIPTION +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ColorFormat.hpp b/LiteLoader/Header/MC/ColorFormat.hpp new file mode 100644 index 0000000..5e0c898 --- /dev/null +++ b/LiteLoader/Header/MC/ColorFormat.hpp @@ -0,0 +1,69 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +namespace ColorFormat { + +#define AFTER_EXTRA +// Add Member There +LIAPI extern std::unordered_map const colorCodeToConsoleMap; +LIAPI extern std::unordered_map const colorCodeToColorMap; + + +LIAPI std::string nearestColorCodeFromColor(mce::Color const& color); +LIAPI mce::Color ColorFromConsoleCode(std::string const& consoleCode); + +LIAPI std::string consoleCodeFromColorCode(std::string const& mcCode); +LIAPI std::string nearestColorCodeFromConsoleCode(std::string const& consoleCode); + +LIAPI std::string& convertToMc(std::string& str); +LIAPI std::string convertToMc(std::string&& str); + +[[deprecated("This is a typo. Use convertToConsole instead")]] +LIAPI std::string& convertToColsole(std::string& str, bool keepColorCode = false); +[[deprecated("This is a typo. Use convertToConsole instead")]] +LIAPI std::string convertToColsole(std::string&& str, bool keepColorCode = false); + +LIAPI std::string& convertToConsole(std::string& str, bool keepColorCode = false); +LIAPI std::string convertToConsole(std::string&& str, bool keepColorCode = false); + +LIAPI std::string& removeColorCode(std::string& str); +LIAPI std::string removeColorCode(std::string&& str); + +[[deprecated("Use convertToMc instead")]] +LIAPI std::string& transferConsoleColorToColorCode(std::string& str); +[[deprecated("Use convertToConsole instead")]] +LIAPI std::string& transferColorCodeToConsole(std::string& str, bool keepColorCode = false); + +#undef AFTER_EXTRA + MCAPI extern std::string const AQUA; + MCAPI extern std::string const BLACK; + MCAPI extern std::string const BLUE; + MCAPI extern std::string const BOLD; + MCAPI std::string ColorCodeFromColor(class mce::Color const &); + MCAPI class mce::Color const * ColorFromColorCode(std::string const &); + MCAPI extern std::string const DARK_AQUA; + MCAPI extern std::string const DARK_BLUE; + MCAPI extern std::string const DARK_GRAY; + MCAPI extern std::string const DARK_GREEN; + MCAPI extern std::string const DARK_PURPLE; + MCAPI extern std::string const DARK_RED; + MCAPI extern std::string const ESCAPE; + MCAPI extern std::string const GOLD; + MCAPI extern std::string const GRAY; + MCAPI extern std::string const GREEN; + MCAPI extern std::string const ITALIC; + MCAPI extern std::string const LIGHT_PURPLE; + MCAPI extern std::string const MINECOIN_GOLD; + MCAPI extern std::string const OBFUSCATED; + MCAPI extern std::string const RED; + MCAPI extern std::string const RESET; + MCAPI extern std::string const WHITE; + MCAPI extern std::string const YELLOW; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ColorPaletteAttributes.hpp b/LiteLoader/Header/MC/ColorPaletteAttributes.hpp new file mode 100644 index 0000000..4b371da --- /dev/null +++ b/LiteLoader/Header/MC/ColorPaletteAttributes.hpp @@ -0,0 +1,27 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ColorPaletteAttributes { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_COLORPALETTEATTRIBUTES +public: + class ColorPaletteAttributes& operator=(class ColorPaletteAttributes const &) = delete; + ColorPaletteAttributes(class ColorPaletteAttributes const &) = delete; + ColorPaletteAttributes() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_COLORPALETTEATTRIBUTES +#endif + MCAPI ~ColorPaletteAttributes(); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ColoredBlock.hpp b/LiteLoader/Header/MC/ColoredBlock.hpp new file mode 100644 index 0000000..3dc5e81 --- /dev/null +++ b/LiteLoader/Header/MC/ColoredBlock.hpp @@ -0,0 +1,63 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "BlockLegacy.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ColoredBlock : public BlockLegacy { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_COLOREDBLOCK +public: + class ColoredBlock& operator=(class ColoredBlock const &) = delete; + ColoredBlock(class ColoredBlock const &) = delete; + ColoredBlock() = delete; +#endif + +public: + /*0*/ virtual ~ColoredBlock(); + /*18*/ virtual void __unk_vfn_18(); + /*24*/ virtual void __unk_vfn_24(); + /*25*/ virtual void __unk_vfn_25(); + /*26*/ virtual void __unk_vfn_26(); + /*27*/ virtual void __unk_vfn_27(); + /*28*/ virtual void __unk_vfn_28(); + /*30*/ virtual void __unk_vfn_30(); + /*31*/ virtual void __unk_vfn_31(); + /*32*/ virtual void __unk_vfn_32(); + /*33*/ virtual void __unk_vfn_33(); + /*34*/ virtual void __unk_vfn_34(); + /*35*/ virtual void __unk_vfn_35(); + /*36*/ virtual void __unk_vfn_36(); + /*38*/ virtual void __unk_vfn_38(); + /*39*/ virtual void __unk_vfn_39(); + /*40*/ virtual void __unk_vfn_40(); + /*42*/ virtual void __unk_vfn_42(); + /*43*/ virtual void __unk_vfn_43(); + /*49*/ virtual void __unk_vfn_49(); + /*52*/ virtual void __unk_vfn_52(); + /*67*/ virtual void __unk_vfn_67(); + /*73*/ virtual void __unk_vfn_73(); + /*87*/ virtual void __unk_vfn_87(); + /*91*/ virtual class ItemInstance getResourceItem(class Random &, class Block const &, int) const; + /*95*/ virtual void __unk_vfn_95(); + /*109*/ virtual void __unk_vfn_109(); + /*113*/ virtual class Color getMapColor(class BlockSource &, class BlockPos const &) const; + /*116*/ virtual void __unk_vfn_116(); + /*118*/ virtual void __unk_vfn_118(); + /*119*/ virtual void __unk_vfn_119(); + /*127*/ virtual std::string buildDescriptionId(class Block const &) const; + /*128*/ virtual bool isAuxValueRelevantForPicking() const; + /*142*/ virtual void __unk_vfn_142(); + /*158*/ virtual void __unk_vfn_158(); + /*159*/ virtual class ItemInstance getSilkTouchItemInstance(class Block const &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_COLOREDBLOCK +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ColoredTorchBlock.hpp b/LiteLoader/Header/MC/ColoredTorchBlock.hpp new file mode 100644 index 0000000..40d6833 --- /dev/null +++ b/LiteLoader/Header/MC/ColoredTorchBlock.hpp @@ -0,0 +1,72 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "TorchBlock.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ColoredTorchBlock : public TorchBlock { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_COLOREDTORCHBLOCK +public: + class ColoredTorchBlock& operator=(class ColoredTorchBlock const &) = delete; + ColoredTorchBlock(class ColoredTorchBlock const &) = delete; + ColoredTorchBlock() = delete; +#endif + +public: + /*0*/ virtual ~ColoredTorchBlock(); + /*18*/ virtual void __unk_vfn_18(); + /*24*/ virtual void __unk_vfn_24(); + /*25*/ virtual void __unk_vfn_25(); + /*26*/ virtual void __unk_vfn_26(); + /*27*/ virtual void __unk_vfn_27(); + /*28*/ virtual void __unk_vfn_28(); + /*30*/ virtual void __unk_vfn_30(); + /*31*/ virtual void __unk_vfn_31(); + /*32*/ virtual void __unk_vfn_32(); + /*33*/ virtual void __unk_vfn_33(); + /*34*/ virtual void __unk_vfn_34(); + /*35*/ virtual void __unk_vfn_35(); + /*36*/ virtual void __unk_vfn_36(); + /*38*/ virtual void __unk_vfn_38(); + /*39*/ virtual void __unk_vfn_39(); + /*40*/ virtual void __unk_vfn_40(); + /*42*/ virtual void __unk_vfn_42(); + /*43*/ virtual void __unk_vfn_43(); + /*49*/ virtual void __unk_vfn_49(); + /*52*/ virtual void __unk_vfn_52(); + /*53*/ virtual bool canBeUsedInCommands(bool, class BaseGameVersion const &) const; + /*67*/ virtual void __unk_vfn_67(); + /*73*/ virtual void __unk_vfn_73(); + /*87*/ virtual void __unk_vfn_87(); + /*91*/ virtual class ItemInstance getResourceItem(class Random &, class Block const &, int) const; + /*92*/ virtual class ItemInstance asItemInstance(class BlockSource &, class BlockPos const &, class Block const &) const; + /*95*/ virtual void __unk_vfn_95(); + /*99*/ virtual class Block const & getPlacementBlock(class Actor &, class BlockPos const &, unsigned char, class Vec3 const &, int) const; + /*109*/ virtual void __unk_vfn_109(); + /*116*/ virtual void __unk_vfn_116(); + /*118*/ virtual void __unk_vfn_118(); + /*119*/ virtual void __unk_vfn_119(); + /*127*/ virtual std::string buildDescriptionId(class Block const &) const; + /*128*/ virtual bool isAuxValueRelevantForPicking() const; + /*141*/ virtual int getVariant(class Block const &) const; + /*142*/ virtual void __unk_vfn_142(); + /*146*/ virtual void animateTick(class BlockSource &, class BlockPos const &, class Random &) const; + /*158*/ virtual void __unk_vfn_158(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_COLOREDTORCHBLOCK +#endif + MCAPI static class ItemInstance getItemForColor(enum ColoredTorchColor); + +//private: + MCAPI enum ColoredTorchColor _getColor(class Block const &) const; + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/Command.hpp b/LiteLoader/Header/MC/Command.hpp new file mode 100644 index 0000000..47dffb7 --- /dev/null +++ b/LiteLoader/Header/MC/Command.hpp @@ -0,0 +1,39 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class Command { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_COMMAND +public: + class Command& operator=(class Command const &) = delete; + Command(class Command const &) = delete; + Command() = delete; +#endif + +public: + /*0*/ virtual ~Command(); + /*1*/ virtual void execute(class CommandOrigin const &, class CommandOutput &) const = 0; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_COMMAND +#endif + MCAPI void run(class CommandOrigin const &, class CommandOutput &) const; + MCAPI static std::string const WILDCARD_TOKEN; + MCAPI static bool validRange(int, int, int, class CommandOutput &); + +//protected: + MCAPI void sendTelemetry(class CommandOrigin const &, class CommandOutput &) const; + MCAPI bool shouldSendTelemetry(class CommandOrigin const &) const; + MCAPI static bool isTemplateLockedAction(class CommandOrigin const &); + MCAPI static bool isWildcard(class CommandSelectorBase const &); + +protected: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/CommandAreaFactory.hpp b/LiteLoader/Header/MC/CommandAreaFactory.hpp new file mode 100644 index 0000000..7caa296 --- /dev/null +++ b/LiteLoader/Header/MC/CommandAreaFactory.hpp @@ -0,0 +1,32 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class CommandAreaFactory { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_COMMANDAREAFACTORY +public: + class CommandAreaFactory& operator=(class CommandAreaFactory const &) = delete; + CommandAreaFactory(class CommandAreaFactory const &) = delete; + CommandAreaFactory() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_COMMANDAREAFACTORY +#endif + MCAPI std::unique_ptr findAreaWithBuffer(class BlockPos const &, class BlockPos const &, bool) const; + +//private: + MCAPI std::unique_ptr _getArea(struct Bounds const &, bool) const; + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/CommandBlock.hpp b/LiteLoader/Header/MC/CommandBlock.hpp new file mode 100644 index 0000000..d5ca67a --- /dev/null +++ b/LiteLoader/Header/MC/CommandBlock.hpp @@ -0,0 +1,204 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "ActorBlock.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class CommandBlock : public ActorBlock { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_COMMANDBLOCK +public: + class CommandBlock& operator=(class CommandBlock const &) = delete; + CommandBlock(class CommandBlock const &) = delete; + CommandBlock() = delete; +#endif + +public: + /*0*/ virtual ~CommandBlock(); + /*1*/ virtual void tick(class BlockSource &, class BlockPos const &, class Random &) const; + /*2*/ virtual class Block const & getStateFromLegacyData(unsigned short) const; + /*3*/ virtual class std::shared_ptr newBlockEntity(class BlockPos const &, class Block const &) const; + /*4*/ virtual class Block const * getNextBlockPermutation(class Block const &) const; + /*5*/ virtual bool getCollisionShape(class AABB &, class Block const &, class BlockSource &, class BlockPos const &, class Actor *) const; + /*6*/ virtual bool isObstructingChests(class BlockSource &, class BlockPos const &) const; + /*7*/ virtual void __unk_vfn_7(); + /*8*/ virtual class Vec3 randomlyModifyPosition(class BlockPos const &, int &) const; + /*9*/ virtual void addAABBs(class Block const &, class BlockSource &, class BlockPos const &, class AABB const *, std::vector &) const; + /*10*/ virtual class AABB const & getAABB(class BlockSource &, class BlockPos const &, class Block const &, class AABB &, bool) const; + /*11*/ virtual bool addCollisionShapes(class Block const &, class BlockSource &, class BlockPos const &, class AABB const *, std::vector &, class Actor *) const; + /*12*/ virtual class AABB const & getOutline(class BlockSource &, class BlockPos const &, class AABB &) const; + /*13*/ virtual bool getLiquidClipVolume(class BlockSource &, class BlockPos const &, class AABB &) const; + /*14*/ virtual void setupRedstoneComponent(class BlockSource &, class BlockPos const &) const; + /*15*/ virtual void __unk_vfn_15(); + /*16*/ virtual struct Brightness getLightEmission(class Block const &) const; + /*17*/ virtual bool shouldRandomTick() const; + /*18*/ virtual void __unk_vfn_18(); + /*19*/ virtual void __unk_vfn_19(); + /*20*/ virtual void __unk_vfn_20(); + /*21*/ virtual bool canProvideSupport(class Block const &, unsigned char, enum BlockSupportType) const; + /*22*/ virtual bool canConnect(class Block const &, unsigned char, class Block const &) const; + /*23*/ virtual void getConnectedDirections(class Block const &, class BlockPos const &, class BlockSource &, bool &, bool &, bool &, bool &) const; + /*24*/ virtual void __unk_vfn_24(); + /*25*/ virtual void __unk_vfn_25(); + /*26*/ virtual void __unk_vfn_26(); + /*27*/ virtual void __unk_vfn_27(); + /*28*/ virtual void __unk_vfn_28(); + /*29*/ virtual bool isWaterBlocking() const; + /*30*/ virtual void __unk_vfn_30(); + /*31*/ virtual void __unk_vfn_31(); + /*32*/ virtual void __unk_vfn_32(); + /*33*/ virtual void __unk_vfn_33(); + /*34*/ virtual void __unk_vfn_34(); + /*35*/ virtual void __unk_vfn_35(); + /*36*/ virtual void __unk_vfn_36(); + /*37*/ virtual void __unk_vfn_37(); + /*38*/ virtual void __unk_vfn_38(); + /*39*/ virtual void __unk_vfn_39(); + /*40*/ virtual void __unk_vfn_40(); + /*41*/ virtual bool canHurtAndBreakItem() const; + /*42*/ virtual void __unk_vfn_42(); + /*43*/ virtual void __unk_vfn_43(); + /*44*/ virtual void __unk_vfn_44(); + /*45*/ virtual void __unk_vfn_45(); + /*46*/ virtual class Block const & sanitizeFillBlock(class BlockSource &, class BlockPos const &, class Block const &) const; + /*47*/ virtual void __unk_vfn_47(); + /*48*/ virtual void __unk_vfn_48(); + /*49*/ virtual void __unk_vfn_49(); + /*50*/ virtual bool canContainLiquid() const; + /*51*/ virtual void __unk_vfn_51(); + /*52*/ virtual void __unk_vfn_52(); + /*53*/ virtual bool canBeUsedInCommands(bool, class BaseGameVersion const &) const; + /*54*/ virtual float getThickness() const; + /*55*/ virtual void __unk_vfn_55(); + /*56*/ virtual bool checkIsPathable(class Actor &, class BlockPos const &, class BlockPos const &) const; + /*57*/ virtual void __unk_vfn_57(); + /*58*/ virtual void __unk_vfn_58(); + /*59*/ virtual void onPlace(class BlockSource &, class BlockPos const &) const; + /*60*/ virtual void __unk_vfn_60(); + /*61*/ virtual void __unk_vfn_61(); + /*62*/ virtual void __unk_vfn_62(); + /*63*/ virtual void onFallOn(class BlockSource &, class BlockPos const &, class Actor &, float) const; + /*64*/ virtual void __unk_vfn_64(); + /*65*/ virtual void onRedstoneUpdate(class BlockSource &, class BlockPos const &, int, bool) const; + /*66*/ virtual void __unk_vfn_66(); + /*67*/ virtual void __unk_vfn_67(); + /*68*/ virtual void __unk_vfn_68(); + /*69*/ virtual void __unk_vfn_69(); + /*70*/ virtual void __unk_vfn_70(); + /*71*/ virtual enum BlockProperty getRedstoneProperty(class BlockSource &, class BlockPos const &) const; + /*72*/ virtual void updateEntityAfterFallOn(class BlockSource &, class BlockPos const &, class Actor &) const; + /*73*/ virtual void __unk_vfn_73(); + /*74*/ virtual void __unk_vfn_74(); + /*75*/ virtual void __unk_vfn_75(); + /*76*/ virtual void __unk_vfn_76(); + /*77*/ virtual void __unk_vfn_77(); + /*78*/ virtual bool mayPick(class BlockSource &, class Block const &, bool) const; + /*79*/ virtual void __unk_vfn_79(); + /*80*/ virtual bool mayPlace(class BlockSource &, class BlockPos const &) const; + /*81*/ virtual void __unk_vfn_81(); + /*82*/ virtual void __unk_vfn_82(); + /*83*/ virtual bool tryToPlace(class BlockSource &, class BlockPos const &, class Block const &, struct ActorBlockSyncMessage const *) const; + /*84*/ virtual bool breaksFallingBlocks(class Block const &) const; + /*85*/ virtual void __unk_vfn_85(); + /*86*/ virtual bool playerWillDestroy(class Player &, class BlockPos const &, class Block const &) const; + /*87*/ virtual void __unk_vfn_87(); + /*88*/ virtual void neighborChanged(class BlockSource &, class BlockPos const &, class BlockPos const &) const; + /*89*/ virtual void __unk_vfn_89(); + /*90*/ virtual void __unk_vfn_90(); + /*91*/ virtual void __unk_vfn_91(); + /*92*/ virtual class ItemInstance asItemInstance(class BlockSource &, class BlockPos const &, class Block const &) const; + /*93*/ virtual void spawnResources(class BlockSource &, class BlockPos const &, class Block const &, std::vector *, float, int, bool) const; + /*94*/ virtual void trySpawnResourcesOnExplosion(class BlockSource &, class BlockPos const &, class Block const &, std::vector *, float, int, bool) const; + /*95*/ virtual void __unk_vfn_95(); + /*96*/ virtual void __unk_vfn_96(); + /*97*/ virtual class HitResult clip(class BlockSource &, class BlockPos const &, class Vec3 const &, class Vec3 const &, bool) const; + /*98*/ virtual void __unk_vfn_98(); + /*99*/ virtual class Block const & getPlacementBlock(class Actor &, class BlockPos const &, unsigned char, class Vec3 const &, int) const; + /*100*/ virtual int calcVariant(class BlockSource &, class BlockPos const &) const; + /*101*/ virtual void __unk_vfn_101(); + /*102*/ virtual void __unk_vfn_102(); + /*103*/ virtual void __unk_vfn_103(); + /*104*/ virtual void __unk_vfn_104(); + /*105*/ virtual void playerDestroy(class Player &, class BlockPos const &, class Block const &) const; + /*106*/ virtual void __unk_vfn_106(); + /*107*/ virtual void __unk_vfn_107(); + /*108*/ virtual bool canBeBuiltOver(class BlockSource &, class BlockPos const &) const; + /*109*/ virtual void triggerEvent(class BlockSource &, class BlockPos const &, int, int) const; + /*110*/ virtual void __unk_vfn_110(); + /*111*/ virtual void __unk_vfn_111(); + /*112*/ virtual class MobSpawnerData const * getMobToSpawn(class SpawnConditions const &, class BlockSource &) const; + /*113*/ virtual void __unk_vfn_113(); + /*114*/ virtual void __unk_vfn_114(); + /*115*/ virtual bool shouldStopFalling(class Actor &) const; + /*116*/ virtual void __unk_vfn_116(); + /*117*/ virtual float calcGroundFriction(class Mob &, class BlockPos const &) const; + /*118*/ virtual void __unk_vfn_118(); + /*119*/ virtual void __unk_vfn_119(); + /*120*/ virtual int getComparatorSignal(class BlockSource &, class BlockPos const &, class Block const &, unsigned char) const; + /*121*/ virtual bool canSlide(class BlockSource &, class BlockPos const &) const; + /*122*/ virtual void __unk_vfn_122(); + /*123*/ virtual void __unk_vfn_123(); + /*124*/ virtual void __unk_vfn_124(); + /*125*/ virtual void __unk_vfn_125(); + /*126*/ virtual void __unk_vfn_126(); + /*127*/ virtual void __unk_vfn_127(); + /*128*/ virtual void __unk_vfn_128(); + /*129*/ virtual void __unk_vfn_129(); + /*130*/ virtual void __unk_vfn_130(); + /*131*/ virtual void __unk_vfn_131(); + /*132*/ virtual int getColorForParticle(class BlockSource &, class BlockPos const &, class Block const &) const; + /*133*/ virtual void __unk_vfn_133(); + /*134*/ virtual void onGraphicsModeChanged(bool, bool, bool); + /*135*/ virtual void __unk_vfn_135(); + /*136*/ virtual float getShadeBrightness() const; + /*137*/ virtual class AABB const & getVisualShapeInWorld(class Block const &, class BlockSource &, class BlockPos const &, class AABB &, bool) const; + /*138*/ virtual class AABB const & getVisualShape(class Block const &, class AABB &, bool) const; + /*139*/ virtual class AABB const & getUIShape(class Block const &, class AABB &) const; + /*140*/ virtual int telemetryVariant(class BlockSource &, class BlockPos const &) const; + /*141*/ virtual int getVariant(class Block const &) const; + /*142*/ virtual void __unk_vfn_142(); + /*143*/ virtual class Block const & getRenderBlock() const; + /*144*/ virtual unsigned char getMappedFace(unsigned char, class Block const &) const; + /*145*/ virtual void __unk_vfn_145(); + /*146*/ virtual void __unk_vfn_146(); + /*147*/ virtual class BlockLegacy & init(); + /*148*/ virtual class BlockLegacy & setLightBlock(struct Brightness); + /*149*/ virtual class BlockLegacy & setLightEmission(float); + /*150*/ virtual class BlockLegacy & setExplodeable(float); + /*151*/ virtual class BlockLegacy & setDestroyTime(float); + /*152*/ virtual class BlockLegacy & setFriction(float); + /*153*/ virtual class BlockLegacy & addProperty(enum BlockProperty); + /*154*/ virtual class BlockLegacy & addState(class ItemState const &); + /*155*/ virtual class BlockLegacy & addState(class ItemState const &, unsigned __int64); + /*156*/ virtual class BlockLegacy & setAllowsRunes(bool); + /*157*/ virtual class BlockLegacy & setMapColor(class Color const &); + /*158*/ virtual void __unk_vfn_158(); + /*159*/ virtual void __unk_vfn_159(); + /*160*/ virtual void setVisualShape(class AABB const &); + /*161*/ virtual void setVisualShape(class Vec3 const &, class Vec3 const &); + /*162*/ virtual void __unk_vfn_162(); + /*163*/ virtual void __unk_vfn_163(); + /*164*/ virtual class ItemInstance getEntityResourceItem(class Random &, class BlockActor const &, int) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_COMMANDBLOCK + MCVAPI bool hasComparatorSignal() const; + MCVAPI bool isInteractiveBlock() const; + MCVAPI bool use(class Player &, class BlockPos const &) const; +#endif + MCAPI CommandBlock(std::string const &, int, enum CommandBlockMode); + MCAPI void updateBlock(class BlockSource &, class BlockPos const &, enum CommandBlockMode, bool) const; + +//private: + MCAPI void _execute(class BlockSource &, class CommandBlockActor &, class BlockPos const &, bool) const; + MCAPI void _executeChain(class BlockSource &, class BlockPos const &) const; + +private: + MCAPI static int mCBModeMap[]; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/CommandBlockActor.hpp b/LiteLoader/Header/MC/CommandBlockActor.hpp new file mode 100644 index 0000000..dafaed8 --- /dev/null +++ b/LiteLoader/Header/MC/CommandBlockActor.hpp @@ -0,0 +1,58 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "BlockActor.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class CommandBlockActor : public BlockActor { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_COMMANDBLOCKACTOR +public: + class CommandBlockActor& operator=(class CommandBlockActor const &) = delete; + CommandBlockActor(class CommandBlockActor const &) = delete; + CommandBlockActor() = delete; +#endif + +public: + /*0*/ virtual ~CommandBlockActor(); + /*1*/ virtual void load(class Level &, class CompoundTag const &, class DataLoadHelper &); + /*2*/ virtual bool save(class CompoundTag &) const; + /*4*/ virtual void saveBlockData(class CompoundTag &, class BlockSource &) const; + /*5*/ virtual void loadBlockData(class CompoundTag const &, class BlockSource &, class DataLoadHelper &); + /*6*/ virtual void onCustomTagLoadDone(class BlockSource &); + /*9*/ virtual void onChanged(class BlockSource &); + /*12*/ virtual void onPlace(class BlockSource &); + /*13*/ virtual void __unk_vfn_13(); + /*17*/ virtual void __unk_vfn_17(); + /*22*/ virtual std::string const & getCustomName() const; + /*23*/ virtual std::string const & getFilteredCustomName(class UIProfanityContext const &); + /*25*/ virtual void setCustomName(std::string const &); + /*29*/ virtual void __unk_vfn_29(); + /*30*/ virtual void __unk_vfn_30(); + /*32*/ virtual void __unk_vfn_32(); + /*33*/ virtual void __unk_vfn_33(); + /*34*/ virtual std::unique_ptr _getUpdatePacket(class BlockSource &); + /*35*/ virtual void _onUpdatePacket(class CompoundTag const &, class BlockSource &); + /*36*/ virtual bool _playerCanUpdate(class Player const &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_COMMANDBLOCKACTOR +#endif + MCAPI class CommandBlock const * getCommandBlock(class BlockSource &) const; + MCAPI bool getConditionalMode(class BlockSource &) const; + MCAPI enum CommandBlockMode getMode(class BlockSource &) const; + MCAPI bool markConditionMet(class BlockSource &); + MCAPI bool performCommand(class BlockSource &); + MCAPI void updateBlock(class BlockSource &, std::string const &, std::string const &, enum CommandBlockMode, bool, bool, bool, int, bool); + +//private: + MCAPI void _setAutomatic(class BlockSource &, bool, enum CommandBlockMode); + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/CommandBlockComponent.hpp b/LiteLoader/Header/MC/CommandBlockComponent.hpp new file mode 100644 index 0000000..f3718a2 --- /dev/null +++ b/LiteLoader/Header/MC/CommandBlockComponent.hpp @@ -0,0 +1,30 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class CommandBlockComponent { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_COMMANDBLOCKCOMPONENT +public: + class CommandBlockComponent& operator=(class CommandBlockComponent const &) = delete; + CommandBlockComponent(class CommandBlockComponent const &) = delete; + CommandBlockComponent() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_COMMANDBLOCKCOMPONENT +#endif + MCAPI CommandBlockComponent(class CommandBlockComponent &&); + MCAPI void initFromDefinition(class Actor &); + MCAPI void onCommandBlockUpdate(class Actor &, std::string const &, bool, std::string, int, bool); + MCAPI void readAdditionalSaveData(class Actor &, class CompoundTag const &, class DataLoadHelper &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/CommandBlockDescription.hpp b/LiteLoader/Header/MC/CommandBlockDescription.hpp new file mode 100644 index 0000000..5be2b0f --- /dev/null +++ b/LiteLoader/Header/MC/CommandBlockDescription.hpp @@ -0,0 +1,30 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Json.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +struct CommandBlockDescription { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_COMMANDBLOCKDESCRIPTION +public: + struct CommandBlockDescription& operator=(struct CommandBlockDescription const &) = delete; + CommandBlockDescription(struct CommandBlockDescription const &) = delete; + CommandBlockDescription() = delete; +#endif +public: + /*0*/ virtual char const * getJsonName() const; + /*1*/ virtual ~CommandBlockDescription(); + /*2*/ virtual void deserializeData(class Json::Value &); + /*3*/ virtual void serializeData(class Json::Value &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_COMMANDBLOCKDESCRIPTION +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/CommandBlockSystem.hpp b/LiteLoader/Header/MC/CommandBlockSystem.hpp new file mode 100644 index 0000000..d8980e8 --- /dev/null +++ b/LiteLoader/Header/MC/CommandBlockSystem.hpp @@ -0,0 +1,28 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class CommandBlockSystem { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_COMMANDBLOCKSYSTEM +public: + class CommandBlockSystem& operator=(class CommandBlockSystem const &) = delete; + CommandBlockSystem(class CommandBlockSystem const &) = delete; + CommandBlockSystem() = delete; +#endif + +public: + /*0*/ virtual ~CommandBlockSystem(); + /*1*/ virtual void tick(class EntityRegistry &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_COMMANDBLOCKSYSTEM +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/CommandBlockUpdatePacket.hpp b/LiteLoader/Header/MC/CommandBlockUpdatePacket.hpp new file mode 100644 index 0000000..358bf0f --- /dev/null +++ b/LiteLoader/Header/MC/CommandBlockUpdatePacket.hpp @@ -0,0 +1,32 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Packet.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class CommandBlockUpdatePacket : public Packet { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_COMMANDBLOCKUPDATEPACKET +public: + class CommandBlockUpdatePacket& operator=(class CommandBlockUpdatePacket const &) = delete; + CommandBlockUpdatePacket(class CommandBlockUpdatePacket const &) = delete; + CommandBlockUpdatePacket() = delete; +#endif + +public: + /*0*/ virtual ~CommandBlockUpdatePacket(); + /*1*/ virtual enum MinecraftPacketIds getId() const; + /*2*/ virtual std::string getName() const; + /*3*/ virtual void write(class BinaryStream &) const; + /*4*/ virtual enum StreamReadResult read(class ReadOnlyBinaryStream &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_COMMANDBLOCKUPDATEPACKET +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/CommandContext.hpp b/LiteLoader/Header/MC/CommandContext.hpp new file mode 100644 index 0000000..3f317ab --- /dev/null +++ b/LiteLoader/Header/MC/CommandContext.hpp @@ -0,0 +1,27 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class CommandContext { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_COMMANDCONTEXT +public: + class CommandContext& operator=(class CommandContext const &) = delete; + CommandContext(class CommandContext const &) = delete; + CommandContext() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_COMMANDCONTEXT +#endif + MCAPI CommandContext(std::string const &, std::unique_ptr, int); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/CommandDispatcher.hpp b/LiteLoader/Header/MC/CommandDispatcher.hpp new file mode 100644 index 0000000..fb889ae --- /dev/null +++ b/LiteLoader/Header/MC/CommandDispatcher.hpp @@ -0,0 +1,28 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class CommandDispatcher { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_COMMANDDISPATCHER +public: + class CommandDispatcher& operator=(class CommandDispatcher const &) = delete; + CommandDispatcher(class CommandDispatcher const &) = delete; + CommandDispatcher() = delete; +#endif + +public: + /*0*/ virtual ~CommandDispatcher(); + /*1*/ virtual int performCommand(class CommandOrigin const &, class Command &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_COMMANDDISPATCHER +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/CommandFunctionEntry.hpp b/LiteLoader/Header/MC/CommandFunctionEntry.hpp new file mode 100644 index 0000000..dbb5233 --- /dev/null +++ b/LiteLoader/Header/MC/CommandFunctionEntry.hpp @@ -0,0 +1,28 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class CommandFunctionEntry { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_COMMANDFUNCTIONENTRY +public: + class CommandFunctionEntry& operator=(class CommandFunctionEntry const &) = delete; + CommandFunctionEntry(class CommandFunctionEntry const &) = delete; + CommandFunctionEntry() = delete; +#endif + +public: + /*0*/ virtual ~CommandFunctionEntry(); + /*1*/ virtual void execute(class FunctionManager &, class CommandOrigin const &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_COMMANDFUNCTIONENTRY +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/CommandItem.hpp b/LiteLoader/Header/MC/CommandItem.hpp new file mode 100644 index 0000000..7f4129a --- /dev/null +++ b/LiteLoader/Header/MC/CommandItem.hpp @@ -0,0 +1,27 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class CommandItem { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_COMMANDITEM +public: + class CommandItem& operator=(class CommandItem const &) = delete; + CommandItem(class CommandItem const &) = delete; + CommandItem() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_COMMANDITEM +#endif + MCAPI class std::optional createInstance(int, int, class CommandOutput *, bool) const; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/CommandLexer.hpp b/LiteLoader/Header/MC/CommandLexer.hpp new file mode 100644 index 0000000..5d47db9 --- /dev/null +++ b/LiteLoader/Header/MC/CommandLexer.hpp @@ -0,0 +1,30 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class CommandLexer { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_COMMANDLEXER +public: + class CommandLexer& operator=(class CommandLexer const &) = delete; + CommandLexer(class CommandLexer const &) = delete; + CommandLexer() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_COMMANDLEXER +#endif + MCAPI bool isTokenAValidFilePath() const; + MCAPI void step(); + MCAPI static bool isFilePathCharacter(char); + MCAPI static bool isIdentifierCharacter(char); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/CommandMessage.hpp b/LiteLoader/Header/MC/CommandMessage.hpp new file mode 100644 index 0000000..f29401b --- /dev/null +++ b/LiteLoader/Header/MC/CommandMessage.hpp @@ -0,0 +1,27 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class CommandMessage { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_COMMANDMESSAGE +public: + class CommandMessage& operator=(class CommandMessage const &) = delete; + CommandMessage(class CommandMessage const &) = delete; + CommandMessage() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_COMMANDMESSAGE +#endif + MCAPI std::string getMessage(class CommandOrigin const &) const; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/CommandOrigin.hpp b/LiteLoader/Header/MC/CommandOrigin.hpp new file mode 100644 index 0000000..65dac7c --- /dev/null +++ b/LiteLoader/Header/MC/CommandOrigin.hpp @@ -0,0 +1,61 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Json.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class CommandOrigin { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_COMMANDORIGIN +public: + class CommandOrigin& operator=(class CommandOrigin const &) = delete; + CommandOrigin(class CommandOrigin const &) = delete; + CommandOrigin() = delete; +#endif + +public: + /*0*/ virtual ~CommandOrigin(); + /*1*/ virtual std::string const & getRequestId() const = 0; + /*2*/ virtual std::string getName() const = 0; + /*3*/ virtual class BlockPos getBlockPosition() const = 0; + /*4*/ virtual class Vec3 getWorldPosition() const = 0; + /*5*/ virtual class Level * getLevel() const = 0; + /*6*/ virtual class Dimension * getDimension() const = 0; + /*7*/ virtual class Actor * getEntity() const = 0; + /*8*/ virtual enum CommandPermissionLevel getPermissionsLevel() const = 0; + /*9*/ virtual std::unique_ptr clone() const = 0; + /*10*/ virtual class std::optional getCursorHitBlockPos() const; + /*11*/ virtual class std::optional getCursorHitPos() const; + /*12*/ virtual bool hasChatPerms() const; + /*13*/ virtual bool hasTellPerms() const; + /*14*/ virtual bool canUseAbility(enum AbilitiesIndex) const; + /*15*/ virtual bool isWorldBuilder() const; + /*16*/ virtual bool canUseCommandsWithoutCheatsEnabled() const; + /*17*/ virtual bool isSelectorExpansionAllowed() const; + /*18*/ virtual class NetworkIdentifier const & getSourceId() const; + /*19*/ virtual unsigned char getSourceSubId() const; + /*20*/ virtual class CommandOrigin const & getOutputReceiver() const; + /*21*/ virtual enum CommandOriginType getOriginType() const = 0; + /*22*/ virtual struct CommandOriginData toCommandOriginData() const; + /*23*/ virtual class mce::UUID const & getUUID() const; + /*24*/ virtual void handleCommandOutputCallback(class Json::Value &&) const; + /*25*/ virtual void _setUUID(class mce::UUID const &); + /*26*/ virtual class CommandBlockActor * getBlockEntity() const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_COMMANDORIGIN +#endif + MCAPI std::unique_ptr getAreaAt(class BlockPos const &) const; + MCAPI static std::unique_ptr fromCommandOriginData(struct CommandOriginData const &, class Level &, class NetworkIdentifier const &, unsigned char); + +//protected: + +protected: + MCAPI static class NetworkIdentifier sUnknownSource; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/CommandOriginData.hpp b/LiteLoader/Header/MC/CommandOriginData.hpp new file mode 100644 index 0000000..d5f30fa --- /dev/null +++ b/LiteLoader/Header/MC/CommandOriginData.hpp @@ -0,0 +1,26 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +struct CommandOriginData { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_COMMANDORIGINDATA +public: + struct CommandOriginData& operator=(struct CommandOriginData const &) = delete; + CommandOriginData(struct CommandOriginData const &) = delete; + CommandOriginData() = delete; +#endif +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_COMMANDORIGINDATA +#endif + MCAPI ~CommandOriginData(); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/CommandOutput.hpp b/LiteLoader/Header/MC/CommandOutput.hpp new file mode 100644 index 0000000..6066c7d --- /dev/null +++ b/LiteLoader/Header/MC/CommandOutput.hpp @@ -0,0 +1,36 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class CommandOutput { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_COMMANDOUTPUT +public: + class CommandOutput& operator=(class CommandOutput const &) = delete; + CommandOutput(class CommandOutput const &) = delete; + CommandOutput() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_COMMANDOUTPUT +#endif + MCAPI CommandOutput(enum CommandOutputType); + MCAPI void addToResultList(std::string const &, class Actor const &); + MCAPI void error(std::string const &, std::vector const &); + MCAPI void success(std::string const &, std::vector const &); + MCAPI ~CommandOutput(); + +//private: + MCAPI void addMessage(std::string const &, std::vector const &, enum CommandOutputMessageType); + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/CommandOutputMessage.hpp b/LiteLoader/Header/MC/CommandOutputMessage.hpp new file mode 100644 index 0000000..362c168 --- /dev/null +++ b/LiteLoader/Header/MC/CommandOutputMessage.hpp @@ -0,0 +1,27 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class CommandOutputMessage { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_COMMANDOUTPUTMESSAGE +public: + class CommandOutputMessage& operator=(class CommandOutputMessage const &) = delete; + CommandOutputMessage(class CommandOutputMessage const &) = delete; + CommandOutputMessage() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_COMMANDOUTPUTMESSAGE +#endif + MCAPI ~CommandOutputMessage(); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/CommandOutputPacket.hpp b/LiteLoader/Header/MC/CommandOutputPacket.hpp new file mode 100644 index 0000000..f007c97 --- /dev/null +++ b/LiteLoader/Header/MC/CommandOutputPacket.hpp @@ -0,0 +1,32 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Packet.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class CommandOutputPacket : public Packet { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_COMMANDOUTPUTPACKET +public: + class CommandOutputPacket& operator=(class CommandOutputPacket const &) = delete; + CommandOutputPacket(class CommandOutputPacket const &) = delete; + CommandOutputPacket() = delete; +#endif + +public: + /*0*/ virtual ~CommandOutputPacket(); + /*1*/ virtual enum MinecraftPacketIds getId() const; + /*2*/ virtual std::string getName() const; + /*3*/ virtual void write(class BinaryStream &) const; + /*4*/ virtual enum StreamReadResult read(class ReadOnlyBinaryStream &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_COMMANDOUTPUTPACKET +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/CommandOutputParameter.hpp b/LiteLoader/Header/MC/CommandOutputParameter.hpp new file mode 100644 index 0000000..a3096ef --- /dev/null +++ b/LiteLoader/Header/MC/CommandOutputParameter.hpp @@ -0,0 +1,35 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class CommandOutputParameter { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_COMMANDOUTPUTPARAMETER +public: + class CommandOutputParameter& operator=(class CommandOutputParameter const &) = delete; + CommandOutputParameter(class CommandOutputParameter const &) = delete; + CommandOutputParameter() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_COMMANDOUTPUTPARAMETER +#endif + MCAPI CommandOutputParameter(std::string const &); + MCAPI CommandOutputParameter(int); + MCAPI CommandOutputParameter(class BlockPos); + MCAPI CommandOutputParameter(std::vector const &); + MCAPI CommandOutputParameter(std::vector const &); + MCAPI CommandOutputParameter(std::vector const &); + MCAPI CommandOutputParameter(class CommandSelectorResults const &); + MCAPI CommandOutputParameter(class CommandSelectorResults const &); + MCAPI ~CommandOutputParameter(); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/CommandOutputSender.hpp b/LiteLoader/Header/MC/CommandOutputSender.hpp new file mode 100644 index 0000000..5cdd108 --- /dev/null +++ b/LiteLoader/Header/MC/CommandOutputSender.hpp @@ -0,0 +1,37 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Json.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class CommandOutputSender { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_COMMANDOUTPUTSENDER +public: + class CommandOutputSender& operator=(class CommandOutputSender const &) = delete; + CommandOutputSender(class CommandOutputSender const &) = delete; + CommandOutputSender() = delete; +#endif + +public: + /*0*/ virtual ~CommandOutputSender(); + /*1*/ virtual void send(class CommandOrigin const &, class CommandOutput const &); + /*2*/ virtual void registerOutputCallback(class std::function const &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_COMMANDOUTPUTSENDER +#endif + MCAPI void sendToAdmins(class CommandOrigin const &, class CommandOutput const &, enum CommandPermissionLevel); + MCAPI static std::vector translate(std::vector const &); + +//protected: + MCAPI class Json::Value _toJson(class CommandOutput const &) const; + +protected: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/CommandParameterData.hpp b/LiteLoader/Header/MC/CommandParameterData.hpp new file mode 100644 index 0000000..c8f0bd3 --- /dev/null +++ b/LiteLoader/Header/MC/CommandParameterData.hpp @@ -0,0 +1,27 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class CommandParameterData { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_COMMANDPARAMETERDATA +public: + class CommandParameterData& operator=(class CommandParameterData const &) = delete; + CommandParameterData() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_COMMANDPARAMETERDATA +#endif + MCAPI CommandParameterData(class CommandParameterData const &); + MCAPI ~CommandParameterData(); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/CommandPosition.hpp b/LiteLoader/Header/MC/CommandPosition.hpp new file mode 100644 index 0000000..c7eb2f3 --- /dev/null +++ b/LiteLoader/Header/MC/CommandPosition.hpp @@ -0,0 +1,29 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class CommandPosition { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_COMMANDPOSITION +public: + class CommandPosition& operator=(class CommandPosition const &) = delete; + CommandPosition(class CommandPosition const &) = delete; + CommandPosition() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_COMMANDPOSITION +#endif + MCAPI class BlockPos getBlockPos(class CommandOrigin const &, class Vec3 const &) const; + MCAPI class Vec3 getPosition(class CommandOrigin const &, class Vec3 const &) const; + MCAPI class Vec3 getPosition(class Vec3 const &, class Vec3 const &) const; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/CommandPropertyBag.hpp b/LiteLoader/Header/MC/CommandPropertyBag.hpp new file mode 100644 index 0000000..36a31f2 --- /dev/null +++ b/LiteLoader/Header/MC/CommandPropertyBag.hpp @@ -0,0 +1,29 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class CommandPropertyBag { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_COMMANDPROPERTYBAG +public: + class CommandPropertyBag& operator=(class CommandPropertyBag const &) = delete; + CommandPropertyBag(class CommandPropertyBag const &) = delete; + CommandPropertyBag() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_COMMANDPROPERTYBAG +#endif + MCAPI void addToResultList(std::string const &, std::string const &); + MCAPI void set(std::string const &, class BlockPos const &); + MCAPI void set(std::string const &, class Vec3); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/CommandRegistry.hpp b/LiteLoader/Header/MC/CommandRegistry.hpp new file mode 100644 index 0000000..f50c762 --- /dev/null +++ b/LiteLoader/Header/MC/CommandRegistry.hpp @@ -0,0 +1,101 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class CommandRegistry { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_COMMANDREGISTRY +public: + class CommandRegistry& operator=(class CommandRegistry const &) = delete; + CommandRegistry(class CommandRegistry const &) = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_COMMANDREGISTRY +#endif + MCAPI CommandRegistry(); + MCAPI void addEnumValueConstraints(std::string const &, std::vector const &, enum SemanticConstraint); + MCAPI int addEnumValues(std::string const &, std::vector const &); + MCAPI int addSoftEnum(std::string const &, std::vector); + MCAPI void addSoftEnumValues(std::string const &, std::vector); + MCAPI std::vector getAliases(std::string const &) const; + MCAPI std::vector getAlphabeticalLookup(class CommandOrigin const &) const; + MCAPI std::string getCommandName(std::string const &) const; + MCAPI struct CommandSyntaxInformation getCommandOverloadSyntaxInformation(class CommandOrigin const &, std::string const &) const; + MCAPI void registerAlias(std::string, std::string); + MCAPI void registerCommand(std::string const &, char const *, enum CommandPermissionLevel, struct CommandFlag, struct CommandFlag); + MCAPI void removeSoftEnumValues(std::string const &, std::vector); + MCAPI class AvailableCommandsPacket serializeAvailableCommands() const; + MCAPI void setNetworkUpdateCallback(class std::function); + MCAPI void setScoreCallback(class std::function); + MCAPI void setSoftEnumValues(std::string const &, std::vector); + MCAPI ~CommandRegistry(); + MCAPI static char const * COMMAND_NAME_ENUM_NAME; + MCAPI static char const * FUNCTION_NAME_SOFTENUM_NAME; + MCAPI static char const * TAG_VALUES_SOFTENUM_NAME; + +//private: + MCAPI void _addEnumValueConstraintsInternal(std::vector> const &, enum SemanticConstraint); + MCAPI class CommandRegistry::Symbol _addFunctionSoftEnum(); + MCAPI class CommandRegistry::Symbol _getConstrainedParamEnumSymbol(class CommandParameterData const &) const; + MCAPI bool _matchesEnumConstraintsSet(class CommandRegistry::Symbol const &, class CommandOrigin const &, class CommandRegistry::Symbol const &, enum SemanticConstraint) const; + MCAPI class CommandRegistry::Symbol addEnumValuesInternal(std::string const &, std::vector> const &, class typeid_t, bool ( CommandRegistry::*)(void *, struct CommandRegistry::ParseToken const &, class CommandOrigin const &, int, std::string &, std::vector &) const); + MCAPI class CommandRegistry::Symbol addEnumValuesInternal(std::string const &, std::vector> const &, class typeid_t, bool ( CommandRegistry::*)(void *, struct CommandRegistry::ParseToken const &, class CommandOrigin const &, int, std::string &, std::vector &) const); + MCAPI void addEnumValuesToExisting(unsigned int, std::vector> const &); + MCAPI class CommandRegistry::Symbol addPostfix(std::string const &); + MCAPI void addRule(class CommandRegistry::Symbol, std::vector &&, class std::function, class CommandVersion); + MCAPI void addSemanticConstraint(enum SemanticConstraint); + MCAPI class CommandRegistry::Symbol addSoftTerminal(std::string const &); + MCAPI void buildFirstSet(struct CommandRegistry::ParseTable &, class CommandRegistry::Symbol, unsigned int) const; + MCAPI void buildFollowSet(struct CommandRegistry::ParseTable &, class CommandRegistry::Symbol, unsigned int, class std::set, class std::allocator> &) const; + MCAPI class CommandRegistry::Symbol buildOptionalRuleChain(struct CommandRegistry::Signature const &, std::vector const &, std::vector const &); + MCAPI class CommandRegistry::Symbol buildOptionalRuleChain(struct CommandRegistry::Signature const &, std::vector const &, class CommandParameterData const *, unsigned __int64); + MCAPI void buildParseTable(unsigned int) const; + MCAPI class CommandRegistry::Symbol buildRules(struct CommandRegistry::Signature &, std::vector const &, unsigned __int64); + MCAPI bool checkOriginCommandFlags(class CommandOrigin const &, struct CommandFlag, enum CommandPermissionLevel) const; + MCAPI std::unique_ptr createCommand(struct CommandRegistry::ParseToken const &, class CommandOrigin const &, int, std::string &, std::vector &) const; + MCAPI std::string describe(class CommandRegistry::Symbol) const; + MCAPI std::string describe(class CommandParameterData const &) const; + MCAPI std::string describe(struct CommandRegistry::Signature const &, std::string const &, struct CommandRegistry::Overload const &, unsigned int, unsigned int *, unsigned int *) const; + MCAPI struct CommandRegistry::Signature * findCommand(std::string const &); + MCAPI struct CommandRegistry::Signature const * findCommand(std::string const &) const; + MCAPI class CommandRegistry::Symbol findEnum(std::string const &) const; + MCAPI class CommandRegistry::Symbol findEnumValue(std::string const &) const; + MCAPI class CommandRegistry::Symbol findIdentifierInfo(std::string const &) const; + MCAPI class CommandRegistry::Symbol findPostfix(std::string const &) const; + MCAPI class CommandRegistry::Symbol findSoftEnum(std::string const &) const; + MCAPI std::vector first(struct CommandRegistry::ParseTable &, std::vector const &) const; + MCAPI void forEachNonTerminal(class std::function) const; + MCAPI unsigned __int64 getEnumData(struct CommandRegistry::ParseToken const &) const; + MCAPI struct InvertableFilter getInvertableFilter(struct CommandRegistry::ParseToken const &) const; + MCAPI bool isValid(class CommandRegistry::Symbol) const; + MCAPI bool originCanRun(class CommandOrigin const &, struct CommandRegistry::Signature const &) const; + MCAPI bool originCanRunOverloadWithParam(class CommandOrigin const &, class CommandParameterData const &) const; + MCAPI bool parseOperator(enum CommandOperator *, struct CommandRegistry::ParseToken const &, std::string &, std::vector &) const; + MCAPI bool parseSelector(class CommandSelectorBase *, struct CommandRegistry::ParseToken const &, class CommandOrigin const &, int, std::string &, std::vector &, bool) const; + MCAPI void registerOverloadInternal(struct CommandRegistry::Signature &, struct CommandRegistry::Overload &); + MCAPI void setupOverloadRules(struct CommandRegistry::Signature &, struct CommandRegistry::Overload &); + MCAPI std::string symbolToString(class CommandRegistry::Symbol) const; + MCAPI static std::string _removeStringQuotes(std::string const &); + MCAPI static struct CommandRegistry::ParseToken * collapse(struct CommandRegistry::ParseToken &, class CommandRegistry::Symbol); + MCAPI static struct CommandRegistry::ParseToken * collapseOn(struct CommandRegistry::ParseToken &, class CommandRegistry::Symbol, class CommandRegistry::Symbol); + MCAPI static struct CommandRegistry::ParseToken * expand(struct CommandRegistry::ParseToken &, class CommandRegistry::Symbol); + MCAPI static struct CommandRegistry::ParseToken * expandExcept(struct CommandRegistry::ParseToken &, class CommandRegistry::Symbol, class CommandRegistry::Symbol); + MCAPI static struct CommandRegistry::ParseToken * fold(struct CommandRegistry::ParseToken &, class CommandRegistry::Symbol, class CommandRegistry::Symbol); + MCAPI static struct CommandRegistry::ParseToken * kill(struct CommandRegistry::ParseToken &, class CommandRegistry::Symbol); + MCAPI static bool readFloat(float &, struct CommandRegistry::ParseToken const &, std::string &, std::vector &); + MCAPI static bool readInt(int &, struct CommandRegistry::ParseToken const &, std::string &, std::vector &); + MCAPI static bool readRelativeCoordinate(bool &, float &, struct CommandRegistry::ParseToken const &, bool, std::string &, std::vector &); + +private: + MCAPI static struct std::pair &) const, class CommandRegistry::Symbol> const ParseRuleSymbols[]; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/CommandRequestPacket.hpp b/LiteLoader/Header/MC/CommandRequestPacket.hpp new file mode 100644 index 0000000..760ccbf --- /dev/null +++ b/LiteLoader/Header/MC/CommandRequestPacket.hpp @@ -0,0 +1,33 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Packet.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class CommandRequestPacket : public Packet { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_COMMANDREQUESTPACKET +public: + class CommandRequestPacket& operator=(class CommandRequestPacket const &) = delete; + CommandRequestPacket(class CommandRequestPacket const &) = delete; + CommandRequestPacket() = delete; +#endif + +public: + /*0*/ virtual ~CommandRequestPacket(); + /*1*/ virtual enum MinecraftPacketIds getId() const; + /*2*/ virtual std::string getName() const; + /*3*/ virtual void write(class BinaryStream &) const; + /*4*/ virtual enum StreamReadResult read(class ReadOnlyBinaryStream &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_COMMANDREQUESTPACKET +#endif + MCAPI std::unique_ptr createCommandContext(class NetworkIdentifier const &, class Level &, int) const; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/CommandSelectorBase.hpp b/LiteLoader/Header/MC/CommandSelectorBase.hpp new file mode 100644 index 0000000..d6fed8d --- /dev/null +++ b/LiteLoader/Header/MC/CommandSelectorBase.hpp @@ -0,0 +1,48 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class CommandSelectorBase { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_COMMANDSELECTORBASE +public: + class CommandSelectorBase& operator=(class CommandSelectorBase const &) = delete; + CommandSelectorBase(class CommandSelectorBase const &) = delete; + CommandSelectorBase() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_COMMANDSELECTORBASE +#endif + MCAPI void addFilter(class std::function); + MCAPI void addTypeFilter(struct InvertableFilter const &); + MCAPI bool compile(class CommandOrigin const &, std::string &); + MCAPI void setBox(class BlockPos); + MCAPI void setPosition(class CommandPosition const &); + MCAPI void setRadiusMax(float); + MCAPI void setRadiusMin(float); + MCAPI ~CommandSelectorBase(); + +//protected: + MCAPI CommandSelectorBase(bool); + MCAPI class std::shared_ptr> newResults(class CommandOrigin const &) const; + +//private: + MCAPI bool filter(class CommandOrigin const &, class Actor &, float) const; + MCAPI bool matchName(class Actor const &) const; + MCAPI bool matchTag(class Actor const &) const; + MCAPI bool matchType(class Actor const &) const; + +protected: + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/CommandSoftEnumRegistry.hpp b/LiteLoader/Header/MC/CommandSoftEnumRegistry.hpp new file mode 100644 index 0000000..5659734 --- /dev/null +++ b/LiteLoader/Header/MC/CommandSoftEnumRegistry.hpp @@ -0,0 +1,27 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class CommandSoftEnumRegistry { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_COMMANDSOFTENUMREGISTRY +public: + class CommandSoftEnumRegistry& operator=(class CommandSoftEnumRegistry const &) = delete; + CommandSoftEnumRegistry(class CommandSoftEnumRegistry const &) = delete; + CommandSoftEnumRegistry() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_COMMANDSOFTENUMREGISTRY +#endif + MCAPI void updateSoftEnum(enum SoftEnumUpdateType, std::string const &, std::vector); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/CommandSyntaxInformation.hpp b/LiteLoader/Header/MC/CommandSyntaxInformation.hpp new file mode 100644 index 0000000..f20cce1 --- /dev/null +++ b/LiteLoader/Header/MC/CommandSyntaxInformation.hpp @@ -0,0 +1,26 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +struct CommandSyntaxInformation { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_COMMANDSYNTAXINFORMATION +public: + struct CommandSyntaxInformation& operator=(struct CommandSyntaxInformation const &) = delete; + CommandSyntaxInformation(struct CommandSyntaxInformation const &) = delete; + CommandSyntaxInformation() = delete; +#endif +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_COMMANDSYNTAXINFORMATION +#endif + MCAPI ~CommandSyntaxInformation(); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/CommandUtils.hpp b/LiteLoader/Header/MC/CommandUtils.hpp new file mode 100644 index 0000000..f944bde --- /dev/null +++ b/LiteLoader/Header/MC/CommandUtils.hpp @@ -0,0 +1,31 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Json.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +namespace CommandUtils { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA + MCAPI extern std::vector> const CMD_INPUT_UNICODE_TRANSLATE_MAP; + MCAPI bool addItemInstanceComponents(class ItemInstance &, class Json::Value const &, std::string &); + MCAPI void alterSpawnableEntities(class LevelData &, struct ActorDefinitionIdentifier const &, struct ActorDefinitionIdentifier &); + MCAPI void clearBlockEntityContents(class BlockSource &, class BlockPos const &); + MCAPI class ItemStack createItemStack(std::string const &, int, int); + MCAPI std::vector createItemStacks(class ItemInstance const &, int, int &); + MCAPI bool createMapData(class Actor &, class ItemInstance &, class CommandOutput &); + MCAPI void displayLocalizableMessage(bool, class Player &, std::string const &, std::vector const &); + MCAPI class BlockPos getFeetBlockPos(class Actor const *); + MCAPI class Vec3 getFeetPos(class Actor const *); + MCAPI std::vector getInvalidCommandEntities(); + MCAPI class Player const * getOriginPlayer(class CommandOrigin const &); + MCAPI bool isPlayerSpawnedMob(class Actor *, class Actor *); + MCAPI std::string toJsonResult(std::string const &, class Json::Value const &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/CommandVersion.hpp b/LiteLoader/Header/MC/CommandVersion.hpp new file mode 100644 index 0000000..93f6d9a --- /dev/null +++ b/LiteLoader/Header/MC/CommandVersion.hpp @@ -0,0 +1,29 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class CommandVersion { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_COMMANDVERSION +public: + class CommandVersion& operator=(class CommandVersion const &) = delete; + CommandVersion(class CommandVersion const &) = delete; + CommandVersion() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_COMMANDVERSION +#endif + MCAPI CommandVersion(int, int); + MCAPI static int const CurrentVersion; + MCAPI static enum CurrentCmdVersion const getVersionMapping(class SemVersion const &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/Common.hpp b/LiteLoader/Header/MC/Common.hpp new file mode 100644 index 0000000..a7d7b92 --- /dev/null +++ b/LiteLoader/Header/MC/Common.hpp @@ -0,0 +1,20 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +namespace Common { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA + MCAPI std::string getGameSemVerString(); + MCAPI std::string getGameVersionString(); + MCAPI std::string getGameVersionStringNet(); + MCAPI std::string getServerVersionString(); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/CompactionListenerEnv.hpp b/LiteLoader/Header/MC/CompactionListenerEnv.hpp new file mode 100644 index 0000000..9a34489 --- /dev/null +++ b/LiteLoader/Header/MC/CompactionListenerEnv.hpp @@ -0,0 +1,33 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "TransactionalWorldBlockTarget.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class CompactionListenerEnv : public TransactionalWorldBlockTarget { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_COMPACTIONLISTENERENV +public: + class CompactionListenerEnv& operator=(class CompactionListenerEnv const &) = delete; + CompactionListenerEnv(class CompactionListenerEnv const &) = delete; + CompactionListenerEnv() = delete; +#endif + +public: + /*0*/ virtual ~CompactionListenerEnv(); + /*10*/ virtual void __unk_vfn_10(); + /*11*/ virtual void __unk_vfn_11(); + /*12*/ virtual void __unk_vfn_12(); + /*13*/ virtual void __unk_vfn_13(); + /*14*/ virtual void Schedule(void ( *)(void *), void *); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_COMPACTIONLISTENERENV +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ComparatorBlock.hpp b/LiteLoader/Header/MC/ComparatorBlock.hpp new file mode 100644 index 0000000..169612a --- /dev/null +++ b/LiteLoader/Header/MC/ComparatorBlock.hpp @@ -0,0 +1,205 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "ActorBlock.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ComparatorBlock : public ActorBlock { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_COMPARATORBLOCK +public: + class ComparatorBlock& operator=(class ComparatorBlock const &) = delete; + ComparatorBlock(class ComparatorBlock const &) = delete; + ComparatorBlock() = delete; +#endif + +public: + /*0*/ virtual ~ComparatorBlock(); + /*1*/ virtual void tick(class BlockSource &, class BlockPos const &, class Random &) const; + /*2*/ virtual class Block const & getStateFromLegacyData(unsigned short) const; + /*3*/ virtual class std::shared_ptr newBlockEntity(class BlockPos const &, class Block const &) const; + /*4*/ virtual class Block const * getNextBlockPermutation(class Block const &) const; + /*5*/ virtual bool getCollisionShape(class AABB &, class Block const &, class BlockSource &, class BlockPos const &, class Actor *) const; + /*6*/ virtual bool isObstructingChests(class BlockSource &, class BlockPos const &) const; + /*7*/ virtual void __unk_vfn_7(); + /*8*/ virtual class Vec3 randomlyModifyPosition(class BlockPos const &, int &) const; + /*9*/ virtual void addAABBs(class Block const &, class BlockSource &, class BlockPos const &, class AABB const *, std::vector &) const; + /*10*/ virtual class AABB const & getAABB(class BlockSource &, class BlockPos const &, class Block const &, class AABB &, bool) const; + /*11*/ virtual bool addCollisionShapes(class Block const &, class BlockSource &, class BlockPos const &, class AABB const *, std::vector &, class Actor *) const; + /*12*/ virtual class AABB const & getOutline(class BlockSource &, class BlockPos const &, class AABB &) const; + /*13*/ virtual bool getLiquidClipVolume(class BlockSource &, class BlockPos const &, class AABB &) const; + /*14*/ virtual void __unk_vfn_14(); + /*15*/ virtual void __unk_vfn_15(); + /*16*/ virtual struct Brightness getLightEmission(class Block const &) const; + /*17*/ virtual bool shouldRandomTick() const; + /*18*/ virtual void __unk_vfn_18(); + /*19*/ virtual void __unk_vfn_19(); + /*20*/ virtual void __unk_vfn_20(); + /*21*/ virtual bool canProvideSupport(class Block const &, unsigned char, enum BlockSupportType) const; + /*22*/ virtual bool canConnect(class Block const &, unsigned char, class Block const &) const; + /*23*/ virtual void getConnectedDirections(class Block const &, class BlockPos const &, class BlockSource &, bool &, bool &, bool &, bool &) const; + /*24*/ virtual void __unk_vfn_24(); + /*25*/ virtual void __unk_vfn_25(); + /*26*/ virtual void __unk_vfn_26(); + /*27*/ virtual void __unk_vfn_27(); + /*28*/ virtual void __unk_vfn_28(); + /*29*/ virtual bool isWaterBlocking() const; + /*30*/ virtual void __unk_vfn_30(); + /*31*/ virtual void __unk_vfn_31(); + /*32*/ virtual void __unk_vfn_32(); + /*33*/ virtual void __unk_vfn_33(); + /*34*/ virtual void __unk_vfn_34(); + /*35*/ virtual void __unk_vfn_35(); + /*36*/ virtual void __unk_vfn_36(); + /*37*/ virtual void __unk_vfn_37(); + /*38*/ virtual void __unk_vfn_38(); + /*39*/ virtual void __unk_vfn_39(); + /*40*/ virtual void __unk_vfn_40(); + /*41*/ virtual bool canHurtAndBreakItem() const; + /*42*/ virtual void __unk_vfn_42(); + /*43*/ virtual void __unk_vfn_43(); + /*44*/ virtual void __unk_vfn_44(); + /*45*/ virtual void __unk_vfn_45(); + /*46*/ virtual class Block const & sanitizeFillBlock(class BlockSource &, class BlockPos const &, class Block const &) const; + /*47*/ virtual void __unk_vfn_47(); + /*48*/ virtual int getDirectSignal(class BlockSource &, class BlockPos const &, int) const; + /*49*/ virtual void __unk_vfn_49(); + /*50*/ virtual bool canContainLiquid() const; + /*51*/ virtual void __unk_vfn_51(); + /*52*/ virtual void __unk_vfn_52(); + /*53*/ virtual bool canBeUsedInCommands(bool, class BaseGameVersion const &) const; + /*54*/ virtual float getThickness() const; + /*55*/ virtual void __unk_vfn_55(); + /*56*/ virtual bool checkIsPathable(class Actor &, class BlockPos const &, class BlockPos const &) const; + /*57*/ virtual void __unk_vfn_57(); + /*58*/ virtual void __unk_vfn_58(); + /*59*/ virtual void onPlace(class BlockSource &, class BlockPos const &) const; + /*60*/ virtual void __unk_vfn_60(); + /*61*/ virtual void __unk_vfn_61(); + /*62*/ virtual void __unk_vfn_62(); + /*63*/ virtual void onFallOn(class BlockSource &, class BlockPos const &, class Actor &, float) const; + /*64*/ virtual void __unk_vfn_64(); + /*65*/ virtual void onRedstoneUpdate(class BlockSource &, class BlockPos const &, int, bool) const; + /*66*/ virtual void __unk_vfn_66(); + /*67*/ virtual void __unk_vfn_67(); + /*68*/ virtual void __unk_vfn_68(); + /*69*/ virtual void __unk_vfn_69(); + /*70*/ virtual void setupRedstoneComponent(class BlockSource &, class BlockPos const &) const; + /*71*/ virtual enum BlockProperty getRedstoneProperty(class BlockSource &, class BlockPos const &) const; + /*72*/ virtual void updateEntityAfterFallOn(class BlockSource &, class BlockPos const &, class Actor &) const; + /*73*/ virtual void __unk_vfn_73(); + /*74*/ virtual void __unk_vfn_74(); + /*75*/ virtual void __unk_vfn_75(); + /*76*/ virtual void __unk_vfn_76(); + /*77*/ virtual void __unk_vfn_77(); + /*78*/ virtual bool mayPick(class BlockSource &, class Block const &, bool) const; + /*79*/ virtual void __unk_vfn_79(); + /*80*/ virtual bool mayPlace(class BlockSource &, class BlockPos const &) const; + /*81*/ virtual void __unk_vfn_81(); + /*82*/ virtual void __unk_vfn_82(); + /*83*/ virtual bool tryToPlace(class BlockSource &, class BlockPos const &, class Block const &, struct ActorBlockSyncMessage const *) const; + /*84*/ virtual bool breaksFallingBlocks(class Block const &) const; + /*85*/ virtual void __unk_vfn_85(); + /*86*/ virtual bool playerWillDestroy(class Player &, class BlockPos const &, class Block const &) const; + /*87*/ virtual void __unk_vfn_87(); + /*88*/ virtual void neighborChanged(class BlockSource &, class BlockPos const &, class BlockPos const &) const; + /*89*/ virtual void __unk_vfn_89(); + /*90*/ virtual void __unk_vfn_90(); + /*91*/ virtual void __unk_vfn_91(); + /*92*/ virtual void __unk_vfn_92(); + /*93*/ virtual void spawnResources(class BlockSource &, class BlockPos const &, class Block const &, std::vector *, float, int, bool) const; + /*94*/ virtual void trySpawnResourcesOnExplosion(class BlockSource &, class BlockPos const &, class Block const &, std::vector *, float, int, bool) const; + /*95*/ virtual void __unk_vfn_95(); + /*96*/ virtual void __unk_vfn_96(); + /*97*/ virtual class HitResult clip(class BlockSource &, class BlockPos const &, class Vec3 const &, class Vec3 const &, bool) const; + /*98*/ virtual bool use(class Player &, class BlockPos const &) const; + /*99*/ virtual class Block const & getPlacementBlock(class Actor &, class BlockPos const &, unsigned char, class Vec3 const &, int) const; + /*100*/ virtual int calcVariant(class BlockSource &, class BlockPos const &) const; + /*101*/ virtual void __unk_vfn_101(); + /*102*/ virtual void __unk_vfn_102(); + /*103*/ virtual void __unk_vfn_103(); + /*104*/ virtual void __unk_vfn_104(); + /*105*/ virtual void playerDestroy(class Player &, class BlockPos const &, class Block const &) const; + /*106*/ virtual bool canSurvive(class BlockSource &, class BlockPos const &) const; + /*107*/ virtual void __unk_vfn_107(); + /*108*/ virtual bool canBeBuiltOver(class BlockSource &, class BlockPos const &) const; + /*109*/ virtual void triggerEvent(class BlockSource &, class BlockPos const &, int, int) const; + /*110*/ virtual void __unk_vfn_110(); + /*111*/ virtual void __unk_vfn_111(); + /*112*/ virtual class MobSpawnerData const * getMobToSpawn(class SpawnConditions const &, class BlockSource &) const; + /*113*/ virtual void __unk_vfn_113(); + /*114*/ virtual void __unk_vfn_114(); + /*115*/ virtual bool shouldStopFalling(class Actor &) const; + /*116*/ virtual void __unk_vfn_116(); + /*117*/ virtual float calcGroundFriction(class Mob &, class BlockPos const &) const; + /*118*/ virtual void __unk_vfn_118(); + /*119*/ virtual void __unk_vfn_119(); + /*120*/ virtual void __unk_vfn_120(); + /*121*/ virtual bool canSlide(class BlockSource &, class BlockPos const &) const; + /*122*/ virtual void __unk_vfn_122(); + /*123*/ virtual void __unk_vfn_123(); + /*124*/ virtual void __unk_vfn_124(); + /*125*/ virtual void __unk_vfn_125(); + /*126*/ virtual void __unk_vfn_126(); + /*127*/ virtual void __unk_vfn_127(); + /*128*/ virtual void __unk_vfn_128(); + /*129*/ virtual void __unk_vfn_129(); + /*130*/ virtual void __unk_vfn_130(); + /*131*/ virtual void __unk_vfn_131(); + /*132*/ virtual int getColorForParticle(class BlockSource &, class BlockPos const &, class Block const &) const; + /*133*/ virtual void __unk_vfn_133(); + /*134*/ virtual void onGraphicsModeChanged(bool, bool, bool); + /*135*/ virtual void __unk_vfn_135(); + /*136*/ virtual float getShadeBrightness() const; + /*137*/ virtual class AABB const & getVisualShapeInWorld(class Block const &, class BlockSource &, class BlockPos const &, class AABB &, bool) const; + /*138*/ virtual class AABB const & getVisualShape(class Block const &, class AABB &, bool) const; + /*139*/ virtual class AABB const & getUIShape(class Block const &, class AABB &) const; + /*140*/ virtual int telemetryVariant(class BlockSource &, class BlockPos const &) const; + /*141*/ virtual int getVariant(class Block const &) const; + /*142*/ virtual void __unk_vfn_142(); + /*143*/ virtual class Block const & getRenderBlock() const; + /*144*/ virtual void __unk_vfn_144(); + /*145*/ virtual void __unk_vfn_145(); + /*146*/ virtual void __unk_vfn_146(); + /*147*/ virtual class BlockLegacy & init(); + /*148*/ virtual class BlockLegacy & setLightBlock(struct Brightness); + /*149*/ virtual class BlockLegacy & setLightEmission(float); + /*150*/ virtual class BlockLegacy & setExplodeable(float); + /*151*/ virtual class BlockLegacy & setDestroyTime(float); + /*152*/ virtual class BlockLegacy & setFriction(float); + /*153*/ virtual class BlockLegacy & addProperty(enum BlockProperty); + /*154*/ virtual class BlockLegacy & addState(class ItemState const &); + /*155*/ virtual class BlockLegacy & addState(class ItemState const &, unsigned __int64); + /*156*/ virtual class BlockLegacy & setAllowsRunes(bool); + /*157*/ virtual class BlockLegacy & setMapColor(class Color const &); + /*158*/ virtual void __unk_vfn_158(); + /*159*/ virtual void __unk_vfn_159(); + /*160*/ virtual void setVisualShape(class AABB const &); + /*161*/ virtual void setVisualShape(class Vec3 const &, class Vec3 const &); + /*162*/ virtual void __unk_vfn_162(); + /*163*/ virtual void __unk_vfn_163(); + /*164*/ virtual class ItemInstance getEntityResourceItem(class Random &, class BlockActor const &, int) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_COMPARATORBLOCK + MCVAPI class ItemInstance asItemInstance(class BlockSource &, class BlockPos const &, class Block const &) const; + MCVAPI bool canSpawnOn() const; + MCVAPI class ItemInstance getResourceItem(class Random &, class Block const &, int) const; + MCVAPI bool isInteractiveBlock() const; + MCVAPI bool isSignalSource() const; + MCVAPI bool shouldConnectToRedstone(class BlockSource &, class BlockPos const &, int) const; +#endif + MCAPI ComparatorBlock(std::string const &, int, bool); + +//private: + MCAPI void _installCircuit(class BlockSource &, class BlockPos const &, bool) const; + MCAPI void _refreshOutputState(class BlockSource &, class BlockPos const &, int) const; + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ComparatorBlockActor.hpp b/LiteLoader/Header/MC/ComparatorBlockActor.hpp new file mode 100644 index 0000000..92c2a36 --- /dev/null +++ b/LiteLoader/Header/MC/ComparatorBlockActor.hpp @@ -0,0 +1,39 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "BlockActor.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ComparatorBlockActor : public BlockActor { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_COMPARATORBLOCKACTOR +public: + class ComparatorBlockActor& operator=(class ComparatorBlockActor const &) = delete; + ComparatorBlockActor(class ComparatorBlockActor const &) = delete; + ComparatorBlockActor() = delete; +#endif + +public: + /*0*/ virtual ~ComparatorBlockActor(); + /*1*/ virtual void load(class Level &, class CompoundTag const &, class DataLoadHelper &); + /*2*/ virtual bool save(class CompoundTag &) const; + /*7*/ virtual void tick(class BlockSource &); + /*13*/ virtual void __unk_vfn_13(); + /*17*/ virtual void __unk_vfn_17(); + /*29*/ virtual void __unk_vfn_29(); + /*30*/ virtual void __unk_vfn_30(); + /*32*/ virtual void __unk_vfn_32(); + /*33*/ virtual void __unk_vfn_33(); + /*37*/ virtual int getOutputSignal(); + /*38*/ virtual void setOutputSignal(int); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_COMPARATORBLOCKACTOR +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ComparatorCapacitor.hpp b/LiteLoader/Header/MC/ComparatorCapacitor.hpp new file mode 100644 index 0000000..9a9ea73 --- /dev/null +++ b/LiteLoader/Header/MC/ComparatorCapacitor.hpp @@ -0,0 +1,41 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "ProducerComponent.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ComparatorCapacitor : public ProducerComponent { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_COMPARATORCAPACITOR +public: + class ComparatorCapacitor& operator=(class ComparatorCapacitor const &) = delete; + ComparatorCapacitor(class ComparatorCapacitor const &) = delete; + ComparatorCapacitor() = delete; +#endif + +public: + /*0*/ virtual ~ComparatorCapacitor(); + /*5*/ virtual void __unk_vfn_5(); + /*6*/ virtual bool canConsumerPower(); + /*10*/ virtual unsigned __int64 getInstanceType() const; + /*11*/ virtual bool removeSource(class BlockPos const &, class BaseCircuitComponent const *); + /*12*/ virtual bool addSource(class CircuitSceneGraph &, class CircuitTrackingInfo const &, int &, bool &); + /*13*/ virtual bool allowConnection(class CircuitSceneGraph &, class CircuitTrackingInfo const &, bool &); + /*15*/ virtual bool evaluate(class CircuitSystem &, class BlockPos const &); + /*16*/ virtual void cacheValues(class CircuitSystem &, class BlockPos const &); + /*17*/ virtual void updateDependencies(class CircuitSceneGraph &, class BlockPos const &); + /*18*/ virtual void __unk_vfn_18(); + /*21*/ virtual void __unk_vfn_21(); + /*23*/ virtual unsigned char getPoweroutDirection() const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_COMPARATORCAPACITOR + MCVAPI bool consumePowerAnyDirection(); +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/CompassItem.hpp b/LiteLoader/Header/MC/CompassItem.hpp new file mode 100644 index 0000000..daa4498 --- /dev/null +++ b/LiteLoader/Header/MC/CompassItem.hpp @@ -0,0 +1,48 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Item.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class CompassItem : public Item { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_COMPASSITEM +public: + class CompassItem& operator=(class CompassItem const &) = delete; + CompassItem(class CompassItem const &) = delete; + CompassItem() = delete; +#endif + +public: + /*0*/ virtual ~CompassItem(); + /*5*/ virtual void __unk_vfn_5(); + /*26*/ virtual void __unk_vfn_26(); + /*27*/ virtual void __unk_vfn_27(); + /*31*/ virtual void __unk_vfn_31(); + /*32*/ virtual void __unk_vfn_32(); + /*34*/ virtual void __unk_vfn_34(); + /*37*/ virtual void __unk_vfn_37(); + /*40*/ virtual int getEnchantSlot() const; + /*43*/ virtual void __unk_vfn_43(); + /*46*/ virtual void __unk_vfn_46(); + /*47*/ virtual void __unk_vfn_47(); + /*49*/ virtual void __unk_vfn_49(); + /*50*/ virtual void __unk_vfn_50(); + /*79*/ virtual void __unk_vfn_79(); + /*80*/ virtual void __unk_vfn_80(); + /*83*/ virtual int getAnimationFrameFor(class Mob *, bool, class ItemStack const *, bool) const; + /*85*/ virtual struct TextureUVCoordinateSet const & getIcon(class ItemStackBase const &, int, bool) const; + /*90*/ virtual void __unk_vfn_90(); + /*97*/ virtual void __unk_vfn_97(); + /*99*/ virtual bool _useOn(class ItemStack &, class Actor &, class BlockPos, unsigned char, float, float, float) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_COMPASSITEM +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/CompassSpriteCalculator.hpp b/LiteLoader/Header/MC/CompassSpriteCalculator.hpp new file mode 100644 index 0000000..4566612 --- /dev/null +++ b/LiteLoader/Header/MC/CompassSpriteCalculator.hpp @@ -0,0 +1,28 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class CompassSpriteCalculator { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_COMPASSSPRITECALCULATOR +public: + class CompassSpriteCalculator& operator=(class CompassSpriteCalculator const &) = delete; + CompassSpriteCalculator(class CompassSpriteCalculator const &) = delete; + CompassSpriteCalculator() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_COMPASSSPRITECALCULATOR +#endif + MCAPI int updateFromPosition(class BlockSource const *, float, float, float, bool, bool); + MCAPI int updateFromPosition(class BlockSource const *, class BlockPos const &, float, float, float, bool, bool, bool, bool); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/CompletedUsingItemPacket.hpp b/LiteLoader/Header/MC/CompletedUsingItemPacket.hpp new file mode 100644 index 0000000..56ff48a --- /dev/null +++ b/LiteLoader/Header/MC/CompletedUsingItemPacket.hpp @@ -0,0 +1,32 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Packet.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class CompletedUsingItemPacket : public Packet { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_COMPLETEDUSINGITEMPACKET +public: + class CompletedUsingItemPacket& operator=(class CompletedUsingItemPacket const &) = delete; + CompletedUsingItemPacket(class CompletedUsingItemPacket const &) = delete; + CompletedUsingItemPacket() = delete; +#endif + +public: + /*0*/ virtual ~CompletedUsingItemPacket(); + /*1*/ virtual enum MinecraftPacketIds getId() const; + /*2*/ virtual std::string getName() const; + /*3*/ virtual void write(class BinaryStream &) const; + /*4*/ virtual enum StreamReadResult read(class ReadOnlyBinaryStream &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_COMPLETEDUSINGITEMPACKET +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ComplexInventoryTransaction.hpp b/LiteLoader/Header/MC/ComplexInventoryTransaction.hpp new file mode 100644 index 0000000..db7af03 --- /dev/null +++ b/LiteLoader/Header/MC/ComplexInventoryTransaction.hpp @@ -0,0 +1,34 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ComplexInventoryTransaction { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_COMPLEXINVENTORYTRANSACTION +public: + class ComplexInventoryTransaction& operator=(class ComplexInventoryTransaction const &) = delete; + ComplexInventoryTransaction(class ComplexInventoryTransaction const &) = delete; + ComplexInventoryTransaction() = delete; +#endif + +public: + /*0*/ virtual ~ComplexInventoryTransaction(); + /*1*/ virtual void __unk_vfn_1(); + /*2*/ virtual void __unk_vfn_2(); + /*3*/ virtual enum InventoryTransactionError handle(class Player &, bool) const; + /*4*/ virtual void onTransactionError(class Player &, enum InventoryTransactionError) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_COMPLEXINVENTORYTRANSACTION + MCVAPI void read(class ReadOnlyBinaryStream &); + MCVAPI void write(class BinaryStream &) const; +#endif + MCAPI static std::unique_ptr fromType(enum ComplexInventoryTransaction::Type, class InventoryTransaction const &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ComplexItem.hpp b/LiteLoader/Header/MC/ComplexItem.hpp new file mode 100644 index 0000000..1f1010d --- /dev/null +++ b/LiteLoader/Header/MC/ComplexItem.hpp @@ -0,0 +1,46 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Item.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ComplexItem : public Item { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_COMPLEXITEM +public: + class ComplexItem& operator=(class ComplexItem const &) = delete; + ComplexItem(class ComplexItem const &) = delete; + ComplexItem() = delete; +#endif + +public: + /*0*/ virtual ~ComplexItem(); + /*5*/ virtual void __unk_vfn_5(); + /*26*/ virtual void __unk_vfn_26(); + /*27*/ virtual void __unk_vfn_27(); + /*31*/ virtual void __unk_vfn_31(); + /*32*/ virtual void __unk_vfn_32(); + /*34*/ virtual void __unk_vfn_34(); + /*37*/ virtual void __unk_vfn_37(); + /*43*/ virtual void __unk_vfn_43(); + /*46*/ virtual void __unk_vfn_46(); + /*47*/ virtual void __unk_vfn_47(); + /*49*/ virtual void __unk_vfn_49(); + /*50*/ virtual void __unk_vfn_50(); + /*79*/ virtual void __unk_vfn_79(); + /*80*/ virtual void __unk_vfn_80(); + /*90*/ virtual void __unk_vfn_90(); + /*97*/ virtual void __unk_vfn_97(); + /*100*/ virtual std::unique_ptr getUpdatePacket(class ItemStack const &, class Level &, class Actor &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_COMPLEXITEM + MCVAPI bool isComplex() const; +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ComponentDescription.hpp b/LiteLoader/Header/MC/ComponentDescription.hpp new file mode 100644 index 0000000..31b718e --- /dev/null +++ b/LiteLoader/Header/MC/ComponentDescription.hpp @@ -0,0 +1,26 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +struct ComponentDescription { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_COMPONENTDESCRIPTION +public: + struct ComponentDescription& operator=(struct ComponentDescription const &) = delete; + ComponentDescription(struct ComponentDescription const &) = delete; + ComponentDescription() = delete; +#endif +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_COMPONENTDESCRIPTION + MCVAPI ~ComponentDescription(); +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/CompositeDefinition.hpp b/LiteLoader/Header/MC/CompositeDefinition.hpp new file mode 100644 index 0000000..0b8e7fc --- /dev/null +++ b/LiteLoader/Header/MC/CompositeDefinition.hpp @@ -0,0 +1,33 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Json.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class CompositeDefinition { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_COMPOSITEDEFINITION +public: + class CompositeDefinition& operator=(class CompositeDefinition const &) = delete; + CompositeDefinition(class CompositeDefinition const &) = delete; + CompositeDefinition() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_COMPOSITEDEFINITION + MCVAPI ~CompositeDefinition(); +#endif + +//protected: + MCAPI static void _compositeLoadChildrenBehaviors(class Json::Value, std::vector> &, class BehaviorFactory const &, class BehaviorTreeDefinitionPtr); + +protected: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/CompositePackSource.hpp b/LiteLoader/Header/MC/CompositePackSource.hpp new file mode 100644 index 0000000..a1a86b3 --- /dev/null +++ b/LiteLoader/Header/MC/CompositePackSource.hpp @@ -0,0 +1,33 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class CompositePackSource { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_COMPOSITEPACKSOURCE +public: + class CompositePackSource& operator=(class CompositePackSource const &) = delete; + CompositePackSource(class CompositePackSource const &) = delete; + CompositePackSource() = delete; +#endif + +public: + /*0*/ virtual ~CompositePackSource(); + /*1*/ virtual void forEachPackConst(class std::function) const; + /*2*/ virtual void forEachPack(class std::function); + /*3*/ virtual void __unk_vfn_3(); + /*4*/ virtual void __unk_vfn_4(); + /*5*/ virtual class PackSourceReport load(class PackManifestFactory &, class IContentKeyProvider const &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_COMPOSITEPACKSOURCE +#endif + MCAPI void addPackSource(class PackSource *); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ComposterBlock.hpp b/LiteLoader/Header/MC/ComposterBlock.hpp new file mode 100644 index 0000000..0a19298 --- /dev/null +++ b/LiteLoader/Header/MC/ComposterBlock.hpp @@ -0,0 +1,87 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "MinecraftEventing.hpp" +#include "BlockLegacy.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ComposterBlock : public BlockLegacy { + +#define AFTER_EXTRA +// Add Member There +public: + +inline void emitBoneMeal(class Level& a1, class BlockSource& a2, class BlockPos const& a3) { + return _emitBoneMeal(a1,a2,a3); +} + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_COMPOSTERBLOCK +public: + class ComposterBlock& operator=(class ComposterBlock const &) = delete; + ComposterBlock(class ComposterBlock const &) = delete; + ComposterBlock() = delete; +#endif + +public: + /*0*/ virtual ~ComposterBlock(); + /*1*/ virtual void tick(class BlockSource &, class BlockPos const &, class Random &) const; + /*9*/ virtual void addAABBs(class Block const &, class BlockSource &, class BlockPos const &, class AABB const *, std::vector &) const; + /*11*/ virtual bool addCollisionShapes(class Block const &, class BlockSource &, class BlockPos const &, class AABB const *, std::vector &, class Actor *) const; + /*18*/ virtual void __unk_vfn_18(); + /*21*/ virtual bool canProvideSupport(class Block const &, unsigned char, enum BlockSupportType) const; + /*24*/ virtual void __unk_vfn_24(); + /*25*/ virtual void __unk_vfn_25(); + /*26*/ virtual void __unk_vfn_26(); + /*27*/ virtual void __unk_vfn_27(); + /*28*/ virtual void __unk_vfn_28(); + /*30*/ virtual void __unk_vfn_30(); + /*31*/ virtual void __unk_vfn_31(); + /*32*/ virtual void __unk_vfn_32(); + /*33*/ virtual void __unk_vfn_33(); + /*34*/ virtual void __unk_vfn_34(); + /*35*/ virtual void __unk_vfn_35(); + /*36*/ virtual void __unk_vfn_36(); + /*38*/ virtual void __unk_vfn_38(); + /*39*/ virtual void __unk_vfn_39(); + /*40*/ virtual void __unk_vfn_40(); + /*42*/ virtual void __unk_vfn_42(); + /*43*/ virtual void __unk_vfn_43(); + /*49*/ virtual void __unk_vfn_49(); + /*50*/ virtual bool canContainLiquid() const; + /*52*/ virtual void __unk_vfn_52(); + /*59*/ virtual void onPlace(class BlockSource &, class BlockPos const &) const; + /*60*/ virtual void onRemove(class BlockSource &, class BlockPos const &) const; + /*66*/ virtual void onMove(class BlockSource &, class BlockPos const &, class BlockPos const &) const; + /*67*/ virtual void __unk_vfn_67(); + /*73*/ virtual void __unk_vfn_73(); + /*87*/ virtual void __unk_vfn_87(); + /*95*/ virtual void __unk_vfn_95(); + /*98*/ virtual bool use(class Player &, class BlockPos const &) const; + /*109*/ virtual void __unk_vfn_109(); + /*116*/ virtual void __unk_vfn_116(); + /*118*/ virtual void __unk_vfn_118(); + /*119*/ virtual void __unk_vfn_119(); + /*120*/ virtual int getComparatorSignal(class BlockSource &, class BlockPos const &, class Block const &, unsigned char) const; + /*141*/ virtual int getVariant(class Block const &) const; + /*142*/ virtual void __unk_vfn_142(); + /*158*/ virtual void __unk_vfn_158(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_COMPOSTERBLOCK + MCVAPI bool hasComparatorSignal() const; +#endif + MCAPI static bool addItem(class ItemStack const &, class BlockSource &, class Block const &, class BlockPos const &); + MCAPI static void empty(class BlockSource &, class Block const &, class BlockPos const &); + +//private: + MCAPI void _emitBoneMeal(class Level &, class BlockSource &, class BlockPos const &) const; + MCAPI void _notifyClientComposterUsed(class Player const &, short, enum MinecraftEventing::POIBlockInteractionType) const; + MCAPI static std::vector> const & _getCompostableItems(); + +private: + MCAPI static class Vec3 const PARTICLE_OFFSET; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/CompoundCreatorContainerManagerModel.hpp b/LiteLoader/Header/MC/CompoundCreatorContainerManagerModel.hpp new file mode 100644 index 0000000..2dfda30 --- /dev/null +++ b/LiteLoader/Header/MC/CompoundCreatorContainerManagerModel.hpp @@ -0,0 +1,35 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "ContainerManagerModel.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class CompoundCreatorContainerManagerModel : public ContainerManagerModel { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_COMPOUNDCREATORCONTAINERMANAGERMODEL +public: + class CompoundCreatorContainerManagerModel& operator=(class CompoundCreatorContainerManagerModel const &) = delete; + CompoundCreatorContainerManagerModel(class CompoundCreatorContainerManagerModel const &) = delete; + CompoundCreatorContainerManagerModel() = delete; +#endif + +public: + /*0*/ virtual ~CompoundCreatorContainerManagerModel(); + /*6*/ virtual std::vector getItemCopies() const; + /*7*/ virtual void setSlot(int, class ItemStack const &, bool); + /*8*/ virtual class ItemStack const & getSlot(int) const; + /*9*/ virtual void setData(int, int); + /*10*/ virtual void broadcastChanges(); + /*11*/ virtual bool isValid(float); + /*12*/ virtual class ContainerScreenContext _postInit(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_COMPOUNDCREATORCONTAINERMANAGERMODEL +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/CompoundItem.hpp b/LiteLoader/Header/MC/CompoundItem.hpp new file mode 100644 index 0000000..f328b3d --- /dev/null +++ b/LiteLoader/Header/MC/CompoundItem.hpp @@ -0,0 +1,60 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Item.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class CompoundItem : public Item { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_COMPOUNDITEM +public: + class CompoundItem& operator=(class CompoundItem const &) = delete; + CompoundItem(class CompoundItem const &) = delete; + CompoundItem() = delete; +#endif + +public: + /*0*/ virtual ~CompoundItem(); + /*5*/ virtual void __unk_vfn_5(); + /*26*/ virtual void __unk_vfn_26(); + /*27*/ virtual void __unk_vfn_27(); + /*31*/ virtual void __unk_vfn_31(); + /*32*/ virtual void __unk_vfn_32(); + /*34*/ virtual void __unk_vfn_34(); + /*37*/ virtual void __unk_vfn_37(); + /*43*/ virtual void __unk_vfn_43(); + /*46*/ virtual void __unk_vfn_46(); + /*47*/ virtual void __unk_vfn_47(); + /*49*/ virtual void __unk_vfn_49(); + /*50*/ virtual void __unk_vfn_50(); + /*65*/ virtual std::string buildDescriptionId(class ItemDescriptor const &, class CompoundTag const *) const; + /*79*/ virtual void __unk_vfn_79(); + /*80*/ virtual void __unk_vfn_80(); + /*85*/ virtual struct TextureUVCoordinateSet const & getIcon(class ItemStackBase const &, int, bool) const; + /*87*/ virtual class Item & setIcon(std::string const &, int); + /*90*/ virtual void __unk_vfn_90(); + /*97*/ virtual void __unk_vfn_97(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_COMPOUNDITEM +#endif + MCAPI static enum CompoundType getCompoundType(class ItemDescriptor const &); + MCAPI static class RecipeIngredient getIngredientForCompound(enum CompoundType); + MCAPI static class ItemInstance getItemForCompound(enum CompoundType, int); + MCAPI static bool isCompoundItem(class ItemStackBase const &); + +//private: + MCAPI void _registerSpecialCompound(class ItemInstance const &, enum CompoundType); + MCAPI void _registerSpecialCompounds(); + MCAPI static std::string _getName(enum CompoundType); + +private: + MCAPI static class std::unordered_map, struct std::equal_to, class std::allocator>> mIdToSpecialCompound; + MCAPI static class std::unordered_map, struct std::equal_to, class std::allocator>> mTypeToSpecialCompound; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/CompoundTag.hpp b/LiteLoader/Header/MC/CompoundTag.hpp new file mode 100644 index 0000000..f76cf6f --- /dev/null +++ b/LiteLoader/Header/MC/CompoundTag.hpp @@ -0,0 +1,146 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Tag.hpp" + +#define BEFORE_EXTRA +// Include Headers or Declare Types Here +#include "CompoundTagVariant.hpp" +enum class SnbtFormat : unsigned char +{ + PartialNewLine = 0, + AlwayNewLine = 1, + Minimize = 2, +}; +struct PrettySnbtFormat; + +#undef BEFORE_EXTRA + +class CompoundTag : public Tag { + +#define AFTER_EXTRA +// Add Member There + map val; + +public: + + LIAPI static std::unique_ptr create(); + LIAPI map& value(); + + template + inline T const* get(class gsl::basic_string_span key) const { + return (T*)get(key); + }; + + // put value + LIAPI void putEnd(std::string key); + LIAPI double& putDouble(std::string key, double val); + LIAPI void putByteArray(std::string key, char data[], size_t size); + LIAPI void putIntArray(std::string key, int data[], size_t size); + LIAPI struct TagMemoryChunk& putIntArray(std::string key, struct TagMemoryChunk val); + + // get value + LIAPI double getDouble(class gsl::basic_string_span key) const; + LIAPI struct TagMemoryChunk const& getIntArray(class gsl::basic_string_span key) const; + + // get tag + LIAPI class ByteTag const* getByteTag(class gsl::basic_string_span key) const; + //BDS has implemented this interface + //LIAPI class ShortTag const* getShortTag(class gsl::basic_string_span key) const; + LIAPI class FloatTag const* getFloatTag(class gsl::basic_string_span key) const; + LIAPI class DoubleTag const* getDoubleTag(class gsl::basic_string_span key) const; + LIAPI class ByteArrayTag const* getByteArrayTag(class gsl::basic_string_span key) const; + //LIAPI class StringTag const* getStringTag(class gsl::basic_string_span key) const; + LIAPI class IntArrayTag const* getIntArrayTag(class gsl::basic_string_span key) const; + LIAPI class ListTag const* getListTag(class gsl::basic_string_span key) const; + LIAPI class CompoundTag const* getCompoundTag(class gsl::basic_string_span key) const; + LIAPI class Tag* operator[](class gsl::basic_string_span key); + + // IO + LIAPI void setItemStack(ItemStack* item); + LIAPI void setBlock(Block* blk); + LIAPI bool setActor(Actor* actor) const; + LIAPI bool setPlayer(Player* player); + LIAPI bool setBlockActor(BlockActor* ble) const; + LIAPI static std::unique_ptr fromItemStack(ItemStack* item); + LIAPI static std::unique_ptr fromBlock(Block* blk); + LIAPI static std::unique_ptr fromActor(Actor* actor); + LIAPI static std::unique_ptr fromPlayer(Player* player); + LIAPI static std::unique_ptr fromBlockActor(BlockActor* ble); + + // To Formatted SNBT + LIAPI std::string toSNBT(int indent, SnbtFormat snbtFormat = SnbtFormat::PartialNewLine); + LIAPI string toPrettySNBT(bool forPlayer = false) const; + LIAPI string toPrettySNBT(struct PrettySnbtFormat const& format) const; + LIAPI std::string toBinaryNBT(bool isLittleEndian = true); + LIAPI static std::string nbtListToBinary(std::vector> tags, bool isLittleEndian = true); + LIAPI static std::unique_ptr fromSNBT(const std::string& snbt); + LIAPI static std::unique_ptr fromBinaryNBT(void* data, size_t len, bool isLittleEndian = true); + LIAPI static std::unique_ptr fromBinaryNBT(void* data, size_t len, size_t& offset, bool isLittleEndian = true); + LIAPI static std::unique_ptr fromBinaryNBT(std::string const& data, size_t& offset, bool isLittleEndian = true); + LIAPI static std::unique_ptr fromBinaryNBT(std::string const& data, bool isLittleEndian = true); + LIAPI static std::vector> nbtListFromBinary(std::string const& data, bool isLittleEndian = true); + + LIAPI std::string toNetworkNBT() const; + LIAPI static std::unique_ptr fromNetworkNBT(std::string const& data); + LIAPI static std::string nbtListToNetwork(std::vector> tags); + LIAPI static std::vector> nbtListFromNetwork(std::string const& data); + + + // Deprecated? + LIAPI std::string toSNBT(); + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_COMPOUNDTAG +public: + class CompoundTag& operator=(class CompoundTag const &) = delete; + CompoundTag(class CompoundTag const &) = delete; +#endif + +public: + /*0*/ virtual ~CompoundTag(); + /*2*/ virtual void write(class IDataOutput &) const; + /*3*/ virtual void load(class IDataInput &); + /*4*/ virtual std::string toString() const; + /*5*/ virtual enum Tag::Type getId() const; + /*6*/ virtual bool equals(class Tag const &) const; + /*8*/ virtual void print(std::string const &, class PrintStream &) const; + /*9*/ virtual std::unique_ptr copy() const; + /*10*/ virtual unsigned __int64 hash() const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_COMPOUNDTAG +#endif + MCAPI CompoundTag(); + MCAPI CompoundTag(class CompoundTag &&); + MCAPI void append(class CompoundTag const &); + MCAPI std::unique_ptr clone() const; + MCAPI bool contains(class gsl::basic_string_span) const; + MCAPI bool contains(class gsl::basic_string_span, enum Tag::Type) const; + MCAPI void deepCopy(class CompoundTag const &); + MCAPI bool getBoolean(class gsl::basic_string_span) const; + MCAPI unsigned char getByte(class gsl::basic_string_span) const; + MCAPI struct TagMemoryChunk const & getByteArray(class gsl::basic_string_span) const; + MCAPI class CompoundTag * getCompound(class gsl::basic_string_span); + MCAPI class CompoundTag const * getCompound(class gsl::basic_string_span) const; + MCAPI float getFloat(class gsl::basic_string_span) const; + MCAPI int getInt(class gsl::basic_string_span) const; + MCAPI __int64 getInt64(class gsl::basic_string_span) const; + MCAPI class ListTag * getList(class gsl::basic_string_span); + MCAPI class ListTag const * getList(class gsl::basic_string_span) const; + MCAPI short getShort(class gsl::basic_string_span) const; + MCAPI std::string const & getString(class gsl::basic_string_span) const; + MCAPI class CompoundTag & operator=(class CompoundTag &&); + MCAPI class Tag * put(std::string, std::unique_ptr); + MCAPI void putBoolean(std::string, bool); + MCAPI unsigned char & putByte(std::string, unsigned char); + MCAPI struct TagMemoryChunk & putByteArray(std::string, struct TagMemoryChunk); + MCAPI class CompoundTag & putCompound(std::string, class CompoundTag); + MCAPI class CompoundTag * putCompound(std::string, std::unique_ptr); + MCAPI float & putFloat(std::string, float); + MCAPI int & putInt(std::string, int); + MCAPI __int64 & putInt64(std::string, __int64); + MCAPI short & putShort(std::string, short); + MCAPI std::string & putString(std::string, std::string); + MCAPI bool remove(class gsl::basic_string_span); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/CompoundTagEditHelper.hpp b/LiteLoader/Header/MC/CompoundTagEditHelper.hpp new file mode 100644 index 0000000..b1b85fe --- /dev/null +++ b/LiteLoader/Header/MC/CompoundTagEditHelper.hpp @@ -0,0 +1,33 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class CompoundTagEditHelper { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_COMPOUNDTAGEDITHELPER +public: + class CompoundTagEditHelper& operator=(class CompoundTagEditHelper const &) = delete; + CompoundTagEditHelper(class CompoundTagEditHelper const &) = delete; + CompoundTagEditHelper() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_COMPOUNDTAGEDITHELPER +#endif + MCAPI void replaceWith(std::string const &, std::unique_ptr); + MCAPI ~CompoundTagEditHelper(); + +//private: + MCAPI void pushChild(std::string const &); + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/CompoundTagUpdater.hpp b/LiteLoader/Header/MC/CompoundTagUpdater.hpp new file mode 100644 index 0000000..6f7afb0 --- /dev/null +++ b/LiteLoader/Header/MC/CompoundTagUpdater.hpp @@ -0,0 +1,27 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class CompoundTagUpdater { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_COMPOUNDTAGUPDATER +public: + class CompoundTagUpdater& operator=(class CompoundTagUpdater const &) = delete; + CompoundTagUpdater(class CompoundTagUpdater const &) = delete; + CompoundTagUpdater() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_COMPOUNDTAGUPDATER +#endif + MCAPI bool update(class CompoundTag &) const; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/CompoundTagUpdaterBuilder.hpp b/LiteLoader/Header/MC/CompoundTagUpdaterBuilder.hpp new file mode 100644 index 0000000..8417b81 --- /dev/null +++ b/LiteLoader/Header/MC/CompoundTagUpdaterBuilder.hpp @@ -0,0 +1,32 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class CompoundTagUpdaterBuilder { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_COMPOUNDTAGUPDATERBUILDER +public: + class CompoundTagUpdaterBuilder& operator=(class CompoundTagUpdaterBuilder const &) = delete; + CompoundTagUpdaterBuilder(class CompoundTagUpdaterBuilder const &) = delete; + CompoundTagUpdaterBuilder() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_COMPOUNDTAGUPDATERBUILDER +#endif + MCAPI class CompoundTagUpdaterBuilder & edit(std::string const &, class std::function &&); + MCAPI class CompoundTagUpdaterBuilder & match(std::string const &, std::string); + MCAPI class CompoundTagUpdaterBuilder & popVisit(); + MCAPI class CompoundTagUpdaterBuilder & remove(std::string const &); + MCAPI class CompoundTagUpdaterBuilder & rename(std::string const &, std::string const &); + MCAPI class CompoundTagUpdaterBuilder & visit(std::string const &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/CompoundTagUpdaterContext.hpp b/LiteLoader/Header/MC/CompoundTagUpdaterContext.hpp new file mode 100644 index 0000000..45806ac --- /dev/null +++ b/LiteLoader/Header/MC/CompoundTagUpdaterContext.hpp @@ -0,0 +1,33 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class CompoundTagUpdaterContext { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_COMPOUNDTAGUPDATERCONTEXT +public: + class CompoundTagUpdaterContext& operator=(class CompoundTagUpdaterContext const &) = delete; + CompoundTagUpdaterContext(class CompoundTagUpdaterContext const &) = delete; + CompoundTagUpdaterContext() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_COMPOUNDTAGUPDATERCONTEXT +#endif + MCAPI class CompoundTagUpdaterBuilder addUpdater(unsigned char, unsigned char, unsigned char); + MCAPI void sortUpdaters(); + +//private: + MCAPI static bool comparisonPredicate(std::unique_ptr const &, std::unique_ptr const &); + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/CompoundTagVariant.hpp b/LiteLoader/Header/MC/CompoundTagVariant.hpp new file mode 100644 index 0000000..1ce1ac7 --- /dev/null +++ b/LiteLoader/Header/MC/CompoundTagVariant.hpp @@ -0,0 +1,30 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class CompoundTagVariant { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_COMPOUNDTAGVARIANT +public: + class CompoundTagVariant& operator=(class CompoundTagVariant const &) = delete; + CompoundTagVariant(class CompoundTagVariant const &) = delete; + CompoundTagVariant() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_COMPOUNDTAGVARIANT +#endif + MCAPI class Tag & emplace(class Tag &&); + MCAPI class Tag * get(); + MCAPI class Tag const * get() const; + MCAPI ~CompoundTagVariant(); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/CompressedNetworkPeer.hpp b/LiteLoader/Header/MC/CompressedNetworkPeer.hpp new file mode 100644 index 0000000..d5d4da2 --- /dev/null +++ b/LiteLoader/Header/MC/CompressedNetworkPeer.hpp @@ -0,0 +1,31 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "NetworkPeer.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class CompressedNetworkPeer : public NetworkPeer { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_COMPRESSEDNETWORKPEER +public: + class CompressedNetworkPeer& operator=(class CompressedNetworkPeer const &) = delete; + CompressedNetworkPeer(class CompressedNetworkPeer const &) = delete; + CompressedNetworkPeer() = delete; +#endif + +public: + /*0*/ virtual ~CompressedNetworkPeer(); + /*1*/ virtual void sendPacket(std::string const &, enum NetworkPeer::Reliability, int, unsigned short, enum Compressibility); + /*2*/ virtual enum NetworkPeer::DataStatus receivePacket(std::string &); + /*3*/ virtual struct NetworkPeer::NetworkStatus getNetworkStatus(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_COMPRESSEDNETWORKPEER +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ConcreteBlock.hpp b/LiteLoader/Header/MC/ConcreteBlock.hpp new file mode 100644 index 0000000..35fc473 --- /dev/null +++ b/LiteLoader/Header/MC/ConcreteBlock.hpp @@ -0,0 +1,64 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "BlockLegacy.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ConcreteBlock : public BlockLegacy { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_CONCRETEBLOCK +public: + class ConcreteBlock& operator=(class ConcreteBlock const &) = delete; + ConcreteBlock(class ConcreteBlock const &) = delete; + ConcreteBlock() = delete; +#endif + +public: + /*0*/ virtual ~ConcreteBlock(); + /*18*/ virtual void __unk_vfn_18(); + /*24*/ virtual void __unk_vfn_24(); + /*25*/ virtual void __unk_vfn_25(); + /*26*/ virtual void __unk_vfn_26(); + /*27*/ virtual void __unk_vfn_27(); + /*28*/ virtual void __unk_vfn_28(); + /*30*/ virtual void __unk_vfn_30(); + /*31*/ virtual void __unk_vfn_31(); + /*32*/ virtual void __unk_vfn_32(); + /*33*/ virtual void __unk_vfn_33(); + /*34*/ virtual void __unk_vfn_34(); + /*35*/ virtual void __unk_vfn_35(); + /*36*/ virtual void __unk_vfn_36(); + /*38*/ virtual void __unk_vfn_38(); + /*39*/ virtual void __unk_vfn_39(); + /*40*/ virtual void __unk_vfn_40(); + /*42*/ virtual void __unk_vfn_42(); + /*43*/ virtual void __unk_vfn_43(); + /*44*/ virtual bool isValidAuxValue(int) const; + /*49*/ virtual void __unk_vfn_49(); + /*52*/ virtual void __unk_vfn_52(); + /*67*/ virtual void __unk_vfn_67(); + /*73*/ virtual void __unk_vfn_73(); + /*87*/ virtual void __unk_vfn_87(); + /*91*/ virtual class ItemInstance getResourceItem(class Random &, class Block const &, int) const; + /*95*/ virtual void __unk_vfn_95(); + /*109*/ virtual void __unk_vfn_109(); + /*113*/ virtual class Color getMapColor(class BlockSource &, class BlockPos const &) const; + /*116*/ virtual void __unk_vfn_116(); + /*118*/ virtual void __unk_vfn_118(); + /*119*/ virtual void __unk_vfn_119(); + /*127*/ virtual std::string buildDescriptionId(class Block const &) const; + /*128*/ virtual bool isAuxValueRelevantForPicking() const; + /*142*/ virtual void __unk_vfn_142(); + /*158*/ virtual void __unk_vfn_158(); + /*159*/ virtual class ItemInstance getSilkTouchItemInstance(class Block const &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_CONCRETEBLOCK +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ConcretePowderBlock.hpp b/LiteLoader/Header/MC/ConcretePowderBlock.hpp new file mode 100644 index 0000000..46b11c8 --- /dev/null +++ b/LiteLoader/Header/MC/ConcretePowderBlock.hpp @@ -0,0 +1,78 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "BlockLegacy.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ConcretePowderBlock : public BlockLegacy { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_CONCRETEPOWDERBLOCK +public: + class ConcretePowderBlock& operator=(class ConcretePowderBlock const &) = delete; + ConcretePowderBlock(class ConcretePowderBlock const &) = delete; + ConcretePowderBlock() = delete; +#endif + +public: + /*0*/ virtual ~ConcretePowderBlock(); + /*18*/ virtual void __unk_vfn_18(); + /*24*/ virtual void __unk_vfn_24(); + /*25*/ virtual void __unk_vfn_25(); + /*26*/ virtual void __unk_vfn_26(); + /*27*/ virtual void __unk_vfn_27(); + /*28*/ virtual void __unk_vfn_28(); + /*30*/ virtual void __unk_vfn_30(); + /*31*/ virtual void __unk_vfn_31(); + /*32*/ virtual void __unk_vfn_32(); + /*33*/ virtual void __unk_vfn_33(); + /*34*/ virtual void __unk_vfn_34(); + /*35*/ virtual void __unk_vfn_35(); + /*36*/ virtual void __unk_vfn_36(); + /*38*/ virtual void __unk_vfn_38(); + /*39*/ virtual void __unk_vfn_39(); + /*40*/ virtual void __unk_vfn_40(); + /*42*/ virtual void __unk_vfn_42(); + /*43*/ virtual void __unk_vfn_43(); + /*44*/ virtual bool isValidAuxValue(int) const; + /*49*/ virtual void __unk_vfn_49(); + /*52*/ virtual void __unk_vfn_52(); + /*59*/ virtual void onPlace(class BlockSource &, class BlockPos const &) const; + /*67*/ virtual void __unk_vfn_67(); + /*73*/ virtual void __unk_vfn_73(); + /*87*/ virtual void __unk_vfn_87(); + /*88*/ virtual void neighborChanged(class BlockSource &, class BlockPos const &, class BlockPos const &) const; + /*91*/ virtual class ItemInstance getResourceItem(class Random &, class Block const &, int) const; + /*95*/ virtual void __unk_vfn_95(); + /*109*/ virtual void __unk_vfn_109(); + /*113*/ virtual class Color getMapColor(class BlockSource &, class BlockPos const &) const; + /*115*/ virtual bool shouldStopFalling(class Actor &) const; + /*116*/ virtual void __unk_vfn_116(); + /*118*/ virtual void __unk_vfn_118(); + /*119*/ virtual void __unk_vfn_119(); + /*127*/ virtual std::string buildDescriptionId(class Block const &) const; + /*128*/ virtual bool isAuxValueRelevantForPicking() const; + /*142*/ virtual void __unk_vfn_142(); + /*158*/ virtual void __unk_vfn_158(); + /*159*/ virtual class ItemInstance getSilkTouchItemInstance(class Block const &) const; + /*164*/ virtual class Color getDustColor(class Block const &) const; + /*165*/ virtual std::string getDustParticleName(class Block const &) const; + /*166*/ virtual void __unk_vfn_166(); + /*167*/ virtual void __unk_vfn_167(); + /*168*/ virtual bool isFreeToFall(class BlockSource &, class BlockPos const &) const; + /*169*/ virtual void startFalling(class BlockSource &, class BlockPos const &, class Block const &, bool) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_CONCRETEPOWDERBLOCK +#endif + +//private: + MCAPI bool _tryTouchWater(class BlockSource &, class BlockPos const &, class std::optional) const; + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ConduitBlock.hpp b/LiteLoader/Header/MC/ConduitBlock.hpp new file mode 100644 index 0000000..1f74132 --- /dev/null +++ b/LiteLoader/Header/MC/ConduitBlock.hpp @@ -0,0 +1,193 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "ActorBlock.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ConduitBlock : public ActorBlock { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_CONDUITBLOCK +public: + class ConduitBlock& operator=(class ConduitBlock const &) = delete; + ConduitBlock(class ConduitBlock const &) = delete; + ConduitBlock() = delete; +#endif + +public: + /*0*/ virtual ~ConduitBlock(); + /*1*/ virtual void __unk_vfn_1(); + /*2*/ virtual class Block const & getStateFromLegacyData(unsigned short) const; + /*3*/ virtual class std::shared_ptr newBlockEntity(class BlockPos const &, class Block const &) const; + /*4*/ virtual class Block const * getNextBlockPermutation(class Block const &) const; + /*5*/ virtual bool getCollisionShape(class AABB &, class Block const &, class BlockSource &, class BlockPos const &, class Actor *) const; + /*6*/ virtual bool isObstructingChests(class BlockSource &, class BlockPos const &) const; + /*7*/ virtual void __unk_vfn_7(); + /*8*/ virtual class Vec3 randomlyModifyPosition(class BlockPos const &, int &) const; + /*9*/ virtual void addAABBs(class Block const &, class BlockSource &, class BlockPos const &, class AABB const *, std::vector &) const; + /*10*/ virtual class AABB const & getAABB(class BlockSource &, class BlockPos const &, class Block const &, class AABB &, bool) const; + /*11*/ virtual bool addCollisionShapes(class Block const &, class BlockSource &, class BlockPos const &, class AABB const *, std::vector &, class Actor *) const; + /*12*/ virtual class AABB const & getOutline(class BlockSource &, class BlockPos const &, class AABB &) const; + /*13*/ virtual bool getLiquidClipVolume(class BlockSource &, class BlockPos const &, class AABB &) const; + /*14*/ virtual void __unk_vfn_14(); + /*15*/ virtual void __unk_vfn_15(); + /*16*/ virtual struct Brightness getLightEmission(class Block const &) const; + /*17*/ virtual bool shouldRandomTick() const; + /*18*/ virtual void __unk_vfn_18(); + /*19*/ virtual void __unk_vfn_19(); + /*20*/ virtual void __unk_vfn_20(); + /*21*/ virtual bool canProvideSupport(class Block const &, unsigned char, enum BlockSupportType) const; + /*22*/ virtual bool canConnect(class Block const &, unsigned char, class Block const &) const; + /*23*/ virtual void getConnectedDirections(class Block const &, class BlockPos const &, class BlockSource &, bool &, bool &, bool &, bool &) const; + /*24*/ virtual void __unk_vfn_24(); + /*25*/ virtual void __unk_vfn_25(); + /*26*/ virtual void __unk_vfn_26(); + /*27*/ virtual void __unk_vfn_27(); + /*28*/ virtual void __unk_vfn_28(); + /*29*/ virtual bool isWaterBlocking() const; + /*30*/ virtual void __unk_vfn_30(); + /*31*/ virtual void __unk_vfn_31(); + /*32*/ virtual void __unk_vfn_32(); + /*33*/ virtual void __unk_vfn_33(); + /*34*/ virtual void __unk_vfn_34(); + /*35*/ virtual void __unk_vfn_35(); + /*36*/ virtual void __unk_vfn_36(); + /*37*/ virtual void __unk_vfn_37(); + /*38*/ virtual void __unk_vfn_38(); + /*39*/ virtual void __unk_vfn_39(); + /*40*/ virtual void __unk_vfn_40(); + /*41*/ virtual bool canHurtAndBreakItem() const; + /*42*/ virtual void __unk_vfn_42(); + /*43*/ virtual void __unk_vfn_43(); + /*44*/ virtual void __unk_vfn_44(); + /*45*/ virtual void __unk_vfn_45(); + /*46*/ virtual class Block const & sanitizeFillBlock(class BlockSource &, class BlockPos const &, class Block const &) const; + /*47*/ virtual void __unk_vfn_47(); + /*48*/ virtual void __unk_vfn_48(); + /*49*/ virtual void __unk_vfn_49(); + /*50*/ virtual void __unk_vfn_50(); + /*51*/ virtual void __unk_vfn_51(); + /*52*/ virtual void __unk_vfn_52(); + /*53*/ virtual bool canBeUsedInCommands(bool, class BaseGameVersion const &) const; + /*54*/ virtual float getThickness() const; + /*55*/ virtual void __unk_vfn_55(); + /*56*/ virtual bool checkIsPathable(class Actor &, class BlockPos const &, class BlockPos const &) const; + /*57*/ virtual void __unk_vfn_57(); + /*58*/ virtual void __unk_vfn_58(); + /*59*/ virtual void __unk_vfn_59(); + /*60*/ virtual void __unk_vfn_60(); + /*61*/ virtual void __unk_vfn_61(); + /*62*/ virtual void __unk_vfn_62(); + /*63*/ virtual void onFallOn(class BlockSource &, class BlockPos const &, class Actor &, float) const; + /*64*/ virtual void __unk_vfn_64(); + /*65*/ virtual void __unk_vfn_65(); + /*66*/ virtual void __unk_vfn_66(); + /*67*/ virtual void __unk_vfn_67(); + /*68*/ virtual void __unk_vfn_68(); + /*69*/ virtual void __unk_vfn_69(); + /*70*/ virtual void __unk_vfn_70(); + /*71*/ virtual enum BlockProperty getRedstoneProperty(class BlockSource &, class BlockPos const &) const; + /*72*/ virtual void updateEntityAfterFallOn(class BlockSource &, class BlockPos const &, class Actor &) const; + /*73*/ virtual void __unk_vfn_73(); + /*74*/ virtual void __unk_vfn_74(); + /*75*/ virtual void __unk_vfn_75(); + /*76*/ virtual void __unk_vfn_76(); + /*77*/ virtual void __unk_vfn_77(); + /*78*/ virtual bool mayPick(class BlockSource &, class Block const &, bool) const; + /*79*/ virtual void __unk_vfn_79(); + /*80*/ virtual bool mayPlace(class BlockSource &, class BlockPos const &, unsigned char) const; + /*81*/ virtual bool mayPlace(class BlockSource &, class BlockPos const &) const; + /*82*/ virtual void __unk_vfn_82(); + /*83*/ virtual bool tryToPlace(class BlockSource &, class BlockPos const &, class Block const &, struct ActorBlockSyncMessage const *) const; + /*84*/ virtual bool breaksFallingBlocks(class Block const &) const; + /*85*/ virtual void __unk_vfn_85(); + /*86*/ virtual bool playerWillDestroy(class Player &, class BlockPos const &, class Block const &) const; + /*87*/ virtual void __unk_vfn_87(); + /*88*/ virtual void neighborChanged(class BlockSource &, class BlockPos const &, class BlockPos const &) const; + /*89*/ virtual void __unk_vfn_89(); + /*90*/ virtual void __unk_vfn_90(); + /*91*/ virtual void __unk_vfn_91(); + /*92*/ virtual void __unk_vfn_92(); + /*93*/ virtual void spawnResources(class BlockSource &, class BlockPos const &, class Block const &, std::vector *, float, int, bool) const; + /*94*/ virtual void trySpawnResourcesOnExplosion(class BlockSource &, class BlockPos const &, class Block const &, std::vector *, float, int, bool) const; + /*95*/ virtual void __unk_vfn_95(); + /*96*/ virtual void __unk_vfn_96(); + /*97*/ virtual class HitResult clip(class BlockSource &, class BlockPos const &, class Vec3 const &, class Vec3 const &, bool) const; + /*98*/ virtual void __unk_vfn_98(); + /*99*/ virtual class Block const & getPlacementBlock(class Actor &, class BlockPos const &, unsigned char, class Vec3 const &, int) const; + /*100*/ virtual int calcVariant(class BlockSource &, class BlockPos const &) const; + /*101*/ virtual void __unk_vfn_101(); + /*102*/ virtual void __unk_vfn_102(); + /*103*/ virtual void __unk_vfn_103(); + /*104*/ virtual void __unk_vfn_104(); + /*105*/ virtual void playerDestroy(class Player &, class BlockPos const &, class Block const &) const; + /*106*/ virtual void __unk_vfn_106(); + /*107*/ virtual void __unk_vfn_107(); + /*108*/ virtual bool canBeBuiltOver(class BlockSource &, class BlockPos const &) const; + /*109*/ virtual void triggerEvent(class BlockSource &, class BlockPos const &, int, int) const; + /*110*/ virtual void __unk_vfn_110(); + /*111*/ virtual void __unk_vfn_111(); + /*112*/ virtual class MobSpawnerData const * getMobToSpawn(class SpawnConditions const &, class BlockSource &) const; + /*113*/ virtual void __unk_vfn_113(); + /*114*/ virtual void __unk_vfn_114(); + /*115*/ virtual bool shouldStopFalling(class Actor &) const; + /*116*/ virtual void __unk_vfn_116(); + /*117*/ virtual float calcGroundFriction(class Mob &, class BlockPos const &) const; + /*118*/ virtual void __unk_vfn_118(); + /*119*/ virtual void __unk_vfn_119(); + /*120*/ virtual void __unk_vfn_120(); + /*121*/ virtual bool canSlide(class BlockSource &, class BlockPos const &) const; + /*122*/ virtual void __unk_vfn_122(); + /*123*/ virtual void __unk_vfn_123(); + /*124*/ virtual void __unk_vfn_124(); + /*125*/ virtual void __unk_vfn_125(); + /*126*/ virtual void __unk_vfn_126(); + /*127*/ virtual void __unk_vfn_127(); + /*128*/ virtual void __unk_vfn_128(); + /*129*/ virtual void __unk_vfn_129(); + /*130*/ virtual void __unk_vfn_130(); + /*131*/ virtual void __unk_vfn_131(); + /*132*/ virtual int getColorForParticle(class BlockSource &, class BlockPos const &, class Block const &) const; + /*133*/ virtual void __unk_vfn_133(); + /*134*/ virtual void onGraphicsModeChanged(bool, bool, bool); + /*135*/ virtual void __unk_vfn_135(); + /*136*/ virtual float getShadeBrightness() const; + /*137*/ virtual class AABB const & getVisualShapeInWorld(class Block const &, class BlockSource &, class BlockPos const &, class AABB &, bool) const; + /*138*/ virtual class AABB const & getVisualShape(class Block const &, class AABB &, bool) const; + /*139*/ virtual class AABB const & getUIShape(class Block const &, class AABB &) const; + /*140*/ virtual int telemetryVariant(class BlockSource &, class BlockPos const &) const; + /*141*/ virtual int getVariant(class Block const &) const; + /*142*/ virtual void __unk_vfn_142(); + /*143*/ virtual class Block const & getRenderBlock() const; + /*144*/ virtual void __unk_vfn_144(); + /*145*/ virtual void __unk_vfn_145(); + /*146*/ virtual void __unk_vfn_146(); + /*147*/ virtual class BlockLegacy & init(); + /*148*/ virtual class BlockLegacy & setLightBlock(struct Brightness); + /*149*/ virtual class BlockLegacy & setLightEmission(float); + /*150*/ virtual class BlockLegacy & setExplodeable(float); + /*151*/ virtual class BlockLegacy & setDestroyTime(float); + /*152*/ virtual class BlockLegacy & setFriction(float); + /*153*/ virtual class BlockLegacy & addProperty(enum BlockProperty); + /*154*/ virtual class BlockLegacy & addState(class ItemState const &); + /*155*/ virtual class BlockLegacy & addState(class ItemState const &, unsigned __int64); + /*156*/ virtual class BlockLegacy & setAllowsRunes(bool); + /*157*/ virtual class BlockLegacy & setMapColor(class Color const &); + /*158*/ virtual void __unk_vfn_158(); + /*159*/ virtual void __unk_vfn_159(); + /*160*/ virtual void setVisualShape(class AABB const &); + /*161*/ virtual void setVisualShape(class Vec3 const &, class Vec3 const &); + /*162*/ virtual void __unk_vfn_162(); + /*163*/ virtual void __unk_vfn_163(); + /*164*/ virtual class ItemInstance getEntityResourceItem(class Random &, class BlockActor const &, int) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_CONDUITBLOCK + MCVAPI bool canContainLiquid() const; +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ConduitBlockActor.hpp b/LiteLoader/Header/MC/ConduitBlockActor.hpp new file mode 100644 index 0000000..0324d11 --- /dev/null +++ b/LiteLoader/Header/MC/ConduitBlockActor.hpp @@ -0,0 +1,47 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "BlockActor.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ConduitBlockActor : public BlockActor { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_CONDUITBLOCKACTOR +public: + class ConduitBlockActor& operator=(class ConduitBlockActor const &) = delete; + ConduitBlockActor(class ConduitBlockActor const &) = delete; + ConduitBlockActor() = delete; +#endif + +public: + /*0*/ virtual ~ConduitBlockActor(); + /*1*/ virtual void load(class Level &, class CompoundTag const &, class DataLoadHelper &); + /*2*/ virtual bool save(class CompoundTag &) const; + /*7*/ virtual void tick(class BlockSource &); + /*13*/ virtual void __unk_vfn_13(); + /*17*/ virtual void __unk_vfn_17(); + /*19*/ virtual bool hasAlphaLayer() const; + /*29*/ virtual void __unk_vfn_29(); + /*30*/ virtual void __unk_vfn_30(); + /*32*/ virtual void __unk_vfn_32(); + /*33*/ virtual void __unk_vfn_33(); + /*34*/ virtual std::unique_ptr _getUpdatePacket(class BlockSource &); + /*35*/ virtual void _onUpdatePacket(class CompoundTag const &, class BlockSource &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_CONDUITBLOCKACTOR +#endif + +//private: + MCAPI void _animateTick(class BlockSource &) const; + MCAPI void _checkShape(class BlockSource &); + MCAPI void _updateTarget(class BlockSource &); + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ConnectionRequest.hpp b/LiteLoader/Header/MC/ConnectionRequest.hpp new file mode 100644 index 0000000..a26d65d --- /dev/null +++ b/LiteLoader/Header/MC/ConnectionRequest.hpp @@ -0,0 +1,60 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "persona.hpp" +#include "Json.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ConnectionRequest { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_CONNECTIONREQUEST +public: + class ConnectionRequest& operator=(class ConnectionRequest const &) = delete; + ConnectionRequest() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_CONNECTIONREQUEST +#endif + MCAPI ConnectionRequest(class ConnectionRequest const &); + MCAPI std::vector getAnimatedImageData() const; + MCAPI std::string getArmSize() const; + MCAPI std::vector getCapeData() const; + MCAPI std::string getCapeId() const; + MCAPI std::string getClientPlatformId() const; + MCAPI std::string getClientPlatformOfflineId() const; + MCAPI std::string getClientPlatformOnlineId() const; + MCAPI unsigned __int64 getClientRandomId() const; + MCAPI std::string getClientThirdPartyName() const; + MCAPI std::string getDeviceId() const; + MCAPI std::vector getPersonaPieces() const; + MCAPI class std::unordered_map, struct std::equal_to, class std::allocator>> getPieceTintColors() const; + MCAPI std::string getSelfSignedId() const; + MCAPI std::string getSkinAnimationData() const; + MCAPI class Color getSkinColor() const; + MCAPI std::vector getSkinData() const; + MCAPI std::string getSkinGeometry() const; + MCAPI std::string getSkinId() const; + MCAPI std::string getSkinResourcePatch() const; + MCAPI std::string getTenantId() const; + MCAPI bool isPersonaSkin() const; + MCAPI std::string toString(); + MCAPI bool verify(std::vector const &, __int64); + MCAPI bool verifySelfSigned(); + MCAPI ~ConnectionRequest(); + MCAPI static class ConnectionRequest fromString(std::string const &); + +//private: + MCAPI ConnectionRequest(std::unique_ptr, std::string const &); + MCAPI class Json::Value getData(std::string const &) const; + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/Connector.hpp b/LiteLoader/Header/MC/Connector.hpp new file mode 100644 index 0000000..310de25 --- /dev/null +++ b/LiteLoader/Header/MC/Connector.hpp @@ -0,0 +1,26 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class Connector { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_CONNECTOR +public: + class Connector& operator=(class Connector const &) = delete; + Connector(class Connector const &) = delete; + Connector() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_CONNECTOR +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ConsoleChunkBlender.hpp b/LiteLoader/Header/MC/ConsoleChunkBlender.hpp new file mode 100644 index 0000000..a738f9b --- /dev/null +++ b/LiteLoader/Header/MC/ConsoleChunkBlender.hpp @@ -0,0 +1,40 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ConsoleChunkBlender { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_CONSOLECHUNKBLENDER +public: + class ConsoleChunkBlender& operator=(class ConsoleChunkBlender const &) = delete; + ConsoleChunkBlender(class ConsoleChunkBlender const &) = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_CONSOLECHUNKBLENDER +#endif + MCAPI ConsoleChunkBlender(); + MCAPI void blendChunkEnd4J(class LevelChunk &, class LevelChunk &); + MCAPI void blendChunkNether4J(class LevelChunk &, class LevelChunk &); + MCAPI void blendChunkOverworld(class LevelChunk &, class LevelChunk &); + +//protected: + MCAPI void _copyColumnFromGeneratedChunkNether(class LevelChunk &, class LevelChunk &, int, int); + MCAPI void _copyColumnFromGeneratedChunkOverworld(class LevelChunk &, class LevelChunk &, int, int); + MCAPI int _findHighestStoneOrBedrockHeight(class LevelChunk &, int, int); + MCAPI int _findTopMostWaterHeight(class LevelChunk &, int, int); + MCAPI void _prepInterpTable(); + MCAPI void _shiftColumnBySetBlocks(class LevelChunk &, int, int, int, int); + +protected: + MCAPI static std::unique_ptr sConversionBlendNoise; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ConsumeItemDefinition.hpp b/LiteLoader/Header/MC/ConsumeItemDefinition.hpp new file mode 100644 index 0000000..6711b54 --- /dev/null +++ b/LiteLoader/Header/MC/ConsumeItemDefinition.hpp @@ -0,0 +1,29 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Json.hpp" +#include "BehaviorDefinition.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ConsumeItemDefinition : public BehaviorDefinition { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_CONSUMEITEMDEFINITION +public: + class ConsumeItemDefinition& operator=(class ConsumeItemDefinition const &) = delete; + ConsumeItemDefinition(class ConsumeItemDefinition const &) = delete; + ConsumeItemDefinition() = delete; +#endif + +public: + /*0*/ virtual ~ConsumeItemDefinition(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_CONSUMEITEMDEFINITION +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ConsumeItemNode.hpp b/LiteLoader/Header/MC/ConsumeItemNode.hpp new file mode 100644 index 0000000..5d3818b --- /dev/null +++ b/LiteLoader/Header/MC/ConsumeItemNode.hpp @@ -0,0 +1,28 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ConsumeItemNode { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_CONSUMEITEMNODE +public: + class ConsumeItemNode& operator=(class ConsumeItemNode const &) = delete; + ConsumeItemNode(class ConsumeItemNode const &) = delete; + ConsumeItemNode() = delete; +#endif + +public: + /*0*/ virtual ~ConsumeItemNode(); + /*1*/ virtual enum BehaviorStatus tick(class Actor &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_CONSUMEITEMNODE +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ConsumerComponent.hpp b/LiteLoader/Header/MC/ConsumerComponent.hpp new file mode 100644 index 0000000..ac86a74 --- /dev/null +++ b/LiteLoader/Header/MC/ConsumerComponent.hpp @@ -0,0 +1,38 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "BaseCircuitComponent.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ConsumerComponent : public BaseCircuitComponent { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_CONSUMERCOMPONENT +public: + class ConsumerComponent& operator=(class ConsumerComponent const &) = delete; + ConsumerComponent(class ConsumerComponent const &) = delete; + ConsumerComponent() = delete; +#endif + +public: + /*0*/ virtual ~ConsumerComponent(); + /*5*/ virtual void __unk_vfn_5(); + /*6*/ virtual bool canConsumerPower(); + /*9*/ virtual unsigned __int64 getBaseType() const; + /*10*/ virtual unsigned __int64 getInstanceType() const; + /*12*/ virtual bool addSource(class CircuitSceneGraph &, class CircuitTrackingInfo const &, int &, bool &); + /*13*/ virtual bool allowConnection(class CircuitSceneGraph &, class CircuitTrackingInfo const &, bool &); + /*15*/ virtual bool evaluate(class CircuitSystem &, class BlockPos const &); + /*18*/ virtual void __unk_vfn_18(); + /*21*/ virtual void __unk_vfn_21(); + /*22*/ virtual bool isSecondaryPowered(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_CONSUMERCOMPONENT +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/Container.hpp b/LiteLoader/Header/MC/Container.hpp new file mode 100644 index 0000000..ebf2b32 --- /dev/null +++ b/LiteLoader/Header/MC/Container.hpp @@ -0,0 +1,86 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class Container { + +#define AFTER_EXTRA +// Add new members to class +public: + //LIAPI std::string getTypeName(); + + LIAPI bool addItem_s(ItemStack* item); + LIAPI bool addItemToFirstEmptySlot_s(ItemStack* item); + LIAPI bool removeItem_s(int slot, unsigned int number); + LIAPI ItemStack* getSlot(int slot); + LIAPI std::vector getAllSlots(); + LIAPI int getSize(); + + // static?? + LIAPI bool hasContainer(Vec3& pos, int dim); + // static?? + LIAPI Container* getContainerAt(Vec3& pos, int dim); + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_CONTAINER +public: + class Container& operator=(class Container const &) = delete; + Container(class Container const &) = delete; + Container() = delete; +#endif + +public: + /*0*/ virtual ~Container(); + /*1*/ virtual void init(); + /*2*/ virtual void serverInitItemStackIds(int, int, class std::function) = 0; + /*3*/ virtual void addContentChangeListener(class ContainerContentChangeListener *); + /*4*/ virtual void removeContentChangeListener(class ContainerContentChangeListener *); + /*5*/ virtual class ItemStack const & getItem(int) const = 0; + /*6*/ virtual bool hasRoomForItem(class ItemStack const &); + /*7*/ virtual void addItem(class ItemStack &); + /*8*/ virtual bool addItemToFirstEmptySlot(class ItemStack &); + /*9*/ virtual void setItem(int, class ItemStack const &) = 0; + /*10*/ virtual void setItemWithForceBalance(int, class ItemStack const &, bool); + /*11*/ virtual void removeItem(int, int); + /*12*/ virtual void removeAllItems(); + /*13*/ virtual void dropContents(class BlockSource &, class Vec3 const &, bool); + /*14*/ virtual int getContainerSize() const = 0; + /*15*/ virtual int getMaxStackSize() const = 0; + /*16*/ virtual void startOpen(class Player &) = 0; + /*17*/ virtual void stopOpen(class Player &) = 0; + /*18*/ virtual std::vector getSlotCopies() const; + /*19*/ virtual std::vector const getSlots() const; + /*20*/ virtual int getItemCount(class ItemStack const &); + /*21*/ virtual int findFirstSlotForItem(class ItemStack const &) const; + /*22*/ virtual void __unk_vfn_22(); + /*23*/ virtual void __unk_vfn_23(); + /*24*/ virtual void setContainerChanged(int); + /*25*/ virtual void setContainerMoved(); + /*26*/ virtual void setCustomName(std::string const &); + /*27*/ virtual bool hasCustomName() const; + /*28*/ virtual void readAdditionalSaveData(class CompoundTag const &); + /*29*/ virtual void addAdditionalSaveData(class CompoundTag &); + /*30*/ virtual void createTransactionContext(class std::function, class std::function); + /*31*/ virtual void initializeContainerContents(class BlockSource &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_CONTAINER + MCVAPI bool canPullOutItem(class BlockSource &, int, int, class ItemInstance const &) const; + MCVAPI bool canPushInItem(class BlockSource &, int, int, class ItemInstance const &) const; +#endif + MCAPI Container(enum ContainerType); + MCAPI int getItemCount(class std::function); + MCAPI int getRedstoneSignalFromContainer(class BlockSource &); + MCAPI void triggerTransactionChange(int, class ItemStack const &, class ItemStack const &); + MCAPI static enum ContainerType getContainerTypeId(std::string const &); + +//protected: + MCAPI void _serverInitId(int, class ItemStack &, class std::function); + +protected: + MCAPI static class BidirectionalUnorderedMap const containerTypeMap; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ContainerClosePacket.hpp b/LiteLoader/Header/MC/ContainerClosePacket.hpp new file mode 100644 index 0000000..97136b2 --- /dev/null +++ b/LiteLoader/Header/MC/ContainerClosePacket.hpp @@ -0,0 +1,32 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Packet.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ContainerClosePacket : public Packet { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_CONTAINERCLOSEPACKET +public: + class ContainerClosePacket& operator=(class ContainerClosePacket const &) = delete; + ContainerClosePacket(class ContainerClosePacket const &) = delete; + ContainerClosePacket() = delete; +#endif + +public: + /*0*/ virtual ~ContainerClosePacket(); + /*1*/ virtual enum MinecraftPacketIds getId() const; + /*2*/ virtual std::string getName() const; + /*3*/ virtual void write(class BinaryStream &) const; + /*4*/ virtual enum StreamReadResult read(class ReadOnlyBinaryStream &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_CONTAINERCLOSEPACKET +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ContainerComponent.hpp b/LiteLoader/Header/MC/ContainerComponent.hpp new file mode 100644 index 0000000..cb5161b --- /dev/null +++ b/LiteLoader/Header/MC/ContainerComponent.hpp @@ -0,0 +1,48 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ContainerComponent { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_CONTAINERCOMPONENT +public: + class ContainerComponent& operator=(class ContainerComponent const &) = delete; + ContainerComponent(class ContainerComponent const &) = delete; + ContainerComponent() = delete; +#endif + +public: + /*0*/ virtual void containerContentChanged(int); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_CONTAINERCOMPONENT +#endif + MCAPI ContainerComponent(class ContainerComponent &&); + MCAPI void addAdditionalSaveData(class CompoundTag &); + MCAPI bool addItem(class ItemActor &); + MCAPI bool addItem(class BlockSource &, class ItemStack &, int, int); + MCAPI bool canOpenContainer(class Actor const &, class Player &) const; + MCAPI int countItemsOfType(class ItemStack const &) const; + MCAPI void dropContents(class BlockSource &, class Vec3 const &, bool); + MCAPI int getContainerSize() const; + MCAPI class ItemStack const & getItem(int) const; + MCAPI void initFromDefinition(class Actor &, struct ContainerDescription const &); + MCAPI bool openContainer(class Actor &, class Player &); + MCAPI void readAdditionalSaveData(class Actor &, class CompoundTag const &, class DataLoadHelper &); + MCAPI void rebuildContainer(class Actor &, enum ContainerType, int, bool, int, bool); + MCAPI void removeItemsOfType(class ItemStack const &, int); + MCAPI bool setItem(int, class ItemStack const &); + +//private: + MCAPI bool _tryMoveInItem(class BlockSource &, class ItemStack &, int, int, int); + MCAPI void _unpackLootTable(class Level &); + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ContainerContentChangeListener.hpp b/LiteLoader/Header/MC/ContainerContentChangeListener.hpp new file mode 100644 index 0000000..2407b22 --- /dev/null +++ b/LiteLoader/Header/MC/ContainerContentChangeListener.hpp @@ -0,0 +1,26 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ContainerContentChangeListener { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_CONTAINERCONTENTCHANGELISTENER +public: + class ContainerContentChangeListener& operator=(class ContainerContentChangeListener const &) = delete; + ContainerContentChangeListener(class ContainerContentChangeListener const &) = delete; + ContainerContentChangeListener() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_CONTAINERCONTENTCHANGELISTENER +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ContainerDescription.hpp b/LiteLoader/Header/MC/ContainerDescription.hpp new file mode 100644 index 0000000..5e9f0ab --- /dev/null +++ b/LiteLoader/Header/MC/ContainerDescription.hpp @@ -0,0 +1,30 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Json.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +struct ContainerDescription { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_CONTAINERDESCRIPTION +public: + struct ContainerDescription& operator=(struct ContainerDescription const &) = delete; + ContainerDescription(struct ContainerDescription const &) = delete; + ContainerDescription() = delete; +#endif +public: + /*0*/ virtual char const * getJsonName() const; + /*1*/ virtual ~ContainerDescription(); + /*2*/ virtual void deserializeData(class Json::Value &); + /*3*/ virtual void serializeData(class Json::Value &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_CONTAINERDESCRIPTION +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ContainerManagerController.hpp b/LiteLoader/Header/MC/ContainerManagerController.hpp new file mode 100644 index 0000000..888e70e --- /dev/null +++ b/LiteLoader/Header/MC/ContainerManagerController.hpp @@ -0,0 +1,28 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ContainerManagerController { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_CONTAINERMANAGERCONTROLLER +public: + class ContainerManagerController& operator=(class ContainerManagerController const &) = delete; + ContainerManagerController(class ContainerManagerController const &) = delete; + ContainerManagerController() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_CONTAINERMANAGERCONTROLLER +#endif + MCAPI static class gsl::basic_string_span const TRANSFER_NO_DESTINATION; + MCAPI static class gsl::basic_string_span const TRANSFER_NO_ORIGIN; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ContainerManagerModel.hpp b/LiteLoader/Header/MC/ContainerManagerModel.hpp new file mode 100644 index 0000000..812aa0f --- /dev/null +++ b/LiteLoader/Header/MC/ContainerManagerModel.hpp @@ -0,0 +1,48 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ContainerManagerModel { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_CONTAINERMANAGERMODEL +public: + class ContainerManagerModel& operator=(class ContainerManagerModel const &) = delete; + ContainerManagerModel(class ContainerManagerModel const &) = delete; + ContainerManagerModel() = delete; +#endif + +public: + /*0*/ virtual ~ContainerManagerModel(); + /*1*/ virtual enum ContainerID getContainerId() const; + /*2*/ virtual void setContainerId(enum ContainerID); + /*3*/ virtual enum ContainerType getContainerType() const; + /*4*/ virtual void setContainerType(enum ContainerType); + /*5*/ virtual void serverInitItemStackIds(); + /*6*/ virtual std::vector getItemCopies() const = 0; + /*7*/ virtual void setSlot(int, class ItemStack const &, bool) = 0; + /*8*/ virtual class ItemStack const & getSlot(int) const = 0; + /*9*/ virtual void setData(int, int) = 0; + /*10*/ virtual void broadcastChanges() = 0; + /*11*/ virtual bool isValid(float); + /*12*/ virtual class ContainerScreenContext _postInit() = 0; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_CONTAINERMANAGERMODEL +#endif + MCAPI ContainerManagerModel(enum ContainerID, class Player &); + MCAPI void postInit(); + +//protected: + MCAPI void _addContainer(class std::shared_ptr); + MCAPI class std::shared_ptr _getContainer(enum ContainerEnumName) const; + MCAPI bool _isPlayerInRangeOfPosition(class BlockPos const &, float) const; + +protected: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ContainerModel.hpp b/LiteLoader/Header/MC/ContainerModel.hpp new file mode 100644 index 0000000..6bbe310 --- /dev/null +++ b/LiteLoader/Header/MC/ContainerModel.hpp @@ -0,0 +1,68 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ContainerModel { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_CONTAINERMODEL +public: + class ContainerModel& operator=(class ContainerModel const &) = delete; + ContainerModel(class ContainerModel const &) = delete; + ContainerModel() = delete; +#endif + +public: + /*0*/ virtual void containerContentChanged(int); + /*1*/ virtual ~ContainerModel(); + /*2*/ virtual void postInit(); + /*3*/ virtual void releaseResources(); + /*4*/ virtual int getContainerSize() const; + /*5*/ virtual int getFilteredContainerSize() const; + /*6*/ virtual void __unk_vfn_6(); + /*7*/ virtual class ContainerWeakRef getContainerWeakRef() const; + /*8*/ virtual class ItemStack const & getItemStack(int) const; + /*9*/ virtual std::vector const & getItems() const; + /*10*/ virtual class ItemInstance const & getItemInstance(int) const; + /*11*/ virtual class ItemStackBase const & getItemStackBase(int) const; + /*12*/ virtual void __unk_vfn_12(); + /*13*/ virtual void setItem(int, class ItemStack const &); + /*14*/ virtual bool isValid(); + /*15*/ virtual void __unk_vfn_15(); + /*16*/ virtual void __unk_vfn_16(); + /*17*/ virtual enum ContainerExpandStatus getItemExpandStatus(int) const; + /*18*/ virtual std::string const & getItemGroupName(int) const; + /*19*/ virtual void __unk_vfn_19(); + /*20*/ virtual class Container * _getContainer() const; + /*21*/ virtual int _getContainerOffset() const; + /*22*/ virtual void _onItemChanged(int, class ItemStack const &, class ItemStack const &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_CONTAINERMODEL + MCVAPI bool isExpanableItemFiltered(int) const; + MCVAPI bool isItemFiltered(class ItemStackBase const &) const; + MCVAPI bool isItemInstanceBased() const; + MCVAPI void switchItemExpando(int); + MCVAPI void tick(int); +#endif + MCAPI ContainerModel(enum ContainerEnumName, int, enum ContainerCategory, bool); + MCAPI bool isContainerSlotInRange(int) const; + MCAPI void networkUpdateItem(int, class ItemStack const &, class ItemStack const &); + MCAPI void registerOnContainerChangedCallback(class std::function); + +//protected: + MCAPI void _init(); + +//private: + MCAPI void _onClientUIItemNetworkChanged(int, class ItemStack const &, class ItemStack const &); + +protected: + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ContainerOpenPacket.hpp b/LiteLoader/Header/MC/ContainerOpenPacket.hpp new file mode 100644 index 0000000..b0eb0f6 --- /dev/null +++ b/LiteLoader/Header/MC/ContainerOpenPacket.hpp @@ -0,0 +1,32 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Packet.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ContainerOpenPacket : public Packet { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_CONTAINEROPENPACKET +public: + class ContainerOpenPacket& operator=(class ContainerOpenPacket const &) = delete; + ContainerOpenPacket(class ContainerOpenPacket const &) = delete; + ContainerOpenPacket() = delete; +#endif + +public: + /*0*/ virtual ~ContainerOpenPacket(); + /*1*/ virtual enum MinecraftPacketIds getId() const; + /*2*/ virtual std::string getName() const; + /*3*/ virtual void write(class BinaryStream &) const; + /*4*/ virtual enum StreamReadResult read(class ReadOnlyBinaryStream &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_CONTAINEROPENPACKET +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ContainerScreenContext.hpp b/LiteLoader/Header/MC/ContainerScreenContext.hpp new file mode 100644 index 0000000..af8a788 --- /dev/null +++ b/LiteLoader/Header/MC/ContainerScreenContext.hpp @@ -0,0 +1,27 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ContainerScreenContext { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_CONTAINERSCREENCONTEXT +public: + class ContainerScreenContext& operator=(class ContainerScreenContext const &) = delete; + ContainerScreenContext(class ContainerScreenContext const &) = delete; + ContainerScreenContext() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_CONTAINERSCREENCONTEXT +#endif + MCAPI class Actor * tryGetActor() const; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ContainerSetDataPacket.hpp b/LiteLoader/Header/MC/ContainerSetDataPacket.hpp new file mode 100644 index 0000000..d1c0897 --- /dev/null +++ b/LiteLoader/Header/MC/ContainerSetDataPacket.hpp @@ -0,0 +1,32 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Packet.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ContainerSetDataPacket : public Packet { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_CONTAINERSETDATAPACKET +public: + class ContainerSetDataPacket& operator=(class ContainerSetDataPacket const &) = delete; + ContainerSetDataPacket(class ContainerSetDataPacket const &) = delete; + ContainerSetDataPacket() = delete; +#endif + +public: + /*0*/ virtual ~ContainerSetDataPacket(); + /*1*/ virtual enum MinecraftPacketIds getId() const; + /*2*/ virtual std::string getName() const; + /*3*/ virtual void write(class BinaryStream &) const; + /*4*/ virtual enum StreamReadResult read(class ReadOnlyBinaryStream &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_CONTAINERSETDATAPACKET +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ContainerSizeChangeListener.hpp b/LiteLoader/Header/MC/ContainerSizeChangeListener.hpp new file mode 100644 index 0000000..57d4644 --- /dev/null +++ b/LiteLoader/Header/MC/ContainerSizeChangeListener.hpp @@ -0,0 +1,26 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ContainerSizeChangeListener { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_CONTAINERSIZECHANGELISTENER +public: + class ContainerSizeChangeListener& operator=(class ContainerSizeChangeListener const &) = delete; + ContainerSizeChangeListener(class ContainerSizeChangeListener const &) = delete; + ContainerSizeChangeListener() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_CONTAINERSIZECHANGELISTENER +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ContainerValidation.hpp b/LiteLoader/Header/MC/ContainerValidation.hpp new file mode 100644 index 0000000..8f70ad4 --- /dev/null +++ b/LiteLoader/Header/MC/ContainerValidation.hpp @@ -0,0 +1,32 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ContainerValidation { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_CONTAINERVALIDATION +public: + class ContainerValidation& operator=(class ContainerValidation const &) = delete; + ContainerValidation(class ContainerValidation const &) = delete; + ContainerValidation() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_CONTAINERVALIDATION +#endif + MCAPI static void assignValidationDelegates(class SparseContainer &, enum ContainerEnumName, class ContainerScreenContext const &); + +//private: + MCAPI static void assignValidForSlotContainerDelegate(class SparseContainer &, enum ContainerEnumName, class ContainerScreenContext const &); + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ContainerWeakRef.hpp b/LiteLoader/Header/MC/ContainerWeakRef.hpp new file mode 100644 index 0000000..018f11f --- /dev/null +++ b/LiteLoader/Header/MC/ContainerWeakRef.hpp @@ -0,0 +1,29 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ContainerWeakRef { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_CONTAINERWEAKREF +public: + class ContainerWeakRef& operator=(class ContainerWeakRef const &) = delete; + ContainerWeakRef(class ContainerWeakRef const &) = delete; + ContainerWeakRef() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_CONTAINERWEAKREF +#endif + MCAPI struct ContainerWeakRefData tryGetContainer(class BlockSource &) const; + MCAPI static class ContainerWeakRef getOrInitActorContainer(class Actor &, enum ActorContainerType); + MCAPI static class Container * tryGetActorContainer(class Actor &, enum ActorContainerType); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ContentIdentity.hpp b/LiteLoader/Header/MC/ContentIdentity.hpp new file mode 100644 index 0000000..12523b2 --- /dev/null +++ b/LiteLoader/Header/MC/ContentIdentity.hpp @@ -0,0 +1,27 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ContentIdentity { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_CONTENTIDENTITY +public: + class ContentIdentity& operator=(class ContentIdentity const &) = delete; + ContentIdentity(class ContentIdentity const &) = delete; + ContentIdentity() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_CONTENTIDENTITY +#endif + MCAPI static class ContentIdentity EMPTY; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ContentLog.hpp b/LiteLoader/Header/MC/ContentLog.hpp new file mode 100644 index 0000000..b0ce8cd --- /dev/null +++ b/LiteLoader/Header/MC/ContentLog.hpp @@ -0,0 +1,32 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ContentLog { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_CONTENTLOG +public: + class ContentLog& operator=(class ContentLog const &) = delete; + ContentLog(class ContentLog const &) = delete; + ContentLog() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_CONTENTLOG +#endif + MCAPI bool isEnabled() const; + MCAPI void log(enum LogLevel, enum LogArea, ...); + MCAPI void unregisterEndPoint(class gsl::not_null); + MCAPI void updateEnabledStatus(); + MCAPI void writeToLog(enum LogArea, enum LogLevel, char *&); + MCAPI static char const * getLogAreaName(enum LogArea); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ContentLogEndPoint.hpp b/LiteLoader/Header/MC/ContentLogEndPoint.hpp new file mode 100644 index 0000000..035acec --- /dev/null +++ b/LiteLoader/Header/MC/ContentLogEndPoint.hpp @@ -0,0 +1,28 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ContentLogEndPoint { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_CONTENTLOGENDPOINT +public: + class ContentLogEndPoint& operator=(class ContentLogEndPoint const &) = delete; + ContentLogEndPoint(class ContentLogEndPoint const &) = delete; + ContentLogEndPoint() = delete; +#endif + +public: + /*0*/ virtual ~ContentLogEndPoint(); + /*1*/ virtual void log(char const *); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_CONTENTLOGENDPOINT +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ContentLogFileEndPoint.hpp b/LiteLoader/Header/MC/ContentLogFileEndPoint.hpp new file mode 100644 index 0000000..39cd45b --- /dev/null +++ b/LiteLoader/Header/MC/ContentLogFileEndPoint.hpp @@ -0,0 +1,35 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Core.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ContentLogFileEndPoint { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_CONTENTLOGFILEENDPOINT +public: + class ContentLogFileEndPoint& operator=(class ContentLogFileEndPoint const &) = delete; + ContentLogFileEndPoint(class ContentLogFileEndPoint const &) = delete; + ContentLogFileEndPoint() = delete; +#endif + +public: + /*0*/ virtual ~ContentLogFileEndPoint(); + /*1*/ virtual void __unk_vfn_1(); + /*2*/ virtual void flush(); + /*3*/ virtual void setEnabled(bool); + /*4*/ virtual bool isEnabled() const; + /*5*/ virtual void log(enum LogArea, enum LogLevel, char const *); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_CONTENTLOGFILEENDPOINT +#endif + MCAPI ContentLogFileEndPoint(class Core::Path, class Core::Path); + MCAPI static class gsl::basic_string_span const FILE_NAME; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ContextAccessor.hpp b/LiteLoader/Header/MC/ContextAccessor.hpp new file mode 100644 index 0000000..f1820e3 --- /dev/null +++ b/LiteLoader/Header/MC/ContextAccessor.hpp @@ -0,0 +1,27 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ContextAccessor { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_CONTEXTACCESSOR +public: + class ContextAccessor& operator=(class ContextAccessor const &) = delete; + ContextAccessor(class ContextAccessor const &) = delete; + ContextAccessor() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_CONTEXTACCESSOR +#endif + MCAPI ~ContextAccessor(); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ContextMessageLogger.hpp b/LiteLoader/Header/MC/ContextMessageLogger.hpp new file mode 100644 index 0000000..fe18860 --- /dev/null +++ b/LiteLoader/Header/MC/ContextMessageLogger.hpp @@ -0,0 +1,27 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ContextMessageLogger { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_CONTEXTMESSAGELOGGER +public: + class ContextMessageLogger& operator=(class ContextMessageLogger const &) = delete; + ContextMessageLogger(class ContextMessageLogger const &) = delete; + ContextMessageLogger() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_CONTEXTMESSAGELOGGER +#endif + MCAPI ContextMessageLogger(class ContextMessageLoggerOptions const &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ContextMessageLoggerOptions.hpp b/LiteLoader/Header/MC/ContextMessageLoggerOptions.hpp new file mode 100644 index 0000000..b968d2a --- /dev/null +++ b/LiteLoader/Header/MC/ContextMessageLoggerOptions.hpp @@ -0,0 +1,26 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ContextMessageLoggerOptions { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_CONTEXTMESSAGELOGGEROPTIONS +public: + class ContextMessageLoggerOptions& operator=(class ContextMessageLoggerOptions const &) = delete; + ContextMessageLoggerOptions(class ContextMessageLoggerOptions const &) = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_CONTEXTMESSAGELOGGEROPTIONS +#endif + MCAPI ContextMessageLoggerOptions(); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/Control.hpp b/LiteLoader/Header/MC/Control.hpp new file mode 100644 index 0000000..c24cf5e --- /dev/null +++ b/LiteLoader/Header/MC/Control.hpp @@ -0,0 +1,26 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class Control { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_CONTROL +public: + class Control& operator=(class Control const &) = delete; + Control(class Control const &) = delete; + Control() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_CONTROL +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ControlledByPlayerGoal.hpp b/LiteLoader/Header/MC/ControlledByPlayerGoal.hpp new file mode 100644 index 0000000..a131b0b --- /dev/null +++ b/LiteLoader/Header/MC/ControlledByPlayerGoal.hpp @@ -0,0 +1,34 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ControlledByPlayerGoal { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_CONTROLLEDBYPLAYERGOAL +public: + class ControlledByPlayerGoal& operator=(class ControlledByPlayerGoal const &) = delete; + ControlledByPlayerGoal(class ControlledByPlayerGoal const &) = delete; + ControlledByPlayerGoal() = delete; +#endif + +public: + /*0*/ virtual ~ControlledByPlayerGoal(); + /*1*/ virtual bool canUse(); + /*2*/ virtual void __unk_vfn_2(); + /*3*/ virtual void __unk_vfn_3(); + /*4*/ virtual void start(); + /*5*/ virtual void stop(); + /*6*/ virtual void tick(); + /*7*/ virtual void appendDebugInfo(std::string &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_CONTROLLEDBYPLAYERGOAL +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/Coral.hpp b/LiteLoader/Header/MC/Coral.hpp new file mode 100644 index 0000000..c6b5931 --- /dev/null +++ b/LiteLoader/Header/MC/Coral.hpp @@ -0,0 +1,84 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "BlockLegacy.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class Coral : public BlockLegacy { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_CORAL +public: + class Coral& operator=(class Coral const &) = delete; + Coral(class Coral const &) = delete; + Coral() = delete; +#endif + +public: + /*0*/ virtual ~Coral(); + /*1*/ virtual void tick(class BlockSource &, class BlockPos const &, class Random &) const; + /*8*/ virtual class Vec3 randomlyModifyPosition(class BlockPos const &) const; + /*10*/ virtual class AABB const & getAABB(class BlockSource &, class BlockPos const &, class Block const &, class AABB &, bool) const; + /*18*/ virtual void __unk_vfn_18(); + /*24*/ virtual void __unk_vfn_24(); + /*25*/ virtual void __unk_vfn_25(); + /*26*/ virtual void __unk_vfn_26(); + /*27*/ virtual void __unk_vfn_27(); + /*28*/ virtual void __unk_vfn_28(); + /*29*/ virtual bool isWaterBlocking() const; + /*30*/ virtual void __unk_vfn_30(); + /*31*/ virtual void __unk_vfn_31(); + /*32*/ virtual void __unk_vfn_32(); + /*33*/ virtual void __unk_vfn_33(); + /*34*/ virtual void __unk_vfn_34(); + /*35*/ virtual void __unk_vfn_35(); + /*36*/ virtual void __unk_vfn_36(); + /*38*/ virtual void __unk_vfn_38(); + /*39*/ virtual void __unk_vfn_39(); + /*40*/ virtual void __unk_vfn_40(); + /*42*/ virtual void __unk_vfn_42(); + /*43*/ virtual void __unk_vfn_43(); + /*44*/ virtual bool isValidAuxValue(int) const; + /*49*/ virtual void __unk_vfn_49(); + /*52*/ virtual void __unk_vfn_52(); + /*59*/ virtual void onPlace(class BlockSource &, class BlockPos const &) const; + /*67*/ virtual void __unk_vfn_67(); + /*73*/ virtual void __unk_vfn_73(); + /*76*/ virtual bool mayConsumeFertilizer(class BlockSource &) const; + /*82*/ virtual bool mayPlaceOn(class BlockSource &, class BlockPos const &) const; + /*87*/ virtual void __unk_vfn_87(); + /*88*/ virtual void neighborChanged(class BlockSource &, class BlockPos const &, class BlockPos const &) const; + /*90*/ virtual int getResourceCount(class Random &, class Block const &, int, bool) const; + /*93*/ virtual void spawnResources(class BlockSource &, class BlockPos const &, class Block const &, std::vector *, float, int, bool) const; + /*95*/ virtual void __unk_vfn_95(); + /*105*/ virtual void playerDestroy(class Player &, class BlockPos const &, class Block const &) const; + /*106*/ virtual bool canSurvive(class BlockSource &, class BlockPos const &) const; + /*109*/ virtual void __unk_vfn_109(); + /*113*/ virtual class Color getMapColor(class BlockSource &, class BlockPos const &) const; + /*116*/ virtual void __unk_vfn_116(); + /*118*/ virtual void __unk_vfn_118(); + /*119*/ virtual void __unk_vfn_119(); + /*127*/ virtual std::string buildDescriptionId(class Block const &) const; + /*128*/ virtual bool isAuxValueRelevantForPicking() const; + /*129*/ virtual int getColor(class Block const &) const; + /*130*/ virtual int getColor(class BlockSource &, class BlockPos const &, class Block const &) const; + /*141*/ virtual int getVariant(class Block const &) const; + /*142*/ virtual void __unk_vfn_142(); + /*158*/ virtual void __unk_vfn_158(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_CORAL + MCVAPI bool canBeSilkTouched() const; + MCVAPI bool waterSpreadCausesSpawn() const; +#endif + +//protected: + MCAPI void checkAlive(class BlockSource &, class BlockPos const &) const; + +protected: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/CoralBlock.hpp b/LiteLoader/Header/MC/CoralBlock.hpp new file mode 100644 index 0000000..35ea441 --- /dev/null +++ b/LiteLoader/Header/MC/CoralBlock.hpp @@ -0,0 +1,69 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "BlockLegacy.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class CoralBlock : public BlockLegacy { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_CORALBLOCK +public: + class CoralBlock& operator=(class CoralBlock const &) = delete; + CoralBlock(class CoralBlock const &) = delete; + CoralBlock() = delete; +#endif + +public: + /*0*/ virtual ~CoralBlock(); + /*1*/ virtual void tick(class BlockSource &, class BlockPos const &, class Random &) const; + /*18*/ virtual void __unk_vfn_18(); + /*24*/ virtual void __unk_vfn_24(); + /*25*/ virtual void __unk_vfn_25(); + /*26*/ virtual void __unk_vfn_26(); + /*27*/ virtual void __unk_vfn_27(); + /*28*/ virtual void __unk_vfn_28(); + /*30*/ virtual void __unk_vfn_30(); + /*31*/ virtual void __unk_vfn_31(); + /*32*/ virtual void __unk_vfn_32(); + /*33*/ virtual void __unk_vfn_33(); + /*34*/ virtual void __unk_vfn_34(); + /*35*/ virtual void __unk_vfn_35(); + /*36*/ virtual void __unk_vfn_36(); + /*38*/ virtual void __unk_vfn_38(); + /*39*/ virtual void __unk_vfn_39(); + /*40*/ virtual void __unk_vfn_40(); + /*42*/ virtual void __unk_vfn_42(); + /*43*/ virtual void __unk_vfn_43(); + /*44*/ virtual bool isValidAuxValue(int) const; + /*49*/ virtual void __unk_vfn_49(); + /*52*/ virtual void __unk_vfn_52(); + /*59*/ virtual void onPlace(class BlockSource &, class BlockPos const &) const; + /*67*/ virtual void __unk_vfn_67(); + /*73*/ virtual void __unk_vfn_73(); + /*87*/ virtual void __unk_vfn_87(); + /*88*/ virtual void neighborChanged(class BlockSource &, class BlockPos const &, class BlockPos const &) const; + /*91*/ virtual class ItemInstance getResourceItem(class Random &, class Block const &, int) const; + /*92*/ virtual class ItemInstance asItemInstance(class BlockSource &, class BlockPos const &, class Block const &) const; + /*95*/ virtual void __unk_vfn_95(); + /*109*/ virtual void __unk_vfn_109(); + /*116*/ virtual void __unk_vfn_116(); + /*118*/ virtual void __unk_vfn_118(); + /*119*/ virtual void __unk_vfn_119(); + /*127*/ virtual std::string buildDescriptionId(class Block const &) const; + /*128*/ virtual bool isAuxValueRelevantForPicking() const; + /*141*/ virtual int getVariant(class Block const &) const; + /*142*/ virtual void __unk_vfn_142(); + /*158*/ virtual void __unk_vfn_158(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_CORALBLOCK + MCVAPI bool canBeSilkTouched() const; +#endif + MCAPI static int const DEAD_CORAL_OFFSET; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/CoralCrustFeature.hpp b/LiteLoader/Header/MC/CoralCrustFeature.hpp new file mode 100644 index 0000000..e940ef3 --- /dev/null +++ b/LiteLoader/Header/MC/CoralCrustFeature.hpp @@ -0,0 +1,40 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Feature.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class CoralCrustFeature : public Feature { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_CORALCRUSTFEATURE +public: + class CoralCrustFeature& operator=(class CoralCrustFeature const &) = delete; + CoralCrustFeature(class CoralCrustFeature const &) = delete; + CoralCrustFeature() = delete; +#endif + +public: + /*0*/ virtual ~CoralCrustFeature(); + /*1*/ virtual bool place(class BlockSource &, class BlockPos const &, class Random &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_CORALCRUSTFEATURE +#endif + +//private: + MCAPI class BlockPos _getCropOffsetFromRot(int, int) const; + MCAPI class BlockPos _getOffsetFromRot(int, int) const; + MCAPI void _placeCoral(class BlockSource &, class BlockPos const &, class Random &, std::vector &, std::vector> &, int) const; + MCAPI void _placeCoralBase(class BlockSource &, class BlockPos const &, class Random &, class LegacyStructureTemplate &, class LegacyStructureSettings &) const; + MCAPI void _placeSideDecorations(class BlockSource &, class BlockPos const &, class Random &, unsigned char) const; + MCAPI void _placeTopDecorations(class BlockSource &, class BlockPos const &, class Random &) const; + MCAPI class gsl::not_null _setCoralHangData(int, int, int) const; + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/CoralFan.hpp b/LiteLoader/Header/MC/CoralFan.hpp new file mode 100644 index 0000000..ea2eae6 --- /dev/null +++ b/LiteLoader/Header/MC/CoralFan.hpp @@ -0,0 +1,84 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "BlockLegacy.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class CoralFan : public BlockLegacy { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_CORALFAN +public: + class CoralFan& operator=(class CoralFan const &) = delete; + CoralFan(class CoralFan const &) = delete; + CoralFan() = delete; +#endif + +public: + /*0*/ virtual ~CoralFan(); + /*1*/ virtual void tick(class BlockSource &, class BlockPos const &, class Random &) const; + /*8*/ virtual class Vec3 randomlyModifyPosition(class BlockPos const &) const; + /*10*/ virtual class AABB const & getAABB(class BlockSource &, class BlockPos const &, class Block const &, class AABB &, bool) const; + /*18*/ virtual void __unk_vfn_18(); + /*24*/ virtual void __unk_vfn_24(); + /*25*/ virtual void __unk_vfn_25(); + /*26*/ virtual void __unk_vfn_26(); + /*27*/ virtual void __unk_vfn_27(); + /*28*/ virtual void __unk_vfn_28(); + /*29*/ virtual bool isWaterBlocking() const; + /*30*/ virtual void __unk_vfn_30(); + /*31*/ virtual void __unk_vfn_31(); + /*32*/ virtual void __unk_vfn_32(); + /*33*/ virtual void __unk_vfn_33(); + /*34*/ virtual void __unk_vfn_34(); + /*35*/ virtual void __unk_vfn_35(); + /*36*/ virtual void __unk_vfn_36(); + /*38*/ virtual void __unk_vfn_38(); + /*39*/ virtual void __unk_vfn_39(); + /*40*/ virtual void __unk_vfn_40(); + /*42*/ virtual void __unk_vfn_42(); + /*43*/ virtual void __unk_vfn_43(); + /*44*/ virtual bool isValidAuxValue(int) const; + /*49*/ virtual void __unk_vfn_49(); + /*50*/ virtual bool canContainLiquid() const; + /*52*/ virtual void __unk_vfn_52(); + /*59*/ virtual void onPlace(class BlockSource &, class BlockPos const &) const; + /*67*/ virtual void __unk_vfn_67(); + /*73*/ virtual void __unk_vfn_73(); + /*76*/ virtual bool mayConsumeFertilizer(class BlockSource &) const; + /*82*/ virtual bool mayPlaceOn(class BlockSource &, class BlockPos const &) const; + /*87*/ virtual void __unk_vfn_87(); + /*88*/ virtual void neighborChanged(class BlockSource &, class BlockPos const &, class BlockPos const &) const; + /*90*/ virtual int getResourceCount(class Random &, class Block const &, int, bool) const; + /*91*/ virtual class ItemInstance getResourceItem(class Random &, class Block const &, int) const; + /*92*/ virtual class ItemInstance asItemInstance(class BlockSource &, class BlockPos const &, class Block const &) const; + /*93*/ virtual void spawnResources(class BlockSource &, class BlockPos const &, class Block const &, std::vector *, float, int, bool) const; + /*95*/ virtual void __unk_vfn_95(); + /*105*/ virtual void playerDestroy(class Player &, class BlockPos const &, class Block const &) const; + /*109*/ virtual void __unk_vfn_109(); + /*113*/ virtual class Color getMapColor(class BlockSource &, class BlockPos const &) const; + /*116*/ virtual void __unk_vfn_116(); + /*118*/ virtual void __unk_vfn_118(); + /*119*/ virtual void __unk_vfn_119(); + /*127*/ virtual std::string buildDescriptionId(class Block const &) const; + /*128*/ virtual bool isAuxValueRelevantForPicking() const; + /*129*/ virtual int getColor(class Block const &) const; + /*130*/ virtual int getColor(class BlockSource &, class BlockPos const &, class Block const &) const; + /*141*/ virtual int getVariant(class Block const &) const; + /*142*/ virtual void __unk_vfn_142(); + /*158*/ virtual void __unk_vfn_158(); + /*159*/ virtual class ItemInstance getSilkTouchItemInstance(class Block const &) const; + /*164*/ virtual void checkAlive(class BlockSource &, class BlockPos const &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_CORALFAN + MCVAPI bool canBeSilkTouched() const; +#endif + MCAPI CoralFan(std::string const &, int); + MCAPI static std::string const CORAL_FAN_NAMES[]; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/CoralFanBlockItem.hpp b/LiteLoader/Header/MC/CoralFanBlockItem.hpp new file mode 100644 index 0000000..34b50c8 --- /dev/null +++ b/LiteLoader/Header/MC/CoralFanBlockItem.hpp @@ -0,0 +1,47 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "BlockItem.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class CoralFanBlockItem : public BlockItem { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_CORALFANBLOCKITEM +public: + class CoralFanBlockItem& operator=(class CoralFanBlockItem const &) = delete; + CoralFanBlockItem(class CoralFanBlockItem const &) = delete; + CoralFanBlockItem() = delete; +#endif + +public: + /*0*/ virtual ~CoralFanBlockItem(); + /*5*/ virtual void __unk_vfn_5(); + /*21*/ virtual int getLevelDataForAuxValue(int) const; + /*26*/ virtual void __unk_vfn_26(); + /*27*/ virtual void __unk_vfn_27(); + /*31*/ virtual void __unk_vfn_31(); + /*32*/ virtual void __unk_vfn_32(); + /*34*/ virtual void __unk_vfn_34(); + /*37*/ virtual void __unk_vfn_37(); + /*43*/ virtual void __unk_vfn_43(); + /*44*/ virtual bool isValidAuxValue(int) const; + /*46*/ virtual void __unk_vfn_46(); + /*47*/ virtual void __unk_vfn_47(); + /*49*/ virtual void __unk_vfn_49(); + /*50*/ virtual void __unk_vfn_50(); + /*79*/ virtual void __unk_vfn_79(); + /*80*/ virtual void __unk_vfn_80(); + /*90*/ virtual void __unk_vfn_90(); + /*97*/ virtual void __unk_vfn_97(); + /*99*/ virtual bool _useOn(class ItemStack &, class Actor &, class BlockPos, unsigned char, float, float, float) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_CORALFANBLOCKITEM +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/CoralFanHang.hpp b/LiteLoader/Header/MC/CoralFanHang.hpp new file mode 100644 index 0000000..8862bec --- /dev/null +++ b/LiteLoader/Header/MC/CoralFanHang.hpp @@ -0,0 +1,70 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "CoralFan.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class CoralFanHang : public CoralFan { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_CORALFANHANG +public: + class CoralFanHang& operator=(class CoralFanHang const &) = delete; + CoralFanHang(class CoralFanHang const &) = delete; + CoralFanHang() = delete; +#endif + +public: + /*0*/ virtual ~CoralFanHang(); + /*8*/ virtual class Vec3 randomlyModifyPosition(class BlockPos const &) const; + /*10*/ virtual class AABB const & getAABB(class BlockSource &, class BlockPos const &, class Block const &, class AABB &, bool) const; + /*18*/ virtual void __unk_vfn_18(); + /*24*/ virtual void __unk_vfn_24(); + /*25*/ virtual void __unk_vfn_25(); + /*26*/ virtual void __unk_vfn_26(); + /*27*/ virtual void __unk_vfn_27(); + /*28*/ virtual void __unk_vfn_28(); + /*30*/ virtual void __unk_vfn_30(); + /*31*/ virtual void __unk_vfn_31(); + /*32*/ virtual void __unk_vfn_32(); + /*33*/ virtual void __unk_vfn_33(); + /*34*/ virtual void __unk_vfn_34(); + /*35*/ virtual void __unk_vfn_35(); + /*36*/ virtual void __unk_vfn_36(); + /*38*/ virtual void __unk_vfn_38(); + /*39*/ virtual void __unk_vfn_39(); + /*40*/ virtual void __unk_vfn_40(); + /*42*/ virtual void __unk_vfn_42(); + /*43*/ virtual void __unk_vfn_43(); + /*49*/ virtual void __unk_vfn_49(); + /*52*/ virtual void __unk_vfn_52(); + /*59*/ virtual void onPlace(class BlockSource &, class BlockPos const &) const; + /*67*/ virtual void __unk_vfn_67(); + /*73*/ virtual void __unk_vfn_73(); + /*82*/ virtual bool mayPlaceOn(class BlockSource &, class BlockPos const &) const; + /*87*/ virtual void __unk_vfn_87(); + /*88*/ virtual void neighborChanged(class BlockSource &, class BlockPos const &, class BlockPos const &) const; + /*90*/ virtual int getResourceCount(class Random &, class Block const &, int, bool) const; + /*91*/ virtual class ItemInstance getResourceItem(class Random &, class Block const &, int) const; + /*92*/ virtual class ItemInstance asItemInstance(class BlockSource &, class BlockPos const &, class Block const &) const; + /*95*/ virtual void __unk_vfn_95(); + /*109*/ virtual void __unk_vfn_109(); + /*116*/ virtual void __unk_vfn_116(); + /*118*/ virtual void __unk_vfn_118(); + /*119*/ virtual void __unk_vfn_119(); + /*127*/ virtual std::string buildDescriptionId(class Block const &) const; + /*141*/ virtual int getVariant(class Block const &) const; + /*142*/ virtual void __unk_vfn_142(); + /*158*/ virtual void __unk_vfn_158(); + /*159*/ virtual class ItemInstance getSilkTouchItemInstance(class Block const &) const; + /*164*/ virtual void checkAlive(class BlockSource &, class BlockPos const &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_CORALFANHANG +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/CoralFeature.hpp b/LiteLoader/Header/MC/CoralFeature.hpp new file mode 100644 index 0000000..9940e3c --- /dev/null +++ b/LiteLoader/Header/MC/CoralFeature.hpp @@ -0,0 +1,47 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Feature.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class CoralFeature : public Feature { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_CORALFEATURE +public: + class CoralFeature& operator=(class CoralFeature const &) = delete; + CoralFeature(class CoralFeature const &) = delete; + CoralFeature() = delete; +#endif + +public: + /*0*/ virtual ~CoralFeature(); + /*1*/ virtual bool place(class BlockSource &, class BlockPos const &, class Random &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_CORALFEATURE +#endif + +//private: + MCAPI void _buildHand(class BlockSource &, class BlockPos const &, class Random &, std::vector &, std::vector> &, class gsl::not_null) const; + MCAPI void _buildPlantArm(class BlockSource &, class Random &, class BlockPos const &, class gsl::not_null, std::vector &, std::vector> &, unsigned char, bool) const; + MCAPI void _buildPlantLike(class BlockSource &, class BlockPos const &, class Random &, std::vector &, std::vector> &, class gsl::not_null) const; + MCAPI void _buildSmallClump(class BlockSource &, class BlockPos const &, class Random &, std::vector &, std::vector> &, class gsl::not_null) const; + MCAPI void _buildSpire(class BlockSource &, class BlockPos const &, class Random &, std::vector &, std::vector> &, class gsl::not_null) const; + MCAPI void _placeCoral(class BlockSource &, class BlockPos const &, class Random &, std::vector &, std::vector> &, int) const; + MCAPI void _placeSideDecorations(class BlockSource &, class BlockPos const &, class Random &, unsigned char) const; + MCAPI void _placeTopDecorations(class BlockSource &, class BlockPos const &, class Random &) const; + MCAPI unsigned char _randomDirectionExcept(class Random &, unsigned char) const; + MCAPI bool _setBlock(class BlockSource &, class BlockPos const &, class gsl::not_null, int) const; + MCAPI bool _setBlockOnSolid(class BlockSource &, class BlockPos const &, class gsl::not_null, int) const; + MCAPI class gsl::not_null _setCoralHangData(int, int, int) const; + MCAPI void _starCorners(class BlockSource &, class Random &, class BlockPos const &, class gsl::not_null, float, int, bool) const; + MCAPI void _starFormation(class BlockSource &, class Random &, class BlockPos const &, class gsl::not_null, float, int, bool) const; + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/CoralHangFeature.hpp b/LiteLoader/Header/MC/CoralHangFeature.hpp new file mode 100644 index 0000000..5ad9d3b --- /dev/null +++ b/LiteLoader/Header/MC/CoralHangFeature.hpp @@ -0,0 +1,34 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Feature.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class CoralHangFeature : public Feature { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_CORALHANGFEATURE +public: + class CoralHangFeature& operator=(class CoralHangFeature const &) = delete; + CoralHangFeature(class CoralHangFeature const &) = delete; + CoralHangFeature() = delete; +#endif + +public: + /*0*/ virtual ~CoralHangFeature(); + /*1*/ virtual bool place(class BlockSource &, class BlockPos const &, class Random &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_CORALHANGFEATURE +#endif + +//private: + MCAPI unsigned char _randomDirection(class Random &, class BlockSource const &, class BlockPos const &) const; + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/Core.hpp b/LiteLoader/Header/MC/Core.hpp new file mode 100644 index 0000000..1b08249 --- /dev/null +++ b/LiteLoader/Header/MC/Core.hpp @@ -0,0 +1,129 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +namespace Core { + +#define AFTER_EXTRA +// Add Member There +class IFileSystem; +enum FileBufferingMode; +enum LevelStorageState; +enum DirectoryIterationFlags; +template +class StackString { +public: + StackString() = delete; + StackString(StackString const&) = delete; + StackString(StackString const&&) = delete; +}; +template +class Subject { +public: + Subject() = delete; + Subject(Subject const&) = delete; + Subject(Subject const&&) = delete; +}; +class FileStorageArea { +public: + FileStorageArea() = delete; + FileStorageArea(FileStorageArea const&) = delete; + FileStorageArea(FileStorageArea const&&) = delete; +}; +class StringSpan { +public: + StringSpan() = delete; + StringSpan(StringSpan const&) = delete; + StringSpan(StringSpan const&&) = delete; +}; +class FileOpenMode { +public: + FileOpenMode() = delete; + FileOpenMode(FileOpenMode const&) = delete; + FileOpenMode(FileOpenMode const&&) = delete; +}; + +struct LevelStorageResult { + LevelStorageResult() = delete; + LevelStorageResult(LevelStorageResult const&) = delete; + LevelStorageResult(LevelStorageResult const&&) = delete; +}; +class Result { +public: + Result() = delete; + Result(Result const&) = delete; + Result(Result const&&) = delete; +}; +class FileSystemImpl { +public: + FileSystemImpl() = delete; + FileSystemImpl(FileSystemImpl const&) = delete; + FileSystemImpl(FileSystemImpl const&&) = delete; +}; +class SingleThreadedLock { +public: + SingleThreadedLock() = delete; + SingleThreadedLock(SingleThreadedLock const&) = delete; + SingleThreadedLock(SingleThreadedLock const&&) = delete; +}; + +class PathPart { +public: + std::string mUtf8StdString; +}; + +class Path { +public: + PathPart mPath; + Path(string a1) { + mPath.mUtf8StdString = a1; + } +}; + +template +class PathBuffer { + T value; + +public: + T& get() { + return value; + } + operator T&() noexcept { + return value; + } + operator T const&() const noexcept { + return value; + } +}; + + +class FilePathManager { +public: + FilePathManager() = delete; + FilePathManager(FilePathManager const&) = delete; + FilePathManager(FilePathManager const&&) = delete; +}; +class Profile { +struct FileCounters { + FileCounters() = delete; + FileCounters(FileCounters const&) = delete; + FileCounters(FileCounters const&&) = delete; +}; +Profile() = delete; +Profile(Profile const&) = delete; +Profile(Profile const&&) = delete; +}; +enum FileAccessType; + +#undef AFTER_EXTRA + MCAPI extern std::string const sLockBlobName; + MCAPI extern std::string const sMultiChunkTag; + MCAPI extern class std::shared_ptr sRootStorageArea; + MCAPI class Core::Result transferDirectory(class Core::FileSystemImpl *, class Core::Path const &, class Core::FileSystemImpl *, class Core::Path const &, class std::function const &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/CraftHandleNonImplemented_DEPRECATEDASKTYLAING.hpp b/LiteLoader/Header/MC/CraftHandleNonImplemented_DEPRECATEDASKTYLAING.hpp new file mode 100644 index 0000000..f0515cf --- /dev/null +++ b/LiteLoader/Header/MC/CraftHandleNonImplemented_DEPRECATEDASKTYLAING.hpp @@ -0,0 +1,29 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class CraftHandleNonImplemented_DEPRECATEDASKTYLAING { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_CRAFTHANDLENONIMPLEMENTED_DEPRECATEDASKTYLAING +public: + class CraftHandleNonImplemented_DEPRECATEDASKTYLAING& operator=(class CraftHandleNonImplemented_DEPRECATEDASKTYLAING const &) = delete; + CraftHandleNonImplemented_DEPRECATEDASKTYLAING(class CraftHandleNonImplemented_DEPRECATEDASKTYLAING const &) = delete; + CraftHandleNonImplemented_DEPRECATEDASKTYLAING() = delete; +#endif + +public: + /*0*/ virtual ~CraftHandleNonImplemented_DEPRECATEDASKTYLAING(); + /*1*/ virtual void __unk_vfn_1(); + /*2*/ virtual bool _handleCraftAction(class ItemStackRequestActionCraftBase const &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_CRAFTHANDLENONIMPLEMENTED_DEPRECATEDASKTYLAING +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/CraftHandlerBase.hpp b/LiteLoader/Header/MC/CraftHandlerBase.hpp new file mode 100644 index 0000000..e880190 --- /dev/null +++ b/LiteLoader/Header/MC/CraftHandlerBase.hpp @@ -0,0 +1,28 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class CraftHandlerBase { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_CRAFTHANDLERBASE +public: + class CraftHandlerBase& operator=(class CraftHandlerBase const &) = delete; + CraftHandlerBase(class CraftHandlerBase const &) = delete; + CraftHandlerBase() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_CRAFTHANDLERBASE + MCVAPI void _postCraftRequest(bool); + MCVAPI void endRequestBatch(); +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/CraftHandlerCrafting.hpp b/LiteLoader/Header/MC/CraftHandlerCrafting.hpp new file mode 100644 index 0000000..052dccd --- /dev/null +++ b/LiteLoader/Header/MC/CraftHandlerCrafting.hpp @@ -0,0 +1,35 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class CraftHandlerCrafting { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_CRAFTHANDLERCRAFTING +public: + class CraftHandlerCrafting& operator=(class CraftHandlerCrafting const &) = delete; + CraftHandlerCrafting(class CraftHandlerCrafting const &) = delete; + CraftHandlerCrafting() = delete; +#endif + +public: + /*0*/ virtual ~CraftHandlerCrafting(); + /*1*/ virtual void __unk_vfn_1(); + /*2*/ virtual bool _handleCraftAction(class ItemStackRequestActionCraftBase const &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_CRAFTHANDLERCRAFTING +#endif + +//private: + MCAPI bool _handleCraftCreative(class ItemStackRequestActionCraft, 11> const &); + MCAPI bool _handleCraftOutput(class ItemStackRequestActionCraft, 9> const &); + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/CraftHandlerEnchant.hpp b/LiteLoader/Header/MC/CraftHandlerEnchant.hpp new file mode 100644 index 0000000..243e5a3 --- /dev/null +++ b/LiteLoader/Header/MC/CraftHandlerEnchant.hpp @@ -0,0 +1,36 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class CraftHandlerEnchant { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_CRAFTHANDLERENCHANT +public: + class CraftHandlerEnchant& operator=(class CraftHandlerEnchant const &) = delete; + CraftHandlerEnchant(class CraftHandlerEnchant const &) = delete; + CraftHandlerEnchant() = delete; +#endif + +public: + /*0*/ virtual ~CraftHandlerEnchant(); + /*1*/ virtual void endRequestBatch(); + /*2*/ virtual bool _handleCraftAction(class ItemStackRequestActionCraftBase const &); + /*3*/ virtual void _postCraftRequest(bool); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_CRAFTHANDLERENCHANT +#endif + +//private: + MCAPI class EnchantingContainerManagerModel & _getEnchantingModel() const; + MCAPI bool _handleEnchant(class ItemStackRequestActionCraft, 9> const &); + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/CraftHandlerTrade.hpp b/LiteLoader/Header/MC/CraftHandlerTrade.hpp new file mode 100644 index 0000000..47b37d0 --- /dev/null +++ b/LiteLoader/Header/MC/CraftHandlerTrade.hpp @@ -0,0 +1,29 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class CraftHandlerTrade { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_CRAFTHANDLERTRADE +public: + class CraftHandlerTrade& operator=(class CraftHandlerTrade const &) = delete; + CraftHandlerTrade(class CraftHandlerTrade const &) = delete; + CraftHandlerTrade() = delete; +#endif + +public: + /*0*/ virtual ~CraftHandlerTrade(); + /*1*/ virtual void __unk_vfn_1(); + /*2*/ virtual bool _handleCraftAction(class ItemStackRequestActionCraftBase const &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_CRAFTHANDLERTRADE +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/CraftableCompounds.hpp b/LiteLoader/Header/MC/CraftableCompounds.hpp new file mode 100644 index 0000000..a52512b --- /dev/null +++ b/LiteLoader/Header/MC/CraftableCompounds.hpp @@ -0,0 +1,38 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class CraftableCompounds { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_CRAFTABLECOMPOUNDS +public: + class CraftableCompounds& operator=(class CraftableCompounds const &) = delete; +#endif + +public: + /*0*/ virtual ~CraftableCompounds(); + /*1*/ virtual void _registerCompound(std::vector const &, class ItemStack const &, enum LabTableReactionType, enum CompoundContainerType); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_CRAFTABLECOMPOUNDS +#endif + MCAPI CraftableCompounds(class CraftableCompounds const &); + MCAPI CraftableCompounds(); + MCAPI class ItemStack const & getCompound(std::vector const &); + MCAPI enum LabTableReactionType getReaction(std::vector const &); + MCAPI void registerCompounds(); + +//protected: + MCAPI std::string _getCompoundId(std::vector const &); + MCAPI void _registerCompound(std::vector const &, enum CompoundType, enum LabTableReactionType, enum CompoundContainerType, int); + MCAPI void _registerCompound(std::vector const &, class ItemStack const &, enum LabTableReactionType, enum CompoundContainerType); + +protected: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/CraftingContainer.hpp b/LiteLoader/Header/MC/CraftingContainer.hpp new file mode 100644 index 0000000..02e3973 --- /dev/null +++ b/LiteLoader/Header/MC/CraftingContainer.hpp @@ -0,0 +1,39 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Container.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class CraftingContainer : public Container { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_CRAFTINGCONTAINER +public: + class CraftingContainer& operator=(class CraftingContainer const &) = delete; + CraftingContainer(class CraftingContainer const &) = delete; + CraftingContainer() = delete; +#endif + +public: + /*0*/ virtual ~CraftingContainer(); + /*2*/ virtual void serverInitItemStackIds(int, int, class std::function); + /*5*/ virtual class ItemStack const & getItem(int) const; + /*9*/ virtual void setItem(int, class ItemStack const &); + /*14*/ virtual int getContainerSize() const; + /*15*/ virtual int getMaxStackSize() const; + /*16*/ virtual void startOpen(class Player &); + /*17*/ virtual void stopOpen(class Player &); + /*22*/ virtual void __unk_vfn_22(); + /*23*/ virtual void __unk_vfn_23(); + /*24*/ virtual void setContainerChanged(int); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_CRAFTINGCONTAINER +#endif + MCAPI CraftingContainer(int, int); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/CraftingDataEntry.hpp b/LiteLoader/Header/MC/CraftingDataEntry.hpp new file mode 100644 index 0000000..a8fc664 --- /dev/null +++ b/LiteLoader/Header/MC/CraftingDataEntry.hpp @@ -0,0 +1,32 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class CraftingDataEntry { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_CRAFTINGDATAENTRY +public: + class CraftingDataEntry& operator=(class CraftingDataEntry const &) = delete; + CraftingDataEntry(class CraftingDataEntry const &) = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_CRAFTINGDATAENTRY +#endif + MCAPI CraftingDataEntry(); + MCAPI CraftingDataEntry(class CraftingDataEntry &&); + MCAPI void fillFromMultiRecipe(class MultiRecipe const &); + MCAPI void fillFromRecipe(class Recipe const &); + MCAPI enum StreamReadResult read(class ReadOnlyBinaryStream &); + MCAPI void write(class BinaryStream &) const; + MCAPI ~CraftingDataEntry(); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/CraftingDataPacket.hpp b/LiteLoader/Header/MC/CraftingDataPacket.hpp new file mode 100644 index 0000000..6672b86 --- /dev/null +++ b/LiteLoader/Header/MC/CraftingDataPacket.hpp @@ -0,0 +1,32 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Packet.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class CraftingDataPacket : public Packet { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_CRAFTINGDATAPACKET +public: + class CraftingDataPacket& operator=(class CraftingDataPacket const &) = delete; + CraftingDataPacket(class CraftingDataPacket const &) = delete; + CraftingDataPacket() = delete; +#endif + +public: + /*0*/ virtual ~CraftingDataPacket(); + /*1*/ virtual enum MinecraftPacketIds getId() const; + /*2*/ virtual std::string getName() const; + /*3*/ virtual void write(class BinaryStream &) const; + /*4*/ virtual enum StreamReadResult read(class ReadOnlyBinaryStream &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_CRAFTINGDATAPACKET +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/CraftingEventPacket.hpp b/LiteLoader/Header/MC/CraftingEventPacket.hpp new file mode 100644 index 0000000..61206a5 --- /dev/null +++ b/LiteLoader/Header/MC/CraftingEventPacket.hpp @@ -0,0 +1,32 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Packet.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class CraftingEventPacket : public Packet { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_CRAFTINGEVENTPACKET +public: + class CraftingEventPacket& operator=(class CraftingEventPacket const &) = delete; + CraftingEventPacket(class CraftingEventPacket const &) = delete; + CraftingEventPacket() = delete; +#endif + +public: + /*0*/ virtual ~CraftingEventPacket(); + /*1*/ virtual enum MinecraftPacketIds getId() const; + /*2*/ virtual std::string getName() const; + /*3*/ virtual void write(class BinaryStream &) const; + /*4*/ virtual enum StreamReadResult read(class ReadOnlyBinaryStream &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_CRAFTINGEVENTPACKET +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/CraftingTag.hpp b/LiteLoader/Header/MC/CraftingTag.hpp new file mode 100644 index 0000000..fd36a49 --- /dev/null +++ b/LiteLoader/Header/MC/CraftingTag.hpp @@ -0,0 +1,19 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +namespace CraftingTag { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA + MCAPI extern class HashedString const CARTOGRAPHY_TABLE; + MCAPI extern class HashedString const CRAFTING_TABLE; + MCAPI extern class HashedString const STONECUTTER; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/CrashDumpAssertData.hpp b/LiteLoader/Header/MC/CrashDumpAssertData.hpp new file mode 100644 index 0000000..aab23d8 --- /dev/null +++ b/LiteLoader/Header/MC/CrashDumpAssertData.hpp @@ -0,0 +1,27 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class CrashDumpAssertData { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_CRASHDUMPASSERTDATA +public: + class CrashDumpAssertData& operator=(class CrashDumpAssertData const &) = delete; + CrashDumpAssertData(class CrashDumpAssertData const &) = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_CRASHDUMPASSERTDATA +#endif + MCAPI CrashDumpAssertData(); + MCAPI static struct CrashDumpFormatEntryImpl const kFormat[]; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/CrashDumpEventData.hpp b/LiteLoader/Header/MC/CrashDumpEventData.hpp new file mode 100644 index 0000000..3be8bda --- /dev/null +++ b/LiteLoader/Header/MC/CrashDumpEventData.hpp @@ -0,0 +1,27 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +struct CrashDumpEventData { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_CRASHDUMPEVENTDATA +public: + struct CrashDumpEventData& operator=(struct CrashDumpEventData const &) = delete; + CrashDumpEventData(struct CrashDumpEventData const &) = delete; +#endif +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_CRASHDUMPEVENTDATA +#endif + MCAPI CrashDumpEventData(); + MCAPI CrashDumpEventData(enum CrashDumpLogStringID, enum CrashDumpLogStringID); + MCAPI static struct CrashDumpFormatEntryImpl const kFormat[]; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/CrashDumpFrameData.hpp b/LiteLoader/Header/MC/CrashDumpFrameData.hpp new file mode 100644 index 0000000..f83a58d --- /dev/null +++ b/LiteLoader/Header/MC/CrashDumpFrameData.hpp @@ -0,0 +1,27 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class CrashDumpFrameData { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_CRASHDUMPFRAMEDATA +public: + class CrashDumpFrameData& operator=(class CrashDumpFrameData const &) = delete; + CrashDumpFrameData(class CrashDumpFrameData const &) = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_CRASHDUMPFRAMEDATA +#endif + MCAPI CrashDumpFrameData(); + MCAPI static struct CrashDumpFormatEntryImpl const kFormat[]; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/CrashDumpGameplayData.hpp b/LiteLoader/Header/MC/CrashDumpGameplayData.hpp new file mode 100644 index 0000000..9758435 --- /dev/null +++ b/LiteLoader/Header/MC/CrashDumpGameplayData.hpp @@ -0,0 +1,27 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class CrashDumpGameplayData { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_CRASHDUMPGAMEPLAYDATA +public: + class CrashDumpGameplayData& operator=(class CrashDumpGameplayData const &) = delete; + CrashDumpGameplayData(class CrashDumpGameplayData const &) = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_CRASHDUMPGAMEPLAYDATA +#endif + MCAPI CrashDumpGameplayData(); + MCAPI static struct CrashDumpFormatEntryImpl const kFormat[]; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/CrashDumpGlobalData.hpp b/LiteLoader/Header/MC/CrashDumpGlobalData.hpp new file mode 100644 index 0000000..337396e --- /dev/null +++ b/LiteLoader/Header/MC/CrashDumpGlobalData.hpp @@ -0,0 +1,27 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class CrashDumpGlobalData { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_CRASHDUMPGLOBALDATA +public: + class CrashDumpGlobalData& operator=(class CrashDumpGlobalData const &) = delete; + CrashDumpGlobalData(class CrashDumpGlobalData const &) = delete; + CrashDumpGlobalData() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_CRASHDUMPGLOBALDATA +#endif + MCAPI static struct CrashDumpFormatEntryImpl const kFormat[]; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/CrashDumpKeyValueData.hpp b/LiteLoader/Header/MC/CrashDumpKeyValueData.hpp new file mode 100644 index 0000000..15f1aaf --- /dev/null +++ b/LiteLoader/Header/MC/CrashDumpKeyValueData.hpp @@ -0,0 +1,27 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class CrashDumpKeyValueData { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_CRASHDUMPKEYVALUEDATA +public: + class CrashDumpKeyValueData& operator=(class CrashDumpKeyValueData const &) = delete; + CrashDumpKeyValueData(class CrashDumpKeyValueData const &) = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_CRASHDUMPKEYVALUEDATA +#endif + MCAPI CrashDumpKeyValueData(); + MCAPI static struct CrashDumpFormatEntryImpl const kFormat[]; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/CrashDumpLog.hpp b/LiteLoader/Header/MC/CrashDumpLog.hpp new file mode 100644 index 0000000..df8cbed --- /dev/null +++ b/LiteLoader/Header/MC/CrashDumpLog.hpp @@ -0,0 +1,51 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class CrashDumpLog { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_CRASHDUMPLOG +public: + class CrashDumpLog& operator=(class CrashDumpLog const &) = delete; + CrashDumpLog(class CrashDumpLog const &) = delete; + CrashDumpLog() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_CRASHDUMPLOG +#endif + MCAPI static void logEvent(struct CrashDumpEventData const &); + MCAPI static void setAssertMessage(char const *, int, char const *, char const *); + MCAPI static bool startCrashDumpLogThread(); + +//protected: + +//private: + MCAPI static void crashDumpLogThreadRoutine(); + +protected: + MCAPI static struct CrashDump_AllData * mAllData; + +private: + MCAPI static class std::mutex mAssertDataMutex; + MCAPI static std::unique_ptr mCrashDumpLog_logThread; + MCAPI static class std::mutex mCrashDumpThreadMutex; + MCAPI static class std::condition_variable mCrashDumpThreadMutexCV; + MCAPI static class std::mutex mEventDataMutex; + MCAPI static class std::mutex mFrameDataMutex; + MCAPI static class std::mutex mGameplayDataMutex; + MCAPI static class std::mutex mGlobalDataMutex; + MCAPI static bool mIsThreadRunning; + MCAPI static class std::mutex mKeyValueDataMutex; + MCAPI static class std::mutex mPlayerDataMutex; + MCAPI static class std::mutex mRenderDataMutex; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/CrashDumpPlayerData.hpp b/LiteLoader/Header/MC/CrashDumpPlayerData.hpp new file mode 100644 index 0000000..8277d4f --- /dev/null +++ b/LiteLoader/Header/MC/CrashDumpPlayerData.hpp @@ -0,0 +1,27 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class CrashDumpPlayerData { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_CRASHDUMPPLAYERDATA +public: + class CrashDumpPlayerData& operator=(class CrashDumpPlayerData const &) = delete; + CrashDumpPlayerData(class CrashDumpPlayerData const &) = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_CRASHDUMPPLAYERDATA +#endif + MCAPI CrashDumpPlayerData(); + MCAPI static struct CrashDumpFormatEntryImpl const kFormat[]; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/CrashDumpRenderData.hpp b/LiteLoader/Header/MC/CrashDumpRenderData.hpp new file mode 100644 index 0000000..1f69213 --- /dev/null +++ b/LiteLoader/Header/MC/CrashDumpRenderData.hpp @@ -0,0 +1,27 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class CrashDumpRenderData { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_CRASHDUMPRENDERDATA +public: + class CrashDumpRenderData& operator=(class CrashDumpRenderData const &) = delete; + CrashDumpRenderData(class CrashDumpRenderData const &) = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_CRASHDUMPRENDERDATA +#endif + MCAPI CrashDumpRenderData(); + MCAPI static struct CrashDumpFormatEntryImpl const kFormat[]; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/CrashDump_AllData.hpp b/LiteLoader/Header/MC/CrashDump_AllData.hpp new file mode 100644 index 0000000..cc36240 --- /dev/null +++ b/LiteLoader/Header/MC/CrashDump_AllData.hpp @@ -0,0 +1,25 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +struct CrashDump_AllData { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_CRASHDUMP_ALLDATA +public: + struct CrashDump_AllData& operator=(struct CrashDump_AllData const &) = delete; + CrashDump_AllData(struct CrashDump_AllData const &) = delete; +#endif +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_CRASHDUMP_ALLDATA +#endif + MCAPI CrashDump_AllData(); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/CrashHandler.hpp b/LiteLoader/Header/MC/CrashHandler.hpp new file mode 100644 index 0000000..0957b7b --- /dev/null +++ b/LiteLoader/Header/MC/CrashHandler.hpp @@ -0,0 +1,27 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class CrashHandler { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_CRASHHANDLER +public: + class CrashHandler& operator=(class CrashHandler const &) = delete; + CrashHandler(class CrashHandler const &) = delete; + CrashHandler() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_CRASHHANDLER +#endif + MCAPI static void initialize(std::string const &, std::string const &, std::string const &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/CrashHelper.hpp b/LiteLoader/Header/MC/CrashHelper.hpp new file mode 100644 index 0000000..a22aef2 --- /dev/null +++ b/LiteLoader/Header/MC/CrashHelper.hpp @@ -0,0 +1,27 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class CrashHelper { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_CRASHHELPER +public: + class CrashHelper& operator=(class CrashHelper const &) = delete; + CrashHelper(class CrashHelper const &) = delete; + CrashHelper() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_CRASHHELPER +#endif + MCAPI static void dumpCrashHandlerAppCrashLog(std::string const &, std::string const &, std::string const &, __int64, std::string const &, class gsl::basic_string_span); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/CreativeContentPacket.hpp b/LiteLoader/Header/MC/CreativeContentPacket.hpp new file mode 100644 index 0000000..3032547 --- /dev/null +++ b/LiteLoader/Header/MC/CreativeContentPacket.hpp @@ -0,0 +1,32 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Packet.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class CreativeContentPacket : public Packet { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_CREATIVECONTENTPACKET +public: + class CreativeContentPacket& operator=(class CreativeContentPacket const &) = delete; + CreativeContentPacket(class CreativeContentPacket const &) = delete; + CreativeContentPacket() = delete; +#endif + +public: + /*0*/ virtual ~CreativeContentPacket(); + /*1*/ virtual enum MinecraftPacketIds getId() const; + /*2*/ virtual std::string getName() const; + /*3*/ virtual void write(class BinaryStream &) const; + /*4*/ virtual enum StreamReadResult read(class ReadOnlyBinaryStream &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_CREATIVECONTENTPACKET +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/CreativeItemEntry.hpp b/LiteLoader/Header/MC/CreativeItemEntry.hpp new file mode 100644 index 0000000..38b4c69 --- /dev/null +++ b/LiteLoader/Header/MC/CreativeItemEntry.hpp @@ -0,0 +1,28 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class CreativeItemEntry { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_CREATIVEITEMENTRY +public: + class CreativeItemEntry& operator=(class CreativeItemEntry const &) = delete; + CreativeItemEntry(class CreativeItemEntry const &) = delete; + CreativeItemEntry() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_CREATIVEITEMENTRY +#endif + MCAPI void setGroup(int); + MCAPI ~CreativeItemEntry(); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/Creeper.hpp b/LiteLoader/Header/MC/Creeper.hpp new file mode 100644 index 0000000..566278d --- /dev/null +++ b/LiteLoader/Header/MC/Creeper.hpp @@ -0,0 +1,56 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Actor.hpp" +#include "Monster.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class Creeper : public Monster { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_CREEPER +public: + class Creeper& operator=(class Creeper const &) = delete; + Creeper(class Creeper const &) = delete; + Creeper() = delete; +#endif + +public: + /*7*/ virtual ~Creeper(); + /*30*/ virtual void __unk_vfn_30(); + /*39*/ virtual void normalTick(); + /*54*/ virtual void __unk_vfn_54(); + /*61*/ virtual void __unk_vfn_61(); + /*76*/ virtual void __unk_vfn_76(); + /*81*/ virtual void __unk_vfn_81(); + /*88*/ virtual void __unk_vfn_88(); + /*90*/ virtual void __unk_vfn_90(); + /*98*/ virtual void __unk_vfn_98(); + /*100*/ virtual void __unk_vfn_100(); + /*121*/ virtual void __unk_vfn_121(); + /*169*/ virtual void __unk_vfn_169(); + /*182*/ virtual void __unk_vfn_182(); + /*206*/ virtual void __unk_vfn_206(); + /*207*/ virtual void __unk_vfn_207(); + /*228*/ virtual void __unk_vfn_228(); + /*231*/ virtual void __unk_vfn_231(); + /*233*/ virtual void die(class ActorDamageSource const &); + /*238*/ virtual void __unk_vfn_238(); + /*246*/ virtual void __unk_vfn_246(); + /*256*/ virtual void _onSizeUpdated(); + /*257*/ virtual void __unk_vfn_257(); + /*290*/ virtual void __unk_vfn_290(); + /*300*/ virtual void __unk_vfn_300(); + /*332*/ virtual void __unk_vfn_332(); + /*348*/ virtual void __unk_vfn_348(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_CREEPER + MCVAPI bool useNewAi() const; +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/CropBlock.hpp b/LiteLoader/Header/MC/CropBlock.hpp new file mode 100644 index 0000000..a104de4 --- /dev/null +++ b/LiteLoader/Header/MC/CropBlock.hpp @@ -0,0 +1,83 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "BushBlock.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class CropBlock : public BushBlock { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_CROPBLOCK +public: + class CropBlock& operator=(class CropBlock const &) = delete; + CropBlock(class CropBlock const &) = delete; + CropBlock() = delete; +#endif + +public: + /*0*/ virtual ~CropBlock(); + /*1*/ virtual void tick(class BlockSource &, class BlockPos const &, class Random &) const; + /*10*/ virtual class AABB const & getAABB(class BlockSource &, class BlockPos const &, class Block const &, class AABB &, bool) const; + /*18*/ virtual void __unk_vfn_18(); + /*24*/ virtual void __unk_vfn_24(); + /*25*/ virtual void __unk_vfn_25(); + /*26*/ virtual void __unk_vfn_26(); + /*27*/ virtual void __unk_vfn_27(); + /*28*/ virtual void __unk_vfn_28(); + /*30*/ virtual void __unk_vfn_30(); + /*31*/ virtual void __unk_vfn_31(); + /*32*/ virtual void __unk_vfn_32(); + /*33*/ virtual void __unk_vfn_33(); + /*34*/ virtual void __unk_vfn_34(); + /*35*/ virtual void __unk_vfn_35(); + /*36*/ virtual void __unk_vfn_36(); + /*38*/ virtual void __unk_vfn_38(); + /*39*/ virtual void __unk_vfn_39(); + /*40*/ virtual void __unk_vfn_40(); + /*42*/ virtual void __unk_vfn_42(); + /*43*/ virtual void __unk_vfn_43(); + /*49*/ virtual void __unk_vfn_49(); + /*50*/ virtual bool canContainLiquid() const; + /*52*/ virtual void __unk_vfn_52(); + /*67*/ virtual void __unk_vfn_67(); + /*73*/ virtual void __unk_vfn_73(); + /*75*/ virtual bool onFertilized(class BlockSource &, class BlockPos const &, class Actor *, enum FertilizerType) const; + /*77*/ virtual bool canBeFertilized(class BlockSource &, class BlockPos const &, class Block const &) const; + /*82*/ virtual bool mayPlaceOn(class BlockSource &, class BlockPos const &) const; + /*87*/ virtual void __unk_vfn_87(); + /*88*/ virtual void neighborChanged(class BlockSource &, class BlockPos const &, class BlockPos const &) const; + /*92*/ virtual class ItemInstance asItemInstance(class BlockSource &, class BlockPos const &, class Block const &) const; + /*93*/ virtual void spawnResources(class BlockSource &, class BlockPos const &, class Block const &, std::vector *, float, int, bool) const; + /*95*/ virtual void __unk_vfn_95(); + /*106*/ virtual bool canSurvive(class BlockSource &, class BlockPos const &) const; + /*109*/ virtual void __unk_vfn_109(); + /*110*/ virtual void executeEvent(class BlockSource &, class BlockPos const &, class Block const &, std::string const &, class Actor &) const; + /*111*/ virtual bool hasTag(class BlockSource &, class BlockPos const &, class Block const &, std::string const &) const; + /*116*/ virtual void __unk_vfn_116(); + /*118*/ virtual void __unk_vfn_118(); + /*119*/ virtual void __unk_vfn_119(); + /*141*/ virtual int getVariant(class Block const &) const; + /*142*/ virtual void __unk_vfn_142(); + /*158*/ virtual void __unk_vfn_158(); + /*165*/ virtual class Item const & getBaseSeed() const; + /*166*/ virtual class Item const & getBaseCrop() const; + /*167*/ virtual int getSeedNum(class Random &, int, int, bool) const; + /*168*/ virtual int getCropNum(class Random &, int, int, bool) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_CROPBLOCK + MCVAPI bool canBeSilkTouched() const; + MCVAPI bool isCropBlock() const; +#endif + MCAPI CropBlock(std::string const &, int); + +//private: + MCAPI float getGrowthSpeed(class BlockSource &, class BlockPos const &) const; + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/CrossbowEnchant.hpp b/LiteLoader/Header/MC/CrossbowEnchant.hpp new file mode 100644 index 0000000..757fc94 --- /dev/null +++ b/LiteLoader/Header/MC/CrossbowEnchant.hpp @@ -0,0 +1,33 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Enchant.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class CrossbowEnchant { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_CROSSBOWENCHANT +public: + class CrossbowEnchant& operator=(class CrossbowEnchant const &) = delete; + CrossbowEnchant(class CrossbowEnchant const &) = delete; + CrossbowEnchant() = delete; +#endif + +public: + /*0*/ virtual ~CrossbowEnchant(); + /*1*/ virtual bool isCompatibleWith(enum Enchant::Type) const; + /*2*/ virtual int getMinCost(int) const; + /*3*/ virtual int getMaxCost(int) const; + /*4*/ virtual void __unk_vfn_4(); + /*5*/ virtual int getMaxLevel() const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_CROSSBOWENCHANT +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/CrossbowItem.hpp b/LiteLoader/Header/MC/CrossbowItem.hpp new file mode 100644 index 0000000..9e75dc8 --- /dev/null +++ b/LiteLoader/Header/MC/CrossbowItem.hpp @@ -0,0 +1,61 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Item.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class CrossbowItem : public Item { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_CROSSBOWITEM +public: + class CrossbowItem& operator=(class CrossbowItem const &) = delete; + CrossbowItem(class CrossbowItem const &) = delete; + CrossbowItem() = delete; +#endif + +public: + /*0*/ virtual ~CrossbowItem(); + /*3*/ virtual int getMaxUseDuration(class ItemStack const *) const; + /*5*/ virtual void __unk_vfn_5(); + /*26*/ virtual void __unk_vfn_26(); + /*27*/ virtual void __unk_vfn_27(); + /*31*/ virtual void __unk_vfn_31(); + /*32*/ virtual void __unk_vfn_32(); + /*34*/ virtual void __unk_vfn_34(); + /*37*/ virtual void __unk_vfn_37(); + /*40*/ virtual int getEnchantSlot() const; + /*43*/ virtual void __unk_vfn_43(); + /*46*/ virtual void __unk_vfn_46(); + /*47*/ virtual void __unk_vfn_47(); + /*49*/ virtual void __unk_vfn_49(); + /*50*/ virtual void __unk_vfn_50(); + /*56*/ virtual class ItemStack & use(class ItemStack &, class Player &) const; + /*58*/ virtual enum ItemUseMethod useTimeDepleted(class ItemStack &, class Level *, class Player *) const; + /*59*/ virtual void releaseUsing(class ItemStack &, class Player *, int) const; + /*79*/ virtual void __unk_vfn_79(); + /*80*/ virtual void __unk_vfn_80(); + /*83*/ virtual int getAnimationFrameFor(class Mob *, bool, class ItemStack const *, bool) const; + /*85*/ virtual struct TextureUVCoordinateSet const & getIcon(class ItemStackBase const &, int, bool) const; + /*87*/ virtual class Item & setIcon(std::string const &, int); + /*90*/ virtual void __unk_vfn_90(); + /*92*/ virtual void playSoundIncrementally(class ItemStack const &, class Mob &) const; + /*97*/ virtual void __unk_vfn_97(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_CROSSBOWITEM + MCVAPI bool canBeCharged() const; +#endif + +//private: + MCAPI class Vec3 _getShootDir(class Player const &, float) const; + MCAPI void _shootArrow(class ItemInstance const &, class ItemInstance const &, class Player &) const; + MCAPI void _shootFirework(class ItemInstance const &, class Player &) const; + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/CryingObsidianBlock.hpp b/LiteLoader/Header/MC/CryingObsidianBlock.hpp new file mode 100644 index 0000000..9c29080 --- /dev/null +++ b/LiteLoader/Header/MC/CryingObsidianBlock.hpp @@ -0,0 +1,61 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "BlockLegacy.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class CryingObsidianBlock : public BlockLegacy { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_CRYINGOBSIDIANBLOCK +public: + class CryingObsidianBlock& operator=(class CryingObsidianBlock const &) = delete; + CryingObsidianBlock(class CryingObsidianBlock const &) = delete; + CryingObsidianBlock() = delete; +#endif + +public: + /*0*/ virtual ~CryingObsidianBlock(); + /*18*/ virtual void __unk_vfn_18(); + /*24*/ virtual void __unk_vfn_24(); + /*25*/ virtual void __unk_vfn_25(); + /*26*/ virtual void __unk_vfn_26(); + /*27*/ virtual void __unk_vfn_27(); + /*28*/ virtual void __unk_vfn_28(); + /*30*/ virtual void __unk_vfn_30(); + /*31*/ virtual void __unk_vfn_31(); + /*32*/ virtual void __unk_vfn_32(); + /*33*/ virtual void __unk_vfn_33(); + /*34*/ virtual void __unk_vfn_34(); + /*35*/ virtual void __unk_vfn_35(); + /*36*/ virtual void __unk_vfn_36(); + /*38*/ virtual void __unk_vfn_38(); + /*39*/ virtual void __unk_vfn_39(); + /*40*/ virtual void __unk_vfn_40(); + /*42*/ virtual void __unk_vfn_42(); + /*43*/ virtual void __unk_vfn_43(); + /*49*/ virtual void __unk_vfn_49(); + /*52*/ virtual void __unk_vfn_52(); + /*67*/ virtual void __unk_vfn_67(); + /*73*/ virtual void __unk_vfn_73(); + /*87*/ virtual void __unk_vfn_87(); + /*91*/ virtual class ItemInstance getResourceItem(class Random &, class Block const &, int) const; + /*95*/ virtual void __unk_vfn_95(); + /*105*/ virtual void playerDestroy(class Player &, class BlockPos const &, class Block const &) const; + /*109*/ virtual void __unk_vfn_109(); + /*116*/ virtual void __unk_vfn_116(); + /*118*/ virtual void __unk_vfn_118(); + /*119*/ virtual void __unk_vfn_119(); + /*142*/ virtual void __unk_vfn_142(); + /*146*/ virtual void animateTick(class BlockSource &, class BlockPos const &, class Random &) const; + /*158*/ virtual void __unk_vfn_158(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_CRYINGOBSIDIANBLOCK +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/CryptoUtils.hpp b/LiteLoader/Header/MC/CryptoUtils.hpp new file mode 100644 index 0000000..155b1ee --- /dev/null +++ b/LiteLoader/Header/MC/CryptoUtils.hpp @@ -0,0 +1,19 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Core.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +namespace CryptoUtils { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA + MCAPI std::string getDirectroyChecksum(class Core::Path const &); + MCAPI std::string getFileChecksum(class Core::Path const &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/CurseBindingEnchant.hpp b/LiteLoader/Header/MC/CurseBindingEnchant.hpp new file mode 100644 index 0000000..9e7b22b --- /dev/null +++ b/LiteLoader/Header/MC/CurseBindingEnchant.hpp @@ -0,0 +1,31 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Enchant.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class CurseBindingEnchant : public Enchant { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_CURSEBINDINGENCHANT +public: + class CurseBindingEnchant& operator=(class CurseBindingEnchant const &) = delete; + CurseBindingEnchant(class CurseBindingEnchant const &) = delete; + CurseBindingEnchant() = delete; +#endif + +public: + /*0*/ virtual ~CurseBindingEnchant(); + /*2*/ virtual int getMinCost(int) const; + /*3*/ virtual int getMaxCost(int) const; + /*12*/ virtual bool isTreasureOnly() const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_CURSEBINDINGENCHANT +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/CurseVanishingEnchant.hpp b/LiteLoader/Header/MC/CurseVanishingEnchant.hpp new file mode 100644 index 0000000..1ac0398 --- /dev/null +++ b/LiteLoader/Header/MC/CurseVanishingEnchant.hpp @@ -0,0 +1,31 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Enchant.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class CurseVanishingEnchant : public Enchant { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_CURSEVANISHINGENCHANT +public: + class CurseVanishingEnchant& operator=(class CurseVanishingEnchant const &) = delete; + CurseVanishingEnchant(class CurseVanishingEnchant const &) = delete; + CurseVanishingEnchant() = delete; +#endif + +public: + /*0*/ virtual ~CurseVanishingEnchant(); + /*2*/ virtual int getMinCost(int) const; + /*3*/ virtual int getMaxCost(int) const; + /*12*/ virtual bool isTreasureOnly() const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_CURSEVANISHINGENCHANT +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/CustomScriptEventData.hpp b/LiteLoader/Header/MC/CustomScriptEventData.hpp new file mode 100644 index 0000000..9c48780 --- /dev/null +++ b/LiteLoader/Header/MC/CustomScriptEventData.hpp @@ -0,0 +1,28 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "ScriptApi.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +struct CustomScriptEventData { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_CUSTOMSCRIPTEVENTDATA +public: + struct CustomScriptEventData& operator=(struct CustomScriptEventData const &) = delete; + CustomScriptEventData(struct CustomScriptEventData const &) = delete; + CustomScriptEventData() = delete; +#endif +public: + /*0*/ virtual ~CustomScriptEventData(); + /*1*/ virtual bool _serialize(class ScriptEngine &, class ScriptApi::ScriptObjectHandle &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_CUSTOMSCRIPTEVENTDATA +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/DBChunkStorage.hpp b/LiteLoader/Header/MC/DBChunkStorage.hpp new file mode 100644 index 0000000..9b8de13 --- /dev/null +++ b/LiteLoader/Header/MC/DBChunkStorage.hpp @@ -0,0 +1,53 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "ChunkSource.hpp" +#include "Bedrock.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class DBChunkStorage : public ChunkSource { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_DBCHUNKSTORAGE +public: + class DBChunkStorage& operator=(class DBChunkStorage const &) = delete; + DBChunkStorage(class DBChunkStorage const &) = delete; + DBChunkStorage() = delete; +#endif + +public: + /*0*/ virtual ~DBChunkStorage(); + /*1*/ virtual void shutdown(); + /*2*/ virtual bool isShutdownDone(); + /*7*/ virtual bool postProcess(class ChunkViewSource &); + /*8*/ virtual void checkAndReplaceChunk(class ChunkViewSource &, class LevelChunk &); + /*9*/ virtual void loadChunk(class LevelChunk &, bool); + /*11*/ virtual bool saveLiveChunk(class LevelChunk &); + /*12*/ virtual void hintDiscardBatchBegin(); + /*13*/ virtual void hintDiscardBatchEnd(); + /*14*/ virtual void acquireDiscarded(class std::unique_ptr); + /*16*/ virtual void flushPendingWrites(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_DBCHUNKSTORAGE +#endif + MCAPI DBChunkStorage(std::unique_ptr, class DBStorage &, class Scheduler &); + +//private: + MCAPI class std::shared_ptr _getBuffer(); + MCAPI bool _hasChunk(class DBChunkStorageKey const &); + MCAPI bool _hasChunkUncached(class DBChunkStorageKey const &); + MCAPI void _loadAndBlendFromDB(class LevelChunk &); + MCAPI bool _loadChunkFromDB(class LevelChunk &); + MCAPI void _serializeChunk(class LevelChunk &, class LevelStorageWriteBatch &); + MCAPI void _writeBatch(); + +private: + MCAPI static class Bedrock::Threading::ThreadLocalObject> threadBatch; + MCAPI static class Bedrock::Threading::ThreadLocalObject> threadBuffer; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/DBStorage.hpp b/LiteLoader/Header/MC/DBStorage.hpp new file mode 100644 index 0000000..162c27f --- /dev/null +++ b/LiteLoader/Header/MC/DBStorage.hpp @@ -0,0 +1,83 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Core.hpp" +#include "Bedrock.hpp" +#include "LevelStorageWriteBatch.hpp" +#include "LevelStorage.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class DBStorage : public LevelStorage { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_DBSTORAGE +public: + class DBStorage& operator=(class DBStorage const &) = delete; + DBStorage(class DBStorage const &) = delete; + DBStorage() = delete; +#endif + +public: + /*0*/ virtual ~DBStorage(); + /*1*/ virtual void addStorageObserver(std::unique_ptr); + /*2*/ virtual std::unique_ptr getCompoundTag(std::string const &); + /*3*/ virtual bool hasKey(class gsl::basic_string_span) const; + /*4*/ virtual void forEachKeyWithPrefix(class gsl::basic_string_span, class std::function, class gsl::basic_string_span)> const &) const; + /*5*/ virtual bool loadLevelData(class LevelData &); + /*6*/ virtual std::unique_ptr createChunkStorage(std::unique_ptr, enum StorageVersion); + /*7*/ virtual void saveLevelData(class LevelData const &); + /*8*/ virtual class Core::PathBuffer const & getFullPath() const; + /*9*/ virtual class std::shared_ptr> saveData(std::string const &, std::string &&); + /*10*/ virtual class std::shared_ptr> saveData(class LevelStorageWriteBatch const &); + /*11*/ virtual class std::shared_ptr> deleteData(std::string const &); + /*12*/ virtual void syncIO(); + /*13*/ virtual void getStatistics(std::string &) const; + /*15*/ virtual bool isCorrupted() const; + /*16*/ virtual void startShutdown(); + /*17*/ virtual bool isShuttingDown() const; + /*18*/ virtual bool checkShutdownDone(); + /*19*/ virtual bool loadData(class gsl::basic_string_span, std::string &) const; + /*20*/ virtual struct Core::LevelStorageResult getState() const; + /*21*/ virtual std::vector createSnapshot(std::string const &); + /*22*/ virtual void releaseSnapshot(); + /*23*/ virtual void compactStorage(); + /*24*/ virtual void syncAndSuspendStorage(); + /*25*/ virtual void resumeStorage(); + /*26*/ virtual void setFlushAllowed(bool); + /*27*/ virtual void flushToPermanentStorage(); + /*28*/ virtual void freeCaches(); + /*29*/ virtual void setCompactionCallback(class std::function); + /*30*/ virtual void setCriticalSyncSaveCallback(class std::function); + /*31*/ virtual void corruptLevel(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_DBSTORAGE +#endif + MCAPI DBStorage(struct DBStorageConfig); + MCAPI bool tryRepair(class Core::Path const &) const; + +//protected: + MCAPI struct std::pair>>>> _findCacheEntry(std::string const &); + MCAPI class std::map, class std::allocator>> _getAllPendingWrites() const; + MCAPI bool _handleErrorStatus(class leveldb::Status const &); + MCAPI void _mergeIntoWriteCache(class LevelStorageWriteBatch const &); + MCAPI void _queueSaveCallback(bool); + MCAPI void _read(class gsl::basic_string_span, class std::function, class gsl::basic_string_span)> const &) const; + MCAPI struct DBStorage::PendingWriteResult _readPendingWrite(std::string const &) const; + +//private: + MCAPI class TaskResult _flushWriteCacheToLevelDB(); + MCAPI std::string _getTelemetryMessage(class leveldb::Status const &) const; + MCAPI void _markAsCorrupted(class gsl::basic_string_span) const; + MCAPI void _scheduleNextAutoCompaction(); + MCAPI bool _suspendAndPerformSaveAction(class std::function, class std::function); + +protected: + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/DBStorageConfig.hpp b/LiteLoader/Header/MC/DBStorageConfig.hpp new file mode 100644 index 0000000..4f94230 --- /dev/null +++ b/LiteLoader/Header/MC/DBStorageConfig.hpp @@ -0,0 +1,26 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +struct DBStorageConfig { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_DBSTORAGECONFIG +public: + struct DBStorageConfig& operator=(struct DBStorageConfig const &) = delete; + DBStorageConfig(struct DBStorageConfig const &) = delete; + DBStorageConfig() = delete; +#endif +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_DBSTORAGECONFIG +#endif + MCAPI ~DBStorageConfig(); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/DBStorageEnvironmentChain.hpp b/LiteLoader/Header/MC/DBStorageEnvironmentChain.hpp new file mode 100644 index 0000000..1c54cce --- /dev/null +++ b/LiteLoader/Header/MC/DBStorageEnvironmentChain.hpp @@ -0,0 +1,36 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Core.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class DBStorageEnvironmentChain { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_DBSTORAGEENVIRONMENTCHAIN +public: + class DBStorageEnvironmentChain& operator=(class DBStorageEnvironmentChain const &) = delete; + DBStorageEnvironmentChain(class DBStorageEnvironmentChain const &) = delete; + DBStorageEnvironmentChain() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_DBSTORAGEENVIRONMENTCHAIN +#endif + MCAPI DBStorageEnvironmentChain(struct DBStorageConfig const &, class Core::Path const &); + MCAPI class Core::Result isChainValid(bool) const; + MCAPI ~DBStorageEnvironmentChain(); + MCAPI static bool isContentKeyValid(class leveldb::Env *, class Core::Path const &, class ContentIdentity const &, std::string const &, class std::shared_ptr); + +//private: + MCAPI static std::unique_ptr createFlushableEnv(class leveldb::Env *, class std::shared_ptr, class Core::Path const &); + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/DamageCondition.hpp b/LiteLoader/Header/MC/DamageCondition.hpp new file mode 100644 index 0000000..c53a81c --- /dev/null +++ b/LiteLoader/Header/MC/DamageCondition.hpp @@ -0,0 +1,26 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +struct DamageCondition { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_DAMAGECONDITION +public: + struct DamageCondition& operator=(struct DamageCondition const &) = delete; + DamageCondition(struct DamageCondition const &) = delete; + DamageCondition() = delete; +#endif +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_DAMAGECONDITION +#endif + MCAPI ~DamageCondition(); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/DamageOverTimeSystem.hpp b/LiteLoader/Header/MC/DamageOverTimeSystem.hpp new file mode 100644 index 0000000..a5822cc --- /dev/null +++ b/LiteLoader/Header/MC/DamageOverTimeSystem.hpp @@ -0,0 +1,28 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class DamageOverTimeSystem { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_DAMAGEOVERTIMESYSTEM +public: + class DamageOverTimeSystem& operator=(class DamageOverTimeSystem const &) = delete; + DamageOverTimeSystem(class DamageOverTimeSystem const &) = delete; + DamageOverTimeSystem() = delete; +#endif + +public: + /*0*/ virtual ~DamageOverTimeSystem(); + /*1*/ virtual void tick(class EntityRegistry &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_DAMAGEOVERTIMESYSTEM +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/DamageSensorComponent.hpp b/LiteLoader/Header/MC/DamageSensorComponent.hpp new file mode 100644 index 0000000..bb47355 --- /dev/null +++ b/LiteLoader/Header/MC/DamageSensorComponent.hpp @@ -0,0 +1,32 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class DamageSensorComponent { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_DAMAGESENSORCOMPONENT +public: + class DamageSensorComponent& operator=(class DamageSensorComponent const &) = delete; + DamageSensorComponent(class DamageSensorComponent const &) = delete; + DamageSensorComponent() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_DAMAGESENSORCOMPONENT +#endif + MCAPI bool recordDamage(class Actor &, class Actor *, enum ActorDamageCause, int, bool, class VariantParameterList); + +//private: + MCAPI bool _recordDamage(class Actor &, class Actor *, enum ActorDamageCause const &, class Actor *, int, bool, class VariantParameterList); + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/DamageSensorDefinition.hpp b/LiteLoader/Header/MC/DamageSensorDefinition.hpp new file mode 100644 index 0000000..a5ae154 --- /dev/null +++ b/LiteLoader/Header/MC/DamageSensorDefinition.hpp @@ -0,0 +1,38 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Json.hpp" +#include "JsonUtil.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class DamageSensorDefinition { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_DAMAGESENSORDEFINITION +public: + class DamageSensorDefinition& operator=(class DamageSensorDefinition const &) = delete; + DamageSensorDefinition(class DamageSensorDefinition const &) = delete; + DamageSensorDefinition() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_DAMAGESENSORDEFINITION +#endif + MCAPI void addDamageSensorTrigger(struct DamageSensorTrigger const &); + MCAPI void initialize(class EntityContext &, class DamageSensorComponent &) const; + MCAPI void serializeData(class Json::Value &) const; + MCAPI ~DamageSensorDefinition(); + MCAPI static void buildSchema(class std::shared_ptr> &); + +//private: + MCAPI void deserializeTrigger(class Json::Value &); + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/DamageSensorTrigger.hpp b/LiteLoader/Header/MC/DamageSensorTrigger.hpp new file mode 100644 index 0000000..4afed05 --- /dev/null +++ b/LiteLoader/Header/MC/DamageSensorTrigger.hpp @@ -0,0 +1,27 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +struct DamageSensorTrigger { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_DAMAGESENSORTRIGGER +public: + struct DamageSensorTrigger& operator=(struct DamageSensorTrigger const &) = delete; + DamageSensorTrigger() = delete; +#endif +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_DAMAGESENSORTRIGGER +#endif + MCAPI DamageSensorTrigger(struct DamageSensorTrigger const &); + MCAPI void setCause(std::string const &); + MCAPI ~DamageSensorTrigger(); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/DanceComponentListener.hpp b/LiteLoader/Header/MC/DanceComponentListener.hpp new file mode 100644 index 0000000..0b9e07a --- /dev/null +++ b/LiteLoader/Header/MC/DanceComponentListener.hpp @@ -0,0 +1,54 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "BlockSourceListener.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class DanceComponentListener : public BlockSourceListener { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_DANCECOMPONENTLISTENER +public: + class DanceComponentListener& operator=(class DanceComponentListener const &) = delete; + DanceComponentListener(class DanceComponentListener const &) = delete; + DanceComponentListener() = delete; +#endif + +public: + /*0*/ virtual ~DanceComponentListener(); + /*1*/ virtual void __unk_vfn_1(); + /*2*/ virtual void __unk_vfn_2(); + /*3*/ virtual void __unk_vfn_3(); + /*4*/ virtual void __unk_vfn_4(); + /*6*/ virtual void __unk_vfn_6(); + /*8*/ virtual void __unk_vfn_8(); + /*9*/ virtual void __unk_vfn_9(); + /*10*/ virtual void __unk_vfn_10(); + /*11*/ virtual class Particle * addParticle(enum ParticleType, class Vec3 const &, class Vec3 const &, int, class CompoundTag const *, bool); + /*12*/ virtual void __unk_vfn_12(); + /*13*/ virtual void __unk_vfn_13(); + /*14*/ virtual void __unk_vfn_14(); + /*15*/ virtual void __unk_vfn_15(); + /*16*/ virtual void __unk_vfn_16(); + /*17*/ virtual void __unk_vfn_17(); + /*18*/ virtual void __unk_vfn_18(); + /*19*/ virtual void __unk_vfn_19(); + /*20*/ virtual void __unk_vfn_20(); + /*21*/ virtual void __unk_vfn_21(); + /*22*/ virtual void __unk_vfn_22(); + /*23*/ virtual void __unk_vfn_23(); + /*24*/ virtual void __unk_vfn_24(); + /*25*/ virtual void __unk_vfn_25(); + /*26*/ virtual void __unk_vfn_26(); + /*27*/ virtual void __unk_vfn_27(); + /*28*/ virtual void levelSoundEvent(enum LevelSoundEvent, class Vec3 const &, int, struct ActorDefinitionIdentifier const &, bool, bool); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_DANCECOMPONENTLISTENER +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/DanceSystem.hpp b/LiteLoader/Header/MC/DanceSystem.hpp new file mode 100644 index 0000000..32b0ccf --- /dev/null +++ b/LiteLoader/Header/MC/DanceSystem.hpp @@ -0,0 +1,28 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class DanceSystem { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_DANCESYSTEM +public: + class DanceSystem& operator=(class DanceSystem const &) = delete; + DanceSystem(class DanceSystem const &) = delete; + DanceSystem() = delete; +#endif + +public: + /*0*/ virtual ~DanceSystem(); + /*1*/ virtual void tick(class EntityRegistry &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_DANCESYSTEM +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/DataItem.hpp b/LiteLoader/Header/MC/DataItem.hpp new file mode 100644 index 0000000..7df286b --- /dev/null +++ b/LiteLoader/Header/MC/DataItem.hpp @@ -0,0 +1,29 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class DataItem { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_DATAITEM +public: + class DataItem& operator=(class DataItem const &) = delete; + DataItem(class DataItem const &) = delete; + DataItem() = delete; +#endif + +public: + /*0*/ virtual ~DataItem(); + /*1*/ virtual bool isDataEqual(class DataItem const &) const; + /*2*/ virtual std::unique_ptr clone() const = 0; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_DATAITEM +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/DatagramHeaderFormat.hpp b/LiteLoader/Header/MC/DatagramHeaderFormat.hpp new file mode 100644 index 0000000..03d884d --- /dev/null +++ b/LiteLoader/Header/MC/DatagramHeaderFormat.hpp @@ -0,0 +1,29 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "RakNet.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class DatagramHeaderFormat { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_DATAGRAMHEADERFORMAT +public: + class DatagramHeaderFormat& operator=(class DatagramHeaderFormat const &) = delete; + DatagramHeaderFormat(class DatagramHeaderFormat const &) = delete; + DatagramHeaderFormat() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_DATAGRAMHEADERFORMAT +#endif + MCAPI void Deserialize(class RakNet::BitStream *); + MCAPI void Serialize(class RakNet::BitStream *); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/DateManager.hpp b/LiteLoader/Header/MC/DateManager.hpp new file mode 100644 index 0000000..54e5481 --- /dev/null +++ b/LiteLoader/Header/MC/DateManager.hpp @@ -0,0 +1,28 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class DateManager { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_DATEMANAGER +public: + class DateManager& operator=(class DateManager const &) = delete; + DateManager(class DateManager const &) = delete; + DateManager() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_DATEMANAGER +#endif + MCAPI static std::string getCurrentTimestampFileName(); + MCAPI static std::string toString(struct tm const &, std::string const &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/DayLockCommand.hpp b/LiteLoader/Header/MC/DayLockCommand.hpp new file mode 100644 index 0000000..b84467e --- /dev/null +++ b/LiteLoader/Header/MC/DayLockCommand.hpp @@ -0,0 +1,30 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Command.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class DayLockCommand : public Command { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_DAYLOCKCOMMAND +public: + class DayLockCommand& operator=(class DayLockCommand const &) = delete; + DayLockCommand(class DayLockCommand const &) = delete; + DayLockCommand() = delete; +#endif + +public: + /*0*/ virtual ~DayLockCommand(); + /*1*/ virtual void execute(class CommandOrigin const &, class CommandOutput &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_DAYLOCKCOMMAND +#endif + MCAPI static void setup(class CommandRegistry &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/DaylightDetectorBlock.hpp b/LiteLoader/Header/MC/DaylightDetectorBlock.hpp new file mode 100644 index 0000000..f15eab3 --- /dev/null +++ b/LiteLoader/Header/MC/DaylightDetectorBlock.hpp @@ -0,0 +1,202 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "ActorBlock.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class DaylightDetectorBlock : public ActorBlock { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_DAYLIGHTDETECTORBLOCK +public: + class DaylightDetectorBlock& operator=(class DaylightDetectorBlock const &) = delete; + DaylightDetectorBlock(class DaylightDetectorBlock const &) = delete; + DaylightDetectorBlock() = delete; +#endif + +public: + /*0*/ virtual ~DaylightDetectorBlock(); + /*1*/ virtual void onRedstoneUpdate(class BlockSource &, class BlockPos const &, int, bool) const; + /*2*/ virtual class Block const & getStateFromLegacyData(unsigned short) const; + /*3*/ virtual class std::shared_ptr newBlockEntity(class BlockPos const &, class Block const &) const; + /*4*/ virtual class Block const * getNextBlockPermutation(class Block const &) const; + /*5*/ virtual bool getCollisionShape(class AABB &, class Block const &, class BlockSource &, class BlockPos const &, class Actor *) const; + /*6*/ virtual bool isObstructingChests(class BlockSource &, class BlockPos const &) const; + /*7*/ virtual void __unk_vfn_7(); + /*8*/ virtual class Vec3 randomlyModifyPosition(class BlockPos const &, int &) const; + /*9*/ virtual void addAABBs(class Block const &, class BlockSource &, class BlockPos const &, class AABB const *, std::vector &) const; + /*10*/ virtual class AABB const & getAABB(class BlockSource &, class BlockPos const &, class Block const &, class AABB &, bool) const; + /*11*/ virtual bool addCollisionShapes(class Block const &, class BlockSource &, class BlockPos const &, class AABB const *, std::vector &, class Actor *) const; + /*12*/ virtual class AABB const & getOutline(class BlockSource &, class BlockPos const &, class AABB &) const; + /*13*/ virtual bool getLiquidClipVolume(class BlockSource &, class BlockPos const &, class AABB &) const; + /*14*/ virtual void __unk_vfn_14(); + /*15*/ virtual void __unk_vfn_15(); + /*16*/ virtual struct Brightness getLightEmission(class Block const &) const; + /*17*/ virtual bool shouldRandomTick() const; + /*18*/ virtual void __unk_vfn_18(); + /*19*/ virtual void __unk_vfn_19(); + /*20*/ virtual void __unk_vfn_20(); + /*21*/ virtual bool canProvideSupport(class Block const &, unsigned char, enum BlockSupportType) const; + /*22*/ virtual bool canConnect(class Block const &, unsigned char, class Block const &) const; + /*23*/ virtual void getConnectedDirections(class Block const &, class BlockPos const &, class BlockSource &, bool &, bool &, bool &, bool &) const; + /*24*/ virtual void __unk_vfn_24(); + /*25*/ virtual void __unk_vfn_25(); + /*26*/ virtual void __unk_vfn_26(); + /*27*/ virtual void __unk_vfn_27(); + /*28*/ virtual void __unk_vfn_28(); + /*29*/ virtual bool isWaterBlocking() const; + /*30*/ virtual void __unk_vfn_30(); + /*31*/ virtual void __unk_vfn_31(); + /*32*/ virtual void __unk_vfn_32(); + /*33*/ virtual void __unk_vfn_33(); + /*34*/ virtual void __unk_vfn_34(); + /*35*/ virtual void __unk_vfn_35(); + /*36*/ virtual void __unk_vfn_36(); + /*37*/ virtual void __unk_vfn_37(); + /*38*/ virtual void __unk_vfn_38(); + /*39*/ virtual void __unk_vfn_39(); + /*40*/ virtual void __unk_vfn_40(); + /*41*/ virtual bool canHurtAndBreakItem() const; + /*42*/ virtual void __unk_vfn_42(); + /*43*/ virtual void __unk_vfn_43(); + /*44*/ virtual void __unk_vfn_44(); + /*45*/ virtual void __unk_vfn_45(); + /*46*/ virtual class Block const & sanitizeFillBlock(class BlockSource &, class BlockPos const &, class Block const &) const; + /*47*/ virtual void __unk_vfn_47(); + /*48*/ virtual void __unk_vfn_48(); + /*49*/ virtual void __unk_vfn_49(); + /*50*/ virtual bool canContainLiquid() const; + /*51*/ virtual void __unk_vfn_51(); + /*52*/ virtual void __unk_vfn_52(); + /*53*/ virtual bool canBeUsedInCommands(bool, class BaseGameVersion const &) const; + /*54*/ virtual float getThickness() const; + /*55*/ virtual void __unk_vfn_55(); + /*56*/ virtual void __unk_vfn_56(); + /*57*/ virtual void __unk_vfn_57(); + /*58*/ virtual void __unk_vfn_58(); + /*59*/ virtual void onPlace(class BlockSource &, class BlockPos const &) const; + /*60*/ virtual void onRemove(class BlockSource &, class BlockPos const &) const; + /*61*/ virtual void __unk_vfn_61(); + /*62*/ virtual void __unk_vfn_62(); + /*63*/ virtual void onFallOn(class BlockSource &, class BlockPos const &, class Actor &, float) const; + /*64*/ virtual void __unk_vfn_64(); + /*65*/ virtual void __unk_vfn_65(); + /*66*/ virtual void __unk_vfn_66(); + /*67*/ virtual void __unk_vfn_67(); + /*68*/ virtual void __unk_vfn_68(); + /*69*/ virtual void __unk_vfn_69(); + /*70*/ virtual void setupRedstoneComponent(class BlockSource &, class BlockPos const &) const; + /*71*/ virtual enum BlockProperty getRedstoneProperty(class BlockSource &, class BlockPos const &) const; + /*72*/ virtual void updateEntityAfterFallOn(class BlockSource &, class BlockPos const &, class Actor &) const; + /*73*/ virtual void __unk_vfn_73(); + /*74*/ virtual void __unk_vfn_74(); + /*75*/ virtual void __unk_vfn_75(); + /*76*/ virtual void __unk_vfn_76(); + /*77*/ virtual void __unk_vfn_77(); + /*78*/ virtual bool mayPick(class BlockSource &, class Block const &, bool) const; + /*79*/ virtual void __unk_vfn_79(); + /*80*/ virtual bool mayPlace(class BlockSource &, class BlockPos const &) const; + /*81*/ virtual void __unk_vfn_81(); + /*82*/ virtual void __unk_vfn_82(); + /*83*/ virtual bool tryToPlace(class BlockSource &, class BlockPos const &, class Block const &, struct ActorBlockSyncMessage const *) const; + /*84*/ virtual bool breaksFallingBlocks(class Block const &) const; + /*85*/ virtual void __unk_vfn_85(); + /*86*/ virtual bool playerWillDestroy(class Player &, class BlockPos const &, class Block const &) const; + /*87*/ virtual void __unk_vfn_87(); + /*88*/ virtual void neighborChanged(class BlockSource &, class BlockPos const &, class BlockPos const &) const; + /*89*/ virtual void __unk_vfn_89(); + /*90*/ virtual void __unk_vfn_90(); + /*91*/ virtual void __unk_vfn_91(); + /*92*/ virtual void __unk_vfn_92(); + /*93*/ virtual void spawnResources(class BlockSource &, class BlockPos const &, class Block const &, std::vector *, float, int, bool) const; + /*94*/ virtual void trySpawnResourcesOnExplosion(class BlockSource &, class BlockPos const &, class Block const &, std::vector *, float, int, bool) const; + /*95*/ virtual void __unk_vfn_95(); + /*96*/ virtual void __unk_vfn_96(); + /*97*/ virtual class HitResult clip(class BlockSource &, class BlockPos const &, class Vec3 const &, class Vec3 const &, bool) const; + /*98*/ virtual bool use(class Player &, class BlockPos const &) const; + /*99*/ virtual class Block const & getPlacementBlock(class Actor &, class BlockPos const &, unsigned char, class Vec3 const &, int) const; + /*100*/ virtual int calcVariant(class BlockSource &, class BlockPos const &) const; + /*101*/ virtual void __unk_vfn_101(); + /*102*/ virtual void __unk_vfn_102(); + /*103*/ virtual void __unk_vfn_103(); + /*104*/ virtual void __unk_vfn_104(); + /*105*/ virtual void playerDestroy(class Player &, class BlockPos const &, class Block const &) const; + /*106*/ virtual void __unk_vfn_106(); + /*107*/ virtual void __unk_vfn_107(); + /*108*/ virtual bool canBeBuiltOver(class BlockSource &, class BlockPos const &) const; + /*109*/ virtual void triggerEvent(class BlockSource &, class BlockPos const &, int, int) const; + /*110*/ virtual void __unk_vfn_110(); + /*111*/ virtual void __unk_vfn_111(); + /*112*/ virtual class MobSpawnerData const * getMobToSpawn(class SpawnConditions const &, class BlockSource &) const; + /*113*/ virtual void __unk_vfn_113(); + /*114*/ virtual void __unk_vfn_114(); + /*115*/ virtual bool shouldStopFalling(class Actor &) const; + /*116*/ virtual void __unk_vfn_116(); + /*117*/ virtual float calcGroundFriction(class Mob &, class BlockPos const &) const; + /*118*/ virtual void __unk_vfn_118(); + /*119*/ virtual void __unk_vfn_119(); + /*120*/ virtual void __unk_vfn_120(); + /*121*/ virtual bool canSlide(class BlockSource &, class BlockPos const &) const; + /*122*/ virtual void __unk_vfn_122(); + /*123*/ virtual void __unk_vfn_123(); + /*124*/ virtual void __unk_vfn_124(); + /*125*/ virtual void __unk_vfn_125(); + /*126*/ virtual void __unk_vfn_126(); + /*127*/ virtual void __unk_vfn_127(); + /*128*/ virtual void __unk_vfn_128(); + /*129*/ virtual void __unk_vfn_129(); + /*130*/ virtual void __unk_vfn_130(); + /*131*/ virtual void __unk_vfn_131(); + /*132*/ virtual int getColorForParticle(class BlockSource &, class BlockPos const &, class Block const &) const; + /*133*/ virtual void __unk_vfn_133(); + /*134*/ virtual void onGraphicsModeChanged(bool, bool, bool); + /*135*/ virtual void __unk_vfn_135(); + /*136*/ virtual float getShadeBrightness() const; + /*137*/ virtual class AABB const & getVisualShapeInWorld(class Block const &, class BlockSource &, class BlockPos const &, class AABB &, bool) const; + /*138*/ virtual class AABB const & getVisualShape(class Block const &, class AABB &, bool) const; + /*139*/ virtual class AABB const & getUIShape(class Block const &, class AABB &) const; + /*140*/ virtual int telemetryVariant(class BlockSource &, class BlockPos const &) const; + /*141*/ virtual int getVariant(class Block const &) const; + /*142*/ virtual void __unk_vfn_142(); + /*143*/ virtual class Block const & getRenderBlock() const; + /*144*/ virtual void __unk_vfn_144(); + /*145*/ virtual void __unk_vfn_145(); + /*146*/ virtual void __unk_vfn_146(); + /*147*/ virtual class BlockLegacy & init(); + /*148*/ virtual class BlockLegacy & setLightBlock(struct Brightness); + /*149*/ virtual class BlockLegacy & setLightEmission(float); + /*150*/ virtual class BlockLegacy & setExplodeable(float); + /*151*/ virtual class BlockLegacy & setDestroyTime(float); + /*152*/ virtual class BlockLegacy & setFriction(float); + /*153*/ virtual class BlockLegacy & addProperty(enum BlockProperty); + /*154*/ virtual class BlockLegacy & addState(class ItemState const &); + /*155*/ virtual class BlockLegacy & addState(class ItemState const &, unsigned __int64); + /*156*/ virtual class BlockLegacy & setAllowsRunes(bool); + /*157*/ virtual class BlockLegacy & setMapColor(class Color const &); + /*158*/ virtual void __unk_vfn_158(); + /*159*/ virtual void __unk_vfn_159(); + /*160*/ virtual void setVisualShape(class AABB const &); + /*161*/ virtual void setVisualShape(class Vec3 const &, class Vec3 const &); + /*162*/ virtual void __unk_vfn_162(); + /*163*/ virtual void __unk_vfn_163(); + /*164*/ virtual class ItemInstance getEntityResourceItem(class Random &, class BlockActor const &, int) const; + /*165*/ virtual void updateShape(class BlockSource &, class BlockPos const &); + /*166*/ virtual void updateSignalStrength(class BlockSource &, class BlockPos const &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_DAYLIGHTDETECTORBLOCK + MCVAPI class ItemInstance asItemInstance(class BlockSource &, class BlockPos const &, class Block const &) const; + MCVAPI bool checkIsPathable(class Actor &, class BlockPos const &, class BlockPos const &) const; + MCVAPI class ItemInstance getResourceItem(class Random &, class Block const &, int) const; + MCVAPI class ItemInstance getSilkTouchItemInstance(class Block const &) const; + MCVAPI bool isInteractiveBlock() const; + MCVAPI bool isSignalSource() const; + MCVAPI bool shouldConnectToRedstone(class BlockSource &, class BlockPos const &, int) const; +#endif + MCAPI DaylightDetectorBlock(std::string const &, int, bool); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/DaylightDetectorBlockActor.hpp b/LiteLoader/Header/MC/DaylightDetectorBlockActor.hpp new file mode 100644 index 0000000..3639c3c --- /dev/null +++ b/LiteLoader/Header/MC/DaylightDetectorBlockActor.hpp @@ -0,0 +1,35 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "BlockActor.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class DaylightDetectorBlockActor : public BlockActor { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_DAYLIGHTDETECTORBLOCKACTOR +public: + class DaylightDetectorBlockActor& operator=(class DaylightDetectorBlockActor const &) = delete; + DaylightDetectorBlockActor(class DaylightDetectorBlockActor const &) = delete; + DaylightDetectorBlockActor() = delete; +#endif + +public: + /*0*/ virtual ~DaylightDetectorBlockActor(); + /*7*/ virtual void tick(class BlockSource &); + /*13*/ virtual void __unk_vfn_13(); + /*17*/ virtual void __unk_vfn_17(); + /*29*/ virtual void __unk_vfn_29(); + /*30*/ virtual void __unk_vfn_30(); + /*32*/ virtual void __unk_vfn_32(); + /*33*/ virtual void __unk_vfn_33(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_DAYLIGHTDETECTORBLOCKACTOR +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/DeOpCommand.hpp b/LiteLoader/Header/MC/DeOpCommand.hpp new file mode 100644 index 0000000..88b0b2e --- /dev/null +++ b/LiteLoader/Header/MC/DeOpCommand.hpp @@ -0,0 +1,30 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Command.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class DeOpCommand : public Command { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_DEOPCOMMAND +public: + class DeOpCommand& operator=(class DeOpCommand const &) = delete; + DeOpCommand(class DeOpCommand const &) = delete; + DeOpCommand() = delete; +#endif + +public: + /*0*/ virtual ~DeOpCommand(); + /*1*/ virtual void execute(class CommandOrigin const &, class CommandOutput &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_DEOPCOMMAND +#endif + MCAPI static void setup(class CommandRegistry &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/DeadBush.hpp b/LiteLoader/Header/MC/DeadBush.hpp new file mode 100644 index 0000000..98caa57 --- /dev/null +++ b/LiteLoader/Header/MC/DeadBush.hpp @@ -0,0 +1,62 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "BushBlock.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class DeadBush : public BushBlock { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_DEADBUSH +public: + class DeadBush& operator=(class DeadBush const &) = delete; + DeadBush(class DeadBush const &) = delete; + DeadBush() = delete; +#endif + +public: + /*0*/ virtual ~DeadBush(); + /*18*/ virtual void __unk_vfn_18(); + /*24*/ virtual void __unk_vfn_24(); + /*25*/ virtual void __unk_vfn_25(); + /*26*/ virtual void __unk_vfn_26(); + /*27*/ virtual void __unk_vfn_27(); + /*28*/ virtual void __unk_vfn_28(); + /*30*/ virtual void __unk_vfn_30(); + /*31*/ virtual void __unk_vfn_31(); + /*32*/ virtual void __unk_vfn_32(); + /*33*/ virtual void __unk_vfn_33(); + /*34*/ virtual void __unk_vfn_34(); + /*35*/ virtual void __unk_vfn_35(); + /*36*/ virtual void __unk_vfn_36(); + /*38*/ virtual void __unk_vfn_38(); + /*39*/ virtual void __unk_vfn_39(); + /*40*/ virtual void __unk_vfn_40(); + /*42*/ virtual void __unk_vfn_42(); + /*43*/ virtual void __unk_vfn_43(); + /*49*/ virtual void __unk_vfn_49(); + /*52*/ virtual void __unk_vfn_52(); + /*67*/ virtual void __unk_vfn_67(); + /*73*/ virtual void __unk_vfn_73(); + /*82*/ virtual bool mayPlaceOn(class BlockSource &, class BlockPos const &) const; + /*87*/ virtual void __unk_vfn_87(); + /*90*/ virtual int getResourceCount(class Random &, class Block const &, int, bool) const; + /*91*/ virtual class ItemInstance getResourceItem(class Random &, class Block const &, int) const; + /*95*/ virtual void __unk_vfn_95(); + /*105*/ virtual void playerDestroy(class Player &, class BlockPos const &, class Block const &) const; + /*109*/ virtual void __unk_vfn_109(); + /*116*/ virtual void __unk_vfn_116(); + /*118*/ virtual void __unk_vfn_118(); + /*119*/ virtual void __unk_vfn_119(); + /*142*/ virtual void __unk_vfn_142(); + /*158*/ virtual void __unk_vfn_158(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_DEADBUSH +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/DeadBushFeature.hpp b/LiteLoader/Header/MC/DeadBushFeature.hpp new file mode 100644 index 0000000..24dcd50 --- /dev/null +++ b/LiteLoader/Header/MC/DeadBushFeature.hpp @@ -0,0 +1,29 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Feature.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class DeadBushFeature : public Feature { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_DEADBUSHFEATURE +public: + class DeadBushFeature& operator=(class DeadBushFeature const &) = delete; + DeadBushFeature(class DeadBushFeature const &) = delete; + DeadBushFeature() = delete; +#endif + +public: + /*0*/ virtual ~DeadBushFeature(); + /*1*/ virtual bool place(class BlockSource &, class BlockPos const &, class Random &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_DEADBUSHFEATURE +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/DebugAssertException.hpp b/LiteLoader/Header/MC/DebugAssertException.hpp new file mode 100644 index 0000000..2fd0760 --- /dev/null +++ b/LiteLoader/Header/MC/DebugAssertException.hpp @@ -0,0 +1,35 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class DebugAssertException { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_DEBUGASSERTEXCEPTION +public: + class DebugAssertException& operator=(class DebugAssertException const &) = delete; + DebugAssertException() = delete; +#endif + +public: + /*0*/ virtual ~DebugAssertException(); + /*1*/ virtual char const * what() const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_DEBUGASSERTEXCEPTION +#endif + MCAPI DebugAssertException(char const *, char const *, char const *, int, char const *, char const *); + MCAPI DebugAssertException(class DebugAssertException const &); + MCAPI static bool isEnabled(); + +//private: + +private: + MCAPI static char const *const WHAT; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/DebugEndPoint.hpp b/LiteLoader/Header/MC/DebugEndPoint.hpp new file mode 100644 index 0000000..d4efb45 --- /dev/null +++ b/LiteLoader/Header/MC/DebugEndPoint.hpp @@ -0,0 +1,31 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class DebugEndPoint { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_DEBUGENDPOINT +public: + class DebugEndPoint& operator=(class DebugEndPoint const &) = delete; + DebugEndPoint(class DebugEndPoint const &) = delete; + DebugEndPoint() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_DEBUGENDPOINT +#endif + +//private: + +private: + MCAPI static class std::unordered_map, struct std::equal_to, class std::allocator>> const mAssertAreas; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/DebugInfoComponent.hpp b/LiteLoader/Header/MC/DebugInfoComponent.hpp new file mode 100644 index 0000000..1906416 --- /dev/null +++ b/LiteLoader/Header/MC/DebugInfoComponent.hpp @@ -0,0 +1,39 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class DebugInfoComponent { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_DEBUGINFOCOMPONENT +public: + class DebugInfoComponent& operator=(class DebugInfoComponent const &) = delete; + DebugInfoComponent(class DebugInfoComponent const &) = delete; + DebugInfoComponent() = delete; +#endif + +public: + /*0*/ virtual ~DebugInfoComponent(); + /*1*/ virtual void __unk_vfn_1(); + /*2*/ virtual void __unk_vfn_2(); + /*3*/ virtual void __unk_vfn_3(); + /*4*/ virtual void __unk_vfn_4(); + /*5*/ virtual void __unk_vfn_5(); + /*6*/ virtual void __unk_vfn_6(); + /*7*/ virtual void __unk_vfn_7(); + /*8*/ virtual void __unk_vfn_8(); + /*9*/ virtual enum EventResult onActorDefinitionEventTriggered(class Actor &, std::string const &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_DEBUGINFOCOMPONENT +#endif + MCAPI DebugInfoComponent(class DebugInfoComponent &&); + MCAPI class DebugInfoComponent & operator=(class DebugInfoComponent &&); + MCAPI void removeListener(class HashedString const &, class NetworkIdentifier, unsigned char); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/DebugInfoPacket.hpp b/LiteLoader/Header/MC/DebugInfoPacket.hpp new file mode 100644 index 0000000..1053129 --- /dev/null +++ b/LiteLoader/Header/MC/DebugInfoPacket.hpp @@ -0,0 +1,32 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Packet.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class DebugInfoPacket : public Packet { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_DEBUGINFOPACKET +public: + class DebugInfoPacket& operator=(class DebugInfoPacket const &) = delete; + DebugInfoPacket(class DebugInfoPacket const &) = delete; + DebugInfoPacket() = delete; +#endif + +public: + /*0*/ virtual ~DebugInfoPacket(); + /*1*/ virtual enum MinecraftPacketIds getId() const; + /*2*/ virtual std::string getName() const; + /*3*/ virtual void write(class BinaryStream &) const; + /*4*/ virtual enum StreamReadResult read(class ReadOnlyBinaryStream &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_DEBUGINFOPACKET +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/DebugUtils.hpp b/LiteLoader/Header/MC/DebugUtils.hpp new file mode 100644 index 0000000..85c8904 --- /dev/null +++ b/LiteLoader/Header/MC/DebugUtils.hpp @@ -0,0 +1,23 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +namespace DebugUtils { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA + MCAPI bool DEFAULT_ASSERT_HANDLER(char const *, char const *, char const *, bool, int, char const *, char const *, bool); + MCAPI extern class std::mutex debugUtilMutex; + MCAPI extern class std::function gFireAssertTelemetry; + MCAPI extern class std::function gFireCrashedTelemetry; + MCAPI extern std::string gPublishAssertFullMessage; + MCAPI extern bool gShouldPresentDialog; + MCAPI extern class ServiceOverrider gp_assert_handler; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/DecoratorDefinition.hpp b/LiteLoader/Header/MC/DecoratorDefinition.hpp new file mode 100644 index 0000000..4ad50ed --- /dev/null +++ b/LiteLoader/Header/MC/DecoratorDefinition.hpp @@ -0,0 +1,33 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Json.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class DecoratorDefinition { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_DECORATORDEFINITION +public: + class DecoratorDefinition& operator=(class DecoratorDefinition const &) = delete; + DecoratorDefinition(class DecoratorDefinition const &) = delete; + DecoratorDefinition() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_DECORATORDEFINITION + MCVAPI ~DecoratorDefinition(); +#endif + +//protected: + MCAPI static std::unique_ptr _decoratorLoadChildBehavior(class Json::Value, class BehaviorFactory const &, class BehaviorTreeDefinitionPtr); + +protected: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/DedicatedServer.hpp b/LiteLoader/Header/MC/DedicatedServer.hpp new file mode 100644 index 0000000..80bb15d --- /dev/null +++ b/LiteLoader/Header/MC/DedicatedServer.hpp @@ -0,0 +1,40 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class DedicatedServer { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_DEDICATEDSERVER +public: + class DedicatedServer& operator=(class DedicatedServer const &) = delete; + DedicatedServer(class DedicatedServer const &) = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_DEDICATEDSERVER + MCVAPI class Automation::AutomationClient & getAutomationClient() const; + MCVAPI class IGameModuleShared & getGameModule(); + MCVAPI class Minecraft & getPrimaryMinecraft(); + MCVAPI bool isDedicatedServer() const; + MCVAPI bool isEduMode() const; + MCVAPI void onNetworkMaxPlayersChanged(unsigned int); + MCVAPI bool stop(); + MCVAPI ~DedicatedServer(); +#endif + MCAPI DedicatedServer(); + MCAPI enum DedicatedServer::StartResult start(std::string const &); + +//private: + MCAPI void initializeLogging(); + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/DedicatedServerCommands.hpp b/LiteLoader/Header/MC/DedicatedServerCommands.hpp new file mode 100644 index 0000000..54f8cf5 --- /dev/null +++ b/LiteLoader/Header/MC/DedicatedServerCommands.hpp @@ -0,0 +1,32 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class DedicatedServerCommands { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_DEDICATEDSERVERCOMMANDS +public: + class DedicatedServerCommands& operator=(class DedicatedServerCommands const &) = delete; + DedicatedServerCommands(class DedicatedServerCommands const &) = delete; + DedicatedServerCommands() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_DEDICATEDSERVERCOMMANDS +#endif + MCAPI static void setupStandaloneServer(class Minecraft &, class IMinecraftApp &, class Level &, class LevelStorage &, class DedicatedServer &, class WhitelistFile &); + +//private: + +private: + MCAPI static std::vector mSaveAllFileList; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/DedicatedWSServerCommand.hpp b/LiteLoader/Header/MC/DedicatedWSServerCommand.hpp new file mode 100644 index 0000000..eef796f --- /dev/null +++ b/LiteLoader/Header/MC/DedicatedWSServerCommand.hpp @@ -0,0 +1,35 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Command.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class DedicatedWSServerCommand : public Command { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_DEDICATEDWSSERVERCOMMAND +public: + class DedicatedWSServerCommand& operator=(class DedicatedWSServerCommand const &) = delete; + DedicatedWSServerCommand(class DedicatedWSServerCommand const &) = delete; + DedicatedWSServerCommand() = delete; +#endif + +public: + /*0*/ virtual ~DedicatedWSServerCommand(); + /*1*/ virtual void execute(class CommandOrigin const &, class CommandOutput &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_DEDICATEDWSSERVERCOMMAND +#endif + MCAPI static void setup(class CommandRegistry &, class IMinecraftApp &); + +//private: + +private: + MCAPI static class IMinecraftApp * mApp; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/DefaultDataLoadHelper.hpp b/LiteLoader/Header/MC/DefaultDataLoadHelper.hpp new file mode 100644 index 0000000..76da607 --- /dev/null +++ b/LiteLoader/Header/MC/DefaultDataLoadHelper.hpp @@ -0,0 +1,57 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class DefaultDataLoadHelper { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_DEFAULTDATALOADHELPER +public: + class DefaultDataLoadHelper& operator=(class DefaultDataLoadHelper const &) = delete; + DefaultDataLoadHelper(class DefaultDataLoadHelper const &) = delete; + DefaultDataLoadHelper() = delete; +#endif + +public: + /*0*/ virtual ~DefaultDataLoadHelper(); + /*1*/ virtual void __unk_vfn_1(); + /*2*/ virtual void __unk_vfn_2(); + /*3*/ virtual void __unk_vfn_3(); + /*4*/ virtual void __unk_vfn_4(); + /*5*/ virtual void __unk_vfn_5(); + /*6*/ virtual void __unk_vfn_6(); + /*7*/ virtual void __unk_vfn_7(); + /*8*/ virtual void __unk_vfn_8(); + /*9*/ virtual void __unk_vfn_9(); + /*10*/ virtual void __unk_vfn_10(); + /*11*/ virtual void __unk_vfn_11(); + /*12*/ virtual void __unk_vfn_12(); + /*13*/ virtual void __unk_vfn_13(); + /*14*/ virtual void __unk_vfn_14(); + /*15*/ virtual enum DataLoadHelperType getType() const; + /*16*/ virtual bool shouldResetTime(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_DEFAULTDATALOADHELPER + MCVAPI struct ActorUniqueID loadActorUniqueID(struct ActorUniqueID); + MCVAPI class BlockPos loadBlockPosition(class BlockPos const &); + MCVAPI class BlockPos loadBlockPositionOffset(class BlockPos const &); + MCVAPI class Vec3 loadDirection(class Vec3 const &); + MCVAPI enum Direction::Type loadDirection(enum Direction::Type); + MCVAPI unsigned char loadFacingID(unsigned char); + MCVAPI enum Mirror loadMirror(enum Mirror); + MCVAPI struct ActorUniqueID loadOwnerID(struct ActorUniqueID); + MCVAPI class Vec3 loadPosition(class Vec3 const &); + MCVAPI enum Rotation loadRotation(enum Rotation); + MCVAPI float loadRotationDegreesX(float); + MCVAPI float loadRotationDegreesY(float); + MCVAPI float loadRotationRadiansX(float); + MCVAPI float loadRotationRadiansY(float); +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/DefaultEmptyActorAnimationPlayer.hpp b/LiteLoader/Header/MC/DefaultEmptyActorAnimationPlayer.hpp new file mode 100644 index 0000000..436a70b --- /dev/null +++ b/LiteLoader/Header/MC/DefaultEmptyActorAnimationPlayer.hpp @@ -0,0 +1,37 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class DefaultEmptyActorAnimationPlayer { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_DEFAULTEMPTYACTORANIMATIONPLAYER +public: + class DefaultEmptyActorAnimationPlayer& operator=(class DefaultEmptyActorAnimationPlayer const &) = delete; + DefaultEmptyActorAnimationPlayer(class DefaultEmptyActorAnimationPlayer const &) = delete; +#endif + +public: + /*0*/ virtual ~DefaultEmptyActorAnimationPlayer(); + /*1*/ virtual void __unk_vfn_1(); + /*2*/ virtual void __unk_vfn_2(); + /*3*/ virtual void __unk_vfn_3(); + /*4*/ virtual void __unk_vfn_4(); + /*5*/ virtual void __unk_vfn_5(); + /*6*/ virtual bool hasAnimationFinished() const; + /*7*/ virtual class ActorAnimationPlayer * findAnimation(class HashedString const &); + /*8*/ virtual enum ActorAnimationType getAnimationType() const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_DEFAULTEMPTYACTORANIMATIONPLAYER + MCVAPI void applyToPose(class RenderParams &, class std::unordered_map, struct std::hash, struct std::equal_to, class std::allocator>>> &, float); + MCVAPI void resetAnimation(); +#endif + MCAPI DefaultEmptyActorAnimationPlayer(); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/DefaultLookAngleDescription.hpp b/LiteLoader/Header/MC/DefaultLookAngleDescription.hpp new file mode 100644 index 0000000..d1a96db --- /dev/null +++ b/LiteLoader/Header/MC/DefaultLookAngleDescription.hpp @@ -0,0 +1,30 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Json.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +struct DefaultLookAngleDescription { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_DEFAULTLOOKANGLEDESCRIPTION +public: + struct DefaultLookAngleDescription& operator=(struct DefaultLookAngleDescription const &) = delete; + DefaultLookAngleDescription(struct DefaultLookAngleDescription const &) = delete; + DefaultLookAngleDescription() = delete; +#endif +public: + /*0*/ virtual char const * getJsonName() const; + /*1*/ virtual ~DefaultLookAngleDescription(); + /*2*/ virtual void deserializeData(class Json::Value &); + /*3*/ virtual void serializeData(class Json::Value &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_DEFAULTLOOKANGLEDESCRIPTION +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/DefaultMobSpawner.hpp b/LiteLoader/Header/MC/DefaultMobSpawner.hpp new file mode 100644 index 0000000..a30bdff --- /dev/null +++ b/LiteLoader/Header/MC/DefaultMobSpawner.hpp @@ -0,0 +1,30 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "BaseMobSpawner.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class DefaultMobSpawner : public BaseMobSpawner { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_DEFAULTMOBSPAWNER +public: + class DefaultMobSpawner& operator=(class DefaultMobSpawner const &) = delete; + DefaultMobSpawner(class DefaultMobSpawner const &) = delete; + DefaultMobSpawner() = delete; +#endif + +public: + /*0*/ virtual ~DefaultMobSpawner(); + /*4*/ virtual class BlockPos const & getPos(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_DEFAULTMOBSPAWNER +#endif + MCAPI DefaultMobSpawner(class MobSpawnerBlockActor *); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/DefaultScreenCapabilities.hpp b/LiteLoader/Header/MC/DefaultScreenCapabilities.hpp new file mode 100644 index 0000000..1f05f95 --- /dev/null +++ b/LiteLoader/Header/MC/DefaultScreenCapabilities.hpp @@ -0,0 +1,27 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +struct DefaultScreenCapabilities { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_DEFAULTSCREENCAPABILITIES +public: + struct DefaultScreenCapabilities& operator=(struct DefaultScreenCapabilities const &) = delete; + DefaultScreenCapabilities(struct DefaultScreenCapabilities const &) = delete; + DefaultScreenCapabilities() = delete; +#endif +public: + /*0*/ virtual ~DefaultScreenCapabilities(); + /*1*/ virtual bool isOfType(class typeid_t) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_DEFAULTSCREENCAPABILITIES +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/DefendTrustedTargetGoal.hpp b/LiteLoader/Header/MC/DefendTrustedTargetGoal.hpp new file mode 100644 index 0000000..b27242f --- /dev/null +++ b/LiteLoader/Header/MC/DefendTrustedTargetGoal.hpp @@ -0,0 +1,38 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "NearestAttackableTargetGoal.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class DefendTrustedTargetGoal : public NearestAttackableTargetGoal { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_DEFENDTRUSTEDTARGETGOAL +public: + class DefendTrustedTargetGoal& operator=(class DefendTrustedTargetGoal const &) = delete; + DefendTrustedTargetGoal(class DefendTrustedTargetGoal const &) = delete; + DefendTrustedTargetGoal() = delete; +#endif + +public: + /*0*/ virtual ~DefendTrustedTargetGoal(); + /*1*/ virtual bool canUse(); + /*4*/ virtual void start(); + /*7*/ virtual void appendDebugInfo(std::string &) const; + /*8*/ virtual void __unk_vfn_8(); + /*9*/ virtual void __unk_vfn_9(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_DEFENDTRUSTEDTARGETGOAL +#endif + +//private: + MCAPI struct ActorUniqueID _findTrustedTarget(class TrustComponent const &); + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/DefendVillageTargetDefinition.hpp b/LiteLoader/Header/MC/DefendVillageTargetDefinition.hpp new file mode 100644 index 0000000..c5a41e0 --- /dev/null +++ b/LiteLoader/Header/MC/DefendVillageTargetDefinition.hpp @@ -0,0 +1,28 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "JsonUtil.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class DefendVillageTargetDefinition { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_DEFENDVILLAGETARGETDEFINITION +public: + class DefendVillageTargetDefinition& operator=(class DefendVillageTargetDefinition const &) = delete; + DefendVillageTargetDefinition(class DefendVillageTargetDefinition const &) = delete; + DefendVillageTargetDefinition() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_DEFENDVILLAGETARGETDEFINITION +#endif + MCAPI static void buildSchema(std::string const &, class std::shared_ptr> &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/DefendVillageTargetGoal.hpp b/LiteLoader/Header/MC/DefendVillageTargetGoal.hpp new file mode 100644 index 0000000..b2c46a8 --- /dev/null +++ b/LiteLoader/Header/MC/DefendVillageTargetGoal.hpp @@ -0,0 +1,34 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "TargetGoal.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class DefendVillageTargetGoal : public TargetGoal { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_DEFENDVILLAGETARGETGOAL +public: + class DefendVillageTargetGoal& operator=(class DefendVillageTargetGoal const &) = delete; + DefendVillageTargetGoal(class DefendVillageTargetGoal const &) = delete; + DefendVillageTargetGoal() = delete; +#endif + +public: + /*0*/ virtual ~DefendVillageTargetGoal(); + /*1*/ virtual bool canUse(); + /*2*/ virtual bool canContinueToUse(); + /*4*/ virtual void start(); + /*7*/ virtual void appendDebugInfo(std::string &) const; + /*8*/ virtual void __unk_vfn_8(); + /*9*/ virtual void __unk_vfn_9(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_DEFENDVILLAGETARGETGOAL +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/DefinitionEvent.hpp b/LiteLoader/Header/MC/DefinitionEvent.hpp new file mode 100644 index 0000000..793f6bc --- /dev/null +++ b/LiteLoader/Header/MC/DefinitionEvent.hpp @@ -0,0 +1,26 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class DefinitionEvent { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_DEFINITIONEVENT +#endif + MCAPI DefinitionEvent(class DefinitionEvent &&); + MCAPI DefinitionEvent(class DefinitionEvent const &); + MCAPI DefinitionEvent(); + MCAPI void evaluateGroups(class Actor &, std::vector &, class VariantParameterList const &); + MCAPI class DefinitionEvent & operator=(class DefinitionEvent &&); + MCAPI class DefinitionEvent & operator=(class DefinitionEvent const &); + MCAPI ~DefinitionEvent(); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/DefinitionEventLoader.hpp b/LiteLoader/Header/MC/DefinitionEventLoader.hpp new file mode 100644 index 0000000..e9b9de7 --- /dev/null +++ b/LiteLoader/Header/MC/DefinitionEventLoader.hpp @@ -0,0 +1,33 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Json.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class DefinitionEventLoader { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_DEFINITIONEVENTLOADER +public: + class DefinitionEventLoader& operator=(class DefinitionEventLoader const &) = delete; + DefinitionEventLoader(class DefinitionEventLoader const &) = delete; + DefinitionEventLoader() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_DEFINITIONEVENTLOADER +#endif + MCAPI static class DefinitionEvent loadEvent(class Json::Value); + +//private: + MCAPI static class DefinitionEvent loadCollection(class Json::Value); + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/DefinitionModifier.hpp b/LiteLoader/Header/MC/DefinitionModifier.hpp new file mode 100644 index 0000000..0567213 --- /dev/null +++ b/LiteLoader/Header/MC/DefinitionModifier.hpp @@ -0,0 +1,26 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +struct DefinitionModifier { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_DEFINITIONMODIFIER +public: + struct DefinitionModifier& operator=(struct DefinitionModifier const &) = delete; + DefinitionModifier(struct DefinitionModifier const &) = delete; + DefinitionModifier() = delete; +#endif +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_DEFINITIONMODIFIER +#endif + MCAPI ~DefinitionModifier(); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/DefinitionTrigger.hpp b/LiteLoader/Header/MC/DefinitionTrigger.hpp new file mode 100644 index 0000000..bb6ac04 --- /dev/null +++ b/LiteLoader/Header/MC/DefinitionTrigger.hpp @@ -0,0 +1,29 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class DefinitionTrigger { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_DEFINITIONTRIGGER +public: + DefinitionTrigger(class DefinitionTrigger const &) = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_DEFINITIONTRIGGER +#endif + MCAPI DefinitionTrigger(); + MCAPI DefinitionTrigger(class DefinitionTrigger &&); + MCAPI class DefinitionTrigger & operator=(class DefinitionTrigger const &); + MCAPI class DefinitionTrigger & operator=(class DefinitionTrigger &&); + MCAPI ~DefinitionTrigger(); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/DelayedAttackDefinition.hpp b/LiteLoader/Header/MC/DelayedAttackDefinition.hpp new file mode 100644 index 0000000..cb32773 --- /dev/null +++ b/LiteLoader/Header/MC/DelayedAttackDefinition.hpp @@ -0,0 +1,28 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "JsonUtil.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class DelayedAttackDefinition { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_DELAYEDATTACKDEFINITION +public: + class DelayedAttackDefinition& operator=(class DelayedAttackDefinition const &) = delete; + DelayedAttackDefinition(class DelayedAttackDefinition const &) = delete; + DelayedAttackDefinition() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_DELAYEDATTACKDEFINITION +#endif + MCAPI static void buildSchema(std::string const &, class std::shared_ptr> &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/DelayedAttackGoal.hpp b/LiteLoader/Header/MC/DelayedAttackGoal.hpp new file mode 100644 index 0000000..bf02208 --- /dev/null +++ b/LiteLoader/Header/MC/DelayedAttackGoal.hpp @@ -0,0 +1,44 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "MeleeAttackGoal.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class DelayedAttackGoal : public MeleeAttackGoal { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_DELAYEDATTACKGOAL +public: + class DelayedAttackGoal& operator=(class DelayedAttackGoal const &) = delete; + DelayedAttackGoal(class DelayedAttackGoal const &) = delete; + DelayedAttackGoal() = delete; +#endif + +public: + /*0*/ virtual ~DelayedAttackGoal(); + /*1*/ virtual bool canUse(); + /*2*/ virtual bool canContinueToUse(); + /*3*/ virtual void __unk_vfn_3(); + /*4*/ virtual void start(); + /*5*/ virtual void stop(); + /*6*/ virtual void tick(); + /*7*/ virtual void appendDebugInfo(std::string &) const; + /*8*/ virtual void __unk_vfn_8(); + /*9*/ virtual void __unk_vfn_9(); + /*10*/ virtual void _attemptMoveToTarget(class Actor &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_DELAYEDATTACKGOAL +#endif + +//private: + MCAPI void _attemptAttack(class Actor *); + MCAPI void _manageAttackTime(); + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/DeltaFeature.hpp b/LiteLoader/Header/MC/DeltaFeature.hpp new file mode 100644 index 0000000..9188daa --- /dev/null +++ b/LiteLoader/Header/MC/DeltaFeature.hpp @@ -0,0 +1,35 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Feature.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class DeltaFeature : public Feature { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_DELTAFEATURE +public: + class DeltaFeature& operator=(class DeltaFeature const &) = delete; + DeltaFeature(class DeltaFeature const &) = delete; + DeltaFeature() = delete; +#endif + +public: + /*0*/ virtual ~DeltaFeature(); + /*1*/ virtual bool place(class BlockSource &, class BlockPos const &, class Random &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_DELTAFEATURE +#endif + +//private: + MCAPI class std::optional _findDeltaLevel(class BlockSource &, class BlockPos) const; + MCAPI bool _isValidPlacement(class BlockSource &, class BlockPos) const; + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/DeprecatedSlabBlockItem.hpp b/LiteLoader/Header/MC/DeprecatedSlabBlockItem.hpp new file mode 100644 index 0000000..19cb698 --- /dev/null +++ b/LiteLoader/Header/MC/DeprecatedSlabBlockItem.hpp @@ -0,0 +1,34 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class DeprecatedSlabBlockItem { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_DEPRECATEDSLABBLOCKITEM +public: + class DeprecatedSlabBlockItem& operator=(class DeprecatedSlabBlockItem const &) = delete; + DeprecatedSlabBlockItem(class DeprecatedSlabBlockItem const &) = delete; + DeprecatedSlabBlockItem() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_DEPRECATEDSLABBLOCKITEM + MCVAPI bool _calculatePlacePos(class ItemStack &, class Actor &, unsigned char &, class BlockPos &) const; + MCVAPI bool _useOn(class ItemStack &, class Actor &, class BlockPos, unsigned char, float, float, float) const; +#endif + +//private: + MCAPI void _convertToDoubleSlab(class BlockSource &, class Level &, class BlockPos const &, class ItemStack &, class Actor &, class Block const &, class ItemState const &, int) const; + MCAPI void _trySetDoubleBlock(class BlockSource &, class Level &, class BlockPos const &, class Actor &, class ItemStack &, class Block const &, class gsl::not_null) const; + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/Description.hpp b/LiteLoader/Header/MC/Description.hpp new file mode 100644 index 0000000..38858d2 --- /dev/null +++ b/LiteLoader/Header/MC/Description.hpp @@ -0,0 +1,30 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Json.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +struct Description { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_DESCRIPTION +public: + struct Description& operator=(struct Description const &) = delete; + Description(struct Description const &) = delete; + Description() = delete; +#endif +public: + /*0*/ virtual void __unk_vfn_0() = 0; + /*1*/ virtual ~Description(); + /*2*/ virtual void deserializeData(class Json::Value &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_DESCRIPTION +#endif + MCAPI struct Description * parseDescription(class Json::Value &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/DesertPyramidPiece.hpp b/LiteLoader/Header/MC/DesertPyramidPiece.hpp new file mode 100644 index 0000000..63ba50e --- /dev/null +++ b/LiteLoader/Header/MC/DesertPyramidPiece.hpp @@ -0,0 +1,30 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "StructurePiece.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class DesertPyramidPiece : public StructurePiece { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_DESERTPYRAMIDPIECE +public: + class DesertPyramidPiece& operator=(class DesertPyramidPiece const &) = delete; + DesertPyramidPiece(class DesertPyramidPiece const &) = delete; + DesertPyramidPiece() = delete; +#endif + +public: + /*0*/ virtual ~DesertPyramidPiece(); + /*3*/ virtual enum StructurePieceType getType() const; + /*5*/ virtual bool postProcess(class BlockSource &, class Random &, class BoundingBox const &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_DESERTPYRAMIDPIECE +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/DesertWellFeature.hpp b/LiteLoader/Header/MC/DesertWellFeature.hpp new file mode 100644 index 0000000..27e982d --- /dev/null +++ b/LiteLoader/Header/MC/DesertWellFeature.hpp @@ -0,0 +1,29 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Feature.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class DesertWellFeature : public Feature { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_DESERTWELLFEATURE +public: + class DesertWellFeature& operator=(class DesertWellFeature const &) = delete; + DesertWellFeature(class DesertWellFeature const &) = delete; + DesertWellFeature() = delete; +#endif + +public: + /*0*/ virtual ~DesertWellFeature(); + /*1*/ virtual bool place(class BlockSource &, class BlockPos const &, class Random &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_DESERTWELLFEATURE +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/DespawnComponent.hpp b/LiteLoader/Header/MC/DespawnComponent.hpp new file mode 100644 index 0000000..a79884e --- /dev/null +++ b/LiteLoader/Header/MC/DespawnComponent.hpp @@ -0,0 +1,31 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class DespawnComponent { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_DESPAWNCOMPONENT +public: + class DespawnComponent& operator=(class DespawnComponent const &) = delete; + DespawnComponent(class DespawnComponent const &) = delete; + DespawnComponent() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_DESPAWNCOMPONENT +#endif + +//private: + MCAPI bool _tryStandardDespawnRules(class Actor &) const; + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/DespawnDefinition.hpp b/LiteLoader/Header/MC/DespawnDefinition.hpp new file mode 100644 index 0000000..36d5f09 --- /dev/null +++ b/LiteLoader/Header/MC/DespawnDefinition.hpp @@ -0,0 +1,28 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "JsonUtil.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class DespawnDefinition { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_DESPAWNDEFINITION +public: + class DespawnDefinition& operator=(class DespawnDefinition const &) = delete; + DespawnDefinition(class DespawnDefinition const &) = delete; + DespawnDefinition() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_DESPAWNDEFINITION +#endif + MCAPI static void buildSchema(class std::shared_ptr> &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/DespawnSystem.hpp b/LiteLoader/Header/MC/DespawnSystem.hpp new file mode 100644 index 0000000..1ace6fe --- /dev/null +++ b/LiteLoader/Header/MC/DespawnSystem.hpp @@ -0,0 +1,33 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class DespawnSystem { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_DESPAWNSYSTEM +public: + class DespawnSystem& operator=(class DespawnSystem const &) = delete; + DespawnSystem(class DespawnSystem const &) = delete; + DespawnSystem() = delete; +#endif + +public: + /*0*/ virtual ~DespawnSystem(); + /*1*/ virtual void tick(class EntityRegistry &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_DESPAWNSYSTEM +#endif + +//private: + MCAPI void _tickComponent(class ViewedEntityContextT, class ActorComponent, class DespawnComponent> &); + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/DetectorRailBlock.hpp b/LiteLoader/Header/MC/DetectorRailBlock.hpp new file mode 100644 index 0000000..946a39a --- /dev/null +++ b/LiteLoader/Header/MC/DetectorRailBlock.hpp @@ -0,0 +1,73 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "BaseRailBlock.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class DetectorRailBlock : public BaseRailBlock { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_DETECTORRAILBLOCK +public: + class DetectorRailBlock& operator=(class DetectorRailBlock const &) = delete; + DetectorRailBlock(class DetectorRailBlock const &) = delete; + DetectorRailBlock() = delete; +#endif + +public: + /*0*/ virtual ~DetectorRailBlock(); + /*1*/ virtual void tick(class BlockSource &, class BlockPos const &, class Random &) const; + /*18*/ virtual void __unk_vfn_18(); + /*24*/ virtual void __unk_vfn_24(); + /*25*/ virtual void __unk_vfn_25(); + /*26*/ virtual void __unk_vfn_26(); + /*27*/ virtual void __unk_vfn_27(); + /*28*/ virtual void __unk_vfn_28(); + /*30*/ virtual void __unk_vfn_30(); + /*31*/ virtual void __unk_vfn_31(); + /*32*/ virtual void __unk_vfn_32(); + /*33*/ virtual void __unk_vfn_33(); + /*34*/ virtual void __unk_vfn_34(); + /*35*/ virtual void __unk_vfn_35(); + /*36*/ virtual void __unk_vfn_36(); + /*38*/ virtual void __unk_vfn_38(); + /*39*/ virtual void __unk_vfn_39(); + /*40*/ virtual void __unk_vfn_40(); + /*42*/ virtual void __unk_vfn_42(); + /*43*/ virtual void __unk_vfn_43(); + /*49*/ virtual void __unk_vfn_49(); + /*51*/ virtual bool shouldConnectToRedstone(class BlockSource &, class BlockPos const &, int) const; + /*52*/ virtual void __unk_vfn_52(); + /*65*/ virtual void onRedstoneUpdate(class BlockSource &, class BlockPos const &, int, bool) const; + /*67*/ virtual void __unk_vfn_67(); + /*70*/ virtual void setupRedstoneComponent(class BlockSource &, class BlockPos const &) const; + /*73*/ virtual void __unk_vfn_73(); + /*87*/ virtual void __unk_vfn_87(); + /*95*/ virtual void __unk_vfn_95(); + /*104*/ virtual void entityInside(class BlockSource &, class BlockPos const &, class Actor &) const; + /*109*/ virtual void __unk_vfn_109(); + /*116*/ virtual void __unk_vfn_116(); + /*118*/ virtual void __unk_vfn_118(); + /*119*/ virtual void __unk_vfn_119(); + /*120*/ virtual int getComparatorSignal(class BlockSource &, class BlockPos const &, class Block const &, unsigned char) const; + /*141*/ virtual int getVariant(class Block const &) const; + /*142*/ virtual void __unk_vfn_142(); + /*158*/ virtual void __unk_vfn_158(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_DETECTORRAILBLOCK + MCVAPI bool hasComparatorSignal() const; + MCVAPI bool isSignalSource() const; +#endif + +//private: + MCAPI void checkPressed(class BlockSource &, class BlockPos const &) const; + MCAPI void handlePressed(class BlockSource &, class BlockPos const &, bool) const; + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/DifficultyCommand.hpp b/LiteLoader/Header/MC/DifficultyCommand.hpp new file mode 100644 index 0000000..5e3fe5b --- /dev/null +++ b/LiteLoader/Header/MC/DifficultyCommand.hpp @@ -0,0 +1,30 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Command.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class DifficultyCommand : public Command { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_DIFFICULTYCOMMAND +public: + class DifficultyCommand& operator=(class DifficultyCommand const &) = delete; + DifficultyCommand(class DifficultyCommand const &) = delete; + DifficultyCommand() = delete; +#endif + +public: + /*0*/ virtual ~DifficultyCommand(); + /*1*/ virtual void execute(class CommandOrigin const &, class CommandOutput &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_DIFFICULTYCOMMAND +#endif + MCAPI static void setup(class CommandRegistry &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/DiggerItem.hpp b/LiteLoader/Header/MC/DiggerItem.hpp new file mode 100644 index 0000000..ea065fa --- /dev/null +++ b/LiteLoader/Header/MC/DiggerItem.hpp @@ -0,0 +1,57 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Item.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class DiggerItem : public Item { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_DIGGERITEM +public: + class DiggerItem& operator=(class DiggerItem const &) = delete; + DiggerItem(class DiggerItem const &) = delete; + DiggerItem() = delete; +#endif + +public: + /*0*/ virtual ~DiggerItem(); + /*5*/ virtual void __unk_vfn_5(); + /*24*/ virtual int getAttackDamage() const; + /*25*/ virtual bool isHandEquipped() const; + /*26*/ virtual void __unk_vfn_26(); + /*27*/ virtual void __unk_vfn_27(); + /*31*/ virtual void __unk_vfn_31(); + /*32*/ virtual void __unk_vfn_32(); + /*34*/ virtual void __unk_vfn_34(); + /*37*/ virtual void __unk_vfn_37(); + /*38*/ virtual void appendFormattedHovertext(class ItemStackBase const &, class Level &, std::string &, bool) const; + /*39*/ virtual bool isValidRepairItem(class ItemStackBase const &, class ItemStackBase const &) const; + /*41*/ virtual int getEnchantValue() const; + /*43*/ virtual void __unk_vfn_43(); + /*46*/ virtual void __unk_vfn_46(); + /*47*/ virtual void __unk_vfn_47(); + /*49*/ virtual void __unk_vfn_49(); + /*50*/ virtual void __unk_vfn_50(); + /*60*/ virtual float getDestroySpeed(class ItemInstance const &, class Block const &) const; + /*64*/ virtual bool mineBlock(class ItemStack &, class Block const &, int, int, int, class Actor *) const; + /*79*/ virtual void __unk_vfn_79(); + /*80*/ virtual void __unk_vfn_80(); + /*90*/ virtual void __unk_vfn_90(); + /*97*/ virtual void __unk_vfn_97(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_DIGGERITEM +#endif + MCAPI void setBlocks(std::vector const &); + +//protected: + MCAPI DiggerItem(std::string const &, int, int, class Item::Tier const &, std::vector const &); + +protected: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/DiggingEnchant.hpp b/LiteLoader/Header/MC/DiggingEnchant.hpp new file mode 100644 index 0000000..d32d10b --- /dev/null +++ b/LiteLoader/Header/MC/DiggingEnchant.hpp @@ -0,0 +1,31 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Enchant.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class DiggingEnchant : public Enchant { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_DIGGINGENCHANT +public: + class DiggingEnchant& operator=(class DiggingEnchant const &) = delete; + DiggingEnchant(class DiggingEnchant const &) = delete; + DiggingEnchant() = delete; +#endif + +public: + /*0*/ virtual ~DiggingEnchant(); + /*2*/ virtual int getMinCost(int) const; + /*3*/ virtual int getMaxCost(int) const; + /*5*/ virtual int getMaxLevel() const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_DIGGINGENCHANT +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/Dimension.hpp b/LiteLoader/Header/MC/Dimension.hpp new file mode 100644 index 0000000..afbb787 --- /dev/null +++ b/LiteLoader/Header/MC/Dimension.hpp @@ -0,0 +1,99 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class Dimension { + +#define AFTER_EXTRA +public: + LIAPI BlockSource& getBlockSourceFromMainChunkSource(){ + return dAccess(this, 96); + }; +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_DIMENSION +public: + class Dimension& operator=(class Dimension const &) = delete; + Dimension(class Dimension const &) = delete; + Dimension() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_DIMENSION + MCVAPI std::unique_ptr _createChunkBuildOrderPolicy(); + MCVAPI void deserialize(class CompoundTag const &); + MCVAPI bool forceCheckAllNeighChunkSavedStat() const; + MCVAPI class Color getBrightnessDependentFogColor(class Color const &, float) const; + MCVAPI class DimensionBrightnessRamp const & getBrightnessRamp() const; + MCVAPI float getClearColorScale(); + MCVAPI float getCloudHeight() const; + MCVAPI int getDefaultBiome() const; + MCVAPI class BaseLightTextureImageBuilder * getLightTextureImageBuilder() const; + MCVAPI float getMaxFogEnd() const; + MCVAPI float getMaxFogStart() const; + MCVAPI class BlockPos getSpawnPos() const; + MCVAPI int getSpawnYPosition() const; + MCVAPI float getSunIntensity(float, class Vec3 const &, float) const; + MCVAPI float getTimeOfDay(int, float) const; + MCVAPI bool hasBedrockFog(); + MCVAPI bool hasGround() const; + MCVAPI void init(); + MCVAPI bool isDay() const; + MCVAPI bool isEntityRelevantForPlayer(class Player &, class Actor const &) const; + MCVAPI bool isFoggyAt(int, int) const; + MCVAPI bool isNaturalDimension() const; + MCVAPI bool isPositionRelevantForPlayer(class BlockPos const &, class Player &) const; + MCVAPI bool isValidSpawn(int, int) const; + MCVAPI bool mayRespawnViaBed() const; + MCVAPI void onBlockChanged(class BlockSource &, class BlockPos const &, unsigned int, class Block const &, class Block const &, int, struct ActorBlockSyncMessage const *); + MCVAPI void onBlockEvent(class BlockSource &, int, int, int, int, int); + MCVAPI void onChunkLoaded(class ChunkSource &, class LevelChunk &); + MCVAPI void onLevelDestruction(std::string const &); + MCVAPI void sendBroadcast(class Packet const &, class Player *); + MCVAPI void serialize(class CompoundTag &) const; + MCVAPI bool showSky() const; + MCVAPI void startLeaveGame(); + MCVAPI void tick(); + MCVAPI void tickRedstone(); + MCVAPI ~Dimension(); +#endif + MCAPI Dimension(class Level &, class AutomaticID, short, class Scheduler &, std::string); + MCAPI float distanceToNearestPlayerSqr2D(class Vec3); + MCAPI class Actor * fetchEntity(struct ActorUniqueID, bool); + MCAPI class Player * fetchNearestAttackablePlayer(class BlockPos, float, class Actor *); + MCAPI class Player * fetchNearestAttackablePlayer(class Actor &, float); + MCAPI class Player * fetchNearestPlayer(class Actor &, float); + MCAPI class Player * fetchNearestPlayer(float, float, float, float, bool); + MCAPI class Player * findPlayer(class std::function) const; + MCAPI void forEachPlayer(class std::function); + MCAPI void forEachPlayer(class std::function) const; + MCAPI float getMoonBrightness() const; + MCAPI int getMoonPhase() const; + MCAPI float getTimeOfDay(float) const; + MCAPI void removeActorByID(struct ActorUniqueID const &); + MCAPI void sendPacketForEntity(class Actor const &, class Packet const &, class Player const *); + MCAPI void sendPacketForPosition(class BlockPos const &, class Packet const &, class Player const *); + MCAPI void transferEntity(class Vec3 const &, std::unique_ptr); + MCAPI void transferEntityToUnloadedChunk(class Vec3 const &, std::unique_ptr); + MCAPI void tryGarbageCollectStructures(); + MCAPI class BlockSource * tryGetClosestPublicRegion(class ChunkPos const &) const; + MCAPI void tryLoadLimboEntities(class ChunkPos const &); + MCAPI static float const MOON_BRIGHTNESS_PER_PHASE[]; + MCAPI static class std::chrono::duration<__int64, struct std::ratio<1, 1>> const STRUCTURE_PRUNE_INTERVAL; + +//protected: + MCAPI void _completeEntityTransfer(class BlockSource &, std::unique_ptr); + +//private: + MCAPI void _tickEntityChunkMoves(); + MCAPI void upgradeOldLimboEntity(class CompoundTag &, enum LimboEntitiesVersion); + +protected: + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/DimensionBrightnessRamp.hpp b/LiteLoader/Header/MC/DimensionBrightnessRamp.hpp new file mode 100644 index 0000000..f5b7131 --- /dev/null +++ b/LiteLoader/Header/MC/DimensionBrightnessRamp.hpp @@ -0,0 +1,29 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class DimensionBrightnessRamp { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_DIMENSIONBRIGHTNESSRAMP +public: + class DimensionBrightnessRamp& operator=(class DimensionBrightnessRamp const &) = delete; + DimensionBrightnessRamp(class DimensionBrightnessRamp const &) = delete; + DimensionBrightnessRamp() = delete; +#endif + +public: + /*0*/ virtual ~DimensionBrightnessRamp(); + /*1*/ virtual void buildBrightnessRamp(); + /*2*/ virtual float getBaseAmbientValue() const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_DIMENSIONBRIGHTNESSRAMP +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/DiodeBlock.hpp b/LiteLoader/Header/MC/DiodeBlock.hpp new file mode 100644 index 0000000..688537b --- /dev/null +++ b/LiteLoader/Header/MC/DiodeBlock.hpp @@ -0,0 +1,87 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "BlockLegacy.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class DiodeBlock : public BlockLegacy { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_DIODEBLOCK +public: + class DiodeBlock& operator=(class DiodeBlock const &) = delete; + DiodeBlock(class DiodeBlock const &) = delete; + DiodeBlock() = delete; +#endif + +public: + /*0*/ virtual ~DiodeBlock(); + /*18*/ virtual void __unk_vfn_18(); + /*24*/ virtual void __unk_vfn_24(); + /*25*/ virtual void __unk_vfn_25(); + /*26*/ virtual void __unk_vfn_26(); + /*27*/ virtual void __unk_vfn_27(); + /*28*/ virtual void __unk_vfn_28(); + /*30*/ virtual void __unk_vfn_30(); + /*31*/ virtual void __unk_vfn_31(); + /*32*/ virtual void __unk_vfn_32(); + /*33*/ virtual void __unk_vfn_33(); + /*34*/ virtual void __unk_vfn_34(); + /*35*/ virtual void __unk_vfn_35(); + /*36*/ virtual void __unk_vfn_36(); + /*38*/ virtual void __unk_vfn_38(); + /*39*/ virtual void __unk_vfn_39(); + /*40*/ virtual void __unk_vfn_40(); + /*42*/ virtual void __unk_vfn_42(); + /*43*/ virtual void __unk_vfn_43(); + /*48*/ virtual int getDirectSignal(class BlockSource &, class BlockPos const &, int) const; + /*49*/ virtual void __unk_vfn_49(); + /*52*/ virtual void __unk_vfn_52(); + /*65*/ virtual void onRedstoneUpdate(class BlockSource &, class BlockPos const &, int, bool) const; + /*67*/ virtual void __unk_vfn_67(); + /*73*/ virtual void __unk_vfn_73(); + /*81*/ virtual bool mayPlace(class BlockSource &, class BlockPos const &) const; + /*87*/ virtual void __unk_vfn_87(); + /*88*/ virtual void neighborChanged(class BlockSource &, class BlockPos const &, class BlockPos const &) const; + /*95*/ virtual void __unk_vfn_95(); + /*99*/ virtual class Block const & getPlacementBlock(class Actor &, class BlockPos const &, unsigned char, class Vec3 const &, int) const; + /*106*/ virtual bool canSurvive(class BlockSource &, class BlockPos const &) const; + /*109*/ virtual void __unk_vfn_109(); + /*116*/ virtual void __unk_vfn_116(); + /*118*/ virtual void __unk_vfn_118(); + /*119*/ virtual void __unk_vfn_119(); + /*141*/ virtual int getVariant(class Block const &) const; + /*142*/ virtual void __unk_vfn_142(); + /*158*/ virtual void __unk_vfn_158(); + /*164*/ virtual int getSignal(class BlockSource &, class BlockPos const &, int) const; + /*165*/ virtual bool isLocked(class BlockSource &, class BlockPos const &) const; + /*166*/ virtual bool isSameDiode(class Block const &) const; + /*167*/ virtual bool shouldPrioritize(class BlockSource &, class BlockPos const &) const; + /*168*/ virtual bool isOn() const; + /*169*/ virtual bool shouldTurnOn(class BlockSource &, class BlockPos const &) const; + /*170*/ virtual int getInputSignal(class BlockSource &, class BlockPos const &) const; + /*171*/ virtual bool isAlternateInput(class Block const &) const; + /*172*/ virtual int getAlternateSignal(class BlockSource &, class BlockPos const &) const; + /*173*/ virtual int getOutputSignal(class Block const &) const; + /*174*/ virtual int getTurnOffDelay(class Block const &) const; + /*175*/ virtual int getTurnOnDelay(class Block const &) const = 0; + /*176*/ virtual class Block const * getOnBlock(class Block const *) const = 0; + /*177*/ virtual class Block const * getOffBlock(class Block const *) const = 0; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_DIODEBLOCK + MCVAPI bool canSpawnOn() const; + MCVAPI bool isSignalSource() const; +#endif + MCAPI static bool isDiode(class Block const &); + +//protected: + MCAPI int getAlternateSignalAt(class BlockSource &, class BlockPos const &, int) const; + +protected: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/Direction.hpp b/LiteLoader/Header/MC/Direction.hpp new file mode 100644 index 0000000..5e73708 --- /dev/null +++ b/LiteLoader/Header/MC/Direction.hpp @@ -0,0 +1,32 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class Direction { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_DIRECTION +public: + class Direction& operator=(class Direction const &) = delete; + Direction(class Direction const &) = delete; + Direction() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_DIRECTION +#endif + MCAPI static unsigned char const DIRECTION_FACING[]; + MCAPI static enum Direction::Type const DIRECTION_OPPOSITE[]; + MCAPI static enum Direction::Type const FACING_DIRECTION[]; + MCAPI static int const STEP_X[]; + MCAPI static int const STEP_Z[]; + MCAPI static enum Direction::Type getDirection(float, float); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/DirectoryPackAccessStrategy.hpp b/LiteLoader/Header/MC/DirectoryPackAccessStrategy.hpp new file mode 100644 index 0000000..639268b --- /dev/null +++ b/LiteLoader/Header/MC/DirectoryPackAccessStrategy.hpp @@ -0,0 +1,47 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Core.hpp" +#include "PackAccessStrategy.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class DirectoryPackAccessStrategy : public PackAccessStrategy { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_DIRECTORYPACKACCESSSTRATEGY +public: + class DirectoryPackAccessStrategy& operator=(class DirectoryPackAccessStrategy const &) = delete; + DirectoryPackAccessStrategy(class DirectoryPackAccessStrategy const &) = delete; + DirectoryPackAccessStrategy() = delete; +#endif + +public: + /*0*/ virtual ~DirectoryPackAccessStrategy(); + /*1*/ virtual unsigned __int64 getPackSize() const; + /*2*/ virtual class ResourceLocation const & getPackLocation() const; + /*3*/ virtual std::string const & getPackName() const; + /*4*/ virtual bool isWritable() const; + /*5*/ virtual void setIsTrusted(bool); + /*6*/ virtual bool isTrusted() const; + /*7*/ virtual bool hasAsset(class Core::Path const &, bool) const; + /*8*/ virtual bool hasFolder(class Core::Path const &) const; + /*9*/ virtual bool getAsset(class Core::Path const &, std::string &, bool) const; + /*10*/ virtual bool deleteAsset(class Core::PathBuffer const &); + /*11*/ virtual bool writeAsset(class Core::Path const &, std::string const &); + /*12*/ virtual void forEachIn(class Core::Path const &, class std::function, bool) const; + /*13*/ virtual void forEachInAssetSet(class Core::Path const &, class std::function) const; + /*14*/ virtual enum PackAccessStrategyType getStrategyType() const; + /*16*/ virtual std::unique_ptr createSubPack(class Core::Path const &) const; + /*18*/ virtual bool canRecurse() const; + /*19*/ virtual void unload(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_DIRECTORYPACKACCESSSTRATEGY +#endif + MCAPI DirectoryPackAccessStrategy(class ResourceLocation const &, bool); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/DirectoryPackSource.hpp b/LiteLoader/Header/MC/DirectoryPackSource.hpp new file mode 100644 index 0000000..102d429 --- /dev/null +++ b/LiteLoader/Header/MC/DirectoryPackSource.hpp @@ -0,0 +1,37 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Core.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class DirectoryPackSource { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_DIRECTORYPACKSOURCE +public: + class DirectoryPackSource& operator=(class DirectoryPackSource const &) = delete; + DirectoryPackSource(class DirectoryPackSource const &) = delete; + DirectoryPackSource() = delete; +#endif + +public: + /*0*/ virtual ~DirectoryPackSource(); + /*1*/ virtual void __unk_vfn_1(); + /*2*/ virtual void __unk_vfn_2(); + /*3*/ virtual enum PackOrigin getPackOrigin() const; + /*4*/ virtual enum PackType getPackType() const; + /*5*/ virtual class PackSourceReport load(class PackManifestFactory &, class IContentKeyProvider const &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_DIRECTORYPACKSOURCE + MCVAPI void forEachPack(class std::function); + MCVAPI void forEachPackConst(class std::function) const; +#endif + MCAPI DirectoryPackSource(class Core::Path const &, enum PackType, enum PackOrigin, bool); + MCAPI static void checkAndRemoveIncompletePacks(class Core::Path const &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/DirectoryPackWithEncryptionAccessStrategy.hpp b/LiteLoader/Header/MC/DirectoryPackWithEncryptionAccessStrategy.hpp new file mode 100644 index 0000000..742a13d --- /dev/null +++ b/LiteLoader/Header/MC/DirectoryPackWithEncryptionAccessStrategy.hpp @@ -0,0 +1,53 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Core.hpp" +#include "PackAccessStrategy.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class DirectoryPackWithEncryptionAccessStrategy : public PackAccessStrategy { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_DIRECTORYPACKWITHENCRYPTIONACCESSSTRATEGY +public: + class DirectoryPackWithEncryptionAccessStrategy& operator=(class DirectoryPackWithEncryptionAccessStrategy const &) = delete; + DirectoryPackWithEncryptionAccessStrategy(class DirectoryPackWithEncryptionAccessStrategy const &) = delete; + DirectoryPackWithEncryptionAccessStrategy() = delete; +#endif + +public: + /*0*/ virtual ~DirectoryPackWithEncryptionAccessStrategy(); + /*1*/ virtual unsigned __int64 getPackSize() const; + /*2*/ virtual class ResourceLocation const & getPackLocation() const; + /*3*/ virtual std::string const & getPackName() const; + /*4*/ virtual bool isWritable() const; + /*5*/ virtual void setIsTrusted(bool); + /*6*/ virtual bool isTrusted() const; + /*7*/ virtual bool hasAsset(class Core::Path const &, bool) const; + /*8*/ virtual bool hasFolder(class Core::Path const &) const; + /*9*/ virtual bool getAsset(class Core::Path const &, std::string &, bool) const; + /*10*/ virtual bool deleteAsset(class Core::PathBuffer const &); + /*11*/ virtual bool writeAsset(class Core::Path const &, std::string const &); + /*12*/ virtual void forEachIn(class Core::Path const &, class std::function, bool) const; + /*14*/ virtual enum PackAccessStrategyType getStrategyType() const; + /*16*/ virtual std::unique_ptr createSubPack(class Core::Path const &) const; + /*17*/ virtual enum PackAccessAssetGenerationResult generateAssetSet(); + /*19*/ virtual void unload(); + /*20*/ virtual bool hasUpgradeFiles() const; + /*21*/ virtual class ContentIdentity readContentIdentity() const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_DIRECTORYPACKWITHENCRYPTIONACCESSSTRATEGY +#endif + MCAPI DirectoryPackWithEncryptionAccessStrategy(class ResourceLocation const &, class ResourceLocation const &, class IContentKeyProvider const &); + +//private: + MCAPI bool _getUnencryptedAsset(class Core::Path const &, std::string &) const; + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/DirtBlock.hpp b/LiteLoader/Header/MC/DirtBlock.hpp new file mode 100644 index 0000000..1f1f9d6 --- /dev/null +++ b/LiteLoader/Header/MC/DirtBlock.hpp @@ -0,0 +1,68 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "BlockLegacy.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class DirtBlock : public BlockLegacy { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_DIRTBLOCK +public: + class DirtBlock& operator=(class DirtBlock const &) = delete; + DirtBlock(class DirtBlock const &) = delete; + DirtBlock() = delete; +#endif + +public: + /*0*/ virtual ~DirtBlock(); + /*18*/ virtual void __unk_vfn_18(); + /*24*/ virtual void __unk_vfn_24(); + /*25*/ virtual void __unk_vfn_25(); + /*26*/ virtual void __unk_vfn_26(); + /*27*/ virtual void __unk_vfn_27(); + /*28*/ virtual void __unk_vfn_28(); + /*30*/ virtual void __unk_vfn_30(); + /*31*/ virtual void __unk_vfn_31(); + /*32*/ virtual void __unk_vfn_32(); + /*33*/ virtual void __unk_vfn_33(); + /*34*/ virtual void __unk_vfn_34(); + /*35*/ virtual void __unk_vfn_35(); + /*36*/ virtual void __unk_vfn_36(); + /*38*/ virtual void __unk_vfn_38(); + /*39*/ virtual void __unk_vfn_39(); + /*40*/ virtual void __unk_vfn_40(); + /*42*/ virtual void __unk_vfn_42(); + /*43*/ virtual void __unk_vfn_43(); + /*49*/ virtual void __unk_vfn_49(); + /*52*/ virtual void __unk_vfn_52(); + /*67*/ virtual void __unk_vfn_67(); + /*73*/ virtual void __unk_vfn_73(); + /*75*/ virtual bool onFertilized(class BlockSource &, class BlockPos const &, class Actor *, enum FertilizerType) const; + /*76*/ virtual bool mayConsumeFertilizer(class BlockSource &) const; + /*77*/ virtual bool canBeFertilized(class BlockSource &, class BlockPos const &, class Block const &) const; + /*87*/ virtual void __unk_vfn_87(); + /*88*/ virtual void neighborChanged(class BlockSource &, class BlockPos const &, class BlockPos const &) const; + /*91*/ virtual class ItemInstance getResourceItem(class Random &, class Block const &, int) const; + /*95*/ virtual void __unk_vfn_95(); + /*109*/ virtual void __unk_vfn_109(); + /*116*/ virtual void __unk_vfn_116(); + /*118*/ virtual void __unk_vfn_118(); + /*119*/ virtual void __unk_vfn_119(); + /*127*/ virtual std::string buildDescriptionId(class Block const &) const; + /*128*/ virtual bool isAuxValueRelevantForPicking() const; + /*141*/ virtual int getVariant(class Block const &) const; + /*142*/ virtual void __unk_vfn_142(); + /*158*/ virtual void __unk_vfn_158(); + /*159*/ virtual class ItemInstance getSilkTouchItemInstance(class Block const &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_DIRTBLOCK + MCVAPI bool canBeOriginalSurface() const; +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/DirtyTicksCounter.hpp b/LiteLoader/Header/MC/DirtyTicksCounter.hpp new file mode 100644 index 0000000..cffcdea --- /dev/null +++ b/LiteLoader/Header/MC/DirtyTicksCounter.hpp @@ -0,0 +1,26 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class DirtyTicksCounter { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_DIRTYTICKSCOUNTER +public: + class DirtyTicksCounter& operator=(class DirtyTicksCounter const &) = delete; + DirtyTicksCounter(class DirtyTicksCounter const &) = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_DIRTYTICKSCOUNTER +#endif + MCAPI DirtyTicksCounter(); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/DisconnectPacket.hpp b/LiteLoader/Header/MC/DisconnectPacket.hpp new file mode 100644 index 0000000..2399df5 --- /dev/null +++ b/LiteLoader/Header/MC/DisconnectPacket.hpp @@ -0,0 +1,32 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Packet.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class DisconnectPacket : public Packet { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_DISCONNECTPACKET +public: + class DisconnectPacket& operator=(class DisconnectPacket const &) = delete; + DisconnectPacket(class DisconnectPacket const &) = delete; + DisconnectPacket() = delete; +#endif + +public: + /*0*/ virtual ~DisconnectPacket(); + /*1*/ virtual enum MinecraftPacketIds getId() const; + /*2*/ virtual std::string getName() const; + /*3*/ virtual void write(class BinaryStream &) const; + /*4*/ virtual enum StreamReadResult read(class ReadOnlyBinaryStream &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_DISCONNECTPACKET +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/DispenserBlock.hpp b/LiteLoader/Header/MC/DispenserBlock.hpp new file mode 100644 index 0000000..11f11ec --- /dev/null +++ b/LiteLoader/Header/MC/DispenserBlock.hpp @@ -0,0 +1,207 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "ActorBlock.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class DispenserBlock : public ActorBlock { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_DISPENSERBLOCK +public: + class DispenserBlock& operator=(class DispenserBlock const &) = delete; + DispenserBlock(class DispenserBlock const &) = delete; + DispenserBlock() = delete; +#endif + +public: + /*0*/ virtual ~DispenserBlock(); + /*1*/ virtual void tick(class BlockSource &, class BlockPos const &, class Random &) const; + /*2*/ virtual class Block const & getStateFromLegacyData(unsigned short) const; + /*3*/ virtual class std::shared_ptr newBlockEntity(class BlockPos const &, class Block const &) const; + /*4*/ virtual class Block const * getNextBlockPermutation(class Block const &) const; + /*5*/ virtual bool getCollisionShape(class AABB &, class Block const &, class BlockSource &, class BlockPos const &, class Actor *) const; + /*6*/ virtual bool isObstructingChests(class BlockSource &, class BlockPos const &) const; + /*7*/ virtual void __unk_vfn_7(); + /*8*/ virtual class Vec3 randomlyModifyPosition(class BlockPos const &, int &) const; + /*9*/ virtual void addAABBs(class Block const &, class BlockSource &, class BlockPos const &, class AABB const *, std::vector &) const; + /*10*/ virtual class AABB const & getAABB(class BlockSource &, class BlockPos const &, class Block const &, class AABB &, bool) const; + /*11*/ virtual bool addCollisionShapes(class Block const &, class BlockSource &, class BlockPos const &, class AABB const *, std::vector &, class Actor *) const; + /*12*/ virtual class AABB const & getOutline(class BlockSource &, class BlockPos const &, class AABB &) const; + /*13*/ virtual bool getLiquidClipVolume(class BlockSource &, class BlockPos const &, class AABB &) const; + /*14*/ virtual void __unk_vfn_14(); + /*15*/ virtual void __unk_vfn_15(); + /*16*/ virtual struct Brightness getLightEmission(class Block const &) const; + /*17*/ virtual bool shouldRandomTick() const; + /*18*/ virtual void __unk_vfn_18(); + /*19*/ virtual void __unk_vfn_19(); + /*20*/ virtual void __unk_vfn_20(); + /*21*/ virtual bool canProvideSupport(class Block const &, unsigned char, enum BlockSupportType) const; + /*22*/ virtual bool canConnect(class Block const &, unsigned char, class Block const &) const; + /*23*/ virtual void getConnectedDirections(class Block const &, class BlockPos const &, class BlockSource &, bool &, bool &, bool &, bool &) const; + /*24*/ virtual void __unk_vfn_24(); + /*25*/ virtual void __unk_vfn_25(); + /*26*/ virtual void __unk_vfn_26(); + /*27*/ virtual void __unk_vfn_27(); + /*28*/ virtual void __unk_vfn_28(); + /*29*/ virtual bool isWaterBlocking() const; + /*30*/ virtual void __unk_vfn_30(); + /*31*/ virtual void __unk_vfn_31(); + /*32*/ virtual void __unk_vfn_32(); + /*33*/ virtual void __unk_vfn_33(); + /*34*/ virtual void __unk_vfn_34(); + /*35*/ virtual void __unk_vfn_35(); + /*36*/ virtual void __unk_vfn_36(); + /*37*/ virtual void __unk_vfn_37(); + /*38*/ virtual void __unk_vfn_38(); + /*39*/ virtual void __unk_vfn_39(); + /*40*/ virtual void __unk_vfn_40(); + /*41*/ virtual bool canHurtAndBreakItem() const; + /*42*/ virtual void __unk_vfn_42(); + /*43*/ virtual void __unk_vfn_43(); + /*44*/ virtual void __unk_vfn_44(); + /*45*/ virtual void __unk_vfn_45(); + /*46*/ virtual class Block const & sanitizeFillBlock(class BlockSource &, class BlockPos const &, class Block const &) const; + /*47*/ virtual void __unk_vfn_47(); + /*48*/ virtual void __unk_vfn_48(); + /*49*/ virtual void __unk_vfn_49(); + /*50*/ virtual bool canContainLiquid() const; + /*51*/ virtual void __unk_vfn_51(); + /*52*/ virtual void __unk_vfn_52(); + /*53*/ virtual bool canBeUsedInCommands(bool, class BaseGameVersion const &) const; + /*54*/ virtual float getThickness() const; + /*55*/ virtual void __unk_vfn_55(); + /*56*/ virtual bool checkIsPathable(class Actor &, class BlockPos const &, class BlockPos const &) const; + /*57*/ virtual void __unk_vfn_57(); + /*58*/ virtual void __unk_vfn_58(); + /*59*/ virtual void onPlace(class BlockSource &, class BlockPos const &) const; + /*60*/ virtual void onRemove(class BlockSource &, class BlockPos const &) const; + /*61*/ virtual void __unk_vfn_61(); + /*62*/ virtual void __unk_vfn_62(); + /*63*/ virtual void onFallOn(class BlockSource &, class BlockPos const &, class Actor &, float) const; + /*64*/ virtual void __unk_vfn_64(); + /*65*/ virtual void onRedstoneUpdate(class BlockSource &, class BlockPos const &, int, bool) const; + /*66*/ virtual void __unk_vfn_66(); + /*67*/ virtual void __unk_vfn_67(); + /*68*/ virtual void __unk_vfn_68(); + /*69*/ virtual void __unk_vfn_69(); + /*70*/ virtual void setupRedstoneComponent(class BlockSource &, class BlockPos const &) const; + /*71*/ virtual enum BlockProperty getRedstoneProperty(class BlockSource &, class BlockPos const &) const; + /*72*/ virtual void updateEntityAfterFallOn(class BlockSource &, class BlockPos const &, class Actor &) const; + /*73*/ virtual void __unk_vfn_73(); + /*74*/ virtual void __unk_vfn_74(); + /*75*/ virtual void __unk_vfn_75(); + /*76*/ virtual void __unk_vfn_76(); + /*77*/ virtual void __unk_vfn_77(); + /*78*/ virtual bool mayPick(class BlockSource &, class Block const &, bool) const; + /*79*/ virtual void __unk_vfn_79(); + /*80*/ virtual bool mayPlace(class BlockSource &, class BlockPos const &) const; + /*81*/ virtual void __unk_vfn_81(); + /*82*/ virtual void __unk_vfn_82(); + /*83*/ virtual bool tryToPlace(class BlockSource &, class BlockPos const &, class Block const &, struct ActorBlockSyncMessage const *) const; + /*84*/ virtual bool breaksFallingBlocks(class Block const &) const; + /*85*/ virtual void __unk_vfn_85(); + /*86*/ virtual bool playerWillDestroy(class Player &, class BlockPos const &, class Block const &) const; + /*87*/ virtual void __unk_vfn_87(); + /*88*/ virtual void neighborChanged(class BlockSource &, class BlockPos const &, class BlockPos const &) const; + /*89*/ virtual void __unk_vfn_89(); + /*90*/ virtual void __unk_vfn_90(); + /*91*/ virtual void __unk_vfn_91(); + /*92*/ virtual void __unk_vfn_92(); + /*93*/ virtual void spawnResources(class BlockSource &, class BlockPos const &, class Block const &, std::vector *, float, int, bool) const; + /*94*/ virtual void trySpawnResourcesOnExplosion(class BlockSource &, class BlockPos const &, class Block const &, std::vector *, float, int, bool) const; + /*95*/ virtual void __unk_vfn_95(); + /*96*/ virtual void __unk_vfn_96(); + /*97*/ virtual class HitResult clip(class BlockSource &, class BlockPos const &, class Vec3 const &, class Vec3 const &, bool) const; + /*98*/ virtual bool use(class Player &, class BlockPos const &) const; + /*99*/ virtual class Block const & getPlacementBlock(class Actor &, class BlockPos const &, unsigned char, class Vec3 const &, int) const; + /*100*/ virtual int calcVariant(class BlockSource &, class BlockPos const &) const; + /*101*/ virtual void __unk_vfn_101(); + /*102*/ virtual void __unk_vfn_102(); + /*103*/ virtual void __unk_vfn_103(); + /*104*/ virtual void __unk_vfn_104(); + /*105*/ virtual void playerDestroy(class Player &, class BlockPos const &, class Block const &) const; + /*106*/ virtual void __unk_vfn_106(); + /*107*/ virtual void __unk_vfn_107(); + /*108*/ virtual bool canBeBuiltOver(class BlockSource &, class BlockPos const &) const; + /*109*/ virtual void triggerEvent(class BlockSource &, class BlockPos const &, int, int) const; + /*110*/ virtual void __unk_vfn_110(); + /*111*/ virtual void __unk_vfn_111(); + /*112*/ virtual class MobSpawnerData const * getMobToSpawn(class SpawnConditions const &, class BlockSource &) const; + /*113*/ virtual void __unk_vfn_113(); + /*114*/ virtual void __unk_vfn_114(); + /*115*/ virtual bool shouldStopFalling(class Actor &) const; + /*116*/ virtual void __unk_vfn_116(); + /*117*/ virtual float calcGroundFriction(class Mob &, class BlockPos const &) const; + /*118*/ virtual void __unk_vfn_118(); + /*119*/ virtual void __unk_vfn_119(); + /*120*/ virtual int getComparatorSignal(class BlockSource &, class BlockPos const &, class Block const &, unsigned char) const; + /*121*/ virtual bool canSlide(class BlockSource &, class BlockPos const &) const; + /*122*/ virtual void __unk_vfn_122(); + /*123*/ virtual void __unk_vfn_123(); + /*124*/ virtual void __unk_vfn_124(); + /*125*/ virtual void __unk_vfn_125(); + /*126*/ virtual void __unk_vfn_126(); + /*127*/ virtual void __unk_vfn_127(); + /*128*/ virtual void __unk_vfn_128(); + /*129*/ virtual void __unk_vfn_129(); + /*130*/ virtual void __unk_vfn_130(); + /*131*/ virtual void __unk_vfn_131(); + /*132*/ virtual int getColorForParticle(class BlockSource &, class BlockPos const &, class Block const &) const; + /*133*/ virtual void __unk_vfn_133(); + /*134*/ virtual void onGraphicsModeChanged(bool, bool, bool); + /*135*/ virtual void __unk_vfn_135(); + /*136*/ virtual float getShadeBrightness() const; + /*137*/ virtual class AABB const & getVisualShapeInWorld(class Block const &, class BlockSource &, class BlockPos const &, class AABB &, bool) const; + /*138*/ virtual class AABB const & getVisualShape(class Block const &, class AABB &, bool) const; + /*139*/ virtual class AABB const & getUIShape(class Block const &, class AABB &) const; + /*140*/ virtual int telemetryVariant(class BlockSource &, class BlockPos const &) const; + /*141*/ virtual int getVariant(class Block const &) const; + /*142*/ virtual void __unk_vfn_142(); + /*143*/ virtual class Block const & getRenderBlock() const; + /*144*/ virtual unsigned char getMappedFace(unsigned char, class Block const &) const; + /*145*/ virtual void __unk_vfn_145(); + /*146*/ virtual void __unk_vfn_146(); + /*147*/ virtual class BlockLegacy & init(); + /*148*/ virtual class BlockLegacy & setLightBlock(struct Brightness); + /*149*/ virtual class BlockLegacy & setLightEmission(float); + /*150*/ virtual class BlockLegacy & setExplodeable(float); + /*151*/ virtual class BlockLegacy & setDestroyTime(float); + /*152*/ virtual class BlockLegacy & setFriction(float); + /*153*/ virtual class BlockLegacy & addProperty(enum BlockProperty); + /*154*/ virtual class BlockLegacy & addState(class ItemState const &); + /*155*/ virtual class BlockLegacy & addState(class ItemState const &, unsigned __int64); + /*156*/ virtual class BlockLegacy & setAllowsRunes(bool); + /*157*/ virtual class BlockLegacy & setMapColor(class Color const &); + /*158*/ virtual void __unk_vfn_158(); + /*159*/ virtual void __unk_vfn_159(); + /*160*/ virtual void setVisualShape(class AABB const &); + /*161*/ virtual void setVisualShape(class Vec3 const &, class Vec3 const &); + /*162*/ virtual void __unk_vfn_162(); + /*163*/ virtual void __unk_vfn_163(); + /*164*/ virtual class ItemInstance getEntityResourceItem(class Random &, class BlockActor const &, int) const; + /*165*/ virtual int getTickDelay() const; + /*166*/ virtual void dispenseFrom(class BlockSource &, class BlockPos const &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_DISPENSERBLOCK + MCVAPI class ItemInstance asItemInstance(class BlockSource &, class BlockPos const &, class Block const &) const; + MCVAPI class ItemInstance getResourceItem(class Random &, class Block const &, int) const; + MCVAPI class ItemInstance getSilkTouchItemInstance(class Block const &) const; + MCVAPI bool hasComparatorSignal() const; + MCVAPI bool isContainerBlock() const; + MCVAPI bool isInteractiveBlock() const; +#endif + MCAPI static void ejectItem(class BlockSource &, class Vec3 const &, unsigned char, class ItemStack const &); + +//protected: + MCAPI class Vec3 getDispensePosition(class BlockSource &, class Vec3 const &) const; + MCAPI unsigned char getFacing(class Block const &) const; + +protected: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/DispenserBlockActor.hpp b/LiteLoader/Header/MC/DispenserBlockActor.hpp new file mode 100644 index 0000000..231accd --- /dev/null +++ b/LiteLoader/Header/MC/DispenserBlockActor.hpp @@ -0,0 +1,44 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class DispenserBlockActor { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_DISPENSERBLOCKACTOR +public: + class DispenserBlockActor& operator=(class DispenserBlockActor const &) = delete; + DispenserBlockActor(class DispenserBlockActor const &) = delete; + DispenserBlockActor() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_DISPENSERBLOCKACTOR + MCVAPI std::unique_ptr _getUpdatePacket(class BlockSource &); + MCVAPI void _onUpdatePacket(class CompoundTag const &, class BlockSource &); + MCVAPI class Container * getContainer(); + MCVAPI class Container const * getContainer() const; + MCVAPI int getContainerSize() const; + MCVAPI class ItemStack const & getItem(int) const; + MCVAPI int getMaxStackSize() const; + MCVAPI std::string getName() const; + MCVAPI int getRandomSlot(); + MCVAPI void load(class Level &, class CompoundTag const &, class DataLoadHelper &); + MCVAPI void onMove(); + MCVAPI bool save(class CompoundTag &) const; + MCVAPI void serverInitItemStackIds(int, int, class std::function); + MCVAPI void setItem(int, class ItemStack const &); + MCVAPI void startOpen(class Player &); + MCVAPI void stopOpen(class Player &); +#endif + MCAPI DispenserBlockActor(class BlockPos); + MCAPI DispenserBlockActor(class BlockPos, enum BlockActorType); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/DispenserContainerManagerModel.hpp b/LiteLoader/Header/MC/DispenserContainerManagerModel.hpp new file mode 100644 index 0000000..723c090 --- /dev/null +++ b/LiteLoader/Header/MC/DispenserContainerManagerModel.hpp @@ -0,0 +1,29 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "LevelContainerManagerModel.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class DispenserContainerManagerModel : public LevelContainerManagerModel { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_DISPENSERCONTAINERMANAGERMODEL +public: + class DispenserContainerManagerModel& operator=(class DispenserContainerManagerModel const &) = delete; + DispenserContainerManagerModel(class DispenserContainerManagerModel const &) = delete; + DispenserContainerManagerModel() = delete; +#endif + +public: + /*0*/ virtual ~DispenserContainerManagerModel(); + /*12*/ virtual class ContainerScreenContext _postInit(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_DISPENSERCONTAINERMANAGERMODEL +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/DisplayObjective.hpp b/LiteLoader/Header/MC/DisplayObjective.hpp new file mode 100644 index 0000000..f9d3713 --- /dev/null +++ b/LiteLoader/Header/MC/DisplayObjective.hpp @@ -0,0 +1,28 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class DisplayObjective { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_DISPLAYOBJECTIVE +public: + class DisplayObjective& operator=(class DisplayObjective const &) = delete; + DisplayObjective(class DisplayObjective const &) = delete; + DisplayObjective() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_DISPLAYOBJECTIVE +#endif + MCAPI std::string const getBelowNameStringForId(struct ScoreboardId const &) const; + MCAPI static class DisplayObjective deserialize(class CompoundTag const &, class Scoreboard const &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/Dolphin.hpp b/LiteLoader/Header/MC/Dolphin.hpp new file mode 100644 index 0000000..45142a2 --- /dev/null +++ b/LiteLoader/Header/MC/Dolphin.hpp @@ -0,0 +1,56 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Actor.hpp" +#include "WaterAnimal.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class Dolphin : public WaterAnimal { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_DOLPHIN +public: + class Dolphin& operator=(class Dolphin const &) = delete; + Dolphin(class Dolphin const &) = delete; + Dolphin() = delete; +#endif + +public: + /*3*/ virtual void initializeComponents(enum Actor::InitializationMethod, class VariantParameterList const &); + /*7*/ virtual ~Dolphin(); + /*30*/ virtual void __unk_vfn_30(); + /*54*/ virtual void __unk_vfn_54(); + /*61*/ virtual void __unk_vfn_61(); + /*76*/ virtual void __unk_vfn_76(); + /*81*/ virtual void __unk_vfn_81(); + /*88*/ virtual void __unk_vfn_88(); + /*90*/ virtual void __unk_vfn_90(); + /*98*/ virtual void __unk_vfn_98(); + /*100*/ virtual void __unk_vfn_100(); + /*121*/ virtual void __unk_vfn_121(); + /*169*/ virtual void __unk_vfn_169(); + /*180*/ virtual bool canBePulledIntoVehicle() const; + /*182*/ virtual void __unk_vfn_182(); + /*206*/ virtual void __unk_vfn_206(); + /*207*/ virtual void __unk_vfn_207(); + /*228*/ virtual void __unk_vfn_228(); + /*231*/ virtual void __unk_vfn_231(); + /*238*/ virtual void __unk_vfn_238(); + /*246*/ virtual void __unk_vfn_246(); + /*257*/ virtual void __unk_vfn_257(); + /*278*/ virtual void aiStep(); + /*290*/ virtual void __unk_vfn_290(); + /*300*/ virtual void __unk_vfn_300(); + /*324*/ virtual bool createAIGoals(); + /*330*/ virtual float _getWalkTargetValue(class BlockPos const &); + /*332*/ virtual void __unk_vfn_332(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_DOLPHIN +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/DolphinMoveControl.hpp b/LiteLoader/Header/MC/DolphinMoveControl.hpp new file mode 100644 index 0000000..ad2a177 --- /dev/null +++ b/LiteLoader/Header/MC/DolphinMoveControl.hpp @@ -0,0 +1,36 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "MoveControl.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class DolphinMoveControl : public MoveControl { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_DOLPHINMOVECONTROL +public: + class DolphinMoveControl& operator=(class DolphinMoveControl const &) = delete; + DolphinMoveControl(class DolphinMoveControl const &) = delete; + DolphinMoveControl() = delete; +#endif + +public: + /*0*/ virtual ~DolphinMoveControl(); + /*2*/ virtual void tick(class MoveControlComponent &, class Mob &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_DOLPHINMOVECONTROL +#endif + +//private: + MCAPI bool _clearOfObstacles(class Mob const &, float, float, int) const; + MCAPI bool _isInWater(class Mob const &) const; + MCAPI void _setupBreach(class Mob &); + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/DoorBlock.hpp b/LiteLoader/Header/MC/DoorBlock.hpp new file mode 100644 index 0000000..815464d --- /dev/null +++ b/LiteLoader/Header/MC/DoorBlock.hpp @@ -0,0 +1,86 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Direction.hpp" +#include "BlockLegacy.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class DoorBlock : public BlockLegacy { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_DOORBLOCK +public: + class DoorBlock& operator=(class DoorBlock const &) = delete; + DoorBlock(class DoorBlock const &) = delete; + DoorBlock() = delete; +#endif + +public: + /*0*/ virtual ~DoorBlock(); + /*4*/ virtual class Block const * getNextBlockPermutation(class Block const &) const; + /*10*/ virtual class AABB const & getAABB(class BlockSource &, class BlockPos const &, class Block const &, class AABB &, bool) const; + /*13*/ virtual bool getLiquidClipVolume(class BlockSource &, class BlockPos const &, class AABB &) const; + /*18*/ virtual void __unk_vfn_18(); + /*24*/ virtual void __unk_vfn_24(); + /*25*/ virtual void __unk_vfn_25(); + /*26*/ virtual void __unk_vfn_26(); + /*27*/ virtual void __unk_vfn_27(); + /*28*/ virtual void __unk_vfn_28(); + /*30*/ virtual void __unk_vfn_30(); + /*31*/ virtual void __unk_vfn_31(); + /*32*/ virtual void __unk_vfn_32(); + /*33*/ virtual void __unk_vfn_33(); + /*34*/ virtual void __unk_vfn_34(); + /*35*/ virtual void __unk_vfn_35(); + /*36*/ virtual void __unk_vfn_36(); + /*38*/ virtual void __unk_vfn_38(); + /*39*/ virtual void __unk_vfn_39(); + /*40*/ virtual void __unk_vfn_40(); + /*42*/ virtual void __unk_vfn_42(); + /*43*/ virtual void __unk_vfn_43(); + /*47*/ virtual void onFillBlock(class BlockSource &, class BlockPos const &, class Block const &) const; + /*49*/ virtual void __unk_vfn_49(); + /*52*/ virtual void __unk_vfn_52(); + /*56*/ virtual bool checkIsPathable(class Actor &, class BlockPos const &, class BlockPos const &) const; + /*59*/ virtual void onPlace(class BlockSource &, class BlockPos const &) const; + /*65*/ virtual void onRedstoneUpdate(class BlockSource &, class BlockPos const &, int, bool) const; + /*67*/ virtual void __unk_vfn_67(); + /*70*/ virtual void setupRedstoneComponent(class BlockSource &, class BlockPos const &) const; + /*73*/ virtual void __unk_vfn_73(); + /*81*/ virtual bool mayPlace(class BlockSource &, class BlockPos const &) const; + /*87*/ virtual void __unk_vfn_87(); + /*88*/ virtual void neighborChanged(class BlockSource &, class BlockPos const &, class BlockPos const &) const; + /*89*/ virtual bool getSecondPart(class BlockSource &, class BlockPos const &, class BlockPos &) const; + /*91*/ virtual class ItemInstance getResourceItem(class Random &, class Block const &, int) const; + /*92*/ virtual class ItemInstance asItemInstance(class BlockSource &, class BlockPos const &, class Block const &) const; + /*95*/ virtual void __unk_vfn_95(); + /*98*/ virtual bool use(class Player &, class BlockPos const &) const; + /*109*/ virtual void __unk_vfn_109(); + /*116*/ virtual void __unk_vfn_116(); + /*118*/ virtual void __unk_vfn_118(); + /*119*/ virtual void __unk_vfn_119(); + /*137*/ virtual class AABB const & getVisualShapeInWorld(class Block const &, class BlockSource &, class BlockPos const &, class AABB &, bool) const; + /*141*/ virtual int getVariant(class Block const &) const; + /*142*/ virtual void __unk_vfn_142(); + /*158*/ virtual void __unk_vfn_158(); + /*159*/ virtual class ItemInstance getSilkTouchItemInstance(class Block const &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_DOORBLOCK + MCVAPI bool canBeSilkTouched() const; + MCVAPI bool isDoorBlock() const; + MCVAPI bool isInteractiveBlock() const; +#endif + MCAPI DoorBlock(std::string const &, int, class Material const &, enum DoorBlock::DoorType); + MCAPI enum Direction::Type getBlockedDirection(class BlockSource &, class BlockPos const &) const; + MCAPI int getDir(class BlockSource &, class BlockPos const &) const; + MCAPI void getDoorBlocks(class BlockSource &, class BlockPos const &, class Block const *&, class Block const *&) const; + MCAPI bool hasRightHinge(class BlockSource &, class BlockPos const &) const; + MCAPI bool isToggled(class BlockSource &, class BlockPos const &) const; + MCAPI void setToggled(class BlockSource &, class BlockPos const &, bool) const; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/DoorInteractGoal.hpp b/LiteLoader/Header/MC/DoorInteractGoal.hpp new file mode 100644 index 0000000..9df25a0 --- /dev/null +++ b/LiteLoader/Header/MC/DoorInteractGoal.hpp @@ -0,0 +1,40 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Direction.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class DoorInteractGoal { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_DOORINTERACTGOAL +public: + class DoorInteractGoal& operator=(class DoorInteractGoal const &) = delete; + DoorInteractGoal(class DoorInteractGoal const &) = delete; + DoorInteractGoal() = delete; +#endif + +public: + /*0*/ virtual ~DoorInteractGoal(); + /*1*/ virtual bool canUse(); + /*2*/ virtual bool canContinueToUse(); + /*3*/ virtual void __unk_vfn_3(); + /*4*/ virtual void start(); + /*5*/ virtual void __unk_vfn_5(); + /*6*/ virtual void tick(); + /*7*/ virtual void appendDebugInfo(std::string &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_DOORINTERACTGOAL +#endif + +//private: + MCAPI static class DoorBlock const * _findBlockingDoorAtPos(class BlockPos const &, class Mob const &, class Path *, enum Direction::Type &, enum Direction::Type &); + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/DoorItem.hpp b/LiteLoader/Header/MC/DoorItem.hpp new file mode 100644 index 0000000..1257979 --- /dev/null +++ b/LiteLoader/Header/MC/DoorItem.hpp @@ -0,0 +1,46 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Item.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class DoorItem : public Item { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_DOORITEM +public: + class DoorItem& operator=(class DoorItem const &) = delete; + DoorItem(class DoorItem const &) = delete; + DoorItem() = delete; +#endif + +public: + /*0*/ virtual ~DoorItem(); + /*5*/ virtual void __unk_vfn_5(); + /*26*/ virtual void __unk_vfn_26(); + /*27*/ virtual void __unk_vfn_27(); + /*31*/ virtual void __unk_vfn_31(); + /*32*/ virtual void __unk_vfn_32(); + /*34*/ virtual void __unk_vfn_34(); + /*37*/ virtual void __unk_vfn_37(); + /*43*/ virtual void __unk_vfn_43(); + /*46*/ virtual void __unk_vfn_46(); + /*47*/ virtual void __unk_vfn_47(); + /*49*/ virtual void __unk_vfn_49(); + /*50*/ virtual void __unk_vfn_50(); + /*79*/ virtual void __unk_vfn_79(); + /*80*/ virtual void __unk_vfn_80(); + /*90*/ virtual void __unk_vfn_90(); + /*97*/ virtual void __unk_vfn_97(); + /*99*/ virtual bool _useOn(class ItemStack &, class Actor &, class BlockPos, unsigned char, float, float, float) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_DOORITEM +#endif + MCAPI static bool place(class BlockSource *, int, int, int, int, class Block const *); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/DoublePlantBlock.hpp b/LiteLoader/Header/MC/DoublePlantBlock.hpp new file mode 100644 index 0000000..b0268d8 --- /dev/null +++ b/LiteLoader/Header/MC/DoublePlantBlock.hpp @@ -0,0 +1,97 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "BushBlock.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class DoublePlantBlock : public BushBlock { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_DOUBLEPLANTBLOCK +public: + class DoublePlantBlock& operator=(class DoublePlantBlock const &) = delete; + DoublePlantBlock(class DoublePlantBlock const &) = delete; + DoublePlantBlock() = delete; +#endif + +public: + /*0*/ virtual ~DoublePlantBlock(); + /*1*/ virtual void tick(class BlockSource &, class BlockPos const &, class Random &) const; + /*4*/ virtual class Block const * getNextBlockPermutation(class Block const &) const; + /*7*/ virtual class Vec3 randomlyModifyPosition(class BlockPos const &, int &) const; + /*8*/ virtual class Vec3 randomlyModifyPosition(class BlockPos const &) const; + /*10*/ virtual class AABB const & getAABB(class BlockSource &, class BlockPos const &, class Block const &, class AABB &, bool) const; + /*18*/ virtual void __unk_vfn_18(); + /*24*/ virtual void __unk_vfn_24(); + /*25*/ virtual void __unk_vfn_25(); + /*26*/ virtual void __unk_vfn_26(); + /*27*/ virtual void __unk_vfn_27(); + /*28*/ virtual void __unk_vfn_28(); + /*30*/ virtual void __unk_vfn_30(); + /*31*/ virtual void __unk_vfn_31(); + /*32*/ virtual void __unk_vfn_32(); + /*33*/ virtual void __unk_vfn_33(); + /*34*/ virtual void __unk_vfn_34(); + /*35*/ virtual void __unk_vfn_35(); + /*36*/ virtual void __unk_vfn_36(); + /*38*/ virtual void __unk_vfn_38(); + /*39*/ virtual void __unk_vfn_39(); + /*40*/ virtual void __unk_vfn_40(); + /*42*/ virtual void __unk_vfn_42(); + /*43*/ virtual void __unk_vfn_43(); + /*49*/ virtual void __unk_vfn_49(); + /*50*/ virtual bool canContainLiquid() const; + /*52*/ virtual void __unk_vfn_52(); + /*59*/ virtual void onPlace(class BlockSource &, class BlockPos const &) const; + /*67*/ virtual void __unk_vfn_67(); + /*70*/ virtual void setupRedstoneComponent(class BlockSource &, class BlockPos const &) const; + /*73*/ virtual void __unk_vfn_73(); + /*75*/ virtual bool onFertilized(class BlockSource &, class BlockPos const &, class Actor *, enum FertilizerType) const; + /*77*/ virtual bool canBeFertilized(class BlockSource &, class BlockPos const &, class Block const &) const; + /*80*/ virtual bool mayPlace(class BlockSource &, class BlockPos const &, unsigned char) const; + /*81*/ virtual bool mayPlace(class BlockSource &, class BlockPos const &) const; + /*86*/ virtual bool playerWillDestroy(class Player &, class BlockPos const &, class Block const &) const; + /*87*/ virtual void __unk_vfn_87(); + /*89*/ virtual bool getSecondPart(class BlockSource &, class BlockPos const &, class BlockPos &) const; + /*90*/ virtual int getResourceCount(class Random &, class Block const &, int, bool) const; + /*91*/ virtual class ItemInstance getResourceItem(class Random &, class Block const &, int) const; + /*92*/ virtual class ItemInstance asItemInstance(class BlockSource &, class BlockPos const &, class Block const &) const; + /*95*/ virtual void __unk_vfn_95(); + /*105*/ virtual void playerDestroy(class Player &, class BlockPos const &, class Block const &) const; + /*106*/ virtual bool canSurvive(class BlockSource &, class BlockPos const &) const; + /*108*/ virtual bool canBeBuiltOver(class BlockSource &, class BlockPos const &) const; + /*109*/ virtual void __unk_vfn_109(); + /*116*/ virtual void __unk_vfn_116(); + /*118*/ virtual void __unk_vfn_118(); + /*119*/ virtual void __unk_vfn_119(); + /*125*/ virtual enum BlockRenderLayer getRenderLayer() const; + /*126*/ virtual enum BlockRenderLayer getRenderLayer(class Block const &, class BlockSource &, class BlockPos const &) const; + /*127*/ virtual std::string buildDescriptionId(class Block const &) const; + /*128*/ virtual bool isAuxValueRelevantForPicking() const; + /*130*/ virtual int getColor(class BlockSource &, class BlockPos const &, class Block const &) const; + /*132*/ virtual int getColorForParticle(class BlockSource &, class BlockPos const &, class Block const &) const; + /*138*/ virtual class AABB const & getVisualShape(class Block const &, class AABB &, bool) const; + /*141*/ virtual int getVariant(class Block const &) const; + /*142*/ virtual void __unk_vfn_142(); + /*158*/ virtual void __unk_vfn_158(); + /*164*/ virtual void checkAlive(class BlockSource &, class BlockPos const &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_DOUBLEPLANTBLOCK + MCVAPI bool canBeSilkTouched() const; +#endif + MCAPI int getType(class BlockSource &, class BlockPos const &, class Block const &) const; + MCAPI bool placeAt(class BlockSource &, class BlockPos const &, enum DoublePlantType, int, class Actor *) const; + MCAPI bool popFlowerResources(class BlockSource &, class BlockPos const &, class Block const &, class Actor *) const; + MCAPI bool popGrassResources(class BlockSource &, class BlockPos const &, class Block const &, class Player &) const; + +//private: + MCAPI bool _isCoveredByTopSnow(class BlockSource &, class BlockPos const &) const; + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/DoublePlantFeature.hpp b/LiteLoader/Header/MC/DoublePlantFeature.hpp new file mode 100644 index 0000000..91d4054 --- /dev/null +++ b/LiteLoader/Header/MC/DoublePlantFeature.hpp @@ -0,0 +1,30 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Feature.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class DoublePlantFeature : public Feature { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_DOUBLEPLANTFEATURE +public: + class DoublePlantFeature& operator=(class DoublePlantFeature const &) = delete; + DoublePlantFeature(class DoublePlantFeature const &) = delete; + DoublePlantFeature() = delete; +#endif + +public: + /*0*/ virtual ~DoublePlantFeature(); + /*1*/ virtual bool place(class BlockSource &, class BlockPos const &, class Random &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_DOUBLEPLANTFEATURE +#endif + MCAPI bool place(class BlockSource &, class BlockPos const &, class Random &, enum DoublePlantType) const; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/DoubleTag.hpp b/LiteLoader/Header/MC/DoubleTag.hpp new file mode 100644 index 0000000..74b6934 --- /dev/null +++ b/LiteLoader/Header/MC/DoubleTag.hpp @@ -0,0 +1,35 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Tag.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class DoubleTag : public Tag { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_DOUBLETAG +public: + class DoubleTag& operator=(class DoubleTag const &) = delete; + DoubleTag(class DoubleTag const &) = delete; + DoubleTag() = delete; +#endif + +public: + /*0*/ virtual ~DoubleTag(); + /*2*/ virtual void write(class IDataOutput &) const; + /*3*/ virtual void load(class IDataInput &); + /*4*/ virtual std::string toString() const; + /*5*/ virtual enum Tag::Type getId() const; + /*6*/ virtual bool equals(class Tag const &) const; + /*9*/ virtual std::unique_ptr copy() const; + /*10*/ virtual unsigned __int64 hash() const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_DOUBLETAG +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/DouseFireSubcomponent.hpp b/LiteLoader/Header/MC/DouseFireSubcomponent.hpp new file mode 100644 index 0000000..65a4a59 --- /dev/null +++ b/LiteLoader/Header/MC/DouseFireSubcomponent.hpp @@ -0,0 +1,33 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class DouseFireSubcomponent { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_DOUSEFIRESUBCOMPONENT +public: + class DouseFireSubcomponent& operator=(class DouseFireSubcomponent const &) = delete; + DouseFireSubcomponent(class DouseFireSubcomponent const &) = delete; + DouseFireSubcomponent() = delete; +#endif + +public: + /*0*/ virtual ~DouseFireSubcomponent(); + /*1*/ virtual void __unk_vfn_1(); + /*2*/ virtual void __unk_vfn_2(); + /*3*/ virtual void doOnHitEffect(class Actor &, class ProjectileComponent &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_DOUSEFIRESUBCOMPONENT + MCVAPI void readfromJSON(class Json::Value &); + MCVAPI void writetoJSON(class Json::Value &) const; +#endif + MCAPI void douseFire(class BlockSource &, class BlockPos const &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/DragonBaseGoalDefinition.hpp b/LiteLoader/Header/MC/DragonBaseGoalDefinition.hpp new file mode 100644 index 0000000..f3bf08a --- /dev/null +++ b/LiteLoader/Header/MC/DragonBaseGoalDefinition.hpp @@ -0,0 +1,28 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class DragonBaseGoalDefinition { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_DRAGONBASEGOALDEFINITION +public: + class DragonBaseGoalDefinition& operator=(class DragonBaseGoalDefinition const &) = delete; + DragonBaseGoalDefinition(class DragonBaseGoalDefinition const &) = delete; + DragonBaseGoalDefinition() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_DRAGONBASEGOALDEFINITION + MCVAPI bool validateMobType(class Mob &); +#endif + MCAPI void initialize(class EntityContext &, class DragonBaseGoal &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/DragonChargePlayerDefinition.hpp b/LiteLoader/Header/MC/DragonChargePlayerDefinition.hpp new file mode 100644 index 0000000..c1f5ab2 --- /dev/null +++ b/LiteLoader/Header/MC/DragonChargePlayerDefinition.hpp @@ -0,0 +1,28 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "JsonUtil.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class DragonChargePlayerDefinition { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_DRAGONCHARGEPLAYERDEFINITION +public: + class DragonChargePlayerDefinition& operator=(class DragonChargePlayerDefinition const &) = delete; + DragonChargePlayerDefinition(class DragonChargePlayerDefinition const &) = delete; + DragonChargePlayerDefinition() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_DRAGONCHARGEPLAYERDEFINITION +#endif + MCAPI static void buildSchema(std::string const &, class std::shared_ptr> &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/DragonChargePlayerGoal.hpp b/LiteLoader/Header/MC/DragonChargePlayerGoal.hpp new file mode 100644 index 0000000..bc7b90d --- /dev/null +++ b/LiteLoader/Header/MC/DragonChargePlayerGoal.hpp @@ -0,0 +1,34 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class DragonChargePlayerGoal { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_DRAGONCHARGEPLAYERGOAL +public: + class DragonChargePlayerGoal& operator=(class DragonChargePlayerGoal const &) = delete; + DragonChargePlayerGoal(class DragonChargePlayerGoal const &) = delete; + DragonChargePlayerGoal() = delete; +#endif + +public: + /*0*/ virtual ~DragonChargePlayerGoal(); + /*1*/ virtual bool canUse(); + /*2*/ virtual bool canContinueToUse(); + /*3*/ virtual void __unk_vfn_3(); + /*4*/ virtual void start(); + /*5*/ virtual void stop(); + /*6*/ virtual void tick(); + /*7*/ virtual void appendDebugInfo(std::string &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_DRAGONCHARGEPLAYERGOAL +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/DragonDeathGoal.hpp b/LiteLoader/Header/MC/DragonDeathGoal.hpp new file mode 100644 index 0000000..d8b5056 --- /dev/null +++ b/LiteLoader/Header/MC/DragonDeathGoal.hpp @@ -0,0 +1,36 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class DragonDeathGoal { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_DRAGONDEATHGOAL +public: + class DragonDeathGoal& operator=(class DragonDeathGoal const &) = delete; + DragonDeathGoal(class DragonDeathGoal const &) = delete; + DragonDeathGoal() = delete; +#endif + +public: + /*0*/ virtual ~DragonDeathGoal(); + /*1*/ virtual void __unk_vfn_1(); + /*2*/ virtual void __unk_vfn_2(); + /*3*/ virtual void __unk_vfn_3(); + /*4*/ virtual void start(); + /*5*/ virtual void stop(); + /*6*/ virtual void tick(); + /*7*/ virtual void appendDebugInfo(std::string &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_DRAGONDEATHGOAL + MCVAPI bool canContinueToUse(); + MCVAPI bool canUse(); +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/DragonEggBlock.hpp b/LiteLoader/Header/MC/DragonEggBlock.hpp new file mode 100644 index 0000000..f79ab5c --- /dev/null +++ b/LiteLoader/Header/MC/DragonEggBlock.hpp @@ -0,0 +1,72 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "BlockLegacy.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class DragonEggBlock : public BlockLegacy { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_DRAGONEGGBLOCK +public: + class DragonEggBlock& operator=(class DragonEggBlock const &) = delete; + DragonEggBlock(class DragonEggBlock const &) = delete; + DragonEggBlock() = delete; +#endif + +public: + /*0*/ virtual ~DragonEggBlock(); + /*18*/ virtual void __unk_vfn_18(); + /*24*/ virtual void __unk_vfn_24(); + /*25*/ virtual void __unk_vfn_25(); + /*26*/ virtual void __unk_vfn_26(); + /*27*/ virtual void __unk_vfn_27(); + /*28*/ virtual void __unk_vfn_28(); + /*30*/ virtual void __unk_vfn_30(); + /*31*/ virtual void __unk_vfn_31(); + /*32*/ virtual void __unk_vfn_32(); + /*33*/ virtual void __unk_vfn_33(); + /*34*/ virtual void __unk_vfn_34(); + /*35*/ virtual void __unk_vfn_35(); + /*36*/ virtual void __unk_vfn_36(); + /*38*/ virtual void __unk_vfn_38(); + /*39*/ virtual void __unk_vfn_39(); + /*40*/ virtual void __unk_vfn_40(); + /*42*/ virtual void __unk_vfn_42(); + /*43*/ virtual void __unk_vfn_43(); + /*49*/ virtual void __unk_vfn_49(); + /*52*/ virtual void __unk_vfn_52(); + /*67*/ virtual void __unk_vfn_67(); + /*73*/ virtual void __unk_vfn_73(); + /*84*/ virtual bool breaksFallingBlocks(class Block const &) const; + /*87*/ virtual void __unk_vfn_87(); + /*95*/ virtual void __unk_vfn_95(); + /*98*/ virtual bool use(class Player &, class BlockPos const &) const; + /*102*/ virtual bool attack(class Player *, class BlockPos const &) const; + /*109*/ virtual void __unk_vfn_109(); + /*116*/ virtual void __unk_vfn_116(); + /*118*/ virtual void __unk_vfn_118(); + /*119*/ virtual void __unk_vfn_119(); + /*142*/ virtual void __unk_vfn_142(); + /*158*/ virtual void __unk_vfn_158(); + /*164*/ virtual class Color getDustColor(class Block const &) const; + /*165*/ virtual std::string getDustParticleName(class Block const &) const; + /*166*/ virtual void __unk_vfn_166(); + /*167*/ virtual void __unk_vfn_167(); + /*168*/ virtual bool isFreeToFall(class BlockSource &, class BlockPos const &) const; + /*169*/ virtual void startFalling(class BlockSource &, class BlockPos const &, class Block const &, bool) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_DRAGONEGGBLOCK +#endif + +//private: + MCAPI void _teleport(class BlockSource &, class Random &, class BlockPos const &) const; + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/DragonFireball.hpp b/LiteLoader/Header/MC/DragonFireball.hpp new file mode 100644 index 0000000..2617024 --- /dev/null +++ b/LiteLoader/Header/MC/DragonFireball.hpp @@ -0,0 +1,53 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Actor.hpp" +#include "Fireball.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class DragonFireball : public Fireball { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_DRAGONFIREBALL +public: + class DragonFireball& operator=(class DragonFireball const &) = delete; + DragonFireball(class DragonFireball const &) = delete; + DragonFireball() = delete; +#endif + +public: + /*7*/ virtual ~DragonFireball(); + /*30*/ virtual void __unk_vfn_30(); + /*54*/ virtual void __unk_vfn_54(); + /*61*/ virtual void __unk_vfn_61(); + /*76*/ virtual void __unk_vfn_76(); + /*81*/ virtual void __unk_vfn_81(); + /*87*/ virtual bool isPickable(); + /*88*/ virtual void __unk_vfn_88(); + /*90*/ virtual void __unk_vfn_90(); + /*98*/ virtual void __unk_vfn_98(); + /*100*/ virtual void __unk_vfn_100(); + /*121*/ virtual void __unk_vfn_121(); + /*169*/ virtual void __unk_vfn_169(); + /*182*/ virtual void __unk_vfn_182(); + /*206*/ virtual void __unk_vfn_206(); + /*207*/ virtual void __unk_vfn_207(); + /*228*/ virtual void __unk_vfn_228(); + /*231*/ virtual void __unk_vfn_231(); + /*238*/ virtual void __unk_vfn_238(); + /*240*/ virtual bool _hurt(class ActorDamageSource const &, int, bool, bool); + /*246*/ virtual void __unk_vfn_246(); + /*257*/ virtual void __unk_vfn_257(); + /*259*/ virtual void __unk_vfn_259(); + /*260*/ virtual enum ParticleType getTrailParticle(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_DRAGONFIREBALL + MCVAPI bool shouldBurn(); +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/DragonFlamingDefinition.hpp b/LiteLoader/Header/MC/DragonFlamingDefinition.hpp new file mode 100644 index 0000000..60fe6b8 --- /dev/null +++ b/LiteLoader/Header/MC/DragonFlamingDefinition.hpp @@ -0,0 +1,30 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "JsonUtil.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class DragonFlamingDefinition { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_DRAGONFLAMINGDEFINITION +public: + class DragonFlamingDefinition& operator=(class DragonFlamingDefinition const &) = delete; + DragonFlamingDefinition(class DragonFlamingDefinition const &) = delete; + DragonFlamingDefinition() = delete; +#endif + +public: + /*0*/ virtual ~DragonFlamingDefinition(); + /*1*/ virtual bool validateMobType(class Mob &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_DRAGONFLAMINGDEFINITION +#endif + MCAPI static void buildSchema(std::string const &, class std::shared_ptr> &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/DragonFlamingGoal.hpp b/LiteLoader/Header/MC/DragonFlamingGoal.hpp new file mode 100644 index 0000000..1dd42a1 --- /dev/null +++ b/LiteLoader/Header/MC/DragonFlamingGoal.hpp @@ -0,0 +1,34 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class DragonFlamingGoal { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_DRAGONFLAMINGGOAL +public: + class DragonFlamingGoal& operator=(class DragonFlamingGoal const &) = delete; + DragonFlamingGoal(class DragonFlamingGoal const &) = delete; + DragonFlamingGoal() = delete; +#endif + +public: + /*0*/ virtual ~DragonFlamingGoal(); + /*1*/ virtual bool canUse(); + /*2*/ virtual bool canContinueToUse(); + /*3*/ virtual void __unk_vfn_3(); + /*4*/ virtual void start(); + /*5*/ virtual void stop(); + /*6*/ virtual void tick(); + /*7*/ virtual void appendDebugInfo(std::string &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_DRAGONFLAMINGGOAL +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/DragonHoldingPatternGoal.hpp b/LiteLoader/Header/MC/DragonHoldingPatternGoal.hpp new file mode 100644 index 0000000..93432fe --- /dev/null +++ b/LiteLoader/Header/MC/DragonHoldingPatternGoal.hpp @@ -0,0 +1,39 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class DragonHoldingPatternGoal { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_DRAGONHOLDINGPATTERNGOAL +public: + class DragonHoldingPatternGoal& operator=(class DragonHoldingPatternGoal const &) = delete; + DragonHoldingPatternGoal(class DragonHoldingPatternGoal const &) = delete; + DragonHoldingPatternGoal() = delete; +#endif + +public: + /*0*/ virtual ~DragonHoldingPatternGoal(); + /*1*/ virtual bool canUse(); + /*2*/ virtual bool canContinueToUse(); + /*3*/ virtual void __unk_vfn_3(); + /*4*/ virtual void start(); + /*5*/ virtual void stop(); + /*6*/ virtual void tick(); + /*7*/ virtual void appendDebugInfo(std::string &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_DRAGONHOLDINGPATTERNGOAL +#endif + +//private: + MCAPI void findNewTarget(); + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/DragonLandingGoal.hpp b/LiteLoader/Header/MC/DragonLandingGoal.hpp new file mode 100644 index 0000000..97dc73e --- /dev/null +++ b/LiteLoader/Header/MC/DragonLandingGoal.hpp @@ -0,0 +1,39 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class DragonLandingGoal { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_DRAGONLANDINGGOAL +public: + class DragonLandingGoal& operator=(class DragonLandingGoal const &) = delete; + DragonLandingGoal(class DragonLandingGoal const &) = delete; + DragonLandingGoal() = delete; +#endif + +public: + /*0*/ virtual ~DragonLandingGoal(); + /*1*/ virtual bool canUse(); + /*2*/ virtual bool canContinueToUse(); + /*3*/ virtual void __unk_vfn_3(); + /*4*/ virtual void start(); + /*5*/ virtual void stop(); + /*6*/ virtual void tick(); + /*7*/ virtual void appendDebugInfo(std::string &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_DRAGONLANDINGGOAL +#endif + +//private: + MCAPI void findNewTarget(); + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/DragonScanningGoal.hpp b/LiteLoader/Header/MC/DragonScanningGoal.hpp new file mode 100644 index 0000000..c1868ea --- /dev/null +++ b/LiteLoader/Header/MC/DragonScanningGoal.hpp @@ -0,0 +1,41 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class DragonScanningGoal { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_DRAGONSCANNINGGOAL +public: + class DragonScanningGoal& operator=(class DragonScanningGoal const &) = delete; + DragonScanningGoal(class DragonScanningGoal const &) = delete; + DragonScanningGoal() = delete; +#endif + +public: + /*0*/ virtual ~DragonScanningGoal(); + /*1*/ virtual bool canUse(); + /*2*/ virtual bool canContinueToUse(); + /*3*/ virtual void __unk_vfn_3(); + /*4*/ virtual void start(); + /*5*/ virtual void stop(); + /*6*/ virtual void tick(); + /*7*/ virtual void appendDebugInfo(std::string &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_DRAGONSCANNINGGOAL +#endif + +//private: + +private: + MCAPI static float SITTING_ATTACK_VIEW_RANGE; + MCAPI static float SITTING_CHARGE_VIEW_RANGE; + MCAPI static int SITTING_SCANNING_IDLE_TICKS; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/DragonStrafePlayerDefinition.hpp b/LiteLoader/Header/MC/DragonStrafePlayerDefinition.hpp new file mode 100644 index 0000000..f06ce06 --- /dev/null +++ b/LiteLoader/Header/MC/DragonStrafePlayerDefinition.hpp @@ -0,0 +1,28 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "JsonUtil.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class DragonStrafePlayerDefinition { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_DRAGONSTRAFEPLAYERDEFINITION +public: + class DragonStrafePlayerDefinition& operator=(class DragonStrafePlayerDefinition const &) = delete; + DragonStrafePlayerDefinition(class DragonStrafePlayerDefinition const &) = delete; + DragonStrafePlayerDefinition() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_DRAGONSTRAFEPLAYERDEFINITION +#endif + MCAPI static void buildSchema(std::string const &, class std::shared_ptr> &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/DragonStrafePlayerGoal.hpp b/LiteLoader/Header/MC/DragonStrafePlayerGoal.hpp new file mode 100644 index 0000000..747750c --- /dev/null +++ b/LiteLoader/Header/MC/DragonStrafePlayerGoal.hpp @@ -0,0 +1,41 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class DragonStrafePlayerGoal { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_DRAGONSTRAFEPLAYERGOAL +public: + class DragonStrafePlayerGoal& operator=(class DragonStrafePlayerGoal const &) = delete; + DragonStrafePlayerGoal(class DragonStrafePlayerGoal const &) = delete; + DragonStrafePlayerGoal() = delete; +#endif + +public: + /*0*/ virtual ~DragonStrafePlayerGoal(); + /*1*/ virtual bool canUse(); + /*2*/ virtual bool canContinueToUse(); + /*3*/ virtual void __unk_vfn_3(); + /*4*/ virtual void start(); + /*5*/ virtual void stop(); + /*6*/ virtual void tick(); + /*7*/ virtual void appendDebugInfo(std::string &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_DRAGONSTRAFEPLAYERGOAL +#endif + +//private: + MCAPI void findNewTarget(); + MCAPI void navigateToNextPathNode(); + MCAPI void setTarget(class Actor *); + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/DragonTakeoffGoal.hpp b/LiteLoader/Header/MC/DragonTakeoffGoal.hpp new file mode 100644 index 0000000..62188bd --- /dev/null +++ b/LiteLoader/Header/MC/DragonTakeoffGoal.hpp @@ -0,0 +1,39 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class DragonTakeoffGoal { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_DRAGONTAKEOFFGOAL +public: + class DragonTakeoffGoal& operator=(class DragonTakeoffGoal const &) = delete; + DragonTakeoffGoal(class DragonTakeoffGoal const &) = delete; + DragonTakeoffGoal() = delete; +#endif + +public: + /*0*/ virtual ~DragonTakeoffGoal(); + /*1*/ virtual bool canUse(); + /*2*/ virtual bool canContinueToUse(); + /*3*/ virtual void __unk_vfn_3(); + /*4*/ virtual void start(); + /*5*/ virtual void stop(); + /*6*/ virtual void tick(); + /*7*/ virtual void appendDebugInfo(std::string &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_DRAGONTAKEOFFGOAL +#endif + +//private: + MCAPI void findNewTarget(); + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/DriedKelpBlock.hpp b/LiteLoader/Header/MC/DriedKelpBlock.hpp new file mode 100644 index 0000000..ef65acf --- /dev/null +++ b/LiteLoader/Header/MC/DriedKelpBlock.hpp @@ -0,0 +1,58 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "BlockLegacy.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class DriedKelpBlock : public BlockLegacy { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_DRIEDKELPBLOCK +public: + class DriedKelpBlock& operator=(class DriedKelpBlock const &) = delete; + DriedKelpBlock(class DriedKelpBlock const &) = delete; + DriedKelpBlock() = delete; +#endif + +public: + /*0*/ virtual ~DriedKelpBlock(); + /*18*/ virtual void __unk_vfn_18(); + /*24*/ virtual void __unk_vfn_24(); + /*25*/ virtual void __unk_vfn_25(); + /*26*/ virtual void __unk_vfn_26(); + /*27*/ virtual void __unk_vfn_27(); + /*28*/ virtual void __unk_vfn_28(); + /*30*/ virtual void __unk_vfn_30(); + /*31*/ virtual void __unk_vfn_31(); + /*32*/ virtual void __unk_vfn_32(); + /*33*/ virtual void __unk_vfn_33(); + /*34*/ virtual void __unk_vfn_34(); + /*35*/ virtual void __unk_vfn_35(); + /*36*/ virtual void __unk_vfn_36(); + /*38*/ virtual void __unk_vfn_38(); + /*39*/ virtual void __unk_vfn_39(); + /*40*/ virtual void __unk_vfn_40(); + /*42*/ virtual void __unk_vfn_42(); + /*43*/ virtual void __unk_vfn_43(); + /*49*/ virtual void __unk_vfn_49(); + /*52*/ virtual void __unk_vfn_52(); + /*67*/ virtual void __unk_vfn_67(); + /*73*/ virtual void __unk_vfn_73(); + /*87*/ virtual void __unk_vfn_87(); + /*95*/ virtual void __unk_vfn_95(); + /*109*/ virtual void __unk_vfn_109(); + /*116*/ virtual void __unk_vfn_116(); + /*118*/ virtual void __unk_vfn_118(); + /*119*/ virtual void __unk_vfn_119(); + /*142*/ virtual void __unk_vfn_142(); + /*158*/ virtual void __unk_vfn_158(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_DRIEDKELPBLOCK +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/DrinkPotionData.hpp b/LiteLoader/Header/MC/DrinkPotionData.hpp new file mode 100644 index 0000000..bc3b974 --- /dev/null +++ b/LiteLoader/Header/MC/DrinkPotionData.hpp @@ -0,0 +1,26 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +struct DrinkPotionData { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_DRINKPOTIONDATA +public: + struct DrinkPotionData& operator=(struct DrinkPotionData const &) = delete; + DrinkPotionData(struct DrinkPotionData const &) = delete; +#endif +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_DRINKPOTIONDATA +#endif + MCAPI DrinkPotionData(); + MCAPI ~DrinkPotionData(); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/DrinkPotionGoal.hpp b/LiteLoader/Header/MC/DrinkPotionGoal.hpp new file mode 100644 index 0000000..3579305 --- /dev/null +++ b/LiteLoader/Header/MC/DrinkPotionGoal.hpp @@ -0,0 +1,42 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class DrinkPotionGoal { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_DRINKPOTIONGOAL +public: + class DrinkPotionGoal& operator=(class DrinkPotionGoal const &) = delete; + DrinkPotionGoal(class DrinkPotionGoal const &) = delete; + DrinkPotionGoal() = delete; +#endif + +public: + /*0*/ virtual ~DrinkPotionGoal(); + /*1*/ virtual bool canUse(); + /*2*/ virtual bool canContinueToUse(); + /*3*/ virtual void __unk_vfn_3(); + /*4*/ virtual void start(); + /*5*/ virtual void stop(); + /*6*/ virtual void tick(); + /*7*/ virtual void appendDebugInfo(std::string &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_DRINKPOTIONGOAL +#endif + MCAPI DrinkPotionGoal(class Mob &, float, std::vector const &); + +//private: + MCAPI class std::optional _findPotionToUse() const; + MCAPI void _updateEquipment(class ItemStack const &); + +private: + MCAPI static class mce::UUID const SPEED_MODIFIER_DRINKING_UUID; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/DropItemForGoal.hpp b/LiteLoader/Header/MC/DropItemForGoal.hpp new file mode 100644 index 0000000..770a60c --- /dev/null +++ b/LiteLoader/Header/MC/DropItemForGoal.hpp @@ -0,0 +1,50 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "BaseMoveToBlockGoal.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class DropItemForGoal : public BaseMoveToBlockGoal { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_DROPITEMFORGOAL +public: + class DropItemForGoal& operator=(class DropItemForGoal const &) = delete; + DropItemForGoal(class DropItemForGoal const &) = delete; + DropItemForGoal() = delete; +#endif + +public: + /*0*/ virtual ~DropItemForGoal(); + /*1*/ virtual bool canUse(); + /*2*/ virtual bool canContinueToUse(); + /*3*/ virtual void __unk_vfn_3(); + /*4*/ virtual void start(); + /*5*/ virtual void stop(); + /*6*/ virtual void tick(); + /*7*/ virtual void appendDebugInfo(std::string &) const; + /*8*/ virtual void __unk_vfn_8(); + /*9*/ virtual void __unk_vfn_9(); + /*10*/ virtual bool hasReachedTarget() const; + /*11*/ virtual bool isValidTarget(class BlockSource &, class BlockPos const &); + /*12*/ virtual int _nextStartTick(); + /*13*/ virtual bool _canReach(class BlockPos const &); + /*14*/ virtual void _moveToBlock(); + /*15*/ virtual class Vec3 _getTargetPosition() const; + /*16*/ virtual void __unk_vfn_16(); + /*17*/ virtual bool findTargetBlock(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_DROPITEMFORGOAL +#endif + +//private: + +private: + MCAPI static int COOLDOWN_TICKS; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/DropperBlock.hpp b/LiteLoader/Header/MC/DropperBlock.hpp new file mode 100644 index 0000000..5bea862 --- /dev/null +++ b/LiteLoader/Header/MC/DropperBlock.hpp @@ -0,0 +1,121 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "DispenserBlock.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class DropperBlock : public DispenserBlock { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_DROPPERBLOCK +public: + class DropperBlock& operator=(class DropperBlock const &) = delete; + DropperBlock(class DropperBlock const &) = delete; + DropperBlock() = delete; +#endif + +public: + /*0*/ virtual ~DropperBlock(); + /*7*/ virtual void __unk_vfn_7(); + /*14*/ virtual void __unk_vfn_14(); + /*15*/ virtual void __unk_vfn_15(); + /*18*/ virtual void __unk_vfn_18(); + /*19*/ virtual void __unk_vfn_19(); + /*20*/ virtual void __unk_vfn_20(); + /*24*/ virtual void __unk_vfn_24(); + /*25*/ virtual void __unk_vfn_25(); + /*26*/ virtual void __unk_vfn_26(); + /*27*/ virtual void __unk_vfn_27(); + /*28*/ virtual void __unk_vfn_28(); + /*30*/ virtual void __unk_vfn_30(); + /*31*/ virtual void __unk_vfn_31(); + /*32*/ virtual void __unk_vfn_32(); + /*33*/ virtual void __unk_vfn_33(); + /*34*/ virtual void __unk_vfn_34(); + /*35*/ virtual void __unk_vfn_35(); + /*36*/ virtual void __unk_vfn_36(); + /*37*/ virtual void __unk_vfn_37(); + /*38*/ virtual void __unk_vfn_38(); + /*39*/ virtual void __unk_vfn_39(); + /*40*/ virtual void __unk_vfn_40(); + /*42*/ virtual void __unk_vfn_42(); + /*43*/ virtual void __unk_vfn_43(); + /*44*/ virtual void __unk_vfn_44(); + /*45*/ virtual void __unk_vfn_45(); + /*47*/ virtual void __unk_vfn_47(); + /*48*/ virtual void __unk_vfn_48(); + /*49*/ virtual void __unk_vfn_49(); + /*51*/ virtual void __unk_vfn_51(); + /*52*/ virtual void __unk_vfn_52(); + /*55*/ virtual void __unk_vfn_55(); + /*57*/ virtual void __unk_vfn_57(); + /*58*/ virtual void __unk_vfn_58(); + /*61*/ virtual void __unk_vfn_61(); + /*62*/ virtual void __unk_vfn_62(); + /*64*/ virtual void __unk_vfn_64(); + /*66*/ virtual void __unk_vfn_66(); + /*67*/ virtual void __unk_vfn_67(); + /*68*/ virtual void __unk_vfn_68(); + /*69*/ virtual void __unk_vfn_69(); + /*73*/ virtual void __unk_vfn_73(); + /*74*/ virtual void __unk_vfn_74(); + /*75*/ virtual void __unk_vfn_75(); + /*76*/ virtual void __unk_vfn_76(); + /*77*/ virtual void __unk_vfn_77(); + /*79*/ virtual void __unk_vfn_79(); + /*81*/ virtual void __unk_vfn_81(); + /*82*/ virtual void __unk_vfn_82(); + /*85*/ virtual void __unk_vfn_85(); + /*87*/ virtual void __unk_vfn_87(); + /*89*/ virtual void __unk_vfn_89(); + /*90*/ virtual void __unk_vfn_90(); + /*91*/ virtual void __unk_vfn_91(); + /*92*/ virtual void __unk_vfn_92(); + /*95*/ virtual void __unk_vfn_95(); + /*96*/ virtual void __unk_vfn_96(); + /*101*/ virtual void __unk_vfn_101(); + /*102*/ virtual void __unk_vfn_102(); + /*103*/ virtual void __unk_vfn_103(); + /*104*/ virtual void __unk_vfn_104(); + /*106*/ virtual void __unk_vfn_106(); + /*107*/ virtual void __unk_vfn_107(); + /*110*/ virtual void __unk_vfn_110(); + /*111*/ virtual void __unk_vfn_111(); + /*113*/ virtual void __unk_vfn_113(); + /*114*/ virtual void __unk_vfn_114(); + /*116*/ virtual void __unk_vfn_116(); + /*118*/ virtual void __unk_vfn_118(); + /*119*/ virtual void __unk_vfn_119(); + /*122*/ virtual void __unk_vfn_122(); + /*123*/ virtual void __unk_vfn_123(); + /*124*/ virtual void __unk_vfn_124(); + /*125*/ virtual void __unk_vfn_125(); + /*126*/ virtual void __unk_vfn_126(); + /*127*/ virtual void __unk_vfn_127(); + /*128*/ virtual void __unk_vfn_128(); + /*129*/ virtual void __unk_vfn_129(); + /*130*/ virtual void __unk_vfn_130(); + /*131*/ virtual void __unk_vfn_131(); + /*133*/ virtual void __unk_vfn_133(); + /*135*/ virtual void __unk_vfn_135(); + /*142*/ virtual void __unk_vfn_142(); + /*145*/ virtual void __unk_vfn_145(); + /*146*/ virtual void __unk_vfn_146(); + /*158*/ virtual void __unk_vfn_158(); + /*159*/ virtual void __unk_vfn_159(); + /*162*/ virtual void __unk_vfn_162(); + /*163*/ virtual void __unk_vfn_163(); + /*166*/ virtual void dispenseFrom(class BlockSource &, class BlockPos const &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_DROPPERBLOCK + MCVAPI class ItemInstance asItemInstance(class BlockSource &, class BlockPos const &, class Block const &) const; + MCVAPI class ItemInstance getResourceItem(class Random &, class Block const &, int) const; + MCVAPI class ItemInstance getSilkTouchItemInstance(class Block const &) const; +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/DropperBlockActor.hpp b/LiteLoader/Header/MC/DropperBlockActor.hpp new file mode 100644 index 0000000..928ba1f --- /dev/null +++ b/LiteLoader/Header/MC/DropperBlockActor.hpp @@ -0,0 +1,37 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class DropperBlockActor { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_DROPPERBLOCKACTOR +public: + class DropperBlockActor& operator=(class DropperBlockActor const &) = delete; + DropperBlockActor(class DropperBlockActor const &) = delete; + DropperBlockActor() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_DROPPERBLOCKACTOR + MCVAPI std::unique_ptr _getUpdatePacket(class BlockSource &); + MCVAPI void _onUpdatePacket(class CompoundTag const &, class BlockSource &); + MCVAPI std::string getName() const; +#endif + MCAPI bool pushOutItems(class BlockSource &); + +//private: + MCAPI class Container * _getContainerAt(class BlockSource &, class Vec3 const &); + MCAPI bool _tryMoveInItem(class BlockSource &, class Container &, class ItemStack &, int, int); + MCAPI bool _tryPushToComposter(class BlockSource &, int); + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/DropperContainerManagerModel.hpp b/LiteLoader/Header/MC/DropperContainerManagerModel.hpp new file mode 100644 index 0000000..cdc621c --- /dev/null +++ b/LiteLoader/Header/MC/DropperContainerManagerModel.hpp @@ -0,0 +1,29 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "LevelContainerManagerModel.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class DropperContainerManagerModel : public LevelContainerManagerModel { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_DROPPERCONTAINERMANAGERMODEL +public: + class DropperContainerManagerModel& operator=(class DropperContainerManagerModel const &) = delete; + DropperContainerManagerModel(class DropperContainerManagerModel const &) = delete; + DropperContainerManagerModel() = delete; +#endif + +public: + /*0*/ virtual ~DropperContainerManagerModel(); + /*12*/ virtual class ContainerScreenContext _postInit(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_DROPPERCONTAINERMANAGERMODEL +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/DwellerComponent.hpp b/LiteLoader/Header/MC/DwellerComponent.hpp new file mode 100644 index 0000000..9adb693 --- /dev/null +++ b/LiteLoader/Header/MC/DwellerComponent.hpp @@ -0,0 +1,45 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class DwellerComponent { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_DWELLERCOMPONENT +public: + class DwellerComponent& operator=(class DwellerComponent const &) = delete; + DwellerComponent(class DwellerComponent const &) = delete; + DwellerComponent() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_DWELLERCOMPONENT +#endif + MCAPI DwellerComponent(class DwellerComponent &&); + MCAPI class BlockPos getVillageCenter(class Actor const &) const; + MCAPI bool hasPreferredProfession(class Actor const &) const; + MCAPI void initFromDefinition(class Actor &); + MCAPI void onDeath(class Actor &, class ActorDamageSource const &); + MCAPI void onRemove(class Actor &); + MCAPI void readAdditionalSaveData(class Actor &, class CompoundTag const &, class DataLoadHelper &); + MCAPI void setDwellingUniqueID(class Actor &, class mce::UUID); + MCAPI void setLastHurtByMob(class Actor &, class Mob *); + MCAPI bool tryToFixupRole(class Actor const &, class Village *); + +//private: + MCAPI enum DwellerRole _getRole(std::string const &) const; + MCAPI enum DwellerComponent::DwellingType _getType(std::string const &) const; + MCAPI bool _isLockedInToProfession(class Actor const &) const; + +private: + MCAPI static class std::unordered_map, struct std::equal_to, class std::allocator>> const DWELLING_ROLES; + MCAPI static class std::unordered_map, struct std::equal_to, class std::allocator>> const DWELLING_TYPES; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/DwellerDescription.hpp b/LiteLoader/Header/MC/DwellerDescription.hpp new file mode 100644 index 0000000..ac741bc --- /dev/null +++ b/LiteLoader/Header/MC/DwellerDescription.hpp @@ -0,0 +1,30 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Json.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +struct DwellerDescription { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_DWELLERDESCRIPTION +public: + struct DwellerDescription& operator=(struct DwellerDescription const &) = delete; + DwellerDescription(struct DwellerDescription const &) = delete; + DwellerDescription() = delete; +#endif +public: + /*0*/ virtual char const * getJsonName() const; + /*1*/ virtual ~DwellerDescription(); + /*2*/ virtual void deserializeData(class Json::Value &); + /*3*/ virtual void serializeData(class Json::Value &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_DWELLERDESCRIPTION +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/DwellerSystem.hpp b/LiteLoader/Header/MC/DwellerSystem.hpp new file mode 100644 index 0000000..8a253ac --- /dev/null +++ b/LiteLoader/Header/MC/DwellerSystem.hpp @@ -0,0 +1,28 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class DwellerSystem { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_DWELLERSYSTEM +public: + class DwellerSystem& operator=(class DwellerSystem const &) = delete; + DwellerSystem(class DwellerSystem const &) = delete; + DwellerSystem() = delete; +#endif + +public: + /*0*/ virtual ~DwellerSystem(); + /*1*/ virtual void tick(class EntityRegistry &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_DWELLERSYSTEM +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/DyeColorUtil.hpp b/LiteLoader/Header/MC/DyeColorUtil.hpp new file mode 100644 index 0000000..4a976ab --- /dev/null +++ b/LiteLoader/Header/MC/DyeColorUtil.hpp @@ -0,0 +1,18 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +namespace DyeColorUtil { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA + MCAPI int getAuxValue(enum ItemColor); + MCAPI enum ItemColor getItemColor(int); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/DyePowderItem.hpp b/LiteLoader/Header/MC/DyePowderItem.hpp new file mode 100644 index 0000000..bf03e39 --- /dev/null +++ b/LiteLoader/Header/MC/DyePowderItem.hpp @@ -0,0 +1,53 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Item.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class DyePowderItem : public Item { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_DYEPOWDERITEM +public: + class DyePowderItem& operator=(class DyePowderItem const &) = delete; + DyePowderItem(class DyePowderItem const &) = delete; + DyePowderItem() = delete; +#endif + +public: + /*0*/ virtual ~DyePowderItem(); + /*5*/ virtual void __unk_vfn_5(); + /*26*/ virtual void __unk_vfn_26(); + /*27*/ virtual void __unk_vfn_27(); + /*28*/ virtual bool isFertilizer(int) const; + /*31*/ virtual void __unk_vfn_31(); + /*32*/ virtual void __unk_vfn_32(); + /*34*/ virtual void __unk_vfn_34(); + /*37*/ virtual void __unk_vfn_37(); + /*43*/ virtual void __unk_vfn_43(); + /*44*/ virtual bool isValidAuxValue(int) const; + /*46*/ virtual void __unk_vfn_46(); + /*47*/ virtual void __unk_vfn_47(); + /*49*/ virtual void __unk_vfn_49(); + /*50*/ virtual void __unk_vfn_50(); + /*57*/ virtual bool dispense(class BlockSource &, class Container &, int, class Vec3 const &, unsigned char) const; + /*65*/ virtual std::string buildDescriptionId(class ItemDescriptor const &, class CompoundTag const *) const; + /*79*/ virtual void __unk_vfn_79(); + /*80*/ virtual void __unk_vfn_80(); + /*85*/ virtual struct TextureUVCoordinateSet const & getIcon(class ItemStackBase const &, int, bool) const; + /*87*/ virtual class Item & setIcon(std::string const &, int); + /*90*/ virtual void __unk_vfn_90(); + /*97*/ virtual void __unk_vfn_97(); + /*99*/ virtual bool _useOn(class ItemStack &, class Actor &, class BlockPos, unsigned char, float, float, float) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_DYEPOWDERITEM + MCVAPI bool isDye() const; +#endif + MCAPI static class std::array const mColorMap; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/DyeableDescription.hpp b/LiteLoader/Header/MC/DyeableDescription.hpp new file mode 100644 index 0000000..87c03a7 --- /dev/null +++ b/LiteLoader/Header/MC/DyeableDescription.hpp @@ -0,0 +1,30 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Json.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +struct DyeableDescription { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_DYEABLEDESCRIPTION +public: + struct DyeableDescription& operator=(struct DyeableDescription const &) = delete; + DyeableDescription(struct DyeableDescription const &) = delete; + DyeableDescription() = delete; +#endif +public: + /*0*/ virtual char const * getJsonName() const; + /*1*/ virtual ~DyeableDescription(); + /*2*/ virtual void deserializeData(class Json::Value &); + /*3*/ virtual void serializeData(class Json::Value &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_DYEABLEDESCRIPTION +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/DynamicJumpControl.hpp b/LiteLoader/Header/MC/DynamicJumpControl.hpp new file mode 100644 index 0000000..d97093c --- /dev/null +++ b/LiteLoader/Header/MC/DynamicJumpControl.hpp @@ -0,0 +1,34 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class DynamicJumpControl { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_DYNAMICJUMPCONTROL +public: + class DynamicJumpControl& operator=(class DynamicJumpControl const &) = delete; + DynamicJumpControl(class DynamicJumpControl const &) = delete; + DynamicJumpControl() = delete; +#endif + +public: + /*0*/ virtual ~DynamicJumpControl(); + /*1*/ virtual void initializeInternal(class Mob &, struct JumpControlDescription *); + /*2*/ virtual void tick(class JumpControlComponent &, class Mob &); + /*3*/ virtual int getJumpDelay(class JumpControlComponent const &, class Mob const &) const; + /*4*/ virtual float getJumpPower(class JumpControlComponent const &, class Mob const &) const; + /*5*/ virtual enum JumpType getJumpType(class JumpControlComponent const &, class Mob const &) const; + /*6*/ virtual void setJumpType(class JumpControlComponent &, class Mob &, enum JumpType); + /*7*/ virtual void resetSpeedModifier(class JumpControlComponent const &, class Mob &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_DYNAMICJUMPCONTROL +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/DynamicJumpControlDescription.hpp b/LiteLoader/Header/MC/DynamicJumpControlDescription.hpp new file mode 100644 index 0000000..9eb6691 --- /dev/null +++ b/LiteLoader/Header/MC/DynamicJumpControlDescription.hpp @@ -0,0 +1,28 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +struct DynamicJumpControlDescription { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_DYNAMICJUMPCONTROLDESCRIPTION +public: + struct DynamicJumpControlDescription& operator=(struct DynamicJumpControlDescription const &) = delete; + DynamicJumpControlDescription(struct DynamicJumpControlDescription const &) = delete; + DynamicJumpControlDescription() = delete; +#endif +public: + /*0*/ virtual char const * getJsonName() const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_DYNAMICJUMPCONTROLDESCRIPTION + MCVAPI void deserializeData(class Json::Value &); + MCVAPI void serializeData(class Json::Value &) const; +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/EDUWorldsScreenCapabilities.hpp b/LiteLoader/Header/MC/EDUWorldsScreenCapabilities.hpp new file mode 100644 index 0000000..fd37024 --- /dev/null +++ b/LiteLoader/Header/MC/EDUWorldsScreenCapabilities.hpp @@ -0,0 +1,27 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +struct EDUWorldsScreenCapabilities { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_EDUWORLDSSCREENCAPABILITIES +public: + struct EDUWorldsScreenCapabilities& operator=(struct EDUWorldsScreenCapabilities const &) = delete; + EDUWorldsScreenCapabilities(struct EDUWorldsScreenCapabilities const &) = delete; + EDUWorldsScreenCapabilities() = delete; +#endif +public: + /*0*/ virtual ~EDUWorldsScreenCapabilities(); + /*1*/ virtual bool isOfType(class typeid_t) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_EDUWORLDSSCREENCAPABILITIES +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/Easing.hpp b/LiteLoader/Header/MC/Easing.hpp new file mode 100644 index 0000000..6032ebb --- /dev/null +++ b/LiteLoader/Header/MC/Easing.hpp @@ -0,0 +1,31 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class Easing { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_EASING +public: + class Easing& operator=(class Easing const &) = delete; + Easing(class Easing const &) = delete; + Easing() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_EASING +#endif + +//private: + +private: + MCAPI static std::vector> mEasingFuncs; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/EatBlockDefinition.hpp b/LiteLoader/Header/MC/EatBlockDefinition.hpp new file mode 100644 index 0000000..8511ef0 --- /dev/null +++ b/LiteLoader/Header/MC/EatBlockDefinition.hpp @@ -0,0 +1,30 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "JsonUtil.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class EatBlockDefinition { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_EATBLOCKDEFINITION +public: + class EatBlockDefinition& operator=(class EatBlockDefinition const &) = delete; + EatBlockDefinition(class EatBlockDefinition const &) = delete; + EatBlockDefinition() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_EATBLOCKDEFINITION +#endif + MCAPI void addSuccessChanceExpressionNode(class ExpressionNode const &); + MCAPI void initialize(class EntityContext &, class EatBlockGoal &); + MCAPI static void buildSchema(std::string const &, class std::shared_ptr> &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/EatBlockGoal.hpp b/LiteLoader/Header/MC/EatBlockGoal.hpp new file mode 100644 index 0000000..d1d9bf8 --- /dev/null +++ b/LiteLoader/Header/MC/EatBlockGoal.hpp @@ -0,0 +1,35 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class EatBlockGoal { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_EATBLOCKGOAL +public: + class EatBlockGoal& operator=(class EatBlockGoal const &) = delete; + EatBlockGoal(class EatBlockGoal const &) = delete; + EatBlockGoal() = delete; +#endif + +public: + /*0*/ virtual ~EatBlockGoal(); + /*1*/ virtual bool canUse(); + /*2*/ virtual bool canContinueToUse(); + /*3*/ virtual void __unk_vfn_3(); + /*4*/ virtual void start(); + /*5*/ virtual void stop(); + /*6*/ virtual void tick(); + /*7*/ virtual void appendDebugInfo(std::string &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_EATBLOCKGOAL +#endif + MCAPI float getEatSuccessChance(class Actor &) const; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/EatCarriedItemGoal.hpp b/LiteLoader/Header/MC/EatCarriedItemGoal.hpp new file mode 100644 index 0000000..c025a4f --- /dev/null +++ b/LiteLoader/Header/MC/EatCarriedItemGoal.hpp @@ -0,0 +1,34 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class EatCarriedItemGoal { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_EATCARRIEDITEMGOAL +public: + class EatCarriedItemGoal& operator=(class EatCarriedItemGoal const &) = delete; + EatCarriedItemGoal(class EatCarriedItemGoal const &) = delete; + EatCarriedItemGoal() = delete; +#endif + +public: + /*0*/ virtual ~EatCarriedItemGoal(); + /*1*/ virtual bool canUse(); + /*2*/ virtual bool canContinueToUse(); + /*3*/ virtual void __unk_vfn_3(); + /*4*/ virtual void start(); + /*5*/ virtual void stop(); + /*6*/ virtual void tick(); + /*7*/ virtual void appendDebugInfo(std::string &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_EATCARRIEDITEMGOAL +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/EconomyTradeableComponent.hpp b/LiteLoader/Header/MC/EconomyTradeableComponent.hpp new file mode 100644 index 0000000..6d8f732 --- /dev/null +++ b/LiteLoader/Header/MC/EconomyTradeableComponent.hpp @@ -0,0 +1,52 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class EconomyTradeableComponent { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ECONOMYTRADEABLECOMPONENT +public: + class EconomyTradeableComponent& operator=(class EconomyTradeableComponent const &) = delete; + EconomyTradeableComponent(class EconomyTradeableComponent const &) = delete; + EconomyTradeableComponent() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ECONOMYTRADEABLECOMPONENT +#endif + MCAPI void addAdditionalSaveData(class CompoundTag &); + MCAPI class UpdateTradePacket createDataPacket(enum ContainerID); + MCAPI void fixVillagerTierToMatchTradeList(class MerchantRecipeList *); + MCAPI struct IntRange getCurrentCuredDiscount() const; + MCAPI int getCurrentNearbyCuredDiscount() const; + MCAPI bool getInteraction(class Player &, class ActorInteraction &); + MCAPI class MerchantRecipeList * getOffers(); + MCAPI int getTradeTier() const; + MCAPI void loadOffersFromTag(class CompoundTag const *); + MCAPI void matchExpAndTier(); + MCAPI void newServerAiStep(); + MCAPI void notifyTrade(int); + MCAPI void readAdditionalSaveData(class CompoundTag const &, class DataLoadHelper &); + MCAPI void setCurrentTradeExp(int); + MCAPI void setNearbyCuredDiscount(int); + MCAPI void tryIncrementCuredDiscount(); + MCAPI void tryToTransferOldOffers(class MerchantRecipeList *); + +//private: + MCAPI bool _generateTrades(); + MCAPI struct TradeTable * _getTradeTable(); + MCAPI int _getTradeTierFromCurrentExp(); + MCAPI void _setMaxTradeTier(int); + MCAPI void _setTradeTier(int); + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/EconomyTradeableDescription.hpp b/LiteLoader/Header/MC/EconomyTradeableDescription.hpp new file mode 100644 index 0000000..6059c4d --- /dev/null +++ b/LiteLoader/Header/MC/EconomyTradeableDescription.hpp @@ -0,0 +1,30 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Json.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +struct EconomyTradeableDescription { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ECONOMYTRADEABLEDESCRIPTION +public: + struct EconomyTradeableDescription& operator=(struct EconomyTradeableDescription const &) = delete; + EconomyTradeableDescription(struct EconomyTradeableDescription const &) = delete; +#endif +public: + /*0*/ virtual char const * getJsonName() const; + /*1*/ virtual ~EconomyTradeableDescription(); + /*2*/ virtual void deserializeData(class Json::Value &); + /*3*/ virtual void serializeData(class Json::Value &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ECONOMYTRADEABLEDESCRIPTION +#endif + MCAPI EconomyTradeableDescription(); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/EduAppConfigs.hpp b/LiteLoader/Header/MC/EduAppConfigs.hpp new file mode 100644 index 0000000..fe8b0e0 --- /dev/null +++ b/LiteLoader/Header/MC/EduAppConfigs.hpp @@ -0,0 +1,27 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class EduAppConfigs { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_EDUAPPCONFIGS +public: + class EduAppConfigs& operator=(class EduAppConfigs const &) = delete; + EduAppConfigs(class EduAppConfigs const &) = delete; + EduAppConfigs() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_EDUAPPCONFIGS +#endif + MCAPI static struct PackIdVersion const EDUResourcePack; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/EducationLevelSettings.hpp b/LiteLoader/Header/MC/EducationLevelSettings.hpp new file mode 100644 index 0000000..d649411 --- /dev/null +++ b/LiteLoader/Header/MC/EducationLevelSettings.hpp @@ -0,0 +1,23 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +struct EducationLevelSettings { + +#define AFTER_EXTRA + +#undef AFTER_EXTRApublic: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_EDUCATIONLEVELSETTINGS +#endif + MCAPI EducationLevelSettings(struct EducationLevelSettings const &); + MCAPI EducationLevelSettings(); + MCAPI class std::function getCommandOverrideFunctor() const; + MCAPI struct EducationLevelSettings & operator=(struct EducationLevelSettings const &); + MCAPI ~EducationLevelSettings(); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/EducationLocalLevelSettings.hpp b/LiteLoader/Header/MC/EducationLocalLevelSettings.hpp new file mode 100644 index 0000000..1a81ad8 --- /dev/null +++ b/LiteLoader/Header/MC/EducationLocalLevelSettings.hpp @@ -0,0 +1,26 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +struct EducationLocalLevelSettings { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_EDUCATIONLOCALLEVELSETTINGS +public: + EducationLocalLevelSettings(struct EducationLocalLevelSettings const &) = delete; + EducationLocalLevelSettings() = delete; +#endif +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_EDUCATIONLOCALLEVELSETTINGS +#endif + MCAPI struct EducationLocalLevelSettings & operator=(struct EducationLocalLevelSettings const &); + MCAPI ~EducationLocalLevelSettings(); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/EducationMetadata.hpp b/LiteLoader/Header/MC/EducationMetadata.hpp new file mode 100644 index 0000000..e3403c4 --- /dev/null +++ b/LiteLoader/Header/MC/EducationMetadata.hpp @@ -0,0 +1,28 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +struct EducationMetadata { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_EDUCATIONMETADATA +public: + struct EducationMetadata& operator=(struct EducationMetadata const &) = delete; +#endif +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_EDUCATIONMETADATA +#endif + MCAPI EducationMetadata(); + MCAPI EducationMetadata(struct EducationMetadata const &); + MCAPI ~EducationMetadata(); + MCAPI static class std::unordered_map, struct std::equal_to, class std::allocator>> const STRING_TO_CONTENT_TYPE; + MCAPI static class std::unordered_map, struct std::equal_to, class std::allocator>> const STRING_TO_USER_TYPE; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/EducationMetadataError.hpp b/LiteLoader/Header/MC/EducationMetadataError.hpp new file mode 100644 index 0000000..c915d3a --- /dev/null +++ b/LiteLoader/Header/MC/EducationMetadataError.hpp @@ -0,0 +1,30 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "PackError.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class EducationMetadataError : public PackError { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_EDUCATIONMETADATAERROR +public: + class EducationMetadataError& operator=(class EducationMetadataError const &) = delete; + EducationMetadataError(class EducationMetadataError const &) = delete; + EducationMetadataError() = delete; +#endif + +public: + /*0*/ virtual ~EducationMetadataError(); + /*2*/ virtual class std::unordered_map, struct std::equal_to, class std::allocator>> const & getLocErrorMessageMap() const; + /*3*/ virtual class std::unordered_map, struct std::equal_to, class std::allocator>> const & getEventErrorMessageMap() const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_EDUCATIONMETADATAERROR +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/EducationMetadataUtils.hpp b/LiteLoader/Header/MC/EducationMetadataUtils.hpp new file mode 100644 index 0000000..4c223d9 --- /dev/null +++ b/LiteLoader/Header/MC/EducationMetadataUtils.hpp @@ -0,0 +1,19 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Json.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +namespace EducationMetadataUtils { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA + MCAPI struct EducationMetadata parse(std::string const &, std::vector &, class PackReport &); + MCAPI void parseEducationMetadataContent(class Json::Value const &, std::vector &, struct EducationMetadata &, class PackReport &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/EducationOptions.hpp b/LiteLoader/Header/MC/EducationOptions.hpp new file mode 100644 index 0000000..d7a604a --- /dev/null +++ b/LiteLoader/Header/MC/EducationOptions.hpp @@ -0,0 +1,38 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class EducationOptions { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_EDUCATIONOPTIONS +public: + class EducationOptions& operator=(class EducationOptions const &) = delete; + EducationOptions(class EducationOptions const &) = delete; + EducationOptions() = delete; +#endif + +public: + /*0*/ virtual ~EducationOptions(); + /*1*/ virtual void onActiveResourcePacksChanged(class ResourcePackManager &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_EDUCATIONOPTIONS +#endif + MCAPI static class gsl::basic_string_span const CHEMISTRY_ENABLED; + MCAPI static bool isBaseCodeBuilderEnabled(); + MCAPI static bool isChemistryEnabled(); + MCAPI static bool isCodeBuilderEnabled(); + +//private: + MCAPI static class ServiceReference _getCurrentOptions(); + +private: + MCAPI static class EducationOptions DEFAULT_OPTION; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/EducationSettingsPacket.hpp b/LiteLoader/Header/MC/EducationSettingsPacket.hpp new file mode 100644 index 0000000..775d59b --- /dev/null +++ b/LiteLoader/Header/MC/EducationSettingsPacket.hpp @@ -0,0 +1,32 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Packet.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class EducationSettingsPacket : public Packet { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_EDUCATIONSETTINGSPACKET +public: + class EducationSettingsPacket& operator=(class EducationSettingsPacket const &) = delete; + EducationSettingsPacket(class EducationSettingsPacket const &) = delete; + EducationSettingsPacket() = delete; +#endif + +public: + /*0*/ virtual ~EducationSettingsPacket(); + /*1*/ virtual enum MinecraftPacketIds getId() const; + /*2*/ virtual std::string getName() const; + /*3*/ virtual void write(class BinaryStream &) const; + /*4*/ virtual enum StreamReadResult read(class ReadOnlyBinaryStream &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_EDUCATIONSETTINGSPACKET +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/EffectCommand.hpp b/LiteLoader/Header/MC/EffectCommand.hpp new file mode 100644 index 0000000..64ca386 --- /dev/null +++ b/LiteLoader/Header/MC/EffectCommand.hpp @@ -0,0 +1,35 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Command.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class EffectCommand : public Command { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_EFFECTCOMMAND +public: + class EffectCommand& operator=(class EffectCommand const &) = delete; + EffectCommand(class EffectCommand const &) = delete; + EffectCommand() = delete; +#endif + +public: + /*0*/ virtual ~EffectCommand(); + /*1*/ virtual void execute(class CommandOrigin const &, class CommandOutput &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_EFFECTCOMMAND +#endif + MCAPI static void setup(class CommandRegistry &); + +//private: + MCAPI void clear(class CommandOrigin const &, class CommandOutput &) const; + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/EggItem.hpp b/LiteLoader/Header/MC/EggItem.hpp new file mode 100644 index 0000000..04837b2 --- /dev/null +++ b/LiteLoader/Header/MC/EggItem.hpp @@ -0,0 +1,47 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Item.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class EggItem : public Item { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_EGGITEM +public: + class EggItem& operator=(class EggItem const &) = delete; + EggItem(class EggItem const &) = delete; + EggItem() = delete; +#endif + +public: + /*0*/ virtual ~EggItem(); + /*5*/ virtual void __unk_vfn_5(); + /*26*/ virtual void __unk_vfn_26(); + /*27*/ virtual void __unk_vfn_27(); + /*30*/ virtual bool isThrowable() const; + /*31*/ virtual void __unk_vfn_31(); + /*32*/ virtual void __unk_vfn_32(); + /*34*/ virtual void __unk_vfn_34(); + /*37*/ virtual void __unk_vfn_37(); + /*43*/ virtual void __unk_vfn_43(); + /*46*/ virtual void __unk_vfn_46(); + /*47*/ virtual void __unk_vfn_47(); + /*49*/ virtual void __unk_vfn_49(); + /*50*/ virtual void __unk_vfn_50(); + /*56*/ virtual class ItemStack & use(class ItemStack &, class Player &) const; + /*57*/ virtual bool dispense(class BlockSource &, class Container &, int, class Vec3 const &, unsigned char) const; + /*79*/ virtual void __unk_vfn_79(); + /*80*/ virtual void __unk_vfn_80(); + /*90*/ virtual void __unk_vfn_90(); + /*97*/ virtual void __unk_vfn_97(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_EGGITEM +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ElementBlock.hpp b/LiteLoader/Header/MC/ElementBlock.hpp new file mode 100644 index 0000000..90e4b67 --- /dev/null +++ b/LiteLoader/Header/MC/ElementBlock.hpp @@ -0,0 +1,73 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "BlockLegacy.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ElementBlock : public BlockLegacy { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ELEMENTBLOCK +public: + class ElementBlock& operator=(class ElementBlock const &) = delete; + ElementBlock(class ElementBlock const &) = delete; + ElementBlock() = delete; +#endif + +public: + /*0*/ virtual ~ElementBlock(); + /*18*/ virtual void __unk_vfn_18(); + /*24*/ virtual void __unk_vfn_24(); + /*25*/ virtual void __unk_vfn_25(); + /*26*/ virtual void __unk_vfn_26(); + /*27*/ virtual void __unk_vfn_27(); + /*28*/ virtual void __unk_vfn_28(); + /*30*/ virtual void __unk_vfn_30(); + /*31*/ virtual void __unk_vfn_31(); + /*32*/ virtual void __unk_vfn_32(); + /*33*/ virtual void __unk_vfn_33(); + /*34*/ virtual void __unk_vfn_34(); + /*35*/ virtual void __unk_vfn_35(); + /*36*/ virtual void __unk_vfn_36(); + /*38*/ virtual void __unk_vfn_38(); + /*39*/ virtual void __unk_vfn_39(); + /*40*/ virtual void __unk_vfn_40(); + /*42*/ virtual void __unk_vfn_42(); + /*43*/ virtual void __unk_vfn_43(); + /*49*/ virtual void __unk_vfn_49(); + /*52*/ virtual void __unk_vfn_52(); + /*53*/ virtual bool canBeUsedInCommands(bool, class BaseGameVersion const &) const; + /*67*/ virtual void __unk_vfn_67(); + /*73*/ virtual void __unk_vfn_73(); + /*87*/ virtual void __unk_vfn_87(); + /*95*/ virtual void __unk_vfn_95(); + /*109*/ virtual void __unk_vfn_109(); + /*113*/ virtual class Color getMapColor(class BlockSource &, class BlockPos const &) const; + /*116*/ virtual void __unk_vfn_116(); + /*118*/ virtual void __unk_vfn_118(); + /*119*/ virtual void __unk_vfn_119(); + /*127*/ virtual std::string buildDescriptionId(class Block const &) const; + /*142*/ virtual void __unk_vfn_142(); + /*158*/ virtual void __unk_vfn_158(); + /*162*/ virtual class Block const * tryLegacyUpgrade(unsigned short) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ELEMENTBLOCK +#endif + MCAPI ElementBlock(std::string const &, int, enum ElementType); + MCAPI static struct ElementInfo getElementInfo(enum ElementType); + MCAPI static class RecipeIngredient getIngredientForElement(enum ElementType, int); + MCAPI static class ItemInstance getItemForElement(enum ElementType, int); + MCAPI static void initElements(); + MCAPI static bool isElement(class ItemStackBase const &); + +//private: + +private: + MCAPI static std::vector mElements; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ElementBlockItem.hpp b/LiteLoader/Header/MC/ElementBlockItem.hpp new file mode 100644 index 0000000..530a076 --- /dev/null +++ b/LiteLoader/Header/MC/ElementBlockItem.hpp @@ -0,0 +1,45 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "AuxDataBlockItem.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ElementBlockItem : public AuxDataBlockItem { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ELEMENTBLOCKITEM +public: + class ElementBlockItem& operator=(class ElementBlockItem const &) = delete; + ElementBlockItem(class ElementBlockItem const &) = delete; + ElementBlockItem() = delete; +#endif + +public: + /*0*/ virtual ~ElementBlockItem(); + /*5*/ virtual void __unk_vfn_5(); + /*26*/ virtual void __unk_vfn_26(); + /*27*/ virtual void __unk_vfn_27(); + /*31*/ virtual void __unk_vfn_31(); + /*32*/ virtual void __unk_vfn_32(); + /*34*/ virtual void __unk_vfn_34(); + /*37*/ virtual void __unk_vfn_37(); + /*43*/ virtual void __unk_vfn_43(); + /*46*/ virtual void __unk_vfn_46(); + /*47*/ virtual void __unk_vfn_47(); + /*49*/ virtual void __unk_vfn_49(); + /*50*/ virtual void __unk_vfn_50(); + /*75*/ virtual void fixupOnLoad(class ItemStackBase &) const; + /*79*/ virtual void __unk_vfn_79(); + /*80*/ virtual void __unk_vfn_80(); + /*90*/ virtual void __unk_vfn_90(); + /*97*/ virtual void __unk_vfn_97(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ELEMENTBLOCKITEM +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ElementConstructorContainerManagerModel.hpp b/LiteLoader/Header/MC/ElementConstructorContainerManagerModel.hpp new file mode 100644 index 0000000..dc44c04 --- /dev/null +++ b/LiteLoader/Header/MC/ElementConstructorContainerManagerModel.hpp @@ -0,0 +1,35 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "ContainerManagerModel.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ElementConstructorContainerManagerModel : public ContainerManagerModel { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ELEMENTCONSTRUCTORCONTAINERMANAGERMODEL +public: + class ElementConstructorContainerManagerModel& operator=(class ElementConstructorContainerManagerModel const &) = delete; + ElementConstructorContainerManagerModel(class ElementConstructorContainerManagerModel const &) = delete; + ElementConstructorContainerManagerModel() = delete; +#endif + +public: + /*0*/ virtual ~ElementConstructorContainerManagerModel(); + /*6*/ virtual std::vector getItemCopies() const; + /*7*/ virtual void setSlot(int, class ItemStack const &, bool); + /*8*/ virtual class ItemStack const & getSlot(int) const; + /*9*/ virtual void setData(int, int); + /*10*/ virtual void broadcastChanges(); + /*11*/ virtual bool isValid(float); + /*12*/ virtual class ContainerScreenContext _postInit(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ELEMENTCONSTRUCTORCONTAINERMANAGERMODEL +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/EmoteListPacket.hpp b/LiteLoader/Header/MC/EmoteListPacket.hpp new file mode 100644 index 0000000..11ecaf0 --- /dev/null +++ b/LiteLoader/Header/MC/EmoteListPacket.hpp @@ -0,0 +1,33 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Packet.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class EmoteListPacket : public Packet { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_EMOTELISTPACKET +public: + class EmoteListPacket& operator=(class EmoteListPacket const &) = delete; + EmoteListPacket(class EmoteListPacket const &) = delete; + EmoteListPacket() = delete; +#endif + +public: + /*0*/ virtual ~EmoteListPacket(); + /*1*/ virtual enum MinecraftPacketIds getId() const; + /*2*/ virtual std::string getName() const; + /*3*/ virtual void write(class BinaryStream &) const; + /*4*/ virtual enum StreamReadResult read(class ReadOnlyBinaryStream &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_EMOTELISTPACKET +#endif + MCAPI static int const MAX_EMOTE_PIECE_IDS; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/EmotePacket.hpp b/LiteLoader/Header/MC/EmotePacket.hpp new file mode 100644 index 0000000..94c0da0 --- /dev/null +++ b/LiteLoader/Header/MC/EmotePacket.hpp @@ -0,0 +1,32 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Packet.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class EmotePacket : public Packet { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_EMOTEPACKET +public: + class EmotePacket& operator=(class EmotePacket const &) = delete; + EmotePacket(class EmotePacket const &) = delete; + EmotePacket() = delete; +#endif + +public: + /*0*/ virtual ~EmotePacket(); + /*1*/ virtual enum MinecraftPacketIds getId() const; + /*2*/ virtual std::string getName() const; + /*3*/ virtual void write(class BinaryStream &) const; + /*4*/ virtual enum StreamReadResult read(class ReadOnlyBinaryStream &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_EMOTEPACKET +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/EmptyLootItem.hpp b/LiteLoader/Header/MC/EmptyLootItem.hpp new file mode 100644 index 0000000..b3641d7 --- /dev/null +++ b/LiteLoader/Header/MC/EmptyLootItem.hpp @@ -0,0 +1,28 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class EmptyLootItem { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_EMPTYLOOTITEM +public: + class EmptyLootItem& operator=(class EmptyLootItem const &) = delete; + EmptyLootItem(class EmptyLootItem const &) = delete; + EmptyLootItem() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_EMPTYLOOTITEM + MCVAPI bool _createItem(std::vector &, class Random &, class LootTableContext &); + MCVAPI bool _isExperimental() const; +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/EmptyMapItem.hpp b/LiteLoader/Header/MC/EmptyMapItem.hpp new file mode 100644 index 0000000..dbafa8b --- /dev/null +++ b/LiteLoader/Header/MC/EmptyMapItem.hpp @@ -0,0 +1,52 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Item.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class EmptyMapItem : public Item { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_EMPTYMAPITEM +public: + class EmptyMapItem& operator=(class EmptyMapItem const &) = delete; + EmptyMapItem(class EmptyMapItem const &) = delete; + EmptyMapItem() = delete; +#endif + +public: + /*0*/ virtual ~EmptyMapItem(); + /*5*/ virtual void __unk_vfn_5(); + /*26*/ virtual void __unk_vfn_26(); + /*27*/ virtual void __unk_vfn_27(); + /*31*/ virtual void __unk_vfn_31(); + /*32*/ virtual void __unk_vfn_32(); + /*34*/ virtual void __unk_vfn_34(); + /*37*/ virtual void __unk_vfn_37(); + /*43*/ virtual void __unk_vfn_43(); + /*46*/ virtual void __unk_vfn_46(); + /*47*/ virtual void __unk_vfn_47(); + /*49*/ virtual void __unk_vfn_49(); + /*50*/ virtual void __unk_vfn_50(); + /*56*/ virtual class ItemStack & use(class ItemStack &, class Player &) const; + /*65*/ virtual std::string buildDescriptionId(class ItemDescriptor const &, class CompoundTag const *) const; + /*79*/ virtual void __unk_vfn_79(); + /*80*/ virtual void __unk_vfn_80(); + /*82*/ virtual std::string getInteractText(class Player const &) const; + /*90*/ virtual void __unk_vfn_90(); + /*97*/ virtual void __unk_vfn_97(); + /*100*/ virtual std::unique_ptr getUpdatePacket(class ItemStack const &, class Level &, class Actor &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_EMPTYMAPITEM + MCVAPI bool requiresInteract() const; +#endif + MCAPI static void addPlayerMarker(class ItemStack &); + MCAPI static void addPlayerMarker(class ItemInstance &); + MCAPI static bool isLocatorMap(class ItemStack const &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/EnableEncryptionCommand.hpp b/LiteLoader/Header/MC/EnableEncryptionCommand.hpp new file mode 100644 index 0000000..f0e3f3e --- /dev/null +++ b/LiteLoader/Header/MC/EnableEncryptionCommand.hpp @@ -0,0 +1,35 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Command.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class EnableEncryptionCommand : public Command { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ENABLEENCRYPTIONCOMMAND +public: + class EnableEncryptionCommand& operator=(class EnableEncryptionCommand const &) = delete; + EnableEncryptionCommand(class EnableEncryptionCommand const &) = delete; + EnableEncryptionCommand() = delete; +#endif + +public: + /*0*/ virtual ~EnableEncryptionCommand(); + /*1*/ virtual void execute(class CommandOrigin const &, class CommandOutput &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ENABLEENCRYPTIONCOMMAND +#endif + MCAPI static void setup(class CommandRegistry &, class IMinecraftApp &); + +//private: + +private: + MCAPI static class IMinecraftApp * mApp; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/Enchant.hpp b/LiteLoader/Header/MC/Enchant.hpp new file mode 100644 index 0000000..a64d058 --- /dev/null +++ b/LiteLoader/Header/MC/Enchant.hpp @@ -0,0 +1,48 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class Enchant { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ENCHANT +public: + class Enchant& operator=(class Enchant const &) = delete; + Enchant(class Enchant const &) = delete; + Enchant() = delete; +#endif + +public: + /*0*/ virtual ~Enchant(); + /*1*/ virtual bool isCompatibleWith(enum Enchant::Type) const; + /*2*/ virtual int getMinCost(int) const; + /*3*/ virtual int getMaxCost(int) const; + /*4*/ virtual int getMinLevel() const; + /*5*/ virtual int getMaxLevel() const; + /*6*/ virtual int getDamageProtection(int, class ActorDamageSource const &) const; + /*7*/ virtual float getDamageBonus(int, class Actor const &) const; + /*8*/ virtual void doPostAttack(class Actor &, class Actor &, int) const; + /*9*/ virtual void doPostHurt(class ItemInstance &, class Actor &, class Actor &, int) const; + /*10*/ virtual bool isMeleeDamageEnchant() const; + /*11*/ virtual bool isProtectionEnchant() const; + /*12*/ virtual bool isTreasureOnly() const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ENCHANT +#endif + MCAPI Enchant(enum Enchant::Type, enum Enchant::Frequency, std::string const &, std::string const &, int, int, bool); + MCAPI bool isAvailable() const; + MCAPI static void initEnchants(bool); + MCAPI static std::vector> mEnchants; + +//protected: + +protected: + MCAPI static bool mAllowExperimental; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/EnchantBookForTradingFunction.hpp b/LiteLoader/Header/MC/EnchantBookForTradingFunction.hpp new file mode 100644 index 0000000..1c6a3a1 --- /dev/null +++ b/LiteLoader/Header/MC/EnchantBookForTradingFunction.hpp @@ -0,0 +1,37 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Json.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class EnchantBookForTradingFunction { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ENCHANTBOOKFORTRADINGFUNCTION +public: + class EnchantBookForTradingFunction& operator=(class EnchantBookForTradingFunction const &) = delete; + EnchantBookForTradingFunction(class EnchantBookForTradingFunction const &) = delete; + EnchantBookForTradingFunction() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ENCHANTBOOKFORTRADINGFUNCTION + MCVAPI void apply(class ItemInstance &, class Random &, class LootTableContext &); + MCVAPI void apply(class ItemStack &, class Random &, class LootTableContext &); + MCVAPI int apply(class ItemStack &, class Random &, struct Trade const &, class LootTableContext &); + MCVAPI int apply(class ItemInstance &, class Random &, struct Trade const &, class LootTableContext &); +#endif + MCAPI static std::unique_ptr deserialize(class Json::Value, std::vector> &); + +//private: + MCAPI class EnchantmentInstance _getRandomEnchantAndCalculateCost(class ItemStackBase &, class Random &, int &) const; + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/EnchantCommand.hpp b/LiteLoader/Header/MC/EnchantCommand.hpp new file mode 100644 index 0000000..3aceb8b --- /dev/null +++ b/LiteLoader/Header/MC/EnchantCommand.hpp @@ -0,0 +1,30 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Command.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class EnchantCommand : public Command { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ENCHANTCOMMAND +public: + class EnchantCommand& operator=(class EnchantCommand const &) = delete; + EnchantCommand(class EnchantCommand const &) = delete; + EnchantCommand() = delete; +#endif + +public: + /*0*/ virtual ~EnchantCommand(); + /*1*/ virtual void execute(class CommandOrigin const &, class CommandOutput &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ENCHANTCOMMAND +#endif + MCAPI static void setup(class CommandRegistry &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/EnchantRandomEquipmentFunction.hpp b/LiteLoader/Header/MC/EnchantRandomEquipmentFunction.hpp new file mode 100644 index 0000000..82bb26c --- /dev/null +++ b/LiteLoader/Header/MC/EnchantRandomEquipmentFunction.hpp @@ -0,0 +1,30 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "LootItemFunction.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class EnchantRandomEquipmentFunction : public LootItemFunction { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ENCHANTRANDOMEQUIPMENTFUNCTION +public: + class EnchantRandomEquipmentFunction& operator=(class EnchantRandomEquipmentFunction const &) = delete; + EnchantRandomEquipmentFunction(class EnchantRandomEquipmentFunction const &) = delete; + EnchantRandomEquipmentFunction() = delete; +#endif + +public: + /*0*/ virtual ~EnchantRandomEquipmentFunction(); + /*1*/ virtual void apply(class ItemStack &, class Random &, class LootTableContext &); + /*3*/ virtual void apply(class ItemInstance &, class Random &, class LootTableContext &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ENCHANTRANDOMEQUIPMENTFUNCTION +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/EnchantRandomlyFunction.hpp b/LiteLoader/Header/MC/EnchantRandomlyFunction.hpp new file mode 100644 index 0000000..dacc6ab --- /dev/null +++ b/LiteLoader/Header/MC/EnchantRandomlyFunction.hpp @@ -0,0 +1,30 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "LootItemFunction.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class EnchantRandomlyFunction : public LootItemFunction { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ENCHANTRANDOMLYFUNCTION +public: + class EnchantRandomlyFunction& operator=(class EnchantRandomlyFunction const &) = delete; + EnchantRandomlyFunction(class EnchantRandomlyFunction const &) = delete; + EnchantRandomlyFunction() = delete; +#endif + +public: + /*0*/ virtual ~EnchantRandomlyFunction(); + /*1*/ virtual void apply(class ItemStack &, class Random &, class LootTableContext &); + /*3*/ virtual void apply(class ItemInstance &, class Random &, class LootTableContext &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ENCHANTRANDOMLYFUNCTION +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/EnchantUtils.hpp b/LiteLoader/Header/MC/EnchantUtils.hpp new file mode 100644 index 0000000..752a5b5 --- /dev/null +++ b/LiteLoader/Header/MC/EnchantUtils.hpp @@ -0,0 +1,59 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Enchant.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class EnchantUtils { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ENCHANTUTILS +public: + class EnchantUtils& operator=(class EnchantUtils const &) = delete; + EnchantUtils(class EnchantUtils const &) = delete; + EnchantUtils() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ENCHANTUTILS +#endif + MCAPI static int const PROTECTIONFACTOR_SECONDARYCAP; + MCAPI static void appendEnchantToFormattedText(enum Enchant::Type, std::string const &, std::string &); + MCAPI static bool applyEnchant(class ItemStackBase &, class EnchantmentInstance const &, bool); + MCAPI static int applyEnchant(class ItemStackBase &, class ItemEnchants const &, bool); + MCAPI static struct EnchantResult canEnchant(class ItemStackBase const &, enum Enchant::Type, int, bool); + MCAPI static int determineActivation(enum Enchant::Type); + MCAPI static void doPostDamageEffects(class Actor &, class Actor &); + MCAPI static void doPostHurtEffects(class Mob &, class Mob &); + MCAPI static class ItemInstance generateEnchantedBook(class EnchantmentInstance const &); + MCAPI static std::vector getAvailableEnchantmentResults(class Item const *, int, bool); + MCAPI static int getBestEnchantLevel(enum Enchant::Type, class Mob const &, enum EquipmentFilter); + MCAPI static std::vector getBookCasePositions(class BlockSource &, class Vec3 const &); + MCAPI static float getDamageReduction(class ActorDamageSource const &, class Mob const &); + MCAPI static std::vector getEnchantCosts(class ItemStackBase const &, int); + MCAPI static int getEnchantLevel(enum Enchant::Type, class ItemStackBase const &); + MCAPI static std::string getEnchantNameAndLevel(enum Enchant::Type, int); + MCAPI static std::vector getEnchantingTablePositions(class BlockSource &, class Vec3 const &); + MCAPI static std::vector getLegalEnchants(class Item const *); + MCAPI static int getLootableRandomEnchantIndex(class Random &); + MCAPI static int getMeleeDamageBonus(class Actor const &, class Actor &); + MCAPI static class ItemStack const & getRandomItemWith(enum Enchant::Type, class Mob const &, enum EquipmentFilter); + MCAPI static class ItemStack const & getRandomItemWithMending(class Mob const &); + MCAPI static bool hasEnchant(enum Enchant::Type, class ItemStackBase const &); + MCAPI static void randomlyEnchant(class ItemStack &, int, int, bool); + MCAPI static void randomlyEnchant(class ItemInstance &, int, int, bool); + MCAPI static class ItemEnchants selectEnchantments(class Item const *, int, int, bool); + +//private: + MCAPI static void _convertBookCheck(class ItemStackBase &); + +private: + MCAPI static std::vector mEnchantmentNames; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/EnchantWithLevelsFunction.hpp b/LiteLoader/Header/MC/EnchantWithLevelsFunction.hpp new file mode 100644 index 0000000..0b4bf4e --- /dev/null +++ b/LiteLoader/Header/MC/EnchantWithLevelsFunction.hpp @@ -0,0 +1,30 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class EnchantWithLevelsFunction { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ENCHANTWITHLEVELSFUNCTION +public: + class EnchantWithLevelsFunction& operator=(class EnchantWithLevelsFunction const &) = delete; + EnchantWithLevelsFunction(class EnchantWithLevelsFunction const &) = delete; + EnchantWithLevelsFunction() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ENCHANTWITHLEVELSFUNCTION + MCVAPI void apply(class ItemStack &, class Random &, class LootTableContext &); + MCVAPI void apply(class ItemInstance &, class Random &, class LootTableContext &); + MCVAPI int apply(class ItemStack &, class Random &, struct Trade const &, class LootTableContext &); + MCVAPI int apply(class ItemInstance &, class Random &, struct Trade const &, class LootTableContext &); +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/EnchantedBookItem.hpp b/LiteLoader/Header/MC/EnchantedBookItem.hpp new file mode 100644 index 0000000..b04792f --- /dev/null +++ b/LiteLoader/Header/MC/EnchantedBookItem.hpp @@ -0,0 +1,47 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Item.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class EnchantedBookItem : public Item { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ENCHANTEDBOOKITEM +public: + class EnchantedBookItem& operator=(class EnchantedBookItem const &) = delete; + EnchantedBookItem(class EnchantedBookItem const &) = delete; + EnchantedBookItem() = delete; +#endif + +public: + /*0*/ virtual ~EnchantedBookItem(); + /*5*/ virtual void __unk_vfn_5(); + /*26*/ virtual void __unk_vfn_26(); + /*27*/ virtual void __unk_vfn_27(); + /*29*/ virtual bool isGlint(class ItemStackBase const &) const; + /*31*/ virtual void __unk_vfn_31(); + /*32*/ virtual void __unk_vfn_32(); + /*34*/ virtual void __unk_vfn_34(); + /*37*/ virtual void __unk_vfn_37(); + /*40*/ virtual int getEnchantSlot() const; + /*41*/ virtual int getEnchantValue() const; + /*43*/ virtual void __unk_vfn_43(); + /*46*/ virtual void __unk_vfn_46(); + /*47*/ virtual void __unk_vfn_47(); + /*49*/ virtual void __unk_vfn_49(); + /*50*/ virtual void __unk_vfn_50(); + /*79*/ virtual void __unk_vfn_79(); + /*80*/ virtual void __unk_vfn_80(); + /*90*/ virtual void __unk_vfn_90(); + /*97*/ virtual void __unk_vfn_97(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ENCHANTEDBOOKITEM +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/EnchantingContainerManagerModel.hpp b/LiteLoader/Header/MC/EnchantingContainerManagerModel.hpp new file mode 100644 index 0000000..e6ffdde --- /dev/null +++ b/LiteLoader/Header/MC/EnchantingContainerManagerModel.hpp @@ -0,0 +1,36 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "ContainerManagerModel.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class EnchantingContainerManagerModel : public ContainerManagerModel { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ENCHANTINGCONTAINERMANAGERMODEL +public: + class EnchantingContainerManagerModel& operator=(class EnchantingContainerManagerModel const &) = delete; + EnchantingContainerManagerModel(class EnchantingContainerManagerModel const &) = delete; + EnchantingContainerManagerModel() = delete; +#endif + +public: + /*0*/ virtual ~EnchantingContainerManagerModel(); + /*6*/ virtual std::vector getItemCopies() const; + /*7*/ virtual void setSlot(int, class ItemStack const &, bool); + /*8*/ virtual class ItemStack const & getSlot(int) const; + /*9*/ virtual void setData(int, int); + /*10*/ virtual void broadcastChanges(); + /*11*/ virtual bool isValid(float); + /*12*/ virtual class ContainerScreenContext _postInit(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ENCHANTINGCONTAINERMANAGERMODEL +#endif + MCAPI void recalculateOptions(); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/EnchantingTableBlock.hpp b/LiteLoader/Header/MC/EnchantingTableBlock.hpp new file mode 100644 index 0000000..1d7a4b7 --- /dev/null +++ b/LiteLoader/Header/MC/EnchantingTableBlock.hpp @@ -0,0 +1,196 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "ActorBlock.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class EnchantingTableBlock : public ActorBlock { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ENCHANTINGTABLEBLOCK +public: + class EnchantingTableBlock& operator=(class EnchantingTableBlock const &) = delete; + EnchantingTableBlock(class EnchantingTableBlock const &) = delete; + EnchantingTableBlock() = delete; +#endif + +public: + /*0*/ virtual ~EnchantingTableBlock(); + /*1*/ virtual void __unk_vfn_1(); + /*2*/ virtual class Block const & getStateFromLegacyData(unsigned short) const; + /*3*/ virtual class std::shared_ptr newBlockEntity(class BlockPos const &, class Block const &) const; + /*4*/ virtual class Block const * getNextBlockPermutation(class Block const &) const; + /*5*/ virtual bool getCollisionShape(class AABB &, class Block const &, class BlockSource &, class BlockPos const &, class Actor *) const; + /*6*/ virtual bool isObstructingChests(class BlockSource &, class BlockPos const &) const; + /*7*/ virtual void __unk_vfn_7(); + /*8*/ virtual class Vec3 randomlyModifyPosition(class BlockPos const &, int &) const; + /*9*/ virtual void addAABBs(class Block const &, class BlockSource &, class BlockPos const &, class AABB const *, std::vector &) const; + /*10*/ virtual class AABB const & getAABB(class BlockSource &, class BlockPos const &, class Block const &, class AABB &, bool) const; + /*11*/ virtual bool addCollisionShapes(class Block const &, class BlockSource &, class BlockPos const &, class AABB const *, std::vector &, class Actor *) const; + /*12*/ virtual class AABB const & getOutline(class BlockSource &, class BlockPos const &, class AABB &) const; + /*13*/ virtual bool getLiquidClipVolume(class BlockSource &, class BlockPos const &, class AABB &) const; + /*14*/ virtual void __unk_vfn_14(); + /*15*/ virtual void __unk_vfn_15(); + /*16*/ virtual struct Brightness getLightEmission(class Block const &) const; + /*17*/ virtual bool shouldRandomTick() const; + /*18*/ virtual void __unk_vfn_18(); + /*19*/ virtual void __unk_vfn_19(); + /*20*/ virtual void __unk_vfn_20(); + /*21*/ virtual bool canProvideSupport(class Block const &, unsigned char, enum BlockSupportType) const; + /*22*/ virtual bool canConnect(class Block const &, unsigned char, class Block const &) const; + /*23*/ virtual void getConnectedDirections(class Block const &, class BlockPos const &, class BlockSource &, bool &, bool &, bool &, bool &) const; + /*24*/ virtual void __unk_vfn_24(); + /*25*/ virtual void __unk_vfn_25(); + /*26*/ virtual void __unk_vfn_26(); + /*27*/ virtual void __unk_vfn_27(); + /*28*/ virtual void __unk_vfn_28(); + /*29*/ virtual bool isWaterBlocking() const; + /*30*/ virtual void __unk_vfn_30(); + /*31*/ virtual void __unk_vfn_31(); + /*32*/ virtual void __unk_vfn_32(); + /*33*/ virtual void __unk_vfn_33(); + /*34*/ virtual void __unk_vfn_34(); + /*35*/ virtual void __unk_vfn_35(); + /*36*/ virtual void __unk_vfn_36(); + /*37*/ virtual void __unk_vfn_37(); + /*38*/ virtual void __unk_vfn_38(); + /*39*/ virtual void __unk_vfn_39(); + /*40*/ virtual void __unk_vfn_40(); + /*41*/ virtual bool canHurtAndBreakItem() const; + /*42*/ virtual void __unk_vfn_42(); + /*43*/ virtual void __unk_vfn_43(); + /*44*/ virtual void __unk_vfn_44(); + /*45*/ virtual void __unk_vfn_45(); + /*46*/ virtual class Block const & sanitizeFillBlock(class BlockSource &, class BlockPos const &, class Block const &) const; + /*47*/ virtual void __unk_vfn_47(); + /*48*/ virtual void __unk_vfn_48(); + /*49*/ virtual void __unk_vfn_49(); + /*50*/ virtual bool canContainLiquid() const; + /*51*/ virtual void __unk_vfn_51(); + /*52*/ virtual void __unk_vfn_52(); + /*53*/ virtual bool canBeUsedInCommands(bool, class BaseGameVersion const &) const; + /*54*/ virtual float getThickness() const; + /*55*/ virtual void __unk_vfn_55(); + /*56*/ virtual void __unk_vfn_56(); + /*57*/ virtual void __unk_vfn_57(); + /*58*/ virtual void __unk_vfn_58(); + /*59*/ virtual void __unk_vfn_59(); + /*60*/ virtual void __unk_vfn_60(); + /*61*/ virtual void __unk_vfn_61(); + /*62*/ virtual void __unk_vfn_62(); + /*63*/ virtual void onFallOn(class BlockSource &, class BlockPos const &, class Actor &, float) const; + /*64*/ virtual void __unk_vfn_64(); + /*65*/ virtual void __unk_vfn_65(); + /*66*/ virtual void __unk_vfn_66(); + /*67*/ virtual void __unk_vfn_67(); + /*68*/ virtual void __unk_vfn_68(); + /*69*/ virtual void __unk_vfn_69(); + /*70*/ virtual void __unk_vfn_70(); + /*71*/ virtual enum BlockProperty getRedstoneProperty(class BlockSource &, class BlockPos const &) const; + /*72*/ virtual void updateEntityAfterFallOn(class BlockSource &, class BlockPos const &, class Actor &) const; + /*73*/ virtual void __unk_vfn_73(); + /*74*/ virtual void __unk_vfn_74(); + /*75*/ virtual void __unk_vfn_75(); + /*76*/ virtual void __unk_vfn_76(); + /*77*/ virtual void __unk_vfn_77(); + /*78*/ virtual bool mayPick(class BlockSource &, class Block const &, bool) const; + /*79*/ virtual void __unk_vfn_79(); + /*80*/ virtual bool mayPlace(class BlockSource &, class BlockPos const &) const; + /*81*/ virtual void __unk_vfn_81(); + /*82*/ virtual void __unk_vfn_82(); + /*83*/ virtual bool tryToPlace(class BlockSource &, class BlockPos const &, class Block const &, struct ActorBlockSyncMessage const *) const; + /*84*/ virtual bool breaksFallingBlocks(class Block const &) const; + /*85*/ virtual void __unk_vfn_85(); + /*86*/ virtual bool playerWillDestroy(class Player &, class BlockPos const &, class Block const &) const; + /*87*/ virtual void __unk_vfn_87(); + /*88*/ virtual void neighborChanged(class BlockSource &, class BlockPos const &, class BlockPos const &) const; + /*89*/ virtual void __unk_vfn_89(); + /*90*/ virtual void __unk_vfn_90(); + /*91*/ virtual void __unk_vfn_91(); + /*92*/ virtual void __unk_vfn_92(); + /*93*/ virtual void spawnResources(class BlockSource &, class BlockPos const &, class Block const &, std::vector *, float, int, bool) const; + /*94*/ virtual void trySpawnResourcesOnExplosion(class BlockSource &, class BlockPos const &, class Block const &, std::vector *, float, int, bool) const; + /*95*/ virtual void __unk_vfn_95(); + /*96*/ virtual void __unk_vfn_96(); + /*97*/ virtual class HitResult clip(class BlockSource &, class BlockPos const &, class Vec3 const &, class Vec3 const &, bool) const; + /*98*/ virtual void __unk_vfn_98(); + /*99*/ virtual class Block const & getPlacementBlock(class Actor &, class BlockPos const &, unsigned char, class Vec3 const &, int) const; + /*100*/ virtual int calcVariant(class BlockSource &, class BlockPos const &) const; + /*101*/ virtual void __unk_vfn_101(); + /*102*/ virtual void __unk_vfn_102(); + /*103*/ virtual void __unk_vfn_103(); + /*104*/ virtual void __unk_vfn_104(); + /*105*/ virtual void playerDestroy(class Player &, class BlockPos const &, class Block const &) const; + /*106*/ virtual void __unk_vfn_106(); + /*107*/ virtual void __unk_vfn_107(); + /*108*/ virtual bool canBeBuiltOver(class BlockSource &, class BlockPos const &) const; + /*109*/ virtual void triggerEvent(class BlockSource &, class BlockPos const &, int, int) const; + /*110*/ virtual void __unk_vfn_110(); + /*111*/ virtual void __unk_vfn_111(); + /*112*/ virtual class MobSpawnerData const * getMobToSpawn(class SpawnConditions const &, class BlockSource &) const; + /*113*/ virtual void __unk_vfn_113(); + /*114*/ virtual void __unk_vfn_114(); + /*115*/ virtual bool shouldStopFalling(class Actor &) const; + /*116*/ virtual void __unk_vfn_116(); + /*117*/ virtual float calcGroundFriction(class Mob &, class BlockPos const &) const; + /*118*/ virtual void __unk_vfn_118(); + /*119*/ virtual void __unk_vfn_119(); + /*120*/ virtual void __unk_vfn_120(); + /*121*/ virtual bool canSlide(class BlockSource &, class BlockPos const &) const; + /*122*/ virtual void __unk_vfn_122(); + /*123*/ virtual void __unk_vfn_123(); + /*124*/ virtual void __unk_vfn_124(); + /*125*/ virtual void __unk_vfn_125(); + /*126*/ virtual void __unk_vfn_126(); + /*127*/ virtual void __unk_vfn_127(); + /*128*/ virtual void __unk_vfn_128(); + /*129*/ virtual void __unk_vfn_129(); + /*130*/ virtual void __unk_vfn_130(); + /*131*/ virtual void __unk_vfn_131(); + /*132*/ virtual int getColorForParticle(class BlockSource &, class BlockPos const &, class Block const &) const; + /*133*/ virtual void __unk_vfn_133(); + /*134*/ virtual void onGraphicsModeChanged(bool, bool, bool); + /*135*/ virtual void __unk_vfn_135(); + /*136*/ virtual float getShadeBrightness() const; + /*137*/ virtual class AABB const & getVisualShapeInWorld(class Block const &, class BlockSource &, class BlockPos const &, class AABB &, bool) const; + /*138*/ virtual class AABB const & getVisualShape(class Block const &, class AABB &, bool) const; + /*139*/ virtual class AABB const & getUIShape(class Block const &, class AABB &) const; + /*140*/ virtual int telemetryVariant(class BlockSource &, class BlockPos const &) const; + /*141*/ virtual int getVariant(class Block const &) const; + /*142*/ virtual void __unk_vfn_142(); + /*143*/ virtual class Block const & getRenderBlock() const; + /*144*/ virtual void __unk_vfn_144(); + /*145*/ virtual void __unk_vfn_145(); + /*146*/ virtual void __unk_vfn_146(); + /*147*/ virtual class BlockLegacy & init(); + /*148*/ virtual class BlockLegacy & setLightBlock(struct Brightness); + /*149*/ virtual class BlockLegacy & setLightEmission(float); + /*150*/ virtual class BlockLegacy & setExplodeable(float); + /*151*/ virtual class BlockLegacy & setDestroyTime(float); + /*152*/ virtual class BlockLegacy & setFriction(float); + /*153*/ virtual class BlockLegacy & addProperty(enum BlockProperty); + /*154*/ virtual class BlockLegacy & addState(class ItemState const &); + /*155*/ virtual class BlockLegacy & addState(class ItemState const &, unsigned __int64); + /*156*/ virtual class BlockLegacy & setAllowsRunes(bool); + /*157*/ virtual class BlockLegacy & setMapColor(class Color const &); + /*158*/ virtual void __unk_vfn_158(); + /*159*/ virtual void __unk_vfn_159(); + /*160*/ virtual void setVisualShape(class AABB const &); + /*161*/ virtual void setVisualShape(class Vec3 const &, class Vec3 const &); + /*162*/ virtual void __unk_vfn_162(); + /*163*/ virtual void __unk_vfn_163(); + /*164*/ virtual class ItemInstance getEntityResourceItem(class Random &, class BlockActor const &, int) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ENCHANTINGTABLEBLOCK + MCVAPI bool checkIsPathable(class Actor &, class BlockPos const &, class BlockPos const &) const; + MCVAPI bool isCraftingBlock() const; + MCVAPI bool isInteractiveBlock() const; + MCVAPI bool use(class Player &, class BlockPos const &) const; +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/EnchantingTableBlockActor.hpp b/LiteLoader/Header/MC/EnchantingTableBlockActor.hpp new file mode 100644 index 0000000..f32961b --- /dev/null +++ b/LiteLoader/Header/MC/EnchantingTableBlockActor.hpp @@ -0,0 +1,40 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "BlockActor.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class EnchantingTableBlockActor : public BlockActor { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ENCHANTINGTABLEBLOCKACTOR +public: + class EnchantingTableBlockActor& operator=(class EnchantingTableBlockActor const &) = delete; + EnchantingTableBlockActor(class EnchantingTableBlockActor const &) = delete; + EnchantingTableBlockActor() = delete; +#endif + +public: + /*0*/ virtual ~EnchantingTableBlockActor(); + /*1*/ virtual void load(class Level &, class CompoundTag const &, class DataLoadHelper &); + /*2*/ virtual bool save(class CompoundTag &) const; + /*7*/ virtual void tick(class BlockSource &); + /*13*/ virtual void __unk_vfn_13(); + /*17*/ virtual void __unk_vfn_17(); + /*24*/ virtual std::string getName() const; + /*29*/ virtual void __unk_vfn_29(); + /*30*/ virtual void __unk_vfn_30(); + /*32*/ virtual void __unk_vfn_32(); + /*33*/ virtual void __unk_vfn_33(); + /*34*/ virtual std::unique_ptr _getUpdatePacket(class BlockSource &); + /*35*/ virtual void _onUpdatePacket(class CompoundTag const &, class BlockSource &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ENCHANTINGTABLEBLOCKACTOR +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/EnchantmentInstance.hpp b/LiteLoader/Header/MC/EnchantmentInstance.hpp new file mode 100644 index 0000000..67091ce --- /dev/null +++ b/LiteLoader/Header/MC/EnchantmentInstance.hpp @@ -0,0 +1,28 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Enchant.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class EnchantmentInstance { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ENCHANTMENTINSTANCE +public: + class EnchantmentInstance& operator=(class EnchantmentInstance const &) = delete; + EnchantmentInstance(class EnchantmentInstance const &) = delete; + EnchantmentInstance() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ENCHANTMENTINSTANCE +#endif + MCAPI EnchantmentInstance(enum Enchant::Type, int); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/EncryptedFileAccessStrategy.hpp b/LiteLoader/Header/MC/EncryptedFileAccessStrategy.hpp new file mode 100644 index 0000000..7c3e779 --- /dev/null +++ b/LiteLoader/Header/MC/EncryptedFileAccessStrategy.hpp @@ -0,0 +1,51 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Core.hpp" +#include "DirectoryPackAccessStrategy.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class EncryptedFileAccessStrategy : public DirectoryPackAccessStrategy { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ENCRYPTEDFILEACCESSSTRATEGY +public: + class EncryptedFileAccessStrategy& operator=(class EncryptedFileAccessStrategy const &) = delete; + EncryptedFileAccessStrategy(class EncryptedFileAccessStrategy const &) = delete; + EncryptedFileAccessStrategy() = delete; +#endif + +public: + /*0*/ virtual ~EncryptedFileAccessStrategy(); + /*4*/ virtual bool isWritable() const; + /*6*/ virtual bool isTrusted() const; + /*7*/ virtual bool hasAsset(class Core::Path const &, bool) const; + /*9*/ virtual bool getAsset(class Core::Path const &, std::string &, bool) const; + /*10*/ virtual bool deleteAsset(class Core::PathBuffer const &); + /*11*/ virtual bool writeAsset(class Core::Path const &, std::string const &); + /*16*/ virtual std::unique_ptr createSubPack(class Core::Path const &) const; + /*17*/ virtual enum PackAccessAssetGenerationResult generateAssetSet(); + /*21*/ virtual class ContentIdentity readContentIdentity() const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ENCRYPTEDFILEACCESSSTRATEGY +#endif + MCAPI EncryptedFileAccessStrategy(class ResourceLocation const &, class ContentIdentity const &, class IContentKeyProvider const &, bool, class std::optional, std::string, struct std::hash>, struct std::equal_to>, class std::allocator const, std::string>>>>); + MCAPI static bool isValidEncryptedPack(class Core::Path const &, class ContentIdentity &); + +//protected: + MCAPI std::string _getContentsFile(); + +//private: + MCAPI static bool _getContentIdentityFromEncryptedStream(std::string &, class ContentIdentity &); + MCAPI static void _transformStream(std::string &, std::string const &, unsigned __int64); + +protected: + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/EncryptedNetworkPeer.hpp b/LiteLoader/Header/MC/EncryptedNetworkPeer.hpp new file mode 100644 index 0000000..732dfa2 --- /dev/null +++ b/LiteLoader/Header/MC/EncryptedNetworkPeer.hpp @@ -0,0 +1,32 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "NetworkPeer.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class EncryptedNetworkPeer : public NetworkPeer { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ENCRYPTEDNETWORKPEER +public: + class EncryptedNetworkPeer& operator=(class EncryptedNetworkPeer const &) = delete; + EncryptedNetworkPeer(class EncryptedNetworkPeer const &) = delete; + EncryptedNetworkPeer() = delete; +#endif + +public: + /*0*/ virtual ~EncryptedNetworkPeer(); + /*1*/ virtual void sendPacket(std::string const &, enum NetworkPeer::Reliability, int, unsigned short, enum Compressibility); + /*2*/ virtual enum NetworkPeer::DataStatus receivePacket(std::string &); + /*3*/ virtual struct NetworkPeer::NetworkStatus getNetworkStatus(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ENCRYPTEDNETWORKPEER +#endif + MCAPI void enableEncryption(std::string const &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/EncryptedProxyEnv.hpp b/LiteLoader/Header/MC/EncryptedProxyEnv.hpp new file mode 100644 index 0000000..02962b3 --- /dev/null +++ b/LiteLoader/Header/MC/EncryptedProxyEnv.hpp @@ -0,0 +1,35 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "TransactionalWorldBlockTarget.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class EncryptedProxyEnv : public TransactionalWorldBlockTarget { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ENCRYPTEDPROXYENV +public: + class EncryptedProxyEnv& operator=(class EncryptedProxyEnv const &) = delete; + EncryptedProxyEnv(class EncryptedProxyEnv const &) = delete; + EncryptedProxyEnv() = delete; +#endif + +public: + /*0*/ virtual ~EncryptedProxyEnv(); + /*1*/ virtual class leveldb::Status NewSequentialFile(std::string const &, class leveldb::SequentialFile **); + /*2*/ virtual class leveldb::Status NewRandomAccessFile(std::string const &, class leveldb::RandomAccessFile **); + /*3*/ virtual class leveldb::Status NewWritableFile(std::string const &, class leveldb::WritableFile **); + /*7*/ virtual class leveldb::Status DeleteFileA(std::string const &); + /*10*/ virtual void __unk_vfn_10(); + /*11*/ virtual class leveldb::Status RenameFile(std::string const &, std::string const &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ENCRYPTEDPROXYENV +#endif + MCAPI EncryptedProxyEnv(class leveldb::Env *, class ContentIdentity const &, std::string const &, enum EncryptedProxyReadMode); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/EncryptedZipTransforms.hpp b/LiteLoader/Header/MC/EncryptedZipTransforms.hpp new file mode 100644 index 0000000..4ffbca1 --- /dev/null +++ b/LiteLoader/Header/MC/EncryptedZipTransforms.hpp @@ -0,0 +1,29 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class EncryptedZipTransforms { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ENCRYPTEDZIPTRANSFORMS +public: + class EncryptedZipTransforms& operator=(class EncryptedZipTransforms const &) = delete; + EncryptedZipTransforms(class EncryptedZipTransforms const &) = delete; + EncryptedZipTransforms() = delete; +#endif + +public: + /*0*/ virtual ~EncryptedZipTransforms(); + /*1*/ virtual bool readTransform(std::vector &) const; + /*2*/ virtual bool writeTransform(std::vector &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ENCRYPTEDZIPTRANSFORMS +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/EndCityFeature.hpp b/LiteLoader/Header/MC/EndCityFeature.hpp new file mode 100644 index 0000000..b606bef --- /dev/null +++ b/LiteLoader/Header/MC/EndCityFeature.hpp @@ -0,0 +1,31 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "StructureFeature.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class EndCityFeature : public StructureFeature { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ENDCITYFEATURE +public: + class EndCityFeature& operator=(class EndCityFeature const &) = delete; + EndCityFeature(class EndCityFeature const &) = delete; + EndCityFeature() = delete; +#endif + +public: + /*0*/ virtual ~EndCityFeature(); + /*3*/ virtual bool getNearestGeneratedFeature(class Dimension &, class BiomeSource &, class BlockPos const &, class BlockPos &); + /*4*/ virtual bool isFeatureChunk(class BiomeSource const &, class Random &, class ChunkPos const &, unsigned int); + /*5*/ virtual std::unique_ptr createStructureStart(class Dimension &, class BiomeSource &, class Random &, class ChunkPos const &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ENDCITYFEATURE +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/EndCityPieces.hpp b/LiteLoader/Header/MC/EndCityPieces.hpp new file mode 100644 index 0000000..be6f064 --- /dev/null +++ b/LiteLoader/Header/MC/EndCityPieces.hpp @@ -0,0 +1,36 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class EndCityPieces { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ENDCITYPIECES +public: + class EndCityPieces& operator=(class EndCityPieces const &) = delete; + EndCityPieces(class EndCityPieces const &) = delete; + EndCityPieces() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ENDCITYPIECES +#endif + MCAPI static void startHouseTower(class StructureManager &, class BlockPos const &, enum Rotation, std::vector> &, class Random &); + +//private: + MCAPI static class EndCityPieces::EndCityPiece * _addHelper(std::vector> &, std::unique_ptr); + MCAPI static std::unique_ptr _createPiece(class StructureManager &, class EndCityPieces::EndCityPiece *, class BlockPos const &, std::string const &, enum Rotation, bool); + MCAPI static bool _recursiveChildren(class StructureManager &, std::vector> const &, enum EndCityPieces::SectionType, int, class EndCityPieces::EndCityPiece *, class BlockPos const &, std::vector> &, class Random &); + +private: + MCAPI static class LegacyStructureSettings mInsertSettings; + MCAPI static class LegacyStructureSettings mOverwriteSettings; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/EndCityStart.hpp b/LiteLoader/Header/MC/EndCityStart.hpp new file mode 100644 index 0000000..02c3a9d --- /dev/null +++ b/LiteLoader/Header/MC/EndCityStart.hpp @@ -0,0 +1,31 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "StructureStart.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class EndCityStart : public StructureStart { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ENDCITYSTART +public: + class EndCityStart& operator=(class EndCityStart const &) = delete; + EndCityStart(class EndCityStart const &) = delete; + EndCityStart() = delete; +#endif + +public: + /*0*/ virtual ~EndCityStart(); + /*2*/ virtual bool isValid() const; + /*3*/ virtual enum StructureFeatureType getType() const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ENDCITYSTART +#endif + MCAPI static int getYPositionForFeature(class ChunkPos const &, class Dimension &, class TheEndGenerator &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/EndCrystalItem.hpp b/LiteLoader/Header/MC/EndCrystalItem.hpp new file mode 100644 index 0000000..e985d1a --- /dev/null +++ b/LiteLoader/Header/MC/EndCrystalItem.hpp @@ -0,0 +1,47 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Item.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class EndCrystalItem : public Item { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ENDCRYSTALITEM +public: + class EndCrystalItem& operator=(class EndCrystalItem const &) = delete; + EndCrystalItem(class EndCrystalItem const &) = delete; + EndCrystalItem() = delete; +#endif + +public: + /*0*/ virtual ~EndCrystalItem(); + /*5*/ virtual void __unk_vfn_5(); + /*26*/ virtual void __unk_vfn_26(); + /*27*/ virtual void __unk_vfn_27(); + /*29*/ virtual bool isGlint(class ItemStackBase const &) const; + /*31*/ virtual void __unk_vfn_31(); + /*32*/ virtual void __unk_vfn_32(); + /*34*/ virtual void __unk_vfn_34(); + /*35*/ virtual bool isDestructive(int) const; + /*37*/ virtual void __unk_vfn_37(); + /*43*/ virtual void __unk_vfn_43(); + /*46*/ virtual void __unk_vfn_46(); + /*47*/ virtual void __unk_vfn_47(); + /*49*/ virtual void __unk_vfn_49(); + /*50*/ virtual void __unk_vfn_50(); + /*79*/ virtual void __unk_vfn_79(); + /*80*/ virtual void __unk_vfn_80(); + /*90*/ virtual void __unk_vfn_90(); + /*97*/ virtual void __unk_vfn_97(); + /*99*/ virtual bool _useOn(class ItemStack &, class Actor &, class BlockPos, unsigned char, float, float, float) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ENDCRYSTALITEM +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/EndDragonFight.hpp b/LiteLoader/Header/MC/EndDragonFight.hpp new file mode 100644 index 0000000..41b9832 --- /dev/null +++ b/LiteLoader/Header/MC/EndDragonFight.hpp @@ -0,0 +1,50 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class EndDragonFight { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ENDDRAGONFIGHT +public: + class EndDragonFight& operator=(class EndDragonFight const &) = delete; + EndDragonFight(class EndDragonFight const &) = delete; + EndDragonFight() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ENDDRAGONFIGHT +#endif + MCAPI EndDragonFight(class BlockSource &); + MCAPI void loadData(class CompoundTag const &); + MCAPI void resetSpikeCrystals() const; + MCAPI void saveData(class CompoundTag &); + MCAPI void setDragonKilled(class EnderDragon &); + MCAPI void spawnNewGatewayChunks(class BlockPos const &, bool, bool); + MCAPI void tick(); + MCAPI void tryRespawn(); + +//private: + MCAPI bool _canSpawnNewGateway(class ChunkViewSource *, class BlockPos const &) const; + MCAPI void _createNewDragon(); + MCAPI struct BuildMatch _findExitPortal(); + MCAPI void _makeEndIslandFeature(class BlockSource &, class BlockPos); + MCAPI void _placeAndLinkNewGatewayPair(); + MCAPI bool _setEndGatewayBlockActorExitPosition(class BlockSource &, class BlockSource &, class BlockPos const &, class BlockPos const &, bool); + MCAPI void _setRespawnStage(enum RespawnAnimation); + MCAPI void _spawnExitPortal(bool); + MCAPI void _spawnNewGatewayChunksTask(class std::tuple &); + MCAPI void _tickRespawnAnimation(std::vector const &, int); + MCAPI void _updateCrystalCount(); + MCAPI void _verifyExitPositionsTask(class std::tuple &); + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/EndGatewayBlock.hpp b/LiteLoader/Header/MC/EndGatewayBlock.hpp new file mode 100644 index 0000000..3fbe410 --- /dev/null +++ b/LiteLoader/Header/MC/EndGatewayBlock.hpp @@ -0,0 +1,197 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "ActorBlock.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class EndGatewayBlock : public ActorBlock { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ENDGATEWAYBLOCK +public: + class EndGatewayBlock& operator=(class EndGatewayBlock const &) = delete; + EndGatewayBlock(class EndGatewayBlock const &) = delete; + EndGatewayBlock() = delete; +#endif + +public: + /*0*/ virtual ~EndGatewayBlock(); + /*1*/ virtual void __unk_vfn_1(); + /*2*/ virtual class Block const & getStateFromLegacyData(unsigned short) const; + /*3*/ virtual class std::shared_ptr newBlockEntity(class BlockPos const &, class Block const &) const; + /*4*/ virtual class Block const * getNextBlockPermutation(class Block const &) const; + /*5*/ virtual bool getCollisionShape(class AABB &, class Block const &, class BlockSource &, class BlockPos const &, class Actor *) const; + /*6*/ virtual bool isObstructingChests(class BlockSource &, class BlockPos const &) const; + /*7*/ virtual void __unk_vfn_7(); + /*8*/ virtual class Vec3 randomlyModifyPosition(class BlockPos const &, int &) const; + /*9*/ virtual void addAABBs(class Block const &, class BlockSource &, class BlockPos const &, class AABB const *, std::vector &) const; + /*10*/ virtual class AABB const & getAABB(class BlockSource &, class BlockPos const &, class Block const &, class AABB &, bool) const; + /*11*/ virtual bool addCollisionShapes(class Block const &, class BlockSource &, class BlockPos const &, class AABB const *, std::vector &, class Actor *) const; + /*12*/ virtual class AABB const & getOutline(class BlockSource &, class BlockPos const &, class AABB &) const; + /*13*/ virtual bool getLiquidClipVolume(class BlockSource &, class BlockPos const &, class AABB &) const; + /*14*/ virtual void __unk_vfn_14(); + /*15*/ virtual void __unk_vfn_15(); + /*16*/ virtual struct Brightness getLightEmission(class Block const &) const; + /*17*/ virtual bool shouldRandomTick() const; + /*18*/ virtual void __unk_vfn_18(); + /*19*/ virtual void __unk_vfn_19(); + /*20*/ virtual void __unk_vfn_20(); + /*21*/ virtual bool canProvideSupport(class Block const &, unsigned char, enum BlockSupportType) const; + /*22*/ virtual bool canConnect(class Block const &, unsigned char, class Block const &) const; + /*23*/ virtual void getConnectedDirections(class Block const &, class BlockPos const &, class BlockSource &, bool &, bool &, bool &, bool &) const; + /*24*/ virtual void __unk_vfn_24(); + /*25*/ virtual void __unk_vfn_25(); + /*26*/ virtual void __unk_vfn_26(); + /*27*/ virtual void __unk_vfn_27(); + /*28*/ virtual void __unk_vfn_28(); + /*29*/ virtual void __unk_vfn_29(); + /*30*/ virtual void __unk_vfn_30(); + /*31*/ virtual void __unk_vfn_31(); + /*32*/ virtual void __unk_vfn_32(); + /*33*/ virtual void __unk_vfn_33(); + /*34*/ virtual void __unk_vfn_34(); + /*35*/ virtual void __unk_vfn_35(); + /*36*/ virtual void __unk_vfn_36(); + /*37*/ virtual void __unk_vfn_37(); + /*38*/ virtual void __unk_vfn_38(); + /*39*/ virtual void __unk_vfn_39(); + /*40*/ virtual void __unk_vfn_40(); + /*41*/ virtual bool canHurtAndBreakItem() const; + /*42*/ virtual void __unk_vfn_42(); + /*43*/ virtual void __unk_vfn_43(); + /*44*/ virtual void __unk_vfn_44(); + /*45*/ virtual void __unk_vfn_45(); + /*46*/ virtual class Block const & sanitizeFillBlock(class BlockSource &, class BlockPos const &, class Block const &) const; + /*47*/ virtual void __unk_vfn_47(); + /*48*/ virtual void __unk_vfn_48(); + /*49*/ virtual void __unk_vfn_49(); + /*50*/ virtual void __unk_vfn_50(); + /*51*/ virtual void __unk_vfn_51(); + /*52*/ virtual void __unk_vfn_52(); + /*53*/ virtual bool canBeUsedInCommands(bool, class BaseGameVersion const &) const; + /*54*/ virtual float getThickness() const; + /*55*/ virtual void __unk_vfn_55(); + /*56*/ virtual bool checkIsPathable(class Actor &, class BlockPos const &, class BlockPos const &) const; + /*57*/ virtual void __unk_vfn_57(); + /*58*/ virtual void __unk_vfn_58(); + /*59*/ virtual void __unk_vfn_59(); + /*60*/ virtual void __unk_vfn_60(); + /*61*/ virtual void __unk_vfn_61(); + /*62*/ virtual void __unk_vfn_62(); + /*63*/ virtual void onFallOn(class BlockSource &, class BlockPos const &, class Actor &, float) const; + /*64*/ virtual void __unk_vfn_64(); + /*65*/ virtual void __unk_vfn_65(); + /*66*/ virtual void __unk_vfn_66(); + /*67*/ virtual void __unk_vfn_67(); + /*68*/ virtual void __unk_vfn_68(); + /*69*/ virtual void __unk_vfn_69(); + /*70*/ virtual void __unk_vfn_70(); + /*71*/ virtual enum BlockProperty getRedstoneProperty(class BlockSource &, class BlockPos const &) const; + /*72*/ virtual void updateEntityAfterFallOn(class BlockSource &, class BlockPos const &, class Actor &) const; + /*73*/ virtual void __unk_vfn_73(); + /*74*/ virtual void __unk_vfn_74(); + /*75*/ virtual void __unk_vfn_75(); + /*76*/ virtual void __unk_vfn_76(); + /*77*/ virtual void __unk_vfn_77(); + /*78*/ virtual bool mayPick(class BlockSource &, class Block const &, bool) const; + /*79*/ virtual void __unk_vfn_79(); + /*80*/ virtual bool mayPlace(class BlockSource &, class BlockPos const &) const; + /*81*/ virtual void __unk_vfn_81(); + /*82*/ virtual void __unk_vfn_82(); + /*83*/ virtual bool tryToPlace(class BlockSource &, class BlockPos const &, class Block const &, struct ActorBlockSyncMessage const *) const; + /*84*/ virtual bool breaksFallingBlocks(class Block const &) const; + /*85*/ virtual void __unk_vfn_85(); + /*86*/ virtual bool playerWillDestroy(class Player &, class BlockPos const &, class Block const &) const; + /*87*/ virtual void __unk_vfn_87(); + /*88*/ virtual void neighborChanged(class BlockSource &, class BlockPos const &, class BlockPos const &) const; + /*89*/ virtual void __unk_vfn_89(); + /*90*/ virtual void __unk_vfn_90(); + /*91*/ virtual void __unk_vfn_91(); + /*92*/ virtual class ItemInstance asItemInstance(class BlockSource &, class BlockPos const &, class Block const &) const; + /*93*/ virtual void __unk_vfn_93(); + /*94*/ virtual void trySpawnResourcesOnExplosion(class BlockSource &, class BlockPos const &, class Block const &, std::vector *, float, int, bool) const; + /*95*/ virtual void __unk_vfn_95(); + /*96*/ virtual void __unk_vfn_96(); + /*97*/ virtual class HitResult clip(class BlockSource &, class BlockPos const &, class Vec3 const &, class Vec3 const &, bool) const; + /*98*/ virtual void __unk_vfn_98(); + /*99*/ virtual class Block const & getPlacementBlock(class Actor &, class BlockPos const &, unsigned char, class Vec3 const &, int) const; + /*100*/ virtual int calcVariant(class BlockSource &, class BlockPos const &) const; + /*101*/ virtual void __unk_vfn_101(); + /*102*/ virtual void __unk_vfn_102(); + /*103*/ virtual void __unk_vfn_103(); + /*104*/ virtual void __unk_vfn_104(); + /*105*/ virtual void playerDestroy(class Player &, class BlockPos const &, class Block const &) const; + /*106*/ virtual void __unk_vfn_106(); + /*107*/ virtual void __unk_vfn_107(); + /*108*/ virtual bool canBeBuiltOver(class BlockSource &, class BlockPos const &) const; + /*109*/ virtual void triggerEvent(class BlockSource &, class BlockPos const &, int, int) const; + /*110*/ virtual void __unk_vfn_110(); + /*111*/ virtual void __unk_vfn_111(); + /*112*/ virtual class MobSpawnerData const * getMobToSpawn(class SpawnConditions const &, class BlockSource &) const; + /*113*/ virtual void __unk_vfn_113(); + /*114*/ virtual void __unk_vfn_114(); + /*115*/ virtual bool shouldStopFalling(class Actor &) const; + /*116*/ virtual void __unk_vfn_116(); + /*117*/ virtual float calcGroundFriction(class Mob &, class BlockPos const &) const; + /*118*/ virtual void __unk_vfn_118(); + /*119*/ virtual void __unk_vfn_119(); + /*120*/ virtual void __unk_vfn_120(); + /*121*/ virtual bool canSlide(class BlockSource &, class BlockPos const &) const; + /*122*/ virtual void __unk_vfn_122(); + /*123*/ virtual void __unk_vfn_123(); + /*124*/ virtual void __unk_vfn_124(); + /*125*/ virtual void __unk_vfn_125(); + /*126*/ virtual void __unk_vfn_126(); + /*127*/ virtual void __unk_vfn_127(); + /*128*/ virtual void __unk_vfn_128(); + /*129*/ virtual void __unk_vfn_129(); + /*130*/ virtual void __unk_vfn_130(); + /*131*/ virtual void __unk_vfn_131(); + /*132*/ virtual int getColorForParticle(class BlockSource &, class BlockPos const &, class Block const &) const; + /*133*/ virtual void __unk_vfn_133(); + /*134*/ virtual void onGraphicsModeChanged(bool, bool, bool); + /*135*/ virtual void __unk_vfn_135(); + /*136*/ virtual float getShadeBrightness() const; + /*137*/ virtual class AABB const & getVisualShapeInWorld(class Block const &, class BlockSource &, class BlockPos const &, class AABB &, bool) const; + /*138*/ virtual class AABB const & getVisualShape(class Block const &, class AABB &, bool) const; + /*139*/ virtual class AABB const & getUIShape(class Block const &, class AABB &) const; + /*140*/ virtual int telemetryVariant(class BlockSource &, class BlockPos const &) const; + /*141*/ virtual int getVariant(class Block const &) const; + /*142*/ virtual void __unk_vfn_142(); + /*143*/ virtual class Block const & getRenderBlock() const; + /*144*/ virtual void __unk_vfn_144(); + /*145*/ virtual void __unk_vfn_145(); + /*146*/ virtual void animateTick(class BlockSource &, class BlockPos const &, class Random &) const; + /*147*/ virtual class BlockLegacy & init(); + /*148*/ virtual class BlockLegacy & setLightBlock(struct Brightness); + /*149*/ virtual class BlockLegacy & setLightEmission(float); + /*150*/ virtual class BlockLegacy & setExplodeable(float); + /*151*/ virtual class BlockLegacy & setDestroyTime(float); + /*152*/ virtual class BlockLegacy & setFriction(float); + /*153*/ virtual class BlockLegacy & addProperty(enum BlockProperty); + /*154*/ virtual class BlockLegacy & addState(class ItemState const &); + /*155*/ virtual class BlockLegacy & addState(class ItemState const &, unsigned __int64); + /*156*/ virtual class BlockLegacy & setAllowsRunes(bool); + /*157*/ virtual class BlockLegacy & setMapColor(class Color const &); + /*158*/ virtual void __unk_vfn_158(); + /*159*/ virtual void __unk_vfn_159(); + /*160*/ virtual void setVisualShape(class AABB const &); + /*161*/ virtual void setVisualShape(class Vec3 const &, class Vec3 const &); + /*162*/ virtual void __unk_vfn_162(); + /*163*/ virtual void __unk_vfn_163(); + /*164*/ virtual class ItemInstance getEntityResourceItem(class Random &, class BlockActor const &, int) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ENDGATEWAYBLOCK + MCVAPI bool canContainLiquid() const; + MCVAPI int getResourceCount(class Random &, class Block const &, int, bool) const; + MCVAPI bool isWaterBlocking() const; + MCVAPI void spawnResources(class BlockSource &, class BlockPos const &, class Block const &, std::vector *, float, int, bool) const; + MCVAPI bool waterSpreadCausesSpawn() const; +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/EndGatewayBlockActor.hpp b/LiteLoader/Header/MC/EndGatewayBlockActor.hpp new file mode 100644 index 0000000..d9fd6a5 --- /dev/null +++ b/LiteLoader/Header/MC/EndGatewayBlockActor.hpp @@ -0,0 +1,51 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "BlockActor.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class EndGatewayBlockActor : public BlockActor { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ENDGATEWAYBLOCKACTOR +public: + class EndGatewayBlockActor& operator=(class EndGatewayBlockActor const &) = delete; + EndGatewayBlockActor(class EndGatewayBlockActor const &) = delete; + EndGatewayBlockActor() = delete; +#endif + +public: + /*0*/ virtual ~EndGatewayBlockActor(); + /*1*/ virtual void load(class Level &, class CompoundTag const &, class DataLoadHelper &); + /*2*/ virtual bool save(class CompoundTag &) const; + /*7*/ virtual void tick(class BlockSource &); + /*9*/ virtual void onChanged(class BlockSource &); + /*13*/ virtual void __unk_vfn_13(); + /*15*/ virtual void triggerEvent(int, int); + /*17*/ virtual void __unk_vfn_17(); + /*19*/ virtual bool hasAlphaLayer() const; + /*29*/ virtual void __unk_vfn_29(); + /*30*/ virtual void __unk_vfn_30(); + /*32*/ virtual void __unk_vfn_32(); + /*33*/ virtual void __unk_vfn_33(); + /*34*/ virtual std::unique_ptr _getUpdatePacket(class BlockSource &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ENDGATEWAYBLOCKACTOR +#endif + MCAPI int getParticleAmount(class BlockSource &, class BlockPos const &) const; + MCAPI void teleportEntity(class Actor &); + MCAPI static class BlockPos findExitPortal(class WorldGenerator &, class BlockPos const &); + MCAPI static class BlockPos findTallestBlock(class BlockSource &, class BlockPos const &, int, bool); + MCAPI static class BlockPos findValidSpawnAround(class BlockSource &, class BlockPos const &, bool, int); + +//private: + MCAPI static bool _hasRoomForPlayer(class BlockSource &, class BlockPos const &); + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/EndGatewayFeature.hpp b/LiteLoader/Header/MC/EndGatewayFeature.hpp new file mode 100644 index 0000000..2235229 --- /dev/null +++ b/LiteLoader/Header/MC/EndGatewayFeature.hpp @@ -0,0 +1,29 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Feature.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class EndGatewayFeature : public Feature { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ENDGATEWAYFEATURE +public: + class EndGatewayFeature& operator=(class EndGatewayFeature const &) = delete; + EndGatewayFeature(class EndGatewayFeature const &) = delete; + EndGatewayFeature() = delete; +#endif + +public: + /*0*/ virtual ~EndGatewayFeature(); + /*1*/ virtual bool place(class BlockSource &, class BlockPos const &, class Random &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ENDGATEWAYFEATURE +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/EndIslandFeature.hpp b/LiteLoader/Header/MC/EndIslandFeature.hpp new file mode 100644 index 0000000..b67e8f8 --- /dev/null +++ b/LiteLoader/Header/MC/EndIslandFeature.hpp @@ -0,0 +1,29 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Feature.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class EndIslandFeature : public Feature { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ENDISLANDFEATURE +public: + class EndIslandFeature& operator=(class EndIslandFeature const &) = delete; + EndIslandFeature(class EndIslandFeature const &) = delete; + EndIslandFeature() = delete; +#endif + +public: + /*0*/ virtual ~EndIslandFeature(); + /*1*/ virtual bool place(class BlockSource &, class BlockPos const &, class Random &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ENDISLANDFEATURE +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/EndPodiumFeature.hpp b/LiteLoader/Header/MC/EndPodiumFeature.hpp new file mode 100644 index 0000000..5db0fb3 --- /dev/null +++ b/LiteLoader/Header/MC/EndPodiumFeature.hpp @@ -0,0 +1,31 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Feature.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class EndPodiumFeature : public Feature { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ENDPODIUMFEATURE +public: + class EndPodiumFeature& operator=(class EndPodiumFeature const &) = delete; + EndPodiumFeature(class EndPodiumFeature const &) = delete; + EndPodiumFeature() = delete; +#endif + +public: + /*0*/ virtual ~EndPodiumFeature(); + /*1*/ virtual bool place(class BlockSource &, class BlockPos const &, class Random &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ENDPODIUMFEATURE +#endif + MCAPI static class BlockPos const END_PODIUM_CHUNK_POSITION; + MCAPI static class BlockPos const END_PODIUM_LOCATION; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/EndPortalBlock.hpp b/LiteLoader/Header/MC/EndPortalBlock.hpp new file mode 100644 index 0000000..6fbd8e9 --- /dev/null +++ b/LiteLoader/Header/MC/EndPortalBlock.hpp @@ -0,0 +1,197 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "ActorBlock.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class EndPortalBlock : public ActorBlock { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ENDPORTALBLOCK +public: + class EndPortalBlock& operator=(class EndPortalBlock const &) = delete; + EndPortalBlock(class EndPortalBlock const &) = delete; + EndPortalBlock() = delete; +#endif + +public: + /*0*/ virtual ~EndPortalBlock(); + /*1*/ virtual void __unk_vfn_1(); + /*2*/ virtual class Block const & getStateFromLegacyData(unsigned short) const; + /*3*/ virtual class std::shared_ptr newBlockEntity(class BlockPos const &, class Block const &) const; + /*4*/ virtual class Block const * getNextBlockPermutation(class Block const &) const; + /*5*/ virtual bool getCollisionShape(class AABB &, class Block const &, class BlockSource &, class BlockPos const &, class Actor *) const; + /*6*/ virtual bool isObstructingChests(class BlockSource &, class BlockPos const &) const; + /*7*/ virtual void __unk_vfn_7(); + /*8*/ virtual class Vec3 randomlyModifyPosition(class BlockPos const &, int &) const; + /*9*/ virtual void addAABBs(class Block const &, class BlockSource &, class BlockPos const &, class AABB const *, std::vector &) const; + /*10*/ virtual class AABB const & getAABB(class BlockSource &, class BlockPos const &, class Block const &, class AABB &, bool) const; + /*11*/ virtual bool addCollisionShapes(class Block const &, class BlockSource &, class BlockPos const &, class AABB const *, std::vector &, class Actor *) const; + /*12*/ virtual class AABB const & getOutline(class BlockSource &, class BlockPos const &, class AABB &) const; + /*13*/ virtual bool getLiquidClipVolume(class BlockSource &, class BlockPos const &, class AABB &) const; + /*14*/ virtual void __unk_vfn_14(); + /*15*/ virtual void __unk_vfn_15(); + /*16*/ virtual struct Brightness getLightEmission(class Block const &) const; + /*17*/ virtual bool shouldRandomTick() const; + /*18*/ virtual void __unk_vfn_18(); + /*19*/ virtual void __unk_vfn_19(); + /*20*/ virtual void __unk_vfn_20(); + /*21*/ virtual bool canProvideSupport(class Block const &, unsigned char, enum BlockSupportType) const; + /*22*/ virtual bool canConnect(class Block const &, unsigned char, class Block const &) const; + /*23*/ virtual void getConnectedDirections(class Block const &, class BlockPos const &, class BlockSource &, bool &, bool &, bool &, bool &) const; + /*24*/ virtual void __unk_vfn_24(); + /*25*/ virtual void __unk_vfn_25(); + /*26*/ virtual void __unk_vfn_26(); + /*27*/ virtual void __unk_vfn_27(); + /*28*/ virtual void __unk_vfn_28(); + /*29*/ virtual void __unk_vfn_29(); + /*30*/ virtual void __unk_vfn_30(); + /*31*/ virtual void __unk_vfn_31(); + /*32*/ virtual void __unk_vfn_32(); + /*33*/ virtual void __unk_vfn_33(); + /*34*/ virtual void __unk_vfn_34(); + /*35*/ virtual void __unk_vfn_35(); + /*36*/ virtual void __unk_vfn_36(); + /*37*/ virtual void __unk_vfn_37(); + /*38*/ virtual void __unk_vfn_38(); + /*39*/ virtual void __unk_vfn_39(); + /*40*/ virtual void __unk_vfn_40(); + /*41*/ virtual bool canHurtAndBreakItem() const; + /*42*/ virtual void __unk_vfn_42(); + /*43*/ virtual void __unk_vfn_43(); + /*44*/ virtual void __unk_vfn_44(); + /*45*/ virtual void __unk_vfn_45(); + /*46*/ virtual class Block const & sanitizeFillBlock(class BlockSource &, class BlockPos const &, class Block const &) const; + /*47*/ virtual void __unk_vfn_47(); + /*48*/ virtual void __unk_vfn_48(); + /*49*/ virtual void __unk_vfn_49(); + /*50*/ virtual void __unk_vfn_50(); + /*51*/ virtual void __unk_vfn_51(); + /*52*/ virtual void __unk_vfn_52(); + /*53*/ virtual bool canBeUsedInCommands(bool, class BaseGameVersion const &) const; + /*54*/ virtual float getThickness() const; + /*55*/ virtual void __unk_vfn_55(); + /*56*/ virtual bool checkIsPathable(class Actor &, class BlockPos const &, class BlockPos const &) const; + /*57*/ virtual void __unk_vfn_57(); + /*58*/ virtual void __unk_vfn_58(); + /*59*/ virtual void __unk_vfn_59(); + /*60*/ virtual void __unk_vfn_60(); + /*61*/ virtual void __unk_vfn_61(); + /*62*/ virtual void __unk_vfn_62(); + /*63*/ virtual void onFallOn(class BlockSource &, class BlockPos const &, class Actor &, float) const; + /*64*/ virtual void __unk_vfn_64(); + /*65*/ virtual void __unk_vfn_65(); + /*66*/ virtual void __unk_vfn_66(); + /*67*/ virtual void __unk_vfn_67(); + /*68*/ virtual void __unk_vfn_68(); + /*69*/ virtual void __unk_vfn_69(); + /*70*/ virtual void __unk_vfn_70(); + /*71*/ virtual enum BlockProperty getRedstoneProperty(class BlockSource &, class BlockPos const &) const; + /*72*/ virtual void updateEntityAfterFallOn(class BlockSource &, class BlockPos const &, class Actor &) const; + /*73*/ virtual void __unk_vfn_73(); + /*74*/ virtual void __unk_vfn_74(); + /*75*/ virtual void __unk_vfn_75(); + /*76*/ virtual void __unk_vfn_76(); + /*77*/ virtual void __unk_vfn_77(); + /*78*/ virtual bool mayPick(class BlockSource &, class Block const &, bool) const; + /*79*/ virtual void __unk_vfn_79(); + /*80*/ virtual bool mayPlace(class BlockSource &, class BlockPos const &) const; + /*81*/ virtual void __unk_vfn_81(); + /*82*/ virtual void __unk_vfn_82(); + /*83*/ virtual bool tryToPlace(class BlockSource &, class BlockPos const &, class Block const &, struct ActorBlockSyncMessage const *) const; + /*84*/ virtual bool breaksFallingBlocks(class Block const &) const; + /*85*/ virtual void __unk_vfn_85(); + /*86*/ virtual bool playerWillDestroy(class Player &, class BlockPos const &, class Block const &) const; + /*87*/ virtual void __unk_vfn_87(); + /*88*/ virtual void neighborChanged(class BlockSource &, class BlockPos const &, class BlockPos const &) const; + /*89*/ virtual void __unk_vfn_89(); + /*90*/ virtual void __unk_vfn_90(); + /*91*/ virtual void __unk_vfn_91(); + /*92*/ virtual class ItemInstance asItemInstance(class BlockSource &, class BlockPos const &, class Block const &) const; + /*93*/ virtual void __unk_vfn_93(); + /*94*/ virtual void trySpawnResourcesOnExplosion(class BlockSource &, class BlockPos const &, class Block const &, std::vector *, float, int, bool) const; + /*95*/ virtual void __unk_vfn_95(); + /*96*/ virtual void __unk_vfn_96(); + /*97*/ virtual class HitResult clip(class BlockSource &, class BlockPos const &, class Vec3 const &, class Vec3 const &, bool) const; + /*98*/ virtual void __unk_vfn_98(); + /*99*/ virtual class Block const & getPlacementBlock(class Actor &, class BlockPos const &, unsigned char, class Vec3 const &, int) const; + /*100*/ virtual int calcVariant(class BlockSource &, class BlockPos const &) const; + /*101*/ virtual void __unk_vfn_101(); + /*102*/ virtual void __unk_vfn_102(); + /*103*/ virtual void __unk_vfn_103(); + /*104*/ virtual void entityInside(class BlockSource &, class BlockPos const &, class Actor &) const; + /*105*/ virtual void playerDestroy(class Player &, class BlockPos const &, class Block const &) const; + /*106*/ virtual void __unk_vfn_106(); + /*107*/ virtual void __unk_vfn_107(); + /*108*/ virtual bool canBeBuiltOver(class BlockSource &, class BlockPos const &) const; + /*109*/ virtual void triggerEvent(class BlockSource &, class BlockPos const &, int, int) const; + /*110*/ virtual void __unk_vfn_110(); + /*111*/ virtual void __unk_vfn_111(); + /*112*/ virtual class MobSpawnerData const * getMobToSpawn(class SpawnConditions const &, class BlockSource &) const; + /*113*/ virtual void __unk_vfn_113(); + /*114*/ virtual void __unk_vfn_114(); + /*115*/ virtual bool shouldStopFalling(class Actor &) const; + /*116*/ virtual void __unk_vfn_116(); + /*117*/ virtual float calcGroundFriction(class Mob &, class BlockPos const &) const; + /*118*/ virtual void __unk_vfn_118(); + /*119*/ virtual void __unk_vfn_119(); + /*120*/ virtual void __unk_vfn_120(); + /*121*/ virtual bool canSlide(class BlockSource &, class BlockPos const &) const; + /*122*/ virtual void __unk_vfn_122(); + /*123*/ virtual void __unk_vfn_123(); + /*124*/ virtual void __unk_vfn_124(); + /*125*/ virtual void __unk_vfn_125(); + /*126*/ virtual void __unk_vfn_126(); + /*127*/ virtual void __unk_vfn_127(); + /*128*/ virtual void __unk_vfn_128(); + /*129*/ virtual void __unk_vfn_129(); + /*130*/ virtual void __unk_vfn_130(); + /*131*/ virtual void __unk_vfn_131(); + /*132*/ virtual int getColorForParticle(class BlockSource &, class BlockPos const &, class Block const &) const; + /*133*/ virtual void __unk_vfn_133(); + /*134*/ virtual void onGraphicsModeChanged(bool, bool, bool); + /*135*/ virtual void __unk_vfn_135(); + /*136*/ virtual float getShadeBrightness() const; + /*137*/ virtual class AABB const & getVisualShapeInWorld(class Block const &, class BlockSource &, class BlockPos const &, class AABB &, bool) const; + /*138*/ virtual class AABB const & getVisualShape(class Block const &, class AABB &, bool) const; + /*139*/ virtual class AABB const & getUIShape(class Block const &, class AABB &) const; + /*140*/ virtual int telemetryVariant(class BlockSource &, class BlockPos const &) const; + /*141*/ virtual int getVariant(class Block const &) const; + /*142*/ virtual void __unk_vfn_142(); + /*143*/ virtual class Block const & getRenderBlock() const; + /*144*/ virtual void __unk_vfn_144(); + /*145*/ virtual void __unk_vfn_145(); + /*146*/ virtual void animateTick(class BlockSource &, class BlockPos const &, class Random &) const; + /*147*/ virtual class BlockLegacy & init(); + /*148*/ virtual class BlockLegacy & setLightBlock(struct Brightness); + /*149*/ virtual class BlockLegacy & setLightEmission(float); + /*150*/ virtual class BlockLegacy & setExplodeable(float); + /*151*/ virtual class BlockLegacy & setDestroyTime(float); + /*152*/ virtual class BlockLegacy & setFriction(float); + /*153*/ virtual class BlockLegacy & addProperty(enum BlockProperty); + /*154*/ virtual class BlockLegacy & addState(class ItemState const &); + /*155*/ virtual class BlockLegacy & addState(class ItemState const &, unsigned __int64); + /*156*/ virtual class BlockLegacy & setAllowsRunes(bool); + /*157*/ virtual class BlockLegacy & setMapColor(class Color const &); + /*158*/ virtual void __unk_vfn_158(); + /*159*/ virtual void __unk_vfn_159(); + /*160*/ virtual void setVisualShape(class AABB const &); + /*161*/ virtual void setVisualShape(class Vec3 const &, class Vec3 const &); + /*162*/ virtual void __unk_vfn_162(); + /*163*/ virtual void __unk_vfn_163(); + /*164*/ virtual class ItemInstance getEntityResourceItem(class Random &, class BlockActor const &, int) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ENDPORTALBLOCK + MCVAPI bool canContainLiquid() const; + MCVAPI int getResourceCount(class Random &, class Block const &, int, bool) const; + MCVAPI bool isWaterBlocking() const; + MCVAPI void spawnResources(class BlockSource &, class BlockPos const &, class Block const &, std::vector *, float, int, bool) const; + MCVAPI bool waterSpreadCausesSpawn() const; +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/EndPortalBlockActor.hpp b/LiteLoader/Header/MC/EndPortalBlockActor.hpp new file mode 100644 index 0000000..fae32d2 --- /dev/null +++ b/LiteLoader/Header/MC/EndPortalBlockActor.hpp @@ -0,0 +1,34 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "BlockActor.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class EndPortalBlockActor : public BlockActor { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ENDPORTALBLOCKACTOR +public: + class EndPortalBlockActor& operator=(class EndPortalBlockActor const &) = delete; + EndPortalBlockActor(class EndPortalBlockActor const &) = delete; + EndPortalBlockActor() = delete; +#endif + +public: + /*0*/ virtual ~EndPortalBlockActor(); + /*13*/ virtual void __unk_vfn_13(); + /*17*/ virtual void __unk_vfn_17(); + /*29*/ virtual void __unk_vfn_29(); + /*30*/ virtual void __unk_vfn_30(); + /*32*/ virtual void __unk_vfn_32(); + /*33*/ virtual void __unk_vfn_33(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ENDPORTALBLOCKACTOR +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/EndPortalFrameBlock.hpp b/LiteLoader/Header/MC/EndPortalFrameBlock.hpp new file mode 100644 index 0000000..d37acbe --- /dev/null +++ b/LiteLoader/Header/MC/EndPortalFrameBlock.hpp @@ -0,0 +1,73 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "BlockLegacy.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class EndPortalFrameBlock : public BlockLegacy { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ENDPORTALFRAMEBLOCK +public: + class EndPortalFrameBlock& operator=(class EndPortalFrameBlock const &) = delete; + EndPortalFrameBlock(class EndPortalFrameBlock const &) = delete; + EndPortalFrameBlock() = delete; +#endif + +public: + /*0*/ virtual ~EndPortalFrameBlock(); + /*9*/ virtual void addAABBs(class Block const &, class BlockSource &, class BlockPos const &, class AABB const *, std::vector &) const; + /*11*/ virtual bool addCollisionShapes(class Block const &, class BlockSource &, class BlockPos const &, class AABB const *, std::vector &, class Actor *) const; + /*18*/ virtual void __unk_vfn_18(); + /*24*/ virtual void __unk_vfn_24(); + /*25*/ virtual void __unk_vfn_25(); + /*26*/ virtual void __unk_vfn_26(); + /*27*/ virtual void __unk_vfn_27(); + /*28*/ virtual void __unk_vfn_28(); + /*30*/ virtual void __unk_vfn_30(); + /*31*/ virtual void __unk_vfn_31(); + /*32*/ virtual void __unk_vfn_32(); + /*33*/ virtual void __unk_vfn_33(); + /*34*/ virtual void __unk_vfn_34(); + /*35*/ virtual void __unk_vfn_35(); + /*36*/ virtual void __unk_vfn_36(); + /*38*/ virtual void __unk_vfn_38(); + /*39*/ virtual void __unk_vfn_39(); + /*40*/ virtual void __unk_vfn_40(); + /*42*/ virtual void __unk_vfn_42(); + /*43*/ virtual void __unk_vfn_43(); + /*49*/ virtual void __unk_vfn_49(); + /*52*/ virtual void __unk_vfn_52(); + /*67*/ virtual void __unk_vfn_67(); + /*73*/ virtual void __unk_vfn_73(); + /*87*/ virtual void __unk_vfn_87(); + /*90*/ virtual int getResourceCount(class Random &, class Block const &, int, bool) const; + /*92*/ virtual class ItemInstance asItemInstance(class BlockSource &, class BlockPos const &, class Block const &) const; + /*95*/ virtual void __unk_vfn_95(); + /*98*/ virtual bool use(class Player &, class BlockPos const &) const; + /*99*/ virtual class Block const & getPlacementBlock(class Actor &, class BlockPos const &, unsigned char, class Vec3 const &, int) const; + /*109*/ virtual void __unk_vfn_109(); + /*116*/ virtual void __unk_vfn_116(); + /*118*/ virtual void __unk_vfn_118(); + /*119*/ virtual void __unk_vfn_119(); + /*120*/ virtual int getComparatorSignal(class BlockSource &, class BlockPos const &, class Block const &, unsigned char) const; + /*142*/ virtual void __unk_vfn_142(); + /*158*/ virtual void __unk_vfn_158(); + /*159*/ virtual class ItemInstance getSilkTouchItemInstance(class Block const &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ENDPORTALFRAMEBLOCK + MCVAPI bool hasComparatorSignal() const; + MCVAPI bool isInteractiveBlock() const; +#endif + +//private: + MCAPI static void createPortal(class BlockSource &, class BlockPos const &); + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/EndPortalShape.hpp b/LiteLoader/Header/MC/EndPortalShape.hpp new file mode 100644 index 0000000..034d774 --- /dev/null +++ b/LiteLoader/Header/MC/EndPortalShape.hpp @@ -0,0 +1,30 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class EndPortalShape { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ENDPORTALSHAPE +public: + class EndPortalShape& operator=(class EndPortalShape const &) = delete; + EndPortalShape(class EndPortalShape const &) = delete; + EndPortalShape() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ENDPORTALSHAPE +#endif + MCAPI EndPortalShape(class BlockSource &, class BlockPos); + MCAPI int getDistanceUntilEdge(class BlockPos const &, int, int); + MCAPI bool isValid(class BlockSource &); + MCAPI ~EndPortalShape(); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/EndRodBlock.hpp b/LiteLoader/Header/MC/EndRodBlock.hpp new file mode 100644 index 0000000..8cd9831 --- /dev/null +++ b/LiteLoader/Header/MC/EndRodBlock.hpp @@ -0,0 +1,67 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "BlockLegacy.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class EndRodBlock : public BlockLegacy { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ENDRODBLOCK +public: + class EndRodBlock& operator=(class EndRodBlock const &) = delete; + EndRodBlock(class EndRodBlock const &) = delete; + EndRodBlock() = delete; +#endif + +public: + /*0*/ virtual ~EndRodBlock(); + /*9*/ virtual void addAABBs(class Block const &, class BlockSource &, class BlockPos const &, class AABB const *, std::vector &) const; + /*18*/ virtual void __unk_vfn_18(); + /*24*/ virtual void __unk_vfn_24(); + /*25*/ virtual void __unk_vfn_25(); + /*26*/ virtual void __unk_vfn_26(); + /*27*/ virtual void __unk_vfn_27(); + /*28*/ virtual void __unk_vfn_28(); + /*30*/ virtual void __unk_vfn_30(); + /*31*/ virtual void __unk_vfn_31(); + /*32*/ virtual void __unk_vfn_32(); + /*33*/ virtual void __unk_vfn_33(); + /*34*/ virtual void __unk_vfn_34(); + /*35*/ virtual void __unk_vfn_35(); + /*36*/ virtual void __unk_vfn_36(); + /*38*/ virtual void __unk_vfn_38(); + /*39*/ virtual void __unk_vfn_39(); + /*40*/ virtual void __unk_vfn_40(); + /*42*/ virtual void __unk_vfn_42(); + /*43*/ virtual void __unk_vfn_43(); + /*49*/ virtual void __unk_vfn_49(); + /*52*/ virtual void __unk_vfn_52(); + /*67*/ virtual void __unk_vfn_67(); + /*73*/ virtual void __unk_vfn_73(); + /*80*/ virtual bool mayPlace(class BlockSource &, class BlockPos const &, unsigned char) const; + /*81*/ virtual bool mayPlace(class BlockSource &, class BlockPos const &) const; + /*84*/ virtual bool breaksFallingBlocks(class Block const &) const; + /*87*/ virtual void __unk_vfn_87(); + /*88*/ virtual void neighborChanged(class BlockSource &, class BlockPos const &, class BlockPos const &) const; + /*95*/ virtual void __unk_vfn_95(); + /*99*/ virtual class Block const & getPlacementBlock(class Actor &, class BlockPos const &, unsigned char, class Vec3 const &, int) const; + /*106*/ virtual bool canSurvive(class BlockSource &, class BlockPos const &) const; + /*109*/ virtual void __unk_vfn_109(); + /*116*/ virtual void __unk_vfn_116(); + /*118*/ virtual void __unk_vfn_118(); + /*119*/ virtual void __unk_vfn_119(); + /*138*/ virtual class AABB const & getVisualShape(class Block const &, class AABB &, bool) const; + /*142*/ virtual void __unk_vfn_142(); + /*146*/ virtual void animateTick(class BlockSource &, class BlockPos const &, class Random &) const; + /*158*/ virtual void __unk_vfn_158(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ENDRODBLOCK +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/EndTag.hpp b/LiteLoader/Header/MC/EndTag.hpp new file mode 100644 index 0000000..abe0708 --- /dev/null +++ b/LiteLoader/Header/MC/EndTag.hpp @@ -0,0 +1,35 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Tag.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class EndTag : public Tag { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ENDTAG +public: + class EndTag& operator=(class EndTag const &) = delete; + EndTag(class EndTag const &) = delete; + EndTag() = delete; +#endif + +public: + /*0*/ virtual ~EndTag(); + /*2*/ virtual void write(class IDataOutput &) const; + /*3*/ virtual void load(class IDataInput &); + /*4*/ virtual std::string toString() const; + /*5*/ virtual enum Tag::Type getId() const; + /*6*/ virtual bool equals(class Tag const &) const; + /*9*/ virtual std::unique_ptr copy() const; + /*10*/ virtual unsigned __int64 hash() const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ENDTAG +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/EnderChestBlock.hpp b/LiteLoader/Header/MC/EnderChestBlock.hpp new file mode 100644 index 0000000..ef0e03b --- /dev/null +++ b/LiteLoader/Header/MC/EnderChestBlock.hpp @@ -0,0 +1,114 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "ChestBlock.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class EnderChestBlock : public ChestBlock { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ENDERCHESTBLOCK +public: + class EnderChestBlock& operator=(class EnderChestBlock const &) = delete; + EnderChestBlock(class EnderChestBlock const &) = delete; + EnderChestBlock() = delete; +#endif + +public: + /*0*/ virtual ~EnderChestBlock(); + /*7*/ virtual void __unk_vfn_7(); + /*14*/ virtual void __unk_vfn_14(); + /*15*/ virtual void __unk_vfn_15(); + /*18*/ virtual void __unk_vfn_18(); + /*19*/ virtual void __unk_vfn_19(); + /*20*/ virtual void __unk_vfn_20(); + /*24*/ virtual void __unk_vfn_24(); + /*25*/ virtual void __unk_vfn_25(); + /*26*/ virtual void __unk_vfn_26(); + /*27*/ virtual void __unk_vfn_27(); + /*28*/ virtual void __unk_vfn_28(); + /*30*/ virtual void __unk_vfn_30(); + /*31*/ virtual void __unk_vfn_31(); + /*32*/ virtual void __unk_vfn_32(); + /*33*/ virtual void __unk_vfn_33(); + /*34*/ virtual void __unk_vfn_34(); + /*35*/ virtual void __unk_vfn_35(); + /*36*/ virtual void __unk_vfn_36(); + /*37*/ virtual void __unk_vfn_37(); + /*38*/ virtual void __unk_vfn_38(); + /*39*/ virtual void __unk_vfn_39(); + /*40*/ virtual void __unk_vfn_40(); + /*42*/ virtual void __unk_vfn_42(); + /*43*/ virtual void __unk_vfn_43(); + /*44*/ virtual void __unk_vfn_44(); + /*45*/ virtual void __unk_vfn_45(); + /*47*/ virtual void __unk_vfn_47(); + /*48*/ virtual void __unk_vfn_48(); + /*49*/ virtual void __unk_vfn_49(); + /*51*/ virtual void __unk_vfn_51(); + /*52*/ virtual void __unk_vfn_52(); + /*55*/ virtual void __unk_vfn_55(); + /*57*/ virtual void __unk_vfn_57(); + /*61*/ virtual void __unk_vfn_61(); + /*62*/ virtual void __unk_vfn_62(); + /*64*/ virtual void __unk_vfn_64(); + /*65*/ virtual void __unk_vfn_65(); + /*67*/ virtual void __unk_vfn_67(); + /*68*/ virtual void __unk_vfn_68(); + /*69*/ virtual void __unk_vfn_69(); + /*73*/ virtual void __unk_vfn_73(); + /*74*/ virtual void __unk_vfn_74(); + /*75*/ virtual void __unk_vfn_75(); + /*76*/ virtual void __unk_vfn_76(); + /*77*/ virtual void __unk_vfn_77(); + /*79*/ virtual void __unk_vfn_79(); + /*81*/ virtual void __unk_vfn_81(); + /*82*/ virtual void __unk_vfn_82(); + /*85*/ virtual void __unk_vfn_85(); + /*87*/ virtual void __unk_vfn_87(); + /*90*/ virtual int getResourceCount(class Random &, class Block const &, int, bool) const; + /*91*/ virtual class ItemInstance getResourceItem(class Random &, class Block const &, int) const; + /*95*/ virtual void __unk_vfn_95(); + /*96*/ virtual void __unk_vfn_96(); + /*101*/ virtual void __unk_vfn_101(); + /*102*/ virtual void __unk_vfn_102(); + /*103*/ virtual void __unk_vfn_103(); + /*104*/ virtual void __unk_vfn_104(); + /*106*/ virtual void __unk_vfn_106(); + /*107*/ virtual void __unk_vfn_107(); + /*110*/ virtual void __unk_vfn_110(); + /*111*/ virtual void __unk_vfn_111(); + /*113*/ virtual void __unk_vfn_113(); + /*114*/ virtual void __unk_vfn_114(); + /*116*/ virtual void __unk_vfn_116(); + /*118*/ virtual void __unk_vfn_118(); + /*119*/ virtual void __unk_vfn_119(); + /*122*/ virtual void __unk_vfn_122(); + /*123*/ virtual void __unk_vfn_123(); + /*124*/ virtual void __unk_vfn_124(); + /*125*/ virtual void __unk_vfn_125(); + /*126*/ virtual void __unk_vfn_126(); + /*127*/ virtual void __unk_vfn_127(); + /*128*/ virtual void __unk_vfn_128(); + /*129*/ virtual void __unk_vfn_129(); + /*131*/ virtual void __unk_vfn_131(); + /*133*/ virtual void __unk_vfn_133(); + /*135*/ virtual void __unk_vfn_135(); + /*142*/ virtual void __unk_vfn_142(); + /*145*/ virtual void __unk_vfn_145(); + /*146*/ virtual void animateTick(class BlockSource &, class BlockPos const &, class Random &) const; + /*158*/ virtual void __unk_vfn_158(); + /*159*/ virtual void __unk_vfn_159(); + /*162*/ virtual void __unk_vfn_162(); + /*163*/ virtual void __unk_vfn_163(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ENDERCHESTBLOCK + MCVAPI bool canBeSilkTouched() const; +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/EnderChestBlockActor.hpp b/LiteLoader/Header/MC/EnderChestBlockActor.hpp new file mode 100644 index 0000000..1beb05b --- /dev/null +++ b/LiteLoader/Header/MC/EnderChestBlockActor.hpp @@ -0,0 +1,31 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class EnderChestBlockActor { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ENDERCHESTBLOCKACTOR +public: + class EnderChestBlockActor& operator=(class EnderChestBlockActor const &) = delete; + EnderChestBlockActor(class EnderChestBlockActor const &) = delete; + EnderChestBlockActor() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ENDERCHESTBLOCKACTOR + MCVAPI bool canPullOutItem(class BlockSource &, int, int, class ItemInstance const &) const; + MCVAPI bool canPushInItem(class BlockSource &, int, int, class ItemInstance const &) const; + MCVAPI std::string getName() const; + MCVAPI void playCloseSound(class BlockSource &); + MCVAPI void playOpenSound(class BlockSource &); +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/EnderChestContainer.hpp b/LiteLoader/Header/MC/EnderChestContainer.hpp new file mode 100644 index 0000000..ea8ee16 --- /dev/null +++ b/LiteLoader/Header/MC/EnderChestContainer.hpp @@ -0,0 +1,32 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "FillingContainer.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class EnderChestContainer : public FillingContainer { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ENDERCHESTCONTAINER +public: + class EnderChestContainer& operator=(class EnderChestContainer const &) = delete; + EnderChestContainer(class EnderChestContainer const &) = delete; + EnderChestContainer() = delete; +#endif + +public: + /*0*/ virtual ~EnderChestContainer(); + /*16*/ virtual void startOpen(class Player &); + /*17*/ virtual void stopOpen(class Player &); + /*22*/ virtual void __unk_vfn_22(); + /*23*/ virtual void __unk_vfn_23(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ENDERCHESTCONTAINER +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/EnderCrystal.hpp b/LiteLoader/Header/MC/EnderCrystal.hpp new file mode 100644 index 0000000..4004712 --- /dev/null +++ b/LiteLoader/Header/MC/EnderCrystal.hpp @@ -0,0 +1,57 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Actor.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class EnderCrystal : public Actor { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ENDERCRYSTAL +public: + class EnderCrystal& operator=(class EnderCrystal const &) = delete; + EnderCrystal(class EnderCrystal const &) = delete; + EnderCrystal() = delete; +#endif + +public: + /*1*/ virtual void reloadHardcoded(enum Actor::InitializationMethod, class VariantParameterList const &); + /*2*/ virtual void reloadHardcodedClient(enum Actor::InitializationMethod, class VariantParameterList const &); + /*7*/ virtual ~EnderCrystal(); + /*30*/ virtual void __unk_vfn_30(); + /*39*/ virtual void normalTick(); + /*54*/ virtual void __unk_vfn_54(); + /*61*/ virtual void __unk_vfn_61(); + /*74*/ virtual float getShadowRadius() const; + /*76*/ virtual void __unk_vfn_76(); + /*81*/ virtual void __unk_vfn_81(); + /*87*/ virtual bool isPickable(); + /*88*/ virtual void __unk_vfn_88(); + /*90*/ virtual void __unk_vfn_90(); + /*98*/ virtual void __unk_vfn_98(); + /*100*/ virtual void __unk_vfn_100(); + /*121*/ virtual void __unk_vfn_121(); + /*124*/ virtual bool isInvulnerableTo(class ActorDamageSource const &) const; + /*169*/ virtual void __unk_vfn_169(); + /*177*/ virtual void onSynchedDataUpdate(int); + /*182*/ virtual void __unk_vfn_182(); + /*206*/ virtual void __unk_vfn_206(); + /*207*/ virtual void __unk_vfn_207(); + /*228*/ virtual void __unk_vfn_228(); + /*231*/ virtual void __unk_vfn_231(); + /*238*/ virtual void __unk_vfn_238(); + /*240*/ virtual bool _hurt(class ActorDamageSource const &, int, bool, bool); + /*242*/ virtual void readAdditionalSaveData(class CompoundTag const &, class DataLoadHelper &); + /*243*/ virtual void addAdditionalSaveData(class CompoundTag &); + /*246*/ virtual void __unk_vfn_246(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ENDERCRYSTAL +#endif + MCAPI static float const HEAL_DISTANCE; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/EnderDragon.hpp b/LiteLoader/Header/MC/EnderDragon.hpp new file mode 100644 index 0000000..71db315 --- /dev/null +++ b/LiteLoader/Header/MC/EnderDragon.hpp @@ -0,0 +1,96 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Actor.hpp" +#include "Monster.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class EnderDragon : public Monster { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ENDERDRAGON +public: + class EnderDragon& operator=(class EnderDragon const &) = delete; + EnderDragon(class EnderDragon const &) = delete; + EnderDragon() = delete; +#endif + +public: + /*1*/ virtual void reloadHardcoded(enum Actor::InitializationMethod, class VariantParameterList const &); + /*7*/ virtual ~EnderDragon(); + /*11*/ virtual void remove(); + /*30*/ virtual void __unk_vfn_30(); + /*54*/ virtual void __unk_vfn_54(); + /*61*/ virtual void __unk_vfn_61(); + /*74*/ virtual float getShadowRadius() const; + /*75*/ virtual class Vec3 getHeadLookVector(float); + /*76*/ virtual void __unk_vfn_76(); + /*81*/ virtual void __unk_vfn_81(); + /*85*/ virtual bool isImmobile() const; + /*88*/ virtual void __unk_vfn_88(); + /*90*/ virtual void __unk_vfn_90(); + /*98*/ virtual void __unk_vfn_98(); + /*100*/ virtual void __unk_vfn_100(); + /*110*/ virtual void setSitting(bool); + /*121*/ virtual void __unk_vfn_121(); + /*124*/ virtual bool isInvulnerableTo(class ActorDamageSource const &) const; + /*132*/ virtual void handleEntityEvent(enum ActorEvent, int); + /*168*/ virtual bool canChangeDimensions() const; + /*169*/ virtual void __unk_vfn_169(); + /*180*/ virtual bool canBePulledIntoVehicle() const; + /*182*/ virtual void __unk_vfn_182(); + /*197*/ virtual bool canBeAffected(class MobEffectInstance const &) const; + /*206*/ virtual void __unk_vfn_206(); + /*207*/ virtual void __unk_vfn_207(); + /*228*/ virtual void __unk_vfn_228(); + /*231*/ virtual void __unk_vfn_231(); + /*238*/ virtual void __unk_vfn_238(); + /*240*/ virtual bool _hurt(class ActorDamageSource const &, int, bool, bool); + /*246*/ virtual void __unk_vfn_246(); + /*256*/ virtual void _onSizeUpdated(); + /*257*/ virtual void __unk_vfn_257(); + /*278*/ virtual void aiStep(); + /*290*/ virtual void __unk_vfn_290(); + /*300*/ virtual void __unk_vfn_300(); + /*332*/ virtual void __unk_vfn_332(); + /*345*/ virtual void tickDeath(); + /*348*/ virtual void __unk_vfn_348(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ENDERDRAGON + MCVAPI bool canExistInPeaceful() const; + MCVAPI bool isFishable() const; +#endif + MCAPI EnderDragon(class ActorDefinitionGroup *, struct ActorDefinitionIdentifier const &); + MCAPI void dieNaturally(); + MCAPI int findClosestNode(); + MCAPI int findClosestNode(class Vec3 const &); + MCAPI std::unique_ptr findPath(int, int, class PathfinderNode *); + MCAPI class BlockPos getHeadPos() const; + MCAPI std::vector const getLatencyPos(int, float) const; + MCAPI void onCrystalDestroyed(class EnderCrystal const &, class BlockPos, class ActorDamageSource const &); + +//protected: + MCAPI bool _hurt(class AABB *, class ActorDamageSource const &, float); + +//private: + MCAPI void checkCrystals(); + MCAPI bool checkWalls(class AABB); + MCAPI float getHeadYOffset(float) const; + MCAPI void hurtEntities(class gsl::span, -1>) const; + MCAPI void knockBack(class gsl::span, -1>) const; + MCAPI std::unique_ptr reconstructPath(class PathfinderNode &, class PathfinderNode &, enum PathCompletionType); + +protected: + +private: + MCAPI static int GROWL_INTERVAL_MAX; + MCAPI static int GROWL_INTERVAL_MIN; + MCAPI static int MAX_PATH_RADIUS; + MCAPI static float SITTING_ALLOWED_DAMAGE_PERCENTAGE; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/EnderEyeItem.hpp b/LiteLoader/Header/MC/EnderEyeItem.hpp new file mode 100644 index 0000000..a43b656 --- /dev/null +++ b/LiteLoader/Header/MC/EnderEyeItem.hpp @@ -0,0 +1,46 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Item.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class EnderEyeItem : public Item { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ENDEREYEITEM +public: + class EnderEyeItem& operator=(class EnderEyeItem const &) = delete; + EnderEyeItem(class EnderEyeItem const &) = delete; + EnderEyeItem() = delete; +#endif + +public: + /*0*/ virtual ~EnderEyeItem(); + /*5*/ virtual void __unk_vfn_5(); + /*26*/ virtual void __unk_vfn_26(); + /*27*/ virtual void __unk_vfn_27(); + /*30*/ virtual bool isThrowable() const; + /*31*/ virtual void __unk_vfn_31(); + /*32*/ virtual void __unk_vfn_32(); + /*34*/ virtual void __unk_vfn_34(); + /*37*/ virtual void __unk_vfn_37(); + /*43*/ virtual void __unk_vfn_43(); + /*46*/ virtual void __unk_vfn_46(); + /*47*/ virtual void __unk_vfn_47(); + /*49*/ virtual void __unk_vfn_49(); + /*50*/ virtual void __unk_vfn_50(); + /*56*/ virtual class ItemStack & use(class ItemStack &, class Player &) const; + /*79*/ virtual void __unk_vfn_79(); + /*80*/ virtual void __unk_vfn_80(); + /*90*/ virtual void __unk_vfn_90(); + /*97*/ virtual void __unk_vfn_97(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ENDEREYEITEM +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/EnderMan.hpp b/LiteLoader/Header/MC/EnderMan.hpp new file mode 100644 index 0000000..31a77e3 --- /dev/null +++ b/LiteLoader/Header/MC/EnderMan.hpp @@ -0,0 +1,74 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Actor.hpp" +#include "Monster.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class EnderMan : public Monster { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ENDERMAN +public: + class EnderMan& operator=(class EnderMan const &) = delete; + EnderMan(class EnderMan const &) = delete; + EnderMan() = delete; +#endif + +public: + /*7*/ virtual ~EnderMan(); + /*30*/ virtual void __unk_vfn_30(); + /*39*/ virtual void normalTick(); + /*54*/ virtual void __unk_vfn_54(); + /*61*/ virtual void __unk_vfn_61(); + /*76*/ virtual void __unk_vfn_76(); + /*81*/ virtual void __unk_vfn_81(); + /*88*/ virtual void __unk_vfn_88(); + /*90*/ virtual void __unk_vfn_90(); + /*98*/ virtual void __unk_vfn_98(); + /*100*/ virtual void __unk_vfn_100(); + /*121*/ virtual void __unk_vfn_121(); + /*123*/ virtual bool shouldRender() const; + /*169*/ virtual void __unk_vfn_169(); + /*182*/ virtual void __unk_vfn_182(); + /*198*/ virtual bool canBeAffectedByArrow(class MobEffectInstance const &) const; + /*206*/ virtual void __unk_vfn_206(); + /*207*/ virtual void __unk_vfn_207(); + /*228*/ virtual void __unk_vfn_228(); + /*231*/ virtual void __unk_vfn_231(); + /*238*/ virtual void __unk_vfn_238(); + /*240*/ virtual bool _hurt(class ActorDamageSource const &, int, bool, bool); + /*242*/ virtual void readAdditionalSaveData(class CompoundTag const &, class DataLoadHelper &); + /*243*/ virtual void addAdditionalSaveData(class CompoundTag &); + /*246*/ virtual void __unk_vfn_246(); + /*257*/ virtual void __unk_vfn_257(); + /*259*/ virtual void resolveDeathLoot(int, class ActorDamageSource const &); + /*265*/ virtual enum LevelSoundEvent getAmbientSound(); + /*272*/ virtual bool hurtEffects(class ActorDamageSource const &, int, bool, bool); + /*278*/ virtual void aiStep(); + /*290*/ virtual void __unk_vfn_290(); + /*300*/ virtual void __unk_vfn_300(); + /*332*/ virtual void __unk_vfn_332(); + /*339*/ virtual void newServerAiStep(); + /*348*/ virtual void __unk_vfn_348(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ENDERMAN +#endif + MCAPI EnderMan(class ActorDefinitionGroup *, struct ActorDefinitionIdentifier const &); + MCAPI class Block const & getCarryingBlock(); + MCAPI void setCarryingBlock(class Block const &); + MCAPI static class std::shared_ptr SPEED_MODIFIER_ATTACKING; + MCAPI static class mce::UUID const SPEED_MODIFIER_ATTACKING_UUID; + MCAPI static class std::set, class std::allocator> mMayTake; + +//private: + +private: + MCAPI static bool mMayTakeIsSetup; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/EndermanLeaveBlockGoal.hpp b/LiteLoader/Header/MC/EndermanLeaveBlockGoal.hpp new file mode 100644 index 0000000..f2d849e --- /dev/null +++ b/LiteLoader/Header/MC/EndermanLeaveBlockGoal.hpp @@ -0,0 +1,34 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class EndermanLeaveBlockGoal { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ENDERMANLEAVEBLOCKGOAL +public: + class EndermanLeaveBlockGoal& operator=(class EndermanLeaveBlockGoal const &) = delete; + EndermanLeaveBlockGoal(class EndermanLeaveBlockGoal const &) = delete; + EndermanLeaveBlockGoal() = delete; +#endif + +public: + /*0*/ virtual ~EndermanLeaveBlockGoal(); + /*1*/ virtual bool canUse(); + /*2*/ virtual void __unk_vfn_2(); + /*3*/ virtual void __unk_vfn_3(); + /*4*/ virtual void __unk_vfn_4(); + /*5*/ virtual void __unk_vfn_5(); + /*6*/ virtual void tick(); + /*7*/ virtual void appendDebugInfo(std::string &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ENDERMANLEAVEBLOCKGOAL +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/EndermanTakeBlockGoal.hpp b/LiteLoader/Header/MC/EndermanTakeBlockGoal.hpp new file mode 100644 index 0000000..8839f67 --- /dev/null +++ b/LiteLoader/Header/MC/EndermanTakeBlockGoal.hpp @@ -0,0 +1,34 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class EndermanTakeBlockGoal { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ENDERMANTAKEBLOCKGOAL +public: + class EndermanTakeBlockGoal& operator=(class EndermanTakeBlockGoal const &) = delete; + EndermanTakeBlockGoal(class EndermanTakeBlockGoal const &) = delete; + EndermanTakeBlockGoal() = delete; +#endif + +public: + /*0*/ virtual ~EndermanTakeBlockGoal(); + /*1*/ virtual bool canUse(); + /*2*/ virtual void __unk_vfn_2(); + /*3*/ virtual void __unk_vfn_3(); + /*4*/ virtual void __unk_vfn_4(); + /*5*/ virtual void __unk_vfn_5(); + /*6*/ virtual void tick(); + /*7*/ virtual void appendDebugInfo(std::string &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ENDERMANTAKEBLOCKGOAL +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/Endermite.hpp b/LiteLoader/Header/MC/Endermite.hpp new file mode 100644 index 0000000..5e71e68 --- /dev/null +++ b/LiteLoader/Header/MC/Endermite.hpp @@ -0,0 +1,59 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Actor.hpp" +#include "Monster.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class Endermite : public Monster { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ENDERMITE +public: + class Endermite& operator=(class Endermite const &) = delete; + Endermite(class Endermite const &) = delete; + Endermite() = delete; +#endif + +public: + /*7*/ virtual ~Endermite(); + /*30*/ virtual void __unk_vfn_30(); + /*39*/ virtual void normalTick(); + /*43*/ virtual float getRidingHeight(); + /*54*/ virtual void __unk_vfn_54(); + /*61*/ virtual void __unk_vfn_61(); + /*76*/ virtual void __unk_vfn_76(); + /*81*/ virtual void __unk_vfn_81(); + /*88*/ virtual void __unk_vfn_88(); + /*90*/ virtual void __unk_vfn_90(); + /*98*/ virtual void __unk_vfn_98(); + /*100*/ virtual void __unk_vfn_100(); + /*121*/ virtual void __unk_vfn_121(); + /*169*/ virtual void __unk_vfn_169(); + /*182*/ virtual void __unk_vfn_182(); + /*206*/ virtual void __unk_vfn_206(); + /*207*/ virtual void __unk_vfn_207(); + /*228*/ virtual void __unk_vfn_228(); + /*231*/ virtual void __unk_vfn_231(); + /*238*/ virtual void __unk_vfn_238(); + /*242*/ virtual void readAdditionalSaveData(class CompoundTag const &, class DataLoadHelper &); + /*243*/ virtual void addAdditionalSaveData(class CompoundTag &); + /*246*/ virtual void __unk_vfn_246(); + /*256*/ virtual void _onSizeUpdated(); + /*257*/ virtual void __unk_vfn_257(); + /*278*/ virtual void aiStep(); + /*282*/ virtual bool checkSpawnRules(bool); + /*290*/ virtual void __unk_vfn_290(); + /*300*/ virtual void __unk_vfn_300(); + /*332*/ virtual void __unk_vfn_332(); + /*348*/ virtual void __unk_vfn_348(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ENDERMITE +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/EnderpearlItem.hpp b/LiteLoader/Header/MC/EnderpearlItem.hpp new file mode 100644 index 0000000..2c2e81a --- /dev/null +++ b/LiteLoader/Header/MC/EnderpearlItem.hpp @@ -0,0 +1,48 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Item.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class EnderpearlItem : public Item { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ENDERPEARLITEM +public: + class EnderpearlItem& operator=(class EnderpearlItem const &) = delete; + EnderpearlItem(class EnderpearlItem const &) = delete; + EnderpearlItem() = delete; +#endif + +public: + /*0*/ virtual ~EnderpearlItem(); + /*5*/ virtual void __unk_vfn_5(); + /*26*/ virtual void __unk_vfn_26(); + /*27*/ virtual void __unk_vfn_27(); + /*30*/ virtual bool isThrowable() const; + /*31*/ virtual void __unk_vfn_31(); + /*32*/ virtual void __unk_vfn_32(); + /*34*/ virtual void __unk_vfn_34(); + /*37*/ virtual void __unk_vfn_37(); + /*43*/ virtual void __unk_vfn_43(); + /*46*/ virtual void __unk_vfn_46(); + /*47*/ virtual void __unk_vfn_47(); + /*49*/ virtual void __unk_vfn_49(); + /*50*/ virtual void __unk_vfn_50(); + /*56*/ virtual class ItemStack & use(class ItemStack &, class Player &) const; + /*73*/ virtual enum CooldownType getCooldownType() const; + /*74*/ virtual int getCooldownTime() const; + /*79*/ virtual void __unk_vfn_79(); + /*80*/ virtual void __unk_vfn_80(); + /*90*/ virtual void __unk_vfn_90(); + /*97*/ virtual void __unk_vfn_97(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ENDERPEARLITEM +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/EntityComponentFactory.hpp b/LiteLoader/Header/MC/EntityComponentFactory.hpp new file mode 100644 index 0000000..ac67259 --- /dev/null +++ b/LiteLoader/Header/MC/EntityComponentFactory.hpp @@ -0,0 +1,28 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class EntityComponentFactory { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ENTITYCOMPONENTFACTORY +public: + class EntityComponentFactory& operator=(class EntityComponentFactory const &) = delete; + EntityComponentFactory(class EntityComponentFactory const &) = delete; + EntityComponentFactory() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ENTITYCOMPONENTFACTORY +#endif + MCAPI class IDefinitionSerializer * tryGetDefinitionSerializer(std::string const &); + MCAPI ~EntityComponentFactory(); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/EntityGoalFactory.hpp b/LiteLoader/Header/MC/EntityGoalFactory.hpp new file mode 100644 index 0000000..e064404 --- /dev/null +++ b/LiteLoader/Header/MC/EntityGoalFactory.hpp @@ -0,0 +1,29 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class EntityGoalFactory { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ENTITYGOALFACTORY +public: + class EntityGoalFactory& operator=(class EntityGoalFactory const &) = delete; + EntityGoalFactory(class EntityGoalFactory const &) = delete; + EntityGoalFactory() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ENTITYGOALFACTORY +#endif + MCAPI class IDefinitionSerializer * tryGetDefinitionSerializer(std::string const &); + MCAPI ~EntityGoalFactory(); + MCAPI static void addGoals(class EntityContext &, class DefinitionInstanceGroup const &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/EntityGoalUtility.hpp b/LiteLoader/Header/MC/EntityGoalUtility.hpp new file mode 100644 index 0000000..6adfe27 --- /dev/null +++ b/LiteLoader/Header/MC/EntityGoalUtility.hpp @@ -0,0 +1,17 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +namespace EntityGoalUtility { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA + MCAPI std::string getNumericNodeSpecifier(unsigned short); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/EntitySensorComponent.hpp b/LiteLoader/Header/MC/EntitySensorComponent.hpp new file mode 100644 index 0000000..744ba6a --- /dev/null +++ b/LiteLoader/Header/MC/EntitySensorComponent.hpp @@ -0,0 +1,33 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class EntitySensorComponent { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ENTITYSENSORCOMPONENT +public: + class EntitySensorComponent& operator=(class EntitySensorComponent const &) = delete; + EntitySensorComponent(class EntitySensorComponent const &) = delete; + EntitySensorComponent() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ENTITYSENSORCOMPONENT +#endif + MCAPI EntitySensorComponent(class EntitySensorComponent &&); + MCAPI ~EntitySensorComponent(); + +//private: + +private: + MCAPI static int const NO_MAX_COUNT; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/EntitySensorDefinition.hpp b/LiteLoader/Header/MC/EntitySensorDefinition.hpp new file mode 100644 index 0000000..7c77562 --- /dev/null +++ b/LiteLoader/Header/MC/EntitySensorDefinition.hpp @@ -0,0 +1,28 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "JsonUtil.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class EntitySensorDefinition { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ENTITYSENSORDEFINITION +public: + class EntitySensorDefinition& operator=(class EntitySensorDefinition const &) = delete; + EntitySensorDefinition(class EntitySensorDefinition const &) = delete; + EntitySensorDefinition() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ENTITYSENSORDEFINITION +#endif + MCAPI static void buildSchema(class std::shared_ptr> &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/EntitySensorSystem.hpp b/LiteLoader/Header/MC/EntitySensorSystem.hpp new file mode 100644 index 0000000..8bd64f4 --- /dev/null +++ b/LiteLoader/Header/MC/EntitySensorSystem.hpp @@ -0,0 +1,33 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class EntitySensorSystem { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ENTITYSENSORSYSTEM +public: + class EntitySensorSystem& operator=(class EntitySensorSystem const &) = delete; + EntitySensorSystem(class EntitySensorSystem const &) = delete; + EntitySensorSystem() = delete; +#endif + +public: + /*0*/ virtual ~EntitySensorSystem(); + /*1*/ virtual void tick(class EntityRegistry &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ENTITYSENSORSYSTEM +#endif + +//private: + MCAPI void _tickComponent(class EntityContext &, class FlagComponent &, class ActorComponent &, class EntitySensorComponent &); + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/EntityServerPacket.hpp b/LiteLoader/Header/MC/EntityServerPacket.hpp new file mode 100644 index 0000000..a86aed9 --- /dev/null +++ b/LiteLoader/Header/MC/EntityServerPacket.hpp @@ -0,0 +1,28 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class EntityServerPacket { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ENTITYSERVERPACKET +public: + class EntityServerPacket& operator=(class EntityServerPacket const &) = delete; + EntityServerPacket(class EntityServerPacket const &) = delete; + EntityServerPacket() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ENTITYSERVERPACKET + MCVAPI enum StreamReadResult read(class ReadOnlyBinaryStream &); + MCVAPI void write(class BinaryStream &) const; +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/EntitySystems.hpp b/LiteLoader/Header/MC/EntitySystems.hpp new file mode 100644 index 0000000..7bb0b77 --- /dev/null +++ b/LiteLoader/Header/MC/EntitySystems.hpp @@ -0,0 +1,29 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class EntitySystems { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ENTITYSYSTEMS +public: + class EntitySystems& operator=(class EntitySystems const &) = delete; + EntitySystems(class EntitySystems const &) = delete; + EntitySystems() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ENTITYSYSTEMS +#endif + MCAPI void registerTickingSystem(std::unique_ptr); + MCAPI void tick(class EntityRegistry &); + MCAPI ~EntitySystems(); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/EntityTypes.hpp b/LiteLoader/Header/MC/EntityTypes.hpp new file mode 100644 index 0000000..228f64e --- /dev/null +++ b/LiteLoader/Header/MC/EntityTypes.hpp @@ -0,0 +1,29 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Json.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class EntityTypes { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ENTITYTYPES +public: + class EntityTypes& operator=(class EntityTypes const &) = delete; + EntityTypes(class EntityTypes const &) = delete; + EntityTypes() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ENTITYTYPES +#endif + MCAPI bool parseJson(class Json::Value const &); + MCAPI ~EntityTypes(); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/EnvironmentRequirement.hpp b/LiteLoader/Header/MC/EnvironmentRequirement.hpp new file mode 100644 index 0000000..07d915a --- /dev/null +++ b/LiteLoader/Header/MC/EnvironmentRequirement.hpp @@ -0,0 +1,26 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +struct EnvironmentRequirement { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ENVIRONMENTREQUIREMENT +public: + struct EnvironmentRequirement& operator=(struct EnvironmentRequirement const &) = delete; + EnvironmentRequirement(struct EnvironmentRequirement const &) = delete; + EnvironmentRequirement() = delete; +#endif +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ENVIRONMENTREQUIREMENT +#endif + MCAPI ~EnvironmentRequirement(); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/EnvironmentSensorDefinition.hpp b/LiteLoader/Header/MC/EnvironmentSensorDefinition.hpp new file mode 100644 index 0000000..49031d2 --- /dev/null +++ b/LiteLoader/Header/MC/EnvironmentSensorDefinition.hpp @@ -0,0 +1,29 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "JsonUtil.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class EnvironmentSensorDefinition { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ENVIRONMENTSENSORDEFINITION +public: + class EnvironmentSensorDefinition& operator=(class EnvironmentSensorDefinition const &) = delete; + EnvironmentSensorDefinition(class EnvironmentSensorDefinition const &) = delete; + EnvironmentSensorDefinition() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ENVIRONMENTSENSORDEFINITION +#endif + MCAPI void addEnvironmentTrigger(class DefinitionTrigger const &); + MCAPI static void buildSchema(class std::shared_ptr> &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/EnvironmentSensorSystem.hpp b/LiteLoader/Header/MC/EnvironmentSensorSystem.hpp new file mode 100644 index 0000000..994d848 --- /dev/null +++ b/LiteLoader/Header/MC/EnvironmentSensorSystem.hpp @@ -0,0 +1,28 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class EnvironmentSensorSystem { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ENVIRONMENTSENSORSYSTEM +public: + class EnvironmentSensorSystem& operator=(class EnvironmentSensorSystem const &) = delete; + EnvironmentSensorSystem(class EnvironmentSensorSystem const &) = delete; + EnvironmentSensorSystem() = delete; +#endif + +public: + /*0*/ virtual ~EnvironmentSensorSystem(); + /*1*/ virtual void tick(class EntityRegistry &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ENVIRONMENTSENSORSYSTEM +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/EquipItemComponent.hpp b/LiteLoader/Header/MC/EquipItemComponent.hpp new file mode 100644 index 0000000..493e1f3 --- /dev/null +++ b/LiteLoader/Header/MC/EquipItemComponent.hpp @@ -0,0 +1,28 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class EquipItemComponent { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_EQUIPITEMCOMPONENT +public: + class EquipItemComponent& operator=(class EquipItemComponent const &) = delete; + EquipItemComponent(class EquipItemComponent const &) = delete; + EquipItemComponent() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_EQUIPITEMCOMPONENT +#endif + MCAPI EquipItemComponent(class EquipItemComponent &&); + MCAPI ~EquipItemComponent(); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/EquipItemGoal.hpp b/LiteLoader/Header/MC/EquipItemGoal.hpp new file mode 100644 index 0000000..758220d --- /dev/null +++ b/LiteLoader/Header/MC/EquipItemGoal.hpp @@ -0,0 +1,39 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class EquipItemGoal { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_EQUIPITEMGOAL +public: + class EquipItemGoal& operator=(class EquipItemGoal const &) = delete; + EquipItemGoal(class EquipItemGoal const &) = delete; + EquipItemGoal() = delete; +#endif + +public: + /*0*/ virtual ~EquipItemGoal(); + /*1*/ virtual bool canUse(); + /*2*/ virtual bool canContinueToUse(); + /*3*/ virtual void __unk_vfn_3(); + /*4*/ virtual void __unk_vfn_4(); + /*5*/ virtual void __unk_vfn_5(); + /*6*/ virtual void tick(); + /*7*/ virtual void appendDebugInfo(std::string &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_EQUIPITEMGOAL +#endif + +//private: + MCAPI void _dropItem(class ItemStack const &) const; + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/EquipmentTableDescription.hpp b/LiteLoader/Header/MC/EquipmentTableDescription.hpp new file mode 100644 index 0000000..94900a7 --- /dev/null +++ b/LiteLoader/Header/MC/EquipmentTableDescription.hpp @@ -0,0 +1,30 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Json.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +struct EquipmentTableDescription { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_EQUIPMENTTABLEDESCRIPTION +public: + struct EquipmentTableDescription& operator=(struct EquipmentTableDescription const &) = delete; + EquipmentTableDescription(struct EquipmentTableDescription const &) = delete; + EquipmentTableDescription() = delete; +#endif +public: + /*0*/ virtual char const * getJsonName() const; + /*1*/ virtual ~EquipmentTableDescription(); + /*2*/ virtual void deserializeData(class Json::Value &); + /*3*/ virtual void serializeData(class Json::Value &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_EQUIPMENTTABLEDESCRIPTION +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/EquippableComponent.hpp b/LiteLoader/Header/MC/EquippableComponent.hpp new file mode 100644 index 0000000..f1441a6 --- /dev/null +++ b/LiteLoader/Header/MC/EquippableComponent.hpp @@ -0,0 +1,27 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class EquippableComponent { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_EQUIPPABLECOMPONENT +public: + class EquippableComponent& operator=(class EquippableComponent const &) = delete; + EquippableComponent(class EquippableComponent const &) = delete; + EquippableComponent() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_EQUIPPABLECOMPONENT +#endif + MCAPI std::unique_ptr createTag(class Actor &) const; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/EquippableDefinition.hpp b/LiteLoader/Header/MC/EquippableDefinition.hpp new file mode 100644 index 0000000..8a3c414 --- /dev/null +++ b/LiteLoader/Header/MC/EquippableDefinition.hpp @@ -0,0 +1,32 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Json.hpp" +#include "JsonUtil.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class EquippableDefinition { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_EQUIPPABLEDEFINITION +public: + class EquippableDefinition& operator=(class EquippableDefinition const &) = delete; + EquippableDefinition(class EquippableDefinition const &) = delete; + EquippableDefinition() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_EQUIPPABLEDEFINITION +#endif + MCAPI void deserializeData(class Json::Value &); + MCAPI void serializeData(class Json::Value &) const; + MCAPI ~EquippableDefinition(); + MCAPI static void buildSchema(class std::shared_ptr> &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ErrorPathStack.hpp b/LiteLoader/Header/MC/ErrorPathStack.hpp new file mode 100644 index 0000000..e3c5dab --- /dev/null +++ b/LiteLoader/Header/MC/ErrorPathStack.hpp @@ -0,0 +1,27 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ErrorPathStack { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ERRORPATHSTACK +public: + class ErrorPathStack& operator=(class ErrorPathStack const &) = delete; + ErrorPathStack(class ErrorPathStack const &) = delete; + ErrorPathStack() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ERRORPATHSTACK +#endif + MCAPI ~ErrorPathStack(); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/EventInfo.hpp b/LiteLoader/Header/MC/EventInfo.hpp new file mode 100644 index 0000000..6f3af0a --- /dev/null +++ b/LiteLoader/Header/MC/EventInfo.hpp @@ -0,0 +1,27 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class EventInfo { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_EVENTINFO +public: + class EventInfo& operator=(class EventInfo const &) = delete; + EventInfo(class EventInfo const &) = delete; + EventInfo() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_EVENTINFO +#endif + MCAPI ~EventInfo(); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/EventPacket.hpp b/LiteLoader/Header/MC/EventPacket.hpp new file mode 100644 index 0000000..efcb760 --- /dev/null +++ b/LiteLoader/Header/MC/EventPacket.hpp @@ -0,0 +1,45 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "MinecraftEventing.hpp" +#include "Packet.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class EventPacket : public Packet { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_EVENTPACKET +public: + class EventPacket& operator=(class EventPacket const &) = delete; + EventPacket(class EventPacket const &) = delete; +#endif + +public: + /*0*/ virtual ~EventPacket(); + /*1*/ virtual enum MinecraftPacketIds getId() const; + /*2*/ virtual std::string getName() const; + /*3*/ virtual void write(class BinaryStream &) const; + /*4*/ virtual enum StreamReadResult read(class ReadOnlyBinaryStream &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_EVENTPACKET +#endif + MCAPI EventPacket(class Player const *, struct EventPacket::Data const &); + MCAPI EventPacket(); + MCAPI EventPacket(class Player const *, enum MinecraftEventing::AchievementIds, bool); + MCAPI EventPacket(class Player const *, class AutomaticID); + MCAPI EventPacket(class Player const *, class gsl::not_null, enum MinecraftEventing::InteractionType); + MCAPI EventPacket(class Player const *, class Actor const *, class gsl::not_null, enum ActorDamageCause, enum ActorType); + MCAPI EventPacket(class Player const *, class Actor const *, class gsl::not_null, enum ActorDamageCause, std::string, int, enum ActorType); + MCAPI EventPacket(class Player const *, bool, class Actor const *, class gsl::not_null, enum ActorDamageCause); + MCAPI EventPacket(class Player const *, enum EventPacket::AgentResult, std::string const &, std::string const &, std::string const &); + MCAPI EventPacket(class Player const *, enum EventPacket::AgentResult, std::string const &, std::string const &, int); + MCAPI EventPacket(class Player const *, class std::tuple, bool); + MCAPI EventPacket(class Player const *, class gsl::not_null); + MCAPI class EventPacket & operator=(class EventPacket &&); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/EvocationFang.hpp b/LiteLoader/Header/MC/EvocationFang.hpp new file mode 100644 index 0000000..92b5bb8 --- /dev/null +++ b/LiteLoader/Header/MC/EvocationFang.hpp @@ -0,0 +1,51 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Actor.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class EvocationFang : public Actor { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_EVOCATIONFANG +public: + class EvocationFang& operator=(class EvocationFang const &) = delete; + EvocationFang(class EvocationFang const &) = delete; + EvocationFang() = delete; +#endif + +public: + /*7*/ virtual ~EvocationFang(); + /*30*/ virtual void __unk_vfn_30(); + /*39*/ virtual void normalTick(); + /*54*/ virtual void __unk_vfn_54(); + /*61*/ virtual void __unk_vfn_61(); + /*74*/ virtual float getShadowRadius() const; + /*76*/ virtual void __unk_vfn_76(); + /*81*/ virtual void __unk_vfn_81(); + /*88*/ virtual void __unk_vfn_88(); + /*90*/ virtual void __unk_vfn_90(); + /*98*/ virtual void __unk_vfn_98(); + /*100*/ virtual void __unk_vfn_100(); + /*121*/ virtual void __unk_vfn_121(); + /*132*/ virtual void handleEntityEvent(enum ActorEvent, int); + /*161*/ virtual struct ActorUniqueID getSourceUniqueID() const; + /*169*/ virtual void __unk_vfn_169(); + /*182*/ virtual void __unk_vfn_182(); + /*206*/ virtual void __unk_vfn_206(); + /*207*/ virtual void __unk_vfn_207(); + /*221*/ virtual int getLifeSpan() const; + /*228*/ virtual void __unk_vfn_228(); + /*231*/ virtual void __unk_vfn_231(); + /*238*/ virtual void __unk_vfn_238(); + /*246*/ virtual void __unk_vfn_246(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_EVOCATIONFANG +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/EvocationIllager.hpp b/LiteLoader/Header/MC/EvocationIllager.hpp new file mode 100644 index 0000000..7354ebb --- /dev/null +++ b/LiteLoader/Header/MC/EvocationIllager.hpp @@ -0,0 +1,60 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Actor.hpp" +#include "HumanoidMonster.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class EvocationIllager : public HumanoidMonster { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_EVOCATIONILLAGER +public: + class EvocationIllager& operator=(class EvocationIllager const &) = delete; + EvocationIllager(class EvocationIllager const &) = delete; + EvocationIllager() = delete; +#endif + +public: + /*1*/ virtual void reloadHardcoded(enum Actor::InitializationMethod, class VariantParameterList const &); + /*7*/ virtual ~EvocationIllager(); + /*30*/ virtual void __unk_vfn_30(); + /*43*/ virtual float getRidingHeight(); + /*54*/ virtual void __unk_vfn_54(); + /*61*/ virtual void __unk_vfn_61(); + /*76*/ virtual void __unk_vfn_76(); + /*81*/ virtual void __unk_vfn_81(); + /*88*/ virtual void __unk_vfn_88(); + /*90*/ virtual void __unk_vfn_90(); + /*98*/ virtual void __unk_vfn_98(); + /*100*/ virtual void __unk_vfn_100(); + /*121*/ virtual void __unk_vfn_121(); + /*169*/ virtual void __unk_vfn_169(); + /*182*/ virtual void __unk_vfn_182(); + /*206*/ virtual void __unk_vfn_206(); + /*207*/ virtual void __unk_vfn_207(); + /*228*/ virtual void __unk_vfn_228(); + /*231*/ virtual void __unk_vfn_231(); + /*233*/ virtual void die(class ActorDamageSource const &); + /*238*/ virtual void __unk_vfn_238(); + /*246*/ virtual void __unk_vfn_246(); + /*257*/ virtual void __unk_vfn_257(); + /*278*/ virtual void aiStep(); + /*290*/ virtual void __unk_vfn_290(); + /*298*/ virtual bool isAlliedTo(class Mob *); + /*300*/ virtual void __unk_vfn_300(); + /*305*/ virtual int getArmorValue(); + /*332*/ virtual void __unk_vfn_332(); + /*348*/ virtual void __unk_vfn_348(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_EVOCATIONILLAGER + MCVAPI bool canExistInPeaceful() const; + MCVAPI bool useNewAi() const; +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ExecuteCommand.hpp b/LiteLoader/Header/MC/ExecuteCommand.hpp new file mode 100644 index 0000000..802fb4e --- /dev/null +++ b/LiteLoader/Header/MC/ExecuteCommand.hpp @@ -0,0 +1,30 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Command.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ExecuteCommand : public Command { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_EXECUTECOMMAND +public: + class ExecuteCommand& operator=(class ExecuteCommand const &) = delete; + ExecuteCommand(class ExecuteCommand const &) = delete; + ExecuteCommand() = delete; +#endif + +public: + /*0*/ virtual ~ExecuteCommand(); + /*1*/ virtual void execute(class CommandOrigin const &, class CommandOutput &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_EXECUTECOMMAND +#endif + MCAPI static void setup(class CommandRegistry &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ExhaustionAttributeDelegate.hpp b/LiteLoader/Header/MC/ExhaustionAttributeDelegate.hpp new file mode 100644 index 0000000..0a6023b --- /dev/null +++ b/LiteLoader/Header/MC/ExhaustionAttributeDelegate.hpp @@ -0,0 +1,29 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "AttributeInstanceDelegate.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ExhaustionAttributeDelegate : public AttributeInstanceDelegate { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_EXHAUSTIONATTRIBUTEDELEGATE +public: + class ExhaustionAttributeDelegate& operator=(class ExhaustionAttributeDelegate const &) = delete; + ExhaustionAttributeDelegate(class ExhaustionAttributeDelegate const &) = delete; + ExhaustionAttributeDelegate() = delete; +#endif + +public: + /*0*/ virtual ~ExhaustionAttributeDelegate(); + /*1*/ virtual void tick(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_EXHAUSTIONATTRIBUTEDELEGATE +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ExperienceOrb.hpp b/LiteLoader/Header/MC/ExperienceOrb.hpp new file mode 100644 index 0000000..b7bf30d --- /dev/null +++ b/LiteLoader/Header/MC/ExperienceOrb.hpp @@ -0,0 +1,64 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Actor.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ExperienceOrb : public Actor { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_EXPERIENCEORB +public: + class ExperienceOrb& operator=(class ExperienceOrb const &) = delete; + ExperienceOrb(class ExperienceOrb const &) = delete; + ExperienceOrb() = delete; +#endif + +public: + /*1*/ virtual void reloadHardcoded(enum Actor::InitializationMethod, class VariantParameterList const &); + /*7*/ virtual ~ExperienceOrb(); + /*30*/ virtual void __unk_vfn_30(); + /*39*/ virtual void normalTick(); + /*54*/ virtual void __unk_vfn_54(); + /*61*/ virtual void __unk_vfn_61(); + /*74*/ virtual float getShadowRadius() const; + /*76*/ virtual void __unk_vfn_76(); + /*81*/ virtual void __unk_vfn_81(); + /*82*/ virtual void playerTouch(class Player &); + /*88*/ virtual void __unk_vfn_88(); + /*90*/ virtual void __unk_vfn_90(); + /*98*/ virtual void __unk_vfn_98(); + /*100*/ virtual void __unk_vfn_100(); + /*121*/ virtual void __unk_vfn_121(); + /*124*/ virtual bool isInvulnerableTo(class ActorDamageSource const &) const; + /*169*/ virtual void __unk_vfn_169(); + /*182*/ virtual void __unk_vfn_182(); + /*206*/ virtual void __unk_vfn_206(); + /*207*/ virtual void __unk_vfn_207(); + /*228*/ virtual void __unk_vfn_228(); + /*231*/ virtual void __unk_vfn_231(); + /*238*/ virtual void __unk_vfn_238(); + /*240*/ virtual bool _hurt(class ActorDamageSource const &, int, bool, bool); + /*242*/ virtual void readAdditionalSaveData(class CompoundTag const &, class DataLoadHelper &); + /*243*/ virtual void addAdditionalSaveData(class CompoundTag &); + /*244*/ virtual void _playStepSound(class BlockPos const &, class Block const &); + /*246*/ virtual void __unk_vfn_246(); + /*250*/ virtual void doWaterSplashEffect(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_EXPERIENCEORB +#endif + MCAPI int getValue() const; + MCAPI void setValue(int); + MCAPI static void spawnOrbs(class BlockSource &, class Vec3 const &, int, enum ExperienceOrb::DropType, class Player *); + +//private: + MCAPI void handleMending(class Player &); + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ExperiencePotion.hpp b/LiteLoader/Header/MC/ExperiencePotion.hpp new file mode 100644 index 0000000..be09a1b --- /dev/null +++ b/LiteLoader/Header/MC/ExperiencePotion.hpp @@ -0,0 +1,52 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Actor.hpp" +#include "Throwable.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ExperiencePotion : public Throwable { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_EXPERIENCEPOTION +public: + class ExperiencePotion& operator=(class ExperiencePotion const &) = delete; + ExperiencePotion(class ExperiencePotion const &) = delete; + ExperiencePotion() = delete; +#endif + +public: + /*7*/ virtual ~ExperiencePotion(); + /*30*/ virtual void __unk_vfn_30(); + /*54*/ virtual void __unk_vfn_54(); + /*61*/ virtual void __unk_vfn_61(); + /*76*/ virtual void __unk_vfn_76(); + /*81*/ virtual void __unk_vfn_81(); + /*88*/ virtual void __unk_vfn_88(); + /*90*/ virtual void __unk_vfn_90(); + /*98*/ virtual void __unk_vfn_98(); + /*100*/ virtual void __unk_vfn_100(); + /*121*/ virtual void __unk_vfn_121(); + /*169*/ virtual void __unk_vfn_169(); + /*182*/ virtual void __unk_vfn_182(); + /*206*/ virtual void __unk_vfn_206(); + /*207*/ virtual void __unk_vfn_207(); + /*228*/ virtual void __unk_vfn_228(); + /*231*/ virtual void __unk_vfn_231(); + /*238*/ virtual void __unk_vfn_238(); + /*246*/ virtual void __unk_vfn_246(); + /*257*/ virtual void __unk_vfn_257(); + /*258*/ virtual float getThrowPower(); + /*259*/ virtual void __unk_vfn_259(); + /*260*/ virtual float getThrowUpAngleOffset(); + /*261*/ virtual float getGravity(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_EXPERIENCEPOTION +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ExperiencePotionItem.hpp b/LiteLoader/Header/MC/ExperiencePotionItem.hpp new file mode 100644 index 0000000..09b9569 --- /dev/null +++ b/LiteLoader/Header/MC/ExperiencePotionItem.hpp @@ -0,0 +1,48 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Item.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ExperiencePotionItem : public Item { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_EXPERIENCEPOTIONITEM +public: + class ExperiencePotionItem& operator=(class ExperiencePotionItem const &) = delete; + ExperiencePotionItem(class ExperiencePotionItem const &) = delete; + ExperiencePotionItem() = delete; +#endif + +public: + /*0*/ virtual ~ExperiencePotionItem(); + /*5*/ virtual void __unk_vfn_5(); + /*26*/ virtual void __unk_vfn_26(); + /*27*/ virtual void __unk_vfn_27(); + /*29*/ virtual bool isGlint(class ItemStackBase const &) const; + /*30*/ virtual bool isThrowable() const; + /*31*/ virtual void __unk_vfn_31(); + /*32*/ virtual void __unk_vfn_32(); + /*34*/ virtual void __unk_vfn_34(); + /*37*/ virtual void __unk_vfn_37(); + /*43*/ virtual void __unk_vfn_43(); + /*46*/ virtual void __unk_vfn_46(); + /*47*/ virtual void __unk_vfn_47(); + /*49*/ virtual void __unk_vfn_49(); + /*50*/ virtual void __unk_vfn_50(); + /*56*/ virtual class ItemStack & use(class ItemStack &, class Player &) const; + /*57*/ virtual bool dispense(class BlockSource &, class Container &, int, class Vec3 const &, unsigned char) const; + /*79*/ virtual void __unk_vfn_79(); + /*80*/ virtual void __unk_vfn_80(); + /*90*/ virtual void __unk_vfn_90(); + /*97*/ virtual void __unk_vfn_97(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_EXPERIENCEPOTIONITEM +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ExperienceRewardComponent.hpp b/LiteLoader/Header/MC/ExperienceRewardComponent.hpp new file mode 100644 index 0000000..9a74f19 --- /dev/null +++ b/LiteLoader/Header/MC/ExperienceRewardComponent.hpp @@ -0,0 +1,28 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ExperienceRewardComponent { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_EXPERIENCEREWARDCOMPONENT +public: + class ExperienceRewardComponent& operator=(class ExperienceRewardComponent const &) = delete; + ExperienceRewardComponent(class ExperienceRewardComponent const &) = delete; + ExperienceRewardComponent() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_EXPERIENCEREWARDCOMPONENT +#endif + MCAPI int getOnBredExperience(class Actor &) const; + MCAPI int getOnDeathExperience(class Actor &) const; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ExperienceRewardDefinition.hpp b/LiteLoader/Header/MC/ExperienceRewardDefinition.hpp new file mode 100644 index 0000000..481f90a --- /dev/null +++ b/LiteLoader/Header/MC/ExperienceRewardDefinition.hpp @@ -0,0 +1,30 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "JsonUtil.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ExperienceRewardDefinition { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_EXPERIENCEREWARDDEFINITION +public: + class ExperienceRewardDefinition& operator=(class ExperienceRewardDefinition const &) = delete; + ExperienceRewardDefinition(class ExperienceRewardDefinition const &) = delete; + ExperienceRewardDefinition() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_EXPERIENCEREWARDDEFINITION +#endif + MCAPI void addBredExpressionNode(class ExpressionNode const &); + MCAPI void addDeathExpressionNode(class ExpressionNode const &); + MCAPI static void buildSchema(class std::shared_ptr> &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ExplodeComponent.hpp b/LiteLoader/Header/MC/ExplodeComponent.hpp new file mode 100644 index 0000000..22cfdc3 --- /dev/null +++ b/LiteLoader/Header/MC/ExplodeComponent.hpp @@ -0,0 +1,27 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ExplodeComponent { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_EXPLODECOMPONENT +public: + class ExplodeComponent& operator=(class ExplodeComponent const &) = delete; + ExplodeComponent(class ExplodeComponent const &) = delete; + ExplodeComponent() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_EXPLODECOMPONENT +#endif + MCAPI void readAdditionalSaveData(class Actor &, class CompoundTag const &, class DataLoadHelper &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ExplodeDefinition.hpp b/LiteLoader/Header/MC/ExplodeDefinition.hpp new file mode 100644 index 0000000..9bee0c5 --- /dev/null +++ b/LiteLoader/Header/MC/ExplodeDefinition.hpp @@ -0,0 +1,31 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Json.hpp" +#include "JsonUtil.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ExplodeDefinition { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_EXPLODEDEFINITION +public: + class ExplodeDefinition& operator=(class ExplodeDefinition const &) = delete; + ExplodeDefinition(class ExplodeDefinition const &) = delete; + ExplodeDefinition() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_EXPLODEDEFINITION +#endif + MCAPI void deserializeData(class Json::Value &); + MCAPI void initialize(class EntityContext &, class ExplodeComponent &) const; + MCAPI static void buildSchema(class std::shared_ptr> &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ExplodeSystem.hpp b/LiteLoader/Header/MC/ExplodeSystem.hpp new file mode 100644 index 0000000..61412e7 --- /dev/null +++ b/LiteLoader/Header/MC/ExplodeSystem.hpp @@ -0,0 +1,28 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ExplodeSystem { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_EXPLODESYSTEM +public: + class ExplodeSystem& operator=(class ExplodeSystem const &) = delete; + ExplodeSystem(class ExplodeSystem const &) = delete; + ExplodeSystem() = delete; +#endif + +public: + /*0*/ virtual ~ExplodeSystem(); + /*1*/ virtual void tick(class EntityRegistry &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_EXPLODESYSTEM +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ExplorationMapFunction.hpp b/LiteLoader/Header/MC/ExplorationMapFunction.hpp new file mode 100644 index 0000000..62b5668 --- /dev/null +++ b/LiteLoader/Header/MC/ExplorationMapFunction.hpp @@ -0,0 +1,32 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Json.hpp" +#include "LootItemFunction.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ExplorationMapFunction : public LootItemFunction { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_EXPLORATIONMAPFUNCTION +public: + class ExplorationMapFunction& operator=(class ExplorationMapFunction const &) = delete; + ExplorationMapFunction(class ExplorationMapFunction const &) = delete; + ExplorationMapFunction() = delete; +#endif + +public: + /*0*/ virtual ~ExplorationMapFunction(); + /*1*/ virtual void apply(class ItemStack &, class Random &, class LootTableContext &); + /*3*/ virtual void apply(class ItemInstance &, class Random &, class LootTableContext &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_EXPLORATIONMAPFUNCTION +#endif + MCAPI static std::unique_ptr deserialize(class Json::Value, std::vector> &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ExploreOutskirtsGoal.hpp b/LiteLoader/Header/MC/ExploreOutskirtsGoal.hpp new file mode 100644 index 0000000..b2cf0bf --- /dev/null +++ b/LiteLoader/Header/MC/ExploreOutskirtsGoal.hpp @@ -0,0 +1,34 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ExploreOutskirtsGoal { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_EXPLOREOUTSKIRTSGOAL +public: + class ExploreOutskirtsGoal& operator=(class ExploreOutskirtsGoal const &) = delete; + ExploreOutskirtsGoal(class ExploreOutskirtsGoal const &) = delete; + ExploreOutskirtsGoal() = delete; +#endif + +public: + /*0*/ virtual ~ExploreOutskirtsGoal(); + /*1*/ virtual bool canUse(); + /*2*/ virtual bool canContinueToUse(); + /*3*/ virtual void __unk_vfn_3(); + /*4*/ virtual void start(); + /*5*/ virtual void stop(); + /*6*/ virtual void tick(); + /*7*/ virtual void appendDebugInfo(std::string &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_EXPLOREOUTSKIRTSGOAL +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/Explosion.hpp b/LiteLoader/Header/MC/Explosion.hpp new file mode 100644 index 0000000..6dba24e --- /dev/null +++ b/LiteLoader/Header/MC/Explosion.hpp @@ -0,0 +1,29 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class Explosion { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_EXPLOSION +public: + class Explosion& operator=(class Explosion const &) = delete; + Explosion(class Explosion const &) = delete; + Explosion() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_EXPLOSION +#endif + MCAPI void explode(); + MCAPI void finalizeExplosion(); + MCAPI ~Explosion(); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ExplosionDecayFunction.hpp b/LiteLoader/Header/MC/ExplosionDecayFunction.hpp new file mode 100644 index 0000000..05e7906 --- /dev/null +++ b/LiteLoader/Header/MC/ExplosionDecayFunction.hpp @@ -0,0 +1,30 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "LootItemFunction.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ExplosionDecayFunction : public LootItemFunction { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_EXPLOSIONDECAYFUNCTION +public: + class ExplosionDecayFunction& operator=(class ExplosionDecayFunction const &) = delete; + ExplosionDecayFunction(class ExplosionDecayFunction const &) = delete; + ExplosionDecayFunction() = delete; +#endif + +public: + /*0*/ virtual ~ExplosionDecayFunction(); + /*1*/ virtual void apply(class ItemStack &, class Random &, class LootTableContext &); + /*3*/ virtual void apply(class ItemInstance &, class Random &, class LootTableContext &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_EXPLOSIONDECAYFUNCTION +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ExpressionNode.hpp b/LiteLoader/Header/MC/ExpressionNode.hpp new file mode 100644 index 0000000..3715336 --- /dev/null +++ b/LiteLoader/Header/MC/ExpressionNode.hpp @@ -0,0 +1,72 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Json.hpp" +#include "Bedrock.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ExpressionNode { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_EXPRESSIONNODE +#endif + MCAPI ExpressionNode(class ExpressionNode const &); + MCAPI ExpressionNode(class ExpressionNode &&); + MCAPI ExpressionNode(); + MCAPI ExpressionNode(char const *, class std::function const &)> const * (std::string const &, bool)>, class std::function const &)> const * (std::string const &, bool)>); + MCAPI ExpressionNode(std::string const &, class std::function const &)> const * (std::string const &, bool)>, class std::function const &)> const * (std::string const &, bool)>); + MCAPI ExpressionNode(class Json::Value const &, class std::function const &)> const * (std::string const &, bool)>, class std::function const &)> const * (std::string const &, bool)>); + MCAPI void clear(); + MCAPI float evalAsFloat(class RenderParams &) const; + MCAPI struct MolangScriptArg evalGeneric(class RenderParams &) const; + MCAPI class ExpressionNode & operator=(class ExpressionNode const &); + MCAPI class ExpressionNode & operator=(float); + MCAPI class ExpressionNode & operator=(class ExpressionNode &&); + MCAPI bool optimize(); + MCAPI bool parse(std::string const &, class std::function const &)> const * (std::string const &, bool)>, class std::function const &)> const * (std::string const &, bool)>); + MCAPI ~ExpressionNode(); + MCAPI static void addErrorMessage(std::string const &); + MCAPI static void buildExpressionOpTable(); + MCAPI static float fast_atof_positiveOnly(char const *&); + MCAPI static class std::function const &)> const * genericQueryFunctionAccessorFromString(std::string const &, bool); + MCAPI static class std::recursive_mutex & getQueryFunctionMutex(); + MCAPI static bool initializeMolang(); + MCAPI static std::vector mExpressionOpTokens; + MCAPI static class std::function const &)> const * queryFunctionAccessorFromString(std::string const &, bool); + MCAPI static void registerGenericQueryFunction(std::string const &, class std::function const &)>, std::string const &, unsigned __int64, unsigned __int64); + MCAPI static void registerQueryFunction(std::string const &, class std::function const &)>, std::string const &, unsigned __int64, unsigned __int64); + +//private: + MCAPI bool _checkIsValidAndPopulateUsedTokenFlags(unsigned __int64); + MCAPI float _evalAsFloat(class RenderParams &) const; + MCAPI bool _getToken(char const *&, class std::function const &)> const * (std::string const &, bool)>, class std::function const &)> const * (std::string const &, bool)>, unsigned __int64 &); + MCAPI float _internalEvalAsFloat(class RenderParams &) const; + MCAPI bool buildTree(unsigned __int64, class std::function const &)> const * (std::string const &, bool)>, class std::function const &)> const * (std::string const &, bool)>); + MCAPI bool findClosingOp(unsigned __int64 &, enum ExpressionOp) const; + MCAPI void optimizeFunctionCallParams(); + MCAPI bool processArrays(); + MCAPI bool processBinaryExpression(enum ExpressionOp); + MCAPI bool processMathFuncs(); + MCAPI bool processNegatives(); + MCAPI bool processParamsAndVariables(); + MCAPI bool processSections(); + MCAPI bool processSemicolons(); + MCAPI bool processUnaryExpression(enum ExpressionOp); + MCAPI bool tokenize(char const *, unsigned __int64 &, class std::function const &)> const * (std::string const &, bool)>, class std::function const &)> const * (std::string const &, bool)>); + +private: + MCAPI static class std::function const &)> _defaultUnknownGenericQueryFunction; + MCAPI static class std::function const &)> _defaultUnknownQueryFunction; + MCAPI static class std::unordered_map, struct std::equal_to, class std::allocator>> mGenericQueryFunctionAccessors; + MCAPI static bool mMolangInitialized; + MCAPI static class std::unordered_map, struct std::equal_to, class std::allocator>> mQueryFunctionAccessors; + MCAPI static class Bedrock::Threading::ThreadLocalObject> mTemporaryMolangEvalParams; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ExtendedCertificate.hpp b/LiteLoader/Header/MC/ExtendedCertificate.hpp new file mode 100644 index 0000000..f7ea59f --- /dev/null +++ b/LiteLoader/Header/MC/ExtendedCertificate.hpp @@ -0,0 +1,30 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ExtendedCertificate { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_EXTENDEDCERTIFICATE +public: + class ExtendedCertificate& operator=(class ExtendedCertificate const &) = delete; + ExtendedCertificate(class ExtendedCertificate const &) = delete; + ExtendedCertificate() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_EXTENDEDCERTIFICATE +#endif + MCAPI static class mce::UUID getIdentity(class Certificate const &); + MCAPI static std::string getIdentityName(class Certificate const &); + MCAPI static unsigned int getTitleID(class Certificate const &); + MCAPI static std::string getXuid(class Certificate const &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ExtendedStreamReadResult.hpp b/LiteLoader/Header/MC/ExtendedStreamReadResult.hpp new file mode 100644 index 0000000..f13deb8 --- /dev/null +++ b/LiteLoader/Header/MC/ExtendedStreamReadResult.hpp @@ -0,0 +1,27 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +struct ExtendedStreamReadResult { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_EXTENDEDSTREAMREADRESULT +public: + struct ExtendedStreamReadResult& operator=(struct ExtendedStreamReadResult const &) = delete; + ExtendedStreamReadResult(struct ExtendedStreamReadResult const &) = delete; +#endif +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_EXTENDEDSTREAMREADRESULT +#endif + MCAPI ExtendedStreamReadResult(); + MCAPI ExtendedStreamReadResult(enum StreamReadResult); + MCAPI ~ExtendedStreamReadResult(); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ExternalFileLevelStorage.hpp b/LiteLoader/Header/MC/ExternalFileLevelStorage.hpp new file mode 100644 index 0000000..72aaca5 --- /dev/null +++ b/LiteLoader/Header/MC/ExternalFileLevelStorage.hpp @@ -0,0 +1,29 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Core.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +namespace ExternalFileLevelStorage { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA + MCAPI class Core::Result _readLevelDataFromFile(class Core::Path const &, std::string const &, class LevelData &); + MCAPI bool _writeLevelDat(class Core::Path const &, class LevelData const &); + MCAPI std::unique_ptr getAccessStrategy(class Core::Path const &, class ContentIdentity const &, class IContentKeyProvider const &); + MCAPI std::vector const getImportantFiles(); + MCAPI bool isLevelMarkedForSync(class Core::Path const &); + MCAPI void makeReadableLevelnameFile(class Core::Path const &, std::string const &); + MCAPI class Core::Result readLevelDataFromData(std::string const &, class LevelData &); + MCAPI class Core::Result readLevelDataFromFile(class Core::Path const &, class LevelData &); + MCAPI void saveLevelData(class Core::Path const &, class LevelData const &, bool); + MCAPI void saveLevelDataToPath(class Core::Path const &, class LevelData const &); + MCAPI void saveLevelDisplayDataToCache(std::string const &, class LevelData const &, class gsl::not_null); + MCAPI class Core::Result validateLevelDat(class Core::Path); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ExternalFileLevelStorageSource.hpp b/LiteLoader/Header/MC/ExternalFileLevelStorageSource.hpp new file mode 100644 index 0000000..ca7c9c9 --- /dev/null +++ b/LiteLoader/Header/MC/ExternalFileLevelStorageSource.hpp @@ -0,0 +1,53 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Core.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ExternalFileLevelStorageSource { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_EXTERNALFILELEVELSTORAGESOURCE +public: + class ExternalFileLevelStorageSource& operator=(class ExternalFileLevelStorageSource const &) = delete; + ExternalFileLevelStorageSource(class ExternalFileLevelStorageSource const &) = delete; + ExternalFileLevelStorageSource() = delete; +#endif + +public: + /*0*/ virtual ~ExternalFileLevelStorageSource(); + /*1*/ virtual std::string const & getName() const; + /*2*/ virtual class LevelData getLevelData(std::string const &) const; + /*3*/ virtual class Core::Result getLevelData(std::string const &, class LevelData &) const; + /*4*/ virtual void saveLevelData(std::string const &, class LevelData const &); + /*5*/ virtual void getLevelList(std::vector> &); + /*6*/ virtual std::unique_ptr createLevelStorage(class Scheduler &, std::string const &, class ContentIdentity const &, class IContentKeyProvider const &, class std::chrono::duration<__int64, struct std::ratio<1, 1000000000>> const &); + /*7*/ virtual std::unique_ptr createLevelLooseStorage(std::string const &, class ContentIdentity const &, class IContentKeyProvider const &); + /*8*/ virtual bool isNewLevelIdAcceptable(std::string const &); + /*9*/ virtual void deleteLevel(std::string const &); + /*10*/ virtual bool renameLevel(std::string const &, std::string const &); + /*11*/ virtual void renameLevel(class LevelData &, class Core::Path const &, std::string const &); + /*12*/ virtual bool createBackupCopyOfWorld(std::string const &, std::string const &, std::string const &); + /*13*/ virtual void __unk_vfn_13(); + /*14*/ virtual void __unk_vfn_14(); + /*15*/ virtual void __unk_vfn_15(); + /*16*/ virtual bool isLevelMarkedForSync(class Core::Path const &) const; + /*17*/ virtual bool isLevelPartiallyCopied(class Core::Path const &) const; + /*18*/ virtual class Core::PathBuffer getLevelDatFoundPath(class Core::Path const &) const; + /*19*/ virtual class Core::PathBuffer const getBasePath() const; + /*20*/ virtual class Core::PathBuffer const getPathToLevel(std::string const &) const; + /*21*/ virtual class Core::PathBuffer const getPathToLevelInfo(std::string const &, bool) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_EXTERNALFILELEVELSTORAGESOURCE + MCVAPI bool convertLevel(std::string const &, class ProgressListener *); + MCVAPI bool isConvertible(std::string const &); + MCVAPI bool requiresConversion(std::string const &); +#endif + MCAPI ExternalFileLevelStorageSource(class Core::FilePathManager *, class std::shared_ptr); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/EyeOfEnder.hpp b/LiteLoader/Header/MC/EyeOfEnder.hpp new file mode 100644 index 0000000..ee66f0d --- /dev/null +++ b/LiteLoader/Header/MC/EyeOfEnder.hpp @@ -0,0 +1,50 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Actor.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class EyeOfEnder : public Actor { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_EYEOFENDER +public: + class EyeOfEnder& operator=(class EyeOfEnder const &) = delete; + EyeOfEnder(class EyeOfEnder const &) = delete; + EyeOfEnder() = delete; +#endif + +public: + /*1*/ virtual void reloadHardcoded(enum Actor::InitializationMethod, class VariantParameterList const &); + /*7*/ virtual ~EyeOfEnder(); + /*30*/ virtual void __unk_vfn_30(); + /*37*/ virtual void lerpMotion(class Vec3 const &); + /*39*/ virtual void normalTick(); + /*54*/ virtual void __unk_vfn_54(); + /*61*/ virtual void __unk_vfn_61(); + /*74*/ virtual float getShadowRadius() const; + /*76*/ virtual void __unk_vfn_76(); + /*81*/ virtual void __unk_vfn_81(); + /*88*/ virtual void __unk_vfn_88(); + /*90*/ virtual void __unk_vfn_90(); + /*98*/ virtual void __unk_vfn_98(); + /*100*/ virtual void __unk_vfn_100(); + /*121*/ virtual void __unk_vfn_121(); + /*169*/ virtual void __unk_vfn_169(); + /*182*/ virtual void __unk_vfn_182(); + /*206*/ virtual void __unk_vfn_206(); + /*207*/ virtual void __unk_vfn_207(); + /*228*/ virtual void __unk_vfn_228(); + /*231*/ virtual void __unk_vfn_231(); + /*238*/ virtual void __unk_vfn_238(); + /*246*/ virtual void __unk_vfn_246(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_EYEOFENDER +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/FaceDirectionalActorBlock.hpp b/LiteLoader/Header/MC/FaceDirectionalActorBlock.hpp new file mode 100644 index 0000000..022d70d --- /dev/null +++ b/LiteLoader/Header/MC/FaceDirectionalActorBlock.hpp @@ -0,0 +1,30 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class FaceDirectionalActorBlock { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_FACEDIRECTIONALACTORBLOCK +public: + class FaceDirectionalActorBlock& operator=(class FaceDirectionalActorBlock const &) = delete; + FaceDirectionalActorBlock(class FaceDirectionalActorBlock const &) = delete; + FaceDirectionalActorBlock() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_FACEDIRECTIONALACTORBLOCK + MCVAPI enum Flip getFaceFlip(unsigned char, class Block const &) const; + MCVAPI unsigned char getMappedFace(unsigned char, class Block const &) const; + MCVAPI class Block const & getPlacementBlock(class Actor &, class BlockPos const &, unsigned char, class Vec3 const &, int) const; + MCVAPI class Block const & getRenderBlock() const; +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/FaceDirectionalBlock.hpp b/LiteLoader/Header/MC/FaceDirectionalBlock.hpp new file mode 100644 index 0000000..1f47b18 --- /dev/null +++ b/LiteLoader/Header/MC/FaceDirectionalBlock.hpp @@ -0,0 +1,32 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class FaceDirectionalBlock { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_FACEDIRECTIONALBLOCK +public: + class FaceDirectionalBlock& operator=(class FaceDirectionalBlock const &) = delete; + FaceDirectionalBlock(class FaceDirectionalBlock const &) = delete; + FaceDirectionalBlock() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_FACEDIRECTIONALBLOCK + MCVAPI enum Flip getFaceFlip(unsigned char, class Block const &) const; + MCVAPI unsigned char getMappedFace(unsigned char, class Block const &) const; + MCVAPI class Block const & getPlacementBlock(class Actor &, class BlockPos const &, unsigned char, class Vec3 const &, int) const; + MCVAPI class Block const & getRenderBlock() const; + MCVAPI bool isValidAuxValue(int) const; +#endif + MCAPI static unsigned char getFacingDirection(class Block const &, bool); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/Facing.hpp b/LiteLoader/Header/MC/Facing.hpp new file mode 100644 index 0000000..ff463f7 --- /dev/null +++ b/LiteLoader/Header/MC/Facing.hpp @@ -0,0 +1,45 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class Facing { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_FACING +public: + class Facing& operator=(class Facing const &) = delete; + Facing(class Facing const &) = delete; + Facing() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_FACING +#endif + MCAPI static class std::array, 6> const ALL_EXCEPT; + MCAPI static class std::array, 6> const ALL_EXCEPT_AXIS_Y; + MCAPI static std::vector const ALL_FACES; + MCAPI static enum Facing::Name const BY2DDATA[]; + MCAPI static enum Facing::Name const DIRECTIONS[]; + MCAPI static class BlockPos const DIRECTION[]; + MCAPI static class Vec3 const NORMAL[]; + MCAPI static unsigned char const OPPOSITE_FACING[]; + MCAPI static int const STEP_X[]; + MCAPI static int const STEP_Y[]; + MCAPI static int const STEP_Z[]; + MCAPI static unsigned char fromVec3(class Vec3 const &); + MCAPI static unsigned char getOpposite(unsigned char); + MCAPI static struct glm::tmat3x3 getRotationMatrix(unsigned char, enum Facing::Rotation); + MCAPI static int getStepX(unsigned char); + MCAPI static int getStepY(unsigned char); + MCAPI static int getStepZ(unsigned char); + MCAPI static unsigned char rotateFaceAroundGivenFace(unsigned char, unsigned char, enum Facing::Rotation); + MCAPI static class gsl::basic_string_span toString(unsigned char); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/FallenTreeTrunk.hpp b/LiteLoader/Header/MC/FallenTreeTrunk.hpp new file mode 100644 index 0000000..74ac9cc --- /dev/null +++ b/LiteLoader/Header/MC/FallenTreeTrunk.hpp @@ -0,0 +1,29 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "TreeHelper.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class FallenTreeTrunk { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_FALLENTREETRUNK +public: + class FallenTreeTrunk& operator=(class FallenTreeTrunk const &) = delete; + FallenTreeTrunk(class FallenTreeTrunk const &) = delete; + FallenTreeTrunk() = delete; +#endif + +public: + /*0*/ virtual ~FallenTreeTrunk(); + /*1*/ virtual class std::optional placeTrunk(class IBlockPlacementTarget &, class BlockPos const &, class Random &, struct TreeHelper::TreeParams const &, class ITreeCanopy const *) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_FALLENTREETRUNK +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/FallingBlock.hpp b/LiteLoader/Header/MC/FallingBlock.hpp new file mode 100644 index 0000000..bc29187 --- /dev/null +++ b/LiteLoader/Header/MC/FallingBlock.hpp @@ -0,0 +1,64 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Actor.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class FallingBlock : public Actor { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_FALLINGBLOCK +public: + class FallingBlock& operator=(class FallingBlock const &) = delete; + FallingBlock(class FallingBlock const &) = delete; + FallingBlock() = delete; +#endif + +public: + /*1*/ virtual void reloadHardcoded(enum Actor::InitializationMethod, class VariantParameterList const &); + /*2*/ virtual void reloadHardcodedClient(enum Actor::InitializationMethod, class VariantParameterList const &); + /*7*/ virtual ~FallingBlock(); + /*30*/ virtual void __unk_vfn_30(); + /*33*/ virtual void teleportTo(class Vec3 const &, bool, int, int, struct ActorUniqueID const &); + /*39*/ virtual void normalTick(); + /*54*/ virtual void __unk_vfn_54(); + /*61*/ virtual void __unk_vfn_61(); + /*73*/ virtual float getShadowHeightOffs(); + /*74*/ virtual float getShadowRadius() const; + /*76*/ virtual void __unk_vfn_76(); + /*81*/ virtual void __unk_vfn_81(); + /*87*/ virtual bool isPickable(); + /*88*/ virtual void __unk_vfn_88(); + /*90*/ virtual void __unk_vfn_90(); + /*98*/ virtual void __unk_vfn_98(); + /*100*/ virtual void __unk_vfn_100(); + /*121*/ virtual void __unk_vfn_121(); + /*169*/ virtual void __unk_vfn_169(); + /*173*/ virtual void causeFallDamage(float); + /*182*/ virtual void __unk_vfn_182(); + /*206*/ virtual void __unk_vfn_206(); + /*207*/ virtual void __unk_vfn_207(); + /*228*/ virtual void __unk_vfn_228(); + /*231*/ virtual void __unk_vfn_231(); + /*238*/ virtual void __unk_vfn_238(); + /*240*/ virtual bool _hurt(class ActorDamageSource const &, int, bool, bool); + /*242*/ virtual void readAdditionalSaveData(class CompoundTag const &, class DataLoadHelper &); + /*243*/ virtual void addAdditionalSaveData(class CompoundTag &); + /*246*/ virtual void __unk_vfn_246(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_FALLINGBLOCK + MCVAPI float getDeletionDelayTimeSeconds() const; +#endif + MCAPI class Block const & getFallingBlock() const; + +//private: + MCAPI void _breakBlock(); + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/FamilyTypeDescription.hpp b/LiteLoader/Header/MC/FamilyTypeDescription.hpp new file mode 100644 index 0000000..a52c236 --- /dev/null +++ b/LiteLoader/Header/MC/FamilyTypeDescription.hpp @@ -0,0 +1,30 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Json.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +struct FamilyTypeDescription { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_FAMILYTYPEDESCRIPTION +public: + struct FamilyTypeDescription& operator=(struct FamilyTypeDescription const &) = delete; + FamilyTypeDescription(struct FamilyTypeDescription const &) = delete; + FamilyTypeDescription() = delete; +#endif +public: + /*0*/ virtual char const * getJsonName() const; + /*1*/ virtual ~FamilyTypeDescription(); + /*2*/ virtual void deserializeData(class Json::Value &); + /*3*/ virtual void serializeData(class Json::Value &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_FAMILYTYPEDESCRIPTION +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/FancyTreeCanopy.hpp b/LiteLoader/Header/MC/FancyTreeCanopy.hpp new file mode 100644 index 0000000..2f6a05d --- /dev/null +++ b/LiteLoader/Header/MC/FancyTreeCanopy.hpp @@ -0,0 +1,34 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "TreeHelper.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class FancyTreeCanopy { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_FANCYTREECANOPY +public: + class FancyTreeCanopy& operator=(class FancyTreeCanopy const &) = delete; + FancyTreeCanopy(class FancyTreeCanopy const &) = delete; + FancyTreeCanopy() = delete; +#endif + +public: + /*0*/ virtual ~FancyTreeCanopy(); + /*1*/ virtual class std::optional placeCanopy(class IBlockPlacementTarget &, class BlockPos const &, class Random &, struct TreeHelper::TreeParams const &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_FANCYTREECANOPY +#endif + +//private: + MCAPI class std::optional _fillLayer(class IBlockPlacementTarget &, class BlockPos const &, int, struct TreeHelper::TreeParams const &) const; + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/FancyTreeTrunk.hpp b/LiteLoader/Header/MC/FancyTreeTrunk.hpp new file mode 100644 index 0000000..b948b92 --- /dev/null +++ b/LiteLoader/Header/MC/FancyTreeTrunk.hpp @@ -0,0 +1,35 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "TreeHelper.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class FancyTreeTrunk { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_FANCYTREETRUNK +public: + class FancyTreeTrunk& operator=(class FancyTreeTrunk const &) = delete; + FancyTreeTrunk(class FancyTreeTrunk const &) = delete; + FancyTreeTrunk() = delete; +#endif + +public: + /*0*/ virtual ~FancyTreeTrunk(); + /*1*/ virtual class std::optional placeTrunk(class IBlockPlacementTarget &, class BlockPos const &, class Random &, struct TreeHelper::TreeParams const &, class ITreeCanopy const *) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_FANCYTREETRUNK +#endif + +//private: + MCAPI int _checkLine(class IBlockPlacementTarget &, class BlockPos const &, class BlockPos const &, struct TreeHelper::TreeParams const &) const; + MCAPI void _placeLimb(class IBlockPlacementTarget &, class BlockPos const &, class BlockPos const &) const; + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/FarmBlock.hpp b/LiteLoader/Header/MC/FarmBlock.hpp new file mode 100644 index 0000000..6a3966d --- /dev/null +++ b/LiteLoader/Header/MC/FarmBlock.hpp @@ -0,0 +1,72 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "BlockLegacy.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class FarmBlock : public BlockLegacy { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_FARMBLOCK +public: + class FarmBlock& operator=(class FarmBlock const &) = delete; + FarmBlock(class FarmBlock const &) = delete; + FarmBlock() = delete; +#endif + +public: + /*0*/ virtual ~FarmBlock(); + /*1*/ virtual void tick(class BlockSource &, class BlockPos const &, class Random &) const; + /*10*/ virtual class AABB const & getAABB(class BlockSource &, class BlockPos const &, class Block const &, class AABB &, bool) const; + /*18*/ virtual void __unk_vfn_18(); + /*24*/ virtual void __unk_vfn_24(); + /*25*/ virtual void __unk_vfn_25(); + /*26*/ virtual void __unk_vfn_26(); + /*27*/ virtual void __unk_vfn_27(); + /*28*/ virtual void __unk_vfn_28(); + /*30*/ virtual void __unk_vfn_30(); + /*31*/ virtual void __unk_vfn_31(); + /*32*/ virtual void __unk_vfn_32(); + /*33*/ virtual void __unk_vfn_33(); + /*34*/ virtual void __unk_vfn_34(); + /*35*/ virtual void __unk_vfn_35(); + /*36*/ virtual void __unk_vfn_36(); + /*38*/ virtual void __unk_vfn_38(); + /*39*/ virtual void __unk_vfn_39(); + /*40*/ virtual void __unk_vfn_40(); + /*42*/ virtual void __unk_vfn_42(); + /*43*/ virtual void __unk_vfn_43(); + /*49*/ virtual void __unk_vfn_49(); + /*50*/ virtual bool canContainLiquid() const; + /*52*/ virtual void __unk_vfn_52(); + /*64*/ virtual void transformOnFall(class BlockSource &, class BlockPos const &, class Actor *, float) const; + /*67*/ virtual void __unk_vfn_67(); + /*73*/ virtual void __unk_vfn_73(); + /*87*/ virtual void __unk_vfn_87(); + /*88*/ virtual void neighborChanged(class BlockSource &, class BlockPos const &, class BlockPos const &) const; + /*91*/ virtual class ItemInstance getResourceItem(class Random &, class Block const &, int) const; + /*92*/ virtual class ItemInstance asItemInstance(class BlockSource &, class BlockPos const &, class Block const &) const; + /*95*/ virtual void __unk_vfn_95(); + /*109*/ virtual void __unk_vfn_109(); + /*116*/ virtual void __unk_vfn_116(); + /*118*/ virtual void __unk_vfn_118(); + /*119*/ virtual void __unk_vfn_119(); + /*141*/ virtual int getVariant(class Block const &) const; + /*142*/ virtual void __unk_vfn_142(); + /*158*/ virtual void __unk_vfn_158(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_FARMBLOCK + MCVAPI bool canBeSilkTouched() const; +#endif + +//private: + MCAPI bool isNearWater(class BlockSource &, class BlockPos const &) const; + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/Feature.hpp b/LiteLoader/Header/MC/Feature.hpp new file mode 100644 index 0000000..6c60f0e --- /dev/null +++ b/LiteLoader/Header/MC/Feature.hpp @@ -0,0 +1,35 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class Feature { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_FEATURE +public: + class Feature& operator=(class Feature const &) = delete; + Feature(class Feature const &) = delete; + Feature() = delete; +#endif + +public: + /*0*/ virtual ~Feature(); + /*1*/ virtual bool place(class BlockSource &, class BlockPos const &, class Random &) const = 0; + /*2*/ virtual class std::optional place(class IBlockPlacementTarget &, class BlockPos const &, class Random &) const; + /*3*/ virtual class Block const & getBlockToPlace(class Random &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_FEATURE +#endif + +//protected: + MCAPI bool _placeBlock(class BlockSource &, class BlockPos const &, class Block const &) const; + +protected: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/FeatureHelper.hpp b/LiteLoader/Header/MC/FeatureHelper.hpp new file mode 100644 index 0000000..72de2e8 --- /dev/null +++ b/LiteLoader/Header/MC/FeatureHelper.hpp @@ -0,0 +1,17 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +namespace FeatureHelper { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA + MCAPI bool isInWhitelist(class Block const &, std::vector const &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/FeaturePoolElement.hpp b/LiteLoader/Header/MC/FeaturePoolElement.hpp new file mode 100644 index 0000000..13e03dd --- /dev/null +++ b/LiteLoader/Header/MC/FeaturePoolElement.hpp @@ -0,0 +1,30 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "StructurePoolElement.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class FeaturePoolElement : public StructurePoolElement { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_FEATUREPOOLELEMENT +public: + class FeaturePoolElement& operator=(class FeaturePoolElement const &) = delete; + FeaturePoolElement(class FeaturePoolElement const &) = delete; + FeaturePoolElement() = delete; +#endif + +public: + /*0*/ virtual class BlockPos getSize(enum Rotation) const; + /*2*/ virtual std::vector getJigsawMarkers(class BlockPos, class LegacyStructureSettings &, class BlockSource *) const; + /*7*/ virtual bool place(class BlockSource &, class BlockPos, enum Rotation, class BoundingBox, class Random &, class std::unordered_map, struct std::hash, struct std::equal_to, class std::allocator>>> &, class BlockPos) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_FEATUREPOOLELEMENT +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/FeatureRegistry.hpp b/LiteLoader/Header/MC/FeatureRegistry.hpp new file mode 100644 index 0000000..e92bdc8 --- /dev/null +++ b/LiteLoader/Header/MC/FeatureRegistry.hpp @@ -0,0 +1,38 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class FeatureRegistry { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_FEATUREREGISTRY +public: + class FeatureRegistry& operator=(class FeatureRegistry const &) = delete; + FeatureRegistry(class FeatureRegistry const &) = delete; + FeatureRegistry() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_FEATUREREGISTRY +#endif + MCAPI void loadFromDefinitions(class IWorldRegistriesProvider &, class ResourcePackManager const &, bool); + MCAPI class WeakRefT lookupByName(std::string const &) const; + MCAPI class WeakRefT lookupOrReserveFeature(std::string const &); + MCAPI class WeakRefT reserveFeature(std::string const &); + MCAPI ~FeatureRegistry(); + +//private: + MCAPI std::string const _featureNamespaceFromInput(std::string const &); + MCAPI void _registerFeature(std::string const &, std::unique_ptr); + MCAPI void _setupFeature(class IWorldRegistriesProvider &, class ResourcePackManager const &, std::string const &, std::string const &); + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/FeatureToggles.hpp b/LiteLoader/Header/MC/FeatureToggles.hpp new file mode 100644 index 0000000..fbef921 --- /dev/null +++ b/LiteLoader/Header/MC/FeatureToggles.hpp @@ -0,0 +1,36 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class FeatureToggles { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_FEATURETOGGLES +public: + class FeatureToggles& operator=(class FeatureToggles const &) = delete; + FeatureToggles(class FeatureToggles const &) = delete; + FeatureToggles() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_FEATURETOGGLES +#endif + MCAPI bool isEnabled(enum FeatureOptionID) const; + MCAPI ~FeatureToggles(); + +//private: + MCAPI void _initialize(class AppPlatform &); + MCAPI void _registerFeature(enum FeatureOptionID, std::string const &, std::string const &, bool, enum FeatureOptionID, class std::function, class std::function); + MCAPI void _registerFeatures(); + +private: + MCAPI static std::unique_ptr mFeatureToggles; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/FeatureTypeFactory.hpp b/LiteLoader/Header/MC/FeatureTypeFactory.hpp new file mode 100644 index 0000000..ef3ca2f --- /dev/null +++ b/LiteLoader/Header/MC/FeatureTypeFactory.hpp @@ -0,0 +1,28 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Json.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class FeatureTypeFactory { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_FEATURETYPEFACTORY +public: + class FeatureTypeFactory& operator=(class FeatureTypeFactory const &) = delete; + FeatureTypeFactory(class FeatureTypeFactory const &) = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_FEATURETYPEFACTORY +#endif + MCAPI FeatureTypeFactory(); + MCAPI void processFeature(class IWorldRegistriesProvider &, class ResourcePackManager const &, std::string const &, class Json::Value &) const; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/FeedItem.hpp b/LiteLoader/Header/MC/FeedItem.hpp new file mode 100644 index 0000000..d744571 --- /dev/null +++ b/LiteLoader/Header/MC/FeedItem.hpp @@ -0,0 +1,28 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +struct FeedItem { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_FEEDITEM +public: + struct FeedItem& operator=(struct FeedItem const &) = delete; + FeedItem(struct FeedItem const &) = delete; + FeedItem() = delete; +#endif +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_FEEDITEM +#endif + MCAPI void addEffect(struct FeedItem::Effect const &); + MCAPI void setItem(std::string const &); + MCAPI ~FeedItem(); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/FenceBlock.hpp b/LiteLoader/Header/MC/FenceBlock.hpp new file mode 100644 index 0000000..3710a20 --- /dev/null +++ b/LiteLoader/Header/MC/FenceBlock.hpp @@ -0,0 +1,73 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "BlockLegacy.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class FenceBlock : public BlockLegacy { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_FENCEBLOCK +public: + class FenceBlock& operator=(class FenceBlock const &) = delete; + FenceBlock(class FenceBlock const &) = delete; + FenceBlock() = delete; +#endif + +public: + /*0*/ virtual ~FenceBlock(); + /*10*/ virtual class AABB const & getAABB(class BlockSource &, class BlockPos const &, class Block const &, class AABB &, bool) const; + /*11*/ virtual bool addCollisionShapes(class Block const &, class BlockSource &, class BlockPos const &, class AABB const *, std::vector &, class Actor *) const; + /*13*/ virtual bool getLiquidClipVolume(class BlockSource &, class BlockPos const &, class AABB &) const; + /*18*/ virtual void __unk_vfn_18(); + /*21*/ virtual bool canProvideSupport(class Block const &, unsigned char, enum BlockSupportType) const; + /*22*/ virtual bool canConnect(class Block const &, unsigned char, class Block const &) const; + /*24*/ virtual void __unk_vfn_24(); + /*25*/ virtual void __unk_vfn_25(); + /*26*/ virtual void __unk_vfn_26(); + /*27*/ virtual void __unk_vfn_27(); + /*28*/ virtual void __unk_vfn_28(); + /*30*/ virtual void __unk_vfn_30(); + /*31*/ virtual void __unk_vfn_31(); + /*32*/ virtual void __unk_vfn_32(); + /*33*/ virtual void __unk_vfn_33(); + /*34*/ virtual void __unk_vfn_34(); + /*35*/ virtual void __unk_vfn_35(); + /*36*/ virtual void __unk_vfn_36(); + /*38*/ virtual void __unk_vfn_38(); + /*39*/ virtual void __unk_vfn_39(); + /*40*/ virtual void __unk_vfn_40(); + /*42*/ virtual void __unk_vfn_42(); + /*43*/ virtual void __unk_vfn_43(); + /*49*/ virtual void __unk_vfn_49(); + /*50*/ virtual bool canContainLiquid() const; + /*52*/ virtual void __unk_vfn_52(); + /*67*/ virtual void __unk_vfn_67(); + /*73*/ virtual void __unk_vfn_73(); + /*81*/ virtual bool mayPlace(class BlockSource &, class BlockPos const &) const; + /*87*/ virtual void __unk_vfn_87(); + /*91*/ virtual class ItemInstance getResourceItem(class Random &, class Block const &, int) const; + /*95*/ virtual void __unk_vfn_95(); + /*98*/ virtual bool use(class Player &, class BlockPos const &) const; + /*109*/ virtual void __unk_vfn_109(); + /*116*/ virtual void __unk_vfn_116(); + /*118*/ virtual void __unk_vfn_118(); + /*119*/ virtual void __unk_vfn_119(); + /*127*/ virtual std::string buildDescriptionId(class Block const &) const; + /*128*/ virtual bool isAuxValueRelevantForPicking() const; + /*137*/ virtual class AABB const & getVisualShapeInWorld(class Block const &, class BlockSource &, class BlockPos const &, class AABB &, bool) const; + /*142*/ virtual void __unk_vfn_142(); + /*158*/ virtual void __unk_vfn_158(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_FENCEBLOCK + MCVAPI bool canBeSilkTouched() const; + MCVAPI bool isFenceBlock() const; +#endif + MCAPI void fetchPathableNeighbors(std::vector &, class BlockSource &, class BlockPos const &, class Vec3 const &) const; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/FenceGateBlock.hpp b/LiteLoader/Header/MC/FenceGateBlock.hpp new file mode 100644 index 0000000..8077b9d --- /dev/null +++ b/LiteLoader/Header/MC/FenceGateBlock.hpp @@ -0,0 +1,78 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "BlockLegacy.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class FenceGateBlock : public BlockLegacy { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_FENCEGATEBLOCK +public: + class FenceGateBlock& operator=(class FenceGateBlock const &) = delete; + FenceGateBlock(class FenceGateBlock const &) = delete; + FenceGateBlock() = delete; +#endif + +public: + /*0*/ virtual ~FenceGateBlock(); + /*10*/ virtual class AABB const & getAABB(class BlockSource &, class BlockPos const &, class Block const &, class AABB &, bool) const; + /*13*/ virtual bool getLiquidClipVolume(class BlockSource &, class BlockPos const &, class AABB &) const; + /*18*/ virtual void __unk_vfn_18(); + /*22*/ virtual bool canConnect(class Block const &, unsigned char, class Block const &) const; + /*24*/ virtual void __unk_vfn_24(); + /*25*/ virtual void __unk_vfn_25(); + /*26*/ virtual void __unk_vfn_26(); + /*27*/ virtual void __unk_vfn_27(); + /*28*/ virtual void __unk_vfn_28(); + /*30*/ virtual void __unk_vfn_30(); + /*31*/ virtual void __unk_vfn_31(); + /*32*/ virtual void __unk_vfn_32(); + /*33*/ virtual void __unk_vfn_33(); + /*34*/ virtual void __unk_vfn_34(); + /*35*/ virtual void __unk_vfn_35(); + /*36*/ virtual void __unk_vfn_36(); + /*38*/ virtual void __unk_vfn_38(); + /*39*/ virtual void __unk_vfn_39(); + /*40*/ virtual void __unk_vfn_40(); + /*42*/ virtual void __unk_vfn_42(); + /*43*/ virtual void __unk_vfn_43(); + /*49*/ virtual void __unk_vfn_49(); + /*50*/ virtual bool canContainLiquid() const; + /*52*/ virtual void __unk_vfn_52(); + /*59*/ virtual void onPlace(class BlockSource &, class BlockPos const &) const; + /*65*/ virtual void onRedstoneUpdate(class BlockSource &, class BlockPos const &, int, bool) const; + /*67*/ virtual void __unk_vfn_67(); + /*70*/ virtual void setupRedstoneComponent(class BlockSource &, class BlockPos const &) const; + /*73*/ virtual void __unk_vfn_73(); + /*74*/ virtual bool ignoreEntitiesOnPistonMove(class Block const &) const; + /*87*/ virtual void __unk_vfn_87(); + /*88*/ virtual void neighborChanged(class BlockSource &, class BlockPos const &, class BlockPos const &) const; + /*95*/ virtual void __unk_vfn_95(); + /*98*/ virtual bool use(class Player &, class BlockPos const &) const; + /*99*/ virtual class Block const & getPlacementBlock(class Actor &, class BlockPos const &, unsigned char, class Vec3 const &, int) const; + /*109*/ virtual void __unk_vfn_109(); + /*116*/ virtual void __unk_vfn_116(); + /*118*/ virtual void __unk_vfn_118(); + /*119*/ virtual void __unk_vfn_119(); + /*142*/ virtual void __unk_vfn_142(); + /*158*/ virtual void __unk_vfn_158(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_FENCEGATEBLOCK + MCVAPI bool isFenceGateBlock() const; + MCVAPI bool isInteractiveBlock() const; +#endif + MCAPI FenceGateBlock(std::string const &, int, enum WoodType); + +//private: + MCAPI void _checkIsInWall(class BlockSource &, class BlockPos const &) const; + MCAPI void _onOpenChanged(class BlockSource &, class BlockPos const &) const; + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/FertilizerItem.hpp b/LiteLoader/Header/MC/FertilizerItem.hpp new file mode 100644 index 0000000..71b0487 --- /dev/null +++ b/LiteLoader/Header/MC/FertilizerItem.hpp @@ -0,0 +1,29 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class FertilizerItem { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_FERTILIZERITEM +public: + class FertilizerItem& operator=(class FertilizerItem const &) = delete; + FertilizerItem(class FertilizerItem const &) = delete; + FertilizerItem() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_FERTILIZERITEM + MCVAPI bool _useOn(class ItemStack &, class Actor &, class BlockPos, unsigned char, float, float, float) const; + MCVAPI bool dispense(class BlockSource &, class Container &, int, class Vec3 const &, unsigned char) const; + MCVAPI bool isFertilizer(int) const; +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/FileAccessTransforms.hpp b/LiteLoader/Header/MC/FileAccessTransforms.hpp new file mode 100644 index 0000000..684d42d --- /dev/null +++ b/LiteLoader/Header/MC/FileAccessTransforms.hpp @@ -0,0 +1,28 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class FileAccessTransforms { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_FILEACCESSTRANSFORMS +public: + class FileAccessTransforms& operator=(class FileAccessTransforms const &) = delete; + FileAccessTransforms(class FileAccessTransforms const &) = delete; + FileAccessTransforms() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_FILEACCESSTRANSFORMS + MCVAPI bool readTransform(std::vector &) const; + MCVAPI bool writeTransform(std::vector &) const; +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/FileArchiver.hpp b/LiteLoader/Header/MC/FileArchiver.hpp new file mode 100644 index 0000000..1e024d0 --- /dev/null +++ b/LiteLoader/Header/MC/FileArchiver.hpp @@ -0,0 +1,38 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Core.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class FileArchiver { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_FILEARCHIVER +public: + class FileArchiver& operator=(class FileArchiver const &) = delete; + FileArchiver(class FileArchiver const &) = delete; + FileArchiver() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_FILEARCHIVER +#endif + MCAPI class std::future archivePack(class Core::Path const &, class Core::Path const &, class std::function); + MCAPI static std::string const EXTENSION_ADDON; + MCAPI static std::string const EXTENSION_RESOURCEPACK; + MCAPI static std::string const EXTENSION_TEMPLATE; + MCAPI static std::string const EXTENSION_VANILLA; + MCAPI static std::string const IMPORT_LOCK_FILE; + +//private: + MCAPI void _printResultMessage(struct FileArchiver::Result const &); + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/FileChunkManager.hpp b/LiteLoader/Header/MC/FileChunkManager.hpp new file mode 100644 index 0000000..35f72d2 --- /dev/null +++ b/LiteLoader/Header/MC/FileChunkManager.hpp @@ -0,0 +1,33 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class FileChunkManager { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_FILECHUNKMANAGER +public: + class FileChunkManager& operator=(class FileChunkManager const &) = delete; + FileChunkManager(class FileChunkManager const &) = delete; + FileChunkManager() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_FILECHUNKMANAGER +#endif + MCAPI void reset(unsigned __int64, unsigned int); + MCAPI ~FileChunkManager(); + +//private: + MCAPI void _generateChunkInfo(); + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/FileInfo.hpp b/LiteLoader/Header/MC/FileInfo.hpp new file mode 100644 index 0000000..3c5a66f --- /dev/null +++ b/LiteLoader/Header/MC/FileInfo.hpp @@ -0,0 +1,28 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Core.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +struct FileInfo { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_FILEINFO +public: + struct FileInfo& operator=(struct FileInfo const &) = delete; + FileInfo(struct FileInfo const &) = delete; + FileInfo() = delete; +#endif +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_FILEINFO +#endif + MCAPI FileInfo(class Core::Path, int, std::string); + MCAPI ~FileInfo(); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/FileSystemFileAccess.hpp b/LiteLoader/Header/MC/FileSystemFileAccess.hpp new file mode 100644 index 0000000..5c8aadb --- /dev/null +++ b/LiteLoader/Header/MC/FileSystemFileAccess.hpp @@ -0,0 +1,35 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Core.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class FileSystemFileAccess { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_FILESYSTEMFILEACCESS +public: + class FileSystemFileAccess& operator=(class FileSystemFileAccess const &) = delete; + FileSystemFileAccess(class FileSystemFileAccess const &) = delete; + FileSystemFileAccess() = delete; +#endif + +public: + /*0*/ virtual ~FileSystemFileAccess(); + /*1*/ virtual void * fopen(class Core::Path const &, std::string const &); + /*2*/ virtual int fclose(void *); + /*3*/ virtual int fseek(void *, __int64, int); + /*4*/ virtual __int64 ftell(void *); + /*5*/ virtual class IFileReadAccess const * getReadInterface() const; + /*6*/ virtual class IFileWriteAccess * getWriteInterface(); + /*7*/ virtual void unload(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_FILESYSTEMFILEACCESS +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/FileUploadManager.hpp b/LiteLoader/Header/MC/FileUploadManager.hpp new file mode 100644 index 0000000..1b216db --- /dev/null +++ b/LiteLoader/Header/MC/FileUploadManager.hpp @@ -0,0 +1,47 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Core.hpp" +#include "Json.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class FileUploadManager { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_FILEUPLOADMANAGER +public: + class FileUploadManager& operator=(class FileUploadManager const &) = delete; + FileUploadManager(class FileUploadManager const &) = delete; + FileUploadManager() = delete; +#endif + +public: + /*0*/ virtual ~FileUploadManager(); + /*1*/ virtual float getUploadProgress() const; + /*2*/ virtual void uploadFileToRealmStorage(std::string const &, class Core::Path const &, std::string const &) = 0; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_FILEUPLOADMANAGER +#endif + MCAPI FileUploadManager(class TaskGroup &, class std::shared_ptr); + MCAPI void addCallbackQueue(class std::function); + MCAPI void uploadFile(std::string const &, class Core::Path const &, bool, class Json::Value const &); + +//protected: + MCAPI void _generateMultiPartHelper(); + MCAPI void _resumeUpload(); + MCAPI void _uploadChunk(struct FileChunkInfo const &); + MCAPI void _uploadStream(); + +//private: + +protected: + +private: + MCAPI static std::string const BOUNDARY; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/FillCommand.hpp b/LiteLoader/Header/MC/FillCommand.hpp new file mode 100644 index 0000000..b87e312 --- /dev/null +++ b/LiteLoader/Header/MC/FillCommand.hpp @@ -0,0 +1,30 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Command.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class FillCommand : public Command { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_FILLCOMMAND +public: + class FillCommand& operator=(class FillCommand const &) = delete; + FillCommand(class FillCommand const &) = delete; + FillCommand() = delete; +#endif + +public: + /*0*/ virtual ~FillCommand(); + /*1*/ virtual void execute(class CommandOrigin const &, class CommandOutput &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_FILLCOMMAND +#endif + MCAPI static void setup(class CommandRegistry &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/FillContainerFunction.hpp b/LiteLoader/Header/MC/FillContainerFunction.hpp new file mode 100644 index 0000000..e2e22d4 --- /dev/null +++ b/LiteLoader/Header/MC/FillContainerFunction.hpp @@ -0,0 +1,32 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Json.hpp" +#include "LootItemFunction.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class FillContainerFunction : public LootItemFunction { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_FILLCONTAINERFUNCTION +public: + class FillContainerFunction& operator=(class FillContainerFunction const &) = delete; + FillContainerFunction(class FillContainerFunction const &) = delete; + FillContainerFunction() = delete; +#endif + +public: + /*0*/ virtual ~FillContainerFunction(); + /*1*/ virtual void apply(class ItemStack &, class Random &, class LootTableContext &); + /*3*/ virtual void apply(class ItemInstance &, class Random &, class LootTableContext &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_FILLCONTAINERFUNCTION +#endif + MCAPI static std::unique_ptr deserialize(class Json::Value, std::vector> &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/FillingContainer.hpp b/LiteLoader/Header/MC/FillingContainer.hpp new file mode 100644 index 0000000..92a8303 --- /dev/null +++ b/LiteLoader/Header/MC/FillingContainer.hpp @@ -0,0 +1,66 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Container.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class FillingContainer : public Container { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_FILLINGCONTAINER +public: + class FillingContainer& operator=(class FillingContainer const &) = delete; + FillingContainer(class FillingContainer const &) = delete; + FillingContainer() = delete; +#endif + +public: + /*0*/ virtual ~FillingContainer(); + /*2*/ virtual void serverInitItemStackIds(int, int, class std::function); + /*5*/ virtual class ItemStack const & getItem(int) const; + /*9*/ virtual void setItem(int, class ItemStack const &); + /*10*/ virtual void setItemWithForceBalance(int, class ItemStack const &, bool); + /*11*/ virtual void removeItem(int, int); + /*14*/ virtual int getContainerSize() const; + /*15*/ virtual int getMaxStackSize() const; + /*16*/ virtual void startOpen(class Player &); + /*17*/ virtual void stopOpen(class Player &); + /*22*/ virtual void __unk_vfn_22(); + /*23*/ virtual void __unk_vfn_23(); + /*32*/ virtual bool add(class ItemStack &); + /*33*/ virtual bool canAdd(class ItemStack const &) const; + /*34*/ virtual void dropAll(bool); + /*35*/ virtual void clearSlot(int); + /*36*/ virtual int clearInventory(int); + /*37*/ virtual void load(class ListTag const &, class SemVersion const &, class Level &); + /*38*/ virtual void doDrop(class ItemStack &, bool); + /*39*/ virtual int getEmptySlotsCount() const; + /*40*/ virtual int getFirstEmptySlot() const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_FILLINGCONTAINER +#endif + MCAPI FillingContainer(class Player *, int, enum ContainerType); + MCAPI void dropAll(int, int, bool); + MCAPI void dropSlot(int, bool, bool, bool); + MCAPI int getSlotWithItem(class ItemStack const &, bool, bool) const; + MCAPI bool removeResource(int); + MCAPI int removeResource(class ItemStack const &, bool, bool, int); + MCAPI std::unique_ptr save(); + +//protected: + MCAPI int _addResource(class ItemStack const &); + MCAPI void _fixBackwardCompabilityItem(class ItemStack &); + MCAPI int _getEmptySlotsCount(int, int) const; + MCAPI int _getFreeSlot() const; + MCAPI int _getSlot(int) const; + MCAPI int _getSlotWithRemainingSpace(class ItemStack const &) const; + MCAPI void _release(int); + +protected: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/FilterContext.hpp b/LiteLoader/Header/MC/FilterContext.hpp new file mode 100644 index 0000000..cd20baf --- /dev/null +++ b/LiteLoader/Header/MC/FilterContext.hpp @@ -0,0 +1,25 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +struct FilterContext { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_FILTERCONTEXT +public: + struct FilterContext& operator=(struct FilterContext const &) = delete; + FilterContext(struct FilterContext const &) = delete; +#endif +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_FILTERCONTEXT +#endif + MCAPI FilterContext(); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/FilterGroup.hpp b/LiteLoader/Header/MC/FilterGroup.hpp new file mode 100644 index 0000000..322bd36 --- /dev/null +++ b/LiteLoader/Header/MC/FilterGroup.hpp @@ -0,0 +1,45 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Json.hpp" +#include "FilterTest.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class FilterGroup { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_FILTERGROUP +public: + FilterGroup(class FilterGroup const &) = delete; + FilterGroup() = delete; +#endif + +public: + /*0*/ virtual ~FilterGroup(); + /*1*/ virtual class std::shared_ptr _createSubgroup(enum FilterGroup::CollectionType) const = 0; + /*2*/ virtual bool _setupContext(class FilterTest const &, struct FilterContext &) const; + /*3*/ virtual bool _handleUnknownMember(std::string const &, class Json::Value const &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_FILTERGROUP +#endif + MCAPI bool addFilterTest(struct FilterTest::Definition const &, struct FilterInputs const &); + MCAPI bool evaluate(class std::array &) const; + MCAPI class FilterGroup & operator=(class FilterGroup const &); + MCAPI bool parse(class Json::Value const &); + MCAPI void serialize(class Json::Value &) const; + +//protected: + MCAPI bool _parseFilterInputs(class Json::Value const &, struct FilterTest::Definition const &, struct FilterInputs &); + MCAPI bool _parseFilterParam(std::string const &, std::string const &, class Json::Value const &, struct FilterParamDefinition const &, class FilterInput &); + MCAPI bool _parseMember(std::string const &, class Json::Value const &); + MCAPI bool _parseObject(std::string const &, class Json::Value const &); + MCAPI bool _parseTest(class Json::Value const &); + +protected: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/FilterInput.hpp b/LiteLoader/Header/MC/FilterInput.hpp new file mode 100644 index 0000000..3e0312f --- /dev/null +++ b/LiteLoader/Header/MC/FilterInput.hpp @@ -0,0 +1,28 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class FilterInput { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_FILTERINPUT +public: + FilterInput() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_FILTERINPUT +#endif + MCAPI FilterInput(class FilterInput const &); + MCAPI class FilterInput & operator=(class FilterInput const &); + MCAPI class FilterInput & operator=(class FilterInput &&); + MCAPI ~FilterInput(); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/FilterInputDefinition.hpp b/LiteLoader/Header/MC/FilterInputDefinition.hpp new file mode 100644 index 0000000..e808b41 --- /dev/null +++ b/LiteLoader/Header/MC/FilterInputDefinition.hpp @@ -0,0 +1,27 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +struct FilterInputDefinition { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_FILTERINPUTDEFINITION +public: + struct FilterInputDefinition& operator=(struct FilterInputDefinition const &) = delete; + FilterInputDefinition(struct FilterInputDefinition const &) = delete; + FilterInputDefinition() = delete; +#endif +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_FILTERINPUTDEFINITION +#endif + MCAPI FilterInputDefinition(class FilterInput, std::string const &); + MCAPI ~FilterInputDefinition(); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/FilterInputs.hpp b/LiteLoader/Header/MC/FilterInputs.hpp new file mode 100644 index 0000000..241948a --- /dev/null +++ b/LiteLoader/Header/MC/FilterInputs.hpp @@ -0,0 +1,27 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +struct FilterInputs { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_FILTERINPUTS +public: + struct FilterInputs& operator=(struct FilterInputs const &) = delete; + FilterInputs(struct FilterInputs const &) = delete; + FilterInputs() = delete; +#endif +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_FILTERINPUTS +#endif + MCAPI FilterInputs(enum FilterSubject, class FilterInput, enum FilterOperator, class FilterInput); + MCAPI ~FilterInputs(); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/FilterList.hpp b/LiteLoader/Header/MC/FilterList.hpp new file mode 100644 index 0000000..662aa55 --- /dev/null +++ b/LiteLoader/Header/MC/FilterList.hpp @@ -0,0 +1,19 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "FilterTest.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +namespace FilterList { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA + MCAPI struct FilterTest::Definition const * findFilterDefinition(std::string const &); + MCAPI void initialize(); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/FilterParamDefinition.hpp b/LiteLoader/Header/MC/FilterParamDefinition.hpp new file mode 100644 index 0000000..f37ad1c --- /dev/null +++ b/LiteLoader/Header/MC/FilterParamDefinition.hpp @@ -0,0 +1,26 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +struct FilterParamDefinition { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_FILTERPARAMDEFINITION +public: + struct FilterParamDefinition& operator=(struct FilterParamDefinition const &) = delete; + FilterParamDefinition(struct FilterParamDefinition const &) = delete; + FilterParamDefinition() = delete; +#endif +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_FILTERPARAMDEFINITION +#endif + MCAPI FilterParamDefinition(enum FilterParamType, enum FilterParamRequirement, std::string, class FilterInput, struct FilterStringMap); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/FilterStringMap.hpp b/LiteLoader/Header/MC/FilterStringMap.hpp new file mode 100644 index 0000000..f268875 --- /dev/null +++ b/LiteLoader/Header/MC/FilterStringMap.hpp @@ -0,0 +1,27 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +struct FilterStringMap { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_FILTERSTRINGMAP +public: + struct FilterStringMap& operator=(struct FilterStringMap const &) = delete; + FilterStringMap(struct FilterStringMap const &) = delete; + FilterStringMap() = delete; +#endif +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_FILTERSTRINGMAP +#endif + MCAPI FilterStringMap(class std::initializer_list>); + MCAPI ~FilterStringMap(); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/FilterTest.hpp b/LiteLoader/Header/MC/FilterTest.hpp new file mode 100644 index 0000000..3fab27d --- /dev/null +++ b/LiteLoader/Header/MC/FilterTest.hpp @@ -0,0 +1,42 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Json.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class FilterTest { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_FILTERTEST +public: + class FilterTest& operator=(class FilterTest const &) = delete; + FilterTest(class FilterTest const &) = delete; + FilterTest() = delete; +#endif + +public: + /*0*/ virtual ~FilterTest(); + /*1*/ virtual bool setup(struct FilterTest::Definition const &, struct FilterInputs const &); + /*2*/ virtual bool evaluate(struct FilterContext const &) const = 0; + /*3*/ virtual void finalizeParsedValue(class IWorldRegistriesProvider &); + /*4*/ virtual class gsl::basic_string_span getName() const = 0; + /*5*/ virtual class Json::Value _serializeDomain() const; + /*6*/ virtual class Json::Value _serializeValue() const = 0; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_FILTERTEST +#endif + MCAPI class Json::Value serialize() const; + +//protected: + MCAPI bool _testValuesWithOperator(bool, bool) const; + MCAPI bool _testValuesWithOperator(int, int) const; + MCAPI bool _testValuesWithOperator(float, float) const; + +protected: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/FilterTestAltitude.hpp b/LiteLoader/Header/MC/FilterTestAltitude.hpp new file mode 100644 index 0000000..bcb4754 --- /dev/null +++ b/LiteLoader/Header/MC/FilterTestAltitude.hpp @@ -0,0 +1,31 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "FilterTest.hpp" +#include "Json.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class FilterTestAltitude : public FilterTest { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_FILTERTESTALTITUDE +public: + class FilterTestAltitude& operator=(class FilterTestAltitude const &) = delete; + FilterTestAltitude(class FilterTestAltitude const &) = delete; + FilterTestAltitude() = delete; +#endif + +public: + /*0*/ virtual ~FilterTestAltitude(); + /*2*/ virtual bool evaluate(struct FilterContext const &) const; + /*4*/ virtual class gsl::basic_string_span getName() const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_FILTERTESTALTITUDE +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/FilterTestBiome.hpp b/LiteLoader/Header/MC/FilterTestBiome.hpp new file mode 100644 index 0000000..7e5cfa7 --- /dev/null +++ b/LiteLoader/Header/MC/FilterTestBiome.hpp @@ -0,0 +1,31 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "FilterTest.hpp" +#include "Json.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class FilterTestBiome : public FilterTest { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_FILTERTESTBIOME +public: + class FilterTestBiome& operator=(class FilterTestBiome const &) = delete; + FilterTestBiome(class FilterTestBiome const &) = delete; + FilterTestBiome() = delete; +#endif + +public: + /*0*/ virtual ~FilterTestBiome(); + /*2*/ virtual bool evaluate(struct FilterContext const &) const; + /*4*/ virtual class gsl::basic_string_span getName() const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_FILTERTESTBIOME +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/FilterTestBiomeHasTag.hpp b/LiteLoader/Header/MC/FilterTestBiomeHasTag.hpp new file mode 100644 index 0000000..42ec3b4 --- /dev/null +++ b/LiteLoader/Header/MC/FilterTestBiomeHasTag.hpp @@ -0,0 +1,37 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "FilterTest.hpp" +#include "Json.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class FilterTestBiomeHasTag : public FilterTest { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_FILTERTESTBIOMEHASTAG +public: + class FilterTestBiomeHasTag& operator=(class FilterTestBiomeHasTag const &) = delete; + FilterTestBiomeHasTag(class FilterTestBiomeHasTag const &) = delete; + FilterTestBiomeHasTag() = delete; +#endif + +public: + /*0*/ virtual ~FilterTestBiomeHasTag(); + /*2*/ virtual bool evaluate(struct FilterContext const &) const; + /*3*/ virtual void finalizeParsedValue(class IWorldRegistriesProvider &); + /*4*/ virtual class gsl::basic_string_span getName() const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_FILTERTESTBIOMEHASTAG +#endif + +//private: + MCAPI bool _evalBiome(class Biome const &, struct FilterContext const &) const; + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/FilterTestBiomeHumid.hpp b/LiteLoader/Header/MC/FilterTestBiomeHumid.hpp new file mode 100644 index 0000000..5f853d7 --- /dev/null +++ b/LiteLoader/Header/MC/FilterTestBiomeHumid.hpp @@ -0,0 +1,31 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "FilterTest.hpp" +#include "Json.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class FilterTestBiomeHumid : public FilterTest { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_FILTERTESTBIOMEHUMID +public: + class FilterTestBiomeHumid& operator=(class FilterTestBiomeHumid const &) = delete; + FilterTestBiomeHumid(class FilterTestBiomeHumid const &) = delete; + FilterTestBiomeHumid() = delete; +#endif + +public: + /*0*/ virtual ~FilterTestBiomeHumid(); + /*2*/ virtual bool evaluate(struct FilterContext const &) const; + /*4*/ virtual class gsl::basic_string_span getName() const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_FILTERTESTBIOMEHUMID +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/FilterTestBiomeSnowCovered.hpp b/LiteLoader/Header/MC/FilterTestBiomeSnowCovered.hpp new file mode 100644 index 0000000..ee17ef1 --- /dev/null +++ b/LiteLoader/Header/MC/FilterTestBiomeSnowCovered.hpp @@ -0,0 +1,31 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "FilterTest.hpp" +#include "Json.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class FilterTestBiomeSnowCovered : public FilterTest { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_FILTERTESTBIOMESNOWCOVERED +public: + class FilterTestBiomeSnowCovered& operator=(class FilterTestBiomeSnowCovered const &) = delete; + FilterTestBiomeSnowCovered(class FilterTestBiomeSnowCovered const &) = delete; + FilterTestBiomeSnowCovered() = delete; +#endif + +public: + /*0*/ virtual ~FilterTestBiomeSnowCovered(); + /*2*/ virtual bool evaluate(struct FilterContext const &) const; + /*4*/ virtual class gsl::basic_string_span getName() const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_FILTERTESTBIOMESNOWCOVERED +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/FilterTestBrightness.hpp b/LiteLoader/Header/MC/FilterTestBrightness.hpp new file mode 100644 index 0000000..cd7e0b1 --- /dev/null +++ b/LiteLoader/Header/MC/FilterTestBrightness.hpp @@ -0,0 +1,31 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "FilterTest.hpp" +#include "Json.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class FilterTestBrightness : public FilterTest { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_FILTERTESTBRIGHTNESS +public: + class FilterTestBrightness& operator=(class FilterTestBrightness const &) = delete; + FilterTestBrightness(class FilterTestBrightness const &) = delete; + FilterTestBrightness() = delete; +#endif + +public: + /*0*/ virtual ~FilterTestBrightness(); + /*2*/ virtual bool evaluate(struct FilterContext const &) const; + /*4*/ virtual class gsl::basic_string_span getName() const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_FILTERTESTBRIGHTNESS +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/FilterTestClock.hpp b/LiteLoader/Header/MC/FilterTestClock.hpp new file mode 100644 index 0000000..3ed756d --- /dev/null +++ b/LiteLoader/Header/MC/FilterTestClock.hpp @@ -0,0 +1,31 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "FilterTest.hpp" +#include "Json.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class FilterTestClock : public FilterTest { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_FILTERTESTCLOCK +public: + class FilterTestClock& operator=(class FilterTestClock const &) = delete; + FilterTestClock(class FilterTestClock const &) = delete; + FilterTestClock() = delete; +#endif + +public: + /*0*/ virtual ~FilterTestClock(); + /*2*/ virtual bool evaluate(struct FilterContext const &) const; + /*4*/ virtual class gsl::basic_string_span getName() const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_FILTERTESTCLOCK +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/FilterTestDaytime.hpp b/LiteLoader/Header/MC/FilterTestDaytime.hpp new file mode 100644 index 0000000..9ce8cd2 --- /dev/null +++ b/LiteLoader/Header/MC/FilterTestDaytime.hpp @@ -0,0 +1,31 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "FilterTest.hpp" +#include "Json.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class FilterTestDaytime : public FilterTest { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_FILTERTESTDAYTIME +public: + class FilterTestDaytime& operator=(class FilterTestDaytime const &) = delete; + FilterTestDaytime(class FilterTestDaytime const &) = delete; + FilterTestDaytime() = delete; +#endif + +public: + /*0*/ virtual ~FilterTestDaytime(); + /*2*/ virtual bool evaluate(struct FilterContext const &) const; + /*4*/ virtual class gsl::basic_string_span getName() const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_FILTERTESTDAYTIME +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/FilterTestDifficulty.hpp b/LiteLoader/Header/MC/FilterTestDifficulty.hpp new file mode 100644 index 0000000..a565e64 --- /dev/null +++ b/LiteLoader/Header/MC/FilterTestDifficulty.hpp @@ -0,0 +1,31 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "FilterTest.hpp" +#include "Json.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class FilterTestDifficulty : public FilterTest { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_FILTERTESTDIFFICULTY +public: + class FilterTestDifficulty& operator=(class FilterTestDifficulty const &) = delete; + FilterTestDifficulty(class FilterTestDifficulty const &) = delete; + FilterTestDifficulty() = delete; +#endif + +public: + /*0*/ virtual ~FilterTestDifficulty(); + /*2*/ virtual bool evaluate(struct FilterContext const &) const; + /*4*/ virtual class gsl::basic_string_span getName() const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_FILTERTESTDIFFICULTY +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/FilterTestDimensionWeather.hpp b/LiteLoader/Header/MC/FilterTestDimensionWeather.hpp new file mode 100644 index 0000000..bc0f02d --- /dev/null +++ b/LiteLoader/Header/MC/FilterTestDimensionWeather.hpp @@ -0,0 +1,33 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "FilterTest.hpp" +#include "Json.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class FilterTestDimensionWeather : public FilterTest { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_FILTERTESTDIMENSIONWEATHER +public: + class FilterTestDimensionWeather& operator=(class FilterTestDimensionWeather const &) = delete; + FilterTestDimensionWeather(class FilterTestDimensionWeather const &) = delete; + FilterTestDimensionWeather() = delete; +#endif + +public: + /*0*/ virtual ~FilterTestDimensionWeather(); + /*1*/ virtual bool setup(struct FilterTest::Definition const &, struct FilterInputs const &); + /*2*/ virtual bool evaluate(struct FilterContext const &) const; + /*4*/ virtual class gsl::basic_string_span getName() const; + /*6*/ virtual class Json::Value _serializeValue() const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_FILTERTESTDIMENSIONWEATHER +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/FilterTestDistanceToNearestPlayer.hpp b/LiteLoader/Header/MC/FilterTestDistanceToNearestPlayer.hpp new file mode 100644 index 0000000..95a3542 --- /dev/null +++ b/LiteLoader/Header/MC/FilterTestDistanceToNearestPlayer.hpp @@ -0,0 +1,31 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "FilterTest.hpp" +#include "Json.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class FilterTestDistanceToNearestPlayer : public FilterTest { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_FILTERTESTDISTANCETONEARESTPLAYER +public: + class FilterTestDistanceToNearestPlayer& operator=(class FilterTestDistanceToNearestPlayer const &) = delete; + FilterTestDistanceToNearestPlayer(class FilterTestDistanceToNearestPlayer const &) = delete; + FilterTestDistanceToNearestPlayer() = delete; +#endif + +public: + /*0*/ virtual ~FilterTestDistanceToNearestPlayer(); + /*2*/ virtual bool evaluate(struct FilterContext const &) const; + /*4*/ virtual class gsl::basic_string_span getName() const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_FILTERTESTDISTANCETONEARESTPLAYER +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/FilterTestGameRule.hpp b/LiteLoader/Header/MC/FilterTestGameRule.hpp new file mode 100644 index 0000000..aae25d3 --- /dev/null +++ b/LiteLoader/Header/MC/FilterTestGameRule.hpp @@ -0,0 +1,33 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "FilterTest.hpp" +#include "Json.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class FilterTestGameRule : public FilterTest { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_FILTERTESTGAMERULE +public: + class FilterTestGameRule& operator=(class FilterTestGameRule const &) = delete; + FilterTestGameRule(class FilterTestGameRule const &) = delete; + FilterTestGameRule() = delete; +#endif + +public: + /*0*/ virtual ~FilterTestGameRule(); + /*1*/ virtual bool setup(struct FilterTest::Definition const &, struct FilterInputs const &); + /*2*/ virtual bool evaluate(struct FilterContext const &) const; + /*4*/ virtual class gsl::basic_string_span getName() const; + /*6*/ virtual class Json::Value _serializeValue() const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_FILTERTESTGAMERULE +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/FilterTestHasTradeSupply.hpp b/LiteLoader/Header/MC/FilterTestHasTradeSupply.hpp new file mode 100644 index 0000000..e486f61 --- /dev/null +++ b/LiteLoader/Header/MC/FilterTestHasTradeSupply.hpp @@ -0,0 +1,31 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "FilterTest.hpp" +#include "Json.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class FilterTestHasTradeSupply : public FilterTest { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_FILTERTESTHASTRADESUPPLY +public: + class FilterTestHasTradeSupply& operator=(class FilterTestHasTradeSupply const &) = delete; + FilterTestHasTradeSupply(class FilterTestHasTradeSupply const &) = delete; + FilterTestHasTradeSupply() = delete; +#endif + +public: + /*0*/ virtual ~FilterTestHasTradeSupply(); + /*2*/ virtual bool evaluate(struct FilterContext const &) const; + /*4*/ virtual class gsl::basic_string_span getName() const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_FILTERTESTHASTRADESUPPLY +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/FilterTestHourlyClock.hpp b/LiteLoader/Header/MC/FilterTestHourlyClock.hpp new file mode 100644 index 0000000..05b66c6 --- /dev/null +++ b/LiteLoader/Header/MC/FilterTestHourlyClock.hpp @@ -0,0 +1,32 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "FilterTest.hpp" +#include "Json.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class FilterTestHourlyClock : public FilterTest { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_FILTERTESTHOURLYCLOCK +public: + class FilterTestHourlyClock& operator=(class FilterTestHourlyClock const &) = delete; + FilterTestHourlyClock(class FilterTestHourlyClock const &) = delete; + FilterTestHourlyClock() = delete; +#endif + +public: + /*0*/ virtual ~FilterTestHourlyClock(); + /*1*/ virtual bool setup(struct FilterTest::Definition const &, struct FilterInputs const &); + /*2*/ virtual bool evaluate(struct FilterContext const &) const; + /*4*/ virtual class gsl::basic_string_span getName() const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_FILTERTESTHOURLYCLOCK +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/FilterTestLightLevel.hpp b/LiteLoader/Header/MC/FilterTestLightLevel.hpp new file mode 100644 index 0000000..12f6e2d --- /dev/null +++ b/LiteLoader/Header/MC/FilterTestLightLevel.hpp @@ -0,0 +1,31 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "FilterTest.hpp" +#include "Json.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class FilterTestLightLevel : public FilterTest { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_FILTERTESTLIGHTLEVEL +public: + class FilterTestLightLevel& operator=(class FilterTestLightLevel const &) = delete; + FilterTestLightLevel(class FilterTestLightLevel const &) = delete; + FilterTestLightLevel() = delete; +#endif + +public: + /*0*/ virtual ~FilterTestLightLevel(); + /*2*/ virtual bool evaluate(struct FilterContext const &) const; + /*4*/ virtual class gsl::basic_string_span getName() const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_FILTERTESTLIGHTLEVEL +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/FilterTestMoonIntensity.hpp b/LiteLoader/Header/MC/FilterTestMoonIntensity.hpp new file mode 100644 index 0000000..4a6d6a1 --- /dev/null +++ b/LiteLoader/Header/MC/FilterTestMoonIntensity.hpp @@ -0,0 +1,31 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "FilterTest.hpp" +#include "Json.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class FilterTestMoonIntensity : public FilterTest { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_FILTERTESTMOONINTENSITY +public: + class FilterTestMoonIntensity& operator=(class FilterTestMoonIntensity const &) = delete; + FilterTestMoonIntensity(class FilterTestMoonIntensity const &) = delete; + FilterTestMoonIntensity() = delete; +#endif + +public: + /*0*/ virtual ~FilterTestMoonIntensity(); + /*2*/ virtual bool evaluate(struct FilterContext const &) const; + /*4*/ virtual class gsl::basic_string_span getName() const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_FILTERTESTMOONINTENSITY +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/FilterTestMoonPhase.hpp b/LiteLoader/Header/MC/FilterTestMoonPhase.hpp new file mode 100644 index 0000000..65a1dc8 --- /dev/null +++ b/LiteLoader/Header/MC/FilterTestMoonPhase.hpp @@ -0,0 +1,31 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "FilterTest.hpp" +#include "Json.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class FilterTestMoonPhase : public FilterTest { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_FILTERTESTMOONPHASE +public: + class FilterTestMoonPhase& operator=(class FilterTestMoonPhase const &) = delete; + FilterTestMoonPhase(class FilterTestMoonPhase const &) = delete; + FilterTestMoonPhase() = delete; +#endif + +public: + /*0*/ virtual ~FilterTestMoonPhase(); + /*2*/ virtual bool evaluate(struct FilterContext const &) const; + /*4*/ virtual class gsl::basic_string_span getName() const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_FILTERTESTMOONPHASE +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/FilterTestTemperatureType.hpp b/LiteLoader/Header/MC/FilterTestTemperatureType.hpp new file mode 100644 index 0000000..aef0537 --- /dev/null +++ b/LiteLoader/Header/MC/FilterTestTemperatureType.hpp @@ -0,0 +1,31 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "FilterTest.hpp" +#include "Json.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class FilterTestTemperatureType : public FilterTest { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_FILTERTESTTEMPERATURETYPE +public: + class FilterTestTemperatureType& operator=(class FilterTestTemperatureType const &) = delete; + FilterTestTemperatureType(class FilterTestTemperatureType const &) = delete; + FilterTestTemperatureType() = delete; +#endif + +public: + /*0*/ virtual ~FilterTestTemperatureType(); + /*2*/ virtual bool evaluate(struct FilterContext const &) const; + /*4*/ virtual class gsl::basic_string_span getName() const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_FILTERTESTTEMPERATURETYPE +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/FilterTestTemperatureValue.hpp b/LiteLoader/Header/MC/FilterTestTemperatureValue.hpp new file mode 100644 index 0000000..a33f63b --- /dev/null +++ b/LiteLoader/Header/MC/FilterTestTemperatureValue.hpp @@ -0,0 +1,31 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "FilterTest.hpp" +#include "Json.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class FilterTestTemperatureValue : public FilterTest { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_FILTERTESTTEMPERATUREVALUE +public: + class FilterTestTemperatureValue& operator=(class FilterTestTemperatureValue const &) = delete; + FilterTestTemperatureValue(class FilterTestTemperatureValue const &) = delete; + FilterTestTemperatureValue() = delete; +#endif + +public: + /*0*/ virtual ~FilterTestTemperatureValue(); + /*2*/ virtual bool evaluate(struct FilterContext const &) const; + /*4*/ virtual class gsl::basic_string_span getName() const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_FILTERTESTTEMPERATUREVALUE +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/FindActorDefinition.hpp b/LiteLoader/Header/MC/FindActorDefinition.hpp new file mode 100644 index 0000000..7c7a932 --- /dev/null +++ b/LiteLoader/Header/MC/FindActorDefinition.hpp @@ -0,0 +1,30 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Json.hpp" +#include "BehaviorDefinition.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class FindActorDefinition : public BehaviorDefinition { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_FINDACTORDEFINITION +public: + class FindActorDefinition& operator=(class FindActorDefinition const &) = delete; + FindActorDefinition(class FindActorDefinition const &) = delete; + FindActorDefinition() = delete; +#endif + +public: + /*0*/ virtual ~FindActorDefinition(); + /*1*/ virtual void load(class Json::Value, class BehaviorFactory const &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_FINDACTORDEFINITION +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/FindActorNode.hpp b/LiteLoader/Header/MC/FindActorNode.hpp new file mode 100644 index 0000000..94cfe3e --- /dev/null +++ b/LiteLoader/Header/MC/FindActorNode.hpp @@ -0,0 +1,29 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class FindActorNode { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_FINDACTORNODE +public: + class FindActorNode& operator=(class FindActorNode const &) = delete; + FindActorNode(class FindActorNode const &) = delete; + FindActorNode() = delete; +#endif + +public: + /*0*/ virtual ~FindActorNode(); + /*1*/ virtual enum BehaviorStatus tick(class Actor &); + /*2*/ virtual void initializeFromDefinition(class Actor &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_FINDACTORNODE +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/FindBlockDefinition.hpp b/LiteLoader/Header/MC/FindBlockDefinition.hpp new file mode 100644 index 0000000..0e75285 --- /dev/null +++ b/LiteLoader/Header/MC/FindBlockDefinition.hpp @@ -0,0 +1,30 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Json.hpp" +#include "BehaviorDefinition.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class FindBlockDefinition : public BehaviorDefinition { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_FINDBLOCKDEFINITION +public: + class FindBlockDefinition& operator=(class FindBlockDefinition const &) = delete; + FindBlockDefinition(class FindBlockDefinition const &) = delete; + FindBlockDefinition() = delete; +#endif + +public: + /*0*/ virtual ~FindBlockDefinition(); + /*1*/ virtual void load(class Json::Value, class BehaviorFactory const &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_FINDBLOCKDEFINITION +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/FindBlockNode.hpp b/LiteLoader/Header/MC/FindBlockNode.hpp new file mode 100644 index 0000000..082d116 --- /dev/null +++ b/LiteLoader/Header/MC/FindBlockNode.hpp @@ -0,0 +1,29 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class FindBlockNode { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_FINDBLOCKNODE +public: + class FindBlockNode& operator=(class FindBlockNode const &) = delete; + FindBlockNode(class FindBlockNode const &) = delete; + FindBlockNode() = delete; +#endif + +public: + /*0*/ virtual ~FindBlockNode(); + /*1*/ virtual enum BehaviorStatus tick(class Actor &); + /*2*/ virtual void initializeFromDefinition(class Actor &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_FINDBLOCKNODE +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/FindCoverGoal.hpp b/LiteLoader/Header/MC/FindCoverGoal.hpp new file mode 100644 index 0000000..40b7998 --- /dev/null +++ b/LiteLoader/Header/MC/FindCoverGoal.hpp @@ -0,0 +1,39 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class FindCoverGoal { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_FINDCOVERGOAL +public: + class FindCoverGoal& operator=(class FindCoverGoal const &) = delete; + FindCoverGoal(class FindCoverGoal const &) = delete; + FindCoverGoal() = delete; +#endif + +public: + /*0*/ virtual ~FindCoverGoal(); + /*1*/ virtual bool canUse(); + /*2*/ virtual bool canContinueToUse(); + /*3*/ virtual void __unk_vfn_3(); + /*4*/ virtual void start(); + /*5*/ virtual void stop(); + /*6*/ virtual void __unk_vfn_6(); + /*7*/ virtual void appendDebugInfo(std::string &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_FINDCOVERGOAL +#endif + +//private: + MCAPI bool getHidePos(class Vec3 &) const; + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/FindMountGoal.hpp b/LiteLoader/Header/MC/FindMountGoal.hpp new file mode 100644 index 0000000..b4099bc --- /dev/null +++ b/LiteLoader/Header/MC/FindMountGoal.hpp @@ -0,0 +1,35 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class FindMountGoal { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_FINDMOUNTGOAL +public: + class FindMountGoal& operator=(class FindMountGoal const &) = delete; + FindMountGoal(class FindMountGoal const &) = delete; + FindMountGoal() = delete; +#endif + +public: + /*0*/ virtual ~FindMountGoal(); + /*1*/ virtual bool canUse(); + /*2*/ virtual bool canContinueToUse(); + /*3*/ virtual void __unk_vfn_3(); + /*4*/ virtual void start(); + /*5*/ virtual void stop(); + /*6*/ virtual void tick(); + /*7*/ virtual void appendDebugInfo(std::string &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_FINDMOUNTGOAL +#endif + MCAPI bool isInMountRange(); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/FindUnderwaterTreasureGoal.hpp b/LiteLoader/Header/MC/FindUnderwaterTreasureGoal.hpp new file mode 100644 index 0000000..bd7ac4b --- /dev/null +++ b/LiteLoader/Header/MC/FindUnderwaterTreasureGoal.hpp @@ -0,0 +1,34 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class FindUnderwaterTreasureGoal { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_FINDUNDERWATERTREASUREGOAL +public: + class FindUnderwaterTreasureGoal& operator=(class FindUnderwaterTreasureGoal const &) = delete; + FindUnderwaterTreasureGoal(class FindUnderwaterTreasureGoal const &) = delete; + FindUnderwaterTreasureGoal() = delete; +#endif + +public: + /*0*/ virtual ~FindUnderwaterTreasureGoal(); + /*1*/ virtual bool canUse(); + /*2*/ virtual bool canContinueToUse(); + /*3*/ virtual bool canBeInterrupted(); + /*4*/ virtual void start(); + /*5*/ virtual void stop(); + /*6*/ virtual void tick(); + /*7*/ virtual void appendDebugInfo(std::string &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_FINDUNDERWATERTREASUREGOAL +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/FireBlock.hpp b/LiteLoader/Header/MC/FireBlock.hpp new file mode 100644 index 0000000..e1852b7 --- /dev/null +++ b/LiteLoader/Header/MC/FireBlock.hpp @@ -0,0 +1,79 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "BlockLegacy.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class FireBlock : public BlockLegacy { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_FIREBLOCK +public: + class FireBlock& operator=(class FireBlock const &) = delete; + FireBlock(class FireBlock const &) = delete; + FireBlock() = delete; +#endif + +public: + /*0*/ virtual ~FireBlock(); + /*1*/ virtual void tick(class BlockSource &, class BlockPos const &, class Random &) const; + /*10*/ virtual class AABB const & getAABB(class BlockSource &, class BlockPos const &, class Block const &, class AABB &, bool) const; + /*18*/ virtual void __unk_vfn_18(); + /*24*/ virtual void __unk_vfn_24(); + /*25*/ virtual void __unk_vfn_25(); + /*26*/ virtual void __unk_vfn_26(); + /*27*/ virtual void __unk_vfn_27(); + /*28*/ virtual void __unk_vfn_28(); + /*30*/ virtual void __unk_vfn_30(); + /*31*/ virtual void __unk_vfn_31(); + /*32*/ virtual void __unk_vfn_32(); + /*33*/ virtual void __unk_vfn_33(); + /*34*/ virtual void __unk_vfn_34(); + /*35*/ virtual void __unk_vfn_35(); + /*36*/ virtual void __unk_vfn_36(); + /*38*/ virtual void __unk_vfn_38(); + /*39*/ virtual void __unk_vfn_39(); + /*40*/ virtual void __unk_vfn_40(); + /*42*/ virtual void __unk_vfn_42(); + /*43*/ virtual void __unk_vfn_43(); + /*49*/ virtual void __unk_vfn_49(); + /*50*/ virtual bool canContainLiquid() const; + /*52*/ virtual void __unk_vfn_52(); + /*59*/ virtual void onPlace(class BlockSource &, class BlockPos const &) const; + /*67*/ virtual void __unk_vfn_67(); + /*73*/ virtual void __unk_vfn_73(); + /*78*/ virtual bool mayPick() const; + /*81*/ virtual bool mayPlace(class BlockSource &, class BlockPos const &) const; + /*87*/ virtual void __unk_vfn_87(); + /*88*/ virtual void neighborChanged(class BlockSource &, class BlockPos const &, class BlockPos const &) const; + /*90*/ virtual int getResourceCount(class Random &, class Block const &, int, bool) const; + /*95*/ virtual void __unk_vfn_95(); + /*109*/ virtual void __unk_vfn_109(); + /*116*/ virtual void __unk_vfn_116(); + /*118*/ virtual void __unk_vfn_118(); + /*119*/ virtual void __unk_vfn_119(); + /*142*/ virtual void __unk_vfn_142(); + /*146*/ virtual void animateTick(class BlockSource &, class BlockPos const &, class Random &) const; + /*158*/ virtual void __unk_vfn_158(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_FIREBLOCK + MCVAPI bool canBeSilkTouched() const; + MCVAPI bool waterSpreadCausesSpawn() const; +#endif + MCAPI static bool isSolidToppedBlock(class BlockSource &, class BlockPos const &); + MCAPI static void registerFlammableBlocks(); + +//private: + MCAPI bool _trySpawnBlueFire(class BlockSource &, class BlockPos const &) const; + MCAPI void checkBurn(class BlockSource &, class BlockPos const &, int, class Random &, int) const; + MCAPI float getFireOdds(class BlockSource &, class BlockPos const &) const; + MCAPI bool isValidFireLocation(class BlockSource &, class BlockPos const &) const; + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/FireChargeItem.hpp b/LiteLoader/Header/MC/FireChargeItem.hpp new file mode 100644 index 0000000..e0c3bb1 --- /dev/null +++ b/LiteLoader/Header/MC/FireChargeItem.hpp @@ -0,0 +1,48 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Item.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class FireChargeItem : public Item { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_FIRECHARGEITEM +public: + class FireChargeItem& operator=(class FireChargeItem const &) = delete; + FireChargeItem(class FireChargeItem const &) = delete; + FireChargeItem() = delete; +#endif + +public: + /*0*/ virtual ~FireChargeItem(); + /*5*/ virtual void __unk_vfn_5(); + /*26*/ virtual void __unk_vfn_26(); + /*27*/ virtual void __unk_vfn_27(); + /*31*/ virtual void __unk_vfn_31(); + /*32*/ virtual void __unk_vfn_32(); + /*34*/ virtual void __unk_vfn_34(); + /*35*/ virtual bool isDestructive(int) const; + /*37*/ virtual void __unk_vfn_37(); + /*43*/ virtual void __unk_vfn_43(); + /*46*/ virtual void __unk_vfn_46(); + /*47*/ virtual void __unk_vfn_47(); + /*49*/ virtual void __unk_vfn_49(); + /*50*/ virtual void __unk_vfn_50(); + /*57*/ virtual bool dispense(class BlockSource &, class Container &, int, class Vec3 const &, unsigned char) const; + /*79*/ virtual void __unk_vfn_79(); + /*80*/ virtual void __unk_vfn_80(); + /*90*/ virtual void __unk_vfn_90(); + /*96*/ virtual bool _calculatePlacePos(class ItemStack &, class Actor &, unsigned char &, class BlockPos &) const; + /*97*/ virtual void __unk_vfn_97(); + /*99*/ virtual bool _useOn(class ItemStack &, class Actor &, class BlockPos, unsigned char, float, float, float) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_FIRECHARGEITEM +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/FireImmuneDescription.hpp b/LiteLoader/Header/MC/FireImmuneDescription.hpp new file mode 100644 index 0000000..ce18a77 --- /dev/null +++ b/LiteLoader/Header/MC/FireImmuneDescription.hpp @@ -0,0 +1,28 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +struct FireImmuneDescription { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_FIREIMMUNEDESCRIPTION +public: + struct FireImmuneDescription& operator=(struct FireImmuneDescription const &) = delete; + FireImmuneDescription(struct FireImmuneDescription const &) = delete; + FireImmuneDescription() = delete; +#endif +public: + /*0*/ virtual char const * getJsonName() const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_FIREIMMUNEDESCRIPTION + MCVAPI void deserializeData(class Json::Value &); + MCVAPI void serializeData(class Json::Value &) const; +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/Fireball.hpp b/LiteLoader/Header/MC/Fireball.hpp new file mode 100644 index 0000000..e1dc40f --- /dev/null +++ b/LiteLoader/Header/MC/Fireball.hpp @@ -0,0 +1,68 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Actor.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class Fireball : public Actor { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_FIREBALL +public: + class Fireball& operator=(class Fireball const &) = delete; + Fireball(class Fireball const &) = delete; + Fireball() = delete; +#endif + +public: + /*7*/ virtual ~Fireball(); + /*30*/ virtual void __unk_vfn_30(); + /*36*/ virtual void lerpTo(class Vec3 const &, class Vec2 const &, int); + /*39*/ virtual void normalTick(); + /*54*/ virtual void __unk_vfn_54(); + /*61*/ virtual void __unk_vfn_61(); + /*73*/ virtual float getShadowHeightOffs(); + /*76*/ virtual void __unk_vfn_76(); + /*80*/ virtual float getBrightness(float) const; + /*81*/ virtual void __unk_vfn_81(); + /*87*/ virtual bool isPickable(); + /*88*/ virtual void __unk_vfn_88(); + /*90*/ virtual void __unk_vfn_90(); + /*98*/ virtual void __unk_vfn_98(); + /*100*/ virtual void __unk_vfn_100(); + /*121*/ virtual void __unk_vfn_121(); + /*133*/ virtual float getPickRadius(); + /*161*/ virtual struct ActorUniqueID getSourceUniqueID() const; + /*169*/ virtual void __unk_vfn_169(); + /*182*/ virtual void __unk_vfn_182(); + /*206*/ virtual void __unk_vfn_206(); + /*207*/ virtual void __unk_vfn_207(); + /*228*/ virtual void __unk_vfn_228(); + /*231*/ virtual void __unk_vfn_231(); + /*238*/ virtual void __unk_vfn_238(); + /*242*/ virtual void readAdditionalSaveData(class CompoundTag const &, class DataLoadHelper &); + /*243*/ virtual void addAdditionalSaveData(class CompoundTag &); + /*246*/ virtual void __unk_vfn_246(); + /*257*/ virtual void __unk_vfn_257(); + /*258*/ virtual float getInertia(); + /*259*/ virtual void __unk_vfn_259(); + /*260*/ virtual enum ParticleType getTrailParticle(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_FIREBALL + MCVAPI bool canMakeStepSound() const; + MCVAPI void onHit(class HitResult const &); + MCVAPI bool shouldBurn(); +#endif + MCAPI Fireball(class ActorDefinitionGroup *, struct ActorDefinitionIdentifier const &); + +//private: + MCAPI void _setPower(class Vec3 const &); + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/FireworkChargeItem.hpp b/LiteLoader/Header/MC/FireworkChargeItem.hpp new file mode 100644 index 0000000..6454a06 --- /dev/null +++ b/LiteLoader/Header/MC/FireworkChargeItem.hpp @@ -0,0 +1,64 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Item.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class FireworkChargeItem : public Item { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_FIREWORKCHARGEITEM +public: + class FireworkChargeItem& operator=(class FireworkChargeItem const &) = delete; + FireworkChargeItem(class FireworkChargeItem const &) = delete; + FireworkChargeItem() = delete; +#endif + +public: + /*0*/ virtual ~FireworkChargeItem(); + /*5*/ virtual void __unk_vfn_5(); + /*26*/ virtual void __unk_vfn_26(); + /*27*/ virtual void __unk_vfn_27(); + /*31*/ virtual void __unk_vfn_31(); + /*32*/ virtual void __unk_vfn_32(); + /*34*/ virtual void __unk_vfn_34(); + /*37*/ virtual void __unk_vfn_37(); + /*38*/ virtual void appendFormattedHovertext(class ItemStackBase const &, class Level &, std::string &, bool) const; + /*43*/ virtual void __unk_vfn_43(); + /*46*/ virtual void __unk_vfn_46(); + /*47*/ virtual void __unk_vfn_47(); + /*48*/ virtual class Color getColor(class CompoundTag const *, class ItemDescriptor const &) const; + /*49*/ virtual void __unk_vfn_49(); + /*50*/ virtual void __unk_vfn_50(); + /*53*/ virtual bool isTintable() const; + /*79*/ virtual void __unk_vfn_79(); + /*80*/ virtual void __unk_vfn_80(); + /*81*/ virtual bool isSameItem(class ItemStackBase const &, class ItemStackBase const &) const; + /*90*/ virtual void __unk_vfn_90(); + /*97*/ virtual void __unk_vfn_97(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_FIREWORKCHARGEITEM +#endif + MCAPI void setColor(class ItemInstance &) const; + MCAPI void setColor(class ItemStack &) const; + MCAPI static std::string const TAG_EXPLOSION; + MCAPI static std::string const TAG_E_COLORS; + MCAPI static std::string const TAG_E_FADECOLORS; + MCAPI static std::string const TAG_E_FLICKER; + MCAPI static std::string const TAG_E_TRAIL; + MCAPI static std::string const TAG_E_TYPE; + MCAPI static void getFormattedHoverText(class CompoundTag const &, std::string &, std::string const &); + MCAPI static class ItemInstance const & initFireworkChargeItem(class ItemInstance &, enum FireworkChargeItem::Shape, std::vector, std::vector, bool, bool); + MCAPI static class ItemStack const & initFireworkChargeItem(class ItemStack &, enum FireworkChargeItem::Shape, std::vector, std::vector, bool, bool); + +//private: + MCAPI static void appendColors(std::string &, std::vector); + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/FireworksItem.hpp b/LiteLoader/Header/MC/FireworksItem.hpp new file mode 100644 index 0000000..4551f74 --- /dev/null +++ b/LiteLoader/Header/MC/FireworksItem.hpp @@ -0,0 +1,54 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Item.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class FireworksItem : public Item { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_FIREWORKSITEM +public: + class FireworksItem& operator=(class FireworksItem const &) = delete; + FireworksItem(class FireworksItem const &) = delete; + FireworksItem() = delete; +#endif + +public: + /*0*/ virtual ~FireworksItem(); + /*5*/ virtual void __unk_vfn_5(); + /*26*/ virtual void __unk_vfn_26(); + /*27*/ virtual void __unk_vfn_27(); + /*31*/ virtual void __unk_vfn_31(); + /*32*/ virtual void __unk_vfn_32(); + /*34*/ virtual void __unk_vfn_34(); + /*35*/ virtual bool isDestructive(int) const; + /*37*/ virtual void __unk_vfn_37(); + /*38*/ virtual void appendFormattedHovertext(class ItemStackBase const &, class Level &, std::string &, bool) const; + /*43*/ virtual void __unk_vfn_43(); + /*46*/ virtual void __unk_vfn_46(); + /*47*/ virtual void __unk_vfn_47(); + /*49*/ virtual void __unk_vfn_49(); + /*50*/ virtual void __unk_vfn_50(); + /*56*/ virtual class ItemStack & use(class ItemStack &, class Player &) const; + /*57*/ virtual bool dispense(class BlockSource &, class Container &, int, class Vec3 const &, unsigned char) const; + /*79*/ virtual void __unk_vfn_79(); + /*80*/ virtual void __unk_vfn_80(); + /*90*/ virtual void __unk_vfn_90(); + /*97*/ virtual void __unk_vfn_97(); + /*99*/ virtual bool _useOn(class ItemStack &, class Actor &, class BlockPos, unsigned char, float, float, float) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_FIREWORKSITEM +#endif + MCAPI static std::string const TAG_EXPLOSIONS; + MCAPI static std::string const TAG_E_FLIGHT; + MCAPI static std::string const TAG_FIREWORKS; + MCAPI static class ItemInstance const & initFireworksRocketItem(class ItemInstance &, std::vector const &, int); + MCAPI static class ItemStack const & initFireworksRocketItem(class ItemStack &, std::vector const &, int); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/FireworksRecipe.hpp b/LiteLoader/Header/MC/FireworksRecipe.hpp new file mode 100644 index 0000000..5193c1b --- /dev/null +++ b/LiteLoader/Header/MC/FireworksRecipe.hpp @@ -0,0 +1,38 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Recipe.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class FireworksRecipe : public Recipe { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_FIREWORKSRECIPE +public: + class FireworksRecipe& operator=(class FireworksRecipe const &) = delete; + FireworksRecipe(class FireworksRecipe const &) = delete; + FireworksRecipe() = delete; +#endif + +public: + /*0*/ virtual ~FireworksRecipe(); + /*1*/ virtual std::vector const & assemble(class CraftingContainer &) const; + /*2*/ virtual int getCraftingSize() const; + /*3*/ virtual class RecipeIngredient const & getIngredient(int, int) const; + /*4*/ virtual std::vector const & getResultItem() const; + /*5*/ virtual bool isShapeless() const; + /*6*/ virtual bool matches(class CraftingContainer &, class Level &) const; + /*7*/ virtual int size() const; + /*8*/ virtual bool isExperimental() const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_FIREWORKSRECIPE +#endif + MCAPI FireworksRecipe(std::string, class mce::UUID const *); + MCAPI static class mce::UUID ID; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/FireworksRocketActor.hpp b/LiteLoader/Header/MC/FireworksRocketActor.hpp new file mode 100644 index 0000000..49ecb08 --- /dev/null +++ b/LiteLoader/Header/MC/FireworksRocketActor.hpp @@ -0,0 +1,62 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Actor.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class FireworksRocketActor : public Actor { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_FIREWORKSROCKETACTOR +public: + class FireworksRocketActor& operator=(class FireworksRocketActor const &) = delete; + FireworksRocketActor(class FireworksRocketActor const &) = delete; + FireworksRocketActor() = delete; +#endif + +public: + /*7*/ virtual ~FireworksRocketActor(); + /*30*/ virtual void __unk_vfn_30(); + /*37*/ virtual void lerpMotion(class Vec3 const &); + /*39*/ virtual void normalTick(); + /*54*/ virtual void __unk_vfn_54(); + /*61*/ virtual void __unk_vfn_61(); + /*74*/ virtual float getShadowRadius() const; + /*76*/ virtual void __unk_vfn_76(); + /*81*/ virtual void __unk_vfn_81(); + /*88*/ virtual void __unk_vfn_88(); + /*90*/ virtual void __unk_vfn_90(); + /*98*/ virtual void __unk_vfn_98(); + /*100*/ virtual void __unk_vfn_100(); + /*121*/ virtual void __unk_vfn_121(); + /*132*/ virtual void handleEntityEvent(enum ActorEvent, int); + /*169*/ virtual void __unk_vfn_169(); + /*177*/ virtual void onSynchedDataUpdate(int); + /*182*/ virtual void __unk_vfn_182(); + /*206*/ virtual void __unk_vfn_206(); + /*207*/ virtual void __unk_vfn_207(); + /*228*/ virtual void __unk_vfn_228(); + /*231*/ virtual void __unk_vfn_231(); + /*238*/ virtual void __unk_vfn_238(); + /*242*/ virtual void readAdditionalSaveData(class CompoundTag const &, class DataLoadHelper &); + /*243*/ virtual void addAdditionalSaveData(class CompoundTag &); + /*246*/ virtual void __unk_vfn_246(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_FIREWORKSROCKETACTOR +#endif + MCAPI FireworksRocketActor(class ActorDefinitionGroup *, struct ActorDefinitionIdentifier const &); + MCAPI void init(class Level &, class Vec3 const &, class CompoundTag const &, class Vec3 const &, struct ActorUniqueID, bool); + +//private: + MCAPI void checkAchievement() const; + MCAPI void dealExplosionDamage(); + MCAPI void initTagData(class Random &); + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/Fish.hpp b/LiteLoader/Header/MC/Fish.hpp new file mode 100644 index 0000000..3b19c76 --- /dev/null +++ b/LiteLoader/Header/MC/Fish.hpp @@ -0,0 +1,57 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Actor.hpp" +#include "WaterAnimal.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class Fish : public WaterAnimal { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_FISH +public: + class Fish& operator=(class Fish const &) = delete; + Fish(class Fish const &) = delete; + Fish() = delete; +#endif + +public: + /*3*/ virtual void initializeComponents(enum Actor::InitializationMethod, class VariantParameterList const &); + /*7*/ virtual ~Fish(); + /*30*/ virtual void __unk_vfn_30(); + /*39*/ virtual void normalTick(); + /*44*/ virtual bool startRiding(class Actor &); + /*54*/ virtual void __unk_vfn_54(); + /*61*/ virtual void __unk_vfn_61(); + /*76*/ virtual void __unk_vfn_76(); + /*81*/ virtual void __unk_vfn_81(); + /*82*/ virtual void playerTouch(class Player &); + /*88*/ virtual void __unk_vfn_88(); + /*90*/ virtual void __unk_vfn_90(); + /*98*/ virtual void __unk_vfn_98(); + /*100*/ virtual void __unk_vfn_100(); + /*121*/ virtual void __unk_vfn_121(); + /*169*/ virtual void __unk_vfn_169(); + /*182*/ virtual void __unk_vfn_182(); + /*206*/ virtual void __unk_vfn_206(); + /*207*/ virtual void __unk_vfn_207(); + /*228*/ virtual void __unk_vfn_228(); + /*231*/ virtual void __unk_vfn_231(); + /*235*/ virtual void updateEntitySpecificMolangVariables(class RenderParams &); + /*238*/ virtual void __unk_vfn_238(); + /*246*/ virtual void __unk_vfn_246(); + /*257*/ virtual void __unk_vfn_257(); + /*290*/ virtual void __unk_vfn_290(); + /*300*/ virtual void __unk_vfn_300(); + /*324*/ virtual bool createAIGoals(); + /*332*/ virtual void __unk_vfn_332(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_FISH +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/FishingEnchant.hpp b/LiteLoader/Header/MC/FishingEnchant.hpp new file mode 100644 index 0000000..250ddd8 --- /dev/null +++ b/LiteLoader/Header/MC/FishingEnchant.hpp @@ -0,0 +1,31 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Enchant.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class FishingEnchant : public Enchant { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_FISHINGENCHANT +public: + class FishingEnchant& operator=(class FishingEnchant const &) = delete; + FishingEnchant(class FishingEnchant const &) = delete; + FishingEnchant() = delete; +#endif + +public: + /*0*/ virtual ~FishingEnchant(); + /*2*/ virtual int getMinCost(int) const; + /*3*/ virtual int getMaxCost(int) const; + /*5*/ virtual int getMaxLevel() const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_FISHINGENCHANT +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/FishingHook.hpp b/LiteLoader/Header/MC/FishingHook.hpp new file mode 100644 index 0000000..6e3fbf2 --- /dev/null +++ b/LiteLoader/Header/MC/FishingHook.hpp @@ -0,0 +1,70 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Actor.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class FishingHook : public Actor { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_FISHINGHOOK +public: + class FishingHook& operator=(class FishingHook const &) = delete; + FishingHook(class FishingHook const &) = delete; + FishingHook() = delete; +#endif + +public: + /*1*/ virtual void reloadHardcoded(enum Actor::InitializationMethod, class VariantParameterList const &); + /*7*/ virtual ~FishingHook(); + /*30*/ virtual void __unk_vfn_30(); + /*36*/ virtual void lerpTo(class Vec3 const &, class Vec2 const &, int); + /*39*/ virtual void normalTick(); + /*54*/ virtual void __unk_vfn_54(); + /*61*/ virtual void __unk_vfn_61(); + /*74*/ virtual float getShadowRadius() const; + /*76*/ virtual void __unk_vfn_76(); + /*81*/ virtual void __unk_vfn_81(); + /*88*/ virtual void __unk_vfn_88(); + /*90*/ virtual void __unk_vfn_90(); + /*98*/ virtual void __unk_vfn_98(); + /*100*/ virtual void __unk_vfn_100(); + /*121*/ virtual void __unk_vfn_121(); + /*132*/ virtual void handleEntityEvent(enum ActorEvent, int); + /*155*/ virtual bool save(class CompoundTag &); + /*161*/ virtual struct ActorUniqueID getSourceUniqueID() const; + /*169*/ virtual void __unk_vfn_169(); + /*182*/ virtual void __unk_vfn_182(); + /*206*/ virtual void __unk_vfn_206(); + /*207*/ virtual void __unk_vfn_207(); + /*228*/ virtual void __unk_vfn_228(); + /*231*/ virtual void __unk_vfn_231(); + /*238*/ virtual void __unk_vfn_238(); + /*246*/ virtual void __unk_vfn_246(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_FISHINGHOOK +#endif + MCAPI class Actor * getOwner(); + MCAPI class Actor * getTarget(); + MCAPI int retrieve(); + +//protected: + MCAPI void _fishPosEvent(); + MCAPI void _fishTeaseEvent(); + MCAPI void _fishhookEvent(); + MCAPI int _getServerFishSpeed(); + MCAPI float _getWaterPercentage(); + MCAPI class HitResult _hitCheck(); + MCAPI void _pullCloser(class Actor &, float); + MCAPI bool _serverHooked(); + MCAPI bool _serverLured(); + MCAPI void _updateGravity(); + +protected: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/FishingRodItem.hpp b/LiteLoader/Header/MC/FishingRodItem.hpp new file mode 100644 index 0000000..409a330 --- /dev/null +++ b/LiteLoader/Header/MC/FishingRodItem.hpp @@ -0,0 +1,55 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Item.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class FishingRodItem : public Item { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_FISHINGRODITEM +public: + class FishingRodItem& operator=(class FishingRodItem const &) = delete; + FishingRodItem(class FishingRodItem const &) = delete; + FishingRodItem() = delete; +#endif + +public: + /*0*/ virtual ~FishingRodItem(); + /*5*/ virtual void __unk_vfn_5(); + /*25*/ virtual bool isHandEquipped() const; + /*26*/ virtual void __unk_vfn_26(); + /*27*/ virtual void __unk_vfn_27(); + /*31*/ virtual void __unk_vfn_31(); + /*32*/ virtual void __unk_vfn_32(); + /*34*/ virtual void __unk_vfn_34(); + /*37*/ virtual void __unk_vfn_37(); + /*40*/ virtual int getEnchantSlot() const; + /*41*/ virtual int getEnchantValue() const; + /*43*/ virtual void __unk_vfn_43(); + /*46*/ virtual void __unk_vfn_46(); + /*47*/ virtual void __unk_vfn_47(); + /*49*/ virtual void __unk_vfn_49(); + /*50*/ virtual void __unk_vfn_50(); + /*56*/ virtual class ItemStack & use(class ItemStack &, class Player &) const; + /*62*/ virtual void hurtEnemy(class ItemStack &, class Mob *, class Mob *) const; + /*64*/ virtual bool mineBlock(class ItemStack &, class Block const &, int, int, int, class Actor *) const; + /*79*/ virtual void __unk_vfn_79(); + /*80*/ virtual void __unk_vfn_80(); + /*82*/ virtual std::string getInteractText(class Player const &) const; + /*83*/ virtual int getAnimationFrameFor(class Mob *, bool, class ItemStack const *, bool) const; + /*85*/ virtual struct TextureUVCoordinateSet const & getIcon(class ItemStackBase const &, int, bool) const; + /*87*/ virtual class Item & setIcon(std::string const &, int); + /*90*/ virtual void __unk_vfn_90(); + /*97*/ virtual void __unk_vfn_97(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_FISHINGRODITEM + MCVAPI bool requiresInteract() const; +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/FitDoubleXRoom.hpp b/LiteLoader/Header/MC/FitDoubleXRoom.hpp new file mode 100644 index 0000000..f8af848 --- /dev/null +++ b/LiteLoader/Header/MC/FitDoubleXRoom.hpp @@ -0,0 +1,29 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class FitDoubleXRoom { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_FITDOUBLEXROOM +public: + class FitDoubleXRoom& operator=(class FitDoubleXRoom const &) = delete; + FitDoubleXRoom(class FitDoubleXRoom const &) = delete; + FitDoubleXRoom() = delete; +#endif + +public: + /*0*/ virtual ~FitDoubleXRoom(); + /*1*/ virtual bool fits(class RoomDefinition const &) const; + /*2*/ virtual std::unique_ptr create(int &, class std::shared_ptr, class Random &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_FITDOUBLEXROOM +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/FitDoubleXYRoom.hpp b/LiteLoader/Header/MC/FitDoubleXYRoom.hpp new file mode 100644 index 0000000..73e984c --- /dev/null +++ b/LiteLoader/Header/MC/FitDoubleXYRoom.hpp @@ -0,0 +1,29 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class FitDoubleXYRoom { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_FITDOUBLEXYROOM +public: + class FitDoubleXYRoom& operator=(class FitDoubleXYRoom const &) = delete; + FitDoubleXYRoom(class FitDoubleXYRoom const &) = delete; + FitDoubleXYRoom() = delete; +#endif + +public: + /*0*/ virtual ~FitDoubleXYRoom(); + /*1*/ virtual bool fits(class RoomDefinition const &) const; + /*2*/ virtual std::unique_ptr create(int &, class std::shared_ptr, class Random &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_FITDOUBLEXYROOM +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/FitDoubleYRoom.hpp b/LiteLoader/Header/MC/FitDoubleYRoom.hpp new file mode 100644 index 0000000..664bc4f --- /dev/null +++ b/LiteLoader/Header/MC/FitDoubleYRoom.hpp @@ -0,0 +1,29 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class FitDoubleYRoom { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_FITDOUBLEYROOM +public: + class FitDoubleYRoom& operator=(class FitDoubleYRoom const &) = delete; + FitDoubleYRoom(class FitDoubleYRoom const &) = delete; + FitDoubleYRoom() = delete; +#endif + +public: + /*0*/ virtual ~FitDoubleYRoom(); + /*1*/ virtual bool fits(class RoomDefinition const &) const; + /*2*/ virtual std::unique_ptr create(int &, class std::shared_ptr, class Random &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_FITDOUBLEYROOM +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/FitDoubleYZRoom.hpp b/LiteLoader/Header/MC/FitDoubleYZRoom.hpp new file mode 100644 index 0000000..ddb1a49 --- /dev/null +++ b/LiteLoader/Header/MC/FitDoubleYZRoom.hpp @@ -0,0 +1,29 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class FitDoubleYZRoom { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_FITDOUBLEYZROOM +public: + class FitDoubleYZRoom& operator=(class FitDoubleYZRoom const &) = delete; + FitDoubleYZRoom(class FitDoubleYZRoom const &) = delete; + FitDoubleYZRoom() = delete; +#endif + +public: + /*0*/ virtual ~FitDoubleYZRoom(); + /*1*/ virtual bool fits(class RoomDefinition const &) const; + /*2*/ virtual std::unique_ptr create(int &, class std::shared_ptr, class Random &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_FITDOUBLEYZROOM +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/FitDoubleZRoom.hpp b/LiteLoader/Header/MC/FitDoubleZRoom.hpp new file mode 100644 index 0000000..c62329f --- /dev/null +++ b/LiteLoader/Header/MC/FitDoubleZRoom.hpp @@ -0,0 +1,29 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class FitDoubleZRoom { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_FITDOUBLEZROOM +public: + class FitDoubleZRoom& operator=(class FitDoubleZRoom const &) = delete; + FitDoubleZRoom(class FitDoubleZRoom const &) = delete; + FitDoubleZRoom() = delete; +#endif + +public: + /*0*/ virtual ~FitDoubleZRoom(); + /*1*/ virtual bool fits(class RoomDefinition const &) const; + /*2*/ virtual std::unique_ptr create(int &, class std::shared_ptr, class Random &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_FITDOUBLEZROOM +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/FitSimpleRoom.hpp b/LiteLoader/Header/MC/FitSimpleRoom.hpp new file mode 100644 index 0000000..78904a6 --- /dev/null +++ b/LiteLoader/Header/MC/FitSimpleRoom.hpp @@ -0,0 +1,29 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class FitSimpleRoom { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_FITSIMPLEROOM +public: + class FitSimpleRoom& operator=(class FitSimpleRoom const &) = delete; + FitSimpleRoom(class FitSimpleRoom const &) = delete; + FitSimpleRoom() = delete; +#endif + +public: + /*0*/ virtual ~FitSimpleRoom(); + /*1*/ virtual bool fits(class RoomDefinition const &) const; + /*2*/ virtual std::unique_ptr create(int &, class std::shared_ptr, class Random &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_FITSIMPLEROOM +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/FitSimpleTopRoom.hpp b/LiteLoader/Header/MC/FitSimpleTopRoom.hpp new file mode 100644 index 0000000..5925d96 --- /dev/null +++ b/LiteLoader/Header/MC/FitSimpleTopRoom.hpp @@ -0,0 +1,29 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class FitSimpleTopRoom { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_FITSIMPLETOPROOM +public: + class FitSimpleTopRoom& operator=(class FitSimpleTopRoom const &) = delete; + FitSimpleTopRoom(class FitSimpleTopRoom const &) = delete; + FitSimpleTopRoom() = delete; +#endif + +public: + /*0*/ virtual ~FitSimpleTopRoom(); + /*1*/ virtual bool fits(class RoomDefinition const &) const; + /*2*/ virtual std::unique_ptr create(int &, class std::shared_ptr, class Random &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_FITSIMPLETOPROOM +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/FixedBiomeSource.hpp b/LiteLoader/Header/MC/FixedBiomeSource.hpp new file mode 100644 index 0000000..b8871ee --- /dev/null +++ b/LiteLoader/Header/MC/FixedBiomeSource.hpp @@ -0,0 +1,31 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class FixedBiomeSource { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_FIXEDBIOMESOURCE +public: + class FixedBiomeSource& operator=(class FixedBiomeSource const &) = delete; + FixedBiomeSource(class FixedBiomeSource const &) = delete; + FixedBiomeSource() = delete; +#endif + +public: + /*0*/ virtual ~FixedBiomeSource(); + /*1*/ virtual void fillBiomes(class LevelChunk &) const; + /*2*/ virtual class BiomeArea getBiomeArea(class BoundingBox const &, unsigned int) const; + /*3*/ virtual bool containsOnly(int, int, int, class gsl::span) const; + /*4*/ virtual class Biome const * getBiome(int, int) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_FIXEDBIOMESOURCE +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/FlatWorldGenerator.hpp b/LiteLoader/Header/MC/FlatWorldGenerator.hpp new file mode 100644 index 0000000..34622eb --- /dev/null +++ b/LiteLoader/Header/MC/FlatWorldGenerator.hpp @@ -0,0 +1,41 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Json.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class FlatWorldGenerator { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_FLATWORLDGENERATOR +public: + class FlatWorldGenerator& operator=(class FlatWorldGenerator const &) = delete; + FlatWorldGenerator(class FlatWorldGenerator const &) = delete; + FlatWorldGenerator() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_FLATWORLDGENERATOR + MCVAPI bool findNearestFeature(enum StructureFeatureType, class BlockPos const &, class BlockPos &); + MCVAPI class BlockPos findSpawnPosition() const; + MCVAPI void garbageCollectBlueprints(class buffer_span); + MCVAPI class BiomeArea getBiomeArea(class BoundingBox const &, unsigned int) const; + MCVAPI enum StructureFeatureType getFeatureTypeAt(class BlockPos const &); + MCVAPI void loadChunk(class LevelChunk &, bool); + MCVAPI bool postProcess(class ChunkViewSource &); + MCVAPI void prepareHeights(class BlockVolume &, class ChunkPos const &, bool); +#endif + MCAPI FlatWorldGenerator(class Dimension &, unsigned int, class Json::Value const &); + +//private: + MCAPI void _generatePrototypeBlockValues(class FlatWorldGeneratorOptions const &); + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/FlatWorldGeneratorOptions.hpp b/LiteLoader/Header/MC/FlatWorldGeneratorOptions.hpp new file mode 100644 index 0000000..479561c --- /dev/null +++ b/LiteLoader/Header/MC/FlatWorldGeneratorOptions.hpp @@ -0,0 +1,33 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Json.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class FlatWorldGeneratorOptions { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_FLATWORLDGENERATOROPTIONS +public: + class FlatWorldGeneratorOptions& operator=(class FlatWorldGeneratorOptions const &) = delete; + FlatWorldGeneratorOptions(class FlatWorldGeneratorOptions const &) = delete; + FlatWorldGeneratorOptions() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_FLATWORLDGENERATOROPTIONS +#endif + MCAPI ~FlatWorldGeneratorOptions(); + +//protected: + MCAPI bool _load(class Json::Value const &, class BlockPalette const &); + +protected: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/FleeSunGoal.hpp b/LiteLoader/Header/MC/FleeSunGoal.hpp new file mode 100644 index 0000000..a180e54 --- /dev/null +++ b/LiteLoader/Header/MC/FleeSunGoal.hpp @@ -0,0 +1,32 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "FindCoverGoal.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class FleeSunGoal : public FindCoverGoal { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_FLEESUNGOAL +public: + class FleeSunGoal& operator=(class FleeSunGoal const &) = delete; + FleeSunGoal(class FleeSunGoal const &) = delete; + FleeSunGoal() = delete; +#endif + +public: + /*0*/ virtual ~FleeSunGoal(); + /*1*/ virtual bool canUse(); + /*3*/ virtual void __unk_vfn_3(); + /*6*/ virtual void __unk_vfn_6(); + /*7*/ virtual void appendDebugInfo(std::string &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_FLEESUNGOAL +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/FlintAndSteelItem.hpp b/LiteLoader/Header/MC/FlintAndSteelItem.hpp new file mode 100644 index 0000000..7991ea7 --- /dev/null +++ b/LiteLoader/Header/MC/FlintAndSteelItem.hpp @@ -0,0 +1,50 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Item.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class FlintAndSteelItem : public Item { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_FLINTANDSTEELITEM +public: + class FlintAndSteelItem& operator=(class FlintAndSteelItem const &) = delete; + FlintAndSteelItem(class FlintAndSteelItem const &) = delete; + FlintAndSteelItem() = delete; +#endif + +public: + /*0*/ virtual ~FlintAndSteelItem(); + /*5*/ virtual void __unk_vfn_5(); + /*26*/ virtual void __unk_vfn_26(); + /*27*/ virtual void __unk_vfn_27(); + /*31*/ virtual void __unk_vfn_31(); + /*32*/ virtual void __unk_vfn_32(); + /*34*/ virtual void __unk_vfn_34(); + /*35*/ virtual bool isDestructive(int) const; + /*37*/ virtual void __unk_vfn_37(); + /*40*/ virtual int getEnchantSlot() const; + /*43*/ virtual void __unk_vfn_43(); + /*46*/ virtual void __unk_vfn_46(); + /*47*/ virtual void __unk_vfn_47(); + /*49*/ virtual void __unk_vfn_49(); + /*50*/ virtual void __unk_vfn_50(); + /*57*/ virtual bool dispense(class BlockSource &, class Container &, int, class Vec3 const &, unsigned char) const; + /*62*/ virtual void hurtEnemy(class ItemStack &, class Mob *, class Mob *) const; + /*79*/ virtual void __unk_vfn_79(); + /*80*/ virtual void __unk_vfn_80(); + /*90*/ virtual void __unk_vfn_90(); + /*96*/ virtual bool _calculatePlacePos(class ItemStack &, class Actor &, unsigned char &, class BlockPos &) const; + /*97*/ virtual void __unk_vfn_97(); + /*99*/ virtual bool _useOn(class ItemStack &, class Actor &, class BlockPos, unsigned char, float, float, float) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_FLINTANDSTEELITEM +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/FloatGoal.hpp b/LiteLoader/Header/MC/FloatGoal.hpp new file mode 100644 index 0000000..b9b304f --- /dev/null +++ b/LiteLoader/Header/MC/FloatGoal.hpp @@ -0,0 +1,34 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class FloatGoal { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_FLOATGOAL +public: + class FloatGoal& operator=(class FloatGoal const &) = delete; + FloatGoal(class FloatGoal const &) = delete; + FloatGoal() = delete; +#endif + +public: + /*0*/ virtual ~FloatGoal(); + /*1*/ virtual bool canUse(); + /*2*/ virtual void __unk_vfn_2(); + /*3*/ virtual void __unk_vfn_3(); + /*4*/ virtual void __unk_vfn_4(); + /*5*/ virtual void __unk_vfn_5(); + /*6*/ virtual void tick(); + /*7*/ virtual void appendDebugInfo(std::string &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_FLOATGOAL +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/FloatNavigation.hpp b/LiteLoader/Header/MC/FloatNavigation.hpp new file mode 100644 index 0000000..93f195d --- /dev/null +++ b/LiteLoader/Header/MC/FloatNavigation.hpp @@ -0,0 +1,29 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "PathNavigation.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class FloatNavigation : public PathNavigation { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_FLOATNAVIGATION +public: + class FloatNavigation& operator=(class FloatNavigation const &) = delete; + FloatNavigation(class FloatNavigation const &) = delete; + FloatNavigation() = delete; +#endif + +public: + /*0*/ virtual ~FloatNavigation(); + /*10*/ virtual bool travel(class NavigationComponent &, class Mob &, float &, float &, float &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_FLOATNAVIGATION +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/FloatRange.hpp b/LiteLoader/Header/MC/FloatRange.hpp new file mode 100644 index 0000000..b29f12b --- /dev/null +++ b/LiteLoader/Header/MC/FloatRange.hpp @@ -0,0 +1,28 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Json.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +struct FloatRange { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_FLOATRANGE +public: + struct FloatRange& operator=(struct FloatRange const &) = delete; + FloatRange(struct FloatRange const &) = delete; + FloatRange() = delete; +#endif +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_FLOATRANGE +#endif + MCAPI float getValue(class Random &) const; + MCAPI bool parseJson(class Json::Value const &, float, float); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/FloatTag.hpp b/LiteLoader/Header/MC/FloatTag.hpp new file mode 100644 index 0000000..a55c237 --- /dev/null +++ b/LiteLoader/Header/MC/FloatTag.hpp @@ -0,0 +1,35 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Tag.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class FloatTag : public Tag { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_FLOATTAG +public: + class FloatTag& operator=(class FloatTag const &) = delete; + FloatTag(class FloatTag const &) = delete; + FloatTag() = delete; +#endif + +public: + /*0*/ virtual ~FloatTag(); + /*2*/ virtual void write(class IDataOutput &) const; + /*3*/ virtual void load(class IDataInput &); + /*4*/ virtual std::string toString() const; + /*5*/ virtual enum Tag::Type getId() const; + /*6*/ virtual bool equals(class Tag const &) const; + /*9*/ virtual std::unique_ptr copy() const; + /*10*/ virtual unsigned __int64 hash() const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_FLOATTAG +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/FloatWanderGoal.hpp b/LiteLoader/Header/MC/FloatWanderGoal.hpp new file mode 100644 index 0000000..6f80cc4 --- /dev/null +++ b/LiteLoader/Header/MC/FloatWanderGoal.hpp @@ -0,0 +1,39 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class FloatWanderGoal { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_FLOATWANDERGOAL +public: + class FloatWanderGoal& operator=(class FloatWanderGoal const &) = delete; + FloatWanderGoal(class FloatWanderGoal const &) = delete; + FloatWanderGoal() = delete; +#endif + +public: + /*0*/ virtual ~FloatWanderGoal(); + /*1*/ virtual bool canUse(); + /*2*/ virtual void __unk_vfn_2(); + /*3*/ virtual void __unk_vfn_3(); + /*4*/ virtual void __unk_vfn_4(); + /*5*/ virtual void __unk_vfn_5(); + /*6*/ virtual void tick(); + /*7*/ virtual void appendDebugInfo(std::string &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_FLOATWANDERGOAL +#endif + +//private: + MCAPI bool _canReach(class Vec3 const &, float); + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/FloatsInLiquidDescription.hpp b/LiteLoader/Header/MC/FloatsInLiquidDescription.hpp new file mode 100644 index 0000000..f5dbc06 --- /dev/null +++ b/LiteLoader/Header/MC/FloatsInLiquidDescription.hpp @@ -0,0 +1,28 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +struct FloatsInLiquidDescription { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_FLOATSINLIQUIDDESCRIPTION +public: + struct FloatsInLiquidDescription& operator=(struct FloatsInLiquidDescription const &) = delete; + FloatsInLiquidDescription(struct FloatsInLiquidDescription const &) = delete; + FloatsInLiquidDescription() = delete; +#endif +public: + /*0*/ virtual char const * getJsonName() const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_FLOATSINLIQUIDDESCRIPTION + MCVAPI void deserializeData(class Json::Value &); + MCVAPI void serializeData(class Json::Value &) const; +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/FlockingComponent.hpp b/LiteLoader/Header/MC/FlockingComponent.hpp new file mode 100644 index 0000000..4820428 --- /dev/null +++ b/LiteLoader/Header/MC/FlockingComponent.hpp @@ -0,0 +1,34 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class FlockingComponent { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_FLOCKINGCOMPONENT +public: + class FlockingComponent& operator=(class FlockingComponent const &) = delete; + FlockingComponent(class FlockingComponent const &) = delete; + FlockingComponent() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_FLOCKINGCOMPONENT +#endif + MCAPI FlockingComponent(class FlockingComponent &&); + MCAPI void calculateFlockVector(class Actor const &); + MCAPI bool canJoinFlock(class Actor &) const; + MCAPI void joinFlock(class Actor &); + MCAPI void manageNeighborhood(class Actor &); + MCAPI void mergeNeighborhoods(class Actor &); + MCAPI void updateNeighborhoodData(class Actor const &); + MCAPI bool validateVariantEntityTypes(class Actor const &, class Actor const &) const; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/FlockingDefinition.hpp b/LiteLoader/Header/MC/FlockingDefinition.hpp new file mode 100644 index 0000000..5836685 --- /dev/null +++ b/LiteLoader/Header/MC/FlockingDefinition.hpp @@ -0,0 +1,28 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "JsonUtil.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class FlockingDefinition { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_FLOCKINGDEFINITION +public: + class FlockingDefinition& operator=(class FlockingDefinition const &) = delete; + FlockingDefinition(class FlockingDefinition const &) = delete; + FlockingDefinition() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_FLOCKINGDEFINITION +#endif + MCAPI static void buildSchema(class std::shared_ptr> &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/FlockingSystem.hpp b/LiteLoader/Header/MC/FlockingSystem.hpp new file mode 100644 index 0000000..83d999a --- /dev/null +++ b/LiteLoader/Header/MC/FlockingSystem.hpp @@ -0,0 +1,28 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class FlockingSystem { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_FLOCKINGSYSTEM +public: + class FlockingSystem& operator=(class FlockingSystem const &) = delete; + FlockingSystem(class FlockingSystem const &) = delete; + FlockingSystem() = delete; +#endif + +public: + /*0*/ virtual ~FlockingSystem(); + /*1*/ virtual void tick(class EntityRegistry &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_FLOCKINGSYSTEM +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/FlockingUtility.hpp b/LiteLoader/Header/MC/FlockingUtility.hpp new file mode 100644 index 0000000..df984c6 --- /dev/null +++ b/LiteLoader/Header/MC/FlockingUtility.hpp @@ -0,0 +1,19 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +namespace FlockingUtility { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA + MCAPI bool checkForSteeringCollision(class Actor &, class Vec3 const &, float, class Vec3 &); + MCAPI void chooseRandomDirection(class Actor &, class Vec3 &); + MCAPI void getWaterHeights(class Actor const &, float &, float &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/FlowerBlock.hpp b/LiteLoader/Header/MC/FlowerBlock.hpp new file mode 100644 index 0000000..59c8939 --- /dev/null +++ b/LiteLoader/Header/MC/FlowerBlock.hpp @@ -0,0 +1,71 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "BushBlock.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class FlowerBlock : public BushBlock { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_FLOWERBLOCK +public: + class FlowerBlock& operator=(class FlowerBlock const &) = delete; + FlowerBlock(class FlowerBlock const &) = delete; + FlowerBlock() = delete; +#endif + +public: + /*0*/ virtual ~FlowerBlock(); + /*8*/ virtual class Vec3 randomlyModifyPosition(class BlockPos const &) const; + /*10*/ virtual class AABB const & getAABB(class BlockSource &, class BlockPos const &, class Block const &, class AABB &, bool) const; + /*18*/ virtual void __unk_vfn_18(); + /*24*/ virtual void __unk_vfn_24(); + /*25*/ virtual void __unk_vfn_25(); + /*26*/ virtual void __unk_vfn_26(); + /*27*/ virtual void __unk_vfn_27(); + /*28*/ virtual void __unk_vfn_28(); + /*30*/ virtual void __unk_vfn_30(); + /*31*/ virtual void __unk_vfn_31(); + /*32*/ virtual void __unk_vfn_32(); + /*33*/ virtual void __unk_vfn_33(); + /*34*/ virtual void __unk_vfn_34(); + /*35*/ virtual void __unk_vfn_35(); + /*36*/ virtual void __unk_vfn_36(); + /*38*/ virtual void __unk_vfn_38(); + /*39*/ virtual void __unk_vfn_39(); + /*40*/ virtual void __unk_vfn_40(); + /*42*/ virtual void __unk_vfn_42(); + /*43*/ virtual void __unk_vfn_43(); + /*49*/ virtual void __unk_vfn_49(); + /*50*/ virtual bool canContainLiquid() const; + /*52*/ virtual void __unk_vfn_52(); + /*67*/ virtual void __unk_vfn_67(); + /*73*/ virtual void __unk_vfn_73(); + /*75*/ virtual bool onFertilized(class BlockSource &, class BlockPos const &, class Actor *, enum FertilizerType) const; + /*77*/ virtual bool canBeFertilized(class BlockSource &, class BlockPos const &, class Block const &) const; + /*81*/ virtual bool mayPlace(class BlockSource &, class BlockPos const &) const; + /*82*/ virtual bool mayPlaceOn(class BlockSource &, class BlockPos const &) const; + /*87*/ virtual void __unk_vfn_87(); + /*91*/ virtual class ItemInstance getResourceItem(class Random &, class Block const &, int) const; + /*95*/ virtual void __unk_vfn_95(); + /*109*/ virtual void __unk_vfn_109(); + /*116*/ virtual void __unk_vfn_116(); + /*118*/ virtual void __unk_vfn_118(); + /*119*/ virtual void __unk_vfn_119(); + /*125*/ virtual enum BlockRenderLayer getRenderLayer() const; + /*126*/ virtual enum BlockRenderLayer getRenderLayer(class Block const &, class BlockSource &, class BlockPos const &) const; + /*127*/ virtual std::string buildDescriptionId(class Block const &) const; + /*128*/ virtual bool isAuxValueRelevantForPicking() const; + /*142*/ virtual void __unk_vfn_142(); + /*158*/ virtual void __unk_vfn_158(); + /*159*/ virtual class ItemInstance getSilkTouchItemInstance(class Block const &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_FLOWERBLOCK +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/FlowerFeature.hpp b/LiteLoader/Header/MC/FlowerFeature.hpp new file mode 100644 index 0000000..c3494a9 --- /dev/null +++ b/LiteLoader/Header/MC/FlowerFeature.hpp @@ -0,0 +1,34 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Feature.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class FlowerFeature : public Feature { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_FLOWERFEATURE +public: + class FlowerFeature& operator=(class FlowerFeature const &) = delete; + FlowerFeature(class FlowerFeature const &) = delete; + FlowerFeature() = delete; +#endif + +public: + /*0*/ virtual ~FlowerFeature(); + /*1*/ virtual bool place(class BlockSource &, class BlockPos const &, class Random &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_FLOWERFEATURE +#endif + +//private: + MCAPI bool _placeMushroom(class BlockSource &, class BlockPos const &, class Block const &, class Random &) const; + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/FlowerHelper.hpp b/LiteLoader/Header/MC/FlowerHelper.hpp new file mode 100644 index 0000000..c6582c4 --- /dev/null +++ b/LiteLoader/Header/MC/FlowerHelper.hpp @@ -0,0 +1,18 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +namespace FlowerHelper { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA + MCAPI class Block const & getRandomFlowerBlock(class Biome const &, class BlockPos const &, class Random &, class BiomeRegistry &); + MCAPI class Block const & getRandomFlowerBlock(enum FlowerPlacementType, class BlockPos const &, class Random &, class WeakRefT>); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/FlowerPotBlock.hpp b/LiteLoader/Header/MC/FlowerPotBlock.hpp new file mode 100644 index 0000000..da7b40e --- /dev/null +++ b/LiteLoader/Header/MC/FlowerPotBlock.hpp @@ -0,0 +1,203 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "ActorBlock.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class FlowerPotBlock : public ActorBlock { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_FLOWERPOTBLOCK +public: + class FlowerPotBlock& operator=(class FlowerPotBlock const &) = delete; + FlowerPotBlock(class FlowerPotBlock const &) = delete; + FlowerPotBlock() = delete; +#endif + +public: + /*0*/ virtual ~FlowerPotBlock(); + /*1*/ virtual void __unk_vfn_1(); + /*2*/ virtual class Block const & getStateFromLegacyData(unsigned short) const; + /*3*/ virtual class std::shared_ptr newBlockEntity(class BlockPos const &, class Block const &) const; + /*4*/ virtual class Block const * getNextBlockPermutation(class Block const &) const; + /*5*/ virtual bool getCollisionShape(class AABB &, class Block const &, class BlockSource &, class BlockPos const &, class Actor *) const; + /*6*/ virtual bool isObstructingChests(class BlockSource &, class BlockPos const &) const; + /*7*/ virtual void __unk_vfn_7(); + /*8*/ virtual class Vec3 randomlyModifyPosition(class BlockPos const &, int &) const; + /*9*/ virtual void addAABBs(class Block const &, class BlockSource &, class BlockPos const &, class AABB const *, std::vector &) const; + /*10*/ virtual class AABB const & getAABB(class BlockSource &, class BlockPos const &, class Block const &, class AABB &, bool) const; + /*11*/ virtual bool addCollisionShapes(class Block const &, class BlockSource &, class BlockPos const &, class AABB const *, std::vector &, class Actor *) const; + /*12*/ virtual class AABB const & getOutline(class BlockSource &, class BlockPos const &, class AABB &) const; + /*13*/ virtual bool getLiquidClipVolume(class BlockSource &, class BlockPos const &, class AABB &) const; + /*14*/ virtual void __unk_vfn_14(); + /*15*/ virtual void __unk_vfn_15(); + /*16*/ virtual struct Brightness getLightEmission(class Block const &) const; + /*17*/ virtual bool shouldRandomTick() const; + /*18*/ virtual void __unk_vfn_18(); + /*19*/ virtual void __unk_vfn_19(); + /*20*/ virtual void __unk_vfn_20(); + /*21*/ virtual bool canProvideSupport(class Block const &, unsigned char, enum BlockSupportType) const; + /*22*/ virtual bool canConnect(class Block const &, unsigned char, class Block const &) const; + /*23*/ virtual void getConnectedDirections(class Block const &, class BlockPos const &, class BlockSource &, bool &, bool &, bool &, bool &) const; + /*24*/ virtual void __unk_vfn_24(); + /*25*/ virtual void __unk_vfn_25(); + /*26*/ virtual void __unk_vfn_26(); + /*27*/ virtual void __unk_vfn_27(); + /*28*/ virtual void __unk_vfn_28(); + /*29*/ virtual bool isWaterBlocking() const; + /*30*/ virtual void __unk_vfn_30(); + /*31*/ virtual void __unk_vfn_31(); + /*32*/ virtual void __unk_vfn_32(); + /*33*/ virtual void __unk_vfn_33(); + /*34*/ virtual void __unk_vfn_34(); + /*35*/ virtual void __unk_vfn_35(); + /*36*/ virtual void __unk_vfn_36(); + /*37*/ virtual void __unk_vfn_37(); + /*38*/ virtual void __unk_vfn_38(); + /*39*/ virtual void __unk_vfn_39(); + /*40*/ virtual void __unk_vfn_40(); + /*41*/ virtual bool canHurtAndBreakItem() const; + /*42*/ virtual void __unk_vfn_42(); + /*43*/ virtual void __unk_vfn_43(); + /*44*/ virtual bool isValidAuxValue(int) const; + /*45*/ virtual void __unk_vfn_45(); + /*46*/ virtual class Block const & sanitizeFillBlock(class BlockSource &, class BlockPos const &, class Block const &) const; + /*47*/ virtual void __unk_vfn_47(); + /*48*/ virtual void __unk_vfn_48(); + /*49*/ virtual void __unk_vfn_49(); + /*50*/ virtual void __unk_vfn_50(); + /*51*/ virtual void __unk_vfn_51(); + /*52*/ virtual void __unk_vfn_52(); + /*53*/ virtual bool canBeUsedInCommands(bool, class BaseGameVersion const &) const; + /*54*/ virtual float getThickness() const; + /*55*/ virtual void __unk_vfn_55(); + /*56*/ virtual bool checkIsPathable(class Actor &, class BlockPos const &, class BlockPos const &) const; + /*57*/ virtual void __unk_vfn_57(); + /*58*/ virtual void __unk_vfn_58(); + /*59*/ virtual void __unk_vfn_59(); + /*60*/ virtual void onRemove(class BlockSource &, class BlockPos const &) const; + /*61*/ virtual void __unk_vfn_61(); + /*62*/ virtual void __unk_vfn_62(); + /*63*/ virtual void onFallOn(class BlockSource &, class BlockPos const &, class Actor &, float) const; + /*64*/ virtual void __unk_vfn_64(); + /*65*/ virtual void __unk_vfn_65(); + /*66*/ virtual void __unk_vfn_66(); + /*67*/ virtual void __unk_vfn_67(); + /*68*/ virtual void __unk_vfn_68(); + /*69*/ virtual void __unk_vfn_69(); + /*70*/ virtual void __unk_vfn_70(); + /*71*/ virtual enum BlockProperty getRedstoneProperty(class BlockSource &, class BlockPos const &) const; + /*72*/ virtual void updateEntityAfterFallOn(class BlockSource &, class BlockPos const &, class Actor &) const; + /*73*/ virtual void __unk_vfn_73(); + /*74*/ virtual void __unk_vfn_74(); + /*75*/ virtual void __unk_vfn_75(); + /*76*/ virtual void __unk_vfn_76(); + /*77*/ virtual void __unk_vfn_77(); + /*78*/ virtual bool mayPick(class BlockSource &, class Block const &, bool) const; + /*79*/ virtual void __unk_vfn_79(); + /*80*/ virtual bool mayPlace(class BlockSource &, class BlockPos const &, unsigned char) const; + /*81*/ virtual bool mayPlace(class BlockSource &, class BlockPos const &) const; + /*82*/ virtual void __unk_vfn_82(); + /*83*/ virtual bool tryToPlace(class BlockSource &, class BlockPos const &, class Block const &, struct ActorBlockSyncMessage const *) const; + /*84*/ virtual bool breaksFallingBlocks(class Block const &) const; + /*85*/ virtual void __unk_vfn_85(); + /*86*/ virtual bool playerWillDestroy(class Player &, class BlockPos const &, class Block const &) const; + /*87*/ virtual void __unk_vfn_87(); + /*88*/ virtual void neighborChanged(class BlockSource &, class BlockPos const &, class BlockPos const &) const; + /*89*/ virtual void __unk_vfn_89(); + /*90*/ virtual void __unk_vfn_90(); + /*91*/ virtual class ItemInstance getResourceItem(class Random &, class Block const &, int) const; + /*92*/ virtual class ItemInstance asItemInstance(class BlockSource &, class BlockPos const &, class Block const &) const; + /*93*/ virtual void spawnResources(class BlockSource &, class BlockPos const &, class Block const &, std::vector *, float, int, bool) const; + /*94*/ virtual void trySpawnResourcesOnExplosion(class BlockSource &, class BlockPos const &, class Block const &, std::vector *, float, int, bool) const; + /*95*/ virtual void __unk_vfn_95(); + /*96*/ virtual void __unk_vfn_96(); + /*97*/ virtual class HitResult clip(class BlockSource &, class BlockPos const &, class Vec3 const &, class Vec3 const &, bool) const; + /*98*/ virtual bool use(class Player &, class BlockPos const &) const; + /*99*/ virtual class Block const & getPlacementBlock(class Actor &, class BlockPos const &, unsigned char, class Vec3 const &, int) const; + /*100*/ virtual int calcVariant(class BlockSource &, class BlockPos const &) const; + /*101*/ virtual void __unk_vfn_101(); + /*102*/ virtual void __unk_vfn_102(); + /*103*/ virtual void __unk_vfn_103(); + /*104*/ virtual void __unk_vfn_104(); + /*105*/ virtual void playerDestroy(class Player &, class BlockPos const &, class Block const &) const; + /*106*/ virtual bool canSurvive(class BlockSource &, class BlockPos const &) const; + /*107*/ virtual void __unk_vfn_107(); + /*108*/ virtual bool canBeBuiltOver(class BlockSource &, class BlockPos const &) const; + /*109*/ virtual void triggerEvent(class BlockSource &, class BlockPos const &, int, int) const; + /*110*/ virtual void __unk_vfn_110(); + /*111*/ virtual void __unk_vfn_111(); + /*112*/ virtual class MobSpawnerData const * getMobToSpawn(class SpawnConditions const &, class BlockSource &) const; + /*113*/ virtual void __unk_vfn_113(); + /*114*/ virtual void __unk_vfn_114(); + /*115*/ virtual bool shouldStopFalling(class Actor &) const; + /*116*/ virtual void __unk_vfn_116(); + /*117*/ virtual float calcGroundFriction(class Mob &, class BlockPos const &) const; + /*118*/ virtual void __unk_vfn_118(); + /*119*/ virtual void __unk_vfn_119(); + /*120*/ virtual void __unk_vfn_120(); + /*121*/ virtual bool canSlide(class BlockSource &, class BlockPos const &) const; + /*122*/ virtual void __unk_vfn_122(); + /*123*/ virtual void __unk_vfn_123(); + /*124*/ virtual void __unk_vfn_124(); + /*125*/ virtual void __unk_vfn_125(); + /*126*/ virtual void __unk_vfn_126(); + /*127*/ virtual void __unk_vfn_127(); + /*128*/ virtual void __unk_vfn_128(); + /*129*/ virtual void __unk_vfn_129(); + /*130*/ virtual void __unk_vfn_130(); + /*131*/ virtual void __unk_vfn_131(); + /*132*/ virtual int getColorForParticle(class BlockSource &, class BlockPos const &, class Block const &) const; + /*133*/ virtual void __unk_vfn_133(); + /*134*/ virtual void onGraphicsModeChanged(bool, bool, bool); + /*135*/ virtual void __unk_vfn_135(); + /*136*/ virtual float getShadeBrightness() const; + /*137*/ virtual class AABB const & getVisualShapeInWorld(class Block const &, class BlockSource &, class BlockPos const &, class AABB &, bool) const; + /*138*/ virtual class AABB const & getVisualShape(class Block const &, class AABB &, bool) const; + /*139*/ virtual class AABB const & getUIShape(class Block const &, class AABB &) const; + /*140*/ virtual int telemetryVariant(class BlockSource &, class BlockPos const &) const; + /*141*/ virtual int getVariant(class Block const &) const; + /*142*/ virtual void __unk_vfn_142(); + /*143*/ virtual class Block const & getRenderBlock() const; + /*144*/ virtual void __unk_vfn_144(); + /*145*/ virtual void __unk_vfn_145(); + /*146*/ virtual void __unk_vfn_146(); + /*147*/ virtual class BlockLegacy & init(); + /*148*/ virtual class BlockLegacy & setLightBlock(struct Brightness); + /*149*/ virtual class BlockLegacy & setLightEmission(float); + /*150*/ virtual class BlockLegacy & setExplodeable(float); + /*151*/ virtual class BlockLegacy & setDestroyTime(float); + /*152*/ virtual class BlockLegacy & setFriction(float); + /*153*/ virtual class BlockLegacy & addProperty(enum BlockProperty); + /*154*/ virtual class BlockLegacy & addState(class ItemState const &); + /*155*/ virtual class BlockLegacy & addState(class ItemState const &, unsigned __int64); + /*156*/ virtual class BlockLegacy & setAllowsRunes(bool); + /*157*/ virtual class BlockLegacy & setMapColor(class Color const &); + /*158*/ virtual void __unk_vfn_158(); + /*159*/ virtual void __unk_vfn_159(); + /*160*/ virtual void setVisualShape(class AABB const &); + /*161*/ virtual void setVisualShape(class Vec3 const &, class Vec3 const &); + /*162*/ virtual void __unk_vfn_162(); + /*163*/ virtual void __unk_vfn_163(); + /*164*/ virtual class ItemInstance getEntityResourceItem(class Random &, class BlockActor const &, int) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_FLOWERPOTBLOCK + MCVAPI bool canContainLiquid() const; + MCVAPI bool isInteractiveBlock() const; + MCVAPI bool waterSpreadCausesSpawn() const; +#endif + +//private: + MCAPI bool _tryPlaceFlower(class Player &, class BlockPos const &) const; + MCAPI bool _tryTakeFlower(class Player &, class BlockPos const &) const; + MCAPI void _updateFlowerPotEntity(class BlockSource &, class BlockPos const &, class FlowerPotBlockActor *, class Block const *) const; + MCAPI bool isSupportedBlock(class Block const &) const; + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/FlowerPotBlockActor.hpp b/LiteLoader/Header/MC/FlowerPotBlockActor.hpp new file mode 100644 index 0000000..1e1434a --- /dev/null +++ b/LiteLoader/Header/MC/FlowerPotBlockActor.hpp @@ -0,0 +1,39 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "BlockActor.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class FlowerPotBlockActor : public BlockActor { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_FLOWERPOTBLOCKACTOR +public: + class FlowerPotBlockActor& operator=(class FlowerPotBlockActor const &) = delete; + FlowerPotBlockActor(class FlowerPotBlockActor const &) = delete; + FlowerPotBlockActor() = delete; +#endif + +public: + /*0*/ virtual ~FlowerPotBlockActor(); + /*1*/ virtual void load(class Level &, class CompoundTag const &, class DataLoadHelper &); + /*2*/ virtual bool save(class CompoundTag &) const; + /*9*/ virtual void onChanged(class BlockSource &); + /*13*/ virtual void __unk_vfn_13(); + /*17*/ virtual void __unk_vfn_17(); + /*29*/ virtual void __unk_vfn_29(); + /*30*/ virtual void __unk_vfn_30(); + /*32*/ virtual void __unk_vfn_32(); + /*33*/ virtual void __unk_vfn_33(); + /*34*/ virtual std::unique_ptr _getUpdatePacket(class BlockSource &); + /*35*/ virtual void _onUpdatePacket(class CompoundTag const &, class BlockSource &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_FLOWERPOTBLOCKACTOR +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/FlushableEnv.hpp b/LiteLoader/Header/MC/FlushableEnv.hpp new file mode 100644 index 0000000..98c8409 --- /dev/null +++ b/LiteLoader/Header/MC/FlushableEnv.hpp @@ -0,0 +1,27 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class FlushableEnv { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_FLUSHABLEENV +public: + class FlushableEnv& operator=(class FlushableEnv const &) = delete; + FlushableEnv(class FlushableEnv const &) = delete; + FlushableEnv() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_FLUSHABLEENV + MCVAPI ~FlushableEnv(); +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/FlushableStorageAreaEnv.hpp b/LiteLoader/Header/MC/FlushableStorageAreaEnv.hpp new file mode 100644 index 0000000..0dbe234 --- /dev/null +++ b/LiteLoader/Header/MC/FlushableStorageAreaEnv.hpp @@ -0,0 +1,39 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "TransactionalWorldBlockTarget.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class FlushableStorageAreaEnv : public TransactionalWorldBlockTarget { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_FLUSHABLESTORAGEAREAENV +public: + class FlushableStorageAreaEnv& operator=(class FlushableStorageAreaEnv const &) = delete; + FlushableStorageAreaEnv(class FlushableStorageAreaEnv const &) = delete; + FlushableStorageAreaEnv() = delete; +#endif + +public: + /*0*/ virtual ~FlushableStorageAreaEnv(); + /*10*/ virtual void __unk_vfn_10(); + /*11*/ virtual void __unk_vfn_11(); + /*12*/ virtual void __unk_vfn_12(); + /*13*/ virtual void __unk_vfn_13(); + /*14*/ virtual void __unk_vfn_14(); + /*15*/ virtual void __unk_vfn_15(); + /*16*/ virtual void __unk_vfn_16(); + /*17*/ virtual void __unk_vfn_17(); + /*18*/ virtual void __unk_vfn_18(); + /*19*/ virtual void __unk_vfn_19(); + /*20*/ virtual void flushToPermanentStorage(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_FLUSHABLESTORAGEAREAENV +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/FlyDefinition.hpp b/LiteLoader/Header/MC/FlyDefinition.hpp new file mode 100644 index 0000000..77f427b --- /dev/null +++ b/LiteLoader/Header/MC/FlyDefinition.hpp @@ -0,0 +1,30 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Json.hpp" +#include "BehaviorDefinition.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class FlyDefinition : public BehaviorDefinition { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_FLYDEFINITION +public: + class FlyDefinition& operator=(class FlyDefinition const &) = delete; + FlyDefinition(class FlyDefinition const &) = delete; + FlyDefinition() = delete; +#endif + +public: + /*0*/ virtual ~FlyDefinition(); + /*1*/ virtual void load(class Json::Value, class BehaviorFactory const &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_FLYDEFINITION +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/FlyMoveControl.hpp b/LiteLoader/Header/MC/FlyMoveControl.hpp new file mode 100644 index 0000000..899c8e7 --- /dev/null +++ b/LiteLoader/Header/MC/FlyMoveControl.hpp @@ -0,0 +1,29 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "MoveControl.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class FlyMoveControl : public MoveControl { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_FLYMOVECONTROL +public: + class FlyMoveControl& operator=(class FlyMoveControl const &) = delete; + FlyMoveControl(class FlyMoveControl const &) = delete; + FlyMoveControl() = delete; +#endif + +public: + /*0*/ virtual ~FlyMoveControl(); + /*2*/ virtual void tick(class MoveControlComponent &, class Mob &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_FLYMOVECONTROL +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/FlyNode.hpp b/LiteLoader/Header/MC/FlyNode.hpp new file mode 100644 index 0000000..2399e2f --- /dev/null +++ b/LiteLoader/Header/MC/FlyNode.hpp @@ -0,0 +1,29 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class FlyNode { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_FLYNODE +public: + class FlyNode& operator=(class FlyNode const &) = delete; + FlyNode(class FlyNode const &) = delete; + FlyNode() = delete; +#endif + +public: + /*0*/ virtual ~FlyNode(); + /*1*/ virtual enum BehaviorStatus tick(class Actor &); + /*2*/ virtual void initializeFromDefinition(class Actor &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_FLYNODE +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/FlyingPathNavigation.hpp b/LiteLoader/Header/MC/FlyingPathNavigation.hpp new file mode 100644 index 0000000..4789ae2 --- /dev/null +++ b/LiteLoader/Header/MC/FlyingPathNavigation.hpp @@ -0,0 +1,42 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "PathNavigation.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class FlyingPathNavigation : public PathNavigation { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_FLYINGPATHNAVIGATION +public: + class FlyingPathNavigation& operator=(class FlyingPathNavigation const &) = delete; + FlyingPathNavigation(class FlyingPathNavigation const &) = delete; + FlyingPathNavigation() = delete; +#endif + +public: + /*0*/ virtual ~FlyingPathNavigation(); + /*1*/ virtual void initializeInternal(class Mob &, struct NavigationDescription *); + /*2*/ virtual void tick(class NavigationComponent &, class Mob &); + /*3*/ virtual class Vec3 getTempMobPos(class Mob const &) const; + /*4*/ virtual std::unique_ptr createPath(class NavigationComponent &, class Mob &, class Vec3 const &); + /*5*/ virtual std::unique_ptr createPath(class NavigationComponent &, class Mob &, class Actor &); + /*9*/ virtual void stop(class NavigationComponent &, class Mob &); + /*11*/ virtual bool canUpdatePath(class Mob const &) const; + /*12*/ virtual void updatePath(class NavigationComponent &, class Mob &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_FLYINGPATHNAVIGATION +#endif + +//private: + MCAPI void _restorePreviousGravityFlag(class Mob &); + MCAPI void _storePreviousGravityFlag(class Mob &); + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/FlyingSpeedDescription.hpp b/LiteLoader/Header/MC/FlyingSpeedDescription.hpp new file mode 100644 index 0000000..407439c --- /dev/null +++ b/LiteLoader/Header/MC/FlyingSpeedDescription.hpp @@ -0,0 +1,30 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Json.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +struct FlyingSpeedDescription { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_FLYINGSPEEDDESCRIPTION +public: + struct FlyingSpeedDescription& operator=(struct FlyingSpeedDescription const &) = delete; + FlyingSpeedDescription(struct FlyingSpeedDescription const &) = delete; + FlyingSpeedDescription() = delete; +#endif +public: + /*0*/ virtual char const * getJsonName() const; + /*1*/ virtual ~FlyingSpeedDescription(); + /*2*/ virtual void deserializeData(class Json::Value &); + /*3*/ virtual void serializeData(class Json::Value &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_FLYINGSPEEDDESCRIPTION +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/FoliageColor.hpp b/LiteLoader/Header/MC/FoliageColor.hpp new file mode 100644 index 0000000..dbd7840 --- /dev/null +++ b/LiteLoader/Header/MC/FoliageColor.hpp @@ -0,0 +1,45 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class FoliageColor { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_FOLIAGECOLOR +public: + class FoliageColor& operator=(class FoliageColor const &) = delete; + FoliageColor(class FoliageColor const &) = delete; + FoliageColor() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_FOLIAGECOLOR +#endif + MCAPI static int getBirchColor(float, float); + MCAPI static int getEvergreenColor(float, float); + MCAPI static int getFoliageColor(float, float); + MCAPI static int getMapGrassColor(class BlockSource &, class BlockPos const &); + +//private: + MCAPI static int _index(float, float); + +private: + MCAPI static class Color const FOLIAGE_BOTTOM_LEFT; + MCAPI static class Color const FOLIAGE_BOTTOM_RIGHT; + MCAPI static class Color const FOLIAGE_TOP_LEFT; + MCAPI static class Color const FOLIAGE_TOP_RIGHT; + MCAPI static class Color const GRASS_BOTTOM_LEFT; + MCAPI static class Color const GRASS_BOTTOM_RIGHT; + MCAPI static class Color const GRASS_TOP_LEFT; + MCAPI static class Color const GRASS_TOP_RIGHT; + MCAPI static class std::unordered_map, struct std::hash, struct std::equal_to, class std::allocator>>> mFoliagePalettes; + MCAPI static class std::unordered_map, struct std::hash, struct std::equal_to, class std::allocator>>> mGrassPalettes; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/FollowCaravanGoal.hpp b/LiteLoader/Header/MC/FollowCaravanGoal.hpp new file mode 100644 index 0000000..688cde0 --- /dev/null +++ b/LiteLoader/Header/MC/FollowCaravanGoal.hpp @@ -0,0 +1,40 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class FollowCaravanGoal { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_FOLLOWCARAVANGOAL +public: + class FollowCaravanGoal& operator=(class FollowCaravanGoal const &) = delete; + FollowCaravanGoal(class FollowCaravanGoal const &) = delete; + FollowCaravanGoal() = delete; +#endif + +public: + /*0*/ virtual ~FollowCaravanGoal(); + /*1*/ virtual bool canUse(); + /*2*/ virtual bool canContinueToUse(); + /*3*/ virtual void __unk_vfn_3(); + /*4*/ virtual void start(); + /*5*/ virtual void stop(); + /*6*/ virtual void tick(); + /*7*/ virtual void appendDebugInfo(std::string &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_FOLLOWCARAVANGOAL +#endif + +//private: + MCAPI bool checkCaravanType(class Mob *); + MCAPI bool firstIsLeashed(class Mob *, int); + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/FollowFlockGoal.hpp b/LiteLoader/Header/MC/FollowFlockGoal.hpp new file mode 100644 index 0000000..f086957 --- /dev/null +++ b/LiteLoader/Header/MC/FollowFlockGoal.hpp @@ -0,0 +1,34 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class FollowFlockGoal { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_FOLLOWFLOCKGOAL +public: + class FollowFlockGoal& operator=(class FollowFlockGoal const &) = delete; + FollowFlockGoal(class FollowFlockGoal const &) = delete; + FollowFlockGoal() = delete; +#endif + +public: + /*0*/ virtual ~FollowFlockGoal(); + /*1*/ virtual bool canUse(); + /*2*/ virtual bool canContinueToUse(); + /*3*/ virtual bool canBeInterrupted(); + /*4*/ virtual void start(); + /*5*/ virtual void stop(); + /*6*/ virtual void tick(); + /*7*/ virtual void appendDebugInfo(std::string &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_FOLLOWFLOCKGOAL +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/FollowMobGoal.hpp b/LiteLoader/Header/MC/FollowMobGoal.hpp new file mode 100644 index 0000000..7e420da --- /dev/null +++ b/LiteLoader/Header/MC/FollowMobGoal.hpp @@ -0,0 +1,39 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class FollowMobGoal { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_FOLLOWMOBGOAL +public: + class FollowMobGoal& operator=(class FollowMobGoal const &) = delete; + FollowMobGoal(class FollowMobGoal const &) = delete; + FollowMobGoal() = delete; +#endif + +public: + /*0*/ virtual ~FollowMobGoal(); + /*1*/ virtual bool canUse(); + /*2*/ virtual bool canContinueToUse(); + /*3*/ virtual void __unk_vfn_3(); + /*4*/ virtual void start(); + /*5*/ virtual void stop(); + /*6*/ virtual void tick(); + /*7*/ virtual void appendDebugInfo(std::string &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_FOLLOWMOBGOAL +#endif + +//private: + MCAPI bool _setWantedMob(); + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/FollowOwnerGoal.hpp b/LiteLoader/Header/MC/FollowOwnerGoal.hpp new file mode 100644 index 0000000..f9c6a21 --- /dev/null +++ b/LiteLoader/Header/MC/FollowOwnerGoal.hpp @@ -0,0 +1,36 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class FollowOwnerGoal { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_FOLLOWOWNERGOAL +public: + class FollowOwnerGoal& operator=(class FollowOwnerGoal const &) = delete; + FollowOwnerGoal(class FollowOwnerGoal const &) = delete; + FollowOwnerGoal() = delete; +#endif + +public: + /*0*/ virtual ~FollowOwnerGoal(); + /*1*/ virtual bool canUse(); + /*2*/ virtual bool canContinueToUse(); + /*3*/ virtual void __unk_vfn_3(); + /*4*/ virtual void start(); + /*5*/ virtual void stop(); + /*6*/ virtual void tick(); + /*7*/ virtual void appendDebugInfo(std::string &) const; + /*8*/ virtual void __unk_vfn_8(); + /*9*/ virtual void onPlayerDimensionChanged(class Player *, class AutomaticID); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_FOLLOWOWNERGOAL +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/FollowParentGoal.hpp b/LiteLoader/Header/MC/FollowParentGoal.hpp new file mode 100644 index 0000000..153306a --- /dev/null +++ b/LiteLoader/Header/MC/FollowParentGoal.hpp @@ -0,0 +1,34 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class FollowParentGoal { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_FOLLOWPARENTGOAL +public: + class FollowParentGoal& operator=(class FollowParentGoal const &) = delete; + FollowParentGoal(class FollowParentGoal const &) = delete; + FollowParentGoal() = delete; +#endif + +public: + /*0*/ virtual ~FollowParentGoal(); + /*1*/ virtual bool canUse(); + /*2*/ virtual bool canContinueToUse(); + /*3*/ virtual void __unk_vfn_3(); + /*4*/ virtual void start(); + /*5*/ virtual void stop(); + /*6*/ virtual void tick(); + /*7*/ virtual void appendDebugInfo(std::string &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_FOLLOWPARENTGOAL +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/FollowTargetCaptainGoal.hpp b/LiteLoader/Header/MC/FollowTargetCaptainGoal.hpp new file mode 100644 index 0000000..57f799b --- /dev/null +++ b/LiteLoader/Header/MC/FollowTargetCaptainGoal.hpp @@ -0,0 +1,39 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class FollowTargetCaptainGoal { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_FOLLOWTARGETCAPTAINGOAL +public: + class FollowTargetCaptainGoal& operator=(class FollowTargetCaptainGoal const &) = delete; + FollowTargetCaptainGoal(class FollowTargetCaptainGoal const &) = delete; + FollowTargetCaptainGoal() = delete; +#endif + +public: + /*0*/ virtual ~FollowTargetCaptainGoal(); + /*1*/ virtual bool canUse(); + /*2*/ virtual bool canContinueToUse(); + /*3*/ virtual void __unk_vfn_3(); + /*4*/ virtual void start(); + /*5*/ virtual void stop(); + /*6*/ virtual void tick(); + /*7*/ virtual void appendDebugInfo(std::string &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_FOLLOWTARGETCAPTAINGOAL +#endif + +//private: + MCAPI void _determineMovePos(); + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/FoodConstants.hpp b/LiteLoader/Header/MC/FoodConstants.hpp new file mode 100644 index 0000000..617b0b7 --- /dev/null +++ b/LiteLoader/Header/MC/FoodConstants.hpp @@ -0,0 +1,32 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +namespace FoodConstants { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA + MCAPI extern float const EXHAUSTION_ATTACK; + MCAPI extern float const EXHAUSTION_HEAL; + MCAPI extern float const EXHAUSTION_JUMP; + MCAPI extern float const EXHAUSTION_MINE; + MCAPI extern float const EXHAUSTION_SPRINT; + MCAPI extern float const EXHAUSTION_SPRINT_JUMP; + MCAPI extern float const EXHAUSTION_SWIM; + MCAPI extern float const EXHAUSTION_WALK; + MCAPI extern float const FOOD_SATURATION_NORMAL; + MCAPI extern float const FOOD_SATURATION_POOR; + MCAPI extern int const HEALTH_TICK_COUNT; + MCAPI extern int const HEAL_LEVEL; + MCAPI extern float const MAX_EXHAUSTION; + MCAPI extern int const MAX_FOOD; + MCAPI extern float const START_SATURATION; + MCAPI extern int const STARVE_LEVEL; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/FoodItemComponent.hpp b/LiteLoader/Header/MC/FoodItemComponent.hpp new file mode 100644 index 0000000..91f426a --- /dev/null +++ b/LiteLoader/Header/MC/FoodItemComponent.hpp @@ -0,0 +1,37 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Json.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class FoodItemComponent { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_FOODITEMCOMPONENT +public: + class FoodItemComponent& operator=(class FoodItemComponent const &) = delete; + FoodItemComponent(class FoodItemComponent const &) = delete; + FoodItemComponent() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_FOODITEMCOMPONENT +#endif + MCAPI class Item const * eatItem(class ItemStack &, class Actor &, class Level &); + MCAPI bool init(class Json::Value &); + +//private: + MCAPI void _applyEatEffects(class ItemStack const &, class Actor &, class Level &); + MCAPI void _loadEffects(class Json::Value &); + MCAPI void _loadRemoveEffects(class Json::Value &); + MCAPI class Item const * useTimeDepleted(class ItemStack &, class Player &, class Level &); + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/FootSizeDescription.hpp b/LiteLoader/Header/MC/FootSizeDescription.hpp new file mode 100644 index 0000000..615f471 --- /dev/null +++ b/LiteLoader/Header/MC/FootSizeDescription.hpp @@ -0,0 +1,30 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Json.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +struct FootSizeDescription { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_FOOTSIZEDESCRIPTION +public: + struct FootSizeDescription& operator=(struct FootSizeDescription const &) = delete; + FootSizeDescription(struct FootSizeDescription const &) = delete; + FootSizeDescription() = delete; +#endif +public: + /*0*/ virtual char const * getJsonName() const; + /*1*/ virtual ~FootSizeDescription(); + /*2*/ virtual void deserializeData(class Json::Value &); + /*3*/ virtual void serializeData(class Json::Value &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_FOOTSIZEDESCRIPTION +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/FormJsonValidator.hpp b/LiteLoader/Header/MC/FormJsonValidator.hpp new file mode 100644 index 0000000..d1bd356 --- /dev/null +++ b/LiteLoader/Header/MC/FormJsonValidator.hpp @@ -0,0 +1,34 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "JsonValidator.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class FormJsonValidator { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_FORMJSONVALIDATOR +public: + class FormJsonValidator& operator=(class FormJsonValidator const &) = delete; + FormJsonValidator(class FormJsonValidator const &) = delete; + FormJsonValidator() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_FORMJSONVALIDATOR +#endif + MCAPI static class JsonValidator::Property getContentItemProperty(class JsonValidator::Property const &, class JsonValidator::Property const &, class JsonValidator::Property const &, class JsonValidator::Property const &, class JsonValidator::Property const &, class JsonValidator::Property const &); + MCAPI static class JsonValidator::Property getControlLockedProperty(); + MCAPI static class JsonValidator::Property getDropdownProperty(bool); + MCAPI static class JsonValidator::Property getSliderProperty(bool); + MCAPI static class JsonValidator::Property getStepSliderProperty(bool); + MCAPI static class JsonValidator::Property getTextInputProperty(bool); + MCAPI static class JsonValidator::Property getToggleProperty(bool); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/FossilFeature.hpp b/LiteLoader/Header/MC/FossilFeature.hpp new file mode 100644 index 0000000..57e65cd --- /dev/null +++ b/LiteLoader/Header/MC/FossilFeature.hpp @@ -0,0 +1,31 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Feature.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class FossilFeature : public Feature { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_FOSSILFEATURE +public: + class FossilFeature& operator=(class FossilFeature const &) = delete; + FossilFeature(class FossilFeature const &) = delete; + FossilFeature() = delete; +#endif + +public: + /*0*/ virtual ~FossilFeature(); + /*1*/ virtual bool place(class BlockSource &, class BlockPos const &, class Random &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_FOSSILFEATURE +#endif + MCAPI static std::string const STRUCTURE_LOCATION_FOSSIL[]; + MCAPI static std::string const STRUCTURE_LOCATION_FOSSIL_COAL[]; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/FreezeOnHitSubcomponent.hpp b/LiteLoader/Header/MC/FreezeOnHitSubcomponent.hpp new file mode 100644 index 0000000..a7a43bb --- /dev/null +++ b/LiteLoader/Header/MC/FreezeOnHitSubcomponent.hpp @@ -0,0 +1,31 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Json.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class FreezeOnHitSubcomponent { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_FREEZEONHITSUBCOMPONENT +public: + class FreezeOnHitSubcomponent& operator=(class FreezeOnHitSubcomponent const &) = delete; + FreezeOnHitSubcomponent(class FreezeOnHitSubcomponent const &) = delete; + FreezeOnHitSubcomponent() = delete; +#endif + +public: + /*0*/ virtual ~FreezeOnHitSubcomponent(); + /*1*/ virtual void readfromJSON(class Json::Value &); + /*2*/ virtual void writetoJSON(class Json::Value &) const; + /*3*/ virtual void doOnHitEffect(class Actor &, class ProjectileComponent &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_FREEZEONHITSUBCOMPONENT +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/FrictionModifierDescription.hpp b/LiteLoader/Header/MC/FrictionModifierDescription.hpp new file mode 100644 index 0000000..c55d78a --- /dev/null +++ b/LiteLoader/Header/MC/FrictionModifierDescription.hpp @@ -0,0 +1,30 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Json.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +struct FrictionModifierDescription { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_FRICTIONMODIFIERDESCRIPTION +public: + struct FrictionModifierDescription& operator=(struct FrictionModifierDescription const &) = delete; + FrictionModifierDescription(struct FrictionModifierDescription const &) = delete; + FrictionModifierDescription() = delete; +#endif +public: + /*0*/ virtual char const * getJsonName() const; + /*1*/ virtual ~FrictionModifierDescription(); + /*2*/ virtual void deserializeData(class Json::Value &); + /*3*/ virtual void serializeData(class Json::Value &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_FRICTIONMODIFIERDESCRIPTION +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/FrostWalkerEnchant.hpp b/LiteLoader/Header/MC/FrostWalkerEnchant.hpp new file mode 100644 index 0000000..11d0af5 --- /dev/null +++ b/LiteLoader/Header/MC/FrostWalkerEnchant.hpp @@ -0,0 +1,32 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Enchant.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class FrostWalkerEnchant : public Enchant { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_FROSTWALKERENCHANT +public: + class FrostWalkerEnchant& operator=(class FrostWalkerEnchant const &) = delete; + FrostWalkerEnchant(class FrostWalkerEnchant const &) = delete; + FrostWalkerEnchant() = delete; +#endif + +public: + /*0*/ virtual ~FrostWalkerEnchant(); + /*2*/ virtual int getMinCost(int) const; + /*3*/ virtual int getMaxCost(int) const; + /*5*/ virtual int getMaxLevel() const; + /*12*/ virtual bool isTreasureOnly() const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_FROSTWALKERENCHANT +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/FrostedIceBlock.hpp b/LiteLoader/Header/MC/FrostedIceBlock.hpp new file mode 100644 index 0000000..db0167d --- /dev/null +++ b/LiteLoader/Header/MC/FrostedIceBlock.hpp @@ -0,0 +1,73 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "BlockLegacy.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class FrostedIceBlock : public BlockLegacy { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_FROSTEDICEBLOCK +public: + class FrostedIceBlock& operator=(class FrostedIceBlock const &) = delete; + FrostedIceBlock(class FrostedIceBlock const &) = delete; + FrostedIceBlock() = delete; +#endif + +public: + /*0*/ virtual ~FrostedIceBlock(); + /*1*/ virtual void tick(class BlockSource &, class BlockPos const &, class Random &) const; + /*18*/ virtual void __unk_vfn_18(); + /*24*/ virtual void __unk_vfn_24(); + /*25*/ virtual void __unk_vfn_25(); + /*26*/ virtual void __unk_vfn_26(); + /*27*/ virtual void __unk_vfn_27(); + /*28*/ virtual void __unk_vfn_28(); + /*30*/ virtual void __unk_vfn_30(); + /*31*/ virtual void __unk_vfn_31(); + /*32*/ virtual void __unk_vfn_32(); + /*33*/ virtual void __unk_vfn_33(); + /*34*/ virtual void __unk_vfn_34(); + /*35*/ virtual void __unk_vfn_35(); + /*36*/ virtual void __unk_vfn_36(); + /*38*/ virtual void __unk_vfn_38(); + /*39*/ virtual void __unk_vfn_39(); + /*40*/ virtual void __unk_vfn_40(); + /*42*/ virtual void __unk_vfn_42(); + /*43*/ virtual void __unk_vfn_43(); + /*49*/ virtual void __unk_vfn_49(); + /*52*/ virtual void __unk_vfn_52(); + /*59*/ virtual void onPlace(class BlockSource &, class BlockPos const &) const; + /*67*/ virtual void __unk_vfn_67(); + /*73*/ virtual void __unk_vfn_73(); + /*84*/ virtual bool breaksFallingBlocks(class Block const &) const; + /*86*/ virtual bool playerWillDestroy(class Player &, class BlockPos const &, class Block const &) const; + /*87*/ virtual void __unk_vfn_87(); + /*88*/ virtual void neighborChanged(class BlockSource &, class BlockPos const &, class BlockPos const &) const; + /*90*/ virtual int getResourceCount(class Random &, class Block const &, int, bool) const; + /*92*/ virtual class ItemInstance asItemInstance(class BlockSource &, class BlockPos const &, class Block const &) const; + /*95*/ virtual void __unk_vfn_95(); + /*105*/ virtual void playerDestroy(class Player &, class BlockPos const &, class Block const &) const; + /*109*/ virtual void __unk_vfn_109(); + /*116*/ virtual void __unk_vfn_116(); + /*118*/ virtual void __unk_vfn_118(); + /*119*/ virtual void __unk_vfn_119(); + /*142*/ virtual void __unk_vfn_142(); + /*158*/ virtual void __unk_vfn_158(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_FROSTEDICEBLOCK + MCVAPI bool canBeSilkTouched() const; +#endif + MCAPI void _slightlyMelt(class BlockSource &, class BlockPos const &, class Random &, bool) const; + +//private: + MCAPI int _countNeighbors(class BlockSource &, class BlockPos const &) const; + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/FullPlayerInventoryWrapper.hpp b/LiteLoader/Header/MC/FullPlayerInventoryWrapper.hpp new file mode 100644 index 0000000..6545609 --- /dev/null +++ b/LiteLoader/Header/MC/FullPlayerInventoryWrapper.hpp @@ -0,0 +1,38 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class FullPlayerInventoryWrapper { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_FULLPLAYERINVENTORYWRAPPER +public: + class FullPlayerInventoryWrapper& operator=(class FullPlayerInventoryWrapper const &) = delete; + FullPlayerInventoryWrapper(class FullPlayerInventoryWrapper const &) = delete; + FullPlayerInventoryWrapper() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_FULLPLAYERINVENTORYWRAPPER +#endif + MCAPI int clearAllItems(); + MCAPI int getItemCount(class std::function); + MCAPI int removeResource(class ItemStack const &, class std::function, bool, int); + +//private: + MCAPI int _clearSimpleContainerItem(class SimpleContainer &, enum ContainerID, int); + MCAPI int _getSimpleContainerItemCount(class SimpleContainer &, int, class std::function); + MCAPI int _removeCursorItem(class ItemStack const &, bool, int); + MCAPI int _removeSimpleContainerItem(class SimpleContainer &, enum ContainerID, int, class ItemStack const &, bool, int); + MCAPI void _sendCursorSlotPacket() const; + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/FunctionCommand.hpp b/LiteLoader/Header/MC/FunctionCommand.hpp new file mode 100644 index 0000000..6aaeefd --- /dev/null +++ b/LiteLoader/Header/MC/FunctionCommand.hpp @@ -0,0 +1,30 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Command.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class FunctionCommand : public Command { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_FUNCTIONCOMMAND +public: + class FunctionCommand& operator=(class FunctionCommand const &) = delete; + FunctionCommand(class FunctionCommand const &) = delete; + FunctionCommand() = delete; +#endif + +public: + /*0*/ virtual ~FunctionCommand(); + /*1*/ virtual void execute(class CommandOrigin const &, class CommandOutput &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_FUNCTIONCOMMAND +#endif + MCAPI static void setup(class CommandRegistry &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/FunctionEntry.hpp b/LiteLoader/Header/MC/FunctionEntry.hpp new file mode 100644 index 0000000..8f9a028 --- /dev/null +++ b/LiteLoader/Header/MC/FunctionEntry.hpp @@ -0,0 +1,28 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class FunctionEntry { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_FUNCTIONENTRY +public: + class FunctionEntry& operator=(class FunctionEntry const &) = delete; + FunctionEntry(class FunctionEntry const &) = delete; + FunctionEntry() = delete; +#endif + +public: + /*0*/ virtual ~FunctionEntry(); + /*1*/ virtual void execute(class FunctionManager &, class CommandOrigin const &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_FUNCTIONENTRY +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/FunctionManager.hpp b/LiteLoader/Header/MC/FunctionManager.hpp new file mode 100644 index 0000000..c93b6c7 --- /dev/null +++ b/LiteLoader/Header/MC/FunctionManager.hpp @@ -0,0 +1,45 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Core.hpp" +#include "Json.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class FunctionManager { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_FUNCTIONMANAGER +public: + class FunctionManager& operator=(class FunctionManager const &) = delete; + FunctionManager(class FunctionManager const &) = delete; + FunctionManager() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_FUNCTIONMANAGER +#endif + MCAPI FunctionManager(std::unique_ptr, std::unique_ptr, class GameRule const *); + MCAPI int getExecutionLimit() const; + MCAPI class FunctionEntry * getFunction(std::string const &); + MCAPI void load(class ResourcePackManager &, class CommandRegistry &); + MCAPI static std::string getFunctionNameFromPath(class Core::Path const &); + +//protected: + MCAPI void _addTickFunctionsFromJson(class Json::Value const &); + MCAPI void _processFunctionEntry(std::string const &, std::vector const &, std::vector &, enum CurrentCmdVersion, class CommandRegistry const &); + +//private: + MCAPI class CommandOrigin const & _addOriginReference(class CommandOrigin const &, unsigned int); + MCAPI int _processCommandStack(class FunctionEntry &, class CommandOrigin const &); + +protected: + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/FungusStem.hpp b/LiteLoader/Header/MC/FungusStem.hpp new file mode 100644 index 0000000..4ab4f7e --- /dev/null +++ b/LiteLoader/Header/MC/FungusStem.hpp @@ -0,0 +1,61 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "RotatedPillarBlock.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class FungusStem : public RotatedPillarBlock { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_FUNGUSSTEM +public: + class FungusStem& operator=(class FungusStem const &) = delete; + FungusStem(class FungusStem const &) = delete; + FungusStem() = delete; +#endif + +public: + /*0*/ virtual ~FungusStem(); + /*18*/ virtual void __unk_vfn_18(); + /*19*/ virtual bool isStrippable(class Block const &) const; + /*20*/ virtual class Block const & getStrippedBlock(class Block const &) const; + /*24*/ virtual void __unk_vfn_24(); + /*25*/ virtual void __unk_vfn_25(); + /*26*/ virtual void __unk_vfn_26(); + /*27*/ virtual void __unk_vfn_27(); + /*28*/ virtual void __unk_vfn_28(); + /*30*/ virtual void __unk_vfn_30(); + /*31*/ virtual void __unk_vfn_31(); + /*32*/ virtual void __unk_vfn_32(); + /*33*/ virtual void __unk_vfn_33(); + /*34*/ virtual void __unk_vfn_34(); + /*35*/ virtual void __unk_vfn_35(); + /*36*/ virtual void __unk_vfn_36(); + /*38*/ virtual void __unk_vfn_38(); + /*39*/ virtual void __unk_vfn_39(); + /*40*/ virtual void __unk_vfn_40(); + /*42*/ virtual void __unk_vfn_42(); + /*43*/ virtual void __unk_vfn_43(); + /*49*/ virtual void __unk_vfn_49(); + /*52*/ virtual void __unk_vfn_52(); + /*67*/ virtual void __unk_vfn_67(); + /*73*/ virtual void __unk_vfn_73(); + /*87*/ virtual void __unk_vfn_87(); + /*95*/ virtual void __unk_vfn_95(); + /*109*/ virtual void __unk_vfn_109(); + /*116*/ virtual void __unk_vfn_116(); + /*118*/ virtual void __unk_vfn_118(); + /*119*/ virtual void __unk_vfn_119(); + /*142*/ virtual void __unk_vfn_142(); + /*158*/ virtual void __unk_vfn_158(); + /*164*/ virtual class Color getDustColor(class Block const &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_FUNGUSSTEM +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/FurnaceBlock.hpp b/LiteLoader/Header/MC/FurnaceBlock.hpp new file mode 100644 index 0000000..4abfc80 --- /dev/null +++ b/LiteLoader/Header/MC/FurnaceBlock.hpp @@ -0,0 +1,199 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "ActorBlock.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class FurnaceBlock : public ActorBlock { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_FURNACEBLOCK +public: + class FurnaceBlock& operator=(class FurnaceBlock const &) = delete; + FurnaceBlock(class FurnaceBlock const &) = delete; + FurnaceBlock() = delete; +#endif + +public: + /*0*/ virtual ~FurnaceBlock(); + /*1*/ virtual void __unk_vfn_1(); + /*2*/ virtual class Block const & getStateFromLegacyData(unsigned short) const; + /*3*/ virtual class std::shared_ptr newBlockEntity(class BlockPos const &, class Block const &) const; + /*4*/ virtual class Block const * getNextBlockPermutation(class Block const &) const; + /*5*/ virtual bool getCollisionShape(class AABB &, class Block const &, class BlockSource &, class BlockPos const &, class Actor *) const; + /*6*/ virtual bool isObstructingChests(class BlockSource &, class BlockPos const &) const; + /*7*/ virtual void __unk_vfn_7(); + /*8*/ virtual class Vec3 randomlyModifyPosition(class BlockPos const &, int &) const; + /*9*/ virtual void addAABBs(class Block const &, class BlockSource &, class BlockPos const &, class AABB const *, std::vector &) const; + /*10*/ virtual class AABB const & getAABB(class BlockSource &, class BlockPos const &, class Block const &, class AABB &, bool) const; + /*11*/ virtual bool addCollisionShapes(class Block const &, class BlockSource &, class BlockPos const &, class AABB const *, std::vector &, class Actor *) const; + /*12*/ virtual class AABB const & getOutline(class BlockSource &, class BlockPos const &, class AABB &) const; + /*13*/ virtual bool getLiquidClipVolume(class BlockSource &, class BlockPos const &, class AABB &) const; + /*14*/ virtual void __unk_vfn_14(); + /*15*/ virtual void __unk_vfn_15(); + /*16*/ virtual struct Brightness getLightEmission(class Block const &) const; + /*17*/ virtual bool shouldRandomTick() const; + /*18*/ virtual void __unk_vfn_18(); + /*19*/ virtual void __unk_vfn_19(); + /*20*/ virtual void __unk_vfn_20(); + /*21*/ virtual bool canProvideSupport(class Block const &, unsigned char, enum BlockSupportType) const; + /*22*/ virtual bool canConnect(class Block const &, unsigned char, class Block const &) const; + /*23*/ virtual void getConnectedDirections(class Block const &, class BlockPos const &, class BlockSource &, bool &, bool &, bool &, bool &) const; + /*24*/ virtual void __unk_vfn_24(); + /*25*/ virtual void __unk_vfn_25(); + /*26*/ virtual void __unk_vfn_26(); + /*27*/ virtual void __unk_vfn_27(); + /*28*/ virtual void __unk_vfn_28(); + /*29*/ virtual bool isWaterBlocking() const; + /*30*/ virtual void __unk_vfn_30(); + /*31*/ virtual void __unk_vfn_31(); + /*32*/ virtual void __unk_vfn_32(); + /*33*/ virtual void __unk_vfn_33(); + /*34*/ virtual void __unk_vfn_34(); + /*35*/ virtual void __unk_vfn_35(); + /*36*/ virtual void __unk_vfn_36(); + /*37*/ virtual void __unk_vfn_37(); + /*38*/ virtual void __unk_vfn_38(); + /*39*/ virtual void __unk_vfn_39(); + /*40*/ virtual void __unk_vfn_40(); + /*41*/ virtual bool canHurtAndBreakItem() const; + /*42*/ virtual void __unk_vfn_42(); + /*43*/ virtual void __unk_vfn_43(); + /*44*/ virtual void __unk_vfn_44(); + /*45*/ virtual void __unk_vfn_45(); + /*46*/ virtual class Block const & sanitizeFillBlock(class BlockSource &, class BlockPos const &, class Block const &) const; + /*47*/ virtual void __unk_vfn_47(); + /*48*/ virtual void __unk_vfn_48(); + /*49*/ virtual void __unk_vfn_49(); + /*50*/ virtual bool canContainLiquid() const; + /*51*/ virtual void __unk_vfn_51(); + /*52*/ virtual void __unk_vfn_52(); + /*53*/ virtual bool canBeUsedInCommands(bool, class BaseGameVersion const &) const; + /*54*/ virtual float getThickness() const; + /*55*/ virtual void __unk_vfn_55(); + /*56*/ virtual bool checkIsPathable(class Actor &, class BlockPos const &, class BlockPos const &) const; + /*57*/ virtual void __unk_vfn_57(); + /*58*/ virtual void __unk_vfn_58(); + /*59*/ virtual void onPlace(class BlockSource &, class BlockPos const &) const; + /*60*/ virtual void onRemove(class BlockSource &, class BlockPos const &) const; + /*61*/ virtual void __unk_vfn_61(); + /*62*/ virtual void __unk_vfn_62(); + /*63*/ virtual void onFallOn(class BlockSource &, class BlockPos const &, class Actor &, float) const; + /*64*/ virtual void __unk_vfn_64(); + /*65*/ virtual void __unk_vfn_65(); + /*66*/ virtual void __unk_vfn_66(); + /*67*/ virtual void __unk_vfn_67(); + /*68*/ virtual void __unk_vfn_68(); + /*69*/ virtual void __unk_vfn_69(); + /*70*/ virtual void __unk_vfn_70(); + /*71*/ virtual enum BlockProperty getRedstoneProperty(class BlockSource &, class BlockPos const &) const; + /*72*/ virtual void updateEntityAfterFallOn(class BlockSource &, class BlockPos const &, class Actor &) const; + /*73*/ virtual void __unk_vfn_73(); + /*74*/ virtual void __unk_vfn_74(); + /*75*/ virtual void __unk_vfn_75(); + /*76*/ virtual void __unk_vfn_76(); + /*77*/ virtual void __unk_vfn_77(); + /*78*/ virtual bool mayPick(class BlockSource &, class Block const &, bool) const; + /*79*/ virtual void __unk_vfn_79(); + /*80*/ virtual bool mayPlace(class BlockSource &, class BlockPos const &) const; + /*81*/ virtual void __unk_vfn_81(); + /*82*/ virtual void __unk_vfn_82(); + /*83*/ virtual bool tryToPlace(class BlockSource &, class BlockPos const &, class Block const &, struct ActorBlockSyncMessage const *) const; + /*84*/ virtual bool breaksFallingBlocks(class Block const &) const; + /*85*/ virtual void __unk_vfn_85(); + /*86*/ virtual bool playerWillDestroy(class Player &, class BlockPos const &, class Block const &) const; + /*87*/ virtual void __unk_vfn_87(); + /*88*/ virtual void neighborChanged(class BlockSource &, class BlockPos const &, class BlockPos const &) const; + /*89*/ virtual void __unk_vfn_89(); + /*90*/ virtual void __unk_vfn_90(); + /*91*/ virtual void __unk_vfn_91(); + /*92*/ virtual void __unk_vfn_92(); + /*93*/ virtual void spawnResources(class BlockSource &, class BlockPos const &, class Block const &, std::vector *, float, int, bool) const; + /*94*/ virtual void trySpawnResourcesOnExplosion(class BlockSource &, class BlockPos const &, class Block const &, std::vector *, float, int, bool) const; + /*95*/ virtual void __unk_vfn_95(); + /*96*/ virtual void __unk_vfn_96(); + /*97*/ virtual class HitResult clip(class BlockSource &, class BlockPos const &, class Vec3 const &, class Vec3 const &, bool) const; + /*98*/ virtual bool use(class Player &, class BlockPos const &) const; + /*99*/ virtual class Block const & getPlacementBlock(class Actor &, class BlockPos const &, unsigned char, class Vec3 const &, int) const; + /*100*/ virtual int calcVariant(class BlockSource &, class BlockPos const &) const; + /*101*/ virtual void __unk_vfn_101(); + /*102*/ virtual void __unk_vfn_102(); + /*103*/ virtual void __unk_vfn_103(); + /*104*/ virtual void __unk_vfn_104(); + /*105*/ virtual void playerDestroy(class Player &, class BlockPos const &, class Block const &) const; + /*106*/ virtual void __unk_vfn_106(); + /*107*/ virtual void __unk_vfn_107(); + /*108*/ virtual bool canBeBuiltOver(class BlockSource &, class BlockPos const &) const; + /*109*/ virtual void triggerEvent(class BlockSource &, class BlockPos const &, int, int) const; + /*110*/ virtual void __unk_vfn_110(); + /*111*/ virtual void __unk_vfn_111(); + /*112*/ virtual class MobSpawnerData const * getMobToSpawn(class SpawnConditions const &, class BlockSource &) const; + /*113*/ virtual void __unk_vfn_113(); + /*114*/ virtual void __unk_vfn_114(); + /*115*/ virtual bool shouldStopFalling(class Actor &) const; + /*116*/ virtual void __unk_vfn_116(); + /*117*/ virtual float calcGroundFriction(class Mob &, class BlockPos const &) const; + /*118*/ virtual void __unk_vfn_118(); + /*119*/ virtual void __unk_vfn_119(); + /*120*/ virtual int getComparatorSignal(class BlockSource &, class BlockPos const &, class Block const &, unsigned char) const; + /*121*/ virtual bool canSlide(class BlockSource &, class BlockPos const &) const; + /*122*/ virtual void __unk_vfn_122(); + /*123*/ virtual void __unk_vfn_123(); + /*124*/ virtual void __unk_vfn_124(); + /*125*/ virtual void __unk_vfn_125(); + /*126*/ virtual void __unk_vfn_126(); + /*127*/ virtual void __unk_vfn_127(); + /*128*/ virtual void __unk_vfn_128(); + /*129*/ virtual void __unk_vfn_129(); + /*130*/ virtual void __unk_vfn_130(); + /*131*/ virtual void __unk_vfn_131(); + /*132*/ virtual int getColorForParticle(class BlockSource &, class BlockPos const &, class Block const &) const; + /*133*/ virtual void __unk_vfn_133(); + /*134*/ virtual void onGraphicsModeChanged(bool, bool, bool); + /*135*/ virtual void __unk_vfn_135(); + /*136*/ virtual float getShadeBrightness() const; + /*137*/ virtual class AABB const & getVisualShapeInWorld(class Block const &, class BlockSource &, class BlockPos const &, class AABB &, bool) const; + /*138*/ virtual class AABB const & getVisualShape(class Block const &, class AABB &, bool) const; + /*139*/ virtual class AABB const & getUIShape(class Block const &, class AABB &) const; + /*140*/ virtual int telemetryVariant(class BlockSource &, class BlockPos const &) const; + /*141*/ virtual int getVariant(class Block const &) const; + /*142*/ virtual void __unk_vfn_142(); + /*143*/ virtual class Block const & getRenderBlock() const; + /*144*/ virtual unsigned char getMappedFace(unsigned char, class Block const &) const; + /*145*/ virtual void __unk_vfn_145(); + /*146*/ virtual void animateTick(class BlockSource &, class BlockPos const &, class Random &) const; + /*147*/ virtual class BlockLegacy & init(); + /*148*/ virtual class BlockLegacy & setLightBlock(struct Brightness); + /*149*/ virtual class BlockLegacy & setLightEmission(float); + /*150*/ virtual class BlockLegacy & setExplodeable(float); + /*151*/ virtual class BlockLegacy & setDestroyTime(float); + /*152*/ virtual class BlockLegacy & setFriction(float); + /*153*/ virtual class BlockLegacy & addProperty(enum BlockProperty); + /*154*/ virtual class BlockLegacy & addState(class ItemState const &); + /*155*/ virtual class BlockLegacy & addState(class ItemState const &, unsigned __int64); + /*156*/ virtual class BlockLegacy & setAllowsRunes(bool); + /*157*/ virtual class BlockLegacy & setMapColor(class Color const &); + /*158*/ virtual void __unk_vfn_158(); + /*159*/ virtual void __unk_vfn_159(); + /*160*/ virtual void setVisualShape(class AABB const &); + /*161*/ virtual void setVisualShape(class Vec3 const &, class Vec3 const &); + /*162*/ virtual void __unk_vfn_162(); + /*163*/ virtual void __unk_vfn_163(); + /*164*/ virtual class ItemInstance getEntityResourceItem(class Random &, class BlockActor const &, int) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_FURNACEBLOCK + MCVAPI class ItemInstance asItemInstance(class BlockSource &, class BlockPos const &, class Block const &) const; + MCVAPI class ItemInstance getResourceItem(class Random &, class Block const &, int) const; + MCVAPI class ItemInstance getSilkTouchItemInstance(class Block const &) const; + MCVAPI bool hasComparatorSignal() const; + MCVAPI bool isContainerBlock() const; + MCVAPI bool isCraftingBlock() const; + MCVAPI bool isInteractiveBlock() const; +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/FurnaceBlockActor.hpp b/LiteLoader/Header/MC/FurnaceBlockActor.hpp new file mode 100644 index 0000000..1dffee2 --- /dev/null +++ b/LiteLoader/Header/MC/FurnaceBlockActor.hpp @@ -0,0 +1,78 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class FurnaceBlockActor { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_FURNACEBLOCKACTOR +public: + class FurnaceBlockActor& operator=(class FurnaceBlockActor const &) = delete; + FurnaceBlockActor(class FurnaceBlockActor const &) = delete; + FurnaceBlockActor() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_FURNACEBLOCKACTOR + MCVAPI std::unique_ptr _getUpdatePacket(class BlockSource &); + MCVAPI void _onUpdatePacket(class CompoundTag const &, class BlockSource &); + MCVAPI bool canPullOutItem(class BlockSource &, int, int, class ItemInstance const &) const; + MCVAPI bool canPushInItem(class BlockSource &, int, int, class ItemInstance const &) const; + MCVAPI class Container * getContainer(); + MCVAPI class Container const * getContainer() const; + MCVAPI int getContainerSize() const; + MCVAPI class ItemStack const & getItem(int) const; + MCVAPI int getMaxStackSize() const; + MCVAPI std::string getName() const; + MCVAPI bool isFinished(); + MCVAPI void load(class Level &, class CompoundTag const &, class DataLoadHelper &); + MCVAPI void onCustomTagLoadDone(class BlockSource &); + MCVAPI void onMove(); + MCVAPI void onNeighborChanged(class BlockSource &, class BlockPos const &); + MCVAPI bool save(class CompoundTag &) const; + MCVAPI void serverInitItemStackIds(int, int, class std::function); + MCVAPI void setItem(int, class ItemStack const &); + MCVAPI void startOpen(class Player &); + MCVAPI void stopOpen(class Player &); + MCVAPI void tick(class BlockSource &); + MCVAPI ~FurnaceBlockActor(); +#endif + MCAPI void checkForAlternativeFuelAchievement(class BlockSource &, class ItemStack const &); + MCAPI void checkForSmeltEverythingAchievement(class BlockSource &); + MCAPI int withdrawStoredXPReward(); + MCAPI static int getAvailableFuelSetCount(int, class ItemStackBase const &); + MCAPI static int getBurnDuration(class ItemStackBase const &, int); + MCAPI static bool isItemAllowedInFuelSlot(int, class ItemStackBase const &, int); + +//protected: + MCAPI FurnaceBlockActor(enum BlockActorType, class BlockPos const &, class HashedString const &, enum LevelSoundEvent, enum ContainerType, int, class Block const &, class Block const &); + +//private: + MCAPI class BlockPos _getPositionOfNeighbor(int); + MCAPI float _getXPRewardMultiplier(class ItemStackBase const &) const; + MCAPI void _refreshFurnaceBlockLitState(class BlockSource &); + MCAPI int _roundXPReward(float) const; + MCAPI void burn(class Recipes const &); + MCAPI bool canBurn(class Recipes const &); + +protected: + +private: + MCAPI static std::string const BURN_DURATION_KEY; + MCAPI static std::string const BURN_TIME_KEY; + MCAPI static std::string const COOK_TIME_KEY; + MCAPI static std::string const CUSTOM_NAME_KEY; + MCAPI static std::string const ITEMS_LIST_KEY; + MCAPI static std::string const LAST_FUEL_KEY; + MCAPI static std::string const SLOT_KEY; + MCAPI static std::string const STORED_XP_DEPRECATED_KEY; + MCAPI static std::string const STORED_XP_KEY; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/FurnaceContainerManagerModel.hpp b/LiteLoader/Header/MC/FurnaceContainerManagerModel.hpp new file mode 100644 index 0000000..5d5fd69 --- /dev/null +++ b/LiteLoader/Header/MC/FurnaceContainerManagerModel.hpp @@ -0,0 +1,46 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "ContainerManagerModel.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class FurnaceContainerManagerModel : public ContainerManagerModel { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_FURNACECONTAINERMANAGERMODEL +public: + class FurnaceContainerManagerModel& operator=(class FurnaceContainerManagerModel const &) = delete; + FurnaceContainerManagerModel(class FurnaceContainerManagerModel const &) = delete; + FurnaceContainerManagerModel() = delete; +#endif + +public: + /*0*/ virtual ~FurnaceContainerManagerModel(); + /*6*/ virtual std::vector getItemCopies() const; + /*7*/ virtual void setSlot(int, class ItemStack const &, bool); + /*8*/ virtual class ItemStack const & getSlot(int) const; + /*9*/ virtual void setData(int, int); + /*10*/ virtual void broadcastChanges(); + /*11*/ virtual bool isValid(float); + /*12*/ virtual class ContainerScreenContext _postInit(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_FURNACECONTAINERMANAGERMODEL +#endif + +//protected: + MCAPI FurnaceContainerManagerModel(class HashedString const &, enum ContainerType, enum BlockActorType, enum ContainerID, class Player &, class BlockPos const &); + +//private: + MCAPI class FurnaceBlockActor * _getFurnaceEntity(); + MCAPI void _updateResultSlotInfo(); + +protected: + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/GameCallbacks.hpp b/LiteLoader/Header/MC/GameCallbacks.hpp new file mode 100644 index 0000000..2bc283c --- /dev/null +++ b/LiteLoader/Header/MC/GameCallbacks.hpp @@ -0,0 +1,26 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class GameCallbacks { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_GAMECALLBACKS +public: + class GameCallbacks& operator=(class GameCallbacks const &) = delete; + GameCallbacks(class GameCallbacks const &) = delete; + GameCallbacks() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_GAMECALLBACKS +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/GameMasterEntityServerCommandOrigin.hpp b/LiteLoader/Header/MC/GameMasterEntityServerCommandOrigin.hpp new file mode 100644 index 0000000..f00ff02 --- /dev/null +++ b/LiteLoader/Header/MC/GameMasterEntityServerCommandOrigin.hpp @@ -0,0 +1,34 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Json.hpp" +#include "ActorCommandOrigin.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class GameMasterEntityServerCommandOrigin : public ActorCommandOrigin { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_GAMEMASTERENTITYSERVERCOMMANDORIGIN +public: + class GameMasterEntityServerCommandOrigin& operator=(class GameMasterEntityServerCommandOrigin const &) = delete; + GameMasterEntityServerCommandOrigin(class GameMasterEntityServerCommandOrigin const &) = delete; + GameMasterEntityServerCommandOrigin() = delete; +#endif + +public: + /*0*/ virtual ~GameMasterEntityServerCommandOrigin(); + /*8*/ virtual enum CommandPermissionLevel getPermissionsLevel() const; + /*9*/ virtual std::unique_ptr clone() const; + /*17*/ virtual bool isSelectorExpansionAllowed() const; + /*21*/ virtual enum CommandOriginType getOriginType() const; + /*26*/ virtual class CommandBlockActor * getBlockEntity() const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_GAMEMASTERENTITYSERVERCOMMANDORIGIN +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/GameMode.hpp b/LiteLoader/Header/MC/GameMode.hpp new file mode 100644 index 0000000..6bc9727 --- /dev/null +++ b/LiteLoader/Header/MC/GameMode.hpp @@ -0,0 +1,61 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class GameMode { + +#define AFTER_EXTRA +// Add Member There +public: + LIAPI ServerPlayer* getPlayer(); +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_GAMEMODE +public: + class GameMode& operator=(class GameMode const &) = delete; + GameMode(class GameMode const &) = delete; + GameMode() = delete; +#endif + +public: + /*0*/ virtual ~GameMode(); + /*1*/ virtual bool startDestroyBlock(class BlockPos const &, unsigned char, bool &); + /*2*/ virtual bool destroyBlock(class BlockPos const &, unsigned char); + /*3*/ virtual bool continueDestroyBlock(class BlockPos const &, unsigned char, bool &); + /*4*/ virtual void stopDestroyBlock(class BlockPos const &); + /*5*/ virtual void startBuildBlock(class BlockPos const &, unsigned char); + /*6*/ virtual bool buildBlock(class BlockPos const &, unsigned char); + /*7*/ virtual void continueBuildBlock(class BlockPos const &, unsigned char); + /*8*/ virtual void stopBuildBlock(); + /*9*/ virtual void tick(); + /*10*/ virtual float getPickRange(enum InputMode const &, bool); + /*11*/ virtual bool useItem(class ItemStack &); + /*12*/ virtual bool useItemOn(class ItemStack &, class BlockPos const &, unsigned char, class Vec3 const &, class Block const *); + /*13*/ virtual bool interact(class Actor &, class Vec3 const &); + /*14*/ virtual bool attack(class Actor &); + /*15*/ virtual void releaseUsingItem(); + /*16*/ virtual void setTrialMode(bool); + /*17*/ virtual bool isInTrialMode(); + /*18*/ virtual void registerUpsellScreenCallback(class std::function); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_GAMEMODE +#endif + MCAPI GameMode(class Player &); + MCAPI bool baseUseItem(class ItemStack &); + MCAPI float getDestroyRate(class Block const &); + MCAPI static float const PICKRANGE_CREATIVE_MAXIMUM; + MCAPI static float const PICKRANGE_SURVIVAL_MAXIMUM; + +//private: + MCAPI class BlockPos _calculatePlacePos(class BlockPos const &, unsigned char &) const; + MCAPI bool _canDestroy(class BlockPos const &, unsigned char); + MCAPI bool _canUseBlock(class Block const &); + MCAPI bool _creativeDestroyBlock(class BlockPos const &, unsigned char); + MCAPI bool _destroyBlockInternal(class BlockPos const &, unsigned char); + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/GameModeCommand.hpp b/LiteLoader/Header/MC/GameModeCommand.hpp new file mode 100644 index 0000000..cac1808 --- /dev/null +++ b/LiteLoader/Header/MC/GameModeCommand.hpp @@ -0,0 +1,30 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Command.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class GameModeCommand : public Command { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_GAMEMODECOMMAND +public: + class GameModeCommand& operator=(class GameModeCommand const &) = delete; + GameModeCommand(class GameModeCommand const &) = delete; + GameModeCommand() = delete; +#endif + +public: + /*0*/ virtual ~GameModeCommand(); + /*1*/ virtual void execute(class CommandOrigin const &, class CommandOutput &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_GAMEMODECOMMAND +#endif + MCAPI static void setup(class CommandRegistry &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/GameModuleServer.hpp b/LiteLoader/Header/MC/GameModuleServer.hpp new file mode 100644 index 0000000..efc38d0 --- /dev/null +++ b/LiteLoader/Header/MC/GameModuleServer.hpp @@ -0,0 +1,26 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class GameModuleServer { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_GAMEMODULESERVER +public: + class GameModuleServer& operator=(class GameModuleServer const &) = delete; + GameModuleServer(class GameModuleServer const &) = delete; + GameModuleServer() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_GAMEMODULESERVER +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/GameRule.hpp b/LiteLoader/Header/MC/GameRule.hpp new file mode 100644 index 0000000..b0d789d --- /dev/null +++ b/LiteLoader/Header/MC/GameRule.hpp @@ -0,0 +1,33 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class GameRule { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_GAMERULE +public: + class GameRule& operator=(class GameRule const &) = delete; + GameRule() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_GAMERULE +#endif + MCAPI GameRule(class GameRule const &); + MCAPI GameRule(class GameRule &&); + MCAPI bool setBool(bool, bool *, class GameRule::ValidationError *); + MCAPI bool setFloat(float, bool *, class GameRule::ValidationError *); + MCAPI bool setInt(int, bool *, class GameRule::ValidationError *); + MCAPI class GameRule & setTagDataNotFoundCallback(class std::function); + MCAPI class GameRule & setValidateValueCallback(class std::function); + MCAPI ~GameRule(); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/GameRuleCommand.hpp b/LiteLoader/Header/MC/GameRuleCommand.hpp new file mode 100644 index 0000000..3ad37ad --- /dev/null +++ b/LiteLoader/Header/MC/GameRuleCommand.hpp @@ -0,0 +1,38 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Json.hpp" +#include "Command.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class GameRuleCommand : public Command { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_GAMERULECOMMAND +public: + class GameRuleCommand& operator=(class GameRuleCommand const &) = delete; + GameRuleCommand(class GameRuleCommand const &) = delete; + GameRuleCommand() = delete; +#endif + +public: + /*0*/ virtual ~GameRuleCommand(); + /*1*/ virtual void execute(class CommandOrigin const &, class CommandOutput &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_GAMERULECOMMAND +#endif + MCAPI static void setup(class CommandRegistry &, struct GameRuleCommand::InitProxy &&); + +//private: + MCAPI void getGameRule(class CommandOrigin const &, class CommandOutput &) const; + MCAPI void setGameRule(class CommandOrigin const &, class CommandOutput &) const; + MCAPI static void createJsonIndex(std::string const &, class GameRule const &, class Json::Value &, std::string *); + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/GameRules.hpp b/LiteLoader/Header/MC/GameRules.hpp new file mode 100644 index 0000000..f7f9630 --- /dev/null +++ b/LiteLoader/Header/MC/GameRules.hpp @@ -0,0 +1,46 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "GameRule.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class GameRules { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_GAMERULES +public: + class GameRules& operator=(class GameRules const &) = delete; + GameRules(class GameRules const &) = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_GAMERULES +#endif + MCAPI GameRules(); + MCAPI std::unique_ptr createAllGameRulesPacket() const; + MCAPI void deserializeRules(class GameRulesChangedPacketData const &); + MCAPI bool getBool(struct GameRuleId) const; + MCAPI int getInt(struct GameRuleId) const; + MCAPI class GameRule const * getRule(struct GameRuleId) const; + MCAPI void getTagData(class CompoundTag const &); + MCAPI struct GameRuleId nameToGameRuleIndex(std::string const &) const; + MCAPI void setMarketplaceOverrides(); + MCAPI std::unique_ptr setRule(struct GameRuleId, bool, bool, bool *, bool *, class GameRule::ValidationError *); + MCAPI void setTagData(class CompoundTag &) const; + MCAPI ~GameRules(); + MCAPI static int const MAX_FUNCTIONCOMMANDLIMIT; + +//private: + MCAPI class GameRule & _registerRule(std::string const &, struct GameRuleId); + MCAPI void _registerRules(); + MCAPI std::unique_ptr _setRule(struct GameRuleId, union GameRule::Value, enum GameRule::Type, bool, bool *, bool *, class GameRule::ValidationError *); + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/GameRulesChangedPacket.hpp b/LiteLoader/Header/MC/GameRulesChangedPacket.hpp new file mode 100644 index 0000000..bd7c3e1 --- /dev/null +++ b/LiteLoader/Header/MC/GameRulesChangedPacket.hpp @@ -0,0 +1,32 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Packet.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class GameRulesChangedPacket : public Packet { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_GAMERULESCHANGEDPACKET +public: + class GameRulesChangedPacket& operator=(class GameRulesChangedPacket const &) = delete; + GameRulesChangedPacket(class GameRulesChangedPacket const &) = delete; + GameRulesChangedPacket() = delete; +#endif + +public: + /*0*/ virtual ~GameRulesChangedPacket(); + /*1*/ virtual enum MinecraftPacketIds getId() const; + /*2*/ virtual std::string getName() const; + /*3*/ virtual void write(class BinaryStream &) const; + /*4*/ virtual enum StreamReadResult read(class ReadOnlyBinaryStream &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_GAMERULESCHANGEDPACKET +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/GameRulesChangedPacketData.hpp b/LiteLoader/Header/MC/GameRulesChangedPacketData.hpp new file mode 100644 index 0000000..3837508 --- /dev/null +++ b/LiteLoader/Header/MC/GameRulesChangedPacketData.hpp @@ -0,0 +1,27 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class GameRulesChangedPacketData { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_GAMERULESCHANGEDPACKETDATA +public: + class GameRulesChangedPacketData& operator=(class GameRulesChangedPacketData const &) = delete; + GameRulesChangedPacketData(class GameRulesChangedPacketData const &) = delete; + GameRulesChangedPacketData() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_GAMERULESCHANGEDPACKETDATA +#endif + MCAPI ~GameRulesChangedPacketData(); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/GameSession.hpp b/LiteLoader/Header/MC/GameSession.hpp new file mode 100644 index 0000000..dd096e5 --- /dev/null +++ b/LiteLoader/Header/MC/GameSession.hpp @@ -0,0 +1,28 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class GameSession { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_GAMESESSION +public: + class GameSession& operator=(class GameSession const &) = delete; + GameSession(class GameSession const &) = delete; + GameSession() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_GAMESESSION +#endif + MCAPI GameSession(class NetworkHandler &, std::unique_ptr, class LoopbackPacketSender &, std::unique_ptr, std::unique_ptr, unsigned char); + MCAPI void setLevel(std::unique_ptr); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/GameSpecificNetEventCallback.hpp b/LiteLoader/Header/MC/GameSpecificNetEventCallback.hpp new file mode 100644 index 0000000..32cbaa3 --- /dev/null +++ b/LiteLoader/Header/MC/GameSpecificNetEventCallback.hpp @@ -0,0 +1,28 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class GameSpecificNetEventCallback { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_GAMESPECIFICNETEVENTCALLBACK +public: + class GameSpecificNetEventCallback& operator=(class GameSpecificNetEventCallback const &) = delete; + GameSpecificNetEventCallback(class GameSpecificNetEventCallback const &) = delete; + GameSpecificNetEventCallback() = delete; +#endif + +public: + /*0*/ virtual ~GameSpecificNetEventCallback(); + /*1*/ virtual void handle(class NetworkIdentifier const &, class ResourcePackClientResponsePacket const &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_GAMESPECIFICNETEVENTCALLBACK +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/GameTypeConv.hpp b/LiteLoader/Header/MC/GameTypeConv.hpp new file mode 100644 index 0000000..e9726ba --- /dev/null +++ b/LiteLoader/Header/MC/GameTypeConv.hpp @@ -0,0 +1,19 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +namespace GameTypeConv { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA + MCAPI std::string gameTypeToNonLocString(enum GameType); + MCAPI std::string gameTypeToString(enum GameType); + MCAPI enum GameType stringToGameType(std::string const &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/GameVersion.hpp b/LiteLoader/Header/MC/GameVersion.hpp new file mode 100644 index 0000000..d8473ed --- /dev/null +++ b/LiteLoader/Header/MC/GameVersion.hpp @@ -0,0 +1,31 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class GameVersion { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_GAMEVERSION +public: + GameVersion(class GameVersion const &) = delete; + GameVersion() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_GAMEVERSION +#endif + MCAPI GameVersion(unsigned int, unsigned int, unsigned int, unsigned int, unsigned int); + MCAPI GameVersion(class ListTag const &); + MCAPI bool operator<(class GameVersion const &) const; + MCAPI class GameVersion & operator=(class GameVersion &&); + MCAPI class GameVersion & operator=(class GameVersion const &); + MCAPI ~GameVersion(); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/GeneDefinition.hpp b/LiteLoader/Header/MC/GeneDefinition.hpp new file mode 100644 index 0000000..4d5de51 --- /dev/null +++ b/LiteLoader/Header/MC/GeneDefinition.hpp @@ -0,0 +1,27 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +struct GeneDefinition { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_GENEDEFINITION +public: + struct GeneDefinition& operator=(struct GeneDefinition const &) = delete; + GeneDefinition(struct GeneDefinition const &) = delete; + GeneDefinition() = delete; +#endif +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_GENEDEFINITION +#endif + MCAPI void addGeneticVariant(struct GeneticVariant const &); + MCAPI ~GeneDefinition(); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/GenericMoveControl.hpp b/LiteLoader/Header/MC/GenericMoveControl.hpp new file mode 100644 index 0000000..0655228 --- /dev/null +++ b/LiteLoader/Header/MC/GenericMoveControl.hpp @@ -0,0 +1,30 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "MoveControl.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class GenericMoveControl : public MoveControl { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_GENERICMOVECONTROL +public: + class GenericMoveControl& operator=(class GenericMoveControl const &) = delete; + GenericMoveControl(class GenericMoveControl const &) = delete; + GenericMoveControl() = delete; +#endif + +public: + /*0*/ virtual ~GenericMoveControl(); + /*1*/ virtual void initializeInternal(class Mob &, struct MoveControlDescription *); + /*2*/ virtual void tick(class MoveControlComponent &, class Mob &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_GENERICMOVECONTROL +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/GenericMoveControlDescription.hpp b/LiteLoader/Header/MC/GenericMoveControlDescription.hpp new file mode 100644 index 0000000..238075d --- /dev/null +++ b/LiteLoader/Header/MC/GenericMoveControlDescription.hpp @@ -0,0 +1,30 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Json.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +struct GenericMoveControlDescription { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_GENERICMOVECONTROLDESCRIPTION +public: + struct GenericMoveControlDescription& operator=(struct GenericMoveControlDescription const &) = delete; + GenericMoveControlDescription(struct GenericMoveControlDescription const &) = delete; + GenericMoveControlDescription() = delete; +#endif +public: + /*0*/ virtual char const * getJsonName() const; + /*1*/ virtual ~GenericMoveControlDescription(); + /*2*/ virtual void deserializeData(class Json::Value &); + /*3*/ virtual void serializeData(class Json::Value &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_GENERICMOVECONTROLDESCRIPTION +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/GenericPathNavigation.hpp b/LiteLoader/Header/MC/GenericPathNavigation.hpp new file mode 100644 index 0000000..94609ad --- /dev/null +++ b/LiteLoader/Header/MC/GenericPathNavigation.hpp @@ -0,0 +1,33 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "PathNavigation.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class GenericPathNavigation : public PathNavigation { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_GENERICPATHNAVIGATION +public: + class GenericPathNavigation& operator=(class GenericPathNavigation const &) = delete; + GenericPathNavigation(class GenericPathNavigation const &) = delete; + GenericPathNavigation() = delete; +#endif + +public: + /*0*/ virtual ~GenericPathNavigation(); + /*1*/ virtual void initializeInternal(class Mob &, struct NavigationDescription *); + /*2*/ virtual void tick(class NavigationComponent &, class Mob &); + /*3*/ virtual class Vec3 getTempMobPos(class Mob const &) const; + /*9*/ virtual void stop(class NavigationComponent &, class Mob &); + /*12*/ virtual void updatePath(class NavigationComponent &, class Mob &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_GENERICPATHNAVIGATION +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/GeneticVariant.hpp b/LiteLoader/Header/MC/GeneticVariant.hpp new file mode 100644 index 0000000..7016855 --- /dev/null +++ b/LiteLoader/Header/MC/GeneticVariant.hpp @@ -0,0 +1,26 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +struct GeneticVariant { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_GENETICVARIANT +public: + struct GeneticVariant& operator=(struct GeneticVariant const &) = delete; + GeneticVariant() = delete; +#endif +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_GENETICVARIANT +#endif + MCAPI GeneticVariant(struct GeneticVariant const &); + MCAPI ~GeneticVariant(); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/GeneticsComponent.hpp b/LiteLoader/Header/MC/GeneticsComponent.hpp new file mode 100644 index 0000000..027d9d1 --- /dev/null +++ b/LiteLoader/Header/MC/GeneticsComponent.hpp @@ -0,0 +1,39 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class GeneticsComponent { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_GENETICSCOMPONENT +public: + class GeneticsComponent& operator=(class GeneticsComponent const &) = delete; + GeneticsComponent(class GeneticsComponent const &) = delete; + GeneticsComponent() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_GENETICSCOMPONENT +#endif + MCAPI void addAdditionalSaveData(class CompoundTag &) const; + MCAPI struct GeneticsComponent::Gene * findGene(std::string const &); + MCAPI void fireGeneEvents(class Actor &) const; + MCAPI void initializeGenesFromParents(class Actor &, class Actor &, class Actor &); + MCAPI void readAdditionalSaveData(class Actor &, class CompoundTag const &, class DataLoadHelper &); + +//private: + MCAPI struct GeneticsComponent::Gene _crossParentGenes(struct GeneDefinition const &, struct GeneticsComponent::Gene &, struct GeneticsComponent::Gene &); + +private: + MCAPI static std::string const GENE_ARRAY; + MCAPI static std::string const HIDDEN_ALLELE; + MCAPI static std::string const MAIN_ALLELE; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/GeneticsDefinition.hpp b/LiteLoader/Header/MC/GeneticsDefinition.hpp new file mode 100644 index 0000000..bceed3e --- /dev/null +++ b/LiteLoader/Header/MC/GeneticsDefinition.hpp @@ -0,0 +1,29 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "JsonUtil.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class GeneticsDefinition { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_GENETICSDEFINITION +public: + class GeneticsDefinition& operator=(class GeneticsDefinition const &) = delete; + GeneticsDefinition(class GeneticsDefinition const &) = delete; + GeneticsDefinition() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_GENETICSDEFINITION +#endif + MCAPI void addGeneDefinition(struct GeneDefinition const &); + MCAPI static void buildSchema(class std::shared_ptr> &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/GetChunkDataCommand.hpp b/LiteLoader/Header/MC/GetChunkDataCommand.hpp new file mode 100644 index 0000000..38559d7 --- /dev/null +++ b/LiteLoader/Header/MC/GetChunkDataCommand.hpp @@ -0,0 +1,30 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Command.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class GetChunkDataCommand : public Command { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_GETCHUNKDATACOMMAND +public: + class GetChunkDataCommand& operator=(class GetChunkDataCommand const &) = delete; + GetChunkDataCommand(class GetChunkDataCommand const &) = delete; + GetChunkDataCommand() = delete; +#endif + +public: + /*0*/ virtual ~GetChunkDataCommand(); + /*1*/ virtual void execute(class CommandOrigin const &, class CommandOutput &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_GETCHUNKDATACOMMAND +#endif + MCAPI static void setup(class CommandRegistry &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/GetChunksCommand.hpp b/LiteLoader/Header/MC/GetChunksCommand.hpp new file mode 100644 index 0000000..ff41be3 --- /dev/null +++ b/LiteLoader/Header/MC/GetChunksCommand.hpp @@ -0,0 +1,30 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Command.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class GetChunksCommand : public Command { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_GETCHUNKSCOMMAND +public: + class GetChunksCommand& operator=(class GetChunksCommand const &) = delete; + GetChunksCommand(class GetChunksCommand const &) = delete; + GetChunksCommand() = delete; +#endif + +public: + /*0*/ virtual ~GetChunksCommand(); + /*1*/ virtual void execute(class CommandOrigin const &, class CommandOutput &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_GETCHUNKSCOMMAND +#endif + MCAPI static void setup(class CommandRegistry &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/GetEduServerInfoCommand.hpp b/LiteLoader/Header/MC/GetEduServerInfoCommand.hpp new file mode 100644 index 0000000..7bf4e21 --- /dev/null +++ b/LiteLoader/Header/MC/GetEduServerInfoCommand.hpp @@ -0,0 +1,30 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Command.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class GetEduServerInfoCommand : public Command { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_GETEDUSERVERINFOCOMMAND +public: + class GetEduServerInfoCommand& operator=(class GetEduServerInfoCommand const &) = delete; + GetEduServerInfoCommand(class GetEduServerInfoCommand const &) = delete; + GetEduServerInfoCommand() = delete; +#endif + +public: + /*0*/ virtual ~GetEduServerInfoCommand(); + /*1*/ virtual void execute(class CommandOrigin const &, class CommandOutput &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_GETEDUSERVERINFOCOMMAND +#endif + MCAPI static void setup(class CommandRegistry &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/GetInteractionPositionForBlockDefinition.hpp b/LiteLoader/Header/MC/GetInteractionPositionForBlockDefinition.hpp new file mode 100644 index 0000000..b2a90e6 --- /dev/null +++ b/LiteLoader/Header/MC/GetInteractionPositionForBlockDefinition.hpp @@ -0,0 +1,30 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Json.hpp" +#include "BehaviorDefinition.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class GetInteractionPositionForBlockDefinition : public BehaviorDefinition { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_GETINTERACTIONPOSITIONFORBLOCKDEFINITION +public: + class GetInteractionPositionForBlockDefinition& operator=(class GetInteractionPositionForBlockDefinition const &) = delete; + GetInteractionPositionForBlockDefinition(class GetInteractionPositionForBlockDefinition const &) = delete; + GetInteractionPositionForBlockDefinition() = delete; +#endif + +public: + /*0*/ virtual ~GetInteractionPositionForBlockDefinition(); + /*1*/ virtual void load(class Json::Value, class BehaviorFactory const &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_GETINTERACTIONPOSITIONFORBLOCKDEFINITION +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/GetInteractionPositionForBlockNode.hpp b/LiteLoader/Header/MC/GetInteractionPositionForBlockNode.hpp new file mode 100644 index 0000000..085ab07 --- /dev/null +++ b/LiteLoader/Header/MC/GetInteractionPositionForBlockNode.hpp @@ -0,0 +1,35 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Facing.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class GetInteractionPositionForBlockNode { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_GETINTERACTIONPOSITIONFORBLOCKNODE +public: + class GetInteractionPositionForBlockNode& operator=(class GetInteractionPositionForBlockNode const &) = delete; + GetInteractionPositionForBlockNode(class GetInteractionPositionForBlockNode const &) = delete; + GetInteractionPositionForBlockNode() = delete; +#endif + +public: + /*0*/ virtual ~GetInteractionPositionForBlockNode(); + /*1*/ virtual enum BehaviorStatus tick(class Actor &); + /*2*/ virtual void initializeFromDefinition(class Actor &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_GETINTERACTIONPOSITIONFORBLOCKNODE +#endif + +//private: + MCAPI enum Facing::Name parseFacingNameFromString(std::string); + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/GetSpawnPointCommand.hpp b/LiteLoader/Header/MC/GetSpawnPointCommand.hpp new file mode 100644 index 0000000..a83d358 --- /dev/null +++ b/LiteLoader/Header/MC/GetSpawnPointCommand.hpp @@ -0,0 +1,30 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Command.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class GetSpawnPointCommand : public Command { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_GETSPAWNPOINTCOMMAND +public: + class GetSpawnPointCommand& operator=(class GetSpawnPointCommand const &) = delete; + GetSpawnPointCommand(class GetSpawnPointCommand const &) = delete; + GetSpawnPointCommand() = delete; +#endif + +public: + /*0*/ virtual ~GetSpawnPointCommand(); + /*1*/ virtual void execute(class CommandOrigin const &, class CommandOutput &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_GETSPAWNPOINTCOMMAND +#endif + MCAPI static void setup(class CommandRegistry &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/GetTopSolidBlockCommand.hpp b/LiteLoader/Header/MC/GetTopSolidBlockCommand.hpp new file mode 100644 index 0000000..f56a7f2 --- /dev/null +++ b/LiteLoader/Header/MC/GetTopSolidBlockCommand.hpp @@ -0,0 +1,30 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Command.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class GetTopSolidBlockCommand : public Command { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_GETTOPSOLIDBLOCKCOMMAND +public: + class GetTopSolidBlockCommand& operator=(class GetTopSolidBlockCommand const &) = delete; + GetTopSolidBlockCommand(class GetTopSolidBlockCommand const &) = delete; + GetTopSolidBlockCommand() = delete; +#endif + +public: + /*0*/ virtual ~GetTopSolidBlockCommand(); + /*1*/ virtual void execute(class CommandOrigin const &, class CommandOutput &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_GETTOPSOLIDBLOCKCOMMAND +#endif + MCAPI static void setup(class CommandRegistry &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/Ghast.hpp b/LiteLoader/Header/MC/Ghast.hpp new file mode 100644 index 0000000..f0e34bb --- /dev/null +++ b/LiteLoader/Header/MC/Ghast.hpp @@ -0,0 +1,56 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Actor.hpp" +#include "Monster.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class Ghast : public Monster { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_GHAST +public: + class Ghast& operator=(class Ghast const &) = delete; + Ghast(class Ghast const &) = delete; + Ghast() = delete; +#endif + +public: + /*7*/ virtual ~Ghast(); + /*30*/ virtual void __unk_vfn_30(); + /*54*/ virtual void __unk_vfn_54(); + /*61*/ virtual void __unk_vfn_61(); + /*76*/ virtual void __unk_vfn_76(); + /*81*/ virtual void __unk_vfn_81(); + /*88*/ virtual void __unk_vfn_88(); + /*90*/ virtual void __unk_vfn_90(); + /*98*/ virtual void __unk_vfn_98(); + /*100*/ virtual void __unk_vfn_100(); + /*121*/ virtual void __unk_vfn_121(); + /*169*/ virtual void __unk_vfn_169(); + /*182*/ virtual void __unk_vfn_182(); + /*206*/ virtual void __unk_vfn_206(); + /*207*/ virtual void __unk_vfn_207(); + /*228*/ virtual void __unk_vfn_228(); + /*231*/ virtual void __unk_vfn_231(); + /*235*/ virtual void updateEntitySpecificMolangVariables(class RenderParams &); + /*238*/ virtual void __unk_vfn_238(); + /*240*/ virtual bool _hurt(class ActorDamageSource const &, int, bool, bool); + /*246*/ virtual void __unk_vfn_246(); + /*257*/ virtual void __unk_vfn_257(); + /*266*/ virtual int getAmbientSoundPostponeTicks(); + /*290*/ virtual void __unk_vfn_290(); + /*300*/ virtual void __unk_vfn_300(); + /*332*/ virtual void __unk_vfn_332(); + /*348*/ virtual void __unk_vfn_348(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_GHAST + MCVAPI bool useNewAi() const; +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/GildedBlackstone.hpp b/LiteLoader/Header/MC/GildedBlackstone.hpp new file mode 100644 index 0000000..988fa86 --- /dev/null +++ b/LiteLoader/Header/MC/GildedBlackstone.hpp @@ -0,0 +1,61 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "BlockLegacy.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class GildedBlackstone : public BlockLegacy { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_GILDEDBLACKSTONE +public: + class GildedBlackstone& operator=(class GildedBlackstone const &) = delete; + GildedBlackstone(class GildedBlackstone const &) = delete; + GildedBlackstone() = delete; +#endif + +public: + /*0*/ virtual ~GildedBlackstone(); + /*18*/ virtual void __unk_vfn_18(); + /*24*/ virtual void __unk_vfn_24(); + /*25*/ virtual void __unk_vfn_25(); + /*26*/ virtual void __unk_vfn_26(); + /*27*/ virtual void __unk_vfn_27(); + /*28*/ virtual void __unk_vfn_28(); + /*30*/ virtual void __unk_vfn_30(); + /*31*/ virtual void __unk_vfn_31(); + /*32*/ virtual void __unk_vfn_32(); + /*33*/ virtual void __unk_vfn_33(); + /*34*/ virtual void __unk_vfn_34(); + /*35*/ virtual void __unk_vfn_35(); + /*36*/ virtual void __unk_vfn_36(); + /*38*/ virtual void __unk_vfn_38(); + /*39*/ virtual void __unk_vfn_39(); + /*40*/ virtual void __unk_vfn_40(); + /*42*/ virtual void __unk_vfn_42(); + /*43*/ virtual void __unk_vfn_43(); + /*49*/ virtual void __unk_vfn_49(); + /*52*/ virtual void __unk_vfn_52(); + /*67*/ virtual void __unk_vfn_67(); + /*73*/ virtual void __unk_vfn_73(); + /*87*/ virtual void __unk_vfn_87(); + /*91*/ virtual class ItemInstance getResourceItem(class Random &, class Block const &, int) const; + /*95*/ virtual void __unk_vfn_95(); + /*109*/ virtual void __unk_vfn_109(); + /*116*/ virtual void __unk_vfn_116(); + /*118*/ virtual void __unk_vfn_118(); + /*119*/ virtual void __unk_vfn_119(); + /*142*/ virtual void __unk_vfn_142(); + /*158*/ virtual void __unk_vfn_158(); + /*159*/ virtual class ItemInstance getSilkTouchItemInstance(class Block const &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_GILDEDBLACKSTONE + MCVAPI bool canBeSilkTouched() const; +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/GiveCommand.hpp b/LiteLoader/Header/MC/GiveCommand.hpp new file mode 100644 index 0000000..04d0d2a --- /dev/null +++ b/LiteLoader/Header/MC/GiveCommand.hpp @@ -0,0 +1,30 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Command.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class GiveCommand : public Command { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_GIVECOMMAND +public: + class GiveCommand& operator=(class GiveCommand const &) = delete; + GiveCommand(class GiveCommand const &) = delete; + GiveCommand() = delete; +#endif + +public: + /*0*/ virtual ~GiveCommand(); + /*1*/ virtual void execute(class CommandOrigin const &, class CommandOutput &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_GIVECOMMAND +#endif + MCAPI static void setup(class CommandRegistry &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/GiveableComponent.hpp b/LiteLoader/Header/MC/GiveableComponent.hpp new file mode 100644 index 0000000..30681b7 --- /dev/null +++ b/LiteLoader/Header/MC/GiveableComponent.hpp @@ -0,0 +1,27 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class GiveableComponent { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_GIVEABLECOMPONENT +public: + class GiveableComponent& operator=(class GiveableComponent const &) = delete; + GiveableComponent(class GiveableComponent const &) = delete; + GiveableComponent() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_GIVEABLECOMPONENT +#endif + MCAPI bool getInteraction(class Actor &, class Player &, class ActorInteraction &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/GiveableDefinition.hpp b/LiteLoader/Header/MC/GiveableDefinition.hpp new file mode 100644 index 0000000..bffb230 --- /dev/null +++ b/LiteLoader/Header/MC/GiveableDefinition.hpp @@ -0,0 +1,29 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "JsonUtil.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class GiveableDefinition { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_GIVEABLEDEFINITION +public: + class GiveableDefinition& operator=(class GiveableDefinition const &) = delete; + GiveableDefinition(class GiveableDefinition const &) = delete; + GiveableDefinition() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_GIVEABLEDEFINITION +#endif + MCAPI void addGiveableTrigger(struct GiveableTrigger const &); + MCAPI static void buildSchema(class std::shared_ptr> &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/GiveableTrigger.hpp b/LiteLoader/Header/MC/GiveableTrigger.hpp new file mode 100644 index 0000000..9261016 --- /dev/null +++ b/LiteLoader/Header/MC/GiveableTrigger.hpp @@ -0,0 +1,27 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +struct GiveableTrigger { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_GIVEABLETRIGGER +public: + struct GiveableTrigger& operator=(struct GiveableTrigger const &) = delete; + GiveableTrigger() = delete; +#endif +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_GIVEABLETRIGGER +#endif + MCAPI GiveableTrigger(struct GiveableTrigger const &); + MCAPI void addItemByName(std::string const &); + MCAPI ~GiveableTrigger(); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/GlassBlock.hpp b/LiteLoader/Header/MC/GlassBlock.hpp new file mode 100644 index 0000000..254def1 --- /dev/null +++ b/LiteLoader/Header/MC/GlassBlock.hpp @@ -0,0 +1,62 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "BlockLegacy.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class GlassBlock : public BlockLegacy { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_GLASSBLOCK +public: + class GlassBlock& operator=(class GlassBlock const &) = delete; + GlassBlock(class GlassBlock const &) = delete; + GlassBlock() = delete; +#endif + +public: + /*0*/ virtual ~GlassBlock(); + /*18*/ virtual void __unk_vfn_18(); + /*22*/ virtual bool canConnect(class Block const &, unsigned char, class Block const &) const; + /*24*/ virtual void __unk_vfn_24(); + /*25*/ virtual void __unk_vfn_25(); + /*26*/ virtual void __unk_vfn_26(); + /*27*/ virtual void __unk_vfn_27(); + /*28*/ virtual void __unk_vfn_28(); + /*30*/ virtual void __unk_vfn_30(); + /*31*/ virtual void __unk_vfn_31(); + /*32*/ virtual void __unk_vfn_32(); + /*33*/ virtual void __unk_vfn_33(); + /*34*/ virtual void __unk_vfn_34(); + /*35*/ virtual void __unk_vfn_35(); + /*36*/ virtual void __unk_vfn_36(); + /*38*/ virtual void __unk_vfn_38(); + /*39*/ virtual void __unk_vfn_39(); + /*40*/ virtual void __unk_vfn_40(); + /*42*/ virtual void __unk_vfn_42(); + /*43*/ virtual void __unk_vfn_43(); + /*49*/ virtual void __unk_vfn_49(); + /*52*/ virtual void __unk_vfn_52(); + /*53*/ virtual bool canBeUsedInCommands(bool, class BaseGameVersion const &) const; + /*67*/ virtual void __unk_vfn_67(); + /*73*/ virtual void __unk_vfn_73(); + /*84*/ virtual bool breaksFallingBlocks(class Block const &) const; + /*87*/ virtual void __unk_vfn_87(); + /*90*/ virtual int getResourceCount(class Random &, class Block const &, int, bool) const; + /*95*/ virtual void __unk_vfn_95(); + /*109*/ virtual void __unk_vfn_109(); + /*116*/ virtual void __unk_vfn_116(); + /*118*/ virtual void __unk_vfn_118(); + /*119*/ virtual void __unk_vfn_119(); + /*142*/ virtual void __unk_vfn_142(); + /*158*/ virtual void __unk_vfn_158(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_GLASSBLOCK +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/GlazedTerracottaBlock.hpp b/LiteLoader/Header/MC/GlazedTerracottaBlock.hpp new file mode 100644 index 0000000..3100981 --- /dev/null +++ b/LiteLoader/Header/MC/GlazedTerracottaBlock.hpp @@ -0,0 +1,61 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "BlockLegacy.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class GlazedTerracottaBlock : public BlockLegacy { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_GLAZEDTERRACOTTABLOCK +public: + class GlazedTerracottaBlock& operator=(class GlazedTerracottaBlock const &) = delete; + GlazedTerracottaBlock(class GlazedTerracottaBlock const &) = delete; + GlazedTerracottaBlock() = delete; +#endif + +public: + /*0*/ virtual ~GlazedTerracottaBlock(); + /*18*/ virtual void __unk_vfn_18(); + /*24*/ virtual void __unk_vfn_24(); + /*25*/ virtual void __unk_vfn_25(); + /*26*/ virtual void __unk_vfn_26(); + /*27*/ virtual void __unk_vfn_27(); + /*28*/ virtual void __unk_vfn_28(); + /*30*/ virtual void __unk_vfn_30(); + /*31*/ virtual void __unk_vfn_31(); + /*32*/ virtual void __unk_vfn_32(); + /*33*/ virtual void __unk_vfn_33(); + /*34*/ virtual void __unk_vfn_34(); + /*35*/ virtual void __unk_vfn_35(); + /*36*/ virtual void __unk_vfn_36(); + /*38*/ virtual void __unk_vfn_38(); + /*39*/ virtual void __unk_vfn_39(); + /*40*/ virtual void __unk_vfn_40(); + /*42*/ virtual void __unk_vfn_42(); + /*43*/ virtual void __unk_vfn_43(); + /*44*/ virtual bool isValidAuxValue(int) const; + /*49*/ virtual void __unk_vfn_49(); + /*52*/ virtual void __unk_vfn_52(); + /*67*/ virtual void __unk_vfn_67(); + /*73*/ virtual void __unk_vfn_73(); + /*87*/ virtual void __unk_vfn_87(); + /*95*/ virtual void __unk_vfn_95(); + /*99*/ virtual class Block const & getPlacementBlock(class Actor &, class BlockPos const &, unsigned char, class Vec3 const &, int) const; + /*109*/ virtual void __unk_vfn_109(); + /*113*/ virtual class Color getMapColor(class BlockSource &, class BlockPos const &) const; + /*116*/ virtual void __unk_vfn_116(); + /*118*/ virtual void __unk_vfn_118(); + /*119*/ virtual void __unk_vfn_119(); + /*142*/ virtual void __unk_vfn_142(); + /*158*/ virtual void __unk_vfn_158(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_GLAZEDTERRACOTTABLOCK +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/GlideMoveControl.hpp b/LiteLoader/Header/MC/GlideMoveControl.hpp new file mode 100644 index 0000000..ff37f75 --- /dev/null +++ b/LiteLoader/Header/MC/GlideMoveControl.hpp @@ -0,0 +1,30 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "MoveControl.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class GlideMoveControl : public MoveControl { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_GLIDEMOVECONTROL +public: + class GlideMoveControl& operator=(class GlideMoveControl const &) = delete; + GlideMoveControl(class GlideMoveControl const &) = delete; + GlideMoveControl() = delete; +#endif + +public: + /*0*/ virtual ~GlideMoveControl(); + /*1*/ virtual void initializeInternal(class Mob &, struct MoveControlDescription *); + /*2*/ virtual void tick(class MoveControlComponent &, class Mob &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_GLIDEMOVECONTROL +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/GlideMoveControlDescription.hpp b/LiteLoader/Header/MC/GlideMoveControlDescription.hpp new file mode 100644 index 0000000..36ec245 --- /dev/null +++ b/LiteLoader/Header/MC/GlideMoveControlDescription.hpp @@ -0,0 +1,30 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Json.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +struct GlideMoveControlDescription { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_GLIDEMOVECONTROLDESCRIPTION +public: + struct GlideMoveControlDescription& operator=(struct GlideMoveControlDescription const &) = delete; + GlideMoveControlDescription(struct GlideMoveControlDescription const &) = delete; + GlideMoveControlDescription() = delete; +#endif +public: + /*0*/ virtual char const * getJsonName() const; + /*1*/ virtual ~GlideMoveControlDescription(); + /*2*/ virtual void deserializeData(class Json::Value &); + /*3*/ virtual void serializeData(class Json::Value &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_GLIDEMOVECONTROLDESCRIPTION +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/GlobalPauseCommand.hpp b/LiteLoader/Header/MC/GlobalPauseCommand.hpp new file mode 100644 index 0000000..fe849c9 --- /dev/null +++ b/LiteLoader/Header/MC/GlobalPauseCommand.hpp @@ -0,0 +1,30 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Command.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class GlobalPauseCommand : public Command { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_GLOBALPAUSECOMMAND +public: + class GlobalPauseCommand& operator=(class GlobalPauseCommand const &) = delete; + GlobalPauseCommand(class GlobalPauseCommand const &) = delete; + GlobalPauseCommand() = delete; +#endif + +public: + /*0*/ virtual ~GlobalPauseCommand(); + /*1*/ virtual void execute(class CommandOrigin const &, class CommandOutput &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_GLOBALPAUSECOMMAND +#endif + MCAPI static void setup(class CommandRegistry &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/GlowStickItem.hpp b/LiteLoader/Header/MC/GlowStickItem.hpp new file mode 100644 index 0000000..f40b4c2 --- /dev/null +++ b/LiteLoader/Header/MC/GlowStickItem.hpp @@ -0,0 +1,128 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "ChemistryStickItem.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class GlowStickItem : public ChemistryStickItem { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_GLOWSTICKITEM +public: + class GlowStickItem& operator=(class GlowStickItem const &) = delete; + GlowStickItem(class GlowStickItem const &) = delete; + GlowStickItem() = delete; +#endif + +public: + /*0*/ virtual ~GlowStickItem(); + /*1*/ virtual void hurtEnemy(class ItemStack &, class Mob *, class Mob *) const; + /*2*/ virtual void __unk_vfn_2(); + /*3*/ virtual void __unk_vfn_3(); + /*4*/ virtual bool isExperimental(class ItemDescriptor const *) const; + /*5*/ virtual bool isValidRepairItem(class ItemStackBase const &, class ItemStackBase const &) const; + /*6*/ virtual class Item & setMaxStackSize(unsigned char); + /*7*/ virtual class Item & setCategory(enum CreativeItemCategory); + /*8*/ virtual class Item & setStackedByData(bool); + /*9*/ virtual class Item & setMaxDamage(int); + /*10*/ virtual class Item & setHandEquipped(); + /*11*/ virtual class Item & setUseAnimation(enum UseAnimation); + /*12*/ virtual class Item & setMaxUseDuration(int); + /*13*/ virtual class Item & setRequiresWorldBuilder(bool); + /*14*/ virtual class Item & setExplodable(bool); + /*15*/ virtual class Item & setFireResistant(bool); + /*16*/ virtual class Item & setIsGlint(bool); + /*17*/ virtual class Item & setShouldDespawn(bool); + /*18*/ virtual void __unk_vfn_18(); + /*19*/ virtual bool canBeDepleted() const; + /*20*/ virtual void __unk_vfn_20(); + /*21*/ virtual void __unk_vfn_21(); + /*22*/ virtual bool isStackedByData() const; + /*23*/ virtual void __unk_vfn_23(); + /*24*/ virtual void __unk_vfn_24(); + /*25*/ virtual bool isHandEquipped() const; + /*26*/ virtual void __unk_vfn_26(); + /*27*/ virtual void __unk_vfn_27(); + /*28*/ virtual void __unk_vfn_28(); + /*29*/ virtual bool isGlint(class ItemStackBase const &) const; + /*30*/ virtual void __unk_vfn_30(); + /*31*/ virtual void __unk_vfn_31(); + /*32*/ virtual void __unk_vfn_32(); + /*33*/ virtual void __unk_vfn_33(); + /*34*/ virtual void __unk_vfn_34(); + /*35*/ virtual void __unk_vfn_35(); + /*36*/ virtual void __unk_vfn_36(); + /*37*/ virtual void __unk_vfn_37(); + /*38*/ virtual void appendFormattedHovertext(class ItemStackBase const &, class Level &, std::string &, bool) const; + /*39*/ virtual void __unk_vfn_39(); + /*40*/ virtual void __unk_vfn_40(); + /*41*/ virtual void __unk_vfn_41(); + /*42*/ virtual void __unk_vfn_42(); + /*43*/ virtual void __unk_vfn_43(); + /*44*/ virtual bool isValidAuxValue(int) const; + /*45*/ virtual int getDamageChance(int) const; + /*46*/ virtual void __unk_vfn_46(); + /*47*/ virtual void __unk_vfn_47(); + /*48*/ virtual void __unk_vfn_48(); + /*49*/ virtual void __unk_vfn_49(); + /*50*/ virtual void __unk_vfn_50(); + /*51*/ virtual void __unk_vfn_51(); + /*52*/ virtual void __unk_vfn_52(); + /*53*/ virtual void __unk_vfn_53(); + /*54*/ virtual int buildIdAux(short, class CompoundTag const *) const; + /*55*/ virtual class ItemDescriptor buildDescriptor(short, class CompoundTag const *) const; + /*56*/ virtual class ItemStack & use(class ItemStack &, class Player &) const; + /*57*/ virtual bool dispense(class BlockSource &, class Container &, int, class Vec3 const &, unsigned char) const; + /*58*/ virtual enum ItemUseMethod useTimeDepleted(class ItemStack &, class Level *, class Player *) const; + /*59*/ virtual void __unk_vfn_59(); + /*60*/ virtual void __unk_vfn_60(); + /*61*/ virtual void __unk_vfn_61(); + /*62*/ virtual void __unk_vfn_62(); + /*63*/ virtual void __unk_vfn_63(); + /*64*/ virtual void __unk_vfn_64(); + /*65*/ virtual std::string buildDescriptionId(class ItemDescriptor const &, class CompoundTag const *) const; + /*66*/ virtual std::string buildEffectDescriptionName(class ItemStackBase const &) const; + /*67*/ virtual std::string buildCategoryDescriptionName() const; + /*68*/ virtual void readUserData(class ItemStackBase &, class IDataInput &, class ReadOnlyBinaryStream &) const; + /*69*/ virtual void writeUserData(class ItemStackBase const &, class IDataOutput &) const; + /*70*/ virtual void __unk_vfn_70(); + /*71*/ virtual bool inventoryTick(class ItemStack &, class Level &, class Actor &, int, bool) const; + /*72*/ virtual void __unk_vfn_72(); + /*73*/ virtual enum CooldownType getCooldownType() const; + /*74*/ virtual int getCooldownTime() const; + /*75*/ virtual void __unk_vfn_75(); + /*76*/ virtual void fixupOnLoad(class ItemStackBase &) const; + /*77*/ virtual short getDamageValue(class CompoundTag const *) const; + /*78*/ virtual void setDamageValue(class ItemStackBase &, short) const; + /*79*/ virtual void __unk_vfn_79(); + /*80*/ virtual void __unk_vfn_80(); + /*81*/ virtual bool isSameItem(class ItemStackBase const &, class ItemStackBase const &) const; + /*82*/ virtual std::string getInteractText(class Player const &) const; + /*83*/ virtual void __unk_vfn_83(); + /*84*/ virtual struct Brightness getLightEmission(int) const; + /*85*/ virtual struct TextureUVCoordinateSet const & getIcon(class ItemStackBase const &, int, bool) const; + /*86*/ virtual int getIconYOffset() const; + /*87*/ virtual class Item & setIcon(std::string const &, int); + /*88*/ virtual class Item & setIcon(struct TextureUVCoordinateSet const &); + /*89*/ virtual class Item & setIconAtlas(std::string const &, int); + /*90*/ virtual void __unk_vfn_90(); + /*91*/ virtual void __unk_vfn_91(); + /*92*/ virtual void __unk_vfn_92(); + /*93*/ virtual void __unk_vfn_93(); + /*94*/ virtual bool _checkUseOnPermissions(class Actor &, class ItemInstance &, unsigned char const &, class BlockPos const &) const; + /*95*/ virtual bool _checkUseOnPermissions(class Actor &, class ItemStack &, unsigned char const &, class BlockPos const &) const; + /*96*/ virtual void __unk_vfn_96(); + /*97*/ virtual void __unk_vfn_97(); + /*98*/ virtual bool _useOn(class ItemInstance &, class Actor &, class BlockPos, unsigned char, float, float, float) const; + /*99*/ virtual bool _useOn(class ItemStack &, class Actor &, class BlockPos, unsigned char, float, float, float) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_GLOWSTICKITEM +#endif + MCAPI static enum ItemColor const COLORS[]; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/GlowStoneFeature.hpp b/LiteLoader/Header/MC/GlowStoneFeature.hpp new file mode 100644 index 0000000..546e3a3 --- /dev/null +++ b/LiteLoader/Header/MC/GlowStoneFeature.hpp @@ -0,0 +1,29 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Feature.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class GlowStoneFeature : public Feature { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_GLOWSTONEFEATURE +public: + class GlowStoneFeature& operator=(class GlowStoneFeature const &) = delete; + GlowStoneFeature(class GlowStoneFeature const &) = delete; + GlowStoneFeature() = delete; +#endif + +public: + /*0*/ virtual ~GlowStoneFeature(); + /*1*/ virtual bool place(class BlockSource &, class BlockPos const &, class Random &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_GLOWSTONEFEATURE +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/GoHomeGoal.hpp b/LiteLoader/Header/MC/GoHomeGoal.hpp new file mode 100644 index 0000000..37d319d --- /dev/null +++ b/LiteLoader/Header/MC/GoHomeGoal.hpp @@ -0,0 +1,41 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class GoHomeGoal { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_GOHOMEGOAL +public: + class GoHomeGoal& operator=(class GoHomeGoal const &) = delete; + GoHomeGoal(class GoHomeGoal const &) = delete; + GoHomeGoal() = delete; +#endif + +public: + /*0*/ virtual ~GoHomeGoal(); + /*1*/ virtual bool canUse(); + /*2*/ virtual bool canContinueToUse(); + /*3*/ virtual void __unk_vfn_3(); + /*4*/ virtual void start(); + /*5*/ virtual void stop(); + /*6*/ virtual void tick(); + /*7*/ virtual void appendDebugInfo(std::string &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_GOHOMEGOAL +#endif + +//protected: + MCAPI class AutomaticID _getHomeDimension() const; + MCAPI class BlockPos _getHomePos() const; + MCAPI void _triggerOnFailedEvents(); + +protected: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/Goal.hpp b/LiteLoader/Header/MC/Goal.hpp new file mode 100644 index 0000000..a48711d --- /dev/null +++ b/LiteLoader/Header/MC/Goal.hpp @@ -0,0 +1,39 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class Goal { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_GOAL +public: + class Goal& operator=(class Goal const &) = delete; + Goal(class Goal const &) = delete; + Goal() = delete; +#endif + +public: + /*0*/ virtual ~Goal(); + /*1*/ virtual void __unk_vfn_1() = 0; + /*2*/ virtual bool canContinueToUse(); + /*3*/ virtual bool canBeInterrupted(); + /*4*/ virtual void __unk_vfn_4() = 0; + /*5*/ virtual void __unk_vfn_5(); + /*6*/ virtual void __unk_vfn_6(); + /*7*/ virtual void __unk_vfn_7(); + /*8*/ virtual bool isTargetGoal() const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_GOAL + MCVAPI void onPlayerDimensionChanged(class Player *, class AutomaticID); + MCVAPI void start(); + MCVAPI void stop(); + MCVAPI void tick(); +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/GoalDefinition.hpp b/LiteLoader/Header/MC/GoalDefinition.hpp new file mode 100644 index 0000000..8192250 --- /dev/null +++ b/LiteLoader/Header/MC/GoalDefinition.hpp @@ -0,0 +1,31 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Json.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +struct GoalDefinition { + +#define AFTER_EXTRA + +#undef AFTER_EXTRApublic: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_GOALDEFINITION +#endif + MCAPI GoalDefinition(); + MCAPI GoalDefinition(struct GoalDefinition const &); + MCAPI GoalDefinition(struct GoalDefinition &&); + MCAPI enum POIType _getPOITypeFromString(std::string); + MCAPI enum TargetSelectionMethod _getTargetSelectionMethodFromString(std::string const &); + MCAPI struct GoalDefinition & operator=(struct GoalDefinition const &); + MCAPI struct GoalDefinition & operator=(struct GoalDefinition &&); + MCAPI bool parse(class Json::Value &, int); + MCAPI ~GoalDefinition(); + MCAPI static std::unique_ptr CreateGoal(class Mob &, struct GoalDefinition const &); + MCAPI static bool GoalExists(std::string const &); + MCAPI static class std::unordered_map (class Mob &, struct GoalDefinition const &)>, struct std::hash, struct std::equal_to, class std::allocator (class Mob &, struct GoalDefinition const &)>>>> mGoalMap; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/GoalSelectorComponent.hpp b/LiteLoader/Header/MC/GoalSelectorComponent.hpp new file mode 100644 index 0000000..1bdac43 --- /dev/null +++ b/LiteLoader/Header/MC/GoalSelectorComponent.hpp @@ -0,0 +1,34 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class GoalSelectorComponent { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_GOALSELECTORCOMPONENT +public: + class GoalSelectorComponent& operator=(class GoalSelectorComponent const &) = delete; + GoalSelectorComponent(class GoalSelectorComponent const &) = delete; + GoalSelectorComponent() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_GOALSELECTORCOMPONENT +#endif + MCAPI void addGoal(int, std::unique_ptr); + MCAPI void buildDebugInfo(std::string &) const; + MCAPI void stopNonTargetedGoals(); + +//private: + MCAPI void _eraseGoals(bool ( *)(struct std::pair &)); + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/GoalSelectorSystem.hpp b/LiteLoader/Header/MC/GoalSelectorSystem.hpp new file mode 100644 index 0000000..4aa8359 --- /dev/null +++ b/LiteLoader/Header/MC/GoalSelectorSystem.hpp @@ -0,0 +1,33 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class GoalSelectorSystem { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_GOALSELECTORSYSTEM +public: + class GoalSelectorSystem& operator=(class GoalSelectorSystem const &) = delete; + GoalSelectorSystem(class GoalSelectorSystem const &) = delete; + GoalSelectorSystem() = delete; +#endif + +public: + /*0*/ virtual ~GoalSelectorSystem(); + /*1*/ virtual void tick(class EntityRegistry &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_GOALSELECTORSYSTEM +#endif + +//private: + MCAPI static void _tickGoalSelectorComponent(class ViewedEntityContextT, class ActorComponent, class GoalSelectorComponent> &); + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/GoalSelectorUtility.hpp b/LiteLoader/Header/MC/GoalSelectorUtility.hpp new file mode 100644 index 0000000..93a36fc --- /dev/null +++ b/LiteLoader/Header/MC/GoalSelectorUtility.hpp @@ -0,0 +1,19 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +namespace GoalSelectorUtility { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA + MCAPI bool canUseInSystem(class PrioritizedGoal &, std::vector> &); + MCAPI void tickGoals(class Mob &, bool); + MCAPI void tryStartGoals(class Mob &, bool); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/GrantXPSubcomponent.hpp b/LiteLoader/Header/MC/GrantXPSubcomponent.hpp new file mode 100644 index 0000000..4331179 --- /dev/null +++ b/LiteLoader/Header/MC/GrantXPSubcomponent.hpp @@ -0,0 +1,31 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Json.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class GrantXPSubcomponent { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_GRANTXPSUBCOMPONENT +public: + class GrantXPSubcomponent& operator=(class GrantXPSubcomponent const &) = delete; + GrantXPSubcomponent(class GrantXPSubcomponent const &) = delete; + GrantXPSubcomponent() = delete; +#endif + +public: + /*0*/ virtual ~GrantXPSubcomponent(); + /*1*/ virtual void readfromJSON(class Json::Value &); + /*2*/ virtual void writetoJSON(class Json::Value &) const; + /*3*/ virtual void doOnHitEffect(class Actor &, class ProjectileComponent &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_GRANTXPSUBCOMPONENT +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/GrassBlock.hpp b/LiteLoader/Header/MC/GrassBlock.hpp new file mode 100644 index 0000000..fd695a0 --- /dev/null +++ b/LiteLoader/Header/MC/GrassBlock.hpp @@ -0,0 +1,78 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "BlockLegacy.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class GrassBlock : public BlockLegacy { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_GRASSBLOCK +public: + class GrassBlock& operator=(class GrassBlock const &) = delete; + GrassBlock(class GrassBlock const &) = delete; + GrassBlock() = delete; +#endif + +public: + /*0*/ virtual ~GrassBlock(); + /*1*/ virtual void tick(class BlockSource &, class BlockPos const &, class Random &) const; + /*18*/ virtual void __unk_vfn_18(); + /*24*/ virtual void __unk_vfn_24(); + /*25*/ virtual void __unk_vfn_25(); + /*26*/ virtual void __unk_vfn_26(); + /*27*/ virtual void __unk_vfn_27(); + /*28*/ virtual void __unk_vfn_28(); + /*30*/ virtual void __unk_vfn_30(); + /*31*/ virtual void __unk_vfn_31(); + /*32*/ virtual void __unk_vfn_32(); + /*33*/ virtual void __unk_vfn_33(); + /*34*/ virtual void __unk_vfn_34(); + /*35*/ virtual void __unk_vfn_35(); + /*36*/ virtual void __unk_vfn_36(); + /*38*/ virtual void __unk_vfn_38(); + /*39*/ virtual void __unk_vfn_39(); + /*40*/ virtual void __unk_vfn_40(); + /*42*/ virtual void __unk_vfn_42(); + /*43*/ virtual void __unk_vfn_43(); + /*49*/ virtual void __unk_vfn_49(); + /*52*/ virtual void __unk_vfn_52(); + /*67*/ virtual void __unk_vfn_67(); + /*73*/ virtual void __unk_vfn_73(); + /*75*/ virtual bool onFertilized(class BlockSource &, class BlockPos const &, class Actor *, enum FertilizerType) const; + /*77*/ virtual bool canBeFertilized(class BlockSource &, class BlockPos const &, class Block const &) const; + /*87*/ virtual void __unk_vfn_87(); + /*88*/ virtual void neighborChanged(class BlockSource &, class BlockPos const &, class BlockPos const &) const; + /*91*/ virtual class ItemInstance getResourceItem(class Random &, class Block const &, int) const; + /*95*/ virtual void __unk_vfn_95(); + /*100*/ virtual int calcVariant(class BlockSource &, class BlockPos const &) const; + /*109*/ virtual void __unk_vfn_109(); + /*113*/ virtual class Color getMapColor(class BlockSource &, class BlockPos const &) const; + /*116*/ virtual void __unk_vfn_116(); + /*118*/ virtual void __unk_vfn_118(); + /*119*/ virtual void __unk_vfn_119(); + /*129*/ virtual int getColor(class Block const &) const; + /*130*/ virtual int getColor(class BlockSource &, class BlockPos const &, class Block const &) const; + /*142*/ virtual void __unk_vfn_142(); + /*158*/ virtual void __unk_vfn_158(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_GRASSBLOCK + MCVAPI bool canBeOriginalSurface() const; + MCVAPI bool waterSpreadCausesSpawn() const; +#endif + MCAPI GrassBlock(std::string const &, int); + MCAPI static struct Brightness const MIN_BRIGHTNESS; + +//private: + MCAPI bool _canBeGrass(class BlockSource const &, class BlockPos const &) const; + MCAPI bool _plantGrass(class BlockSource &, class BlockPos const &, bool) const; + MCAPI bool _randomWalk(class BlockSource &, class BlockPos &, int) const; + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/GrassPathBlock.hpp b/LiteLoader/Header/MC/GrassPathBlock.hpp new file mode 100644 index 0000000..6e479cd --- /dev/null +++ b/LiteLoader/Header/MC/GrassPathBlock.hpp @@ -0,0 +1,63 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "BlockLegacy.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class GrassPathBlock : public BlockLegacy { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_GRASSPATHBLOCK +public: + class GrassPathBlock& operator=(class GrassPathBlock const &) = delete; + GrassPathBlock(class GrassPathBlock const &) = delete; + GrassPathBlock() = delete; +#endif + +public: + /*0*/ virtual ~GrassPathBlock(); + /*10*/ virtual class AABB const & getAABB(class BlockSource &, class BlockPos const &, class Block const &, class AABB &, bool) const; + /*18*/ virtual void __unk_vfn_18(); + /*24*/ virtual void __unk_vfn_24(); + /*25*/ virtual void __unk_vfn_25(); + /*26*/ virtual void __unk_vfn_26(); + /*27*/ virtual void __unk_vfn_27(); + /*28*/ virtual void __unk_vfn_28(); + /*30*/ virtual void __unk_vfn_30(); + /*31*/ virtual void __unk_vfn_31(); + /*32*/ virtual void __unk_vfn_32(); + /*33*/ virtual void __unk_vfn_33(); + /*34*/ virtual void __unk_vfn_34(); + /*35*/ virtual void __unk_vfn_35(); + /*36*/ virtual void __unk_vfn_36(); + /*38*/ virtual void __unk_vfn_38(); + /*39*/ virtual void __unk_vfn_39(); + /*40*/ virtual void __unk_vfn_40(); + /*42*/ virtual void __unk_vfn_42(); + /*43*/ virtual void __unk_vfn_43(); + /*49*/ virtual void __unk_vfn_49(); + /*50*/ virtual bool canContainLiquid() const; + /*52*/ virtual void __unk_vfn_52(); + /*67*/ virtual void __unk_vfn_67(); + /*73*/ virtual void __unk_vfn_73(); + /*87*/ virtual void __unk_vfn_87(); + /*88*/ virtual void neighborChanged(class BlockSource &, class BlockPos const &, class BlockPos const &) const; + /*91*/ virtual class ItemInstance getResourceItem(class Random &, class Block const &, int) const; + /*95*/ virtual void __unk_vfn_95(); + /*109*/ virtual void __unk_vfn_109(); + /*116*/ virtual void __unk_vfn_116(); + /*118*/ virtual void __unk_vfn_118(); + /*119*/ virtual void __unk_vfn_119(); + /*142*/ virtual void __unk_vfn_142(); + /*158*/ virtual void __unk_vfn_158(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_GRASSPATHBLOCK + MCVAPI bool canBeOriginalSurface() const; +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/GravelBlock.hpp b/LiteLoader/Header/MC/GravelBlock.hpp new file mode 100644 index 0000000..be5538b --- /dev/null +++ b/LiteLoader/Header/MC/GravelBlock.hpp @@ -0,0 +1,69 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "BlockLegacy.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class GravelBlock : public BlockLegacy { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_GRAVELBLOCK +public: + class GravelBlock& operator=(class GravelBlock const &) = delete; + GravelBlock(class GravelBlock const &) = delete; + GravelBlock() = delete; +#endif + +public: + /*0*/ virtual ~GravelBlock(); + /*18*/ virtual void __unk_vfn_18(); + /*24*/ virtual void __unk_vfn_24(); + /*25*/ virtual void __unk_vfn_25(); + /*26*/ virtual void __unk_vfn_26(); + /*27*/ virtual void __unk_vfn_27(); + /*28*/ virtual void __unk_vfn_28(); + /*30*/ virtual void __unk_vfn_30(); + /*31*/ virtual void __unk_vfn_31(); + /*32*/ virtual void __unk_vfn_32(); + /*33*/ virtual void __unk_vfn_33(); + /*34*/ virtual void __unk_vfn_34(); + /*35*/ virtual void __unk_vfn_35(); + /*36*/ virtual void __unk_vfn_36(); + /*38*/ virtual void __unk_vfn_38(); + /*39*/ virtual void __unk_vfn_39(); + /*40*/ virtual void __unk_vfn_40(); + /*42*/ virtual void __unk_vfn_42(); + /*43*/ virtual void __unk_vfn_43(); + /*49*/ virtual void __unk_vfn_49(); + /*52*/ virtual void __unk_vfn_52(); + /*67*/ virtual void __unk_vfn_67(); + /*73*/ virtual void __unk_vfn_73(); + /*75*/ virtual bool onFertilized(class BlockSource &, class BlockPos const &, class Actor *, enum FertilizerType) const; + /*76*/ virtual bool mayConsumeFertilizer(class BlockSource &) const; + /*77*/ virtual bool canBeFertilized(class BlockSource &, class BlockPos const &, class Block const &) const; + /*87*/ virtual void __unk_vfn_87(); + /*91*/ virtual class ItemInstance getResourceItem(class Random &, class Block const &, int) const; + /*95*/ virtual void __unk_vfn_95(); + /*109*/ virtual void __unk_vfn_109(); + /*116*/ virtual void __unk_vfn_116(); + /*118*/ virtual void __unk_vfn_118(); + /*119*/ virtual void __unk_vfn_119(); + /*142*/ virtual void __unk_vfn_142(); + /*158*/ virtual void __unk_vfn_158(); + /*164*/ virtual class Color getDustColor(class Block const &) const; + /*165*/ virtual std::string getDustParticleName(class Block const &) const; + /*166*/ virtual void __unk_vfn_166(); + /*167*/ virtual void __unk_vfn_167(); + /*168*/ virtual bool isFreeToFall(class BlockSource &, class BlockPos const &) const; + /*169*/ virtual void startFalling(class BlockSource &, class BlockPos const &, class Block const &, bool) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_GRAVELBLOCK + MCVAPI bool canBeOriginalSurface() const; +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/GrindstoneBlock.hpp b/LiteLoader/Header/MC/GrindstoneBlock.hpp new file mode 100644 index 0000000..09b267c --- /dev/null +++ b/LiteLoader/Header/MC/GrindstoneBlock.hpp @@ -0,0 +1,73 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "BlockLegacy.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class GrindstoneBlock : public BlockLegacy { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_GRINDSTONEBLOCK +public: + class GrindstoneBlock& operator=(class GrindstoneBlock const &) = delete; + GrindstoneBlock(class GrindstoneBlock const &) = delete; + GrindstoneBlock() = delete; +#endif + +public: + /*0*/ virtual ~GrindstoneBlock(); + /*10*/ virtual class AABB const & getAABB(class BlockSource &, class BlockPos const &, class Block const &, class AABB &, bool) const; + /*18*/ virtual void __unk_vfn_18(); + /*24*/ virtual void __unk_vfn_24(); + /*25*/ virtual void __unk_vfn_25(); + /*26*/ virtual void __unk_vfn_26(); + /*27*/ virtual void __unk_vfn_27(); + /*28*/ virtual void __unk_vfn_28(); + /*30*/ virtual void __unk_vfn_30(); + /*31*/ virtual void __unk_vfn_31(); + /*32*/ virtual void __unk_vfn_32(); + /*33*/ virtual void __unk_vfn_33(); + /*34*/ virtual void __unk_vfn_34(); + /*35*/ virtual void __unk_vfn_35(); + /*36*/ virtual void __unk_vfn_36(); + /*38*/ virtual void __unk_vfn_38(); + /*39*/ virtual void __unk_vfn_39(); + /*40*/ virtual void __unk_vfn_40(); + /*42*/ virtual void __unk_vfn_42(); + /*43*/ virtual void __unk_vfn_43(); + /*49*/ virtual void __unk_vfn_49(); + /*50*/ virtual bool canContainLiquid() const; + /*52*/ virtual void __unk_vfn_52(); + /*67*/ virtual void __unk_vfn_67(); + /*73*/ virtual void __unk_vfn_73(); + /*87*/ virtual void __unk_vfn_87(); + /*88*/ virtual void neighborChanged(class BlockSource &, class BlockPos const &, class BlockPos const &) const; + /*92*/ virtual class ItemInstance asItemInstance(class BlockSource &, class BlockPos const &, class Block const &) const; + /*95*/ virtual void __unk_vfn_95(); + /*98*/ virtual bool use(class Player &, class BlockPos const &) const; + /*99*/ virtual class Block const & getPlacementBlock(class Actor &, class BlockPos const &, unsigned char, class Vec3 const &, int) const; + /*106*/ virtual bool canSurvive(class BlockSource &, class BlockPos const &) const; + /*109*/ virtual void __unk_vfn_109(); + /*116*/ virtual void __unk_vfn_116(); + /*118*/ virtual void __unk_vfn_118(); + /*119*/ virtual void __unk_vfn_119(); + /*138*/ virtual class AABB const & getVisualShape(class Block const &, class AABB &, bool) const; + /*142*/ virtual void __unk_vfn_142(); + /*158*/ virtual void __unk_vfn_158(); + /*159*/ virtual class ItemInstance getSilkTouchItemInstance(class Block const &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_GRINDSTONEBLOCK + MCVAPI bool isInteractiveBlock() const; +#endif + +//private: + MCAPI class AABB const & _getShape(class Block const &, class AABB &) const; + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/GrindstoneContainerManagerModel.hpp b/LiteLoader/Header/MC/GrindstoneContainerManagerModel.hpp new file mode 100644 index 0000000..68c28d3 --- /dev/null +++ b/LiteLoader/Header/MC/GrindstoneContainerManagerModel.hpp @@ -0,0 +1,35 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "ContainerManagerModel.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class GrindstoneContainerManagerModel : public ContainerManagerModel { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_GRINDSTONECONTAINERMANAGERMODEL +public: + class GrindstoneContainerManagerModel& operator=(class GrindstoneContainerManagerModel const &) = delete; + GrindstoneContainerManagerModel(class GrindstoneContainerManagerModel const &) = delete; + GrindstoneContainerManagerModel() = delete; +#endif + +public: + /*0*/ virtual ~GrindstoneContainerManagerModel(); + /*6*/ virtual std::vector getItemCopies() const; + /*7*/ virtual void setSlot(int, class ItemStack const &, bool); + /*8*/ virtual class ItemStack const & getSlot(int) const; + /*9*/ virtual void setData(int, int); + /*10*/ virtual void broadcastChanges(); + /*11*/ virtual bool isValid(float); + /*12*/ virtual class ContainerScreenContext _postInit(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_GRINDSTONECONTAINERMANAGERMODEL +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/GroundOffsetDescription.hpp b/LiteLoader/Header/MC/GroundOffsetDescription.hpp new file mode 100644 index 0000000..5e99734 --- /dev/null +++ b/LiteLoader/Header/MC/GroundOffsetDescription.hpp @@ -0,0 +1,30 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Json.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +struct GroundOffsetDescription { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_GROUNDOFFSETDESCRIPTION +public: + struct GroundOffsetDescription& operator=(struct GroundOffsetDescription const &) = delete; + GroundOffsetDescription(struct GroundOffsetDescription const &) = delete; + GroundOffsetDescription() = delete; +#endif +public: + /*0*/ virtual char const * getJsonName() const; + /*1*/ virtual ~GroundOffsetDescription(); + /*2*/ virtual void deserializeData(class Json::Value &); + /*3*/ virtual void serializeData(class Json::Value &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_GROUNDOFFSETDESCRIPTION +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/GroundedConstraint.hpp b/LiteLoader/Header/MC/GroundedConstraint.hpp new file mode 100644 index 0000000..674c3ce --- /dev/null +++ b/LiteLoader/Header/MC/GroundedConstraint.hpp @@ -0,0 +1,28 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class GroundedConstraint { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_GROUNDEDCONSTRAINT +public: + class GroundedConstraint& operator=(class GroundedConstraint const &) = delete; + GroundedConstraint(class GroundedConstraint const &) = delete; + GroundedConstraint() = delete; +#endif + +public: + /*0*/ virtual ~GroundedConstraint(); + /*1*/ virtual bool isSatisfied(class IBlockPlacementTarget const &, class BlockPos const &, enum Rotation const &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_GROUNDEDCONSTRAINT +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/GroupSizeDefinition.hpp b/LiteLoader/Header/MC/GroupSizeDefinition.hpp new file mode 100644 index 0000000..305ed6b --- /dev/null +++ b/LiteLoader/Header/MC/GroupSizeDefinition.hpp @@ -0,0 +1,28 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "JsonUtil.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class GroupSizeDefinition { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_GROUPSIZEDEFINITION +public: + class GroupSizeDefinition& operator=(class GroupSizeDefinition const &) = delete; + GroupSizeDefinition(class GroupSizeDefinition const &) = delete; + GroupSizeDefinition() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_GROUPSIZEDEFINITION +#endif + MCAPI static void buildSchema(class std::shared_ptr> &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/GroupSizeSystem.hpp b/LiteLoader/Header/MC/GroupSizeSystem.hpp new file mode 100644 index 0000000..5da6dea --- /dev/null +++ b/LiteLoader/Header/MC/GroupSizeSystem.hpp @@ -0,0 +1,33 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class GroupSizeSystem { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_GROUPSIZESYSTEM +public: + class GroupSizeSystem& operator=(class GroupSizeSystem const &) = delete; + GroupSizeSystem(class GroupSizeSystem const &) = delete; + GroupSizeSystem() = delete; +#endif + +public: + /*0*/ virtual ~GroupSizeSystem(); + /*1*/ virtual void tick(class EntityRegistry &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_GROUPSIZESYSTEM +#endif + +//private: + MCAPI void _tickComponent(class EntityContext &, class FlagComponent &, class ActorComponent &, class GroupSizeComponent &); + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/GrowCropSystem.hpp b/LiteLoader/Header/MC/GrowCropSystem.hpp new file mode 100644 index 0000000..aea4ea0 --- /dev/null +++ b/LiteLoader/Header/MC/GrowCropSystem.hpp @@ -0,0 +1,28 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class GrowCropSystem { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_GROWCROPSYSTEM +public: + class GrowCropSystem& operator=(class GrowCropSystem const &) = delete; + GrowCropSystem(class GrowCropSystem const &) = delete; + GrowCropSystem() = delete; +#endif + +public: + /*0*/ virtual ~GrowCropSystem(); + /*1*/ virtual void tick(class EntityRegistry &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_GROWCROPSYSTEM +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/Guardian.hpp b/LiteLoader/Header/MC/Guardian.hpp new file mode 100644 index 0000000..d03adae --- /dev/null +++ b/LiteLoader/Header/MC/Guardian.hpp @@ -0,0 +1,74 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Actor.hpp" +#include "Monster.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class Guardian : public Monster { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_GUARDIAN +public: + class Guardian& operator=(class Guardian const &) = delete; + Guardian(class Guardian const &) = delete; + Guardian() = delete; +#endif + +public: + /*1*/ virtual void reloadHardcoded(enum Actor::InitializationMethod, class VariantParameterList const &); + /*2*/ virtual void reloadHardcodedClient(enum Actor::InitializationMethod, class VariantParameterList const &); + /*7*/ virtual ~Guardian(); + /*30*/ virtual void __unk_vfn_30(); + /*54*/ virtual void __unk_vfn_54(); + /*61*/ virtual void __unk_vfn_61(); + /*76*/ virtual void __unk_vfn_76(); + /*81*/ virtual void __unk_vfn_81(); + /*88*/ virtual void __unk_vfn_88(); + /*90*/ virtual void __unk_vfn_90(); + /*98*/ virtual void __unk_vfn_98(); + /*100*/ virtual void __unk_vfn_100(); + /*102*/ virtual void setTarget(class Actor *); + /*121*/ virtual void __unk_vfn_121(); + /*169*/ virtual void __unk_vfn_169(); + /*182*/ virtual void __unk_vfn_182(); + /*206*/ virtual void __unk_vfn_206(); + /*207*/ virtual void __unk_vfn_207(); + /*228*/ virtual void __unk_vfn_228(); + /*231*/ virtual void __unk_vfn_231(); + /*238*/ virtual void __unk_vfn_238(); + /*240*/ virtual bool _hurt(class ActorDamageSource const &, int, bool, bool); + /*242*/ virtual void readAdditionalSaveData(class CompoundTag const &, class DataLoadHelper &); + /*243*/ virtual void addAdditionalSaveData(class CompoundTag &); + /*246*/ virtual void __unk_vfn_246(); + /*256*/ virtual void _onSizeUpdated(); + /*257*/ virtual void __unk_vfn_257(); + /*266*/ virtual int getAmbientSoundPostponeTicks(); + /*278*/ virtual void aiStep(); + /*282*/ virtual bool checkSpawnRules(bool); + /*290*/ virtual void __unk_vfn_290(); + /*291*/ virtual float getMaxHeadXRot(); + /*300*/ virtual void __unk_vfn_300(); + /*332*/ virtual void __unk_vfn_332(); + /*348*/ virtual void __unk_vfn_348(); + /*349*/ virtual bool isDarkEnoughToSpawn() const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_GUARDIAN + MCVAPI bool canSeeInvisible() const; +#endif + MCAPI float getAttackAnimationScale(float); + MCAPI int getAttackDuration(); + MCAPI class Vec3 getMoveEyeVector(); + MCAPI void setElder(bool); + +//protected: + MCAPI void registerLoopingSounds(); + +protected: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/GuardianAttackDefinition.hpp b/LiteLoader/Header/MC/GuardianAttackDefinition.hpp new file mode 100644 index 0000000..be02a88 --- /dev/null +++ b/LiteLoader/Header/MC/GuardianAttackDefinition.hpp @@ -0,0 +1,30 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "JsonUtil.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class GuardianAttackDefinition { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_GUARDIANATTACKDEFINITION +public: + class GuardianAttackDefinition& operator=(class GuardianAttackDefinition const &) = delete; + GuardianAttackDefinition(class GuardianAttackDefinition const &) = delete; + GuardianAttackDefinition() = delete; +#endif + +public: + /*0*/ virtual ~GuardianAttackDefinition(); + /*1*/ virtual bool validateMobType(class Mob &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_GUARDIANATTACKDEFINITION +#endif + MCAPI static void buildSchema(std::string const &, class std::shared_ptr> &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/GuardianAttackGoal.hpp b/LiteLoader/Header/MC/GuardianAttackGoal.hpp new file mode 100644 index 0000000..2e66912 --- /dev/null +++ b/LiteLoader/Header/MC/GuardianAttackGoal.hpp @@ -0,0 +1,34 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class GuardianAttackGoal { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_GUARDIANATTACKGOAL +public: + class GuardianAttackGoal& operator=(class GuardianAttackGoal const &) = delete; + GuardianAttackGoal(class GuardianAttackGoal const &) = delete; + GuardianAttackGoal() = delete; +#endif + +public: + /*0*/ virtual ~GuardianAttackGoal(); + /*1*/ virtual bool canUse(); + /*2*/ virtual bool canContinueToUse(); + /*3*/ virtual void __unk_vfn_3(); + /*4*/ virtual void start(); + /*5*/ virtual void stop(); + /*6*/ virtual void tick(); + /*7*/ virtual void appendDebugInfo(std::string &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_GUARDIANATTACKGOAL +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/GuiDataPickItemPacket.hpp b/LiteLoader/Header/MC/GuiDataPickItemPacket.hpp new file mode 100644 index 0000000..a0520a2 --- /dev/null +++ b/LiteLoader/Header/MC/GuiDataPickItemPacket.hpp @@ -0,0 +1,32 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Packet.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class GuiDataPickItemPacket : public Packet { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_GUIDATAPICKITEMPACKET +public: + class GuiDataPickItemPacket& operator=(class GuiDataPickItemPacket const &) = delete; + GuiDataPickItemPacket(class GuiDataPickItemPacket const &) = delete; + GuiDataPickItemPacket() = delete; +#endif + +public: + /*0*/ virtual ~GuiDataPickItemPacket(); + /*1*/ virtual enum MinecraftPacketIds getId() const; + /*2*/ virtual std::string getName() const; + /*3*/ virtual void write(class BinaryStream &) const; + /*4*/ virtual enum StreamReadResult read(class ReadOnlyBinaryStream &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_GUIDATAPICKITEMPACKET +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/HangingActor.hpp b/LiteLoader/Header/MC/HangingActor.hpp new file mode 100644 index 0000000..19966f6 --- /dev/null +++ b/LiteLoader/Header/MC/HangingActor.hpp @@ -0,0 +1,50 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class HangingActor { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_HANGINGACTOR +public: + class HangingActor& operator=(class HangingActor const &) = delete; + HangingActor(class HangingActor const &) = delete; + HangingActor() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_HANGINGACTOR + MCVAPI bool _hurt(class ActorDamageSource const &, int, bool, bool); + MCVAPI float getBrightness(float) const; + MCVAPI bool isInvulnerableTo(class ActorDamageSource const &) const; + MCVAPI void move(class Vec3 const &); + MCVAPI void normalTick(); + MCVAPI bool placeHangingEntity(class BlockSource &, int); + MCVAPI void readAdditionalSaveData(class CompoundTag const &, class DataLoadHelper &); + MCVAPI void reloadHardcoded(enum Actor::InitializationMethod, class VariantParameterList const &); + MCVAPI void reloadHardcodedClient(enum Actor::InitializationMethod, class VariantParameterList const &); + MCVAPI void setDir(int); + MCVAPI void setSize(float, float); + MCVAPI bool wouldSurvive(class BlockSource &); +#endif + +//protected: + MCAPI void _calculateAABB(); + MCAPI void _calculateActorPositionFromPlacementPosition(class BlockPos const &); + MCAPI bool _wouldSurvive(class BlockSource &, class BlockPos const &, bool); + +//private: + MCAPI bool _canSurviveOnBlock(class BlockSource const &, class BlockPos const &, bool) const; + +protected: + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/HangingActorItem.hpp b/LiteLoader/Header/MC/HangingActorItem.hpp new file mode 100644 index 0000000..9a8663a --- /dev/null +++ b/LiteLoader/Header/MC/HangingActorItem.hpp @@ -0,0 +1,45 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Item.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class HangingActorItem : public Item { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_HANGINGACTORITEM +public: + class HangingActorItem& operator=(class HangingActorItem const &) = delete; + HangingActorItem(class HangingActorItem const &) = delete; + HangingActorItem() = delete; +#endif + +public: + /*0*/ virtual ~HangingActorItem(); + /*5*/ virtual void __unk_vfn_5(); + /*26*/ virtual void __unk_vfn_26(); + /*27*/ virtual void __unk_vfn_27(); + /*31*/ virtual void __unk_vfn_31(); + /*32*/ virtual void __unk_vfn_32(); + /*34*/ virtual void __unk_vfn_34(); + /*37*/ virtual void __unk_vfn_37(); + /*43*/ virtual void __unk_vfn_43(); + /*46*/ virtual void __unk_vfn_46(); + /*47*/ virtual void __unk_vfn_47(); + /*49*/ virtual void __unk_vfn_49(); + /*50*/ virtual void __unk_vfn_50(); + /*79*/ virtual void __unk_vfn_79(); + /*80*/ virtual void __unk_vfn_80(); + /*90*/ virtual void __unk_vfn_90(); + /*97*/ virtual void __unk_vfn_97(); + /*99*/ virtual bool _useOn(class ItemStack &, class Actor &, class BlockPos, unsigned char, float, float, float) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_HANGINGACTORITEM +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/HardcodedSpawnAreaRegistry.hpp b/LiteLoader/Header/MC/HardcodedSpawnAreaRegistry.hpp new file mode 100644 index 0000000..1a8c6b5 --- /dev/null +++ b/LiteLoader/Header/MC/HardcodedSpawnAreaRegistry.hpp @@ -0,0 +1,28 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class HardcodedSpawnAreaRegistry { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_HARDCODEDSPAWNAREAREGISTRY +public: + class HardcodedSpawnAreaRegistry& operator=(class HardcodedSpawnAreaRegistry const &) = delete; + HardcodedSpawnAreaRegistry(class HardcodedSpawnAreaRegistry const &) = delete; + HardcodedSpawnAreaRegistry() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_HARDCODEDSPAWNAREAREGISTRY +#endif + MCAPI std::vector const & getMobSpawnsForType(enum HardcodedSpawnAreaType) const; + MCAPI void initMobSpawnsForType(enum HardcodedSpawnAreaType, std::vector &&); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/HarvestFarmBlockGoal.hpp b/LiteLoader/Header/MC/HarvestFarmBlockGoal.hpp new file mode 100644 index 0000000..428630a --- /dev/null +++ b/LiteLoader/Header/MC/HarvestFarmBlockGoal.hpp @@ -0,0 +1,50 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "BaseMoveToBlockGoal.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class HarvestFarmBlockGoal : public BaseMoveToBlockGoal { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_HARVESTFARMBLOCKGOAL +public: + class HarvestFarmBlockGoal& operator=(class HarvestFarmBlockGoal const &) = delete; + HarvestFarmBlockGoal(class HarvestFarmBlockGoal const &) = delete; + HarvestFarmBlockGoal() = delete; +#endif + +public: + /*0*/ virtual ~HarvestFarmBlockGoal(); + /*1*/ virtual bool canUse(); + /*2*/ virtual bool canContinueToUse(); + /*3*/ virtual void __unk_vfn_3(); + /*4*/ virtual void start(); + /*5*/ virtual void stop(); + /*6*/ virtual void tick(); + /*7*/ virtual void appendDebugInfo(std::string &) const; + /*8*/ virtual void __unk_vfn_8(); + /*9*/ virtual void __unk_vfn_9(); + /*10*/ virtual bool hasReachedTarget() const; + /*11*/ virtual bool isValidTarget(class BlockSource &, class BlockPos const &); + /*12*/ virtual int _nextStartTick(); + /*13*/ virtual bool _canReach(class BlockPos const &); + /*14*/ virtual void _moveToBlock(); + /*15*/ virtual class Vec3 _getTargetPosition() const; + /*16*/ virtual void __unk_vfn_16(); + /*17*/ virtual bool findTargetBlock(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_HARVESTFARMBLOCKGOAL +#endif + +//protected: + MCAPI int findInventorySlotForFarmSeeds(); + +protected: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/HashedString.hpp b/LiteLoader/Header/MC/HashedString.hpp new file mode 100644 index 0000000..f077b57 --- /dev/null +++ b/LiteLoader/Header/MC/HashedString.hpp @@ -0,0 +1,35 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class HashedString { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_HASHEDSTRING +public: + class HashedString& operator=(class HashedString const &) = delete; + HashedString() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_HASHEDSTRING +#endif + MCAPI HashedString(class HashedString const &); + MCAPI HashedString(class HashedString &&); + MCAPI HashedString(char const *); + MCAPI HashedString(std::string const &); + MCAPI class HashedString & operator=(class HashedString &&); + MCAPI bool operator==(class HashedString const &) const; + MCAPI ~HashedString(); + MCAPI static unsigned __int64 computeHash(char const *); + MCAPI static class HashedString defaultErrorValue; + MCAPI static class HashedString const & getEmptyString(); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/HatchetItem.hpp b/LiteLoader/Header/MC/HatchetItem.hpp new file mode 100644 index 0000000..46a80f7 --- /dev/null +++ b/LiteLoader/Header/MC/HatchetItem.hpp @@ -0,0 +1,49 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Item.hpp" +#include "DiggerItem.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class HatchetItem : public DiggerItem { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_HATCHETITEM +public: + class HatchetItem& operator=(class HatchetItem const &) = delete; + HatchetItem(class HatchetItem const &) = delete; + HatchetItem() = delete; +#endif + +public: + /*0*/ virtual ~HatchetItem(); + /*5*/ virtual void __unk_vfn_5(); + /*26*/ virtual void __unk_vfn_26(); + /*27*/ virtual void __unk_vfn_27(); + /*31*/ virtual void __unk_vfn_31(); + /*32*/ virtual void __unk_vfn_32(); + /*34*/ virtual void __unk_vfn_34(); + /*37*/ virtual void __unk_vfn_37(); + /*40*/ virtual int getEnchantSlot() const; + /*43*/ virtual void __unk_vfn_43(); + /*46*/ virtual void __unk_vfn_46(); + /*47*/ virtual void __unk_vfn_47(); + /*49*/ virtual void __unk_vfn_49(); + /*50*/ virtual void __unk_vfn_50(); + /*60*/ virtual float getDestroySpeed(class ItemInstance const &, class Block const &) const; + /*79*/ virtual void __unk_vfn_79(); + /*80*/ virtual void __unk_vfn_80(); + /*90*/ virtual void __unk_vfn_90(); + /*97*/ virtual void __unk_vfn_97(); + /*99*/ virtual bool _useOn(class ItemStack &, class Actor &, class BlockPos, unsigned char, float, float, float) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_HATCHETITEM +#endif + MCAPI HatchetItem(std::string const &, int, class Item::Tier const &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/HayBlockBlock.hpp b/LiteLoader/Header/MC/HayBlockBlock.hpp new file mode 100644 index 0000000..5112666 --- /dev/null +++ b/LiteLoader/Header/MC/HayBlockBlock.hpp @@ -0,0 +1,62 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "RotatedPillarBlock.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class HayBlockBlock : public RotatedPillarBlock { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_HAYBLOCKBLOCK +public: + class HayBlockBlock& operator=(class HayBlockBlock const &) = delete; + HayBlockBlock(class HayBlockBlock const &) = delete; + HayBlockBlock() = delete; +#endif + +public: + /*0*/ virtual ~HayBlockBlock(); + /*18*/ virtual void __unk_vfn_18(); + /*24*/ virtual void __unk_vfn_24(); + /*25*/ virtual void __unk_vfn_25(); + /*26*/ virtual void __unk_vfn_26(); + /*27*/ virtual void __unk_vfn_27(); + /*28*/ virtual void __unk_vfn_28(); + /*30*/ virtual void __unk_vfn_30(); + /*31*/ virtual void __unk_vfn_31(); + /*32*/ virtual void __unk_vfn_32(); + /*33*/ virtual void __unk_vfn_33(); + /*34*/ virtual void __unk_vfn_34(); + /*35*/ virtual void __unk_vfn_35(); + /*36*/ virtual void __unk_vfn_36(); + /*38*/ virtual void __unk_vfn_38(); + /*39*/ virtual void __unk_vfn_39(); + /*40*/ virtual void __unk_vfn_40(); + /*42*/ virtual void __unk_vfn_42(); + /*43*/ virtual void __unk_vfn_43(); + /*49*/ virtual void __unk_vfn_49(); + /*52*/ virtual void __unk_vfn_52(); + /*63*/ virtual void onFallOn(class BlockSource &, class BlockPos const &, class Actor &, float) const; + /*67*/ virtual void __unk_vfn_67(); + /*73*/ virtual void __unk_vfn_73(); + /*87*/ virtual void __unk_vfn_87(); + /*92*/ virtual class ItemInstance asItemInstance(class BlockSource &, class BlockPos const &, class Block const &) const; + /*95*/ virtual void __unk_vfn_95(); + /*109*/ virtual void __unk_vfn_109(); + /*116*/ virtual void __unk_vfn_116(); + /*118*/ virtual void __unk_vfn_118(); + /*119*/ virtual void __unk_vfn_119(); + /*141*/ virtual int getVariant(class Block const &) const; + /*142*/ virtual void __unk_vfn_142(); + /*158*/ virtual void __unk_vfn_158(); + /*164*/ virtual class Color getDustColor(class Block const &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_HAYBLOCKBLOCK +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/HealableComponent.hpp b/LiteLoader/Header/MC/HealableComponent.hpp new file mode 100644 index 0000000..5ab8896 --- /dev/null +++ b/LiteLoader/Header/MC/HealableComponent.hpp @@ -0,0 +1,27 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class HealableComponent { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_HEALABLECOMPONENT +public: + class HealableComponent& operator=(class HealableComponent const &) = delete; + HealableComponent(class HealableComponent const &) = delete; + HealableComponent() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_HEALABLECOMPONENT +#endif + MCAPI bool getInteraction(class Actor &, class Player &, class ActorInteraction &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/HealableDefinition.hpp b/LiteLoader/Header/MC/HealableDefinition.hpp new file mode 100644 index 0000000..ebe0350 --- /dev/null +++ b/LiteLoader/Header/MC/HealableDefinition.hpp @@ -0,0 +1,39 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Json.hpp" +#include "JsonUtil.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class HealableDefinition { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_HEALABLEDEFINITION +public: + class HealableDefinition& operator=(class HealableDefinition const &) = delete; + HealableDefinition(class HealableDefinition const &) = delete; + HealableDefinition() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_HEALABLEDEFINITION +#endif + MCAPI void addFeedItem(struct FeedItem const &); + MCAPI void addFeedItemByName(std::string const &); + MCAPI void deserializeData(class Json::Value &); + MCAPI void serializeData(class Json::Value &) const; + MCAPI ~HealableDefinition(); + MCAPI static void buildSchema(class std::shared_ptr> &); + +//private: + MCAPI void _loadEffects(struct FeedItem &, class Json::Value &); + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/HealthAttributeDelegate.hpp b/LiteLoader/Header/MC/HealthAttributeDelegate.hpp new file mode 100644 index 0000000..f71c0a5 --- /dev/null +++ b/LiteLoader/Header/MC/HealthAttributeDelegate.hpp @@ -0,0 +1,31 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class HealthAttributeDelegate { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_HEALTHATTRIBUTEDELEGATE +public: + class HealthAttributeDelegate& operator=(class HealthAttributeDelegate const &) = delete; + HealthAttributeDelegate(class HealthAttributeDelegate const &) = delete; + HealthAttributeDelegate() = delete; +#endif + +public: + /*0*/ virtual ~HealthAttributeDelegate(); + /*1*/ virtual void tick(); + /*2*/ virtual void __unk_vfn_2(); + /*3*/ virtual bool change(float, float, struct AttributeBuffInfo); + /*4*/ virtual float getBuffValue(class AttributeBuff const &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_HEALTHATTRIBUTEDELEGATE +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/HeavyBlock.hpp b/LiteLoader/Header/MC/HeavyBlock.hpp new file mode 100644 index 0000000..eb0c998 --- /dev/null +++ b/LiteLoader/Header/MC/HeavyBlock.hpp @@ -0,0 +1,46 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class HeavyBlock { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_HEAVYBLOCK +public: + class HeavyBlock& operator=(class HeavyBlock const &) = delete; + HeavyBlock(class HeavyBlock const &) = delete; + HeavyBlock() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_HEAVYBLOCK + MCVAPI void animateTick(class BlockSource &, class BlockPos const &, class Random &) const; + MCVAPI bool falling() const; + MCVAPI bool isFreeToFall(class BlockSource &, class BlockPos const &) const; + MCVAPI void neighborChanged(class BlockSource &, class BlockPos const &, class BlockPos const &) const; + MCVAPI void onLand(class BlockSource &, class BlockPos const &) const; + MCVAPI void onPlace(class BlockSource &, class BlockPos const &) const; + MCVAPI void startFalling(class BlockSource &, class BlockPos const &, class Block const &, bool) const; + MCVAPI void tick(class BlockSource &, class BlockPos const &, class Random &) const; +#endif + +//protected: + MCAPI void checkSlide(class BlockSource &, class BlockPos const &) const; + +//private: + MCAPI class BlockPos _findBottomSlidingBlock(class BlockSource &, class BlockPos const &) const; + MCAPI void _scheduleCheck(class BlockSource &, class BlockPos const &, class Block const &, int) const; + MCAPI void _tickBlocksAround2D(class BlockSource &, class BlockPos const &, class Block const &) const; + +protected: + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/HellFireFeature.hpp b/LiteLoader/Header/MC/HellFireFeature.hpp new file mode 100644 index 0000000..9826476 --- /dev/null +++ b/LiteLoader/Header/MC/HellFireFeature.hpp @@ -0,0 +1,29 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Feature.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class HellFireFeature : public Feature { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_HELLFIREFEATURE +public: + class HellFireFeature& operator=(class HellFireFeature const &) = delete; + HellFireFeature(class HellFireFeature const &) = delete; + HellFireFeature() = delete; +#endif + +public: + /*0*/ virtual ~HellFireFeature(); + /*1*/ virtual bool place(class BlockSource &, class BlockPos const &, class Random &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_HELLFIREFEATURE +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/HellSpringFeature.hpp b/LiteLoader/Header/MC/HellSpringFeature.hpp new file mode 100644 index 0000000..3e50d8b --- /dev/null +++ b/LiteLoader/Header/MC/HellSpringFeature.hpp @@ -0,0 +1,29 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Feature.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class HellSpringFeature : public Feature { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_HELLSPRINGFEATURE +public: + class HellSpringFeature& operator=(class HellSpringFeature const &) = delete; + HellSpringFeature(class HellSpringFeature const &) = delete; + HellSpringFeature() = delete; +#endif + +public: + /*0*/ virtual ~HellSpringFeature(); + /*1*/ virtual bool place(class BlockSource &, class BlockPos const &, class Random &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_HELLSPRINGFEATURE +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/HelpCommand.hpp b/LiteLoader/Header/MC/HelpCommand.hpp new file mode 100644 index 0000000..7ffeb62 --- /dev/null +++ b/LiteLoader/Header/MC/HelpCommand.hpp @@ -0,0 +1,36 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Command.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class HelpCommand : public Command { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_HELPCOMMAND +public: + class HelpCommand& operator=(class HelpCommand const &) = delete; + HelpCommand(class HelpCommand const &) = delete; + HelpCommand() = delete; +#endif + +public: + /*0*/ virtual ~HelpCommand(); + /*1*/ virtual void execute(class CommandOrigin const &, class CommandOutput &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_HELPCOMMAND +#endif + MCAPI static void setup(class CommandRegistry &); + +//private: + MCAPI void getCommandHelp(class CommandRegistry const &, class CommandOrigin const &, class CommandOutput &) const; + MCAPI void getHelpPage(class CommandRegistry const &, class CommandOrigin const &, class CommandOutput &) const; + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/HideComponent.hpp b/LiteLoader/Header/MC/HideComponent.hpp new file mode 100644 index 0000000..9d9c63e --- /dev/null +++ b/LiteLoader/Header/MC/HideComponent.hpp @@ -0,0 +1,27 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class HideComponent { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_HIDECOMPONENT +public: + class HideComponent& operator=(class HideComponent const &) = delete; + HideComponent(class HideComponent const &) = delete; + HideComponent() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_HIDECOMPONENT +#endif + MCAPI void readAdditionalSaveData(class CompoundTag const &, class DataLoadHelper &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/HideDescription.hpp b/LiteLoader/Header/MC/HideDescription.hpp new file mode 100644 index 0000000..ba333b5 --- /dev/null +++ b/LiteLoader/Header/MC/HideDescription.hpp @@ -0,0 +1,28 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +struct HideDescription { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_HIDEDESCRIPTION +public: + struct HideDescription& operator=(struct HideDescription const &) = delete; + HideDescription(struct HideDescription const &) = delete; + HideDescription() = delete; +#endif +public: + /*0*/ virtual char const * getJsonName() const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_HIDEDESCRIPTION + MCVAPI void deserializeData(class Json::Value &); + MCVAPI void serializeData(class Json::Value &) const; +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/HideGoal.hpp b/LiteLoader/Header/MC/HideGoal.hpp new file mode 100644 index 0000000..e6364d4 --- /dev/null +++ b/LiteLoader/Header/MC/HideGoal.hpp @@ -0,0 +1,43 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "MoveToPOIGoal.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class HideGoal : public MoveToPOIGoal { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_HIDEGOAL +public: + class HideGoal& operator=(class HideGoal const &) = delete; + HideGoal(class HideGoal const &) = delete; + HideGoal() = delete; +#endif + +public: + /*0*/ virtual ~HideGoal(); + /*1*/ virtual bool canUse(); + /*2*/ virtual bool canContinueToUse(); + /*3*/ virtual void __unk_vfn_3(); + /*4*/ virtual void start(); + /*5*/ virtual void stop(); + /*7*/ virtual void appendDebugInfo(std::string &) const; + /*8*/ virtual void __unk_vfn_8(); + /*9*/ virtual void __unk_vfn_9(); + /*16*/ virtual unsigned __int64 _getRepathTime() const; + /*18*/ virtual class std::weak_ptr _getOwnedPOI(enum POIType) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_HIDEGOAL +#endif + +//private: + MCAPI void _sendSoundTheAlarmAchievement() const; + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/HistoricPredictionData.hpp b/LiteLoader/Header/MC/HistoricPredictionData.hpp new file mode 100644 index 0000000..99710e1 --- /dev/null +++ b/LiteLoader/Header/MC/HistoricPredictionData.hpp @@ -0,0 +1,27 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class HistoricPredictionData { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_HISTORICPREDICTIONDATA +public: + class HistoricPredictionData& operator=(class HistoricPredictionData const &) = delete; + HistoricPredictionData(class HistoricPredictionData const &) = delete; + HistoricPredictionData() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_HISTORICPREDICTIONDATA +#endif + MCAPI ~HistoricPredictionData(); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/HitResult.hpp b/LiteLoader/Header/MC/HitResult.hpp new file mode 100644 index 0000000..6091e8f --- /dev/null +++ b/LiteLoader/Header/MC/HitResult.hpp @@ -0,0 +1,67 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA +// Include Headers or Declare Types Here + +class StackResultStorageEntity; + +enum class HitResultType:int { + TILE=0, + ENTITY, + ENTITY_OUT_OF_RANGE, + NO_HIT, +}; + +#undef BEFORE_EXTRA + +class HitResult { + +#define AFTER_EXTRA +// Add Member There + + //char filler[112]; + Vec3 startPos; //0 + Vec3 rayDir; //12 + HitResultType type; //24 + FaceID face; //28 + BlockPos endBpos; //32 + Vec3 endPos; //44 + uintptr_t actorRef; //56 + uintptr_t unk64; + int unk72; + int unk76; //76 + bool hitLiquid; //80 + FaceID liquidFace; //81 + BlockPos liquidBpos; //84 + Vec3 liquidPos; //96 + bool indirectHit; //108 + //112 +public: + inline bool __fastcall isHit() { + return (unsigned int)(*((int*)this + 6) - 2) > 1; + } + + LIAPI FaceID getFacing(); + LIAPI Vec3 getPos(); + LIAPI bool isHitLiquid(); + LIAPI bool isEntity(); + LIAPI bool isTile(); + LIAPI BlockPos getBlockPos(); + LIAPI BlockPos getLiquidPos(); + LIAPI FaceID getLiquidFacing(); + //LIAPI Vec3 getLiquidHitPos(); + LIAPI HitResultType getHitResultType(); + +#undef AFTER_EXTRA +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_HITRESULT +#endif + MCAPI HitResult(class HitResult const &); + MCAPI HitResult(); + MCAPI class HitResult & operator=(class HitResult &&); + MCAPI class HitResult & operator=(class HitResult const &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/HitboxComponent.hpp b/LiteLoader/Header/MC/HitboxComponent.hpp new file mode 100644 index 0000000..25bb870 --- /dev/null +++ b/LiteLoader/Header/MC/HitboxComponent.hpp @@ -0,0 +1,28 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class HitboxComponent { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_HITBOXCOMPONENT +public: + class HitboxComponent& operator=(class HitboxComponent const &) = delete; + HitboxComponent(class HitboxComponent const &) = delete; + HitboxComponent() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_HITBOXCOMPONENT +#endif + MCAPI void fromCompoundTag(class CompoundTag const &); + MCAPI void toCompoundTag(class CompoundTag &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/HitboxDefinition.hpp b/LiteLoader/Header/MC/HitboxDefinition.hpp new file mode 100644 index 0000000..bd76e5a --- /dev/null +++ b/LiteLoader/Header/MC/HitboxDefinition.hpp @@ -0,0 +1,29 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "JsonUtil.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class HitboxDefinition { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_HITBOXDEFINITION +public: + class HitboxDefinition& operator=(class HitboxDefinition const &) = delete; + HitboxDefinition(class HitboxDefinition const &) = delete; + HitboxDefinition() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_HITBOXDEFINITION +#endif + MCAPI void addAABB(struct HitboxJson const &); + MCAPI static void buildSchema(class std::shared_ptr> &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/HoeItem.hpp b/LiteLoader/Header/MC/HoeItem.hpp new file mode 100644 index 0000000..6fcaeb3 --- /dev/null +++ b/LiteLoader/Header/MC/HoeItem.hpp @@ -0,0 +1,48 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Item.hpp" +#include "DiggerItem.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class HoeItem : public DiggerItem { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_HOEITEM +public: + class HoeItem& operator=(class HoeItem const &) = delete; + HoeItem(class HoeItem const &) = delete; + HoeItem() = delete; +#endif + +public: + /*0*/ virtual ~HoeItem(); + /*5*/ virtual void __unk_vfn_5(); + /*26*/ virtual void __unk_vfn_26(); + /*27*/ virtual void __unk_vfn_27(); + /*31*/ virtual void __unk_vfn_31(); + /*32*/ virtual void __unk_vfn_32(); + /*34*/ virtual void __unk_vfn_34(); + /*37*/ virtual void __unk_vfn_37(); + /*40*/ virtual int getEnchantSlot() const; + /*43*/ virtual void __unk_vfn_43(); + /*46*/ virtual void __unk_vfn_46(); + /*47*/ virtual void __unk_vfn_47(); + /*49*/ virtual void __unk_vfn_49(); + /*50*/ virtual void __unk_vfn_50(); + /*79*/ virtual void __unk_vfn_79(); + /*80*/ virtual void __unk_vfn_80(); + /*90*/ virtual void __unk_vfn_90(); + /*97*/ virtual void __unk_vfn_97(); + /*99*/ virtual bool _useOn(class ItemStack &, class Actor &, class BlockPos, unsigned char, float, float, float) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_HOEITEM +#endif + MCAPI HoeItem(std::string const &, int, class Item::Tier const &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/HoldGroundGoal.hpp b/LiteLoader/Header/MC/HoldGroundGoal.hpp new file mode 100644 index 0000000..77a7934 --- /dev/null +++ b/LiteLoader/Header/MC/HoldGroundGoal.hpp @@ -0,0 +1,34 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class HoldGroundGoal { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_HOLDGROUNDGOAL +public: + class HoldGroundGoal& operator=(class HoldGroundGoal const &) = delete; + HoldGroundGoal(class HoldGroundGoal const &) = delete; + HoldGroundGoal() = delete; +#endif + +public: + /*0*/ virtual ~HoldGroundGoal(); + /*1*/ virtual bool canUse(); + /*2*/ virtual bool canContinueToUse(); + /*3*/ virtual void __unk_vfn_3(); + /*4*/ virtual void start(); + /*5*/ virtual void stop(); + /*6*/ virtual void tick(); + /*7*/ virtual void appendDebugInfo(std::string &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_HOLDGROUNDGOAL +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/HomeComponent.hpp b/LiteLoader/Header/MC/HomeComponent.hpp new file mode 100644 index 0000000..9309b5d --- /dev/null +++ b/LiteLoader/Header/MC/HomeComponent.hpp @@ -0,0 +1,27 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class HomeComponent { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_HOMECOMPONENT +public: + class HomeComponent& operator=(class HomeComponent const &) = delete; + HomeComponent(class HomeComponent const &) = delete; + HomeComponent() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_HOMECOMPONENT +#endif + MCAPI void readAdditionalSaveData(class Actor &, class CompoundTag const &, class DataLoadHelper &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/HoneyBlock.hpp b/LiteLoader/Header/MC/HoneyBlock.hpp new file mode 100644 index 0000000..838a03d --- /dev/null +++ b/LiteLoader/Header/MC/HoneyBlock.hpp @@ -0,0 +1,64 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "BlockLegacy.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class HoneyBlock : public BlockLegacy { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_HONEYBLOCK +public: + class HoneyBlock& operator=(class HoneyBlock const &) = delete; + HoneyBlock(class HoneyBlock const &) = delete; + HoneyBlock() = delete; +#endif + +public: + /*0*/ virtual ~HoneyBlock(); + /*5*/ virtual bool getCollisionShape(class AABB &, class Block const &, class BlockSource &, class BlockPos const &, class Actor *) const; + /*18*/ virtual void __unk_vfn_18(); + /*24*/ virtual void __unk_vfn_24(); + /*25*/ virtual void __unk_vfn_25(); + /*26*/ virtual void __unk_vfn_26(); + /*27*/ virtual void __unk_vfn_27(); + /*28*/ virtual void __unk_vfn_28(); + /*30*/ virtual void __unk_vfn_30(); + /*31*/ virtual void __unk_vfn_31(); + /*32*/ virtual void __unk_vfn_32(); + /*33*/ virtual void __unk_vfn_33(); + /*34*/ virtual void __unk_vfn_34(); + /*35*/ virtual void __unk_vfn_35(); + /*36*/ virtual void __unk_vfn_36(); + /*38*/ virtual void __unk_vfn_38(); + /*39*/ virtual void __unk_vfn_39(); + /*40*/ virtual void __unk_vfn_40(); + /*42*/ virtual void __unk_vfn_42(); + /*43*/ virtual void __unk_vfn_43(); + /*49*/ virtual void __unk_vfn_49(); + /*52*/ virtual void __unk_vfn_52(); + /*62*/ virtual void onStepOn(class Actor &, class BlockPos const &) const; + /*63*/ virtual void onFallOn(class BlockSource &, class BlockPos const &, class Actor &, float) const; + /*67*/ virtual void __unk_vfn_67(); + /*73*/ virtual void __unk_vfn_73(); + /*87*/ virtual void __unk_vfn_87(); + /*95*/ virtual void __unk_vfn_95(); + /*104*/ virtual void entityInside(class BlockSource &, class BlockPos const &, class Actor &) const; + /*109*/ virtual void __unk_vfn_109(); + /*116*/ virtual void __unk_vfn_116(); + /*118*/ virtual void __unk_vfn_118(); + /*119*/ virtual void __unk_vfn_119(); + /*135*/ virtual int getExtraRenderLayers() const; + /*138*/ virtual class AABB const & getVisualShape(class Block const &, class AABB &, bool) const; + /*142*/ virtual void __unk_vfn_142(); + /*158*/ virtual void __unk_vfn_158(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_HONEYBLOCK +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/HoneycombBlock.hpp b/LiteLoader/Header/MC/HoneycombBlock.hpp new file mode 100644 index 0000000..d5ed0eb --- /dev/null +++ b/LiteLoader/Header/MC/HoneycombBlock.hpp @@ -0,0 +1,58 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "BlockLegacy.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class HoneycombBlock : public BlockLegacy { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_HONEYCOMBBLOCK +public: + class HoneycombBlock& operator=(class HoneycombBlock const &) = delete; + HoneycombBlock(class HoneycombBlock const &) = delete; + HoneycombBlock() = delete; +#endif + +public: + /*0*/ virtual ~HoneycombBlock(); + /*18*/ virtual void __unk_vfn_18(); + /*24*/ virtual void __unk_vfn_24(); + /*25*/ virtual void __unk_vfn_25(); + /*26*/ virtual void __unk_vfn_26(); + /*27*/ virtual void __unk_vfn_27(); + /*28*/ virtual void __unk_vfn_28(); + /*30*/ virtual void __unk_vfn_30(); + /*31*/ virtual void __unk_vfn_31(); + /*32*/ virtual void __unk_vfn_32(); + /*33*/ virtual void __unk_vfn_33(); + /*34*/ virtual void __unk_vfn_34(); + /*35*/ virtual void __unk_vfn_35(); + /*36*/ virtual void __unk_vfn_36(); + /*38*/ virtual void __unk_vfn_38(); + /*39*/ virtual void __unk_vfn_39(); + /*40*/ virtual void __unk_vfn_40(); + /*42*/ virtual void __unk_vfn_42(); + /*43*/ virtual void __unk_vfn_43(); + /*49*/ virtual void __unk_vfn_49(); + /*52*/ virtual void __unk_vfn_52(); + /*67*/ virtual void __unk_vfn_67(); + /*73*/ virtual void __unk_vfn_73(); + /*87*/ virtual void __unk_vfn_87(); + /*95*/ virtual void __unk_vfn_95(); + /*109*/ virtual void __unk_vfn_109(); + /*116*/ virtual void __unk_vfn_116(); + /*118*/ virtual void __unk_vfn_118(); + /*119*/ virtual void __unk_vfn_119(); + /*142*/ virtual void __unk_vfn_142(); + /*158*/ virtual void __unk_vfn_158(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_HONEYCOMBBLOCK +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/HopMoveControl.hpp b/LiteLoader/Header/MC/HopMoveControl.hpp new file mode 100644 index 0000000..ce71c0e --- /dev/null +++ b/LiteLoader/Header/MC/HopMoveControl.hpp @@ -0,0 +1,30 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class HopMoveControl { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_HOPMOVECONTROL +public: + class HopMoveControl& operator=(class HopMoveControl const &) = delete; + HopMoveControl(class HopMoveControl const &) = delete; + HopMoveControl() = delete; +#endif + +public: + /*0*/ virtual ~HopMoveControl(); + /*1*/ virtual void __unk_vfn_1(); + /*2*/ virtual void tick(class MoveControlComponent &, class Mob &); + /*3*/ virtual void setWantedPosition(class MoveControlComponent &, class Mob &, class Vec3 const &, float); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_HOPMOVECONTROL +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/Hopper.hpp b/LiteLoader/Header/MC/Hopper.hpp new file mode 100644 index 0000000..152f7ca --- /dev/null +++ b/LiteLoader/Header/MC/Hopper.hpp @@ -0,0 +1,42 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class Hopper { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_HOPPER +public: + class Hopper& operator=(class Hopper const &) = delete; + Hopper(class Hopper const &) = delete; + Hopper() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_HOPPER +#endif + +//protected: + MCAPI bool _addItem(class Container &, class ItemActor &); + MCAPI bool _addItem(class BlockSource &, class Container &, class ItemStack &, int, int); + MCAPI class Container * _getContainerInBlock(class BlockSource &, class Vec3 const &); + MCAPI std::vector _getContainersAt(class BlockSource &, class Vec3 const &); + MCAPI class ItemActor * _getItemAt(class BlockSource &, class Vec3 const &); + MCAPI bool _isEmptyContainer(class Container &, int); + MCAPI bool _isFullContainer(class BlockSource &, class Container &, int); + MCAPI bool _pullInItems(class BlockSource &, class Container &, class Vec3 const &); + MCAPI bool _pushOutItems(class BlockSource &, class Container &, class Vec3 const &, int); + MCAPI bool _tryMoveInItem(class BlockSource &, class Container &, class ItemStack &, int, int, int); + MCAPI bool _tryPushToComposter(class BlockSource &, class Container &, class BlockPos, int); + MCAPI bool _tryTakeInItemFromSlot(class BlockSource &, class Container &, class Container &, int, int); + +protected: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/HopperBlock.hpp b/LiteLoader/Header/MC/HopperBlock.hpp new file mode 100644 index 0000000..e68d836 --- /dev/null +++ b/LiteLoader/Header/MC/HopperBlock.hpp @@ -0,0 +1,203 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "ActorBlock.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class HopperBlock : public ActorBlock { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_HOPPERBLOCK +public: + class HopperBlock& operator=(class HopperBlock const &) = delete; + HopperBlock(class HopperBlock const &) = delete; + HopperBlock() = delete; +#endif + +public: + /*0*/ virtual ~HopperBlock(); + /*1*/ virtual void __unk_vfn_1(); + /*2*/ virtual class Block const & getStateFromLegacyData(unsigned short) const; + /*3*/ virtual class std::shared_ptr newBlockEntity(class BlockPos const &, class Block const &) const; + /*4*/ virtual class Block const * getNextBlockPermutation(class Block const &) const; + /*5*/ virtual bool getCollisionShape(class AABB &, class Block const &, class BlockSource &, class BlockPos const &, class Actor *) const; + /*6*/ virtual bool isObstructingChests(class BlockSource &, class BlockPos const &) const; + /*7*/ virtual void __unk_vfn_7(); + /*8*/ virtual class Vec3 randomlyModifyPosition(class BlockPos const &, int &) const; + /*9*/ virtual void addAABBs(class Block const &, class BlockSource &, class BlockPos const &, class AABB const *, std::vector &) const; + /*10*/ virtual class AABB const & getAABB(class BlockSource &, class BlockPos const &, class Block const &, class AABB &, bool) const; + /*11*/ virtual bool addCollisionShapes(class Block const &, class BlockSource &, class BlockPos const &, class AABB const *, std::vector &, class Actor *) const; + /*12*/ virtual class AABB const & getOutline(class BlockSource &, class BlockPos const &, class AABB &) const; + /*13*/ virtual bool getLiquidClipVolume(class BlockSource &, class BlockPos const &, class AABB &) const; + /*14*/ virtual void __unk_vfn_14(); + /*15*/ virtual void __unk_vfn_15(); + /*16*/ virtual struct Brightness getLightEmission(class Block const &) const; + /*17*/ virtual bool shouldRandomTick() const; + /*18*/ virtual void __unk_vfn_18(); + /*19*/ virtual void __unk_vfn_19(); + /*20*/ virtual void __unk_vfn_20(); + /*21*/ virtual bool canProvideSupport(class Block const &, unsigned char, enum BlockSupportType) const; + /*22*/ virtual bool canConnect(class Block const &, unsigned char, class Block const &) const; + /*23*/ virtual void getConnectedDirections(class Block const &, class BlockPos const &, class BlockSource &, bool &, bool &, bool &, bool &) const; + /*24*/ virtual void __unk_vfn_24(); + /*25*/ virtual void __unk_vfn_25(); + /*26*/ virtual void __unk_vfn_26(); + /*27*/ virtual void __unk_vfn_27(); + /*28*/ virtual void __unk_vfn_28(); + /*29*/ virtual bool isWaterBlocking() const; + /*30*/ virtual void __unk_vfn_30(); + /*31*/ virtual void __unk_vfn_31(); + /*32*/ virtual void __unk_vfn_32(); + /*33*/ virtual void __unk_vfn_33(); + /*34*/ virtual void __unk_vfn_34(); + /*35*/ virtual void __unk_vfn_35(); + /*36*/ virtual void __unk_vfn_36(); + /*37*/ virtual void __unk_vfn_37(); + /*38*/ virtual void __unk_vfn_38(); + /*39*/ virtual void __unk_vfn_39(); + /*40*/ virtual void __unk_vfn_40(); + /*41*/ virtual bool canHurtAndBreakItem() const; + /*42*/ virtual void __unk_vfn_42(); + /*43*/ virtual void __unk_vfn_43(); + /*44*/ virtual void __unk_vfn_44(); + /*45*/ virtual void __unk_vfn_45(); + /*46*/ virtual class Block const & sanitizeFillBlock(class BlockSource &, class BlockPos const &, class Block const &) const; + /*47*/ virtual void __unk_vfn_47(); + /*48*/ virtual void __unk_vfn_48(); + /*49*/ virtual void __unk_vfn_49(); + /*50*/ virtual bool canContainLiquid() const; + /*51*/ virtual void __unk_vfn_51(); + /*52*/ virtual void __unk_vfn_52(); + /*53*/ virtual bool canBeUsedInCommands(bool, class BaseGameVersion const &) const; + /*54*/ virtual float getThickness() const; + /*55*/ virtual void __unk_vfn_55(); + /*56*/ virtual bool checkIsPathable(class Actor &, class BlockPos const &, class BlockPos const &) const; + /*57*/ virtual void __unk_vfn_57(); + /*58*/ virtual void __unk_vfn_58(); + /*59*/ virtual void onPlace(class BlockSource &, class BlockPos const &) const; + /*60*/ virtual void onRemove(class BlockSource &, class BlockPos const &) const; + /*61*/ virtual void __unk_vfn_61(); + /*62*/ virtual void __unk_vfn_62(); + /*63*/ virtual void onFallOn(class BlockSource &, class BlockPos const &, class Actor &, float) const; + /*64*/ virtual void __unk_vfn_64(); + /*65*/ virtual void onRedstoneUpdate(class BlockSource &, class BlockPos const &, int, bool) const; + /*66*/ virtual void __unk_vfn_66(); + /*67*/ virtual void __unk_vfn_67(); + /*68*/ virtual void __unk_vfn_68(); + /*69*/ virtual void __unk_vfn_69(); + /*70*/ virtual void setupRedstoneComponent(class BlockSource &, class BlockPos const &) const; + /*71*/ virtual enum BlockProperty getRedstoneProperty(class BlockSource &, class BlockPos const &) const; + /*72*/ virtual void updateEntityAfterFallOn(class BlockSource &, class BlockPos const &, class Actor &) const; + /*73*/ virtual void __unk_vfn_73(); + /*74*/ virtual void __unk_vfn_74(); + /*75*/ virtual void __unk_vfn_75(); + /*76*/ virtual void __unk_vfn_76(); + /*77*/ virtual void __unk_vfn_77(); + /*78*/ virtual bool mayPick(class BlockSource &, class Block const &, bool) const; + /*79*/ virtual void __unk_vfn_79(); + /*80*/ virtual bool mayPlace(class BlockSource &, class BlockPos const &) const; + /*81*/ virtual void __unk_vfn_81(); + /*82*/ virtual void __unk_vfn_82(); + /*83*/ virtual bool tryToPlace(class BlockSource &, class BlockPos const &, class Block const &, struct ActorBlockSyncMessage const *) const; + /*84*/ virtual bool breaksFallingBlocks(class Block const &) const; + /*85*/ virtual void __unk_vfn_85(); + /*86*/ virtual bool playerWillDestroy(class Player &, class BlockPos const &, class Block const &) const; + /*87*/ virtual void __unk_vfn_87(); + /*88*/ virtual void neighborChanged(class BlockSource &, class BlockPos const &, class BlockPos const &) const; + /*89*/ virtual void __unk_vfn_89(); + /*90*/ virtual void __unk_vfn_90(); + /*91*/ virtual void __unk_vfn_91(); + /*92*/ virtual void __unk_vfn_92(); + /*93*/ virtual void spawnResources(class BlockSource &, class BlockPos const &, class Block const &, std::vector *, float, int, bool) const; + /*94*/ virtual void trySpawnResourcesOnExplosion(class BlockSource &, class BlockPos const &, class Block const &, std::vector *, float, int, bool) const; + /*95*/ virtual void __unk_vfn_95(); + /*96*/ virtual void __unk_vfn_96(); + /*97*/ virtual class HitResult clip(class BlockSource &, class BlockPos const &, class Vec3 const &, class Vec3 const &, bool) const; + /*98*/ virtual void __unk_vfn_98(); + /*99*/ virtual class Block const & getPlacementBlock(class Actor &, class BlockPos const &, unsigned char, class Vec3 const &, int) const; + /*100*/ virtual int calcVariant(class BlockSource &, class BlockPos const &) const; + /*101*/ virtual void __unk_vfn_101(); + /*102*/ virtual void __unk_vfn_102(); + /*103*/ virtual void __unk_vfn_103(); + /*104*/ virtual void __unk_vfn_104(); + /*105*/ virtual void playerDestroy(class Player &, class BlockPos const &, class Block const &) const; + /*106*/ virtual void __unk_vfn_106(); + /*107*/ virtual void __unk_vfn_107(); + /*108*/ virtual bool canBeBuiltOver(class BlockSource &, class BlockPos const &) const; + /*109*/ virtual void triggerEvent(class BlockSource &, class BlockPos const &, int, int) const; + /*110*/ virtual void __unk_vfn_110(); + /*111*/ virtual void __unk_vfn_111(); + /*112*/ virtual class MobSpawnerData const * getMobToSpawn(class SpawnConditions const &, class BlockSource &) const; + /*113*/ virtual void __unk_vfn_113(); + /*114*/ virtual void __unk_vfn_114(); + /*115*/ virtual bool shouldStopFalling(class Actor &) const; + /*116*/ virtual void __unk_vfn_116(); + /*117*/ virtual float calcGroundFriction(class Mob &, class BlockPos const &) const; + /*118*/ virtual void __unk_vfn_118(); + /*119*/ virtual void __unk_vfn_119(); + /*120*/ virtual int getComparatorSignal(class BlockSource &, class BlockPos const &, class Block const &, unsigned char) const; + /*121*/ virtual bool canSlide(class BlockSource &, class BlockPos const &) const; + /*122*/ virtual void __unk_vfn_122(); + /*123*/ virtual void __unk_vfn_123(); + /*124*/ virtual void __unk_vfn_124(); + /*125*/ virtual void __unk_vfn_125(); + /*126*/ virtual void __unk_vfn_126(); + /*127*/ virtual void __unk_vfn_127(); + /*128*/ virtual void __unk_vfn_128(); + /*129*/ virtual void __unk_vfn_129(); + /*130*/ virtual void __unk_vfn_130(); + /*131*/ virtual void __unk_vfn_131(); + /*132*/ virtual int getColorForParticle(class BlockSource &, class BlockPos const &, class Block const &) const; + /*133*/ virtual void __unk_vfn_133(); + /*134*/ virtual void onGraphicsModeChanged(bool, bool, bool); + /*135*/ virtual void __unk_vfn_135(); + /*136*/ virtual float getShadeBrightness() const; + /*137*/ virtual class AABB const & getVisualShapeInWorld(class Block const &, class BlockSource &, class BlockPos const &, class AABB &, bool) const; + /*138*/ virtual class AABB const & getVisualShape(class Block const &, class AABB &, bool) const; + /*139*/ virtual class AABB const & getUIShape(class Block const &, class AABB &) const; + /*140*/ virtual int telemetryVariant(class BlockSource &, class BlockPos const &) const; + /*141*/ virtual int getVariant(class Block const &) const; + /*142*/ virtual void __unk_vfn_142(); + /*143*/ virtual class Block const & getRenderBlock() const; + /*144*/ virtual void __unk_vfn_144(); + /*145*/ virtual void __unk_vfn_145(); + /*146*/ virtual void __unk_vfn_146(); + /*147*/ virtual class BlockLegacy & init(); + /*148*/ virtual class BlockLegacy & setLightBlock(struct Brightness); + /*149*/ virtual class BlockLegacy & setLightEmission(float); + /*150*/ virtual class BlockLegacy & setExplodeable(float); + /*151*/ virtual class BlockLegacy & setDestroyTime(float); + /*152*/ virtual class BlockLegacy & setFriction(float); + /*153*/ virtual class BlockLegacy & addProperty(enum BlockProperty); + /*154*/ virtual class BlockLegacy & addState(class ItemState const &); + /*155*/ virtual class BlockLegacy & addState(class ItemState const &, unsigned __int64); + /*156*/ virtual class BlockLegacy & setAllowsRunes(bool); + /*157*/ virtual class BlockLegacy & setMapColor(class Color const &); + /*158*/ virtual void __unk_vfn_158(); + /*159*/ virtual void __unk_vfn_159(); + /*160*/ virtual void setVisualShape(class AABB const &); + /*161*/ virtual void setVisualShape(class Vec3 const &, class Vec3 const &); + /*162*/ virtual void __unk_vfn_162(); + /*163*/ virtual void __unk_vfn_163(); + /*164*/ virtual class ItemInstance getEntityResourceItem(class Random &, class BlockActor const &, int) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_HOPPERBLOCK + MCVAPI class ItemInstance asItemInstance(class BlockSource &, class BlockPos const &, class Block const &) const; + MCVAPI class ItemInstance getResourceItem(class Random &, class Block const &, int) const; + MCVAPI bool hasComparatorSignal() const; + MCVAPI bool isContainerBlock() const; + MCVAPI bool isInteractiveBlock() const; + MCVAPI bool use(class Player &, class BlockPos const &) const; +#endif + +//private: + MCAPI class AABB _getSpoutAABB(class BlockSource const &, class BlockPos const &) const; + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/HopperBlockActor.hpp b/LiteLoader/Header/MC/HopperBlockActor.hpp new file mode 100644 index 0000000..78f871b --- /dev/null +++ b/LiteLoader/Header/MC/HopperBlockActor.hpp @@ -0,0 +1,56 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class HopperBlockActor { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_HOPPERBLOCKACTOR +public: + class HopperBlockActor& operator=(class HopperBlockActor const &) = delete; + HopperBlockActor(class HopperBlockActor const &) = delete; + HopperBlockActor() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_HOPPERBLOCKACTOR + MCVAPI std::unique_ptr _getUpdatePacket(class BlockSource &); + MCVAPI void _onUpdatePacket(class CompoundTag const &, class BlockSource &); + MCVAPI class Container * getContainer(); + MCVAPI class Container const * getContainer() const; + MCVAPI int getContainerSize() const; + MCVAPI class ItemStack const & getItem(int) const; + MCVAPI int getMaxStackSize() const; + MCVAPI std::string getName() const; + MCVAPI void load(class Level &, class CompoundTag const &, class DataLoadHelper &); + MCVAPI void onMove(); + MCVAPI void onNeighborChanged(class BlockSource &, class BlockPos const &); + MCVAPI bool save(class CompoundTag &) const; + MCVAPI void serverInitItemStackIds(int, int, class std::function); + MCVAPI void setContainerChanged(int); + MCVAPI void setItem(int, class ItemStack const &); + MCVAPI void startOpen(class Player &); + MCVAPI void stopOpen(class Player &); + MCVAPI void tick(class BlockSource &); +#endif + MCAPI class FurnaceBlockActor * getAttachedFurnace(class BlockSource &); + MCAPI bool isAttachedToChestAndFurnace(class BlockSource &); + MCAPI void updateCooldownAfterMove(struct Tick const &, int); + +//private: + MCAPI int _countItems() const; + MCAPI void _ensureTickingOrder(class BlockSource &, int); + MCAPI void _tick(class BlockSource &, int); + MCAPI bool isAttachedToContainerType(class BlockSource &, enum ContainerType); + MCAPI bool isSourceOfContainerType(class BlockSource &, enum ContainerType); + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/HopperComponent.hpp b/LiteLoader/Header/MC/HopperComponent.hpp new file mode 100644 index 0000000..30338c6 --- /dev/null +++ b/LiteLoader/Header/MC/HopperComponent.hpp @@ -0,0 +1,27 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class HopperComponent { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_HOPPERCOMPONENT +public: + class HopperComponent& operator=(class HopperComponent const &) = delete; + HopperComponent(class HopperComponent const &) = delete; + HopperComponent() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_HOPPERCOMPONENT +#endif + MCAPI bool pullInItems(class Actor &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/HopperContainerManagerModel.hpp b/LiteLoader/Header/MC/HopperContainerManagerModel.hpp new file mode 100644 index 0000000..dae13b7 --- /dev/null +++ b/LiteLoader/Header/MC/HopperContainerManagerModel.hpp @@ -0,0 +1,29 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "LevelContainerManagerModel.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class HopperContainerManagerModel : public LevelContainerManagerModel { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_HOPPERCONTAINERMANAGERMODEL +public: + class HopperContainerManagerModel& operator=(class HopperContainerManagerModel const &) = delete; + HopperContainerManagerModel(class HopperContainerManagerModel const &) = delete; + HopperContainerManagerModel() = delete; +#endif + +public: + /*0*/ virtual ~HopperContainerManagerModel(); + /*12*/ virtual class ContainerScreenContext _postInit(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_HOPPERCONTAINERMANAGERMODEL +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/HopperSystem.hpp b/LiteLoader/Header/MC/HopperSystem.hpp new file mode 100644 index 0000000..421050d --- /dev/null +++ b/LiteLoader/Header/MC/HopperSystem.hpp @@ -0,0 +1,28 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class HopperSystem { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_HOPPERSYSTEM +public: + class HopperSystem& operator=(class HopperSystem const &) = delete; + HopperSystem(class HopperSystem const &) = delete; + HopperSystem() = delete; +#endif + +public: + /*0*/ virtual ~HopperSystem(); + /*1*/ virtual void tick(class EntityRegistry &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_HOPPERSYSTEM +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/Horse.hpp b/LiteLoader/Header/MC/Horse.hpp new file mode 100644 index 0000000..fdc971e --- /dev/null +++ b/LiteLoader/Header/MC/Horse.hpp @@ -0,0 +1,101 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Actor.hpp" +#include "Animal.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class Horse : public Animal { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_HORSE +public: + class Horse& operator=(class Horse const &) = delete; + Horse(class Horse const &) = delete; + Horse() = delete; +#endif + +public: + /*1*/ virtual void reloadHardcoded(enum Actor::InitializationMethod, class VariantParameterList const &); + /*7*/ virtual ~Horse(); + /*26*/ virtual class Vec3 getInterpolatedRidingOffset(float) const; + /*30*/ virtual void __unk_vfn_30(); + /*39*/ virtual void normalTick(); + /*42*/ virtual void positionRider(class Actor &, float); + /*54*/ virtual void __unk_vfn_54(); + /*61*/ virtual void __unk_vfn_61(); + /*74*/ virtual float getShadowRadius() const; + /*76*/ virtual void __unk_vfn_76(); + /*81*/ virtual void __unk_vfn_81(); + /*85*/ virtual bool isImmobile() const; + /*88*/ virtual void __unk_vfn_88(); + /*90*/ virtual void __unk_vfn_90(); + /*98*/ virtual void __unk_vfn_98(); + /*100*/ virtual void __unk_vfn_100(); + /*112*/ virtual void onFailedTame(); + /*116*/ virtual void setStanding(bool); + /*121*/ virtual void __unk_vfn_121(); + /*131*/ virtual void feed(int); + /*132*/ virtual void handleEntityEvent(enum ActorEvent, int); + /*169*/ virtual void __unk_vfn_169(); + /*171*/ virtual struct ActorUniqueID getControllingPlayer() const; + /*173*/ virtual void causeFallDamage(float); + /*174*/ virtual void handleFallDistanceOnServer(float, bool); + /*182*/ virtual void __unk_vfn_182(); + /*203*/ virtual void openContainerComponent(class Player &); + /*206*/ virtual void __unk_vfn_206(); + /*207*/ virtual void __unk_vfn_207(); + /*228*/ virtual void __unk_vfn_228(); + /*231*/ virtual void __unk_vfn_231(); + /*233*/ virtual void die(class ActorDamageSource const &); + /*238*/ virtual void __unk_vfn_238(); + /*240*/ virtual bool _hurt(class ActorDamageSource const &, int, bool, bool); + /*244*/ virtual void _playStepSound(class BlockPos const &, class Block const &); + /*246*/ virtual void __unk_vfn_246(); + /*257*/ virtual void __unk_vfn_257(); + /*266*/ virtual int getAmbientSoundPostponeTicks(); + /*275*/ virtual void travel(float, float, float); + /*278*/ virtual void aiStep(); + /*290*/ virtual void __unk_vfn_290(); + /*300*/ virtual void __unk_vfn_300(); + /*305*/ virtual int getArmorValue(); + /*332*/ virtual void __unk_vfn_332(); + /*348*/ virtual void __unk_vfn_348(); + /*349*/ virtual void setType(int); + /*350*/ virtual int getType() const; + /*351*/ virtual void setHorseEating(bool); + /*352*/ virtual float getEatAnim(float); + /*353*/ virtual float getStandAnim(float) const; + /*354*/ virtual float getMouthAnim(float); + /*355*/ virtual bool canWearArmor() const; + /*356*/ virtual bool getHasReproduced() const; + /*357*/ virtual void setBred(bool); + /*358*/ virtual void setReproduced(bool); + /*359*/ virtual bool isAmuletHorse(); + /*360*/ virtual bool isUndead() const; + /*361*/ virtual bool isSterile() const; + /*362*/ virtual bool isAdult() const; + /*363*/ virtual bool isHorseEating() const; + /*364*/ virtual bool isBred() const; + /*365*/ virtual void makeMad(); + /*366*/ virtual int nameYOffset(); + /*367*/ virtual bool tameToPlayer(class Player &, bool); + /*368*/ virtual std::string getMadSound(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_HORSE + MCVAPI bool useNewAi() const; +#endif + MCAPI static int const DONKEY_CHEST_COUNT; + +//private: + MCAPI void openMouth(); + MCAPI void setHorseFlag(enum HorseFlags, bool); + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/HorseArmorItem.hpp b/LiteLoader/Header/MC/HorseArmorItem.hpp new file mode 100644 index 0000000..bc0ada3 --- /dev/null +++ b/LiteLoader/Header/MC/HorseArmorItem.hpp @@ -0,0 +1,53 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Item.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class HorseArmorItem : public Item { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_HORSEARMORITEM +public: + class HorseArmorItem& operator=(class HorseArmorItem const &) = delete; + HorseArmorItem(class HorseArmorItem const &) = delete; + HorseArmorItem() = delete; +#endif + +public: + /*0*/ virtual ~HorseArmorItem(); + /*5*/ virtual void __unk_vfn_5(); + /*26*/ virtual void __unk_vfn_26(); + /*27*/ virtual void __unk_vfn_27(); + /*31*/ virtual void __unk_vfn_31(); + /*32*/ virtual void __unk_vfn_32(); + /*34*/ virtual void __unk_vfn_34(); + /*37*/ virtual void __unk_vfn_37(); + /*38*/ virtual void appendFormattedHovertext(class ItemStackBase const &, class Level &, std::string &, bool) const; + /*42*/ virtual int getArmorValue() const; + /*43*/ virtual void __unk_vfn_43(); + /*46*/ virtual void __unk_vfn_46(); + /*47*/ virtual void __unk_vfn_47(); + /*48*/ virtual class Color getColor(class CompoundTag const *, class ItemDescriptor const &) const; + /*49*/ virtual void __unk_vfn_49(); + /*50*/ virtual void __unk_vfn_50(); + /*53*/ virtual bool isTintable() const; + /*57*/ virtual bool dispense(class BlockSource &, class Container &, int, class Vec3 const &, unsigned char) const; + /*79*/ virtual void __unk_vfn_79(); + /*80*/ virtual void __unk_vfn_80(); + /*90*/ virtual void __unk_vfn_90(); + /*97*/ virtual void __unk_vfn_97(); + /*100*/ virtual int getTier() const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_HORSEARMORITEM +#endif + MCAPI bool hasCustomColor(class CompoundTag const *) const; + MCAPI void setColor(class ItemStackBase &, class Color const &) const; + MCAPI static int const mHealthPerTier[]; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/HorseContainerManagerModel.hpp b/LiteLoader/Header/MC/HorseContainerManagerModel.hpp new file mode 100644 index 0000000..e53c3b6 --- /dev/null +++ b/LiteLoader/Header/MC/HorseContainerManagerModel.hpp @@ -0,0 +1,37 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "LevelContainerManagerModel.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class HorseContainerManagerModel : public LevelContainerManagerModel { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_HORSECONTAINERMANAGERMODEL +public: + class HorseContainerManagerModel& operator=(class HorseContainerManagerModel const &) = delete; + HorseContainerManagerModel(class HorseContainerManagerModel const &) = delete; + HorseContainerManagerModel() = delete; +#endif + +public: + /*0*/ virtual ~HorseContainerManagerModel(); + /*6*/ virtual std::vector getItemCopies() const; + /*7*/ virtual void setSlot(int, class ItemStack const &, bool); + /*8*/ virtual class ItemStack const & getSlot(int) const; + /*12*/ virtual class ContainerScreenContext _postInit(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_HORSECONTAINERMANAGERMODEL +#endif + +//private: + MCAPI void _onEquipSlotChanged(int, class ItemStack const &, class ItemStack const &); + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/HoverGoal.hpp b/LiteLoader/Header/MC/HoverGoal.hpp new file mode 100644 index 0000000..53f4eec --- /dev/null +++ b/LiteLoader/Header/MC/HoverGoal.hpp @@ -0,0 +1,34 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class HoverGoal { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_HOVERGOAL +public: + class HoverGoal& operator=(class HoverGoal const &) = delete; + HoverGoal(class HoverGoal const &) = delete; + HoverGoal() = delete; +#endif + +public: + /*0*/ virtual ~HoverGoal(); + /*1*/ virtual bool canUse(); + /*2*/ virtual void __unk_vfn_2(); + /*3*/ virtual void __unk_vfn_3(); + /*4*/ virtual void start(); + /*5*/ virtual void stop(); + /*6*/ virtual void tick(); + /*7*/ virtual void appendDebugInfo(std::string &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_HOVERGOAL +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/HoverMoveControl.hpp b/LiteLoader/Header/MC/HoverMoveControl.hpp new file mode 100644 index 0000000..0bc43f7 --- /dev/null +++ b/LiteLoader/Header/MC/HoverMoveControl.hpp @@ -0,0 +1,29 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "MoveControl.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class HoverMoveControl : public MoveControl { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_HOVERMOVECONTROL +public: + class HoverMoveControl& operator=(class HoverMoveControl const &) = delete; + HoverMoveControl(class HoverMoveControl const &) = delete; + HoverMoveControl() = delete; +#endif + +public: + /*0*/ virtual ~HoverMoveControl(); + /*2*/ virtual void tick(class MoveControlComponent &, class Mob &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_HOVERMOVECONTROL +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/HoverPathNavigation.hpp b/LiteLoader/Header/MC/HoverPathNavigation.hpp new file mode 100644 index 0000000..7e8c6f4 --- /dev/null +++ b/LiteLoader/Header/MC/HoverPathNavigation.hpp @@ -0,0 +1,36 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "PathNavigation.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class HoverPathNavigation : public PathNavigation { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_HOVERPATHNAVIGATION +public: + class HoverPathNavigation& operator=(class HoverPathNavigation const &) = delete; + HoverPathNavigation(class HoverPathNavigation const &) = delete; + HoverPathNavigation() = delete; +#endif + +public: + /*0*/ virtual ~HoverPathNavigation(); + /*1*/ virtual void initializeInternal(class Mob &, struct NavigationDescription *); + /*2*/ virtual void tick(class NavigationComponent &, class Mob &); + /*3*/ virtual class Vec3 getTempMobPos(class Mob const &) const; + /*4*/ virtual std::unique_ptr createPath(class NavigationComponent &, class Mob &, class Vec3 const &); + /*5*/ virtual std::unique_ptr createPath(class NavigationComponent &, class Mob &, class Actor &); + /*9*/ virtual void stop(class NavigationComponent &, class Mob &); + /*11*/ virtual bool canUpdatePath(class Mob const &) const; + /*12*/ virtual void updatePath(class NavigationComponent &, class Mob &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_HOVERPATHNAVIGATION +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/HttpHeaders.hpp b/LiteLoader/Header/MC/HttpHeaders.hpp new file mode 100644 index 0000000..8a72f1c --- /dev/null +++ b/LiteLoader/Header/MC/HttpHeaders.hpp @@ -0,0 +1,31 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "RakNet.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class HttpHeaders { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_HTTPHEADERS +public: + class HttpHeaders& operator=(class HttpHeaders const &) = delete; + HttpHeaders(class HttpHeaders const &) = delete; + HttpHeaders() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_HTTPHEADERS +#endif + MCAPI void clear(); + MCAPI bool getHeader(std::string const &, std::string &) const; + MCAPI enum HttpHeaders::ParseState parse(class RakNet::BitStream &); + MCAPI ~HttpHeaders(); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/HudContainerManagerModel.hpp b/LiteLoader/Header/MC/HudContainerManagerModel.hpp new file mode 100644 index 0000000..7554112 --- /dev/null +++ b/LiteLoader/Header/MC/HudContainerManagerModel.hpp @@ -0,0 +1,34 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "ContainerManagerModel.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class HudContainerManagerModel : public ContainerManagerModel { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_HUDCONTAINERMANAGERMODEL +public: + class HudContainerManagerModel& operator=(class HudContainerManagerModel const &) = delete; + HudContainerManagerModel(class HudContainerManagerModel const &) = delete; + HudContainerManagerModel() = delete; +#endif + +public: + /*0*/ virtual ~HudContainerManagerModel(); + /*6*/ virtual std::vector getItemCopies() const; + /*7*/ virtual void setSlot(int, class ItemStack const &, bool); + /*8*/ virtual class ItemStack const & getSlot(int) const; + /*9*/ virtual void setData(int, int); + /*10*/ virtual void broadcastChanges(); + /*12*/ virtual class ContainerScreenContext _postInit(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_HUDCONTAINERMANAGERMODEL +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/HudContainerModel.hpp b/LiteLoader/Header/MC/HudContainerModel.hpp new file mode 100644 index 0000000..d3340af --- /dev/null +++ b/LiteLoader/Header/MC/HudContainerModel.hpp @@ -0,0 +1,42 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "ContainerModel.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class HudContainerModel : public ContainerModel { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_HUDCONTAINERMODEL +public: + class HudContainerModel& operator=(class HudContainerModel const &) = delete; + HudContainerModel(class HudContainerModel const &) = delete; + HudContainerModel() = delete; +#endif + +public: + /*0*/ virtual void containerContentChanged(int); + /*1*/ virtual ~HudContainerModel(); + /*6*/ virtual void __unk_vfn_6(); + /*7*/ virtual class ContainerWeakRef getContainerWeakRef() const; + /*12*/ virtual void __unk_vfn_12(); + /*14*/ virtual bool isValid(); + /*15*/ virtual void __unk_vfn_15(); + /*16*/ virtual void __unk_vfn_16(); + /*19*/ virtual void __unk_vfn_19(); + /*20*/ virtual class Container * _getContainer() const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_HUDCONTAINERMODEL +#endif + +//private: + MCAPI void _refreshContainer(); + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/HudScreenCapabilities.hpp b/LiteLoader/Header/MC/HudScreenCapabilities.hpp new file mode 100644 index 0000000..ce68be2 --- /dev/null +++ b/LiteLoader/Header/MC/HudScreenCapabilities.hpp @@ -0,0 +1,27 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +struct HudScreenCapabilities { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_HUDSCREENCAPABILITIES +public: + struct HudScreenCapabilities& operator=(struct HudScreenCapabilities const &) = delete; + HudScreenCapabilities(struct HudScreenCapabilities const &) = delete; + HudScreenCapabilities() = delete; +#endif +public: + /*0*/ virtual ~HudScreenCapabilities(); + /*1*/ virtual bool isOfType(class typeid_t) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_HUDSCREENCAPABILITIES +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/HugeFungusFeature.hpp b/LiteLoader/Header/MC/HugeFungusFeature.hpp new file mode 100644 index 0000000..6628270 --- /dev/null +++ b/LiteLoader/Header/MC/HugeFungusFeature.hpp @@ -0,0 +1,35 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Feature.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class HugeFungusFeature : public Feature { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_HUGEFUNGUSFEATURE +public: + class HugeFungusFeature& operator=(class HugeFungusFeature const &) = delete; + HugeFungusFeature(class HugeFungusFeature const &) = delete; + HugeFungusFeature() = delete; +#endif + +public: + /*0*/ virtual ~HugeFungusFeature(); + /*1*/ virtual bool place(class BlockSource &, class BlockPos const &, class Random &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_HUGEFUNGUSFEATURE +#endif + MCAPI HugeFungusFeature(bool); + +//private: + MCAPI void tryPlaceWeepingVines(class Random &, class BlockSource &, class BlockPos, int, int) const; + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/HugeMushroomBlock.hpp b/LiteLoader/Header/MC/HugeMushroomBlock.hpp new file mode 100644 index 0000000..583125d --- /dev/null +++ b/LiteLoader/Header/MC/HugeMushroomBlock.hpp @@ -0,0 +1,64 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "BlockLegacy.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class HugeMushroomBlock : public BlockLegacy { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_HUGEMUSHROOMBLOCK +public: + class HugeMushroomBlock& operator=(class HugeMushroomBlock const &) = delete; + HugeMushroomBlock(class HugeMushroomBlock const &) = delete; + HugeMushroomBlock() = delete; +#endif + +public: + /*0*/ virtual ~HugeMushroomBlock(); + /*18*/ virtual void __unk_vfn_18(); + /*24*/ virtual void __unk_vfn_24(); + /*25*/ virtual void __unk_vfn_25(); + /*26*/ virtual void __unk_vfn_26(); + /*27*/ virtual void __unk_vfn_27(); + /*28*/ virtual void __unk_vfn_28(); + /*30*/ virtual void __unk_vfn_30(); + /*31*/ virtual void __unk_vfn_31(); + /*32*/ virtual void __unk_vfn_32(); + /*33*/ virtual void __unk_vfn_33(); + /*34*/ virtual void __unk_vfn_34(); + /*35*/ virtual void __unk_vfn_35(); + /*36*/ virtual void __unk_vfn_36(); + /*38*/ virtual void __unk_vfn_38(); + /*39*/ virtual void __unk_vfn_39(); + /*40*/ virtual void __unk_vfn_40(); + /*42*/ virtual void __unk_vfn_42(); + /*43*/ virtual void __unk_vfn_43(); + /*49*/ virtual void __unk_vfn_49(); + /*52*/ virtual void __unk_vfn_52(); + /*67*/ virtual void __unk_vfn_67(); + /*73*/ virtual void __unk_vfn_73(); + /*87*/ virtual void __unk_vfn_87(); + /*90*/ virtual int getResourceCount(class Random &, class Block const &, int, bool) const; + /*91*/ virtual class ItemInstance getResourceItem(class Random &, class Block const &, int) const; + /*92*/ virtual class ItemInstance asItemInstance(class BlockSource &, class BlockPos const &, class Block const &) const; + /*95*/ virtual void __unk_vfn_95(); + /*109*/ virtual void __unk_vfn_109(); + /*116*/ virtual void __unk_vfn_116(); + /*118*/ virtual void __unk_vfn_118(); + /*119*/ virtual void __unk_vfn_119(); + /*127*/ virtual std::string buildDescriptionId(class Block const &) const; + /*128*/ virtual bool isAuxValueRelevantForPicking() const; + /*142*/ virtual void __unk_vfn_142(); + /*158*/ virtual void __unk_vfn_158(); + /*159*/ virtual class ItemInstance getSilkTouchItemInstance(class Block const &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_HUGEMUSHROOMBLOCK +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/HugeMushroomFeature.hpp b/LiteLoader/Header/MC/HugeMushroomFeature.hpp new file mode 100644 index 0000000..93511a2 --- /dev/null +++ b/LiteLoader/Header/MC/HugeMushroomFeature.hpp @@ -0,0 +1,36 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Feature.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class HugeMushroomFeature : public Feature { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_HUGEMUSHROOMFEATURE +public: + class HugeMushroomFeature& operator=(class HugeMushroomFeature const &) = delete; + HugeMushroomFeature(class HugeMushroomFeature const &) = delete; + HugeMushroomFeature() = delete; +#endif + +public: + /*0*/ virtual ~HugeMushroomFeature(); + /*1*/ virtual bool place(class BlockSource &, class BlockPos const &, class Random &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_HUGEMUSHROOMFEATURE +#endif + MCAPI bool placeFixed(class BlockSource &, class BlockPos const &, int, int) const; + +//private: + +private: + MCAPI static std::vector mHugeMushroomTypes; + MCAPI static std::vector mMushroomTypes; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/HumanoidMonster.hpp b/LiteLoader/Header/MC/HumanoidMonster.hpp new file mode 100644 index 0000000..5859964 --- /dev/null +++ b/LiteLoader/Header/MC/HumanoidMonster.hpp @@ -0,0 +1,57 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Actor.hpp" +#include "Monster.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class HumanoidMonster : public Monster { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_HUMANOIDMONSTER +public: + class HumanoidMonster& operator=(class HumanoidMonster const &) = delete; + HumanoidMonster(class HumanoidMonster const &) = delete; + HumanoidMonster() = delete; +#endif + +public: + /*7*/ virtual ~HumanoidMonster(); + /*30*/ virtual void __unk_vfn_30(); + /*39*/ virtual void normalTick(); + /*54*/ virtual void __unk_vfn_54(); + /*61*/ virtual void __unk_vfn_61(); + /*76*/ virtual void __unk_vfn_76(); + /*81*/ virtual void __unk_vfn_81(); + /*88*/ virtual void __unk_vfn_88(); + /*90*/ virtual void __unk_vfn_90(); + /*98*/ virtual void __unk_vfn_98(); + /*100*/ virtual void __unk_vfn_100(); + /*121*/ virtual void __unk_vfn_121(); + /*169*/ virtual void __unk_vfn_169(); + /*182*/ virtual void __unk_vfn_182(); + /*206*/ virtual void __unk_vfn_206(); + /*207*/ virtual void __unk_vfn_207(); + /*228*/ virtual void __unk_vfn_228(); + /*231*/ virtual void __unk_vfn_231(); + /*238*/ virtual void __unk_vfn_238(); + /*242*/ virtual void readAdditionalSaveData(class CompoundTag const &, class DataLoadHelper &); + /*243*/ virtual void addAdditionalSaveData(class CompoundTag &); + /*246*/ virtual void __unk_vfn_246(); + /*257*/ virtual void __unk_vfn_257(); + /*285*/ virtual int getItemUseDuration(); + /*290*/ virtual void __unk_vfn_290(); + /*299*/ virtual bool doHurtTarget(class Actor *); + /*300*/ virtual void __unk_vfn_300(); + /*332*/ virtual void __unk_vfn_332(); + /*348*/ virtual void __unk_vfn_348(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_HUMANOIDMONSTER +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/HungerAttributeDelegate.hpp b/LiteLoader/Header/MC/HungerAttributeDelegate.hpp new file mode 100644 index 0000000..5176b2e --- /dev/null +++ b/LiteLoader/Header/MC/HungerAttributeDelegate.hpp @@ -0,0 +1,30 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "AttributeInstanceDelegate.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class HungerAttributeDelegate : public AttributeInstanceDelegate { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_HUNGERATTRIBUTEDELEGATE +public: + class HungerAttributeDelegate& operator=(class HungerAttributeDelegate const &) = delete; + HungerAttributeDelegate(class HungerAttributeDelegate const &) = delete; + HungerAttributeDelegate() = delete; +#endif + +public: + /*0*/ virtual ~HungerAttributeDelegate(); + /*1*/ virtual void tick(); + /*2*/ virtual void notify(__int64); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_HUNGERATTRIBUTEDELEGATE +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/HurtArmorPacket.hpp b/LiteLoader/Header/MC/HurtArmorPacket.hpp new file mode 100644 index 0000000..23e7ddd --- /dev/null +++ b/LiteLoader/Header/MC/HurtArmorPacket.hpp @@ -0,0 +1,32 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Packet.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class HurtArmorPacket : public Packet { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_HURTARMORPACKET +public: + class HurtArmorPacket& operator=(class HurtArmorPacket const &) = delete; + HurtArmorPacket(class HurtArmorPacket const &) = delete; + HurtArmorPacket() = delete; +#endif + +public: + /*0*/ virtual ~HurtArmorPacket(); + /*1*/ virtual enum MinecraftPacketIds getId() const; + /*2*/ virtual std::string getName() const; + /*3*/ virtual void write(class BinaryStream &) const; + /*4*/ virtual enum StreamReadResult read(class ReadOnlyBinaryStream &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_HURTARMORPACKET +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/HurtByTargetGoal.hpp b/LiteLoader/Header/MC/HurtByTargetGoal.hpp new file mode 100644 index 0000000..d34c990 --- /dev/null +++ b/LiteLoader/Header/MC/HurtByTargetGoal.hpp @@ -0,0 +1,34 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "TargetGoal.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class HurtByTargetGoal : public TargetGoal { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_HURTBYTARGETGOAL +public: + class HurtByTargetGoal& operator=(class HurtByTargetGoal const &) = delete; + HurtByTargetGoal(class HurtByTargetGoal const &) = delete; + HurtByTargetGoal() = delete; +#endif + +public: + /*0*/ virtual ~HurtByTargetGoal(); + /*1*/ virtual bool canUse(); + /*4*/ virtual void start(); + /*7*/ virtual void appendDebugInfo(std::string &) const; + /*8*/ virtual void __unk_vfn_8(); + /*9*/ virtual void __unk_vfn_9(); + /*11*/ virtual void alertOther(class Mob *, class Mob *); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_HURTBYTARGETGOAL +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/HurtOnConditionDefinition.hpp b/LiteLoader/Header/MC/HurtOnConditionDefinition.hpp new file mode 100644 index 0000000..979314b --- /dev/null +++ b/LiteLoader/Header/MC/HurtOnConditionDefinition.hpp @@ -0,0 +1,29 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "JsonUtil.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class HurtOnConditionDefinition { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_HURTONCONDITIONDEFINITION +public: + class HurtOnConditionDefinition& operator=(class HurtOnConditionDefinition const &) = delete; + HurtOnConditionDefinition(class HurtOnConditionDefinition const &) = delete; + HurtOnConditionDefinition() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_HURTONCONDITIONDEFINITION +#endif + MCAPI void addDamageCondition(struct DamageCondition const &); + MCAPI static void buildSchema(class std::shared_ptr> &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/HurtOnConditionSystem.hpp b/LiteLoader/Header/MC/HurtOnConditionSystem.hpp new file mode 100644 index 0000000..e7006b0 --- /dev/null +++ b/LiteLoader/Header/MC/HurtOnConditionSystem.hpp @@ -0,0 +1,28 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class HurtOnConditionSystem { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_HURTONCONDITIONSYSTEM +public: + class HurtOnConditionSystem& operator=(class HurtOnConditionSystem const &) = delete; + HurtOnConditionSystem(class HurtOnConditionSystem const &) = delete; + HurtOnConditionSystem() = delete; +#endif + +public: + /*0*/ virtual ~HurtOnConditionSystem(); + /*1*/ virtual void tick(class EntityRegistry &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_HURTONCONDITIONSYSTEM +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/HurtOwnerSubcomponent.hpp b/LiteLoader/Header/MC/HurtOwnerSubcomponent.hpp new file mode 100644 index 0000000..38b5b16 --- /dev/null +++ b/LiteLoader/Header/MC/HurtOwnerSubcomponent.hpp @@ -0,0 +1,31 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Json.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class HurtOwnerSubcomponent { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_HURTOWNERSUBCOMPONENT +public: + class HurtOwnerSubcomponent& operator=(class HurtOwnerSubcomponent const &) = delete; + HurtOwnerSubcomponent(class HurtOwnerSubcomponent const &) = delete; + HurtOwnerSubcomponent() = delete; +#endif + +public: + /*0*/ virtual ~HurtOwnerSubcomponent(); + /*1*/ virtual void readfromJSON(class Json::Value &); + /*2*/ virtual void writetoJSON(class Json::Value &) const; + /*3*/ virtual void doOnHitEffect(class Actor &, class ProjectileComponent &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_HURTOWNERSUBCOMPONENT +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/I18n.hpp b/LiteLoader/Header/MC/I18n.hpp new file mode 100644 index 0000000..cb50c46 --- /dev/null +++ b/LiteLoader/Header/MC/I18n.hpp @@ -0,0 +1,77 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Json.hpp" +#include "Core.hpp" + +#define BEFORE_EXTRA +// Include Headers or Declare Types Here +class Localization; + +#undef BEFORE_EXTRA + +class I18n { + +#define AFTER_EXTRA +// Add Member There +public: + LIAPI static Localization const* getLanguage(std::string const& languageCode); + // inline static std::string get(std::string const& key) + // { + // return get(key, mCurrentLanguage); + // } + // inline static std::string get(std::string const& key, std::vector args) + // { + // return get(key, args, mCurrentLanguage); + // } + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_I18N +public: + class I18n& operator=(class I18n const &) = delete; + I18n(class I18n const &) = delete; + I18n() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_I18N +#endif + MCAPI static void appendLanguageStringsFromPack(class PackManifest const &, class std::multimap, struct std::less, class std::allocator>>> const &); + MCAPI static void chooseLanguage(class Localization const &); + MCAPI static void chooseLanguage(std::string const &); + MCAPI static class std::unordered_map, struct std::equal_to, class std::allocator>> findAvailableLanguageNames(class ResourcePackManager &); + MCAPI static std::vector findAvailableLanguages(class ResourcePackManager &); + MCAPI static std::string get(std::string const &, std::vector const &); + MCAPI static std::string get(std::string const &); + MCAPI static std::vector getLanguageCodesFromPack(class PackAccessStrategy const &); + MCAPI static std::string getPackKeywordValue(class PackManifest const &, std::string const &); + MCAPI static std::string getPackKeywordValueForTelemetry(class PackManifest const &, std::string const &); + MCAPI static void loadAllLanguages(class ResourcePackManager &); + MCAPI static void loadLanguageKeywordsFromPack(class PackManifest const &, class PackAccessStrategy const &, std::vector const &); + +//private: + MCAPI static void _findAvailableLanguageNames(class Json::Value const &, class std::unordered_map, struct std::equal_to, class std::allocator>> &); + MCAPI static void _findAvailableLanguages(class Json::Value const &, std::vector &); + MCAPI static class Localization * _findLocaleFor(std::string const &); + MCAPI static std::string _generatePackKeyPrefix(class PackManifest const &); + MCAPI static class Localization * _getAdditionalTranslationsBackupLocale(std::string const &, bool); + MCAPI static void _getFormatParmas(std::string const &, std::vector &); + MCAPI static class Localization & _getPackKeywordLocale(std::string const &); + +private: + MCAPI static std::vector> mAdditionalTranslationsBackup; + MCAPI static class std::mutex mAdditionalTranslationsBackupMutex; + MCAPI static class Localization const * mCurrentLanguage; + MCAPI static class Localization const * mCurrentPackMetaLanguage; + MCAPI static class Localization const mEmptyLanguage; + MCAPI static class std::unordered_map, struct std::hash, struct std::equal_to, class std::allocator>>> mFormatDictionary; + MCAPI static std::vector mLanguageCodes; + MCAPI static class std::unordered_map, struct std::equal_to, class std::allocator>> mLanguageNames; + MCAPI static std::vector> mLanguages; + MCAPI static std::vector> mPackKeywordLanguages; + MCAPI static std::vector const mPackReservedKeys; + MCAPI static class ResourcePackManager * mResourcePackManager; + MCAPI static class Core::Subject mSubject; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/I18nObserver.hpp b/LiteLoader/Header/MC/I18nObserver.hpp new file mode 100644 index 0000000..8b564fe --- /dev/null +++ b/LiteLoader/Header/MC/I18nObserver.hpp @@ -0,0 +1,26 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class I18nObserver { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_I18NOBSERVER +public: + class I18nObserver& operator=(class I18nObserver const &) = delete; + I18nObserver(class I18nObserver const &) = delete; + I18nObserver() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_I18NOBSERVER +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/IContainerManager.hpp b/LiteLoader/Header/MC/IContainerManager.hpp new file mode 100644 index 0000000..d9fcaf9 --- /dev/null +++ b/LiteLoader/Header/MC/IContainerManager.hpp @@ -0,0 +1,26 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class IContainerManager { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ICONTAINERMANAGER +public: + class IContainerManager& operator=(class IContainerManager const &) = delete; + IContainerManager(class IContainerManager const &) = delete; + IContainerManager() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ICONTAINERMANAGER +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/IContentKeyProvider.hpp b/LiteLoader/Header/MC/IContentKeyProvider.hpp new file mode 100644 index 0000000..d1d4208 --- /dev/null +++ b/LiteLoader/Header/MC/IContentKeyProvider.hpp @@ -0,0 +1,30 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class IContentKeyProvider { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ICONTENTKEYPROVIDER +public: + class IContentKeyProvider& operator=(class IContentKeyProvider const &) = delete; + IContentKeyProvider(class IContentKeyProvider const &) = delete; + IContentKeyProvider() = delete; +#endif + +public: + /*0*/ virtual ~IContentKeyProvider(); + /*1*/ virtual void __unk_vfn_1() = 0; + /*2*/ virtual std::string getAlternateContentKey(class ContentIdentity const &) const; + /*3*/ virtual bool requireEncryptedReads() const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ICONTENTKEYPROVIDER +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/IDataInput.hpp b/LiteLoader/Header/MC/IDataInput.hpp new file mode 100644 index 0000000..f36fa07 --- /dev/null +++ b/LiteLoader/Header/MC/IDataInput.hpp @@ -0,0 +1,26 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class IDataInput { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_IDATAINPUT +public: + class IDataInput& operator=(class IDataInput const &) = delete; + IDataInput(class IDataInput const &) = delete; + IDataInput() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_IDATAINPUT +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/IDataOutput.hpp b/LiteLoader/Header/MC/IDataOutput.hpp new file mode 100644 index 0000000..1e75927 --- /dev/null +++ b/LiteLoader/Header/MC/IDataOutput.hpp @@ -0,0 +1,26 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class IDataOutput { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_IDATAOUTPUT +public: + class IDataOutput& operator=(class IDataOutput const &) = delete; + IDataOutput(class IDataOutput const &) = delete; + IDataOutput() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_IDATAOUTPUT +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/IDefinitionInstance.hpp b/LiteLoader/Header/MC/IDefinitionInstance.hpp new file mode 100644 index 0000000..fc44b06 --- /dev/null +++ b/LiteLoader/Header/MC/IDefinitionInstance.hpp @@ -0,0 +1,33 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class IDefinitionInstance { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_IDEFINITIONINSTANCE +public: + class IDefinitionInstance& operator=(class IDefinitionInstance const &) = delete; + IDefinitionInstance(class IDefinitionInstance const &) = delete; + IDefinitionInstance() = delete; +#endif + +public: + /*0*/ virtual ~IDefinitionInstance(); + /*1*/ virtual unsigned short getRuntimeTypeId() const; + /*2*/ virtual void __unk_vfn_2() = 0; + /*3*/ virtual void __unk_vfn_3() = 0; + /*4*/ virtual void __unk_vfn_4() = 0; + /*5*/ virtual void __unk_vfn_5() = 0; + /*6*/ virtual void _create(class EntityContext &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_IDEFINITIONINSTANCE +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/IDefinitionSerializer.hpp b/LiteLoader/Header/MC/IDefinitionSerializer.hpp new file mode 100644 index 0000000..12841bc --- /dev/null +++ b/LiteLoader/Header/MC/IDefinitionSerializer.hpp @@ -0,0 +1,26 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class IDefinitionSerializer { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_IDEFINITIONSERIALIZER +public: + class IDefinitionSerializer& operator=(class IDefinitionSerializer const &) = delete; + IDefinitionSerializer(class IDefinitionSerializer const &) = delete; + IDefinitionSerializer() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_IDEFINITIONSERIALIZER +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/IFileAccess.hpp b/LiteLoader/Header/MC/IFileAccess.hpp new file mode 100644 index 0000000..e1775e0 --- /dev/null +++ b/LiteLoader/Header/MC/IFileAccess.hpp @@ -0,0 +1,26 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class IFileAccess { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_IFILEACCESS +public: + class IFileAccess& operator=(class IFileAccess const &) = delete; + IFileAccess(class IFileAccess const &) = delete; + IFileAccess() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_IFILEACCESS +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/IFileChunkUploader.hpp b/LiteLoader/Header/MC/IFileChunkUploader.hpp new file mode 100644 index 0000000..6d479e0 --- /dev/null +++ b/LiteLoader/Header/MC/IFileChunkUploader.hpp @@ -0,0 +1,40 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Json.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class IFileChunkUploader { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_IFILECHUNKUPLOADER +public: + class IFileChunkUploader& operator=(class IFileChunkUploader const &) = delete; + IFileChunkUploader(class IFileChunkUploader const &) = delete; + IFileChunkUploader() = delete; +#endif + +public: + /*0*/ virtual ~IFileChunkUploader(); + /*1*/ virtual void __unk_vfn_1(); + /*2*/ virtual void initFileUploader(std::string const &, struct FileInfo const &, int, class Json::Value const &, class std::function) = 0; + /*3*/ virtual void getServerMissingChunks(struct FileInfo const &, class std::function)>) const; + /*4*/ virtual void __unk_vfn_4(); + /*5*/ virtual void uploadChunk(struct FileInfo const &, struct FileChunkInfo const &, std::vector const &, class std::function); + /*6*/ virtual void uploadStream(struct FileInfo const &, unsigned __int64, std::string const &, class std::function &)>, class std::function); + /*7*/ virtual bool canCancelUpload(struct FileInfo const &) const = 0; + /*8*/ virtual void __unk_vfn_8() = 0; + /*9*/ virtual float getUploadProgress(struct FileInfo const &) const = 0; + /*10*/ virtual struct FileChunkInfo getChunkInfo(struct FileInfo const &, int) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_IFILECHUNKUPLOADER + MCVAPI void confirmChunkReceived(struct FileInfo const &, struct FileChunkInfo const &); + MCVAPI void update(); +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/IFilePicker.hpp b/LiteLoader/Header/MC/IFilePicker.hpp new file mode 100644 index 0000000..c56726b --- /dev/null +++ b/LiteLoader/Header/MC/IFilePicker.hpp @@ -0,0 +1,26 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class IFilePicker { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_IFILEPICKER +public: + class IFilePicker& operator=(class IFilePicker const &) = delete; + IFilePicker(class IFilePicker const &) = delete; + IFilePicker() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_IFILEPICKER +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/IFileReadAccess.hpp b/LiteLoader/Header/MC/IFileReadAccess.hpp new file mode 100644 index 0000000..8c340ce --- /dev/null +++ b/LiteLoader/Header/MC/IFileReadAccess.hpp @@ -0,0 +1,26 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class IFileReadAccess { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_IFILEREADACCESS +public: + class IFileReadAccess& operator=(class IFileReadAccess const &) = delete; + IFileReadAccess(class IFileReadAccess const &) = delete; + IFileReadAccess() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_IFILEREADACCESS +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/IFileWriteAccess.hpp b/LiteLoader/Header/MC/IFileWriteAccess.hpp new file mode 100644 index 0000000..ef64e9d --- /dev/null +++ b/LiteLoader/Header/MC/IFileWriteAccess.hpp @@ -0,0 +1,26 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class IFileWriteAccess { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_IFILEWRITEACCESS +public: + class IFileWriteAccess& operator=(class IFileWriteAccess const &) = delete; + IFileWriteAccess(class IFileWriteAccess const &) = delete; + IFileWriteAccess() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_IFILEWRITEACCESS +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/IJsonSerializable.hpp b/LiteLoader/Header/MC/IJsonSerializable.hpp new file mode 100644 index 0000000..df578ab --- /dev/null +++ b/LiteLoader/Header/MC/IJsonSerializable.hpp @@ -0,0 +1,26 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class IJsonSerializable { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_IJSONSERIALIZABLE +public: + class IJsonSerializable& operator=(class IJsonSerializable const &) = delete; + IJsonSerializable(class IJsonSerializable const &) = delete; + IJsonSerializable() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_IJSONSERIALIZABLE +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/IMinecraftApp.hpp b/LiteLoader/Header/MC/IMinecraftApp.hpp new file mode 100644 index 0000000..932f558 --- /dev/null +++ b/LiteLoader/Header/MC/IMinecraftApp.hpp @@ -0,0 +1,26 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class IMinecraftApp { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_IMINECRAFTAPP +public: + class IMinecraftApp& operator=(class IMinecraftApp const &) = delete; + IMinecraftApp(class IMinecraftApp const &) = delete; + IMinecraftApp() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_IMINECRAFTAPP +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/IMinecraftEventing.hpp b/LiteLoader/Header/MC/IMinecraftEventing.hpp new file mode 100644 index 0000000..dad2add --- /dev/null +++ b/LiteLoader/Header/MC/IMinecraftEventing.hpp @@ -0,0 +1,27 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class IMinecraftEventing { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_IMINECRAFTEVENTING +public: + class IMinecraftEventing& operator=(class IMinecraftEventing const &) = delete; + IMinecraftEventing(class IMinecraftEventing const &) = delete; + IMinecraftEventing() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_IMINECRAFTEVENTING + MCVAPI ~IMinecraftEventing(); +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/IPackTelemetry.hpp b/LiteLoader/Header/MC/IPackTelemetry.hpp new file mode 100644 index 0000000..9332b8b --- /dev/null +++ b/LiteLoader/Header/MC/IPackTelemetry.hpp @@ -0,0 +1,26 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class IPackTelemetry { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_IPACKTELEMETRY +public: + class IPackTelemetry& operator=(class IPackTelemetry const &) = delete; + IPackTelemetry(class IPackTelemetry const &) = delete; + IPackTelemetry() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_IPACKTELEMETRY +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/IPacketHandlerDispatcher.hpp b/LiteLoader/Header/MC/IPacketHandlerDispatcher.hpp new file mode 100644 index 0000000..f780013 --- /dev/null +++ b/LiteLoader/Header/MC/IPacketHandlerDispatcher.hpp @@ -0,0 +1,26 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class IPacketHandlerDispatcher { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_IPACKETHANDLERDISPATCHER +public: + class IPacketHandlerDispatcher& operator=(class IPacketHandlerDispatcher const &) = delete; + IPacketHandlerDispatcher(class IPacketHandlerDispatcher const &) = delete; + IPacketHandlerDispatcher() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_IPACKETHANDLERDISPATCHER +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ISecureStorageKeySystem.hpp b/LiteLoader/Header/MC/ISecureStorageKeySystem.hpp new file mode 100644 index 0000000..fe9760d --- /dev/null +++ b/LiteLoader/Header/MC/ISecureStorageKeySystem.hpp @@ -0,0 +1,26 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ISecureStorageKeySystem { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ISECURESTORAGEKEYSYSTEM +public: + class ISecureStorageKeySystem& operator=(class ISecureStorageKeySystem const &) = delete; + ISecureStorageKeySystem(class ISecureStorageKeySystem const &) = delete; + ISecureStorageKeySystem() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ISECURESTORAGEKEYSYSTEM +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ISubChunkBlockStoragePaletted.hpp b/LiteLoader/Header/MC/ISubChunkBlockStoragePaletted.hpp new file mode 100644 index 0000000..f5b9fe8 --- /dev/null +++ b/LiteLoader/Header/MC/ISubChunkBlockStoragePaletted.hpp @@ -0,0 +1,27 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ISubChunkBlockStoragePaletted { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ISUBCHUNKBLOCKSTORAGEPALETTED +public: + class ISubChunkBlockStoragePaletted& operator=(class ISubChunkBlockStoragePaletted const &) = delete; + ISubChunkBlockStoragePaletted(class ISubChunkBlockStoragePaletted const &) = delete; + ISubChunkBlockStoragePaletted() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ISUBCHUNKBLOCKSTORAGEPALETTED + MCVAPI ~ISubChunkBlockStoragePaletted(); +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ITextObject.hpp b/LiteLoader/Header/MC/ITextObject.hpp new file mode 100644 index 0000000..2779de9 --- /dev/null +++ b/LiteLoader/Header/MC/ITextObject.hpp @@ -0,0 +1,30 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ITextObject { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ITEXTOBJECT +public: + class ITextObject& operator=(class ITextObject const &) = delete; + ITextObject(class ITextObject const &) = delete; + ITextObject() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ITEXTOBJECT +#endif + MCAPI static std::string const RAW_TEXT_OBJECT_KEY; + MCAPI static std::string const RAW_TEXT_TEXT_KEY; + MCAPI static std::string const RAW_TEXT_TRANSLATE_KEY; + MCAPI static std::string const RAW_TEXT_WITH_KEY; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ITickingArea.hpp b/LiteLoader/Header/MC/ITickingArea.hpp new file mode 100644 index 0000000..6204b5f --- /dev/null +++ b/LiteLoader/Header/MC/ITickingArea.hpp @@ -0,0 +1,27 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ITickingArea { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ITICKINGAREA +public: + class ITickingArea& operator=(class ITickingArea const &) = delete; + ITickingArea(class ITickingArea const &) = delete; + ITickingArea() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ITICKINGAREA +#endif + MCAPI class CompoundTag serialize(class AutomaticID) const; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ITickingAreaView.hpp b/LiteLoader/Header/MC/ITickingAreaView.hpp new file mode 100644 index 0000000..500bc60 --- /dev/null +++ b/LiteLoader/Header/MC/ITickingAreaView.hpp @@ -0,0 +1,26 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ITickingAreaView { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ITICKINGAREAVIEW +public: + class ITickingAreaView& operator=(class ITickingAreaView const &) = delete; + ITickingAreaView(class ITickingAreaView const &) = delete; + ITickingAreaView() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ITICKINGAREAVIEW +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ITreeFeature.hpp b/LiteLoader/Header/MC/ITreeFeature.hpp new file mode 100644 index 0000000..9b6124b --- /dev/null +++ b/LiteLoader/Header/MC/ITreeFeature.hpp @@ -0,0 +1,27 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ITreeFeature { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ITREEFEATURE +public: + class ITreeFeature& operator=(class ITreeFeature const &) = delete; + ITreeFeature(class ITreeFeature const &) = delete; + ITreeFeature() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ITREEFEATURE + MCVAPI ~ITreeFeature(); +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/IWebviewTelemetry.hpp b/LiteLoader/Header/MC/IWebviewTelemetry.hpp new file mode 100644 index 0000000..af20795 --- /dev/null +++ b/LiteLoader/Header/MC/IWebviewTelemetry.hpp @@ -0,0 +1,29 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class IWebviewTelemetry { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_IWEBVIEWTELEMETRY +public: + class IWebviewTelemetry& operator=(class IWebviewTelemetry const &) = delete; + IWebviewTelemetry(class IWebviewTelemetry const &) = delete; + IWebviewTelemetry() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_IWEBVIEWTELEMETRY + MCVAPI void onDownloadBegin(struct WebviewDownloadInfo const &); + MCVAPI void onDownloadCanceled(struct WebviewDownloadInfo const &); + MCVAPI void onDownloadComplete(struct WebviewDownloadInfo const &); +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/IceBlock.hpp b/LiteLoader/Header/MC/IceBlock.hpp new file mode 100644 index 0000000..cd51ab5 --- /dev/null +++ b/LiteLoader/Header/MC/IceBlock.hpp @@ -0,0 +1,64 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "BlockLegacy.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class IceBlock : public BlockLegacy { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ICEBLOCK +public: + class IceBlock& operator=(class IceBlock const &) = delete; + IceBlock(class IceBlock const &) = delete; + IceBlock() = delete; +#endif + +public: + /*0*/ virtual ~IceBlock(); + /*1*/ virtual void tick(class BlockSource &, class BlockPos const &, class Random &) const; + /*18*/ virtual void __unk_vfn_18(); + /*24*/ virtual void __unk_vfn_24(); + /*25*/ virtual void __unk_vfn_25(); + /*26*/ virtual void __unk_vfn_26(); + /*27*/ virtual void __unk_vfn_27(); + /*28*/ virtual void __unk_vfn_28(); + /*30*/ virtual void __unk_vfn_30(); + /*31*/ virtual void __unk_vfn_31(); + /*32*/ virtual void __unk_vfn_32(); + /*33*/ virtual void __unk_vfn_33(); + /*34*/ virtual void __unk_vfn_34(); + /*35*/ virtual void __unk_vfn_35(); + /*36*/ virtual void __unk_vfn_36(); + /*38*/ virtual void __unk_vfn_38(); + /*39*/ virtual void __unk_vfn_39(); + /*40*/ virtual void __unk_vfn_40(); + /*42*/ virtual void __unk_vfn_42(); + /*43*/ virtual void __unk_vfn_43(); + /*49*/ virtual void __unk_vfn_49(); + /*52*/ virtual void __unk_vfn_52(); + /*67*/ virtual void __unk_vfn_67(); + /*73*/ virtual void __unk_vfn_73(); + /*84*/ virtual bool breaksFallingBlocks(class Block const &) const; + /*86*/ virtual bool playerWillDestroy(class Player &, class BlockPos const &, class Block const &) const; + /*87*/ virtual void __unk_vfn_87(); + /*90*/ virtual int getResourceCount(class Random &, class Block const &, int, bool) const; + /*95*/ virtual void __unk_vfn_95(); + /*109*/ virtual void __unk_vfn_109(); + /*116*/ virtual void __unk_vfn_116(); + /*118*/ virtual void __unk_vfn_118(); + /*119*/ virtual void __unk_vfn_119(); + /*142*/ virtual void __unk_vfn_142(); + /*158*/ virtual void __unk_vfn_158(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ICEBLOCK +#endif + MCAPI IceBlock(std::string const &, int, bool); + MCAPI static void melt(class BlockSource &, class BlockPos const &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/IceBombItem.hpp b/LiteLoader/Header/MC/IceBombItem.hpp new file mode 100644 index 0000000..fcb743c --- /dev/null +++ b/LiteLoader/Header/MC/IceBombItem.hpp @@ -0,0 +1,49 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Item.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class IceBombItem : public Item { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ICEBOMBITEM +public: + class IceBombItem& operator=(class IceBombItem const &) = delete; + IceBombItem(class IceBombItem const &) = delete; + IceBombItem() = delete; +#endif + +public: + /*0*/ virtual ~IceBombItem(); + /*5*/ virtual void __unk_vfn_5(); + /*26*/ virtual void __unk_vfn_26(); + /*27*/ virtual void __unk_vfn_27(); + /*30*/ virtual bool isThrowable() const; + /*31*/ virtual void __unk_vfn_31(); + /*32*/ virtual void __unk_vfn_32(); + /*34*/ virtual void __unk_vfn_34(); + /*37*/ virtual void __unk_vfn_37(); + /*43*/ virtual void __unk_vfn_43(); + /*46*/ virtual void __unk_vfn_46(); + /*47*/ virtual void __unk_vfn_47(); + /*49*/ virtual void __unk_vfn_49(); + /*50*/ virtual void __unk_vfn_50(); + /*56*/ virtual class ItemStack & use(class ItemStack &, class Player &) const; + /*57*/ virtual bool dispense(class BlockSource &, class Container &, int, class Vec3 const &, unsigned char) const; + /*73*/ virtual enum CooldownType getCooldownType() const; + /*74*/ virtual int getCooldownTime() const; + /*79*/ virtual void __unk_vfn_79(); + /*80*/ virtual void __unk_vfn_80(); + /*90*/ virtual void __unk_vfn_90(); + /*97*/ virtual void __unk_vfn_97(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ICEBOMBITEM +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/IcePatchFeature.hpp b/LiteLoader/Header/MC/IcePatchFeature.hpp new file mode 100644 index 0000000..7b50224 --- /dev/null +++ b/LiteLoader/Header/MC/IcePatchFeature.hpp @@ -0,0 +1,29 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Feature.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class IcePatchFeature : public Feature { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ICEPATCHFEATURE +public: + class IcePatchFeature& operator=(class IcePatchFeature const &) = delete; + IcePatchFeature(class IcePatchFeature const &) = delete; + IcePatchFeature() = delete; +#endif + +public: + /*0*/ virtual ~IcePatchFeature(); + /*1*/ virtual bool place(class BlockSource &, class BlockPos const &, class Random &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ICEPATCHFEATURE +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/IceSpikeFeature.hpp b/LiteLoader/Header/MC/IceSpikeFeature.hpp new file mode 100644 index 0000000..3b0faef --- /dev/null +++ b/LiteLoader/Header/MC/IceSpikeFeature.hpp @@ -0,0 +1,29 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Feature.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class IceSpikeFeature : public Feature { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ICESPIKEFEATURE +public: + class IceSpikeFeature& operator=(class IceSpikeFeature const &) = delete; + IceSpikeFeature(class IceSpikeFeature const &) = delete; + IceSpikeFeature() = delete; +#endif + +public: + /*0*/ virtual ~IceSpikeFeature(); + /*1*/ virtual bool place(class BlockSource &, class BlockPos const &, class Random &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ICESPIKEFEATURE +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/IcebergFeature.hpp b/LiteLoader/Header/MC/IcebergFeature.hpp new file mode 100644 index 0000000..28997c6 --- /dev/null +++ b/LiteLoader/Header/MC/IcebergFeature.hpp @@ -0,0 +1,36 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Feature.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class IcebergFeature : public Feature { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ICEBERGFEATURE +public: + class IcebergFeature& operator=(class IcebergFeature const &) = delete; + IcebergFeature(class IcebergFeature const &) = delete; + IcebergFeature() = delete; +#endif + +public: + /*0*/ virtual ~IcebergFeature(); + /*1*/ virtual bool place(class BlockSource &, class BlockPos const &, class Random &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ICEBERGFEATURE +#endif + +//private: + MCAPI void carve(int, int, class BlockPos const &, class BlockSource &, bool, float, class BlockPos const &, int, int) const; + MCAPI void generateIcebergBlock(class BlockSource &, class Random &, class BlockPos const &, int, int, int, int, int, int, bool, bool, float, int, class Block const &) const; + MCAPI int heightDependentRadiusRound(class Random &, int, int, int) const; + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/IdentifierDescription.hpp b/LiteLoader/Header/MC/IdentifierDescription.hpp new file mode 100644 index 0000000..62257c1 --- /dev/null +++ b/LiteLoader/Header/MC/IdentifierDescription.hpp @@ -0,0 +1,27 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +struct IdentifierDescription { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_IDENTIFIERDESCRIPTION +public: + struct IdentifierDescription& operator=(struct IdentifierDescription const &) = delete; + IdentifierDescription(struct IdentifierDescription const &) = delete; + IdentifierDescription() = delete; +#endif +public: + /*0*/ virtual ~IdentifierDescription(); + /*1*/ virtual char const * getJsonName() const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_IDENTIFIERDESCRIPTION +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/IdentifierResult.hpp b/LiteLoader/Header/MC/IdentifierResult.hpp new file mode 100644 index 0000000..5500365 --- /dev/null +++ b/LiteLoader/Header/MC/IdentifierResult.hpp @@ -0,0 +1,26 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +struct IdentifierResult { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_IDENTIFIERRESULT +public: + struct IdentifierResult& operator=(struct IdentifierResult const &) = delete; + IdentifierResult(struct IdentifierResult const &) = delete; + IdentifierResult() = delete; +#endif +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_IDENTIFIERRESULT +#endif + MCAPI ~IdentifierResult(); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/IdentityDefinition.hpp b/LiteLoader/Header/MC/IdentityDefinition.hpp new file mode 100644 index 0000000..66a35d9 --- /dev/null +++ b/LiteLoader/Header/MC/IdentityDefinition.hpp @@ -0,0 +1,29 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class IdentityDefinition { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_IDENTITYDEFINITION +public: + class IdentityDefinition& operator=(class IdentityDefinition const &) = delete; + IdentityDefinition(class IdentityDefinition const &) = delete; + IdentityDefinition() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_IDENTITYDEFINITION +#endif + MCAPI std::string const & getName(class std::function const &) const; + MCAPI ~IdentityDefinition(); + MCAPI static class IdentityDefinition const Invalid; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/IdentityDictionary.hpp b/LiteLoader/Header/MC/IdentityDictionary.hpp new file mode 100644 index 0000000..f3fe66b --- /dev/null +++ b/LiteLoader/Header/MC/IdentityDictionary.hpp @@ -0,0 +1,29 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class IdentityDictionary { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_IDENTITYDICTIONARY +public: + class IdentityDictionary& operator=(class IdentityDictionary const &) = delete; + IdentityDictionary(class IdentityDictionary const &) = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_IDENTITYDICTIONARY +#endif + MCAPI IdentityDictionary(); + MCAPI struct ScoreboardId const & convertFakeToReal(struct ScoreboardId const &, struct PlayerScoreboardId const &); + MCAPI struct ScoreboardId const & registerIdentity(struct ScoreboardId const &, struct PlayerScoreboardId const &); + MCAPI ~IdentityDictionary(); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/IdleState.hpp b/LiteLoader/Header/MC/IdleState.hpp new file mode 100644 index 0000000..5222344 --- /dev/null +++ b/LiteLoader/Header/MC/IdleState.hpp @@ -0,0 +1,31 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "PetSleepWithOwnerState.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class IdleState : public PetSleepWithOwnerState { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_IDLESTATE +public: + class IdleState& operator=(class IdleState const &) = delete; + IdleState(class IdleState const &) = delete; + IdleState() = delete; +#endif + +public: + /*0*/ virtual ~IdleState(); + /*1*/ virtual void tick(); + /*2*/ virtual void start(); + /*3*/ virtual void stop(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_IDLESTATE +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/Igloo.hpp b/LiteLoader/Header/MC/Igloo.hpp new file mode 100644 index 0000000..976358a --- /dev/null +++ b/LiteLoader/Header/MC/Igloo.hpp @@ -0,0 +1,39 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "StructurePiece.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class Igloo : public StructurePiece { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_IGLOO +public: + class Igloo& operator=(class Igloo const &) = delete; + Igloo(class Igloo const &) = delete; + Igloo() = delete; +#endif + +public: + /*0*/ virtual ~Igloo(); + /*3*/ virtual enum StructurePieceType getType() const; + /*5*/ virtual bool postProcess(class BlockSource &, class Random &, class BoundingBox const &); + /*6*/ virtual void postProcessMobsAt(class BlockSource &, class Random &, class BoundingBox const &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_IGLOO +#endif + +//private: + +private: + MCAPI static std::string const STRUCTURE_LOCATION_IGLOO_NO_TRAPDOOR; + MCAPI static std::string const STRUCTURE_LOCATION_IGLOO_TRAPDOOR; + MCAPI static std::string const STRUCTURE_LOCATION_LABORATORY; + MCAPI static std::string const STRUCTURE_LOCATION_LADDER; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/IgniteSubcomponent.hpp b/LiteLoader/Header/MC/IgniteSubcomponent.hpp new file mode 100644 index 0000000..b466efb --- /dev/null +++ b/LiteLoader/Header/MC/IgniteSubcomponent.hpp @@ -0,0 +1,32 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class IgniteSubcomponent { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_IGNITESUBCOMPONENT +public: + class IgniteSubcomponent& operator=(class IgniteSubcomponent const &) = delete; + IgniteSubcomponent(class IgniteSubcomponent const &) = delete; + IgniteSubcomponent() = delete; +#endif + +public: + /*0*/ virtual ~IgniteSubcomponent(); + /*1*/ virtual void __unk_vfn_1(); + /*2*/ virtual void __unk_vfn_2(); + /*3*/ virtual void doOnHitEffect(class Actor &, class ProjectileComponent &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_IGNITESUBCOMPONENT + MCVAPI void readfromJSON(class Json::Value &); + MCVAPI void writetoJSON(class Json::Value &) const; +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/IllagerBeast.hpp b/LiteLoader/Header/MC/IllagerBeast.hpp new file mode 100644 index 0000000..81a442f --- /dev/null +++ b/LiteLoader/Header/MC/IllagerBeast.hpp @@ -0,0 +1,54 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Actor.hpp" +#include "Monster.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class IllagerBeast : public Monster { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ILLAGERBEAST +public: + class IllagerBeast& operator=(class IllagerBeast const &) = delete; + IllagerBeast(class IllagerBeast const &) = delete; + IllagerBeast() = delete; +#endif + +public: + /*7*/ virtual ~IllagerBeast(); + /*30*/ virtual void __unk_vfn_30(); + /*31*/ virtual void blockedByShield(class ActorDamageSource const &, class Actor &); + /*54*/ virtual void __unk_vfn_54(); + /*61*/ virtual void __unk_vfn_61(); + /*76*/ virtual void __unk_vfn_76(); + /*81*/ virtual void __unk_vfn_81(); + /*88*/ virtual void __unk_vfn_88(); + /*90*/ virtual void __unk_vfn_90(); + /*98*/ virtual void __unk_vfn_98(); + /*100*/ virtual void __unk_vfn_100(); + /*121*/ virtual void __unk_vfn_121(); + /*169*/ virtual void __unk_vfn_169(); + /*182*/ virtual void __unk_vfn_182(); + /*206*/ virtual void __unk_vfn_206(); + /*207*/ virtual void __unk_vfn_207(); + /*228*/ virtual void __unk_vfn_228(); + /*231*/ virtual void __unk_vfn_231(); + /*238*/ virtual void __unk_vfn_238(); + /*246*/ virtual void __unk_vfn_246(); + /*257*/ virtual void __unk_vfn_257(); + /*278*/ virtual void aiStep(); + /*290*/ virtual void __unk_vfn_290(); + /*300*/ virtual void __unk_vfn_300(); + /*332*/ virtual void __unk_vfn_332(); + /*348*/ virtual void __unk_vfn_348(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ILLAGERBEAST +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/IllagerBeastBlockedComponent.hpp b/LiteLoader/Header/MC/IllagerBeastBlockedComponent.hpp new file mode 100644 index 0000000..12b69b7 --- /dev/null +++ b/LiteLoader/Header/MC/IllagerBeastBlockedComponent.hpp @@ -0,0 +1,27 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class IllagerBeastBlockedComponent { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ILLAGERBEASTBLOCKEDCOMPONENT +public: + class IllagerBeastBlockedComponent& operator=(class IllagerBeastBlockedComponent const &) = delete; + IllagerBeastBlockedComponent(class IllagerBeastBlockedComponent const &) = delete; + IllagerBeastBlockedComponent() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ILLAGERBEASTBLOCKEDCOMPONENT +#endif + MCAPI void onBlocked(class Actor &, class ActorDamageSource const &, class Actor &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/IllagerBeastBlockedDescription.hpp b/LiteLoader/Header/MC/IllagerBeastBlockedDescription.hpp new file mode 100644 index 0000000..efee009 --- /dev/null +++ b/LiteLoader/Header/MC/IllagerBeastBlockedDescription.hpp @@ -0,0 +1,30 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Json.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +struct IllagerBeastBlockedDescription { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ILLAGERBEASTBLOCKEDDESCRIPTION +public: + struct IllagerBeastBlockedDescription& operator=(struct IllagerBeastBlockedDescription const &) = delete; + IllagerBeastBlockedDescription(struct IllagerBeastBlockedDescription const &) = delete; + IllagerBeastBlockedDescription() = delete; +#endif +public: + /*0*/ virtual char const * getJsonName() const; + /*1*/ virtual ~IllagerBeastBlockedDescription(); + /*2*/ virtual void deserializeData(class Json::Value &); + /*3*/ virtual void serializeData(class Json::Value &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ILLAGERBEASTBLOCKEDDESCRIPTION +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ImmutableWorldCommand.hpp b/LiteLoader/Header/MC/ImmutableWorldCommand.hpp new file mode 100644 index 0000000..6942179 --- /dev/null +++ b/LiteLoader/Header/MC/ImmutableWorldCommand.hpp @@ -0,0 +1,30 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Command.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ImmutableWorldCommand : public Command { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_IMMUTABLEWORLDCOMMAND +public: + class ImmutableWorldCommand& operator=(class ImmutableWorldCommand const &) = delete; + ImmutableWorldCommand(class ImmutableWorldCommand const &) = delete; + ImmutableWorldCommand() = delete; +#endif + +public: + /*0*/ virtual ~ImmutableWorldCommand(); + /*1*/ virtual void execute(class CommandOrigin const &, class CommandOutput &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_IMMUTABLEWORLDCOMMAND +#endif + MCAPI static void setup(class CommandRegistry &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ImpactDamageSubcomponent.hpp b/LiteLoader/Header/MC/ImpactDamageSubcomponent.hpp new file mode 100644 index 0000000..cfc29c7 --- /dev/null +++ b/LiteLoader/Header/MC/ImpactDamageSubcomponent.hpp @@ -0,0 +1,31 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Json.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ImpactDamageSubcomponent { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_IMPACTDAMAGESUBCOMPONENT +public: + class ImpactDamageSubcomponent& operator=(class ImpactDamageSubcomponent const &) = delete; + ImpactDamageSubcomponent(class ImpactDamageSubcomponent const &) = delete; + ImpactDamageSubcomponent() = delete; +#endif + +public: + /*0*/ virtual ~ImpactDamageSubcomponent(); + /*1*/ virtual void readfromJSON(class Json::Value &); + /*2*/ virtual void writetoJSON(class Json::Value &) const; + /*3*/ virtual void doOnHitEffect(class Actor &, class ProjectileComponent &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_IMPACTDAMAGESUBCOMPONENT +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ImprovedNoise.hpp b/LiteLoader/Header/MC/ImprovedNoise.hpp new file mode 100644 index 0000000..fa5e450 --- /dev/null +++ b/LiteLoader/Header/MC/ImprovedNoise.hpp @@ -0,0 +1,33 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ImprovedNoise { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_IMPROVEDNOISE +public: + class ImprovedNoise& operator=(class ImprovedNoise const &) = delete; + ImprovedNoise(class ImprovedNoise const &) = delete; + ImprovedNoise() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_IMPROVEDNOISE +#endif + MCAPI void _init(class Random &); + MCAPI void _readArea(float *, class Vec3 const &, int, int, int, class Vec3 const &, float) const; + +//private: + MCAPI void _blendCubeCorners(class Vec3 const &, int, int, int, float, float &, float &, float &, float &) const; + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/InMemoryEnv.hpp b/LiteLoader/Header/MC/InMemoryEnv.hpp new file mode 100644 index 0000000..2858b60 --- /dev/null +++ b/LiteLoader/Header/MC/InMemoryEnv.hpp @@ -0,0 +1,52 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class InMemoryEnv { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_INMEMORYENV +public: + class InMemoryEnv& operator=(class InMemoryEnv const &) = delete; + InMemoryEnv(class InMemoryEnv const &) = delete; + InMemoryEnv() = delete; +#endif + +public: + /*0*/ virtual ~InMemoryEnv(); + /*1*/ virtual class leveldb::Status NewSequentialFile(std::string const &, class leveldb::SequentialFile **); + /*2*/ virtual class leveldb::Status NewRandomAccessFile(std::string const &, class leveldb::RandomAccessFile **); + /*3*/ virtual class leveldb::Status NewWritableFile(std::string const &, class leveldb::WritableFile **); + /*4*/ virtual class leveldb::Status NewAppendableFile(std::string const &, class leveldb::WritableFile **); + /*5*/ virtual bool FileExists(std::string const &); + /*6*/ virtual class leveldb::Status GetChildren(std::string const &, std::vector *); + /*7*/ virtual class leveldb::Status DeleteFileA(std::string const &); + /*8*/ virtual void __unk_vfn_8(); + /*9*/ virtual void __unk_vfn_9(); + /*10*/ virtual void __unk_vfn_10(); + /*11*/ virtual class leveldb::Status RenameFile(std::string const &, std::string const &); + /*12*/ virtual void __unk_vfn_12(); + /*13*/ virtual void __unk_vfn_13(); + /*14*/ virtual void __unk_vfn_14(); + /*15*/ virtual void __unk_vfn_15(); + /*16*/ virtual void __unk_vfn_16(); + /*17*/ virtual void __unk_vfn_17(); + /*18*/ virtual void __unk_vfn_18(); + /*19*/ virtual void __unk_vfn_19(); + /*20*/ virtual void flushToPermanentStorage(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_INMEMORYENV +#endif + +//private: + MCAPI void _flushWithTransaction(); + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/InMemoryFile.hpp b/LiteLoader/Header/MC/InMemoryFile.hpp new file mode 100644 index 0000000..6430115 --- /dev/null +++ b/LiteLoader/Header/MC/InMemoryFile.hpp @@ -0,0 +1,28 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class InMemoryFile { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_INMEMORYFILE +public: + class InMemoryFile& operator=(class InMemoryFile const &) = delete; + InMemoryFile(class InMemoryFile const &) = delete; + InMemoryFile() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_INMEMORYFILE +#endif + MCAPI class leveldb::Status flushToDisk(class leveldb::Env *); + MCAPI class leveldb::Status read(unsigned __int64, unsigned __int64, class leveldb::Slice *, char *, unsigned __int64 &) const; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/InMemoryFileStorage.hpp b/LiteLoader/Header/MC/InMemoryFileStorage.hpp new file mode 100644 index 0000000..561de8f --- /dev/null +++ b/LiteLoader/Header/MC/InMemoryFileStorage.hpp @@ -0,0 +1,33 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Core.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class InMemoryFileStorage { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_INMEMORYFILESTORAGE +public: + class InMemoryFileStorage& operator=(class InMemoryFileStorage const &) = delete; + InMemoryFileStorage(class InMemoryFileStorage const &) = delete; + InMemoryFileStorage() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_INMEMORYFILESTORAGE +#endif + MCAPI class std::shared_ptr createFile(class Core::Path const &); + MCAPI bool deleteFile(class Core::Path const &); + MCAPI bool findFile(class Core::Path const &, class std::shared_ptr &); + MCAPI void flushToDisk(); + MCAPI void populateFileList(std::vector &); + MCAPI ~InMemoryFileStorage(); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/InMemoryRandomAccessFile.hpp b/LiteLoader/Header/MC/InMemoryRandomAccessFile.hpp new file mode 100644 index 0000000..5d3b5e5 --- /dev/null +++ b/LiteLoader/Header/MC/InMemoryRandomAccessFile.hpp @@ -0,0 +1,29 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class InMemoryRandomAccessFile { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_INMEMORYRANDOMACCESSFILE +public: + class InMemoryRandomAccessFile& operator=(class InMemoryRandomAccessFile const &) = delete; + InMemoryRandomAccessFile(class InMemoryRandomAccessFile const &) = delete; + InMemoryRandomAccessFile() = delete; +#endif + +public: + /*0*/ virtual ~InMemoryRandomAccessFile(); + /*1*/ virtual class leveldb::Status Read(unsigned __int64, unsigned __int64, class leveldb::Slice *, char *) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_INMEMORYRANDOMACCESSFILE +#endif + MCAPI InMemoryRandomAccessFile(class std::shared_ptr); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/InMemorySequentialFile.hpp b/LiteLoader/Header/MC/InMemorySequentialFile.hpp new file mode 100644 index 0000000..111d4df --- /dev/null +++ b/LiteLoader/Header/MC/InMemorySequentialFile.hpp @@ -0,0 +1,30 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class InMemorySequentialFile { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_INMEMORYSEQUENTIALFILE +public: + class InMemorySequentialFile& operator=(class InMemorySequentialFile const &) = delete; + InMemorySequentialFile(class InMemorySequentialFile const &) = delete; + InMemorySequentialFile() = delete; +#endif + +public: + /*0*/ virtual ~InMemorySequentialFile(); + /*1*/ virtual class leveldb::Status Read(unsigned __int64, class leveldb::Slice *, char *); + /*2*/ virtual class leveldb::Status Skip(unsigned __int64); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_INMEMORYSEQUENTIALFILE +#endif + MCAPI InMemorySequentialFile(class std::shared_ptr); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/InMemoryWritableFile.hpp b/LiteLoader/Header/MC/InMemoryWritableFile.hpp new file mode 100644 index 0000000..a10df47 --- /dev/null +++ b/LiteLoader/Header/MC/InMemoryWritableFile.hpp @@ -0,0 +1,32 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class InMemoryWritableFile { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_INMEMORYWRITABLEFILE +public: + class InMemoryWritableFile& operator=(class InMemoryWritableFile const &) = delete; + InMemoryWritableFile(class InMemoryWritableFile const &) = delete; + InMemoryWritableFile() = delete; +#endif + +public: + /*0*/ virtual ~InMemoryWritableFile(); + /*1*/ virtual class leveldb::Status Append(class leveldb::Slice const &); + /*2*/ virtual class leveldb::Status Close(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_INMEMORYWRITABLEFILE + MCVAPI class leveldb::Status Flush(); + MCVAPI class leveldb::Status Sync(); +#endif + MCAPI InMemoryWritableFile(class std::shared_ptr); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/InPackagePackSource.hpp b/LiteLoader/Header/MC/InPackagePackSource.hpp new file mode 100644 index 0000000..4b94492 --- /dev/null +++ b/LiteLoader/Header/MC/InPackagePackSource.hpp @@ -0,0 +1,35 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class InPackagePackSource { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_INPACKAGEPACKSOURCE +public: + class InPackagePackSource& operator=(class InPackagePackSource const &) = delete; + InPackagePackSource(class InPackagePackSource const &) = delete; + InPackagePackSource() = delete; +#endif + +public: + /*0*/ virtual ~InPackagePackSource(); + /*1*/ virtual void __unk_vfn_1(); + /*2*/ virtual void __unk_vfn_2(); + /*3*/ virtual enum PackOrigin getPackOrigin() const; + /*4*/ virtual enum PackType getPackType() const; + /*5*/ virtual class PackSourceReport load(class PackManifestFactory &, class IContentKeyProvider const &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_INPACKAGEPACKSOURCE + MCVAPI void forEachPack(class std::function); + MCVAPI void forEachPackConst(class std::function) const; +#endif + MCAPI InPackagePackSource(class std::shared_ptr const &, enum PackType); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/IndexSet.hpp b/LiteLoader/Header/MC/IndexSet.hpp new file mode 100644 index 0000000..19cffd2 --- /dev/null +++ b/LiteLoader/Header/MC/IndexSet.hpp @@ -0,0 +1,28 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class IndexSet { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_INDEXSET +public: + class IndexSet& operator=(class IndexSet const &) = delete; + IndexSet(class IndexSet const &) = delete; + IndexSet() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_INDEXSET +#endif + MCAPI void insert(unsigned __int64); + MCAPI ~IndexSet(); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/InsomniaSystem.hpp b/LiteLoader/Header/MC/InsomniaSystem.hpp new file mode 100644 index 0000000..b7c9209 --- /dev/null +++ b/LiteLoader/Header/MC/InsomniaSystem.hpp @@ -0,0 +1,28 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class InsomniaSystem { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_INSOMNIASYSTEM +public: + class InsomniaSystem& operator=(class InsomniaSystem const &) = delete; + InsomniaSystem(class InsomniaSystem const &) = delete; + InsomniaSystem() = delete; +#endif + +public: + /*0*/ virtual ~InsomniaSystem(); + /*1*/ virtual void tick(class EntityRegistry &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_INSOMNIASYSTEM +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/InspectBookshelfGoal.hpp b/LiteLoader/Header/MC/InspectBookshelfGoal.hpp new file mode 100644 index 0000000..1ce8597 --- /dev/null +++ b/LiteLoader/Header/MC/InspectBookshelfGoal.hpp @@ -0,0 +1,45 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "BaseMoveToBlockGoal.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class InspectBookshelfGoal : public BaseMoveToBlockGoal { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_INSPECTBOOKSHELFGOAL +public: + class InspectBookshelfGoal& operator=(class InspectBookshelfGoal const &) = delete; + InspectBookshelfGoal(class InspectBookshelfGoal const &) = delete; + InspectBookshelfGoal() = delete; +#endif + +public: + /*0*/ virtual ~InspectBookshelfGoal(); + /*1*/ virtual bool canUse(); + /*2*/ virtual bool canContinueToUse(); + /*3*/ virtual void __unk_vfn_3(); + /*4*/ virtual void start(); + /*5*/ virtual void __unk_vfn_5(); + /*6*/ virtual void tick(); + /*7*/ virtual void appendDebugInfo(std::string &) const; + /*8*/ virtual void __unk_vfn_8(); + /*9*/ virtual void __unk_vfn_9(); + /*10*/ virtual bool hasReachedTarget() const; + /*11*/ virtual bool isValidTarget(class BlockSource &, class BlockPos const &); + /*12*/ virtual int _nextStartTick(); + /*13*/ virtual bool _canReach(class BlockPos const &); + /*14*/ virtual void _moveToBlock(); + /*15*/ virtual class Vec3 _getTargetPosition() const; + /*16*/ virtual void __unk_vfn_16(); + /*17*/ virtual bool findTargetBlock(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_INSPECTBOOKSHELFGOAL +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/InstantDespawnDefinition.hpp b/LiteLoader/Header/MC/InstantDespawnDefinition.hpp new file mode 100644 index 0000000..5615a86 --- /dev/null +++ b/LiteLoader/Header/MC/InstantDespawnDefinition.hpp @@ -0,0 +1,28 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "JsonUtil.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class InstantDespawnDefinition { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_INSTANTDESPAWNDEFINITION +public: + class InstantDespawnDefinition& operator=(class InstantDespawnDefinition const &) = delete; + InstantDespawnDefinition(class InstantDespawnDefinition const &) = delete; + InstantDespawnDefinition() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_INSTANTDESPAWNDEFINITION +#endif + MCAPI static void buildSchema(class std::shared_ptr> &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/InstantDespawnSystem.hpp b/LiteLoader/Header/MC/InstantDespawnSystem.hpp new file mode 100644 index 0000000..1093596 --- /dev/null +++ b/LiteLoader/Header/MC/InstantDespawnSystem.hpp @@ -0,0 +1,28 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class InstantDespawnSystem { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_INSTANTDESPAWNSYSTEM +public: + class InstantDespawnSystem& operator=(class InstantDespawnSystem const &) = delete; + InstantDespawnSystem(class InstantDespawnSystem const &) = delete; + InstantDespawnSystem() = delete; +#endif + +public: + /*0*/ virtual ~InstantDespawnSystem(); + /*1*/ virtual void tick(class EntityRegistry &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_INSTANTDESPAWNSYSTEM +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/InstantaneousAttributeBuff.hpp b/LiteLoader/Header/MC/InstantaneousAttributeBuff.hpp new file mode 100644 index 0000000..9f952ea --- /dev/null +++ b/LiteLoader/Header/MC/InstantaneousAttributeBuff.hpp @@ -0,0 +1,30 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "AttributeBuff.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class InstantaneousAttributeBuff : public AttributeBuff { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_INSTANTANEOUSATTRIBUTEBUFF +public: + class InstantaneousAttributeBuff& operator=(class InstantaneousAttributeBuff const &) = delete; + InstantaneousAttributeBuff(class InstantaneousAttributeBuff const &) = delete; + InstantaneousAttributeBuff() = delete; +#endif + +public: + /*0*/ virtual ~InstantaneousAttributeBuff(); + /*1*/ virtual bool isInstantaneous() const; + /*2*/ virtual bool isSerializable() const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_INSTANTANEOUSATTRIBUTEBUFF +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/InstantaneousMobEffect.hpp b/LiteLoader/Header/MC/InstantaneousMobEffect.hpp new file mode 100644 index 0000000..5364d53 --- /dev/null +++ b/LiteLoader/Header/MC/InstantaneousMobEffect.hpp @@ -0,0 +1,31 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "MobEffect.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class InstantaneousMobEffect : public MobEffect { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_INSTANTANEOUSMOBEFFECT +public: + class InstantaneousMobEffect& operator=(class InstantaneousMobEffect const &) = delete; + InstantaneousMobEffect(class InstantaneousMobEffect const &) = delete; + InstantaneousMobEffect() = delete; +#endif + +public: + /*0*/ virtual ~InstantaneousMobEffect(); + /*4*/ virtual bool isInstantaneous() const; + /*6*/ virtual bool isDurationEffectTick(int, int) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_INSTANTANEOUSMOBEFFECT +#endif + MCAPI InstantaneousMobEffect(int, std::string const &, std::string const &, bool, int, int); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/Int64Tag.hpp b/LiteLoader/Header/MC/Int64Tag.hpp new file mode 100644 index 0000000..f502a65 --- /dev/null +++ b/LiteLoader/Header/MC/Int64Tag.hpp @@ -0,0 +1,35 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Tag.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class Int64Tag : public Tag { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_INT64TAG +public: + class Int64Tag& operator=(class Int64Tag const &) = delete; + Int64Tag(class Int64Tag const &) = delete; + Int64Tag() = delete; +#endif + +public: + /*0*/ virtual ~Int64Tag(); + /*2*/ virtual void write(class IDataOutput &) const; + /*3*/ virtual void load(class IDataInput &); + /*4*/ virtual std::string toString() const; + /*5*/ virtual enum Tag::Type getId() const; + /*6*/ virtual bool equals(class Tag const &) const; + /*9*/ virtual std::unique_ptr copy() const; + /*10*/ virtual unsigned __int64 hash() const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_INT64TAG +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/IntArrayTag.hpp b/LiteLoader/Header/MC/IntArrayTag.hpp new file mode 100644 index 0000000..4c4c39a --- /dev/null +++ b/LiteLoader/Header/MC/IntArrayTag.hpp @@ -0,0 +1,35 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Tag.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class IntArrayTag : public Tag { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_INTARRAYTAG +public: + class IntArrayTag& operator=(class IntArrayTag const &) = delete; + IntArrayTag(class IntArrayTag const &) = delete; + IntArrayTag() = delete; +#endif + +public: + /*0*/ virtual ~IntArrayTag(); + /*2*/ virtual void write(class IDataOutput &) const; + /*3*/ virtual void load(class IDataInput &); + /*4*/ virtual std::string toString() const; + /*5*/ virtual enum Tag::Type getId() const; + /*6*/ virtual bool equals(class Tag const &) const; + /*9*/ virtual std::unique_ptr copy() const; + /*10*/ virtual unsigned __int64 hash() const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_INTARRAYTAG +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/IntRange.hpp b/LiteLoader/Header/MC/IntRange.hpp new file mode 100644 index 0000000..02cefc7 --- /dev/null +++ b/LiteLoader/Header/MC/IntRange.hpp @@ -0,0 +1,30 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Json.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +struct IntRange { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_INTRANGE +public: + struct IntRange& operator=(struct IntRange const &) = delete; + IntRange(struct IntRange const &) = delete; + IntRange() = delete; +#endif +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_INTRANGE +#endif + MCAPI IntRange(int, int); + MCAPI int getValue(class Random &) const; + MCAPI bool parseJson(class Json::Value, int, int); + MCAPI static struct IntRange const ZERO; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/IntTag.hpp b/LiteLoader/Header/MC/IntTag.hpp new file mode 100644 index 0000000..599e291 --- /dev/null +++ b/LiteLoader/Header/MC/IntTag.hpp @@ -0,0 +1,35 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Tag.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class IntTag : public Tag { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_INTTAG +public: + class IntTag& operator=(class IntTag const &) = delete; + IntTag(class IntTag const &) = delete; + IntTag() = delete; +#endif + +public: + /*0*/ virtual ~IntTag(); + /*2*/ virtual void write(class IDataOutput &) const; + /*3*/ virtual void load(class IDataInput &); + /*4*/ virtual std::string toString() const; + /*5*/ virtual enum Tag::Type getId() const; + /*6*/ virtual bool equals(class Tag const &) const; + /*9*/ virtual std::unique_ptr copy() const; + /*10*/ virtual unsigned __int64 hash() const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_INTTAG +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/InteractActionDefinition.hpp b/LiteLoader/Header/MC/InteractActionDefinition.hpp new file mode 100644 index 0000000..c6ddf83 --- /dev/null +++ b/LiteLoader/Header/MC/InteractActionDefinition.hpp @@ -0,0 +1,30 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Json.hpp" +#include "BehaviorDefinition.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class InteractActionDefinition : public BehaviorDefinition { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_INTERACTACTIONDEFINITION +public: + class InteractActionDefinition& operator=(class InteractActionDefinition const &) = delete; + InteractActionDefinition(class InteractActionDefinition const &) = delete; + InteractActionDefinition() = delete; +#endif + +public: + /*0*/ virtual ~InteractActionDefinition(); + /*1*/ virtual void load(class Json::Value, class BehaviorFactory const &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_INTERACTACTIONDEFINITION +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/InteractActionNode.hpp b/LiteLoader/Header/MC/InteractActionNode.hpp new file mode 100644 index 0000000..629682e --- /dev/null +++ b/LiteLoader/Header/MC/InteractActionNode.hpp @@ -0,0 +1,29 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class InteractActionNode { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_INTERACTACTIONNODE +public: + class InteractActionNode& operator=(class InteractActionNode const &) = delete; + InteractActionNode(class InteractActionNode const &) = delete; + InteractActionNode() = delete; +#endif + +public: + /*0*/ virtual ~InteractActionNode(); + /*1*/ virtual enum BehaviorStatus tick(class Actor &); + /*2*/ virtual void initializeFromDefinition(class Actor &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_INTERACTACTIONNODE +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/InteractComponent.hpp b/LiteLoader/Header/MC/InteractComponent.hpp new file mode 100644 index 0000000..d563403 --- /dev/null +++ b/LiteLoader/Header/MC/InteractComponent.hpp @@ -0,0 +1,31 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class InteractComponent { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_INTERACTCOMPONENT +public: + class InteractComponent& operator=(class InteractComponent const &) = delete; + InteractComponent(class InteractComponent const &) = delete; + InteractComponent() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_INTERACTCOMPONENT +#endif + +//private: + MCAPI bool _runInteraction(class Actor &, struct Interaction const &, class Player &, class ActorInteraction &); + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/InteractDefinition.hpp b/LiteLoader/Header/MC/InteractDefinition.hpp new file mode 100644 index 0000000..801c36b --- /dev/null +++ b/LiteLoader/Header/MC/InteractDefinition.hpp @@ -0,0 +1,38 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Json.hpp" +#include "JsonUtil.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class InteractDefinition { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_INTERACTDEFINITION +public: + class InteractDefinition& operator=(class InteractDefinition const &) = delete; + InteractDefinition(class InteractDefinition const &) = delete; + InteractDefinition() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_INTERACTDEFINITION +#endif + MCAPI void addInteraction(struct Interaction const &); + MCAPI void serializeData(class Json::Value &) const; + MCAPI ~InteractDefinition(); + MCAPI static void buildSchema(class std::shared_ptr> &); + +//private: + MCAPI void deserializeInteraction(class Json::Value &); + MCAPI void serializeInteraction(struct Interaction const &, class Json::Value &) const; + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/InteractPacket.hpp b/LiteLoader/Header/MC/InteractPacket.hpp new file mode 100644 index 0000000..fc73c4a --- /dev/null +++ b/LiteLoader/Header/MC/InteractPacket.hpp @@ -0,0 +1,32 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Packet.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class InteractPacket : public Packet { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_INTERACTPACKET +public: + class InteractPacket& operator=(class InteractPacket const &) = delete; + InteractPacket(class InteractPacket const &) = delete; + InteractPacket() = delete; +#endif + +public: + /*0*/ virtual ~InteractPacket(); + /*1*/ virtual enum MinecraftPacketIds getId() const; + /*2*/ virtual std::string getName() const; + /*3*/ virtual void write(class BinaryStream &) const; + /*4*/ virtual enum StreamReadResult read(class ReadOnlyBinaryStream &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_INTERACTPACKET +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/InteractSystem.hpp b/LiteLoader/Header/MC/InteractSystem.hpp new file mode 100644 index 0000000..4a94acd --- /dev/null +++ b/LiteLoader/Header/MC/InteractSystem.hpp @@ -0,0 +1,28 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class InteractSystem { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_INTERACTSYSTEM +public: + class InteractSystem& operator=(class InteractSystem const &) = delete; + InteractSystem(class InteractSystem const &) = delete; + InteractSystem() = delete; +#endif + +public: + /*0*/ virtual ~InteractSystem(); + /*1*/ virtual void tick(class EntityRegistry &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_INTERACTSYSTEM +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/Interaction.hpp b/LiteLoader/Header/MC/Interaction.hpp new file mode 100644 index 0000000..799c6c0 --- /dev/null +++ b/LiteLoader/Header/MC/Interaction.hpp @@ -0,0 +1,32 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +struct Interaction { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_INTERACTION +public: + struct Interaction& operator=(struct Interaction const &) = delete; +#endif +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_INTERACTION +#endif + MCAPI Interaction(); + MCAPI Interaction(struct Interaction const &); + MCAPI void addActorDefinitionIdentifierByName(std::string const &); + MCAPI void addLevelSoundEventByName(std::string const &); + MCAPI void setCooldown(float const &); + MCAPI void setCooldownAfterBeingAttacked(float const &); + MCAPI void setParticleType(std::string const &); + MCAPI void setTransformItem(std::string const &); + MCAPI ~Interaction(); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/InternalTaskGroup.hpp b/LiteLoader/Header/MC/InternalTaskGroup.hpp new file mode 100644 index 0000000..8073b28 --- /dev/null +++ b/LiteLoader/Header/MC/InternalTaskGroup.hpp @@ -0,0 +1,34 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class InternalTaskGroup { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_INTERNALTASKGROUP +public: + class InternalTaskGroup& operator=(class InternalTaskGroup const &) = delete; + InternalTaskGroup(class InternalTaskGroup const &) = delete; + InternalTaskGroup() = delete; +#endif + +public: + /*0*/ virtual ~InternalTaskGroup(); + /*1*/ virtual void __unk_vfn_1(); + /*2*/ virtual void __unk_vfn_2(); + /*3*/ virtual enum TaskGroupState getState() const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_INTERNALTASKGROUP + MCVAPI void processCoroutines(); + MCVAPI void requeueTask(class std::shared_ptr, bool); + MCVAPI void taskComplete(class gsl::not_null); + MCVAPI void taskRegister(class std::shared_ptr); +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/Inventory.hpp b/LiteLoader/Header/MC/Inventory.hpp new file mode 100644 index 0000000..dd6e2a3 --- /dev/null +++ b/LiteLoader/Header/MC/Inventory.hpp @@ -0,0 +1,42 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "FillingContainer.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class Inventory : public FillingContainer { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_INVENTORY +public: + class Inventory& operator=(class Inventory const &) = delete; + Inventory(class Inventory const &) = delete; + Inventory() = delete; +#endif + +public: + /*0*/ virtual ~Inventory(); + /*1*/ virtual void init(); + /*9*/ virtual void setItem(int, class ItemStack const &); + /*10*/ virtual void setItemWithForceBalance(int, class ItemStack const &, bool); + /*22*/ virtual void __unk_vfn_22(); + /*23*/ virtual void __unk_vfn_23(); + /*32*/ virtual bool add(class ItemStack &); + /*33*/ virtual bool canAdd(class ItemStack const &) const; + /*34*/ virtual void dropAll(bool); + /*39*/ virtual int getEmptySlotsCount() const; + /*40*/ virtual int getFirstEmptySlot() const; + /*41*/ virtual void setContainerSize(int); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_INVENTORY +#endif + MCAPI Inventory(class Player *); + MCAPI void setupDefault(); + MCAPI void tick(int); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/InventoryAction.hpp b/LiteLoader/Header/MC/InventoryAction.hpp new file mode 100644 index 0000000..6daf5ab --- /dev/null +++ b/LiteLoader/Header/MC/InventoryAction.hpp @@ -0,0 +1,28 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class InventoryAction { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_INVENTORYACTION +public: + InventoryAction() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_INVENTORYACTION +#endif + MCAPI InventoryAction(class InventorySource, unsigned int, class ItemStack const &, class ItemStack const &); + MCAPI InventoryAction(class InventoryAction const &); + MCAPI class InventoryAction & operator=(class InventoryAction const &); + MCAPI ~InventoryAction(); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/InventoryContainerModel.hpp b/LiteLoader/Header/MC/InventoryContainerModel.hpp new file mode 100644 index 0000000..8b4e7cc --- /dev/null +++ b/LiteLoader/Header/MC/InventoryContainerModel.hpp @@ -0,0 +1,47 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "ContainerModel.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class InventoryContainerModel : public ContainerModel { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_INVENTORYCONTAINERMODEL +public: + class InventoryContainerModel& operator=(class InventoryContainerModel const &) = delete; + InventoryContainerModel(class InventoryContainerModel const &) = delete; + InventoryContainerModel() = delete; +#endif + +public: + /*0*/ virtual void containerContentChanged(int); + /*1*/ virtual ~InventoryContainerModel(); + /*2*/ virtual void postInit(); + /*3*/ virtual void releaseResources(); + /*6*/ virtual void __unk_vfn_6(); + /*7*/ virtual class ContainerWeakRef getContainerWeakRef() const; + /*12*/ virtual void __unk_vfn_12(); + /*14*/ virtual bool isValid(); + /*15*/ virtual void __unk_vfn_15(); + /*16*/ virtual void __unk_vfn_16(); + /*19*/ virtual void __unk_vfn_19(); + /*20*/ virtual class Container * _getContainer() const; + /*21*/ virtual int _getContainerOffset() const; + /*22*/ virtual void _onItemChanged(int, class ItemStack const &, class ItemStack const &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_INVENTORYCONTAINERMODEL +#endif + MCAPI InventoryContainerModel(enum ContainerEnumName, int, class Player &); + +//private: + MCAPI void _refreshSlot(int); + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/InventoryContentPacket.hpp b/LiteLoader/Header/MC/InventoryContentPacket.hpp new file mode 100644 index 0000000..4160789 --- /dev/null +++ b/LiteLoader/Header/MC/InventoryContentPacket.hpp @@ -0,0 +1,33 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Packet.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class InventoryContentPacket : public Packet { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_INVENTORYCONTENTPACKET +public: + class InventoryContentPacket& operator=(class InventoryContentPacket const &) = delete; + InventoryContentPacket(class InventoryContentPacket const &) = delete; + InventoryContentPacket() = delete; +#endif + +public: + /*0*/ virtual ~InventoryContentPacket(); + /*1*/ virtual enum MinecraftPacketIds getId() const; + /*2*/ virtual std::string getName() const; + /*3*/ virtual void write(class BinaryStream &) const; + /*4*/ virtual enum StreamReadResult read(class ReadOnlyBinaryStream &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_INVENTORYCONTENTPACKET +#endif + MCAPI static class InventoryContentPacket fromPlayerInventoryId(enum ContainerID, class Player &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/InventoryMenu.hpp b/LiteLoader/Header/MC/InventoryMenu.hpp new file mode 100644 index 0000000..e200b54 --- /dev/null +++ b/LiteLoader/Header/MC/InventoryMenu.hpp @@ -0,0 +1,33 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class InventoryMenu { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_INVENTORYMENU +public: + class InventoryMenu& operator=(class InventoryMenu const &) = delete; + InventoryMenu(class InventoryMenu const &) = delete; + InventoryMenu() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_INVENTORYMENU + MCVAPI class Container * _getContainer() const; + MCVAPI std::vector getItemCopies() const; + MCVAPI class ItemStack const & getSlot(int) const; + MCVAPI void removeSlot(int, int); + MCVAPI void serverInitItemStackIds(); + MCVAPI void setSlot(int, class ItemStack const &, bool); + MCVAPI ~InventoryMenu(); +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/InventorySlotPacket.hpp b/LiteLoader/Header/MC/InventorySlotPacket.hpp new file mode 100644 index 0000000..f543310 --- /dev/null +++ b/LiteLoader/Header/MC/InventorySlotPacket.hpp @@ -0,0 +1,33 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Packet.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class InventorySlotPacket : public Packet { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_INVENTORYSLOTPACKET +public: + class InventorySlotPacket& operator=(class InventorySlotPacket const &) = delete; + InventorySlotPacket(class InventorySlotPacket const &) = delete; + InventorySlotPacket() = delete; +#endif + +public: + /*0*/ virtual ~InventorySlotPacket(); + /*1*/ virtual enum MinecraftPacketIds getId() const; + /*2*/ virtual std::string getName() const; + /*3*/ virtual void write(class BinaryStream &) const; + /*4*/ virtual enum StreamReadResult read(class ReadOnlyBinaryStream &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_INVENTORYSLOTPACKET +#endif + MCAPI InventorySlotPacket(enum ContainerID, unsigned int, class ItemStack const &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/InventoryTransaction.hpp b/LiteLoader/Header/MC/InventoryTransaction.hpp new file mode 100644 index 0000000..1673357 --- /dev/null +++ b/LiteLoader/Header/MC/InventoryTransaction.hpp @@ -0,0 +1,41 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class InventoryTransaction { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_INVENTORYTRANSACTION +public: + class InventoryTransaction& operator=(class InventoryTransaction const &) = delete; + InventoryTransaction() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_INVENTORYTRANSACTION +#endif + MCAPI InventoryTransaction(class InventoryTransaction const &); + MCAPI void addAction(class InventoryAction const &); + MCAPI enum InventoryTransactionError executeFull(class Player &, bool) const; + MCAPI void forceBalanceTransaction(); + MCAPI std::vector const & getActions(class InventorySource const &) const; + MCAPI class std::function getVerifyFunction(class InventorySource const &) const; + MCAPI void serialize(class BinaryStream &, bool) const; + MCAPI enum InventoryTransactionError verifyFull(class Player &, bool) const; + MCAPI ~InventoryTransaction(); + +//private: + MCAPI void _dropCreatedItems(class Player &) const; + MCAPI void addActionToContent(class InventoryAction const &); + MCAPI void addItemToContent(class ItemStack const &, int); + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/InventoryTransactionItemGroup.hpp b/LiteLoader/Header/MC/InventoryTransactionItemGroup.hpp new file mode 100644 index 0000000..58840d7 --- /dev/null +++ b/LiteLoader/Header/MC/InventoryTransactionItemGroup.hpp @@ -0,0 +1,29 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class InventoryTransactionItemGroup { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_INVENTORYTRANSACTIONITEMGROUP +public: + class InventoryTransactionItemGroup& operator=(class InventoryTransactionItemGroup const &) = delete; + InventoryTransactionItemGroup(class InventoryTransactionItemGroup const &) = delete; + InventoryTransactionItemGroup() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_INVENTORYTRANSACTIONITEMGROUP +#endif + MCAPI InventoryTransactionItemGroup(class ItemStack const &, int); + MCAPI class ItemStack getItemInstance() const; + MCAPI ~InventoryTransactionItemGroup(); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/InventoryTransactionManager.hpp b/LiteLoader/Header/MC/InventoryTransactionManager.hpp new file mode 100644 index 0000000..02fd7dc --- /dev/null +++ b/LiteLoader/Header/MC/InventoryTransactionManager.hpp @@ -0,0 +1,31 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class InventoryTransactionManager { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_INVENTORYTRANSACTIONMANAGER +public: + class InventoryTransactionManager& operator=(class InventoryTransactionManager const &) = delete; + InventoryTransactionManager(class InventoryTransactionManager const &) = delete; + InventoryTransactionManager() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_INVENTORYTRANSACTIONMANAGER +#endif + MCAPI void _createServerSideAction(class ItemStack const &, class ItemStack const &); + MCAPI void _logExpectedActions() const; + MCAPI void addAction(class InventoryAction const &, bool); + MCAPI void forceBalanceTransaction(); + MCAPI ~InventoryTransactionManager(); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/InventoryTransactionPacket.hpp b/LiteLoader/Header/MC/InventoryTransactionPacket.hpp new file mode 100644 index 0000000..47bb107 --- /dev/null +++ b/LiteLoader/Header/MC/InventoryTransactionPacket.hpp @@ -0,0 +1,32 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Packet.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class InventoryTransactionPacket : public Packet { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_INVENTORYTRANSACTIONPACKET +public: + class InventoryTransactionPacket& operator=(class InventoryTransactionPacket const &) = delete; + InventoryTransactionPacket(class InventoryTransactionPacket const &) = delete; + InventoryTransactionPacket() = delete; +#endif + +public: + /*0*/ virtual ~InventoryTransactionPacket(); + /*1*/ virtual enum MinecraftPacketIds getId() const; + /*2*/ virtual std::string getName() const; + /*3*/ virtual void write(class BinaryStream &) const; + /*4*/ virtual enum StreamReadResult read(class ReadOnlyBinaryStream &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_INVENTORYTRANSACTIONPACKET +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/InverterDefinition.hpp b/LiteLoader/Header/MC/InverterDefinition.hpp new file mode 100644 index 0000000..421ef58 --- /dev/null +++ b/LiteLoader/Header/MC/InverterDefinition.hpp @@ -0,0 +1,30 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Json.hpp" +#include "BehaviorDefinition.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class InverterDefinition : public BehaviorDefinition { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_INVERTERDEFINITION +public: + class InverterDefinition& operator=(class InverterDefinition const &) = delete; + InverterDefinition(class InverterDefinition const &) = delete; + InverterDefinition() = delete; +#endif + +public: + /*0*/ virtual ~InverterDefinition(); + /*1*/ virtual void load(class Json::Value, class BehaviorFactory const &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_INVERTERDEFINITION +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/InverterNode.hpp b/LiteLoader/Header/MC/InverterNode.hpp new file mode 100644 index 0000000..8337360 --- /dev/null +++ b/LiteLoader/Header/MC/InverterNode.hpp @@ -0,0 +1,29 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class InverterNode { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_INVERTERNODE +public: + class InverterNode& operator=(class InverterNode const &) = delete; + InverterNode(class InverterNode const &) = delete; + InverterNode() = delete; +#endif + +public: + /*0*/ virtual ~InverterNode(); + /*1*/ virtual enum BehaviorStatus tick(class Actor &); + /*2*/ virtual void initializeFromDefinition(class Actor &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_INVERTERNODE +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/InvisibleBlock.hpp b/LiteLoader/Header/MC/InvisibleBlock.hpp new file mode 100644 index 0000000..8c02d5a --- /dev/null +++ b/LiteLoader/Header/MC/InvisibleBlock.hpp @@ -0,0 +1,59 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "BlockLegacy.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class InvisibleBlock : public BlockLegacy { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_INVISIBLEBLOCK +public: + class InvisibleBlock& operator=(class InvisibleBlock const &) = delete; + InvisibleBlock(class InvisibleBlock const &) = delete; + InvisibleBlock() = delete; +#endif + +public: + /*0*/ virtual ~InvisibleBlock(); + /*18*/ virtual void __unk_vfn_18(); + /*24*/ virtual void __unk_vfn_24(); + /*25*/ virtual void __unk_vfn_25(); + /*26*/ virtual void __unk_vfn_26(); + /*27*/ virtual void __unk_vfn_27(); + /*28*/ virtual void __unk_vfn_28(); + /*30*/ virtual void __unk_vfn_30(); + /*31*/ virtual void __unk_vfn_31(); + /*32*/ virtual void __unk_vfn_32(); + /*33*/ virtual void __unk_vfn_33(); + /*34*/ virtual void __unk_vfn_34(); + /*35*/ virtual void __unk_vfn_35(); + /*36*/ virtual void __unk_vfn_36(); + /*38*/ virtual void __unk_vfn_38(); + /*39*/ virtual void __unk_vfn_39(); + /*40*/ virtual void __unk_vfn_40(); + /*42*/ virtual void __unk_vfn_42(); + /*43*/ virtual void __unk_vfn_43(); + /*49*/ virtual void __unk_vfn_49(); + /*52*/ virtual void __unk_vfn_52(); + /*67*/ virtual void __unk_vfn_67(); + /*73*/ virtual void __unk_vfn_73(); + /*87*/ virtual void __unk_vfn_87(); + /*95*/ virtual void __unk_vfn_95(); + /*97*/ virtual class HitResult clip(class BlockSource &, class BlockPos const &, class Vec3 const &, class Vec3 const &, bool) const; + /*109*/ virtual void __unk_vfn_109(); + /*116*/ virtual void __unk_vfn_116(); + /*118*/ virtual void __unk_vfn_118(); + /*119*/ virtual void __unk_vfn_119(); + /*142*/ virtual void __unk_vfn_142(); + /*158*/ virtual void __unk_vfn_158(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_INVISIBLEBLOCK +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/IronGolem.hpp b/LiteLoader/Header/MC/IronGolem.hpp new file mode 100644 index 0000000..c7862b9 --- /dev/null +++ b/LiteLoader/Header/MC/IronGolem.hpp @@ -0,0 +1,59 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Actor.hpp" +#include "Mob.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class IronGolem : public Mob { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_IRONGOLEM +public: + class IronGolem& operator=(class IronGolem const &) = delete; + IronGolem(class IronGolem const &) = delete; + IronGolem() = delete; +#endif + +public: + /*7*/ virtual ~IronGolem(); + /*30*/ virtual void __unk_vfn_30(); + /*54*/ virtual void __unk_vfn_54(); + /*61*/ virtual void __unk_vfn_61(); + /*74*/ virtual float getShadowRadius() const; + /*76*/ virtual void __unk_vfn_76(); + /*81*/ virtual void __unk_vfn_81(); + /*88*/ virtual void __unk_vfn_88(); + /*90*/ virtual void __unk_vfn_90(); + /*98*/ virtual void __unk_vfn_98(); + /*100*/ virtual void __unk_vfn_100(); + /*121*/ virtual void __unk_vfn_121(); + /*132*/ virtual void handleEntityEvent(enum ActorEvent, int); + /*169*/ virtual void __unk_vfn_169(); + /*182*/ virtual void __unk_vfn_182(); + /*206*/ virtual void __unk_vfn_206(); + /*207*/ virtual void __unk_vfn_207(); + /*228*/ virtual void __unk_vfn_228(); + /*231*/ virtual void __unk_vfn_231(); + /*233*/ virtual void die(class ActorDamageSource const &); + /*235*/ virtual void updateEntitySpecificMolangVariables(class RenderParams &); + /*238*/ virtual void __unk_vfn_238(); + /*244*/ virtual void _playStepSound(class BlockPos const &, class Block const &); + /*246*/ virtual void __unk_vfn_246(); + /*257*/ virtual void __unk_vfn_257(); + /*278*/ virtual void aiStep(); + /*290*/ virtual void __unk_vfn_290(); + /*299*/ virtual bool doHurtTarget(class Actor *); + /*300*/ virtual void __unk_vfn_300(); + /*332*/ virtual void __unk_vfn_332(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_IRONGOLEM + MCVAPI bool useNewAi() const; +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/IsBabyDescription.hpp b/LiteLoader/Header/MC/IsBabyDescription.hpp new file mode 100644 index 0000000..d5172ed --- /dev/null +++ b/LiteLoader/Header/MC/IsBabyDescription.hpp @@ -0,0 +1,28 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +struct IsBabyDescription { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ISBABYDESCRIPTION +public: + struct IsBabyDescription& operator=(struct IsBabyDescription const &) = delete; + IsBabyDescription(struct IsBabyDescription const &) = delete; + IsBabyDescription() = delete; +#endif +public: + /*0*/ virtual char const * getJsonName() const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ISBABYDESCRIPTION + MCVAPI void deserializeData(class Json::Value &); + MCVAPI void serializeData(class Json::Value &) const; +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/IsChargedDescription.hpp b/LiteLoader/Header/MC/IsChargedDescription.hpp new file mode 100644 index 0000000..0c99294 --- /dev/null +++ b/LiteLoader/Header/MC/IsChargedDescription.hpp @@ -0,0 +1,28 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +struct IsChargedDescription { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ISCHARGEDDESCRIPTION +public: + struct IsChargedDescription& operator=(struct IsChargedDescription const &) = delete; + IsChargedDescription(struct IsChargedDescription const &) = delete; + IsChargedDescription() = delete; +#endif +public: + /*0*/ virtual char const * getJsonName() const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ISCHARGEDDESCRIPTION + MCVAPI void deserializeData(class Json::Value &); + MCVAPI void serializeData(class Json::Value &) const; +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/IsChestedDescription.hpp b/LiteLoader/Header/MC/IsChestedDescription.hpp new file mode 100644 index 0000000..e7ccabe --- /dev/null +++ b/LiteLoader/Header/MC/IsChestedDescription.hpp @@ -0,0 +1,28 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +struct IsChestedDescription { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ISCHESTEDDESCRIPTION +public: + struct IsChestedDescription& operator=(struct IsChestedDescription const &) = delete; + IsChestedDescription(struct IsChestedDescription const &) = delete; + IsChestedDescription() = delete; +#endif +public: + /*0*/ virtual char const * getJsonName() const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ISCHESTEDDESCRIPTION + MCVAPI void deserializeData(class Json::Value &); + MCVAPI void serializeData(class Json::Value &) const; +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/IsExperimentalDescription.hpp b/LiteLoader/Header/MC/IsExperimentalDescription.hpp new file mode 100644 index 0000000..57be67b --- /dev/null +++ b/LiteLoader/Header/MC/IsExperimentalDescription.hpp @@ -0,0 +1,27 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +struct IsExperimentalDescription { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ISEXPERIMENTALDESCRIPTION +public: + struct IsExperimentalDescription& operator=(struct IsExperimentalDescription const &) = delete; + IsExperimentalDescription(struct IsExperimentalDescription const &) = delete; + IsExperimentalDescription() = delete; +#endif +public: + /*0*/ virtual ~IsExperimentalDescription(); + /*1*/ virtual char const * getJsonName() const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ISEXPERIMENTALDESCRIPTION +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/IsHiddenWhenInvisibleDescription.hpp b/LiteLoader/Header/MC/IsHiddenWhenInvisibleDescription.hpp new file mode 100644 index 0000000..26b7a6c --- /dev/null +++ b/LiteLoader/Header/MC/IsHiddenWhenInvisibleDescription.hpp @@ -0,0 +1,28 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +struct IsHiddenWhenInvisibleDescription { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ISHIDDENWHENINVISIBLEDESCRIPTION +public: + struct IsHiddenWhenInvisibleDescription& operator=(struct IsHiddenWhenInvisibleDescription const &) = delete; + IsHiddenWhenInvisibleDescription(struct IsHiddenWhenInvisibleDescription const &) = delete; + IsHiddenWhenInvisibleDescription() = delete; +#endif +public: + /*0*/ virtual char const * getJsonName() const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ISHIDDENWHENINVISIBLEDESCRIPTION + MCVAPI void deserializeData(class Json::Value &); + MCVAPI void serializeData(class Json::Value &) const; +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/IsIgnitedDescription.hpp b/LiteLoader/Header/MC/IsIgnitedDescription.hpp new file mode 100644 index 0000000..7909750 --- /dev/null +++ b/LiteLoader/Header/MC/IsIgnitedDescription.hpp @@ -0,0 +1,28 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +struct IsIgnitedDescription { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ISIGNITEDDESCRIPTION +public: + struct IsIgnitedDescription& operator=(struct IsIgnitedDescription const &) = delete; + IsIgnitedDescription(struct IsIgnitedDescription const &) = delete; + IsIgnitedDescription() = delete; +#endif +public: + /*0*/ virtual char const * getJsonName() const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ISIGNITEDDESCRIPTION + MCVAPI void deserializeData(class Json::Value &); + MCVAPI void serializeData(class Json::Value &) const; +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/IsIllagerCaptainDescription.hpp b/LiteLoader/Header/MC/IsIllagerCaptainDescription.hpp new file mode 100644 index 0000000..7aacca0 --- /dev/null +++ b/LiteLoader/Header/MC/IsIllagerCaptainDescription.hpp @@ -0,0 +1,28 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +struct IsIllagerCaptainDescription { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ISILLAGERCAPTAINDESCRIPTION +public: + struct IsIllagerCaptainDescription& operator=(struct IsIllagerCaptainDescription const &) = delete; + IsIllagerCaptainDescription(struct IsIllagerCaptainDescription const &) = delete; + IsIllagerCaptainDescription() = delete; +#endif +public: + /*0*/ virtual char const * getJsonName() const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ISILLAGERCAPTAINDESCRIPTION + MCVAPI void deserializeData(class Json::Value &); + MCVAPI void serializeData(class Json::Value &) const; +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/IsSaddledDescription.hpp b/LiteLoader/Header/MC/IsSaddledDescription.hpp new file mode 100644 index 0000000..b2de94d --- /dev/null +++ b/LiteLoader/Header/MC/IsSaddledDescription.hpp @@ -0,0 +1,28 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +struct IsSaddledDescription { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ISSADDLEDDESCRIPTION +public: + struct IsSaddledDescription& operator=(struct IsSaddledDescription const &) = delete; + IsSaddledDescription(struct IsSaddledDescription const &) = delete; + IsSaddledDescription() = delete; +#endif +public: + /*0*/ virtual char const * getJsonName() const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ISSADDLEDDESCRIPTION + MCVAPI void deserializeData(class Json::Value &); + MCVAPI void serializeData(class Json::Value &) const; +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/IsShakingDescription.hpp b/LiteLoader/Header/MC/IsShakingDescription.hpp new file mode 100644 index 0000000..e6f3730 --- /dev/null +++ b/LiteLoader/Header/MC/IsShakingDescription.hpp @@ -0,0 +1,28 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +struct IsShakingDescription { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ISSHAKINGDESCRIPTION +public: + struct IsShakingDescription& operator=(struct IsShakingDescription const &) = delete; + IsShakingDescription(struct IsShakingDescription const &) = delete; + IsShakingDescription() = delete; +#endif +public: + /*0*/ virtual char const * getJsonName() const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ISSHAKINGDESCRIPTION + MCVAPI void deserializeData(class Json::Value &); + MCVAPI void serializeData(class Json::Value &) const; +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/IsShearedDescription.hpp b/LiteLoader/Header/MC/IsShearedDescription.hpp new file mode 100644 index 0000000..01c0090 --- /dev/null +++ b/LiteLoader/Header/MC/IsShearedDescription.hpp @@ -0,0 +1,28 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +struct IsShearedDescription { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ISSHEAREDDESCRIPTION +public: + struct IsShearedDescription& operator=(struct IsShearedDescription const &) = delete; + IsShearedDescription(struct IsShearedDescription const &) = delete; + IsShearedDescription() = delete; +#endif +public: + /*0*/ virtual char const * getJsonName() const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ISSHEAREDDESCRIPTION + MCVAPI void deserializeData(class Json::Value &); + MCVAPI void serializeData(class Json::Value &) const; +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/IsSpawnableDescription.hpp b/LiteLoader/Header/MC/IsSpawnableDescription.hpp new file mode 100644 index 0000000..cb88c8f --- /dev/null +++ b/LiteLoader/Header/MC/IsSpawnableDescription.hpp @@ -0,0 +1,27 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +struct IsSpawnableDescription { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ISSPAWNABLEDESCRIPTION +public: + struct IsSpawnableDescription& operator=(struct IsSpawnableDescription const &) = delete; + IsSpawnableDescription(struct IsSpawnableDescription const &) = delete; + IsSpawnableDescription() = delete; +#endif +public: + /*0*/ virtual ~IsSpawnableDescription(); + /*1*/ virtual char const * getJsonName() const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ISSPAWNABLEDESCRIPTION +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/IsStackableDescription.hpp b/LiteLoader/Header/MC/IsStackableDescription.hpp new file mode 100644 index 0000000..fef5aa0 --- /dev/null +++ b/LiteLoader/Header/MC/IsStackableDescription.hpp @@ -0,0 +1,28 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +struct IsStackableDescription { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ISSTACKABLEDESCRIPTION +public: + struct IsStackableDescription& operator=(struct IsStackableDescription const &) = delete; + IsStackableDescription(struct IsStackableDescription const &) = delete; + IsStackableDescription() = delete; +#endif +public: + /*0*/ virtual char const * getJsonName() const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ISSTACKABLEDESCRIPTION + MCVAPI void deserializeData(class Json::Value &); + MCVAPI void serializeData(class Json::Value &) const; +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/IsStunnedDescription.hpp b/LiteLoader/Header/MC/IsStunnedDescription.hpp new file mode 100644 index 0000000..eb668fe --- /dev/null +++ b/LiteLoader/Header/MC/IsStunnedDescription.hpp @@ -0,0 +1,28 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +struct IsStunnedDescription { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ISSTUNNEDDESCRIPTION +public: + struct IsStunnedDescription& operator=(struct IsStunnedDescription const &) = delete; + IsStunnedDescription(struct IsStunnedDescription const &) = delete; + IsStunnedDescription() = delete; +#endif +public: + /*0*/ virtual char const * getJsonName() const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ISSTUNNEDDESCRIPTION + MCVAPI void deserializeData(class Json::Value &); + MCVAPI void serializeData(class Json::Value &) const; +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/IsSummonableDescription.hpp b/LiteLoader/Header/MC/IsSummonableDescription.hpp new file mode 100644 index 0000000..14778aa --- /dev/null +++ b/LiteLoader/Header/MC/IsSummonableDescription.hpp @@ -0,0 +1,27 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +struct IsSummonableDescription { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ISSUMMONABLEDESCRIPTION +public: + struct IsSummonableDescription& operator=(struct IsSummonableDescription const &) = delete; + IsSummonableDescription(struct IsSummonableDescription const &) = delete; + IsSummonableDescription() = delete; +#endif +public: + /*0*/ virtual ~IsSummonableDescription(); + /*1*/ virtual char const * getJsonName() const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ISSUMMONABLEDESCRIPTION +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/IsTamedDescription.hpp b/LiteLoader/Header/MC/IsTamedDescription.hpp new file mode 100644 index 0000000..e942355 --- /dev/null +++ b/LiteLoader/Header/MC/IsTamedDescription.hpp @@ -0,0 +1,28 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +struct IsTamedDescription { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ISTAMEDDESCRIPTION +public: + struct IsTamedDescription& operator=(struct IsTamedDescription const &) = delete; + IsTamedDescription(struct IsTamedDescription const &) = delete; + IsTamedDescription() = delete; +#endif +public: + /*0*/ virtual char const * getJsonName() const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ISTAMEDDESCRIPTION + MCVAPI void deserializeData(class Json::Value &); + MCVAPI void serializeData(class Json::Value &) const; +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/IslandLayer.hpp b/LiteLoader/Header/MC/IslandLayer.hpp new file mode 100644 index 0000000..8de137f --- /dev/null +++ b/LiteLoader/Header/MC/IslandLayer.hpp @@ -0,0 +1,30 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class IslandLayer { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ISLANDLAYER +public: + class IslandLayer& operator=(class IslandLayer const &) = delete; + IslandLayer(class IslandLayer const &) = delete; + IslandLayer() = delete; +#endif + +public: + /*0*/ virtual ~IslandLayer(); + /*1*/ virtual void __unk_vfn_1(); + /*2*/ virtual void __unk_vfn_2(); + /*3*/ virtual void _fillArea(class LayerDetails::WorkingData &, int, int, int, int) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ISLANDLAYER +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/Item.hpp b/LiteLoader/Header/MC/Item.hpp new file mode 100644 index 0000000..57f8a2f --- /dev/null +++ b/LiteLoader/Header/MC/Item.hpp @@ -0,0 +1,185 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Json.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class Item { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ITEM +public: + class Item& operator=(class Item const &) = delete; + Item(class Item const &) = delete; + Item() = delete; +#endif + +public: + /*0*/ virtual ~Item(); + /*1*/ virtual void tearDown(); + /*2*/ virtual int getMaxUseDuration(class ItemInstance const *) const; + /*3*/ virtual int getMaxUseDuration(class ItemStack const *) const; + /*4*/ virtual bool isExperimental(class ItemDescriptor const *) const; + /*5*/ virtual void __unk_vfn_5(); + /*6*/ virtual class Item & setMaxStackSize(unsigned char); + /*7*/ virtual class Item & setCategory(enum CreativeItemCategory); + /*8*/ virtual class Item & setStackedByData(bool); + /*9*/ virtual class Item & setMaxDamage(int); + /*10*/ virtual class Item & setHandEquipped(); + /*11*/ virtual class Item & setUseAnimation(enum UseAnimation); + /*12*/ virtual class Item & setMaxUseDuration(int); + /*13*/ virtual class Item & setRequiresWorldBuilder(bool); + /*14*/ virtual class Item & setExplodable(bool); + /*15*/ virtual class Item & setFireResistant(bool); + /*16*/ virtual class Item & setIsGlint(bool); + /*17*/ virtual class Item & setShouldDespawn(bool); + /*18*/ virtual enum BlockShape getBlockShape() const; + /*19*/ virtual bool canBeDepleted() const; + /*20*/ virtual bool canDestroySpecial(class Block const &) const; + /*21*/ virtual int getLevelDataForAuxValue(int) const; + /*22*/ virtual bool isStackedByData() const; + /*23*/ virtual short getMaxDamage() const; + /*24*/ virtual int getAttackDamage() const; + /*25*/ virtual bool isHandEquipped() const; + /*26*/ virtual void __unk_vfn_26(); + /*27*/ virtual void __unk_vfn_27(); + /*28*/ virtual bool isFertilizer(int) const; + /*29*/ virtual bool isGlint(class ItemStackBase const &) const; + /*30*/ virtual bool isThrowable() const; + /*31*/ virtual void __unk_vfn_31(); + /*32*/ virtual void __unk_vfn_32(); + /*33*/ virtual bool isWearableThroughLootTable(class CompoundTag const *) const; + /*34*/ virtual void __unk_vfn_34(); + /*35*/ virtual bool isDestructive(int) const; + /*36*/ virtual bool isLiquidClipItem(int) const; + /*37*/ virtual void __unk_vfn_37(); + /*38*/ virtual void appendFormattedHovertext(class ItemStackBase const &, class Level &, std::string &, bool) const; + /*39*/ virtual bool isValidRepairItem(class ItemStackBase const &, class ItemStackBase const &) const; + /*40*/ virtual int getEnchantSlot() const; + /*41*/ virtual int getEnchantValue() const; + /*42*/ virtual int getArmorValue() const; + /*43*/ virtual void __unk_vfn_43(); + /*44*/ virtual bool isValidAuxValue(int) const; + /*45*/ virtual int getDamageChance(int) const; + /*46*/ virtual void __unk_vfn_46(); + /*47*/ virtual void __unk_vfn_47(); + /*48*/ virtual class Color getColor(class CompoundTag const *, class ItemDescriptor const &) const; + /*49*/ virtual void __unk_vfn_49(); + /*50*/ virtual void __unk_vfn_50(); + /*51*/ virtual void saveAdditionalData(class ItemStackBase const &, class CompoundTag &) const; + /*52*/ virtual void readAdditionalData(class ItemStackBase &, class CompoundTag const &) const; + /*53*/ virtual bool isTintable() const; + /*54*/ virtual int buildIdAux(short, class CompoundTag const *) const; + /*55*/ virtual class ItemDescriptor buildDescriptor(short, class CompoundTag const *) const; + /*56*/ virtual class ItemStack & use(class ItemStack &, class Player &) const; + /*57*/ virtual bool dispense(class BlockSource &, class Container &, int, class Vec3 const &, unsigned char) const; + /*58*/ virtual enum ItemUseMethod useTimeDepleted(class ItemStack &, class Level *, class Player *) const; + /*59*/ virtual void releaseUsing(class ItemStack &, class Player *, int) const; + /*60*/ virtual float getDestroySpeed(class ItemInstance const &, class Block const &) const; + /*61*/ virtual void hurtEnemy(class ItemInstance &, class Mob *, class Mob *) const; + /*62*/ virtual void hurtEnemy(class ItemStack &, class Mob *, class Mob *) const; + /*63*/ virtual bool mineBlock(class ItemInstance &, class Block const &, int, int, int, class Actor *) const; + /*64*/ virtual bool mineBlock(class ItemStack &, class Block const &, int, int, int, class Actor *) const; + /*65*/ virtual std::string buildDescriptionId(class ItemDescriptor const &, class CompoundTag const *) const; + /*66*/ virtual std::string buildEffectDescriptionName(class ItemStackBase const &) const; + /*67*/ virtual std::string buildCategoryDescriptionName() const; + /*68*/ virtual void readUserData(class ItemStackBase &, class IDataInput &, class ReadOnlyBinaryStream &) const; + /*69*/ virtual void writeUserData(class ItemStackBase const &, class IDataOutput &) const; + /*70*/ virtual unsigned char getMaxStackSize(class ItemDescriptor const &) const; + /*71*/ virtual bool inventoryTick(class ItemStack &, class Level &, class Actor &, int, bool) const; + /*72*/ virtual void refreshedInContainer(class ItemStackBase const &, class Level &) const; + /*73*/ virtual enum CooldownType getCooldownType() const; + /*74*/ virtual int getCooldownTime() const; + /*75*/ virtual void fixupOnLoad(class ItemStackBase &) const; + /*76*/ virtual void fixupOnLoad(class ItemStackBase &, class Level &) const; + /*77*/ virtual short getDamageValue(class CompoundTag const *) const; + /*78*/ virtual void setDamageValue(class ItemStackBase &, short) const; + /*79*/ virtual void __unk_vfn_79(); + /*80*/ virtual void __unk_vfn_80(); + /*81*/ virtual bool isSameItem(class ItemStackBase const &, class ItemStackBase const &) const; + /*82*/ virtual std::string getInteractText(class Player const &) const; + /*83*/ virtual int getAnimationFrameFor(class Mob *, bool, class ItemStack const *, bool) const; + /*84*/ virtual struct Brightness getLightEmission(int) const; + /*85*/ virtual struct TextureUVCoordinateSet const & getIcon(class ItemStackBase const &, int, bool) const; + /*86*/ virtual int getIconYOffset() const; + /*87*/ virtual class Item & setIcon(std::string const &, int); + /*88*/ virtual class Item & setIcon(struct TextureUVCoordinateSet const &); + /*89*/ virtual class Item & setIconAtlas(std::string const &, int); + /*90*/ virtual void __unk_vfn_90(); + /*91*/ virtual void playSoundIncrementally(class ItemInstance const &, class Mob &) const; + /*92*/ virtual void playSoundIncrementally(class ItemStack const &, class Mob &) const; + /*93*/ virtual std::string getAuxValuesDescription() const; + /*94*/ virtual bool _checkUseOnPermissions(class Actor &, class ItemInstance &, unsigned char const &, class BlockPos const &) const; + /*95*/ virtual bool _checkUseOnPermissions(class Actor &, class ItemStack &, unsigned char const &, class BlockPos const &) const; + /*96*/ virtual bool _calculatePlacePos(class ItemStack &, class Actor &, unsigned char &, class BlockPos &) const; + /*97*/ virtual void __unk_vfn_97(); + /*98*/ virtual bool _useOn(class ItemInstance &, class Actor &, class BlockPos, unsigned char, float, float, float) const; + /*99*/ virtual bool _useOn(class ItemStack &, class Actor &, class BlockPos, unsigned char, float, float, float) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ITEM + MCVAPI bool _calculatePlacePos(class ItemInstance &, class Actor &, unsigned char &, class BlockPos &) const; + MCVAPI bool canBeCharged() const; + MCVAPI bool canDestroyInCreative() const; + MCVAPI class Color getBaseColor(class ItemStack const &) const; + MCVAPI enum InHandUpdateType getInHandUpdateType(class Player const &, class ItemInstance const &, class ItemInstance const &, bool, bool) const; + MCVAPI enum InHandUpdateType getInHandUpdateType(class Player const &, class ItemStack const &, class ItemStack const &, bool, bool) const; + MCVAPI class Color getSecondaryColor(class ItemStack const &) const; + MCVAPI bool isArmor() const; + MCVAPI bool isComplex() const; + MCVAPI bool isDye() const; + MCVAPI bool isMultiColorTinted(class ItemStack const &) const; + MCVAPI bool isMusicDisk() const; + MCVAPI bool isPattern() const; + MCVAPI bool requiresInteract() const; + MCVAPI bool showsDurabilityInCreative() const; + MCVAPI bool uniqueAuxValues() const; +#endif + MCAPI Item(std::string const &, short); + MCAPI bool allowOffhand() const; + MCAPI std::string buildDescriptionName(class ItemStackBase const &) const; + MCAPI std::string const & getCommandName() const; + MCAPI std::string getSerializedName() const; + MCAPI bool initServer(class Json::Value &); + MCAPI class Item & setAllowOffhand(bool); + MCAPI class Item & setIsMirroredArt(bool); + MCAPI class Item & setMinRequiredBaseGameVersion(class BaseGameVersion const &); + MCAPI bool updateCustomBlockEntityTag(class BlockSource &, class ItemStack &, class BlockPos &) const; + MCAPI bool useOn(class ItemStack &, class Actor &, int, int, int, unsigned char, float, float, float) const; + MCAPI static std::string const ICON_DESCRIPTION_PREFIX; + MCAPI static std::string const TAG_DAMAGE; + MCAPI static void addCreativeItem(class Block const &); + MCAPI static void addCreativeItem(class Item *, short); + MCAPI static void addCreativeItem(class ItemInstance const &); + MCAPI static void addCreativeItem(class ItemStack const &); + MCAPI static void beginCreativeGroup(std::string const &, class ItemInstance const &); + MCAPI static void beginCreativeGroup(std::string const &, class Block const *, class CompoundTag const *); + MCAPI static void beginCreativeGroup(std::string const &, class Item *, short, class CompoundTag const *); + MCAPI static void beginCreativeGroup(std::string const &, short, short, class CompoundTag const *); + MCAPI static class std::optional findCreativeEntry(class ItemInstance const &); + MCAPI static struct TextureUVCoordinateSet const & getIconTextureUVSet(class TextureAtlasItem const &, int, int); + MCAPI static class TextureAtlasItem const & getTextureItem(std::string const &); + MCAPI static struct TextureUVCoordinateSet getTextureUVCoordinateSet(std::string const &, int); + MCAPI static int mActiveCreativeGroup; + MCAPI static bool mAllowExperimental; + MCAPI static std::vector mCreativeGroupInfo; + MCAPI static std::vector mCreativeList; + MCAPI static class std::mutex mCreativeListMutex; + MCAPI static class std::unordered_map, unsigned __int64, struct std::hash>, struct std::equal_to>, class std::allocator const, unsigned __int64>>> mCreativeNetIdIndex; + MCAPI static bool const mGenerateDenyParticleEffect; + MCAPI static struct TextureUVCoordinateSet mInvalidTextureUVCoordinateSet; + MCAPI static bool mIsClientInitializingCreativeItems; + MCAPI static class std::weak_ptr mItemTextureItems; + MCAPI static class BaseGameVersion mWorldBaseGameVersion; + +//protected: + MCAPI void _helpChangeInventoryItemInPlace(class Actor &, class ItemStack &, class ItemStack &, enum ItemAcquisitionMethod) const; + MCAPI float destroySpeedBonus(class ItemInstance const &) const; + +protected: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ItemAcquisitionMethodMap.hpp b/LiteLoader/Header/MC/ItemAcquisitionMethodMap.hpp new file mode 100644 index 0000000..e3dc3db --- /dev/null +++ b/LiteLoader/Header/MC/ItemAcquisitionMethodMap.hpp @@ -0,0 +1,31 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ItemAcquisitionMethodMap { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ITEMACQUISITIONMETHODMAP +public: + class ItemAcquisitionMethodMap& operator=(class ItemAcquisitionMethodMap const &) = delete; + ItemAcquisitionMethodMap(class ItemAcquisitionMethodMap const &) = delete; + ItemAcquisitionMethodMap() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ITEMACQUISITIONMETHODMAP +#endif + +//private: + +private: + MCAPI static class BidirectionalUnorderedMap const mMap; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ItemActor.hpp b/LiteLoader/Header/MC/ItemActor.hpp new file mode 100644 index 0000000..e2c87c9 --- /dev/null +++ b/LiteLoader/Header/MC/ItemActor.hpp @@ -0,0 +1,73 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Actor.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ItemActor : public Actor { + +#define AFTER_EXTRA +// Add Member There +public: + LIAPI ItemStack* getItemStack(); + LIAPI int getDespawnTime(); + LIAPI bool setDespawnTime(int); + LIAPI int getLatestSpawnTime(); + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ITEMACTOR +public: + class ItemActor& operator=(class ItemActor const &) = delete; + ItemActor(class ItemActor const &) = delete; + ItemActor() = delete; +#endif + +public: + /*1*/ virtual void reloadHardcoded(enum Actor::InitializationMethod, class VariantParameterList const &); + /*7*/ virtual ~ItemActor(); + /*29*/ virtual bool isFireImmune() const; + /*30*/ virtual void __unk_vfn_30(); + /*38*/ virtual std::unique_ptr getAddPacket(); + /*39*/ virtual void normalTick(); + /*54*/ virtual void __unk_vfn_54(); + /*61*/ virtual void __unk_vfn_61(); + /*76*/ virtual void __unk_vfn_76(); + /*81*/ virtual void __unk_vfn_81(); + /*82*/ virtual void playerTouch(class Player &); + /*88*/ virtual void __unk_vfn_88(); + /*90*/ virtual void __unk_vfn_90(); + /*98*/ virtual void __unk_vfn_98(); + /*100*/ virtual void __unk_vfn_100(); + /*121*/ virtual void __unk_vfn_121(); + /*124*/ virtual bool isInvulnerableTo(class ActorDamageSource const &) const; + /*132*/ virtual void handleEntityEvent(enum ActorEvent, int); + /*161*/ virtual struct ActorUniqueID getSourceUniqueID() const; + /*163*/ virtual class AABB getHandleWaterAABB() const; + /*169*/ virtual void __unk_vfn_169(); + /*182*/ virtual void __unk_vfn_182(); + /*185*/ virtual bool canSynchronizeNewEntity() const; + /*206*/ virtual void __unk_vfn_206(); + /*207*/ virtual void __unk_vfn_207(); + /*228*/ virtual void __unk_vfn_228(); + /*231*/ virtual void __unk_vfn_231(); + /*238*/ virtual void __unk_vfn_238(); + /*240*/ virtual bool _hurt(class ActorDamageSource const &, int, bool, bool); + /*242*/ virtual void readAdditionalSaveData(class CompoundTag const &, class DataLoadHelper &); + /*243*/ virtual void addAdditionalSaveData(class CompoundTag &); + /*246*/ virtual void __unk_vfn_246(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ITEMACTOR + MCVAPI bool canMakeStepSound() const; +#endif + MCAPI ItemActor(class ActorDefinitionGroup *, struct ActorDefinitionIdentifier const &); + +//private: + MCAPI bool _merge(class ItemActor *); + MCAPI void _validateItem(); + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ItemColorUtil.hpp b/LiteLoader/Header/MC/ItemColorUtil.hpp new file mode 100644 index 0000000..b11cfe2 --- /dev/null +++ b/LiteLoader/Header/MC/ItemColorUtil.hpp @@ -0,0 +1,17 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +namespace ItemColorUtil { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA + MCAPI std::string const & getName(enum ItemColor); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ItemControlDescription.hpp b/LiteLoader/Header/MC/ItemControlDescription.hpp new file mode 100644 index 0000000..d60f4a6 --- /dev/null +++ b/LiteLoader/Header/MC/ItemControlDescription.hpp @@ -0,0 +1,30 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Json.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +struct ItemControlDescription { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ITEMCONTROLDESCRIPTION +public: + struct ItemControlDescription& operator=(struct ItemControlDescription const &) = delete; + ItemControlDescription(struct ItemControlDescription const &) = delete; + ItemControlDescription() = delete; +#endif +public: + /*0*/ virtual char const * getJsonName() const; + /*1*/ virtual ~ItemControlDescription(); + /*2*/ virtual void deserializeData(class Json::Value &); + /*3*/ virtual void serializeData(class Json::Value &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ITEMCONTROLDESCRIPTION +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ItemData.hpp b/LiteLoader/Header/MC/ItemData.hpp new file mode 100644 index 0000000..cd44339 --- /dev/null +++ b/LiteLoader/Header/MC/ItemData.hpp @@ -0,0 +1,26 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +struct ItemData { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ITEMDATA +public: + struct ItemData& operator=(struct ItemData const &) = delete; + ItemData(struct ItemData const &) = delete; + ItemData() = delete; +#endif +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ITEMDATA +#endif + MCAPI ~ItemData(); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ItemDescriptor.hpp b/LiteLoader/Header/MC/ItemDescriptor.hpp new file mode 100644 index 0000000..2facd52 --- /dev/null +++ b/LiteLoader/Header/MC/ItemDescriptor.hpp @@ -0,0 +1,34 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ItemDescriptor { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ITEMDESCRIPTOR +public: + class ItemDescriptor& operator=(class ItemDescriptor const &) = delete; + ItemDescriptor(class ItemDescriptor const &) = delete; + ItemDescriptor() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ITEMDESCRIPTOR +#endif + MCAPI ItemDescriptor(class Block const &); + MCAPI ItemDescriptor(class BlockLegacy const &); + MCAPI ItemDescriptor(class Item const &, int); + MCAPI short getId() const; + MCAPI bool isNull() const; + MCAPI bool sameItemAndAux(class ItemDescriptor const &) const; + MCAPI bool sameItemAndAux(class ItemStack const &) const; + MCAPI ~ItemDescriptor(); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ItemDescriptorCount.hpp b/LiteLoader/Header/MC/ItemDescriptorCount.hpp new file mode 100644 index 0000000..49029e0 --- /dev/null +++ b/LiteLoader/Header/MC/ItemDescriptorCount.hpp @@ -0,0 +1,28 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ItemDescriptorCount { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ITEMDESCRIPTORCOUNT +public: + ItemDescriptorCount() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ITEMDESCRIPTORCOUNT +#endif + MCAPI ItemDescriptorCount(class ItemDescriptorCount const &); + MCAPI ItemDescriptorCount(class Block const &, unsigned short); + MCAPI ItemDescriptorCount(class Item const &, int, unsigned short); + MCAPI class ItemDescriptorCount & operator=(class ItemDescriptorCount const &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ItemEnchantOption.hpp b/LiteLoader/Header/MC/ItemEnchantOption.hpp new file mode 100644 index 0000000..2165f07 --- /dev/null +++ b/LiteLoader/Header/MC/ItemEnchantOption.hpp @@ -0,0 +1,28 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ItemEnchantOption { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ITEMENCHANTOPTION +public: + class ItemEnchantOption& operator=(class ItemEnchantOption const &) = delete; + ItemEnchantOption(class ItemEnchantOption const &) = delete; + ItemEnchantOption() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ITEMENCHANTOPTION +#endif + MCAPI ItemEnchantOption(class ItemEnchantOption &&); + MCAPI ~ItemEnchantOption(); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ItemEnchants.hpp b/LiteLoader/Header/MC/ItemEnchants.hpp new file mode 100644 index 0000000..1eedaa3 --- /dev/null +++ b/LiteLoader/Header/MC/ItemEnchants.hpp @@ -0,0 +1,39 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ItemEnchants { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ITEMENCHANTS +public: + class ItemEnchants& operator=(class ItemEnchants const &) = delete; + ItemEnchants(class ItemEnchants const &) = delete; + ItemEnchants() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ITEMENCHANTS +#endif + MCAPI bool addEnchant(class EnchantmentInstance, bool); + MCAPI struct EnchantResult canEnchant(class EnchantmentInstance, bool); + MCAPI std::vector getAllEnchants() const; + MCAPI std::vector getEnchantNames() const; + MCAPI class ItemEnchants & operator=(class ItemEnchants &&); + MCAPI void read(class ReadOnlyBinaryStream &); + MCAPI ~ItemEnchants(); + +//private: + MCAPI void _fromList(class ListTag const &); + MCAPI std::unique_ptr _toList() const; + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ItemEventCoordinator.hpp b/LiteLoader/Header/MC/ItemEventCoordinator.hpp new file mode 100644 index 0000000..703d166 --- /dev/null +++ b/LiteLoader/Header/MC/ItemEventCoordinator.hpp @@ -0,0 +1,27 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ItemEventCoordinator { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ITEMEVENTCOORDINATOR +public: + class ItemEventCoordinator& operator=(class ItemEventCoordinator const &) = delete; + ItemEventCoordinator(class ItemEventCoordinator const &) = delete; + ItemEventCoordinator() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ITEMEVENTCOORDINATOR +#endif + MCAPI void onItemSpawnedActor(class ItemInstance const &, class Actor const &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ItemFrameBlock.hpp b/LiteLoader/Header/MC/ItemFrameBlock.hpp new file mode 100644 index 0000000..7a625e1 --- /dev/null +++ b/LiteLoader/Header/MC/ItemFrameBlock.hpp @@ -0,0 +1,203 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "ActorBlock.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ItemFrameBlock : public ActorBlock { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ITEMFRAMEBLOCK +public: + class ItemFrameBlock& operator=(class ItemFrameBlock const &) = delete; + ItemFrameBlock(class ItemFrameBlock const &) = delete; + ItemFrameBlock() = delete; +#endif + +public: + /*0*/ virtual ~ItemFrameBlock(); + /*1*/ virtual void tick(class BlockSource &, class BlockPos const &, class Random &) const; + /*2*/ virtual class Block const & getStateFromLegacyData(unsigned short) const; + /*3*/ virtual class std::shared_ptr newBlockEntity(class BlockPos const &, class Block const &) const; + /*4*/ virtual class Block const * getNextBlockPermutation(class Block const &) const; + /*5*/ virtual bool getCollisionShape(class AABB &, class Block const &, class BlockSource &, class BlockPos const &, class Actor *) const; + /*6*/ virtual bool isObstructingChests(class BlockSource &, class BlockPos const &) const; + /*7*/ virtual void __unk_vfn_7(); + /*8*/ virtual class Vec3 randomlyModifyPosition(class BlockPos const &, int &) const; + /*9*/ virtual void addAABBs(class Block const &, class BlockSource &, class BlockPos const &, class AABB const *, std::vector &) const; + /*10*/ virtual class AABB const & getAABB(class BlockSource &, class BlockPos const &, class Block const &, class AABB &, bool) const; + /*11*/ virtual bool addCollisionShapes(class Block const &, class BlockSource &, class BlockPos const &, class AABB const *, std::vector &, class Actor *) const; + /*12*/ virtual class AABB const & getOutline(class BlockSource &, class BlockPos const &, class AABB &) const; + /*13*/ virtual bool getLiquidClipVolume(class BlockSource &, class BlockPos const &, class AABB &) const; + /*14*/ virtual void __unk_vfn_14(); + /*15*/ virtual void __unk_vfn_15(); + /*16*/ virtual struct Brightness getLightEmission(class Block const &) const; + /*17*/ virtual bool shouldRandomTick() const; + /*18*/ virtual void __unk_vfn_18(); + /*19*/ virtual void __unk_vfn_19(); + /*20*/ virtual void __unk_vfn_20(); + /*21*/ virtual bool canProvideSupport(class Block const &, unsigned char, enum BlockSupportType) const; + /*22*/ virtual bool canConnect(class Block const &, unsigned char, class Block const &) const; + /*23*/ virtual void getConnectedDirections(class Block const &, class BlockPos const &, class BlockSource &, bool &, bool &, bool &, bool &) const; + /*24*/ virtual void __unk_vfn_24(); + /*25*/ virtual void __unk_vfn_25(); + /*26*/ virtual void __unk_vfn_26(); + /*27*/ virtual void __unk_vfn_27(); + /*28*/ virtual void __unk_vfn_28(); + /*29*/ virtual void __unk_vfn_29(); + /*30*/ virtual void __unk_vfn_30(); + /*31*/ virtual void __unk_vfn_31(); + /*32*/ virtual void __unk_vfn_32(); + /*33*/ virtual void __unk_vfn_33(); + /*34*/ virtual void __unk_vfn_34(); + /*35*/ virtual void __unk_vfn_35(); + /*36*/ virtual void __unk_vfn_36(); + /*37*/ virtual void __unk_vfn_37(); + /*38*/ virtual void __unk_vfn_38(); + /*39*/ virtual void __unk_vfn_39(); + /*40*/ virtual void __unk_vfn_40(); + /*41*/ virtual bool canHurtAndBreakItem() const; + /*42*/ virtual void __unk_vfn_42(); + /*43*/ virtual void __unk_vfn_43(); + /*44*/ virtual void __unk_vfn_44(); + /*45*/ virtual void __unk_vfn_45(); + /*46*/ virtual class Block const & sanitizeFillBlock(class BlockSource &, class BlockPos const &, class Block const &) const; + /*47*/ virtual void __unk_vfn_47(); + /*48*/ virtual void __unk_vfn_48(); + /*49*/ virtual void __unk_vfn_49(); + /*50*/ virtual void __unk_vfn_50(); + /*51*/ virtual void __unk_vfn_51(); + /*52*/ virtual void __unk_vfn_52(); + /*53*/ virtual bool canBeUsedInCommands(bool, class BaseGameVersion const &) const; + /*54*/ virtual float getThickness() const; + /*55*/ virtual void __unk_vfn_55(); + /*56*/ virtual bool checkIsPathable(class Actor &, class BlockPos const &, class BlockPos const &) const; + /*57*/ virtual void __unk_vfn_57(); + /*58*/ virtual void __unk_vfn_58(); + /*59*/ virtual void onPlace(class BlockSource &, class BlockPos const &) const; + /*60*/ virtual void onRemove(class BlockSource &, class BlockPos const &) const; + /*61*/ virtual void __unk_vfn_61(); + /*62*/ virtual void __unk_vfn_62(); + /*63*/ virtual void onFallOn(class BlockSource &, class BlockPos const &, class Actor &, float) const; + /*64*/ virtual void __unk_vfn_64(); + /*65*/ virtual void __unk_vfn_65(); + /*66*/ virtual void __unk_vfn_66(); + /*67*/ virtual void __unk_vfn_67(); + /*68*/ virtual void __unk_vfn_68(); + /*69*/ virtual void __unk_vfn_69(); + /*70*/ virtual void __unk_vfn_70(); + /*71*/ virtual enum BlockProperty getRedstoneProperty(class BlockSource &, class BlockPos const &) const; + /*72*/ virtual void updateEntityAfterFallOn(class BlockSource &, class BlockPos const &, class Actor &) const; + /*73*/ virtual void __unk_vfn_73(); + /*74*/ virtual void __unk_vfn_74(); + /*75*/ virtual void __unk_vfn_75(); + /*76*/ virtual void __unk_vfn_76(); + /*77*/ virtual void __unk_vfn_77(); + /*78*/ virtual bool mayPick(class BlockSource &, class Block const &, bool) const; + /*79*/ virtual void __unk_vfn_79(); + /*80*/ virtual bool mayPlace(class BlockSource &, class BlockPos const &, unsigned char) const; + /*81*/ virtual bool mayPlace(class BlockSource &, class BlockPos const &) const; + /*82*/ virtual void __unk_vfn_82(); + /*83*/ virtual bool tryToPlace(class BlockSource &, class BlockPos const &, class Block const &, struct ActorBlockSyncMessage const *) const; + /*84*/ virtual bool breaksFallingBlocks(class Block const &) const; + /*85*/ virtual void __unk_vfn_85(); + /*86*/ virtual bool playerWillDestroy(class Player &, class BlockPos const &, class Block const &) const; + /*87*/ virtual bool getIgnoresDestroyPermissions(class Actor &, class BlockPos const &) const; + /*88*/ virtual void neighborChanged(class BlockSource &, class BlockPos const &, class BlockPos const &) const; + /*89*/ virtual void __unk_vfn_89(); + /*90*/ virtual void __unk_vfn_90(); + /*91*/ virtual void __unk_vfn_91(); + /*92*/ virtual class ItemInstance asItemInstance(class BlockSource &, class BlockPos const &, class Block const &) const; + /*93*/ virtual void spawnResources(class BlockSource &, class BlockPos const &, class Block const &, std::vector *, float, int, bool) const; + /*94*/ virtual void trySpawnResourcesOnExplosion(class BlockSource &, class BlockPos const &, class Block const &, std::vector *, float, int, bool) const; + /*95*/ virtual void __unk_vfn_95(); + /*96*/ virtual void __unk_vfn_96(); + /*97*/ virtual class HitResult clip(class BlockSource &, class BlockPos const &, class Vec3 const &, class Vec3 const &, bool) const; + /*98*/ virtual bool use(class Player &, class BlockPos const &) const; + /*99*/ virtual class Block const & getPlacementBlock(class Actor &, class BlockPos const &, unsigned char, class Vec3 const &, int) const; + /*100*/ virtual int calcVariant(class BlockSource &, class BlockPos const &) const; + /*101*/ virtual void __unk_vfn_101(); + /*102*/ virtual bool attack(class Player *, class BlockPos const &) const; + /*103*/ virtual void __unk_vfn_103(); + /*104*/ virtual void __unk_vfn_104(); + /*105*/ virtual void playerDestroy(class Player &, class BlockPos const &, class Block const &) const; + /*106*/ virtual bool canSurvive(class BlockSource &, class BlockPos const &) const; + /*107*/ virtual void __unk_vfn_107(); + /*108*/ virtual bool canBeBuiltOver(class BlockSource &, class BlockPos const &) const; + /*109*/ virtual void triggerEvent(class BlockSource &, class BlockPos const &, int, int) const; + /*110*/ virtual void __unk_vfn_110(); + /*111*/ virtual void __unk_vfn_111(); + /*112*/ virtual class MobSpawnerData const * getMobToSpawn(class SpawnConditions const &, class BlockSource &) const; + /*113*/ virtual void __unk_vfn_113(); + /*114*/ virtual void __unk_vfn_114(); + /*115*/ virtual bool shouldStopFalling(class Actor &) const; + /*116*/ virtual void __unk_vfn_116(); + /*117*/ virtual float calcGroundFriction(class Mob &, class BlockPos const &) const; + /*118*/ virtual void __unk_vfn_118(); + /*119*/ virtual void __unk_vfn_119(); + /*120*/ virtual int getComparatorSignal(class BlockSource &, class BlockPos const &, class Block const &, unsigned char) const; + /*121*/ virtual bool canSlide(class BlockSource &, class BlockPos const &) const; + /*122*/ virtual void __unk_vfn_122(); + /*123*/ virtual void __unk_vfn_123(); + /*124*/ virtual void __unk_vfn_124(); + /*125*/ virtual void __unk_vfn_125(); + /*126*/ virtual void __unk_vfn_126(); + /*127*/ virtual void __unk_vfn_127(); + /*128*/ virtual void __unk_vfn_128(); + /*129*/ virtual void __unk_vfn_129(); + /*130*/ virtual void __unk_vfn_130(); + /*131*/ virtual void __unk_vfn_131(); + /*132*/ virtual int getColorForParticle(class BlockSource &, class BlockPos const &, class Block const &) const; + /*133*/ virtual void __unk_vfn_133(); + /*134*/ virtual void onGraphicsModeChanged(bool, bool, bool); + /*135*/ virtual void __unk_vfn_135(); + /*136*/ virtual float getShadeBrightness() const; + /*137*/ virtual class AABB const & getVisualShapeInWorld(class Block const &, class BlockSource &, class BlockPos const &, class AABB &, bool) const; + /*138*/ virtual class AABB const & getVisualShape(class Block const &, class AABB &, bool) const; + /*139*/ virtual class AABB const & getUIShape(class Block const &, class AABB &) const; + /*140*/ virtual int telemetryVariant(class BlockSource &, class BlockPos const &) const; + /*141*/ virtual int getVariant(class Block const &) const; + /*142*/ virtual void __unk_vfn_142(); + /*143*/ virtual class Block const & getRenderBlock() const; + /*144*/ virtual void __unk_vfn_144(); + /*145*/ virtual void __unk_vfn_145(); + /*146*/ virtual void __unk_vfn_146(); + /*147*/ virtual class BlockLegacy & init(); + /*148*/ virtual class BlockLegacy & setLightBlock(struct Brightness); + /*149*/ virtual class BlockLegacy & setLightEmission(float); + /*150*/ virtual class BlockLegacy & setExplodeable(float); + /*151*/ virtual class BlockLegacy & setDestroyTime(float); + /*152*/ virtual class BlockLegacy & setFriction(float); + /*153*/ virtual class BlockLegacy & addProperty(enum BlockProperty); + /*154*/ virtual class BlockLegacy & addState(class ItemState const &); + /*155*/ virtual class BlockLegacy & addState(class ItemState const &, unsigned __int64); + /*156*/ virtual class BlockLegacy & setAllowsRunes(bool); + /*157*/ virtual class BlockLegacy & setMapColor(class Color const &); + /*158*/ virtual void __unk_vfn_158(); + /*159*/ virtual void __unk_vfn_159(); + /*160*/ virtual void setVisualShape(class AABB const &); + /*161*/ virtual void setVisualShape(class Vec3 const &, class Vec3 const &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ITEMFRAMEBLOCK + MCVAPI bool canContainLiquid() const; + MCVAPI class ItemInstance getEntityResourceItem(class Random &, class BlockActor const &, int) const; + MCVAPI class ItemInstance getResourceItem(class Random &, class Block const &, int) const; + MCVAPI bool hasComparatorSignal() const; + MCVAPI bool isInteractiveBlock() const; + MCVAPI bool isWaterBlocking() const; + MCVAPI bool waterSpreadCausesSpawn() const; +#endif + +//private: + MCAPI int _addMapCollection(std::vector &, class BlockPos const &, class BlockSource &) const; + MCAPI void _checkAchievements(class Player &, class BlockPos const &) const; + MCAPI void getShape(int, class AABB &, bool) const; + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ItemFrameBlockActor.hpp b/LiteLoader/Header/MC/ItemFrameBlockActor.hpp new file mode 100644 index 0000000..965f76b --- /dev/null +++ b/LiteLoader/Header/MC/ItemFrameBlockActor.hpp @@ -0,0 +1,52 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "BlockActor.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ItemFrameBlockActor : public BlockActor { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ITEMFRAMEBLOCKACTOR +public: + class ItemFrameBlockActor& operator=(class ItemFrameBlockActor const &) = delete; + ItemFrameBlockActor(class ItemFrameBlockActor const &) = delete; + ItemFrameBlockActor() = delete; +#endif + +public: + /*0*/ virtual ~ItemFrameBlockActor(); + /*1*/ virtual void load(class Level &, class CompoundTag const &, class DataLoadHelper &); + /*2*/ virtual bool save(class CompoundTag &) const; + /*7*/ virtual void tick(class BlockSource &); + /*9*/ virtual void onChanged(class BlockSource &); + /*13*/ virtual void __unk_vfn_13(); + /*17*/ virtual void __unk_vfn_17(); + /*18*/ virtual float getShadowRadius(class BlockSource &) const; + /*29*/ virtual void __unk_vfn_29(); + /*30*/ virtual void __unk_vfn_30(); + /*32*/ virtual void __unk_vfn_32(); + /*33*/ virtual void __unk_vfn_33(); + /*34*/ virtual std::unique_ptr _getUpdatePacket(class BlockSource &); + /*35*/ virtual void _onUpdatePacket(class CompoundTag const &, class BlockSource &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ITEMFRAMEBLOCKACTOR +#endif + MCAPI void actuallyDropItem(class BlockSource &, bool); + MCAPI void dropFramedItem(class BlockSource &, bool); + MCAPI void setItem(class BlockSource &, class ItemInstance const &); + MCAPI void updateNameTag(); + MCAPI static float const ROTATION_DEGREES; + +//private: + MCAPI void _checkMapRemoval(class BlockSource &, class ItemInstance &); + MCAPI void _updateMapBit(class BlockSource &); + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ItemFrameDropItemPacket.hpp b/LiteLoader/Header/MC/ItemFrameDropItemPacket.hpp new file mode 100644 index 0000000..fa37d4f --- /dev/null +++ b/LiteLoader/Header/MC/ItemFrameDropItemPacket.hpp @@ -0,0 +1,32 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Packet.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ItemFrameDropItemPacket : public Packet { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ITEMFRAMEDROPITEMPACKET +public: + class ItemFrameDropItemPacket& operator=(class ItemFrameDropItemPacket const &) = delete; + ItemFrameDropItemPacket(class ItemFrameDropItemPacket const &) = delete; + ItemFrameDropItemPacket() = delete; +#endif + +public: + /*0*/ virtual ~ItemFrameDropItemPacket(); + /*1*/ virtual enum MinecraftPacketIds getId() const; + /*2*/ virtual std::string getName() const; + /*3*/ virtual void write(class BinaryStream &) const; + /*4*/ virtual enum StreamReadResult read(class ReadOnlyBinaryStream &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ITEMFRAMEDROPITEMPACKET +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ItemGroup.hpp b/LiteLoader/Header/MC/ItemGroup.hpp new file mode 100644 index 0000000..c60bca9 --- /dev/null +++ b/LiteLoader/Header/MC/ItemGroup.hpp @@ -0,0 +1,29 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ItemGroup { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ITEMGROUP +public: + class ItemGroup& operator=(class ItemGroup const &) = delete; + ItemGroup(class ItemGroup const &) = delete; + ItemGroup() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ITEMGROUP +#endif + MCAPI ItemGroup(class ItemInstance const &); + MCAPI class ItemGroup & operator=(class ItemGroup &&); + MCAPI ~ItemGroup(); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ItemInstance.hpp b/LiteLoader/Header/MC/ItemInstance.hpp new file mode 100644 index 0000000..f12d652 --- /dev/null +++ b/LiteLoader/Header/MC/ItemInstance.hpp @@ -0,0 +1,34 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "ItemStackBase.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ItemInstance : public ItemStackBase { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +public: + /*0*/ virtual ~ItemInstance(); + /*1*/ virtual void reinit(class Item const &, int, int); + /*2*/ virtual void reinit(class BlockLegacy const &, int); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ITEMINSTANCE +#endif + MCAPI ItemInstance(); + MCAPI ItemInstance(class BlockLegacy const &, int); + MCAPI ItemInstance(class Block const &, int, class CompoundTag const *); + MCAPI ItemInstance(class Item const &); + MCAPI ItemInstance(class Item const &, int); + MCAPI ItemInstance(class Item const &, int, int); + MCAPI ItemInstance(class ItemStackBase const &); + MCAPI ItemInstance(class ItemInstance const &); + MCAPI class ItemInstance & operator=(class ItemInstance const &); + MCAPI static class ItemInstance const EMPTY_ITEM; + MCAPI static class ItemInstance fromTag(class CompoundTag const &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ItemListSerializer.hpp b/LiteLoader/Header/MC/ItemListSerializer.hpp new file mode 100644 index 0000000..980209c --- /dev/null +++ b/LiteLoader/Header/MC/ItemListSerializer.hpp @@ -0,0 +1,28 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Json.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ItemListSerializer { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ITEMLISTSERIALIZER +public: + class ItemListSerializer& operator=(class ItemListSerializer const &) = delete; + ItemListSerializer(class ItemListSerializer const &) = delete; + ItemListSerializer() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ITEMLISTSERIALIZER +#endif + MCAPI static void loadJSONSet(std::string const &, class std::set, class std::allocator> &, class Json::Value); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ItemPack.hpp b/LiteLoader/Header/MC/ItemPack.hpp new file mode 100644 index 0000000..9d004fc --- /dev/null +++ b/LiteLoader/Header/MC/ItemPack.hpp @@ -0,0 +1,29 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ItemPack { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ITEMPACK +public: + class ItemPack& operator=(class ItemPack const &) = delete; + ItemPack(class ItemPack const &) = delete; + ItemPack() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ITEMPACK +#endif + MCAPI void add(class RecipeIngredient const &, int); + MCAPI std::vector getIngredients() const; + MCAPI ~ItemPack(); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ItemReactionComponent.hpp b/LiteLoader/Header/MC/ItemReactionComponent.hpp new file mode 100644 index 0000000..893eed2 --- /dev/null +++ b/LiteLoader/Header/MC/ItemReactionComponent.hpp @@ -0,0 +1,30 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ItemReactionComponent { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ITEMREACTIONCOMPONENT +public: + class ItemReactionComponent& operator=(class ItemReactionComponent const &) = delete; + ItemReactionComponent(class ItemReactionComponent const &) = delete; + ItemReactionComponent() = delete; +#endif + +public: + /*0*/ virtual ~ItemReactionComponent(); + /*1*/ virtual void __unk_vfn_1(); + /*2*/ virtual void __unk_vfn_2(); + /*3*/ virtual void _onEnd(class LabTableReaction &, class BlockSource &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ITEMREACTIONCOMPONENT +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ItemRegistry.hpp b/LiteLoader/Header/MC/ItemRegistry.hpp new file mode 100644 index 0000000..9c63062 --- /dev/null +++ b/LiteLoader/Header/MC/ItemRegistry.hpp @@ -0,0 +1,42 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ItemRegistry { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ITEMREGISTRY +public: + class ItemRegistry& operator=(class ItemRegistry const &) = delete; + ItemRegistry(class ItemRegistry const &) = delete; + ItemRegistry() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ITEMREGISTRY +#endif + MCAPI static class WeakPtr getItem(short); + MCAPI static class WeakPtr lookupByName(int &, std::string const &); + MCAPI static class WeakPtr lookupByName(int &, int &, std::string const &); + MCAPI static void registerAlias(std::string const &, class HashedString const &); + MCAPI static void registerItem(class SharedPtr); + MCAPI static void shutdown(); + MCAPI static void unregisterItem(class HashedString const &); + +//private: + +private: + MCAPI static class std::unordered_map, struct std::hash, struct std::equal_to, class std::allocator>>> mIdToItemMap; + MCAPI static class std::unordered_map, struct std::equal_to, class std::allocator>> mItemAliasLookupMap; + MCAPI static std::vector> mItemRegistry; + MCAPI static short mMaxItemID; + MCAPI static class std::unordered_map, struct std::hash, struct std::equal_to, class std::allocator>>> mNameToItemMap; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ItemReleaseInventoryTransaction.hpp b/LiteLoader/Header/MC/ItemReleaseInventoryTransaction.hpp new file mode 100644 index 0000000..ed88426 --- /dev/null +++ b/LiteLoader/Header/MC/ItemReleaseInventoryTransaction.hpp @@ -0,0 +1,31 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ItemReleaseInventoryTransaction { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ITEMRELEASEINVENTORYTRANSACTION +public: + class ItemReleaseInventoryTransaction& operator=(class ItemReleaseInventoryTransaction const &) = delete; + ItemReleaseInventoryTransaction(class ItemReleaseInventoryTransaction const &) = delete; + ItemReleaseInventoryTransaction() = delete; +#endif + +public: + /*0*/ virtual ~ItemReleaseInventoryTransaction(); + /*1*/ virtual void read(class ReadOnlyBinaryStream &); + /*2*/ virtual void write(class BinaryStream &) const; + /*3*/ virtual enum InventoryTransactionError handle(class Player &, bool) const; + /*4*/ virtual void onTransactionError(class Player &, enum InventoryTransactionError) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ITEMRELEASEINVENTORYTRANSACTION +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ItemStack.hpp b/LiteLoader/Header/MC/ItemStack.hpp new file mode 100644 index 0000000..de57fac --- /dev/null +++ b/LiteLoader/Header/MC/ItemStack.hpp @@ -0,0 +1,76 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "ItemStackBase.hpp" + +#define BEFORE_EXTRA +// Add include headers & pre-declares +#include "ItemStackNetIdVariant.hpp" +#include "MC/I18n.hpp" +#include "MC/PropertiesSettings.hpp" +class Tag; +class ItemActor; +class CompoundTag; +class ItemInstance; + +#undef BEFORE_EXTRA + +class ItemStack : public ItemStackBase { + +#define AFTER_EXTRA +// Add new members to class + ItemStackNetIdVariant mNetId; + +public: + // The return value should be freed by the developer if it is no longer used + LIAPI static ItemStack* create(); + // The return value should be freed by the developer if it is no longer used + LIAPI static ItemStack* create(std::string type, int count = 1); + // The return value should be freed by the developer if it is no longer used + LIAPI static ItemStack* create(std::unique_ptr tag); + // The return value should be freed by the developer if it is no longer used + LIAPI static ItemStack* create(short itemId, int aux,int count = 1); + //LIAPI ItemStack* clone_s() const; + //LIAPI static ItemStack fromItemInstance(ItemInstance const& ins); + + LIAPI std::string getTypeName() const; + LIAPI int getAux() const; + LIAPI int getCount() const; + + LIAPI bool setItem(ItemStack* newItem); + LIAPI bool setLore(const std::vector& lores); + LIAPI std::unique_ptr getNbt(); + LIAPI bool setNbt(CompoundTag* nbt); + //LIAPI string getStandardName(const Localization& language); + +#undef AFTER_EXTRA +public: + /*0*/ virtual ~ItemStack(); + /*1*/ virtual void reinit(class Item const &, int, int); + /*2*/ virtual void reinit(class BlockLegacy const &, int); + /*3*/ virtual void setNull(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ITEMSTACK +#endif + MCAPI ItemStack(); + MCAPI ItemStack(class BlockLegacy const &, int); + MCAPI ItemStack(class Block const &, int, class CompoundTag const *); + MCAPI ItemStack(class Item const &); + MCAPI ItemStack(class Item const &, int); + MCAPI ItemStack(class Item const &, int, int); + MCAPI ItemStack(class ItemStack const &); + MCAPI void _assignNetIdVariant(class ItemStack const &) const; + MCAPI void clientInitRequestId(class SimpleClientNetId const &); + MCAPI class ItemStack getStrippedNetworkItem() const; + MCAPI bool matchesAndNetIdVariantMatches(class ItemStack const &) const; + MCAPI bool matchesNetIdVariant(class ItemStack const &) const; + MCAPI class ItemStack & operator=(class ItemStack const &); + MCAPI bool sameItemAndAuxAndBlockData(class ItemStack const &) const; + MCAPI void serverInitNetId(); + MCAPI void useAsFuel(); + MCAPI bool useOn(class Actor &, int, int, int, unsigned char, float, float, float); + MCAPI static class ItemStack const EMPTY_ITEM; + MCAPI static class ItemStack fromTag(class CompoundTag const &); + MCAPI static class ItemStack fromTag(class CompoundTag const &, class Level &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ItemStackBase.hpp b/LiteLoader/Header/MC/ItemStackBase.hpp new file mode 100644 index 0000000..1d0bb91 --- /dev/null +++ b/LiteLoader/Header/MC/ItemStackBase.hpp @@ -0,0 +1,123 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Json.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ItemStackBase { + +#define AFTER_EXTRA +// Add Member There +private: +//void* vtbl; + char filler[128]; + +public: +LIAPI int getCount() const; + +#undef AFTER_EXTRA +public: + /*0*/ virtual ~ItemStackBase(); + /*1*/ virtual void reinit(class Item const &, int, int); + /*2*/ virtual void reinit(class BlockLegacy const &, int); + /*3*/ virtual void setNull(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ITEMSTACKBASE +#endif + MCAPI void _read(class ReadOnlyBinaryStream &); + MCAPI void _write(class BinaryStream &) const; + MCAPI bool addComponents(class Json::Value const &, std::string &); + MCAPI void addCustomUserData(class BlockActor &, class BlockSource &); + MCAPI void clearChargedItem(); + MCAPI class ItemEnchants constructItemEnchantsFromUserData() const; + MCAPI void deserializeComponents(class IDataInput &); + MCAPI short getAuxValue() const; + MCAPI std::string getCustomName() const; + MCAPI short getDamageValue() const; + MCAPI std::string getDescriptionId() const; + MCAPI class ItemDescriptor getDescriptor() const; + MCAPI std::string getHoverName() const; + MCAPI short getId() const; + MCAPI int getIdAux() const; + MCAPI class Item const * getItem() const; + MCAPI unsigned char getMaxStackSize() const; + MCAPI std::string getName() const; + MCAPI std::unique_ptr getNetworkUserData() const; + MCAPI std::string getRawNameId() const; + MCAPI bool hasComponent(std::string const &) const; + MCAPI bool hasCustomHoverName() const; + MCAPI bool hasSameAuxValue(class ItemStackBase const &) const; + MCAPI bool hasSameUserData(class ItemStackBase const &) const; + MCAPI bool hurtAndBreak(int, class Actor *); + MCAPI bool isBlock() const; + MCAPI bool isDamageableItem() const; + MCAPI bool isDamaged() const; + MCAPI bool isEmptyStack() const; + MCAPI bool isEnchanted() const; + MCAPI bool isExperimental() const; + MCAPI bool isHorseArmorItem() const; + MCAPI bool isNull() const; + MCAPI bool isStackable(class ItemStackBase const &) const; + MCAPI bool isStackedByData() const; + MCAPI bool isWearableItem() const; + MCAPI bool matches(class ItemStackBase const &) const; + MCAPI bool matchesEitherWearableCase(class CompoundTag const *) const; + MCAPI bool matchesItem(class ItemStackBase const &) const; + MCAPI operator bool() const; + MCAPI bool operator!=(class ItemStackBase const &) const; + MCAPI bool sameItem(int, int) const; + MCAPI bool sameItem(class ItemStackBase const &) const; + MCAPI bool sameItemAndAux(class ItemStackBase const &) const; + MCAPI std::unique_ptr save() const; + MCAPI void saveEnchantsToUserData(class ItemEnchants const &); + MCAPI void serializeComponents(class IDataOutput &) const; + MCAPI void set(int); + MCAPI void setChargedItem(class ItemInstance const &, bool); + MCAPI void setCustomLore(std::vector const &); + MCAPI void setCustomName(std::string const &); + MCAPI void setRepairCost(int); + MCAPI void setUserData(std::unique_ptr); + MCAPI bool shouldVanish() const; + MCAPI std::string toString() const; + MCAPI bool updateComponent(std::string const &, class Json::Value const &); + MCAPI static std::string const TAG_CAN_DESTROY; + MCAPI static std::string const TAG_CAN_PLACE_ON; + MCAPI static std::string const TAG_DISPLAY; + MCAPI static std::string const TAG_DISPLAY_NAME; + MCAPI static std::string const TAG_ENCHANTS; + MCAPI static std::string const TAG_LORE; + MCAPI static std::string const TAG_REPAIR_COST; + +//protected: + MCAPI ItemStackBase(); + MCAPI ItemStackBase(class BlockLegacy const &, int); + MCAPI ItemStackBase(class Block const &, int, class CompoundTag const *); + MCAPI ItemStackBase(class Item const &); + MCAPI ItemStackBase(class Item const &, int); + MCAPI ItemStackBase(class Item const &, int, int); + MCAPI ItemStackBase(class ItemStackBase const &); + MCAPI std::string _getHoverFormattingPrefix() const; + MCAPI bool _setItem(int); + MCAPI void init(class BlockLegacy const &, int); + MCAPI void init(class Item const &, int, int, class CompoundTag const *); + MCAPI void init(int, int, int); + MCAPI class ItemStackBase & operator=(class ItemStackBase const &); + +//private: + MCAPI void _loadComponents(class CompoundTag const &); + MCAPI void _loadItem(class CompoundTag const &); + MCAPI void _makeChargedItemFromUserData(); + MCAPI void _setChargedItem(class ItemInstance const &); + MCAPI void _updateCompareHashes(); + +protected: + MCAPI static std::string const TAG_CHARGED_ITEM; + MCAPI static std::string const TAG_STORE_CAN_DESTROY; + MCAPI static std::string const TAG_STORE_CAN_PLACE_ON; + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ItemStackNetIdVariant.hpp b/LiteLoader/Header/MC/ItemStackNetIdVariant.hpp new file mode 100644 index 0000000..beeb50a --- /dev/null +++ b/LiteLoader/Header/MC/ItemStackNetIdVariant.hpp @@ -0,0 +1,42 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA +// Include Headers or Declare Types Here +struct ItemStackNetIdTag; +struct ItemStackLegacyRequestIdTag; +struct ItemStackRequestIdTag; +enum ItemStackNetIdType : unsigned char { + ItemStackNetId_TypedServerNetId = 0, + ItemStackRequestId_TypedClientNetId = 1, + ItemStackLegacyRequestId_TypedClientNetId = 2, +}; + +#undef BEFORE_EXTRA + +struct ItemStackNetIdVariant { + +#define AFTER_EXTRA +// Add Member There + std::variant< + TypedServerNetId, TypedClientNetId, + TypedClientNetId> + id; + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ITEMSTACKNETIDVARIANT +public: + struct ItemStackNetIdVariant& operator=(struct ItemStackNetIdVariant const &) = delete; + ItemStackNetIdVariant(struct ItemStackNetIdVariant const &) = delete; + ItemStackNetIdVariant() = delete; +#endif +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ITEMSTACKNETIDVARIANT +#endif + MCAPI void deserialize(class ReadOnlyBinaryStream &); + MCAPI struct ItemStackNetIdVariant & operator=(struct ItemStackNetIdVariant &&); + MCAPI ~ItemStackNetIdVariant(); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ItemStackNetManagerBase.hpp b/LiteLoader/Header/MC/ItemStackNetManagerBase.hpp new file mode 100644 index 0000000..39ab4e9 --- /dev/null +++ b/LiteLoader/Header/MC/ItemStackNetManagerBase.hpp @@ -0,0 +1,43 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ItemStackNetManagerBase { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ITEMSTACKNETMANAGERBASE +public: + class ItemStackNetManagerBase& operator=(class ItemStackNetManagerBase const &) = delete; + ItemStackNetManagerBase(class ItemStackNetManagerBase const &) = delete; + ItemStackNetManagerBase() = delete; +#endif + +public: + /*0*/ virtual ~ItemStackNetManagerBase(); + /*1*/ virtual bool isEnabled() const; + /*2*/ virtual class SimpleClientNetId getRequestId() const = 0; + /*3*/ virtual bool retainSetItemStackNetIdVariant() const; + /*4*/ virtual bool allowInventoryTransactionManager() const = 0; + /*5*/ virtual class gsl::final_action> _tryBeginClientLegacyTransactionRequest(); + /*6*/ virtual void onContainerScreenOpen(class ContainerScreenContext const &); + /*7*/ virtual void onContainerScreenClose() = 0; + /*8*/ virtual class SparseContainer * initOpenContainer(class BlockSource &, enum ContainerEnumName, class ContainerWeakRef const &) = 0; + /*9*/ virtual void _addLegacyTransactionRequestSetItemSlot(enum ContainerType, int); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ITEMSTACKNETMANAGERBASE +#endif + MCAPI static class gsl::final_action> _tryBeginClientLegacyTransactionRequest(class Player *); + MCAPI static bool setPlayerContainer(class Player &, enum ContainerType, int, class ItemStack const &, class ItemStack &, class std::function const &); + +//protected: + MCAPI bool _isRequestActionAllowed(class ItemStackRequestAction &); + +protected: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ItemStackNetManagerClient.hpp b/LiteLoader/Header/MC/ItemStackNetManagerClient.hpp new file mode 100644 index 0000000..f885047 --- /dev/null +++ b/LiteLoader/Header/MC/ItemStackNetManagerClient.hpp @@ -0,0 +1,30 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ItemStackNetManagerClient { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ITEMSTACKNETMANAGERCLIENT +public: + class ItemStackNetManagerClient& operator=(class ItemStackNetManagerClient const &) = delete; + ItemStackNetManagerClient(class ItemStackNetManagerClient const &) = delete; + ItemStackNetManagerClient() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ITEMSTACKNETMANAGERCLIENT +#endif + MCAPI void addContainerToRequest(class SimpleClientNetId, class SparseContainer *); + MCAPI void cacheHistoricPrediction(class SparseContainer *, class SimpleClientNetId const &, int, class ItemStack &&); + MCAPI void cacheZeroedOutItem(class SparseContainer *, class SimpleClientNetId const &, int, class ItemStack &&); + MCAPI void clearZeroedOutItem(class SparseContainer *, class SimpleClientNetId const &, int); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ItemStackNetManagerServer.hpp b/LiteLoader/Header/MC/ItemStackNetManagerServer.hpp new file mode 100644 index 0000000..9c7d386 --- /dev/null +++ b/LiteLoader/Header/MC/ItemStackNetManagerServer.hpp @@ -0,0 +1,38 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "ItemStackNetManagerBase.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ItemStackNetManagerServer : public ItemStackNetManagerBase { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ITEMSTACKNETMANAGERSERVER +public: + class ItemStackNetManagerServer& operator=(class ItemStackNetManagerServer const &) = delete; + ItemStackNetManagerServer(class ItemStackNetManagerServer const &) = delete; + ItemStackNetManagerServer() = delete; +#endif + +public: + /*0*/ virtual ~ItemStackNetManagerServer(); + /*2*/ virtual class SimpleClientNetId getRequestId() const; + /*3*/ virtual bool retainSetItemStackNetIdVariant() const; + /*4*/ virtual bool allowInventoryTransactionManager() const; + /*6*/ virtual void onContainerScreenOpen(class ContainerScreenContext const &); + /*7*/ virtual void onContainerScreenClose(); + /*8*/ virtual class SparseContainer * initOpenContainer(class BlockSource &, enum ContainerEnumName, class ContainerWeakRef const &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ITEMSTACKNETMANAGERSERVER +#endif + MCAPI void _handleLegacyTransactionRequest(class SimpleClientNetId const &, std::vector>>> const &); + MCAPI class gsl::final_action> _retainSetItemStackNetIdVariantScope(); + MCAPI void handleRequestBatch(class ItemStackRequestBatch const &); + MCAPI void startCrafting(bool, class BlockPos const &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ItemStackRequestAction.hpp b/LiteLoader/Header/MC/ItemStackRequestAction.hpp new file mode 100644 index 0000000..6c1ee8f --- /dev/null +++ b/LiteLoader/Header/MC/ItemStackRequestAction.hpp @@ -0,0 +1,29 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ItemStackRequestAction { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ITEMSTACKREQUESTACTION +public: + class ItemStackRequestAction& operator=(class ItemStackRequestAction const &) = delete; + ItemStackRequestAction(class ItemStackRequestAction const &) = delete; + ItemStackRequestAction() = delete; +#endif + +public: + /*0*/ virtual ~ItemStackRequestAction(); + /*1*/ virtual class ItemStackRequestActionCraftBase const * getCraftAction() const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ITEMSTACKREQUESTACTION +#endif + MCAPI static std::unique_ptr read(class ReadOnlyBinaryStream &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ItemStackRequestActionBeaconPayment.hpp b/LiteLoader/Header/MC/ItemStackRequestActionBeaconPayment.hpp new file mode 100644 index 0000000..b53db41 --- /dev/null +++ b/LiteLoader/Header/MC/ItemStackRequestActionBeaconPayment.hpp @@ -0,0 +1,30 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ItemStackRequestActionBeaconPayment { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ITEMSTACKREQUESTACTIONBEACONPAYMENT +public: + class ItemStackRequestActionBeaconPayment& operator=(class ItemStackRequestActionBeaconPayment const &) = delete; + ItemStackRequestActionBeaconPayment(class ItemStackRequestActionBeaconPayment const &) = delete; + ItemStackRequestActionBeaconPayment() = delete; +#endif + +public: + /*0*/ virtual ~ItemStackRequestActionBeaconPayment(); + /*1*/ virtual void __unk_vfn_1(); + /*2*/ virtual void _write(class BinaryStream &) const; + /*3*/ virtual bool _read(class ReadOnlyBinaryStream &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ITEMSTACKREQUESTACTIONBEACONPAYMENT +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ItemStackRequestActionConsume.hpp b/LiteLoader/Header/MC/ItemStackRequestActionConsume.hpp new file mode 100644 index 0000000..1b783b7 --- /dev/null +++ b/LiteLoader/Header/MC/ItemStackRequestActionConsume.hpp @@ -0,0 +1,31 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "ItemStackRequestActionTransferBase.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ItemStackRequestActionConsume : public ItemStackRequestActionTransferBase { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ITEMSTACKREQUESTACTIONCONSUME +public: + class ItemStackRequestActionConsume& operator=(class ItemStackRequestActionConsume const &) = delete; + ItemStackRequestActionConsume(class ItemStackRequestActionConsume const &) = delete; + ItemStackRequestActionConsume() = delete; +#endif + +public: + /*0*/ virtual ~ItemStackRequestActionConsume(); + /*1*/ virtual void __unk_vfn_1(); + /*2*/ virtual void _write(class BinaryStream &) const; + /*3*/ virtual bool _read(class ReadOnlyBinaryStream &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ITEMSTACKREQUESTACTIONCONSUME +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ItemStackRequestActionCraftBase.hpp b/LiteLoader/Header/MC/ItemStackRequestActionCraftBase.hpp new file mode 100644 index 0000000..e7f0338 --- /dev/null +++ b/LiteLoader/Header/MC/ItemStackRequestActionCraftBase.hpp @@ -0,0 +1,27 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ItemStackRequestActionCraftBase { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ITEMSTACKREQUESTACTIONCRAFTBASE +public: + class ItemStackRequestActionCraftBase& operator=(class ItemStackRequestActionCraftBase const &) = delete; + ItemStackRequestActionCraftBase(class ItemStackRequestActionCraftBase const &) = delete; + ItemStackRequestActionCraftBase() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ITEMSTACKREQUESTACTIONCRAFTBASE + MCVAPI class ItemStackRequestActionCraftBase const * getCraftAction() const; +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ItemStackRequestActionCraftHandler.hpp b/LiteLoader/Header/MC/ItemStackRequestActionCraftHandler.hpp new file mode 100644 index 0000000..e820b79 --- /dev/null +++ b/LiteLoader/Header/MC/ItemStackRequestActionCraftHandler.hpp @@ -0,0 +1,37 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ItemStackRequestActionCraftHandler { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ITEMSTACKREQUESTACTIONCRAFTHANDLER +public: + class ItemStackRequestActionCraftHandler& operator=(class ItemStackRequestActionCraftHandler const &) = delete; + ItemStackRequestActionCraftHandler(class ItemStackRequestActionCraftHandler const &) = delete; + ItemStackRequestActionCraftHandler() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ITEMSTACKREQUESTACTIONCRAFTHANDLER +#endif + MCAPI bool _initCraftResults(std::vector const &); + MCAPI class ItemInstance * _initSingleCraftResult(class ItemInstance const &); + MCAPI bool endRequest(bool); + MCAPI bool handleConsume(class ItemStackRequestActionConsume const &); + MCAPI void onContainerScreenOpen(class ContainerScreenContext const &); + MCAPI ~ItemStackRequestActionCraftHandler(); + +//private: + MCAPI bool _setCreatedItemOutputSlot(unsigned char); + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ItemStackRequestActionCraftNonImplemented_DEPRECATEDASKTYLAING.hpp b/LiteLoader/Header/MC/ItemStackRequestActionCraftNonImplemented_DEPRECATEDASKTYLAING.hpp new file mode 100644 index 0000000..4b0ee35 --- /dev/null +++ b/LiteLoader/Header/MC/ItemStackRequestActionCraftNonImplemented_DEPRECATEDASKTYLAING.hpp @@ -0,0 +1,30 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ItemStackRequestActionCraftNonImplemented_DEPRECATEDASKTYLAING { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ITEMSTACKREQUESTACTIONCRAFTNONIMPLEMENTED_DEPRECATEDASKTYLAING +public: + class ItemStackRequestActionCraftNonImplemented_DEPRECATEDASKTYLAING& operator=(class ItemStackRequestActionCraftNonImplemented_DEPRECATEDASKTYLAING const &) = delete; + ItemStackRequestActionCraftNonImplemented_DEPRECATEDASKTYLAING(class ItemStackRequestActionCraftNonImplemented_DEPRECATEDASKTYLAING const &) = delete; + ItemStackRequestActionCraftNonImplemented_DEPRECATEDASKTYLAING() = delete; +#endif + +public: + /*0*/ virtual ~ItemStackRequestActionCraftNonImplemented_DEPRECATEDASKTYLAING(); + /*1*/ virtual void __unk_vfn_1(); + /*2*/ virtual void _write(class BinaryStream &) const; + /*3*/ virtual bool _read(class ReadOnlyBinaryStream &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ITEMSTACKREQUESTACTIONCRAFTNONIMPLEMENTED_DEPRECATEDASKTYLAING +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ItemStackRequestActionCraftResults_DEPRECATEDASKTYLAING.hpp b/LiteLoader/Header/MC/ItemStackRequestActionCraftResults_DEPRECATEDASKTYLAING.hpp new file mode 100644 index 0000000..59a5487 --- /dev/null +++ b/LiteLoader/Header/MC/ItemStackRequestActionCraftResults_DEPRECATEDASKTYLAING.hpp @@ -0,0 +1,30 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ItemStackRequestActionCraftResults_DEPRECATEDASKTYLAING { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ITEMSTACKREQUESTACTIONCRAFTRESULTS_DEPRECATEDASKTYLAING +public: + class ItemStackRequestActionCraftResults_DEPRECATEDASKTYLAING& operator=(class ItemStackRequestActionCraftResults_DEPRECATEDASKTYLAING const &) = delete; + ItemStackRequestActionCraftResults_DEPRECATEDASKTYLAING(class ItemStackRequestActionCraftResults_DEPRECATEDASKTYLAING const &) = delete; + ItemStackRequestActionCraftResults_DEPRECATEDASKTYLAING() = delete; +#endif + +public: + /*0*/ virtual ~ItemStackRequestActionCraftResults_DEPRECATEDASKTYLAING(); + /*1*/ virtual void __unk_vfn_1(); + /*2*/ virtual void _write(class BinaryStream &) const; + /*3*/ virtual bool _read(class ReadOnlyBinaryStream &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ITEMSTACKREQUESTACTIONCRAFTRESULTS_DEPRECATEDASKTYLAING +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ItemStackRequestActionCreate.hpp b/LiteLoader/Header/MC/ItemStackRequestActionCreate.hpp new file mode 100644 index 0000000..3021d58 --- /dev/null +++ b/LiteLoader/Header/MC/ItemStackRequestActionCreate.hpp @@ -0,0 +1,30 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ItemStackRequestActionCreate { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ITEMSTACKREQUESTACTIONCREATE +public: + class ItemStackRequestActionCreate& operator=(class ItemStackRequestActionCreate const &) = delete; + ItemStackRequestActionCreate(class ItemStackRequestActionCreate const &) = delete; + ItemStackRequestActionCreate() = delete; +#endif + +public: + /*0*/ virtual ~ItemStackRequestActionCreate(); + /*1*/ virtual void __unk_vfn_1(); + /*2*/ virtual void _write(class BinaryStream &) const; + /*3*/ virtual bool _read(class ReadOnlyBinaryStream &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ITEMSTACKREQUESTACTIONCREATE +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ItemStackRequestActionDestroy.hpp b/LiteLoader/Header/MC/ItemStackRequestActionDestroy.hpp new file mode 100644 index 0000000..d595af6 --- /dev/null +++ b/LiteLoader/Header/MC/ItemStackRequestActionDestroy.hpp @@ -0,0 +1,31 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "ItemStackRequestActionTransferBase.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ItemStackRequestActionDestroy : public ItemStackRequestActionTransferBase { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ITEMSTACKREQUESTACTIONDESTROY +public: + class ItemStackRequestActionDestroy& operator=(class ItemStackRequestActionDestroy const &) = delete; + ItemStackRequestActionDestroy(class ItemStackRequestActionDestroy const &) = delete; + ItemStackRequestActionDestroy() = delete; +#endif + +public: + /*0*/ virtual ~ItemStackRequestActionDestroy(); + /*1*/ virtual void __unk_vfn_1(); + /*2*/ virtual void _write(class BinaryStream &) const; + /*3*/ virtual bool _read(class ReadOnlyBinaryStream &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ITEMSTACKREQUESTACTIONDESTROY +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ItemStackRequestActionDrop.hpp b/LiteLoader/Header/MC/ItemStackRequestActionDrop.hpp new file mode 100644 index 0000000..488acba --- /dev/null +++ b/LiteLoader/Header/MC/ItemStackRequestActionDrop.hpp @@ -0,0 +1,30 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ItemStackRequestActionDrop { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ITEMSTACKREQUESTACTIONDROP +public: + class ItemStackRequestActionDrop& operator=(class ItemStackRequestActionDrop const &) = delete; + ItemStackRequestActionDrop(class ItemStackRequestActionDrop const &) = delete; + ItemStackRequestActionDrop() = delete; +#endif + +public: + /*0*/ virtual ~ItemStackRequestActionDrop(); + /*1*/ virtual void __unk_vfn_1(); + /*2*/ virtual void _write(class BinaryStream &) const; + /*3*/ virtual bool _read(class ReadOnlyBinaryStream &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ITEMSTACKREQUESTACTIONDROP +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ItemStackRequestActionHandler.hpp b/LiteLoader/Header/MC/ItemStackRequestActionHandler.hpp new file mode 100644 index 0000000..621f69c --- /dev/null +++ b/LiteLoader/Header/MC/ItemStackRequestActionHandler.hpp @@ -0,0 +1,45 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ItemStackRequestActionHandler { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ITEMSTACKREQUESTACTIONHANDLER +public: + class ItemStackRequestActionHandler& operator=(class ItemStackRequestActionHandler const &) = delete; + ItemStackRequestActionHandler(class ItemStackRequestActionHandler const &) = delete; + ItemStackRequestActionHandler() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ITEMSTACKREQUESTACTIONHANDLER +#endif + MCAPI ItemStackRequestActionHandler(class ItemStackNetManagerServer &, class Player &); + MCAPI void _cacheSlotIdAssigment(class SimpleRuntimeId const &, unsigned char, unsigned char, class SimpleServerNetId const &); + MCAPI class SparseContainer * _getOrInitSparseContainer(enum ContainerEnumName); + MCAPI bool _handleRemove(class ItemStackRequestActionTransferBase const &, class ItemStack &); + MCAPI class ContainerWeakRef const * _tryGetAllowedContainerWeakRef(enum ContainerEnumName) const; + MCAPI std::vector endRequest(bool &); + MCAPI bool handleRequestAction(class ItemStackRequestAction const &); + MCAPI void onContainerScreenOpen(); + +//private: + MCAPI void _addResponseSlotInfo(struct ItemStackRequestHandlerSlotInfo const &, class ItemStack const &); + MCAPI bool _commitAllActionResults(); + MCAPI bool _handleDestroy(class ItemStackRequestActionDestroy const &); + MCAPI bool _handleDrop(class ItemStackRequestActionDrop const &); + MCAPI bool _handleTransfer(class ItemStackRequestActionTransferBase const &, bool, bool, bool); + MCAPI class std::optional _resolveSlotIdAssignment(struct ItemStackRequestSlotInfo const &, class SimpleRuntimeId const &); + MCAPI struct ItemStackRequestHandlerSlotInfo _validateRequestSlot(struct ItemStackRequestSlotInfo const &, bool, bool); + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ItemStackRequestActionPlace.hpp b/LiteLoader/Header/MC/ItemStackRequestActionPlace.hpp new file mode 100644 index 0000000..00ab613 --- /dev/null +++ b/LiteLoader/Header/MC/ItemStackRequestActionPlace.hpp @@ -0,0 +1,31 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "ItemStackRequestActionTransferBase.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ItemStackRequestActionPlace : public ItemStackRequestActionTransferBase { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ITEMSTACKREQUESTACTIONPLACE +public: + class ItemStackRequestActionPlace& operator=(class ItemStackRequestActionPlace const &) = delete; + ItemStackRequestActionPlace(class ItemStackRequestActionPlace const &) = delete; + ItemStackRequestActionPlace() = delete; +#endif + +public: + /*0*/ virtual ~ItemStackRequestActionPlace(); + /*1*/ virtual void __unk_vfn_1(); + /*2*/ virtual void _write(class BinaryStream &) const; + /*3*/ virtual bool _read(class ReadOnlyBinaryStream &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ITEMSTACKREQUESTACTIONPLACE +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ItemStackRequestActionSwap.hpp b/LiteLoader/Header/MC/ItemStackRequestActionSwap.hpp new file mode 100644 index 0000000..d9faede --- /dev/null +++ b/LiteLoader/Header/MC/ItemStackRequestActionSwap.hpp @@ -0,0 +1,31 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "ItemStackRequestActionTransferBase.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ItemStackRequestActionSwap : public ItemStackRequestActionTransferBase { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ITEMSTACKREQUESTACTIONSWAP +public: + class ItemStackRequestActionSwap& operator=(class ItemStackRequestActionSwap const &) = delete; + ItemStackRequestActionSwap(class ItemStackRequestActionSwap const &) = delete; + ItemStackRequestActionSwap() = delete; +#endif + +public: + /*0*/ virtual ~ItemStackRequestActionSwap(); + /*1*/ virtual void __unk_vfn_1(); + /*2*/ virtual void _write(class BinaryStream &) const; + /*3*/ virtual bool _read(class ReadOnlyBinaryStream &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ITEMSTACKREQUESTACTIONSWAP +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ItemStackRequestActionTake.hpp b/LiteLoader/Header/MC/ItemStackRequestActionTake.hpp new file mode 100644 index 0000000..3acf167 --- /dev/null +++ b/LiteLoader/Header/MC/ItemStackRequestActionTake.hpp @@ -0,0 +1,31 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "ItemStackRequestActionTransferBase.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ItemStackRequestActionTake : public ItemStackRequestActionTransferBase { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ITEMSTACKREQUESTACTIONTAKE +public: + class ItemStackRequestActionTake& operator=(class ItemStackRequestActionTake const &) = delete; + ItemStackRequestActionTake(class ItemStackRequestActionTake const &) = delete; + ItemStackRequestActionTake() = delete; +#endif + +public: + /*0*/ virtual ~ItemStackRequestActionTake(); + /*1*/ virtual void __unk_vfn_1(); + /*2*/ virtual void _write(class BinaryStream &) const; + /*3*/ virtual bool _read(class ReadOnlyBinaryStream &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ITEMSTACKREQUESTACTIONTAKE +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ItemStackRequestActionTransferBase.hpp b/LiteLoader/Header/MC/ItemStackRequestActionTransferBase.hpp new file mode 100644 index 0000000..901c42d --- /dev/null +++ b/LiteLoader/Header/MC/ItemStackRequestActionTransferBase.hpp @@ -0,0 +1,29 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ItemStackRequestActionTransferBase { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ITEMSTACKREQUESTACTIONTRANSFERBASE +public: + class ItemStackRequestActionTransferBase& operator=(class ItemStackRequestActionTransferBase const &) = delete; + ItemStackRequestActionTransferBase(class ItemStackRequestActionTransferBase const &) = delete; + ItemStackRequestActionTransferBase() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ITEMSTACKREQUESTACTIONTRANSFERBASE + MCVAPI bool _read(class ReadOnlyBinaryStream &); + MCVAPI void _write(class BinaryStream &) const; + MCVAPI ~ItemStackRequestActionTransferBase(); +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ItemStackRequestPacket.hpp b/LiteLoader/Header/MC/ItemStackRequestPacket.hpp new file mode 100644 index 0000000..2881b10 --- /dev/null +++ b/LiteLoader/Header/MC/ItemStackRequestPacket.hpp @@ -0,0 +1,32 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Packet.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ItemStackRequestPacket : public Packet { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ITEMSTACKREQUESTPACKET +public: + class ItemStackRequestPacket& operator=(class ItemStackRequestPacket const &) = delete; + ItemStackRequestPacket(class ItemStackRequestPacket const &) = delete; + ItemStackRequestPacket() = delete; +#endif + +public: + /*0*/ virtual ~ItemStackRequestPacket(); + /*1*/ virtual enum MinecraftPacketIds getId() const; + /*2*/ virtual std::string getName() const; + /*3*/ virtual void write(class BinaryStream &) const; + /*4*/ virtual enum StreamReadResult read(class ReadOnlyBinaryStream &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ITEMSTACKREQUESTPACKET +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ItemStackRequestSlotInfo.hpp b/LiteLoader/Header/MC/ItemStackRequestSlotInfo.hpp new file mode 100644 index 0000000..314ad7f --- /dev/null +++ b/LiteLoader/Header/MC/ItemStackRequestSlotInfo.hpp @@ -0,0 +1,26 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +struct ItemStackRequestSlotInfo { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ITEMSTACKREQUESTSLOTINFO +public: + struct ItemStackRequestSlotInfo& operator=(struct ItemStackRequestSlotInfo const &) = delete; + ItemStackRequestSlotInfo(struct ItemStackRequestSlotInfo const &) = delete; + ItemStackRequestSlotInfo() = delete; +#endif +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ITEMSTACKREQUESTSLOTINFO +#endif + MCAPI ~ItemStackRequestSlotInfo(); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ItemStackResponseContainerInfo.hpp b/LiteLoader/Header/MC/ItemStackResponseContainerInfo.hpp new file mode 100644 index 0000000..380bfbd --- /dev/null +++ b/LiteLoader/Header/MC/ItemStackResponseContainerInfo.hpp @@ -0,0 +1,26 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +struct ItemStackResponseContainerInfo { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ITEMSTACKRESPONSECONTAINERINFO +public: + struct ItemStackResponseContainerInfo& operator=(struct ItemStackResponseContainerInfo const &) = delete; + ItemStackResponseContainerInfo(struct ItemStackResponseContainerInfo const &) = delete; + ItemStackResponseContainerInfo() = delete; +#endif +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ITEMSTACKRESPONSECONTAINERINFO +#endif + MCAPI ~ItemStackResponseContainerInfo(); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ItemStackResponseInfo.hpp b/LiteLoader/Header/MC/ItemStackResponseInfo.hpp new file mode 100644 index 0000000..2e11c93 --- /dev/null +++ b/LiteLoader/Header/MC/ItemStackResponseInfo.hpp @@ -0,0 +1,26 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +struct ItemStackResponseInfo { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ITEMSTACKRESPONSEINFO +public: + struct ItemStackResponseInfo& operator=(struct ItemStackResponseInfo const &) = delete; + ItemStackResponseInfo(struct ItemStackResponseInfo const &) = delete; + ItemStackResponseInfo() = delete; +#endif +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ITEMSTACKRESPONSEINFO +#endif + MCAPI ~ItemStackResponseInfo(); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ItemStackResponsePacket.hpp b/LiteLoader/Header/MC/ItemStackResponsePacket.hpp new file mode 100644 index 0000000..1102dc4 --- /dev/null +++ b/LiteLoader/Header/MC/ItemStackResponsePacket.hpp @@ -0,0 +1,32 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Packet.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ItemStackResponsePacket : public Packet { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ITEMSTACKRESPONSEPACKET +public: + class ItemStackResponsePacket& operator=(class ItemStackResponsePacket const &) = delete; + ItemStackResponsePacket(class ItemStackResponsePacket const &) = delete; + ItemStackResponsePacket() = delete; +#endif + +public: + /*0*/ virtual ~ItemStackResponsePacket(); + /*1*/ virtual enum MinecraftPacketIds getId() const; + /*2*/ virtual std::string getName() const; + /*3*/ virtual void write(class BinaryStream &) const; + /*4*/ virtual enum StreamReadResult read(class ReadOnlyBinaryStream &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ITEMSTACKRESPONSEPACKET +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ItemState.hpp b/LiteLoader/Header/MC/ItemState.hpp new file mode 100644 index 0000000..9204209 --- /dev/null +++ b/LiteLoader/Header/MC/ItemState.hpp @@ -0,0 +1,26 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ItemState { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ITEMSTATE +public: + class ItemState& operator=(class ItemState const &) = delete; + ItemState(class ItemState const &) = delete; + ItemState() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ITEMSTATE +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ItemStateInstance.hpp b/LiteLoader/Header/MC/ItemStateInstance.hpp new file mode 100644 index 0000000..c9ea9ed --- /dev/null +++ b/LiteLoader/Header/MC/ItemStateInstance.hpp @@ -0,0 +1,26 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ItemStateInstance { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ITEMSTATEINSTANCE +public: + class ItemStateInstance& operator=(class ItemStateInstance const &) = delete; + ItemStateInstance(class ItemStateInstance const &) = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ITEMSTATEINSTANCE +#endif + MCAPI ItemStateInstance(); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ItemUseInventoryTransaction.hpp b/LiteLoader/Header/MC/ItemUseInventoryTransaction.hpp new file mode 100644 index 0000000..6539f46 --- /dev/null +++ b/LiteLoader/Header/MC/ItemUseInventoryTransaction.hpp @@ -0,0 +1,32 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ItemUseInventoryTransaction { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ITEMUSEINVENTORYTRANSACTION +public: + class ItemUseInventoryTransaction& operator=(class ItemUseInventoryTransaction const &) = delete; + ItemUseInventoryTransaction(class ItemUseInventoryTransaction const &) = delete; + ItemUseInventoryTransaction() = delete; +#endif + +public: + /*0*/ virtual ~ItemUseInventoryTransaction(); + /*1*/ virtual void read(class ReadOnlyBinaryStream &); + /*2*/ virtual void write(class BinaryStream &) const; + /*3*/ virtual enum InventoryTransactionError handle(class Player &, bool) const; + /*4*/ virtual void onTransactionError(class Player &, enum InventoryTransactionError) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ITEMUSEINVENTORYTRANSACTION +#endif + MCAPI void resendBlocksAroundArea(class Player &, class BlockPos const &, unsigned char) const; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ItemUseMethodMap.hpp b/LiteLoader/Header/MC/ItemUseMethodMap.hpp new file mode 100644 index 0000000..21a4bac --- /dev/null +++ b/LiteLoader/Header/MC/ItemUseMethodMap.hpp @@ -0,0 +1,31 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ItemUseMethodMap { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ITEMUSEMETHODMAP +public: + class ItemUseMethodMap& operator=(class ItemUseMethodMap const &) = delete; + ItemUseMethodMap(class ItemUseMethodMap const &) = delete; + ItemUseMethodMap() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ITEMUSEMETHODMAP +#endif + +//private: + +private: + MCAPI static class BidirectionalUnorderedMap const mMap; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ItemUseOnActorInventoryTransaction.hpp b/LiteLoader/Header/MC/ItemUseOnActorInventoryTransaction.hpp new file mode 100644 index 0000000..261db29 --- /dev/null +++ b/LiteLoader/Header/MC/ItemUseOnActorInventoryTransaction.hpp @@ -0,0 +1,31 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ItemUseOnActorInventoryTransaction { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ITEMUSEONACTORINVENTORYTRANSACTION +public: + class ItemUseOnActorInventoryTransaction& operator=(class ItemUseOnActorInventoryTransaction const &) = delete; + ItemUseOnActorInventoryTransaction(class ItemUseOnActorInventoryTransaction const &) = delete; + ItemUseOnActorInventoryTransaction() = delete; +#endif + +public: + /*0*/ virtual ~ItemUseOnActorInventoryTransaction(); + /*1*/ virtual void read(class ReadOnlyBinaryStream &); + /*2*/ virtual void write(class BinaryStream &) const; + /*3*/ virtual enum InventoryTransactionError handle(class Player &, bool) const; + /*4*/ virtual void onTransactionError(class Player &, enum InventoryTransactionError) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ITEMUSEONACTORINVENTORYTRANSACTION +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/JigsawBlock.hpp b/LiteLoader/Header/MC/JigsawBlock.hpp new file mode 100644 index 0000000..e656d96 --- /dev/null +++ b/LiteLoader/Header/MC/JigsawBlock.hpp @@ -0,0 +1,197 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "ActorBlock.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class JigsawBlock : public ActorBlock { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_JIGSAWBLOCK +public: + class JigsawBlock& operator=(class JigsawBlock const &) = delete; + JigsawBlock(class JigsawBlock const &) = delete; + JigsawBlock() = delete; +#endif + +public: + /*0*/ virtual ~JigsawBlock(); + /*1*/ virtual void __unk_vfn_1(); + /*2*/ virtual class Block const & getStateFromLegacyData(unsigned short) const; + /*3*/ virtual class std::shared_ptr newBlockEntity(class BlockPos const &, class Block const &) const; + /*4*/ virtual class Block const * getNextBlockPermutation(class Block const &) const; + /*5*/ virtual bool getCollisionShape(class AABB &, class Block const &, class BlockSource &, class BlockPos const &, class Actor *) const; + /*6*/ virtual bool isObstructingChests(class BlockSource &, class BlockPos const &) const; + /*7*/ virtual void __unk_vfn_7(); + /*8*/ virtual class Vec3 randomlyModifyPosition(class BlockPos const &, int &) const; + /*9*/ virtual void addAABBs(class Block const &, class BlockSource &, class BlockPos const &, class AABB const *, std::vector &) const; + /*10*/ virtual class AABB const & getAABB(class BlockSource &, class BlockPos const &, class Block const &, class AABB &, bool) const; + /*11*/ virtual bool addCollisionShapes(class Block const &, class BlockSource &, class BlockPos const &, class AABB const *, std::vector &, class Actor *) const; + /*12*/ virtual class AABB const & getOutline(class BlockSource &, class BlockPos const &, class AABB &) const; + /*13*/ virtual bool getLiquidClipVolume(class BlockSource &, class BlockPos const &, class AABB &) const; + /*14*/ virtual void __unk_vfn_14(); + /*15*/ virtual void __unk_vfn_15(); + /*16*/ virtual struct Brightness getLightEmission(class Block const &) const; + /*17*/ virtual bool shouldRandomTick() const; + /*18*/ virtual void __unk_vfn_18(); + /*19*/ virtual void __unk_vfn_19(); + /*20*/ virtual void __unk_vfn_20(); + /*21*/ virtual bool canProvideSupport(class Block const &, unsigned char, enum BlockSupportType) const; + /*22*/ virtual bool canConnect(class Block const &, unsigned char, class Block const &) const; + /*23*/ virtual void getConnectedDirections(class Block const &, class BlockPos const &, class BlockSource &, bool &, bool &, bool &, bool &) const; + /*24*/ virtual void __unk_vfn_24(); + /*25*/ virtual void __unk_vfn_25(); + /*26*/ virtual void __unk_vfn_26(); + /*27*/ virtual void __unk_vfn_27(); + /*28*/ virtual void __unk_vfn_28(); + /*29*/ virtual bool isWaterBlocking() const; + /*30*/ virtual void __unk_vfn_30(); + /*31*/ virtual void __unk_vfn_31(); + /*32*/ virtual void __unk_vfn_32(); + /*33*/ virtual void __unk_vfn_33(); + /*34*/ virtual void __unk_vfn_34(); + /*35*/ virtual void __unk_vfn_35(); + /*36*/ virtual void __unk_vfn_36(); + /*37*/ virtual void __unk_vfn_37(); + /*38*/ virtual void __unk_vfn_38(); + /*39*/ virtual void __unk_vfn_39(); + /*40*/ virtual void __unk_vfn_40(); + /*41*/ virtual bool canHurtAndBreakItem() const; + /*42*/ virtual void __unk_vfn_42(); + /*43*/ virtual void __unk_vfn_43(); + /*44*/ virtual void __unk_vfn_44(); + /*45*/ virtual void __unk_vfn_45(); + /*46*/ virtual class Block const & sanitizeFillBlock(class BlockSource &, class BlockPos const &, class Block const &) const; + /*47*/ virtual void __unk_vfn_47(); + /*48*/ virtual void __unk_vfn_48(); + /*49*/ virtual void __unk_vfn_49(); + /*50*/ virtual bool canContainLiquid() const; + /*51*/ virtual void __unk_vfn_51(); + /*52*/ virtual void __unk_vfn_52(); + /*53*/ virtual void __unk_vfn_53(); + /*54*/ virtual float getThickness() const; + /*55*/ virtual void __unk_vfn_55(); + /*56*/ virtual bool checkIsPathable(class Actor &, class BlockPos const &, class BlockPos const &) const; + /*57*/ virtual void __unk_vfn_57(); + /*58*/ virtual void __unk_vfn_58(); + /*59*/ virtual void __unk_vfn_59(); + /*60*/ virtual void __unk_vfn_60(); + /*61*/ virtual void __unk_vfn_61(); + /*62*/ virtual void __unk_vfn_62(); + /*63*/ virtual void onFallOn(class BlockSource &, class BlockPos const &, class Actor &, float) const; + /*64*/ virtual void __unk_vfn_64(); + /*65*/ virtual void __unk_vfn_65(); + /*66*/ virtual void __unk_vfn_66(); + /*67*/ virtual void __unk_vfn_67(); + /*68*/ virtual void __unk_vfn_68(); + /*69*/ virtual void __unk_vfn_69(); + /*70*/ virtual void __unk_vfn_70(); + /*71*/ virtual enum BlockProperty getRedstoneProperty(class BlockSource &, class BlockPos const &) const; + /*72*/ virtual void updateEntityAfterFallOn(class BlockSource &, class BlockPos const &, class Actor &) const; + /*73*/ virtual void __unk_vfn_73(); + /*74*/ virtual void __unk_vfn_74(); + /*75*/ virtual void __unk_vfn_75(); + /*76*/ virtual void __unk_vfn_76(); + /*77*/ virtual void __unk_vfn_77(); + /*78*/ virtual bool mayPick(class BlockSource &, class Block const &, bool) const; + /*79*/ virtual void __unk_vfn_79(); + /*80*/ virtual bool mayPlace(class BlockSource &, class BlockPos const &) const; + /*81*/ virtual void __unk_vfn_81(); + /*82*/ virtual void __unk_vfn_82(); + /*83*/ virtual bool tryToPlace(class BlockSource &, class BlockPos const &, class Block const &, struct ActorBlockSyncMessage const *) const; + /*84*/ virtual bool breaksFallingBlocks(class Block const &) const; + /*85*/ virtual void __unk_vfn_85(); + /*86*/ virtual bool playerWillDestroy(class Player &, class BlockPos const &, class Block const &) const; + /*87*/ virtual void __unk_vfn_87(); + /*88*/ virtual void neighborChanged(class BlockSource &, class BlockPos const &, class BlockPos const &) const; + /*89*/ virtual void __unk_vfn_89(); + /*90*/ virtual void __unk_vfn_90(); + /*91*/ virtual void __unk_vfn_91(); + /*92*/ virtual class ItemInstance asItemInstance(class BlockSource &, class BlockPos const &, class Block const &) const; + /*93*/ virtual void spawnResources(class BlockSource &, class BlockPos const &, class Block const &, std::vector *, float, int, bool) const; + /*94*/ virtual void trySpawnResourcesOnExplosion(class BlockSource &, class BlockPos const &, class Block const &, std::vector *, float, int, bool) const; + /*95*/ virtual void __unk_vfn_95(); + /*96*/ virtual void __unk_vfn_96(); + /*97*/ virtual class HitResult clip(class BlockSource &, class BlockPos const &, class Vec3 const &, class Vec3 const &, bool) const; + /*98*/ virtual void __unk_vfn_98(); + /*99*/ virtual class Block const & getPlacementBlock(class Actor &, class BlockPos const &, unsigned char, class Vec3 const &, int) const; + /*100*/ virtual int calcVariant(class BlockSource &, class BlockPos const &) const; + /*101*/ virtual void __unk_vfn_101(); + /*102*/ virtual void __unk_vfn_102(); + /*103*/ virtual void __unk_vfn_103(); + /*104*/ virtual void __unk_vfn_104(); + /*105*/ virtual void playerDestroy(class Player &, class BlockPos const &, class Block const &) const; + /*106*/ virtual void __unk_vfn_106(); + /*107*/ virtual void __unk_vfn_107(); + /*108*/ virtual bool canBeBuiltOver(class BlockSource &, class BlockPos const &) const; + /*109*/ virtual void triggerEvent(class BlockSource &, class BlockPos const &, int, int) const; + /*110*/ virtual void __unk_vfn_110(); + /*111*/ virtual void __unk_vfn_111(); + /*112*/ virtual class MobSpawnerData const * getMobToSpawn(class SpawnConditions const &, class BlockSource &) const; + /*113*/ virtual void __unk_vfn_113(); + /*114*/ virtual void __unk_vfn_114(); + /*115*/ virtual bool shouldStopFalling(class Actor &) const; + /*116*/ virtual void __unk_vfn_116(); + /*117*/ virtual float calcGroundFriction(class Mob &, class BlockPos const &) const; + /*118*/ virtual void __unk_vfn_118(); + /*119*/ virtual void __unk_vfn_119(); + /*120*/ virtual void __unk_vfn_120(); + /*121*/ virtual bool canSlide(class BlockSource &, class BlockPos const &) const; + /*122*/ virtual void __unk_vfn_122(); + /*123*/ virtual void __unk_vfn_123(); + /*124*/ virtual void __unk_vfn_124(); + /*125*/ virtual void __unk_vfn_125(); + /*126*/ virtual void __unk_vfn_126(); + /*127*/ virtual void __unk_vfn_127(); + /*128*/ virtual void __unk_vfn_128(); + /*129*/ virtual void __unk_vfn_129(); + /*130*/ virtual void __unk_vfn_130(); + /*131*/ virtual void __unk_vfn_131(); + /*132*/ virtual int getColorForParticle(class BlockSource &, class BlockPos const &, class Block const &) const; + /*133*/ virtual void __unk_vfn_133(); + /*134*/ virtual void onGraphicsModeChanged(bool, bool, bool); + /*135*/ virtual void __unk_vfn_135(); + /*136*/ virtual float getShadeBrightness() const; + /*137*/ virtual class AABB const & getVisualShapeInWorld(class Block const &, class BlockSource &, class BlockPos const &, class AABB &, bool) const; + /*138*/ virtual class AABB const & getVisualShape(class Block const &, class AABB &, bool) const; + /*139*/ virtual class AABB const & getUIShape(class Block const &, class AABB &) const; + /*140*/ virtual int telemetryVariant(class BlockSource &, class BlockPos const &) const; + /*141*/ virtual int getVariant(class Block const &) const; + /*142*/ virtual void __unk_vfn_142(); + /*143*/ virtual class Block const & getRenderBlock() const; + /*144*/ virtual unsigned char getMappedFace(unsigned char, class Block const &) const; + /*145*/ virtual enum Flip getFaceFlip(unsigned char, class Block const &) const; + /*146*/ virtual void __unk_vfn_146(); + /*147*/ virtual class BlockLegacy & init(); + /*148*/ virtual class BlockLegacy & setLightBlock(struct Brightness); + /*149*/ virtual class BlockLegacy & setLightEmission(float); + /*150*/ virtual class BlockLegacy & setExplodeable(float); + /*151*/ virtual class BlockLegacy & setDestroyTime(float); + /*152*/ virtual class BlockLegacy & setFriction(float); + /*153*/ virtual class BlockLegacy & addProperty(enum BlockProperty); + /*154*/ virtual class BlockLegacy & addState(class ItemState const &); + /*155*/ virtual class BlockLegacy & addState(class ItemState const &, unsigned __int64); + /*156*/ virtual class BlockLegacy & setAllowsRunes(bool); + /*157*/ virtual class BlockLegacy & setMapColor(class Color const &); + /*158*/ virtual void __unk_vfn_158(); + /*159*/ virtual void __unk_vfn_159(); + /*160*/ virtual void setVisualShape(class AABB const &); + /*161*/ virtual void setVisualShape(class Vec3 const &, class Vec3 const &); + /*162*/ virtual void __unk_vfn_162(); + /*163*/ virtual void __unk_vfn_163(); + /*164*/ virtual class ItemInstance getEntityResourceItem(class Random &, class BlockActor const &, int) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_JIGSAWBLOCK + MCVAPI bool canBeUsedInCommands(bool, class BaseGameVersion const &) const; + MCVAPI int getResourceCount(class Random &, class Block const &, int, bool) const; + MCVAPI bool isInteractiveBlock() const; + MCVAPI bool use(class Player &, class BlockPos const &) const; +#endif + MCAPI static bool canAttach(class JigsawBlockInfo const &, class JigsawBlockInfo const &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/JigsawBlockActor.hpp b/LiteLoader/Header/MC/JigsawBlockActor.hpp new file mode 100644 index 0000000..fea028a --- /dev/null +++ b/LiteLoader/Header/MC/JigsawBlockActor.hpp @@ -0,0 +1,39 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "BlockActor.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class JigsawBlockActor : public BlockActor { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_JIGSAWBLOCKACTOR +public: + class JigsawBlockActor& operator=(class JigsawBlockActor const &) = delete; + JigsawBlockActor(class JigsawBlockActor const &) = delete; + JigsawBlockActor() = delete; +#endif + +public: + /*0*/ virtual ~JigsawBlockActor(); + /*1*/ virtual void load(class Level &, class CompoundTag const &, class DataLoadHelper &); + /*2*/ virtual bool save(class CompoundTag &) const; + /*13*/ virtual void __unk_vfn_13(); + /*17*/ virtual void __unk_vfn_17(); + /*29*/ virtual void __unk_vfn_29(); + /*30*/ virtual void __unk_vfn_30(); + /*32*/ virtual void __unk_vfn_32(); + /*33*/ virtual void __unk_vfn_33(); + /*34*/ virtual std::unique_ptr _getUpdatePacket(class BlockSource &); + /*35*/ virtual void _onUpdatePacket(class CompoundTag const &, class BlockSource &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_JIGSAWBLOCKACTOR +#endif + MCAPI JigsawBlockActor(class BlockPos const &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/JigsawBlockInfo.hpp b/LiteLoader/Header/MC/JigsawBlockInfo.hpp new file mode 100644 index 0000000..c10a0fc --- /dev/null +++ b/LiteLoader/Header/MC/JigsawBlockInfo.hpp @@ -0,0 +1,28 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class JigsawBlockInfo { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_JIGSAWBLOCKINFO +public: + class JigsawBlockInfo& operator=(class JigsawBlockInfo const &) = delete; + JigsawBlockInfo(class JigsawBlockInfo const &) = delete; + JigsawBlockInfo() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_JIGSAWBLOCKINFO +#endif + MCAPI JigsawBlockInfo(class BlockPos const &, class Block const *, class Block const *, class JigsawEditorData); + MCAPI class JigsawBlockInfo & operator=(class JigsawBlockInfo &&); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/JigsawEditorData.hpp b/LiteLoader/Header/MC/JigsawEditorData.hpp new file mode 100644 index 0000000..dc358a4 --- /dev/null +++ b/LiteLoader/Header/MC/JigsawEditorData.hpp @@ -0,0 +1,35 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class JigsawEditorData { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_JIGSAWEDITORDATA +public: + class JigsawEditorData& operator=(class JigsawEditorData const &) = delete; + JigsawEditorData() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_JIGSAWEDITORDATA +#endif + MCAPI JigsawEditorData(class JigsawEditorData &&); + MCAPI JigsawEditorData(class JigsawEditorData const &); + MCAPI void load(class CompoundTag const &, class DataLoadHelper &); + MCAPI void save(class CompoundTag &) const; + MCAPI ~JigsawEditorData(); + +//private: + +private: + MCAPI static class std::unordered_map, struct std::equal_to, class std::allocator>> const JOINT_TYPE_TO_NAME; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/JigsawPlacement.hpp b/LiteLoader/Header/MC/JigsawPlacement.hpp new file mode 100644 index 0000000..0d8b005 --- /dev/null +++ b/LiteLoader/Header/MC/JigsawPlacement.hpp @@ -0,0 +1,35 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class JigsawPlacement { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_JIGSAWPLACEMENT +public: + class JigsawPlacement& operator=(class JigsawPlacement const &) = delete; + JigsawPlacement(class JigsawPlacement const &) = delete; + JigsawPlacement() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_JIGSAWPLACEMENT +#endif + MCAPI JigsawPlacement(unsigned __int64, unsigned __int64, std::vector> &, class std::function (class StructurePoolElement const &, class BlockPos const &, enum Rotation const &, int, struct JigsawJunction &, class BoundingBox const &, class BlockPos const &)>, class Random &, class JigsawStructureRegistry const &, class Dimension &); + MCAPI void addPieces(class StructurePoolElement const &, class BlockPos const &, enum Rotation const &); + MCAPI ~JigsawPlacement(); + +//private: + MCAPI void _addPiece(class PoolElementStructurePiece const &, class BlockPos const &, enum Rotation const &, class BlockPos const &, unsigned __int64); + MCAPI bool _tryPlacingPiece(class PoolElementStructurePiece const &, class BoundingBox const &, class JigsawBlockInfo const &, class BlockPos const &, class StructureTemplatePool const *, class BlockPos const &, unsigned __int64); + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/JigsawStructureActorRulesRegistry.hpp b/LiteLoader/Header/MC/JigsawStructureActorRulesRegistry.hpp new file mode 100644 index 0000000..4eb9dd0 --- /dev/null +++ b/LiteLoader/Header/MC/JigsawStructureActorRulesRegistry.hpp @@ -0,0 +1,29 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class JigsawStructureActorRulesRegistry { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_JIGSAWSTRUCTUREACTORRULESREGISTRY +public: + class JigsawStructureActorRulesRegistry& operator=(class JigsawStructureActorRulesRegistry const &) = delete; + JigsawStructureActorRulesRegistry(class JigsawStructureActorRulesRegistry const &) = delete; + JigsawStructureActorRulesRegistry() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_JIGSAWSTRUCTUREACTORRULESREGISTRY +#endif + MCAPI std::vector> const * lookupByName(std::string) const; + MCAPI void registerActorRules(std::string, std::unique_ptr>>> &&); + MCAPI ~JigsawStructureActorRulesRegistry(); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/JigsawStructureBlockRulesRegistry.hpp b/LiteLoader/Header/MC/JigsawStructureBlockRulesRegistry.hpp new file mode 100644 index 0000000..26002fd --- /dev/null +++ b/LiteLoader/Header/MC/JigsawStructureBlockRulesRegistry.hpp @@ -0,0 +1,29 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class JigsawStructureBlockRulesRegistry { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_JIGSAWSTRUCTUREBLOCKRULESREGISTRY +public: + class JigsawStructureBlockRulesRegistry& operator=(class JigsawStructureBlockRulesRegistry const &) = delete; + JigsawStructureBlockRulesRegistry(class JigsawStructureBlockRulesRegistry const &) = delete; + JigsawStructureBlockRulesRegistry() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_JIGSAWSTRUCTUREBLOCKRULESREGISTRY +#endif + MCAPI std::vector> const * lookupByName(std::string) const; + MCAPI void registerBlockRules(std::string, std::unique_ptr>>> &&); + MCAPI ~JigsawStructureBlockRulesRegistry(); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/JigsawStructureBlockTagRulesRegistry.hpp b/LiteLoader/Header/MC/JigsawStructureBlockTagRulesRegistry.hpp new file mode 100644 index 0000000..1a9b699 --- /dev/null +++ b/LiteLoader/Header/MC/JigsawStructureBlockTagRulesRegistry.hpp @@ -0,0 +1,29 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class JigsawStructureBlockTagRulesRegistry { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_JIGSAWSTRUCTUREBLOCKTAGRULESREGISTRY +public: + class JigsawStructureBlockTagRulesRegistry& operator=(class JigsawStructureBlockTagRulesRegistry const &) = delete; + JigsawStructureBlockTagRulesRegistry(class JigsawStructureBlockTagRulesRegistry const &) = delete; + JigsawStructureBlockTagRulesRegistry() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_JIGSAWSTRUCTUREBLOCKTAGRULESREGISTRY +#endif + MCAPI std::vector> const * lookupByName(std::string) const; + MCAPI void registerBlockTagRules(std::string, std::unique_ptr>>> &&); + MCAPI ~JigsawStructureBlockTagRulesRegistry(); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/JigsawStructureElementRegistry.hpp b/LiteLoader/Header/MC/JigsawStructureElementRegistry.hpp new file mode 100644 index 0000000..8ce77c8 --- /dev/null +++ b/LiteLoader/Header/MC/JigsawStructureElementRegistry.hpp @@ -0,0 +1,29 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class JigsawStructureElementRegistry { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_JIGSAWSTRUCTUREELEMENTREGISTRY +public: + class JigsawStructureElementRegistry& operator=(class JigsawStructureElementRegistry const &) = delete; + JigsawStructureElementRegistry(class JigsawStructureElementRegistry const &) = delete; + JigsawStructureElementRegistry() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_JIGSAWSTRUCTUREELEMENTREGISTRY +#endif + MCAPI class StructurePoolElement const * lookupByName(std::string) const; + MCAPI void registerStructureElement(std::string, std::unique_ptr &&); + MCAPI ~JigsawStructureElementRegistry(); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/JigsawStructureRegistry.hpp b/LiteLoader/Header/MC/JigsawStructureRegistry.hpp new file mode 100644 index 0000000..db06840 --- /dev/null +++ b/LiteLoader/Header/MC/JigsawStructureRegistry.hpp @@ -0,0 +1,38 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class JigsawStructureRegistry { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_JIGSAWSTRUCTUREREGISTRY +public: + class JigsawStructureRegistry& operator=(class JigsawStructureRegistry const &) = delete; + JigsawStructureRegistry(class JigsawStructureRegistry const &) = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_JIGSAWSTRUCTUREREGISTRY +#endif + MCAPI JigsawStructureRegistry(); + MCAPI class JigsawStructureActorRulesRegistry & getJigsawStructureActorRulesRegistry(); + MCAPI class JigsawStructureBlockRulesRegistry & getJigsawStructureBlockRulesRegistry(); + MCAPI class JigsawStructureBlockTagRulesRegistry & getJigsawStructureBlockTagRulesRegistry(); + MCAPI class JigsawStructureElementRegistry & getJigsawStructureElementRegistry(); + MCAPI class StructureTemplatePool const * lookupByName(std::string) const; + MCAPI void registerPool(std::unique_ptr &&); + MCAPI ~JigsawStructureRegistry(); + +//private: + MCAPI void clear(); + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/JournaledFile.hpp b/LiteLoader/Header/MC/JournaledFile.hpp new file mode 100644 index 0000000..fe87a9b --- /dev/null +++ b/LiteLoader/Header/MC/JournaledFile.hpp @@ -0,0 +1,40 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Core.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class JournaledFile { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_JOURNALEDFILE +public: + class JournaledFile& operator=(class JournaledFile const &) = delete; + JournaledFile(class JournaledFile const &) = delete; + JournaledFile() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_JOURNALEDFILE +#endif + MCAPI class Core::Result close(); + MCAPI class Core::Result open(class Core::Path, class Core::FileOpenMode, enum Core::FileBufferingMode); + MCAPI class Core::Result write(void const *, unsigned __int64); + MCAPI ~JournaledFile(); + MCAPI static class Core::PathBuffer findBackupPath(class Core::Path); + MCAPI static class Core::PathBuffer findReadPath(class Core::Path); + MCAPI static bool isOldFile(class Core::Path); + MCAPI static void populateImportantFiles(class Core::Path, std::vector &); + +//private: + MCAPI void _flushFiles(); + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/Json.hpp b/LiteLoader/Header/MC/Json.hpp new file mode 100644 index 0000000..7cf8538 --- /dev/null +++ b/LiteLoader/Header/MC/Json.hpp @@ -0,0 +1,472 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +namespace Json { + +#define AFTER_EXTRA +class StaticString { +public: + explicit StaticString(const char* czstring) + : c_str_(czstring) { + } + operator const char*() const { + return c_str_; + } + const char* c_str() const { + return c_str_; + } + +private: + const char* c_str_; +}; + +class ValueConstIterator; +class ValueIterator; +enum ValueType : char { + nullValue = 0, ///< 'null' value + intValue, ///< signed integer value + uintValue, ///< unsigned integer value + realValue, ///< double value + stringValue, ///< UTF-8 string value + booleanValue, ///< bool value + arrayValue, ///< array value (ordered list) + objectValue ///< object value (collection of name/value pairs). +}; + +using UInt = unsigned; +using UInt64 = unsigned long long; +using Int = int; +using Int64 = long long; +using LargestInt = Int64; +using LargestUInt = UInt64; +using ArrayIndex = unsigned; + +enum CommentPlacement { + commentBefore = 0, ///< a comment placed on the line before a value + commentAfterOnSameLine, ///< a comment just after a value on the same line + commentAfter, ///< a comment on the line after a value (only make sense for + /// root value) + numberOfCommentPlacement +}; + +class Value { + friend class ValueIteratorBase; + +public: + class CZString { + public: + enum DuplicationPolicy { noDuplication = 0, + duplicate, + duplicateOnCopy }; + inline CZString(ArrayIndex index) + : cstr_(nullptr) + , index_(index) { + } + CZString(char const* str, unsigned length, DuplicationPolicy allocate) + : cstr_(str) { + storage_.policy_ = allocate & 0x3; + storage_.length_ = length & 0x3FFFFFFF; + } + //MCAPI CZString(CZString const& other); + //MCAPI ~CZString(); + CZString& operator=(const CZString& other) { + cstr_ = other.cstr_; + index_ = other.index_; + return *this; + } + bool operator<(CZString const& other) const { + if (!cstr_) + return index_ < other.index_; + unsigned this_len = this->storage_.length_; + unsigned other_len = other.storage_.length_; + unsigned min_len = std::min(this_len, other_len); + int comp = memcmp(this->cstr_, other.cstr_, min_len); + if (comp < 0) + return true; + if (comp > 0) + return false; + return (this_len < other_len); + } + bool operator==(CZString const& other) const { + if (!cstr_) + return index_ == other.index_; + unsigned this_len = this->storage_.length_; + unsigned other_len = other.storage_.length_; + if (this_len != other_len) + return false; + int comp = memcmp(this->cstr_, other.cstr_, this_len); + return comp == 0; + } + ArrayIndex index() const { + return index_; + } + const char* c_str() const { + return cstr_; + } + bool isStaticString() const { + return storage_.policy_ == noDuplication; + } + + private: + struct StringStorage { + unsigned policy_ : 2; + unsigned length_ : 30; // 1GB max + }; + char const* cstr_; + union { + ArrayIndex index_; + StringStorage storage_; + }; + }; + + using iterator = ValueIterator; + using const_iterator = ValueConstIterator; + using ObjectValues = std::map; + +public: + Value(ValueType type = nullValue) { + bits_.value_type_ = type; + switch (type) { + case 6: + case 7: + value_.map_ = new ObjectValues; + break; + default: + value_.string_ = nullptr; + } + } + Value(Int value) { + bits_.value_type_ = intValue; + value_.int_ = value; + } + Value(UInt value) { + bits_.value_type_ = uintValue; + value_.uint_ = value; + } + Value(double value) { + bits_.value_type_ = realValue; + value_.real_ = value; + } + //MCAPI Value(const char* value); + Value(bool value) { + bits_.value_type_ = booleanValue; + value_.bool_ = value; + } + //MCAPI Value(const Value& other); + //MCAPI ~Value(); + + //MCAPI static Value const null; + + //MCAPI void swap(Value& other); + ValueType type() const { + return bits_.value_type_; + } + + //MCAPI Value& operator=(const Value& other); + + //MCAPI bool operator<(const Value& other) const; + //MCAPI bool operator==(const Value& other) const; + + //MCAPI std::string asString(std::string const&) const; + //MCAPI Int asInt(Int) const; + //MCAPI UInt asUInt(UInt) const; + //MCAPI float asFloat(float) const; + //MCAPI double asDouble(double) const; + //MCAPI bool asBool(bool) const; + + //MCAPI bool isNull() const; + bool isBool() const { + return type() == booleanValue; + } + bool isInt() const { + return type() == intValue; + } + bool isUInt() const { + return type() == uintValue; + } + bool isIntegral() const { + return type() == intValue || type() == uintValue; + } + bool isDouble() const { + return type() == realValue; + } + //MCAPI bool isNumeric() const; + //MCAPI bool isString() const; + bool isArray() const { + return type() == arrayValue; + } + bool isObject() const { + return type() == objectValue; + } + //MCAPI bool isConvertibleTo(ValueType other) const; + + //MCAPI ArrayIndex size() const; + //MCAPI bool empty() const; + void clear() { + if (type() == arrayValue || type() == objectValue) { + value_.map_->clear(); + } + } + //MCAPI void resize(ArrayIndex newSize); + //MCAPI Value& operator[](ArrayIndex index); + //MCAPI Value& operator[](int index); + //MCAPI const Value& operator[](ArrayIndex index) const; + //MCAPI const Value& operator[](int index) const; + //MCAPI Value& append(const Value& value); + + //MCAPI Value& operator[](const char* key); + //MCAPI const Value& operator[](const char* key) const; + //MCAPI Value& operator[](const std::string& key); + //MCAPI const Value& operator[](const std::string& key) const; + //MCAPI Value removeMember(const char* key); + void removeMember(const std::string& key) { + removeMember(key.c_str()); + } + //MCAPI bool isMember(const char* key) const; + bool isMember(const std::string& key) const { + return isMember(key.c_str()); + } + + //MCAPI const_iterator begin() const; + //MCAPI const_iterator end() const; + + //MCAPI iterator begin(); + //MCAPI iterator end(); + + //MCAPI std::string toStyledString() const; + + union ValueHolder { + LargestInt int_; + LargestUInt uint_; + double real_; + bool bool_; + char* string_; // actually ptr to unsigned, followed by str, unless + // !allocated_ + ObjectValues* map_; + } value_; + struct { + ValueType value_type_ : 8; + bool allocated_ : 1; + } bits_; + +private: + //MCAPI Value& resolveReference(const char* key, bool create); +}; + +class ValueIteratorBase { +public: + typedef std::bidirectional_iterator_tag iterator_category; + typedef unsigned int size_t; + typedef int difference_type; + typedef ValueIteratorBase SelfType; + + bool operator==(const SelfType& other) const { + return isEqual(other); + } + bool operator!=(const SelfType& other) const { + return !isEqual(other); + } + + //MCAPI Value key() const; + +protected: + //MCAPI void increment(void); + //MCAPI class Json::Value& deref(void) const; + + bool isEqual(const SelfType& other) const { + if (isNull_) + return other.isNull_; + return current_ == other.current_; + } + +private: + Value::ObjectValues::iterator current_; + bool isNull_; + +public: + ValueIteratorBase(); + explicit ValueIteratorBase(const Value::ObjectValues::iterator& current); +}; +class ValueConstIterator : public ValueIteratorBase { + friend class Value; + +public: + typedef const Value value_type; + // typedef unsigned int size_t; + // typedef int difference_type; + typedef const Value& reference; + typedef const Value* pointer; + typedef ValueConstIterator SelfType; + + ValueConstIterator(); + ValueConstIterator(ValueIterator const& other); + +private: + explicit ValueConstIterator(const Value::ObjectValues::iterator& current); + +public: + //MCAPI SelfType& operator++(); + //MCAPI reference operator*() const; +}; + +class ValueIterator : public ValueIteratorBase { + friend class Value; + +public: + typedef Value value_type; + typedef unsigned int size_t; + typedef int difference_type; + typedef Value& reference; + typedef Value* pointer; + typedef ValueIterator SelfType; + + ValueIterator(); + explicit ValueIterator(const ValueConstIterator& other); + ValueIterator(const ValueIterator& other); + +private: + explicit ValueIterator(const Value::ObjectValues::iterator& current); + +public: + // SelfType& operator++() { + // increment(); + // return *this; + // } + + // Json::Value& operator*() { + // return deref(); + // } + // MCAPI reference operator*() const; +}; + +class Features { +public: + static Features all(); + static Features strictMode(); + Features(); + bool strictRoot_; + bool allowNumericKeys_; +}; + +class Reader { +public: + typedef char Char; + typedef const Char* Location; + struct StructuredError { + ptrdiff_t offset_start; + ptrdiff_t offset_limit; + std::string message; + }; + //MCAPI Reader(); + + //MCAPI bool parse(const std::string& document, Value& root, bool collectComments = true); + //MCAPI bool parse(const char* beginDoc, const char* endDoc, Value& root, bool collectComments = true); + //MCAPI bool parse(const char* beginDoc, unsigned long long length, Value& root, bool collectComments = true); + //MCAPI bool parse(std::istream& is, Value& root, bool collectComments = true); + + //MCAPI std::string getFormattedErrorMessages() const; + +private: + enum TokenType { + tokenEndOfStream = 0, + tokenObjectBegin, + tokenObjectEnd, + tokenArrayBegin, + tokenArrayEnd, + tokenString, + tokenNumber, + tokenTrue, + tokenFalse, + tokenNull, + tokenArraySeparator, + tokenMemberSeparator, + tokenComment, + tokenError + }; + + class Token { + public: + TokenType type_; + Location start_; + Location end_; + }; + + class ErrorInfo { + public: + Token token_; + std::string message_; + Location extra_; + }; + typedef std::deque Errors; + + typedef std::stack Nodes; + Nodes nodes_; + Errors errors_; + std::string document_; + Location begin_; + Location end_; + Location current_; + Location lastValueEnd_; + Value* lastValue_; + std::string commentsBefore_; + Features features_; + bool collectComments_; +}; + +class Writer { +public: + virtual ~Writer() { + } + virtual std::string write(const Value& root) = 0; +}; + +class FastWriter : public Writer { +public: + FastWriter() { + } + ~FastWriter() override { + } + +public: + //MCAPI std::string write(const Value& root) override; + +private: + std::string document_; + bool yamlCompatibilityEnabled_; + bool dropNullPlaceholders_; + bool omitEndingLineFeed_; +}; + +class StyledWriter : public Writer { +public: + StyledWriter() { + } + ~StyledWriter() override { + } + +public: + //MCAPI std::string write(const Value& root) override; + +private: + typedef std::vector ChildValues; + + ChildValues childValues_; + std::string document_; + std::string indentString_; + unsigned int rightMargin_; + unsigned int indentSize_; + bool addChildValues_; +}; +#undef AFTER_EXTRA + MCAPI std::string valueToQuotedString(char const *); + MCAPI std::string valueToString(__int64); + MCAPI std::string valueToString(unsigned __int64); + MCAPI std::string valueToString(double); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/JsonPackUtils.hpp b/LiteLoader/Header/MC/JsonPackUtils.hpp new file mode 100644 index 0000000..980cd9e --- /dev/null +++ b/LiteLoader/Header/MC/JsonPackUtils.hpp @@ -0,0 +1,23 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Json.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +namespace JsonPackUtils { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA + MCAPI bool readBoolAndReport(class Json::Value const &, std::string const &, std::vector &, class PackReport &, bool, bool); + MCAPI struct std::pair readRequiredValue(class Json::Value const &, std::string const &, enum Json::ValueType); + MCAPI std::string readStringAndReport(class Json::Value const &, std::string const &, std::vector &, class PackReport &, bool); + MCAPI std::vector readStringArrayAndReport(class Json::Value const &, std::string const &, std::vector &, class PackReport &, bool); + MCAPI struct std::pair readValueAndReportErrors(class Json::Value const &, std::string const &, enum Json::ValueType, std::vector &, class PackReport &, bool); + MCAPI std::string stringizePath(std::vector const &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/JsonUtil.hpp b/LiteLoader/Header/MC/JsonUtil.hpp new file mode 100644 index 0000000..aed3bc8 --- /dev/null +++ b/LiteLoader/Header/MC/JsonUtil.hpp @@ -0,0 +1,28 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Json.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +namespace JsonUtil { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA + MCAPI void LogMissingChildSchemaOption(enum LogArea, class Json::Value const &, std::string const &, std::string const &, std::string const &); + MCAPI void LogUnknownChildSchemaOption(std::string const &, enum LogArea, class Json::Value const &); + MCAPI class Json::Value & getMemberByCaseInsensitiveName(class Json::Value &, class gsl::basic_string_span const &); + MCAPI class Json::Value const & getMemberByCaseInsensitiveNameConst(class Json::Value const &, class gsl::basic_string_span const &); + MCAPI class std::map, struct std::less, class std::allocator>>>, struct std::less, class std::allocator, struct std::less, class std::allocator>>>>>> & getSchemaMap(); + MCAPI class std::mutex & getSchemaMapLock(); + MCAPI bool parseItem(std::string &, std::string &, int &, std::string const &); + MCAPI bool parseRange(class Json::Value const &, int &, int &); + MCAPI bool parseVec3(class Vec3 &, class Json::Value const &); + MCAPI void printJsonSchema_childNode(std::string &, std::string const &, class HashedString const &, std::string const &, bool, unsigned __int64, unsigned __int64, std::string const &, std::string const &); + MCAPI void setDefaultPrettyName(std::string &, class HashedString const &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/JsonValidator.hpp b/LiteLoader/Header/MC/JsonValidator.hpp new file mode 100644 index 0000000..866c2c5 --- /dev/null +++ b/LiteLoader/Header/MC/JsonValidator.hpp @@ -0,0 +1,28 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Json.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class JsonValidator { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_JSONVALIDATOR +public: + class JsonValidator& operator=(class JsonValidator const &) = delete; + JsonValidator(class JsonValidator const &) = delete; + JsonValidator() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_JSONVALIDATOR +#endif + MCAPI static bool validate(class JsonValidator::Property const &, class Json::Value const &, std::vector *); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/JukeboxBlock.hpp b/LiteLoader/Header/MC/JukeboxBlock.hpp new file mode 100644 index 0000000..fa9a65b --- /dev/null +++ b/LiteLoader/Header/MC/JukeboxBlock.hpp @@ -0,0 +1,202 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "ActorBlock.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class JukeboxBlock : public ActorBlock { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_JUKEBOXBLOCK +public: + class JukeboxBlock& operator=(class JukeboxBlock const &) = delete; + JukeboxBlock(class JukeboxBlock const &) = delete; + JukeboxBlock() = delete; +#endif + +public: + /*0*/ virtual ~JukeboxBlock(); + /*1*/ virtual void __unk_vfn_1(); + /*2*/ virtual class Block const & getStateFromLegacyData(unsigned short) const; + /*3*/ virtual class std::shared_ptr newBlockEntity(class BlockPos const &, class Block const &) const; + /*4*/ virtual class Block const * getNextBlockPermutation(class Block const &) const; + /*5*/ virtual bool getCollisionShape(class AABB &, class Block const &, class BlockSource &, class BlockPos const &, class Actor *) const; + /*6*/ virtual bool isObstructingChests(class BlockSource &, class BlockPos const &) const; + /*7*/ virtual void __unk_vfn_7(); + /*8*/ virtual class Vec3 randomlyModifyPosition(class BlockPos const &, int &) const; + /*9*/ virtual void addAABBs(class Block const &, class BlockSource &, class BlockPos const &, class AABB const *, std::vector &) const; + /*10*/ virtual class AABB const & getAABB(class BlockSource &, class BlockPos const &, class Block const &, class AABB &, bool) const; + /*11*/ virtual bool addCollisionShapes(class Block const &, class BlockSource &, class BlockPos const &, class AABB const *, std::vector &, class Actor *) const; + /*12*/ virtual class AABB const & getOutline(class BlockSource &, class BlockPos const &, class AABB &) const; + /*13*/ virtual bool getLiquidClipVolume(class BlockSource &, class BlockPos const &, class AABB &) const; + /*14*/ virtual void __unk_vfn_14(); + /*15*/ virtual void __unk_vfn_15(); + /*16*/ virtual struct Brightness getLightEmission(class Block const &) const; + /*17*/ virtual bool shouldRandomTick() const; + /*18*/ virtual void __unk_vfn_18(); + /*19*/ virtual void __unk_vfn_19(); + /*20*/ virtual void __unk_vfn_20(); + /*21*/ virtual bool canProvideSupport(class Block const &, unsigned char, enum BlockSupportType) const; + /*22*/ virtual bool canConnect(class Block const &, unsigned char, class Block const &) const; + /*23*/ virtual void getConnectedDirections(class Block const &, class BlockPos const &, class BlockSource &, bool &, bool &, bool &, bool &) const; + /*24*/ virtual void __unk_vfn_24(); + /*25*/ virtual void __unk_vfn_25(); + /*26*/ virtual void __unk_vfn_26(); + /*27*/ virtual void __unk_vfn_27(); + /*28*/ virtual void __unk_vfn_28(); + /*29*/ virtual bool isWaterBlocking() const; + /*30*/ virtual void __unk_vfn_30(); + /*31*/ virtual void __unk_vfn_31(); + /*32*/ virtual void __unk_vfn_32(); + /*33*/ virtual void __unk_vfn_33(); + /*34*/ virtual void __unk_vfn_34(); + /*35*/ virtual void __unk_vfn_35(); + /*36*/ virtual void __unk_vfn_36(); + /*37*/ virtual void __unk_vfn_37(); + /*38*/ virtual void __unk_vfn_38(); + /*39*/ virtual void __unk_vfn_39(); + /*40*/ virtual void __unk_vfn_40(); + /*41*/ virtual bool canHurtAndBreakItem() const; + /*42*/ virtual void __unk_vfn_42(); + /*43*/ virtual void __unk_vfn_43(); + /*44*/ virtual void __unk_vfn_44(); + /*45*/ virtual void __unk_vfn_45(); + /*46*/ virtual class Block const & sanitizeFillBlock(class BlockSource &, class BlockPos const &, class Block const &) const; + /*47*/ virtual void __unk_vfn_47(); + /*48*/ virtual void __unk_vfn_48(); + /*49*/ virtual void __unk_vfn_49(); + /*50*/ virtual bool canContainLiquid() const; + /*51*/ virtual void __unk_vfn_51(); + /*52*/ virtual void __unk_vfn_52(); + /*53*/ virtual bool canBeUsedInCommands(bool, class BaseGameVersion const &) const; + /*54*/ virtual float getThickness() const; + /*55*/ virtual void __unk_vfn_55(); + /*56*/ virtual bool checkIsPathable(class Actor &, class BlockPos const &, class BlockPos const &) const; + /*57*/ virtual void __unk_vfn_57(); + /*58*/ virtual void __unk_vfn_58(); + /*59*/ virtual void __unk_vfn_59(); + /*60*/ virtual void onRemove(class BlockSource &, class BlockPos const &) const; + /*61*/ virtual void __unk_vfn_61(); + /*62*/ virtual void __unk_vfn_62(); + /*63*/ virtual void onFallOn(class BlockSource &, class BlockPos const &, class Actor &, float) const; + /*64*/ virtual void __unk_vfn_64(); + /*65*/ virtual void __unk_vfn_65(); + /*66*/ virtual void __unk_vfn_66(); + /*67*/ virtual void __unk_vfn_67(); + /*68*/ virtual void __unk_vfn_68(); + /*69*/ virtual void __unk_vfn_69(); + /*70*/ virtual void __unk_vfn_70(); + /*71*/ virtual enum BlockProperty getRedstoneProperty(class BlockSource &, class BlockPos const &) const; + /*72*/ virtual void updateEntityAfterFallOn(class BlockSource &, class BlockPos const &, class Actor &) const; + /*73*/ virtual void __unk_vfn_73(); + /*74*/ virtual void __unk_vfn_74(); + /*75*/ virtual void __unk_vfn_75(); + /*76*/ virtual void __unk_vfn_76(); + /*77*/ virtual void __unk_vfn_77(); + /*78*/ virtual bool mayPick(class BlockSource &, class Block const &, bool) const; + /*79*/ virtual void __unk_vfn_79(); + /*80*/ virtual bool mayPlace(class BlockSource &, class BlockPos const &) const; + /*81*/ virtual void __unk_vfn_81(); + /*82*/ virtual void __unk_vfn_82(); + /*83*/ virtual bool tryToPlace(class BlockSource &, class BlockPos const &, class Block const &, struct ActorBlockSyncMessage const *) const; + /*84*/ virtual bool breaksFallingBlocks(class Block const &) const; + /*85*/ virtual void __unk_vfn_85(); + /*86*/ virtual bool playerWillDestroy(class Player &, class BlockPos const &, class Block const &) const; + /*87*/ virtual void __unk_vfn_87(); + /*88*/ virtual void neighborChanged(class BlockSource &, class BlockPos const &, class BlockPos const &) const; + /*89*/ virtual void __unk_vfn_89(); + /*90*/ virtual void __unk_vfn_90(); + /*91*/ virtual void __unk_vfn_91(); + /*92*/ virtual void __unk_vfn_92(); + /*93*/ virtual void spawnResources(class BlockSource &, class BlockPos const &, class Block const &, std::vector *, float, int, bool) const; + /*94*/ virtual void trySpawnResourcesOnExplosion(class BlockSource &, class BlockPos const &, class Block const &, std::vector *, float, int, bool) const; + /*95*/ virtual void __unk_vfn_95(); + /*96*/ virtual void __unk_vfn_96(); + /*97*/ virtual class HitResult clip(class BlockSource &, class BlockPos const &, class Vec3 const &, class Vec3 const &, bool) const; + /*98*/ virtual bool use(class Player &, class BlockPos const &) const; + /*99*/ virtual class Block const & getPlacementBlock(class Actor &, class BlockPos const &, unsigned char, class Vec3 const &, int) const; + /*100*/ virtual int calcVariant(class BlockSource &, class BlockPos const &) const; + /*101*/ virtual void __unk_vfn_101(); + /*102*/ virtual void __unk_vfn_102(); + /*103*/ virtual void __unk_vfn_103(); + /*104*/ virtual void __unk_vfn_104(); + /*105*/ virtual void playerDestroy(class Player &, class BlockPos const &, class Block const &) const; + /*106*/ virtual void __unk_vfn_106(); + /*107*/ virtual void __unk_vfn_107(); + /*108*/ virtual bool canBeBuiltOver(class BlockSource &, class BlockPos const &) const; + /*109*/ virtual void triggerEvent(class BlockSource &, class BlockPos const &, int, int) const; + /*110*/ virtual void __unk_vfn_110(); + /*111*/ virtual void __unk_vfn_111(); + /*112*/ virtual class MobSpawnerData const * getMobToSpawn(class SpawnConditions const &, class BlockSource &) const; + /*113*/ virtual void __unk_vfn_113(); + /*114*/ virtual void __unk_vfn_114(); + /*115*/ virtual bool shouldStopFalling(class Actor &) const; + /*116*/ virtual void __unk_vfn_116(); + /*117*/ virtual float calcGroundFriction(class Mob &, class BlockPos const &) const; + /*118*/ virtual void __unk_vfn_118(); + /*119*/ virtual void __unk_vfn_119(); + /*120*/ virtual int getComparatorSignal(class BlockSource &, class BlockPos const &, class Block const &, unsigned char) const; + /*121*/ virtual bool canSlide(class BlockSource &, class BlockPos const &) const; + /*122*/ virtual void __unk_vfn_122(); + /*123*/ virtual void __unk_vfn_123(); + /*124*/ virtual void __unk_vfn_124(); + /*125*/ virtual void __unk_vfn_125(); + /*126*/ virtual void __unk_vfn_126(); + /*127*/ virtual void __unk_vfn_127(); + /*128*/ virtual void __unk_vfn_128(); + /*129*/ virtual void __unk_vfn_129(); + /*130*/ virtual void __unk_vfn_130(); + /*131*/ virtual void __unk_vfn_131(); + /*132*/ virtual int getColorForParticle(class BlockSource &, class BlockPos const &, class Block const &) const; + /*133*/ virtual void __unk_vfn_133(); + /*134*/ virtual void onGraphicsModeChanged(bool, bool, bool); + /*135*/ virtual void __unk_vfn_135(); + /*136*/ virtual float getShadeBrightness() const; + /*137*/ virtual class AABB const & getVisualShapeInWorld(class Block const &, class BlockSource &, class BlockPos const &, class AABB &, bool) const; + /*138*/ virtual class AABB const & getVisualShape(class Block const &, class AABB &, bool) const; + /*139*/ virtual class AABB const & getUIShape(class Block const &, class AABB &) const; + /*140*/ virtual int telemetryVariant(class BlockSource &, class BlockPos const &) const; + /*141*/ virtual int getVariant(class Block const &) const; + /*142*/ virtual void __unk_vfn_142(); + /*143*/ virtual class Block const & getRenderBlock() const; + /*144*/ virtual void __unk_vfn_144(); + /*145*/ virtual void __unk_vfn_145(); + /*146*/ virtual void __unk_vfn_146(); + /*147*/ virtual class BlockLegacy & init(); + /*148*/ virtual class BlockLegacy & setLightBlock(struct Brightness); + /*149*/ virtual class BlockLegacy & setLightEmission(float); + /*150*/ virtual class BlockLegacy & setExplodeable(float); + /*151*/ virtual class BlockLegacy & setDestroyTime(float); + /*152*/ virtual class BlockLegacy & setFriction(float); + /*153*/ virtual class BlockLegacy & addProperty(enum BlockProperty); + /*154*/ virtual class BlockLegacy & addState(class ItemState const &); + /*155*/ virtual class BlockLegacy & addState(class ItemState const &, unsigned __int64); + /*156*/ virtual class BlockLegacy & setAllowsRunes(bool); + /*157*/ virtual class BlockLegacy & setMapColor(class Color const &); + /*158*/ virtual void __unk_vfn_158(); + /*159*/ virtual void __unk_vfn_159(); + /*160*/ virtual void setVisualShape(class AABB const &); + /*161*/ virtual void setVisualShape(class Vec3 const &, class Vec3 const &); + /*162*/ virtual void __unk_vfn_162(); + /*163*/ virtual void __unk_vfn_163(); + /*164*/ virtual class ItemInstance getEntityResourceItem(class Random &, class BlockActor const &, int) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_JUKEBOXBLOCK + MCVAPI bool hasComparatorSignal() const; + MCVAPI bool isSignalSource() const; + MCVAPI void onPlace(class BlockSource &, class BlockPos const &) const; + MCVAPI void setupRedstoneComponent(class BlockSource &, class BlockPos const &) const; + MCVAPI bool shouldConnectToRedstone(class BlockSource &, class BlockPos const &, int) const; +#endif + +//private: + MCAPI void _dropRecording(class BlockSource &, class BlockPos const &) const; + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/JukeboxBlockActor.hpp b/LiteLoader/Header/MC/JukeboxBlockActor.hpp new file mode 100644 index 0000000..75733b8 --- /dev/null +++ b/LiteLoader/Header/MC/JukeboxBlockActor.hpp @@ -0,0 +1,45 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class JukeboxBlockActor { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_JUKEBOXBLOCKACTOR +public: + class JukeboxBlockActor& operator=(class JukeboxBlockActor const &) = delete; + JukeboxBlockActor(class JukeboxBlockActor const &) = delete; + JukeboxBlockActor() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_JUKEBOXBLOCKACTOR + MCVAPI std::unique_ptr _getUpdatePacket(class BlockSource &); + MCVAPI void _onUpdatePacket(class CompoundTag const &, class BlockSource &); + MCVAPI bool canPullOutItem(class BlockSource &, int, int, class ItemInstance const &) const; + MCVAPI bool canPushInItem(class BlockSource &, int, int, class ItemInstance const &) const; + MCVAPI class Container * getContainer(); + MCVAPI class Container const * getContainer() const; + MCVAPI int getContainerSize() const; + MCVAPI class ItemStack const & getItem(int) const; + MCVAPI int getMaxStackSize() const; + MCVAPI void load(class Level &, class CompoundTag const &, class DataLoadHelper &); + MCVAPI void onChanged(class BlockSource &); + MCVAPI bool save(class CompoundTag &) const; + MCVAPI void serverInitItemStackIds(int, int, class std::function); + MCVAPI void setItem(int, class ItemStack const &); + MCVAPI void startOpen(class Player &); + MCVAPI void stopOpen(class Player &); + MCVAPI void tick(class BlockSource &); +#endif + MCAPI void setRecord(class ItemStack const &); + MCAPI void stopPlayingRecord(class BlockSource &) const; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/JumpControl.hpp b/LiteLoader/Header/MC/JumpControl.hpp new file mode 100644 index 0000000..06ec08a --- /dev/null +++ b/LiteLoader/Header/MC/JumpControl.hpp @@ -0,0 +1,36 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class JumpControl { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_JUMPCONTROL +public: + class JumpControl& operator=(class JumpControl const &) = delete; + JumpControl(class JumpControl const &) = delete; + JumpControl() = delete; +#endif + +public: + /*0*/ virtual ~JumpControl(); + /*1*/ virtual void __unk_vfn_1(); + /*2*/ virtual void tick(class JumpControlComponent &, class Mob &); + /*3*/ virtual void __unk_vfn_3(); + /*4*/ virtual float getJumpPower(class JumpControlComponent const &, class Mob const &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_JUMPCONTROL + MCVAPI int getJumpDelay(class JumpControlComponent const &, class Mob const &) const; + MCVAPI enum JumpType getJumpType(class JumpControlComponent const &, class Mob const &) const; + MCVAPI void initializeInternal(class Mob &, struct JumpControlDescription *); + MCVAPI void resetSpeedModifier(class JumpControlComponent const &, class Mob &); + MCVAPI void setJumpType(class JumpControlComponent &, class Mob &, enum JumpType); +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/JumpControlComponent.hpp b/LiteLoader/Header/MC/JumpControlComponent.hpp new file mode 100644 index 0000000..b3f9c8c --- /dev/null +++ b/LiteLoader/Header/MC/JumpControlComponent.hpp @@ -0,0 +1,28 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class JumpControlComponent { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_JUMPCONTROLCOMPONENT +public: + class JumpControlComponent& operator=(class JumpControlComponent const &) = delete; + JumpControlComponent(class JumpControlComponent const &) = delete; + JumpControlComponent() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_JUMPCONTROLCOMPONENT +#endif + MCAPI void initializeFromDefinition(class Mob &, struct JumpControlDescription *); + MCAPI void setInternalType(std::unique_ptr); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/JumpControlDescription.hpp b/LiteLoader/Header/MC/JumpControlDescription.hpp new file mode 100644 index 0000000..ea2dc26 --- /dev/null +++ b/LiteLoader/Header/MC/JumpControlDescription.hpp @@ -0,0 +1,30 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Json.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +struct JumpControlDescription { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_JUMPCONTROLDESCRIPTION +public: + struct JumpControlDescription& operator=(struct JumpControlDescription const &) = delete; + JumpControlDescription(struct JumpControlDescription const &) = delete; + JumpControlDescription() = delete; +#endif +public: + /*0*/ virtual char const * getJsonName() const; + /*1*/ virtual ~JumpControlDescription(); + /*2*/ virtual void deserializeData(class Json::Value &); + /*3*/ virtual void serializeData(class Json::Value &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_JUMPCONTROLDESCRIPTION +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/JumpControlSystem.hpp b/LiteLoader/Header/MC/JumpControlSystem.hpp new file mode 100644 index 0000000..583f30f --- /dev/null +++ b/LiteLoader/Header/MC/JumpControlSystem.hpp @@ -0,0 +1,28 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class JumpControlSystem { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_JUMPCONTROLSYSTEM +public: + class JumpControlSystem& operator=(class JumpControlSystem const &) = delete; + JumpControlSystem(class JumpControlSystem const &) = delete; + JumpControlSystem() = delete; +#endif + +public: + /*0*/ virtual ~JumpControlSystem(); + /*1*/ virtual void tick(class EntityRegistry &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_JUMPCONTROLSYSTEM +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/JunglePyramidPiece.hpp b/LiteLoader/Header/MC/JunglePyramidPiece.hpp new file mode 100644 index 0000000..64f40ca --- /dev/null +++ b/LiteLoader/Header/MC/JunglePyramidPiece.hpp @@ -0,0 +1,30 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "StructurePiece.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class JunglePyramidPiece : public StructurePiece { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_JUNGLEPYRAMIDPIECE +public: + class JunglePyramidPiece& operator=(class JunglePyramidPiece const &) = delete; + JunglePyramidPiece(class JunglePyramidPiece const &) = delete; + JunglePyramidPiece() = delete; +#endif + +public: + /*0*/ virtual ~JunglePyramidPiece(); + /*3*/ virtual enum StructurePieceType getType() const; + /*5*/ virtual bool postProcess(class BlockSource &, class Random &, class BoundingBox const &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_JUNGLEPYRAMIDPIECE +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/KelpBlock.hpp b/LiteLoader/Header/MC/KelpBlock.hpp new file mode 100644 index 0000000..b07d662 --- /dev/null +++ b/LiteLoader/Header/MC/KelpBlock.hpp @@ -0,0 +1,81 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "BlockLegacy.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class KelpBlock : public BlockLegacy { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_KELPBLOCK +public: + class KelpBlock& operator=(class KelpBlock const &) = delete; + KelpBlock(class KelpBlock const &) = delete; + KelpBlock() = delete; +#endif + +public: + /*0*/ virtual ~KelpBlock(); + /*1*/ virtual void tick(class BlockSource &, class BlockPos const &, class Random &) const; + /*10*/ virtual class AABB const & getAABB(class BlockSource &, class BlockPos const &, class Block const &, class AABB &, bool) const; + /*18*/ virtual void __unk_vfn_18(); + /*24*/ virtual void __unk_vfn_24(); + /*25*/ virtual void __unk_vfn_25(); + /*26*/ virtual void __unk_vfn_26(); + /*27*/ virtual void __unk_vfn_27(); + /*28*/ virtual void __unk_vfn_28(); + /*30*/ virtual void __unk_vfn_30(); + /*31*/ virtual void __unk_vfn_31(); + /*32*/ virtual void __unk_vfn_32(); + /*33*/ virtual void __unk_vfn_33(); + /*34*/ virtual void __unk_vfn_34(); + /*35*/ virtual void __unk_vfn_35(); + /*36*/ virtual void __unk_vfn_36(); + /*38*/ virtual void __unk_vfn_38(); + /*39*/ virtual void __unk_vfn_39(); + /*40*/ virtual void __unk_vfn_40(); + /*42*/ virtual void __unk_vfn_42(); + /*43*/ virtual void __unk_vfn_43(); + /*49*/ virtual void __unk_vfn_49(); + /*50*/ virtual bool canContainLiquid() const; + /*52*/ virtual void __unk_vfn_52(); + /*59*/ virtual void onPlace(class BlockSource &, class BlockPos const &) const; + /*67*/ virtual void __unk_vfn_67(); + /*73*/ virtual void __unk_vfn_73(); + /*75*/ virtual bool onFertilized(class BlockSource &, class BlockPos const &, class Actor *, enum FertilizerType) const; + /*76*/ virtual bool mayConsumeFertilizer(class BlockSource &) const; + /*77*/ virtual bool canBeFertilized(class BlockSource &, class BlockPos const &, class Block const &) const; + /*81*/ virtual bool mayPlace(class BlockSource &, class BlockPos const &) const; + /*87*/ virtual void __unk_vfn_87(); + /*88*/ virtual void neighborChanged(class BlockSource &, class BlockPos const &, class BlockPos const &) const; + /*91*/ virtual class ItemInstance getResourceItem(class Random &, class Block const &, int) const; + /*92*/ virtual class ItemInstance asItemInstance(class BlockSource &, class BlockPos const &, class Block const &) const; + /*95*/ virtual void __unk_vfn_95(); + /*106*/ virtual bool canSurvive(class BlockSource &, class BlockPos const &) const; + /*109*/ virtual void __unk_vfn_109(); + /*116*/ virtual void __unk_vfn_116(); + /*118*/ virtual void __unk_vfn_118(); + /*119*/ virtual void __unk_vfn_119(); + /*129*/ virtual int getColor(class Block const &) const; + /*134*/ virtual void onGraphicsModeChanged(bool, bool, bool); + /*142*/ virtual void __unk_vfn_142(); + /*158*/ virtual void __unk_vfn_158(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_KELPBLOCK + MCVAPI bool canBeSilkTouched() const; + MCVAPI bool waterSpreadCausesSpawn() const; +#endif + MCAPI bool shouldGrow(class BlockSource &, class BlockPos const &) const; + +//private: + MCAPI void _tryGrow(class BlockSource &, class BlockPos const &, int) const; + MCAPI void checkAlive(class BlockSource &, class BlockPos const &) const; + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/KelpFeature.hpp b/LiteLoader/Header/MC/KelpFeature.hpp new file mode 100644 index 0000000..607ee16 --- /dev/null +++ b/LiteLoader/Header/MC/KelpFeature.hpp @@ -0,0 +1,29 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Feature.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class KelpFeature : public Feature { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_KELPFEATURE +public: + class KelpFeature& operator=(class KelpFeature const &) = delete; + KelpFeature(class KelpFeature const &) = delete; + KelpFeature() = delete; +#endif + +public: + /*0*/ virtual ~KelpFeature(); + /*1*/ virtual bool place(class BlockSource &, class BlockPos const &, class Random &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_KELPFEATURE +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/KeyFrameLerpMode.hpp b/LiteLoader/Header/MC/KeyFrameLerpMode.hpp new file mode 100644 index 0000000..30088c5 --- /dev/null +++ b/LiteLoader/Header/MC/KeyFrameLerpMode.hpp @@ -0,0 +1,27 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class KeyFrameLerpMode { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_KEYFRAMELERPMODE +public: + class KeyFrameLerpMode& operator=(class KeyFrameLerpMode const &) = delete; + KeyFrameLerpMode(class KeyFrameLerpMode const &) = delete; + KeyFrameLerpMode() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_KEYFRAMELERPMODE +#endif + MCAPI void setLerpStyle(enum KeyFrameLerpStyle); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/KeyFrameTransform.hpp b/LiteLoader/Header/MC/KeyFrameTransform.hpp new file mode 100644 index 0000000..f448bf4 --- /dev/null +++ b/LiteLoader/Header/MC/KeyFrameTransform.hpp @@ -0,0 +1,31 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class KeyFrameTransform { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_KEYFRAMETRANSFORM +public: + class KeyFrameTransform& operator=(class KeyFrameTransform const &) = delete; + KeyFrameTransform(class KeyFrameTransform const &) = delete; + KeyFrameTransform() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_KEYFRAMETRANSFORM +#endif + MCAPI KeyFrameTransform(float); + MCAPI KeyFrameTransform(class KeyFrameTransform &&); + MCAPI class KeyFrameTransform & operator=(class KeyFrameTransform &&); + MCAPI void set(class ExpressionNode const &); + MCAPI static void computeCubicPolynomial(class KeyFrameTransform *, class KeyFrameTransform &, class KeyFrameTransform &, class KeyFrameTransform *); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/KeyFrameTransformData.hpp b/LiteLoader/Header/MC/KeyFrameTransformData.hpp new file mode 100644 index 0000000..85fbedc --- /dev/null +++ b/LiteLoader/Header/MC/KeyFrameTransformData.hpp @@ -0,0 +1,28 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class KeyFrameTransformData { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_KEYFRAMETRANSFORMDATA +public: + class KeyFrameTransformData& operator=(class KeyFrameTransformData const &) = delete; + KeyFrameTransformData(class KeyFrameTransformData const &) = delete; + KeyFrameTransformData() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_KEYFRAMETRANSFORMDATA +#endif + MCAPI void addChannelTransform(class ExpressionNode const &, int); + MCAPI ~KeyFrameTransformData(); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/KeyManager.hpp b/LiteLoader/Header/MC/KeyManager.hpp new file mode 100644 index 0000000..a4ca8c9 --- /dev/null +++ b/LiteLoader/Header/MC/KeyManager.hpp @@ -0,0 +1,29 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class KeyManager { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_KEYMANAGER +public: + class KeyManager& operator=(class KeyManager const &) = delete; + KeyManager(class KeyManager const &) = delete; + KeyManager() = delete; +#endif + +public: + /*0*/ virtual ~KeyManager(); + /*1*/ virtual bool isValid() const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_KEYMANAGER +#endif + MCAPI KeyManager(std::string const &, enum Crypto::Asymmetric::System); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/KeyOrNameResult.hpp b/LiteLoader/Header/MC/KeyOrNameResult.hpp new file mode 100644 index 0000000..86b44b8 --- /dev/null +++ b/LiteLoader/Header/MC/KeyOrNameResult.hpp @@ -0,0 +1,26 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +struct KeyOrNameResult { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_KEYORNAMERESULT +public: + struct KeyOrNameResult& operator=(struct KeyOrNameResult const &) = delete; + KeyOrNameResult(struct KeyOrNameResult const &) = delete; + KeyOrNameResult() = delete; +#endif +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_KEYORNAMERESULT +#endif + MCAPI ~KeyOrNameResult(); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/KickCommand.hpp b/LiteLoader/Header/MC/KickCommand.hpp new file mode 100644 index 0000000..ac3fc00 --- /dev/null +++ b/LiteLoader/Header/MC/KickCommand.hpp @@ -0,0 +1,35 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Command.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class KickCommand : public Command { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_KICKCOMMAND +public: + class KickCommand& operator=(class KickCommand const &) = delete; + KickCommand(class KickCommand const &) = delete; + KickCommand() = delete; +#endif + +public: + /*0*/ virtual ~KickCommand(); + /*1*/ virtual void execute(class CommandOrigin const &, class CommandOutput &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_KICKCOMMAND +#endif + MCAPI static void setup(class CommandRegistry &); + +//private: + MCAPI void _kickPlayer(class CommandOrigin const &, class CommandOutput &, class Player const &, class Level *, std::string const &, std::string const &) const; + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/KillCommand.hpp b/LiteLoader/Header/MC/KillCommand.hpp new file mode 100644 index 0000000..a57563b --- /dev/null +++ b/LiteLoader/Header/MC/KillCommand.hpp @@ -0,0 +1,30 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Command.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class KillCommand : public Command { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_KILLCOMMAND +public: + class KillCommand& operator=(class KillCommand const &) = delete; + KillCommand(class KillCommand const &) = delete; + KillCommand() = delete; +#endif + +public: + /*0*/ virtual ~KillCommand(); + /*1*/ virtual void execute(class CommandOrigin const &, class CommandOutput &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_KILLCOMMAND +#endif + MCAPI static void setup(class CommandRegistry &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/KnockbackArmorUpdater.hpp b/LiteLoader/Header/MC/KnockbackArmorUpdater.hpp new file mode 100644 index 0000000..5741ca6 --- /dev/null +++ b/LiteLoader/Header/MC/KnockbackArmorUpdater.hpp @@ -0,0 +1,47 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class KnockbackArmorUpdater { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_KNOCKBACKARMORUPDATER +public: + class KnockbackArmorUpdater& operator=(class KnockbackArmorUpdater const &) = delete; + KnockbackArmorUpdater(class KnockbackArmorUpdater const &) = delete; + KnockbackArmorUpdater() = delete; +#endif + +public: + /*0*/ virtual ~KnockbackArmorUpdater(); + /*1*/ virtual void __unk_vfn_1(); + /*2*/ virtual void __unk_vfn_2(); + /*3*/ virtual void __unk_vfn_3(); + /*4*/ virtual void __unk_vfn_4(); + /*5*/ virtual void __unk_vfn_5(); + /*6*/ virtual void __unk_vfn_6(); + /*7*/ virtual void __unk_vfn_7(); + /*8*/ virtual void __unk_vfn_8(); + /*9*/ virtual void __unk_vfn_9(); + /*10*/ virtual void __unk_vfn_10(); + /*11*/ virtual void __unk_vfn_11(); + /*12*/ virtual void __unk_vfn_12(); + /*13*/ virtual void __unk_vfn_13(); + /*14*/ virtual void __unk_vfn_14(); + /*15*/ virtual void __unk_vfn_15(); + /*16*/ virtual void __unk_vfn_16(); + /*17*/ virtual void __unk_vfn_17(); + /*18*/ virtual void __unk_vfn_18(); + /*19*/ virtual void __unk_vfn_19(); + /*20*/ virtual enum EventResult onActorEquippedArmor(class Actor &, class ItemInstance const &, enum ArmorSlot); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_KNOCKBACKARMORUPDATER +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/KnockbackRoarGoal.hpp b/LiteLoader/Header/MC/KnockbackRoarGoal.hpp new file mode 100644 index 0000000..06b1d9d --- /dev/null +++ b/LiteLoader/Header/MC/KnockbackRoarGoal.hpp @@ -0,0 +1,34 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class KnockbackRoarGoal { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_KNOCKBACKROARGOAL +public: + class KnockbackRoarGoal& operator=(class KnockbackRoarGoal const &) = delete; + KnockbackRoarGoal(class KnockbackRoarGoal const &) = delete; + KnockbackRoarGoal() = delete; +#endif + +public: + /*0*/ virtual ~KnockbackRoarGoal(); + /*1*/ virtual bool canUse(); + /*2*/ virtual bool canContinueToUse(); + /*3*/ virtual void __unk_vfn_3(); + /*4*/ virtual void start(); + /*5*/ virtual void stop(); + /*6*/ virtual void tick(); + /*7*/ virtual void appendDebugInfo(std::string &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_KNOCKBACKROARGOAL +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/KnockbackRules.hpp b/LiteLoader/Header/MC/KnockbackRules.hpp new file mode 100644 index 0000000..d2be279 --- /dev/null +++ b/LiteLoader/Header/MC/KnockbackRules.hpp @@ -0,0 +1,18 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +namespace KnockbackRules { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA + MCAPI void doKnockbackAttack(class Mob &, class Mob &, class Vec2 const &, float); + MCAPI bool useLegacyKnockback(class Level const &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/LabTableContainerManagerModel.hpp b/LiteLoader/Header/MC/LabTableContainerManagerModel.hpp new file mode 100644 index 0000000..341e958 --- /dev/null +++ b/LiteLoader/Header/MC/LabTableContainerManagerModel.hpp @@ -0,0 +1,36 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "ContainerManagerModel.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class LabTableContainerManagerModel : public ContainerManagerModel { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_LABTABLECONTAINERMANAGERMODEL +public: + class LabTableContainerManagerModel& operator=(class LabTableContainerManagerModel const &) = delete; + LabTableContainerManagerModel(class LabTableContainerManagerModel const &) = delete; + LabTableContainerManagerModel() = delete; +#endif + +public: + /*0*/ virtual ~LabTableContainerManagerModel(); + /*6*/ virtual std::vector getItemCopies() const; + /*7*/ virtual void setSlot(int, class ItemStack const &, bool); + /*8*/ virtual class ItemStack const & getSlot(int) const; + /*9*/ virtual void setData(int, int); + /*10*/ virtual void broadcastChanges(); + /*11*/ virtual bool isValid(float); + /*12*/ virtual class ContainerScreenContext _postInit(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_LABTABLECONTAINERMANAGERMODEL +#endif + MCAPI static int const INPUT_SLOTS; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/LabTablePacket.hpp b/LiteLoader/Header/MC/LabTablePacket.hpp new file mode 100644 index 0000000..42bd3c7 --- /dev/null +++ b/LiteLoader/Header/MC/LabTablePacket.hpp @@ -0,0 +1,32 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Packet.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class LabTablePacket : public Packet { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_LABTABLEPACKET +public: + class LabTablePacket& operator=(class LabTablePacket const &) = delete; + LabTablePacket(class LabTablePacket const &) = delete; + LabTablePacket() = delete; +#endif + +public: + /*0*/ virtual ~LabTablePacket(); + /*1*/ virtual enum MinecraftPacketIds getId() const; + /*2*/ virtual std::string getName() const; + /*3*/ virtual void write(class BinaryStream &) const; + /*4*/ virtual enum StreamReadResult read(class ReadOnlyBinaryStream &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_LABTABLEPACKET +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/LabTableReaction.hpp b/LiteLoader/Header/MC/LabTableReaction.hpp new file mode 100644 index 0000000..589da4e --- /dev/null +++ b/LiteLoader/Header/MC/LabTableReaction.hpp @@ -0,0 +1,28 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class LabTableReaction { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_LABTABLEREACTION +public: + class LabTableReaction& operator=(class LabTableReaction const &) = delete; + LabTableReaction(class LabTableReaction const &) = delete; + LabTableReaction() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_LABTABLEREACTION +#endif + MCAPI void addComponent(std::unique_ptr); + MCAPI static std::unique_ptr createReaction(enum LabTableReactionType, class BlockPos const &, bool); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/LabTableReactionComponent.hpp b/LiteLoader/Header/MC/LabTableReactionComponent.hpp new file mode 100644 index 0000000..496f594 --- /dev/null +++ b/LiteLoader/Header/MC/LabTableReactionComponent.hpp @@ -0,0 +1,29 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class LabTableReactionComponent { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_LABTABLEREACTIONCOMPONENT +public: + class LabTableReactionComponent& operator=(class LabTableReactionComponent const &) = delete; + LabTableReactionComponent(class LabTableReactionComponent const &) = delete; + LabTableReactionComponent() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_LABTABLEREACTIONCOMPONENT + MCVAPI void _onEnd(class LabTableReaction &, class BlockSource &); + MCVAPI void _onStart(class LabTableReaction &, class BlockSource &); + MCVAPI void _onTick(class LabTableReaction &, class BlockSource &); +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/LadderBlock.hpp b/LiteLoader/Header/MC/LadderBlock.hpp new file mode 100644 index 0000000..a6ba109 --- /dev/null +++ b/LiteLoader/Header/MC/LadderBlock.hpp @@ -0,0 +1,70 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "BlockLegacy.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class LadderBlock : public BlockLegacy { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_LADDERBLOCK +public: + class LadderBlock& operator=(class LadderBlock const &) = delete; + LadderBlock(class LadderBlock const &) = delete; + LadderBlock() = delete; +#endif + +public: + /*0*/ virtual ~LadderBlock(); + /*10*/ virtual class AABB const & getAABB(class BlockSource &, class BlockPos const &, class Block const &, class AABB &, bool) const; + /*13*/ virtual bool getLiquidClipVolume(class BlockSource &, class BlockPos const &, class AABB &) const; + /*18*/ virtual void __unk_vfn_18(); + /*24*/ virtual void __unk_vfn_24(); + /*25*/ virtual void __unk_vfn_25(); + /*26*/ virtual void __unk_vfn_26(); + /*27*/ virtual void __unk_vfn_27(); + /*28*/ virtual void __unk_vfn_28(); + /*29*/ virtual bool isWaterBlocking() const; + /*30*/ virtual void __unk_vfn_30(); + /*31*/ virtual void __unk_vfn_31(); + /*32*/ virtual void __unk_vfn_32(); + /*33*/ virtual void __unk_vfn_33(); + /*34*/ virtual void __unk_vfn_34(); + /*35*/ virtual void __unk_vfn_35(); + /*36*/ virtual void __unk_vfn_36(); + /*38*/ virtual void __unk_vfn_38(); + /*39*/ virtual void __unk_vfn_39(); + /*40*/ virtual void __unk_vfn_40(); + /*42*/ virtual void __unk_vfn_42(); + /*43*/ virtual void __unk_vfn_43(); + /*46*/ virtual class Block const & sanitizeFillBlock(class BlockSource &, class BlockPos const &, class Block const &) const; + /*49*/ virtual void __unk_vfn_49(); + /*50*/ virtual bool canContainLiquid() const; + /*52*/ virtual void __unk_vfn_52(); + /*67*/ virtual void __unk_vfn_67(); + /*73*/ virtual void __unk_vfn_73(); + /*80*/ virtual bool mayPlace(class BlockSource &, class BlockPos const &, unsigned char) const; + /*87*/ virtual void __unk_vfn_87(); + /*88*/ virtual void neighborChanged(class BlockSource &, class BlockPos const &, class BlockPos const &) const; + /*90*/ virtual int getResourceCount(class Random &, class Block const &, int, bool) const; + /*95*/ virtual void __unk_vfn_95(); + /*99*/ virtual class Block const & getPlacementBlock(class Actor &, class BlockPos const &, unsigned char, class Vec3 const &, int) const; + /*109*/ virtual void __unk_vfn_109(); + /*116*/ virtual void __unk_vfn_116(); + /*118*/ virtual void __unk_vfn_118(); + /*119*/ virtual void __unk_vfn_119(); + /*138*/ virtual class AABB const & getVisualShape(class Block const &, class AABB &, bool) const; + /*142*/ virtual void __unk_vfn_142(); + /*158*/ virtual void __unk_vfn_158(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_LADDERBLOCK + MCVAPI bool canBeSilkTouched() const; + MCVAPI bool waterSpreadCausesSpawn() const; +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/LakeFeature.hpp b/LiteLoader/Header/MC/LakeFeature.hpp new file mode 100644 index 0000000..a9010ed --- /dev/null +++ b/LiteLoader/Header/MC/LakeFeature.hpp @@ -0,0 +1,34 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Feature.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class LakeFeature : public Feature { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_LAKEFEATURE +public: + class LakeFeature& operator=(class LakeFeature const &) = delete; + LakeFeature(class LakeFeature const &) = delete; + LakeFeature() = delete; +#endif + +public: + /*0*/ virtual ~LakeFeature(); + /*1*/ virtual bool place(class BlockSource &, class BlockPos const &, class Random &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_LAKEFEATURE +#endif + +//private: + MCAPI bool _check(class BlockPos const &, class gsl::span) const; + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/LanternBlock.hpp b/LiteLoader/Header/MC/LanternBlock.hpp new file mode 100644 index 0000000..006f21a --- /dev/null +++ b/LiteLoader/Header/MC/LanternBlock.hpp @@ -0,0 +1,82 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "BlockLegacy.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class LanternBlock : public BlockLegacy { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_LANTERNBLOCK +public: + class LanternBlock& operator=(class LanternBlock const &) = delete; + LanternBlock(class LanternBlock const &) = delete; + LanternBlock() = delete; +#endif + +public: + /*0*/ virtual ~LanternBlock(); + /*1*/ virtual void tick(class BlockSource &, class BlockPos const &, class Random &) const; + /*18*/ virtual void __unk_vfn_18(); + /*24*/ virtual void __unk_vfn_24(); + /*25*/ virtual void __unk_vfn_25(); + /*26*/ virtual void __unk_vfn_26(); + /*27*/ virtual void __unk_vfn_27(); + /*28*/ virtual void __unk_vfn_28(); + /*29*/ virtual bool isWaterBlocking() const; + /*30*/ virtual void __unk_vfn_30(); + /*31*/ virtual void __unk_vfn_31(); + /*32*/ virtual void __unk_vfn_32(); + /*33*/ virtual void __unk_vfn_33(); + /*34*/ virtual void __unk_vfn_34(); + /*35*/ virtual void __unk_vfn_35(); + /*36*/ virtual void __unk_vfn_36(); + /*38*/ virtual void __unk_vfn_38(); + /*39*/ virtual void __unk_vfn_39(); + /*40*/ virtual void __unk_vfn_40(); + /*42*/ virtual void __unk_vfn_42(); + /*43*/ virtual void __unk_vfn_43(); + /*49*/ virtual void __unk_vfn_49(); + /*50*/ virtual bool canContainLiquid() const; + /*52*/ virtual void __unk_vfn_52(); + /*56*/ virtual bool checkIsPathable(class Actor &, class BlockPos const &, class BlockPos const &) const; + /*67*/ virtual void __unk_vfn_67(); + /*68*/ virtual void movedByPiston(class BlockSource &, class BlockPos const &) const; + /*73*/ virtual void __unk_vfn_73(); + /*81*/ virtual bool mayPlace(class BlockSource &, class BlockPos const &) const; + /*86*/ virtual bool playerWillDestroy(class Player &, class BlockPos const &, class Block const &) const; + /*87*/ virtual void __unk_vfn_87(); + /*88*/ virtual void neighborChanged(class BlockSource &, class BlockPos const &, class BlockPos const &) const; + /*91*/ virtual class ItemInstance getResourceItem(class Random &, class Block const &, int) const; + /*92*/ virtual class ItemInstance asItemInstance(class BlockSource &, class BlockPos const &, class Block const &) const; + /*95*/ virtual void __unk_vfn_95(); + /*99*/ virtual class Block const & getPlacementBlock(class Actor &, class BlockPos const &, unsigned char, class Vec3 const &, int) const; + /*105*/ virtual void playerDestroy(class Player &, class BlockPos const &, class Block const &) const; + /*106*/ virtual bool canSurvive(class BlockSource &, class BlockPos const &) const; + /*109*/ virtual void __unk_vfn_109(); + /*116*/ virtual void __unk_vfn_116(); + /*118*/ virtual void __unk_vfn_118(); + /*119*/ virtual void __unk_vfn_119(); + /*138*/ virtual class AABB const & getVisualShape(class Block const &, class AABB &, bool) const; + /*142*/ virtual void __unk_vfn_142(); + /*158*/ virtual void __unk_vfn_158(); + /*159*/ virtual class ItemInstance getSilkTouchItemInstance(class Block const &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_LANTERNBLOCK + MCVAPI bool canBeSilkTouched() const; + MCVAPI bool waterSpreadCausesSpawn() const; +#endif + MCAPI LanternBlock(std::string const &, int); + +//private: + MCAPI void _checkToQueueTick(class BlockSource &, class BlockPos const &) const; + MCAPI bool _couldHang(class BlockSource &, class BlockPos const &) const; + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/LargeCaveFeature.hpp b/LiteLoader/Header/MC/LargeCaveFeature.hpp new file mode 100644 index 0000000..b694860 --- /dev/null +++ b/LiteLoader/Header/MC/LargeCaveFeature.hpp @@ -0,0 +1,35 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class LargeCaveFeature { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_LARGECAVEFEATURE +public: + class LargeCaveFeature& operator=(class LargeCaveFeature const &) = delete; + LargeCaveFeature(class LargeCaveFeature const &) = delete; + LargeCaveFeature() = delete; +#endif + +public: + /*0*/ virtual ~LargeCaveFeature(); + /*1*/ virtual bool carve(class BlockVolume &, class BiomeSource &, class Random &, class ChunkPos const &, class Vec3 const &, class Vec3 const &, int, int, int, int, int, int, float, float) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_LARGECAVEFEATURE +#endif + MCAPI void apply(class BlockVolume &, class ChunkPos const &, class BiomeSource &, class Random &, unsigned int); + +//protected: + MCAPI void addFeature(class BlockVolume &, class BiomeSource &, class ChunkPos const &, class Random &, int, int); + MCAPI void addTunnel(class BlockVolume &, class BiomeSource &, class Random &, class ChunkPos const &, class Vec3 const &, class Vec3 const &, float, float, float, int, int, float) const; + +protected: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/LargeFireball.hpp b/LiteLoader/Header/MC/LargeFireball.hpp new file mode 100644 index 0000000..3bc56a7 --- /dev/null +++ b/LiteLoader/Header/MC/LargeFireball.hpp @@ -0,0 +1,49 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Actor.hpp" +#include "Fireball.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class LargeFireball : public Fireball { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_LARGEFIREBALL +public: + class LargeFireball& operator=(class LargeFireball const &) = delete; + LargeFireball(class LargeFireball const &) = delete; + LargeFireball() = delete; +#endif + +public: + /*7*/ virtual ~LargeFireball(); + /*30*/ virtual void __unk_vfn_30(); + /*54*/ virtual void __unk_vfn_54(); + /*61*/ virtual void __unk_vfn_61(); + /*76*/ virtual void __unk_vfn_76(); + /*81*/ virtual void __unk_vfn_81(); + /*88*/ virtual void __unk_vfn_88(); + /*90*/ virtual void __unk_vfn_90(); + /*98*/ virtual void __unk_vfn_98(); + /*100*/ virtual void __unk_vfn_100(); + /*121*/ virtual void __unk_vfn_121(); + /*169*/ virtual void __unk_vfn_169(); + /*182*/ virtual void __unk_vfn_182(); + /*206*/ virtual void __unk_vfn_206(); + /*207*/ virtual void __unk_vfn_207(); + /*228*/ virtual void __unk_vfn_228(); + /*231*/ virtual void __unk_vfn_231(); + /*238*/ virtual void __unk_vfn_238(); + /*246*/ virtual void __unk_vfn_246(); + /*257*/ virtual void __unk_vfn_257(); + /*259*/ virtual void __unk_vfn_259(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_LARGEFIREBALL +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/LargeHellCaveFeature.hpp b/LiteLoader/Header/MC/LargeHellCaveFeature.hpp new file mode 100644 index 0000000..9f4092d --- /dev/null +++ b/LiteLoader/Header/MC/LargeHellCaveFeature.hpp @@ -0,0 +1,32 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class LargeHellCaveFeature { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_LARGEHELLCAVEFEATURE +public: + class LargeHellCaveFeature& operator=(class LargeHellCaveFeature const &) = delete; + LargeHellCaveFeature(class LargeHellCaveFeature const &) = delete; + LargeHellCaveFeature() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_LARGEHELLCAVEFEATURE +#endif + +//protected: + MCAPI void addFeature(class BlockVolume &, class LevelChunk &, class Random &, int, int); + MCAPI void addTunnel(class BlockVolume &, class Random &, class LevelChunk &, class Vec3 const &, float, float, float, int, int, float) const; + +protected: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/LavaSlime.hpp b/LiteLoader/Header/MC/LavaSlime.hpp new file mode 100644 index 0000000..9526b46 --- /dev/null +++ b/LiteLoader/Header/MC/LavaSlime.hpp @@ -0,0 +1,63 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Actor.hpp" +#include "Slime.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class LavaSlime : public Slime { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_LAVASLIME +public: + class LavaSlime& operator=(class LavaSlime const &) = delete; + LavaSlime(class LavaSlime const &) = delete; + LavaSlime() = delete; +#endif + +public: + /*1*/ virtual void reloadHardcoded(enum Actor::InitializationMethod, class VariantParameterList const &); + /*7*/ virtual ~LavaSlime(); + /*30*/ virtual void __unk_vfn_30(); + /*54*/ virtual void __unk_vfn_54(); + /*61*/ virtual void __unk_vfn_61(); + /*68*/ virtual bool isInLava() const; + /*76*/ virtual void __unk_vfn_76(); + /*80*/ virtual float getBrightness(float) const; + /*81*/ virtual void __unk_vfn_81(); + /*88*/ virtual void __unk_vfn_88(); + /*90*/ virtual void __unk_vfn_90(); + /*96*/ virtual bool isOnFire() const; + /*98*/ virtual void __unk_vfn_98(); + /*100*/ virtual void __unk_vfn_100(); + /*121*/ virtual void __unk_vfn_121(); + /*169*/ virtual void __unk_vfn_169(); + /*182*/ virtual void __unk_vfn_182(); + /*206*/ virtual void __unk_vfn_206(); + /*207*/ virtual void __unk_vfn_207(); + /*228*/ virtual void __unk_vfn_228(); + /*231*/ virtual void __unk_vfn_231(); + /*238*/ virtual void __unk_vfn_238(); + /*246*/ virtual void __unk_vfn_246(); + /*257*/ virtual void __unk_vfn_257(); + /*282*/ virtual bool checkSpawnRules(bool); + /*290*/ virtual void __unk_vfn_290(); + /*300*/ virtual void __unk_vfn_300(); + /*305*/ virtual int getArmorValue(); + /*332*/ virtual void __unk_vfn_332(); + /*337*/ virtual void jumpFromGround(); + /*348*/ virtual void __unk_vfn_348(); + /*350*/ virtual bool canDealDamage(); + /*354*/ virtual bool doPlayLandSound(); + /*357*/ virtual void decreaseSquish(); + /*358*/ virtual std::unique_ptr createChild(int); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_LAVASLIME +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/LayDownGoal.hpp b/LiteLoader/Header/MC/LayDownGoal.hpp new file mode 100644 index 0000000..cc08020 --- /dev/null +++ b/LiteLoader/Header/MC/LayDownGoal.hpp @@ -0,0 +1,34 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class LayDownGoal { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_LAYDOWNGOAL +public: + class LayDownGoal& operator=(class LayDownGoal const &) = delete; + LayDownGoal(class LayDownGoal const &) = delete; + LayDownGoal() = delete; +#endif + +public: + /*0*/ virtual ~LayDownGoal(); + /*1*/ virtual bool canUse(); + /*2*/ virtual bool canContinueToUse(); + /*3*/ virtual void __unk_vfn_3(); + /*4*/ virtual void start(); + /*5*/ virtual void stop(); + /*6*/ virtual void tick(); + /*7*/ virtual void appendDebugInfo(std::string &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_LAYDOWNGOAL +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/LayEggGoal.hpp b/LiteLoader/Header/MC/LayEggGoal.hpp new file mode 100644 index 0000000..02f9f0c --- /dev/null +++ b/LiteLoader/Header/MC/LayEggGoal.hpp @@ -0,0 +1,44 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "BaseMoveToGoal.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class LayEggGoal : public BaseMoveToGoal { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_LAYEGGGOAL +public: + class LayEggGoal& operator=(class LayEggGoal const &) = delete; + LayEggGoal(class LayEggGoal const &) = delete; + LayEggGoal() = delete; +#endif + +public: + /*0*/ virtual ~LayEggGoal(); + /*1*/ virtual bool canUse(); + /*2*/ virtual bool canContinueToUse(); + /*3*/ virtual void __unk_vfn_3(); + /*4*/ virtual void start(); + /*6*/ virtual void tick(); + /*7*/ virtual void appendDebugInfo(std::string &) const; + /*8*/ virtual void __unk_vfn_8(); + /*9*/ virtual void __unk_vfn_9(); + /*11*/ virtual bool isValidTarget(class BlockSource &, class BlockPos const &); + /*14*/ virtual void _moveToBlock(); + /*17*/ virtual bool findTargetBlock(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_LAYEGGGOAL +#endif + +//protected: + MCAPI void _layEgg(class BlockPos const &); + +protected: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/LayerBiomeSource.hpp b/LiteLoader/Header/MC/LayerBiomeSource.hpp new file mode 100644 index 0000000..a0b51bc --- /dev/null +++ b/LiteLoader/Header/MC/LayerBiomeSource.hpp @@ -0,0 +1,36 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class LayerBiomeSource { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_LAYERBIOMESOURCE +public: + class LayerBiomeSource& operator=(class LayerBiomeSource const &) = delete; + LayerBiomeSource(class LayerBiomeSource const &) = delete; + LayerBiomeSource() = delete; +#endif + +public: + /*0*/ virtual ~LayerBiomeSource(); + /*1*/ virtual void fillBiomes(class LevelChunk &) const; + /*2*/ virtual class BiomeArea getBiomeArea(class BoundingBox const &, unsigned int) const = 0; + /*3*/ virtual bool containsOnly(int, int, int, class gsl::span) const = 0; + /*4*/ virtual class Biome const * getBiome(int, int) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_LAYERBIOMESOURCE +#endif + +//protected: + MCAPI void _getBiomeArea(class Layer const &, class BoundingBox const &, unsigned int, class BiomeArea &) const; + +protected: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/LeadItem.hpp b/LiteLoader/Header/MC/LeadItem.hpp new file mode 100644 index 0000000..960302f --- /dev/null +++ b/LiteLoader/Header/MC/LeadItem.hpp @@ -0,0 +1,47 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Item.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class LeadItem : public Item { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_LEADITEM +public: + class LeadItem& operator=(class LeadItem const &) = delete; + LeadItem(class LeadItem const &) = delete; + LeadItem() = delete; +#endif + +public: + /*0*/ virtual ~LeadItem(); + /*5*/ virtual void __unk_vfn_5(); + /*26*/ virtual void __unk_vfn_26(); + /*27*/ virtual void __unk_vfn_27(); + /*31*/ virtual void __unk_vfn_31(); + /*32*/ virtual void __unk_vfn_32(); + /*34*/ virtual void __unk_vfn_34(); + /*37*/ virtual void __unk_vfn_37(); + /*43*/ virtual void __unk_vfn_43(); + /*46*/ virtual void __unk_vfn_46(); + /*47*/ virtual void __unk_vfn_47(); + /*49*/ virtual void __unk_vfn_49(); + /*50*/ virtual void __unk_vfn_50(); + /*79*/ virtual void __unk_vfn_79(); + /*80*/ virtual void __unk_vfn_80(); + /*90*/ virtual void __unk_vfn_90(); + /*97*/ virtual void __unk_vfn_97(); + /*99*/ virtual bool _useOn(class ItemStack &, class Actor &, class BlockPos, unsigned char, float, float, float) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_LEADITEM +#endif + MCAPI static bool bindPlayerMobs(class Actor &, int, int, int, class ItemInstance *); + MCAPI static bool canBindPlayerMobs(class Actor const &, class BlockPos const &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/LeafBlock.hpp b/LiteLoader/Header/MC/LeafBlock.hpp new file mode 100644 index 0000000..76c74b0 --- /dev/null +++ b/LiteLoader/Header/MC/LeafBlock.hpp @@ -0,0 +1,76 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "BlockLegacy.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class LeafBlock : public BlockLegacy { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_LEAFBLOCK +public: + class LeafBlock& operator=(class LeafBlock const &) = delete; + LeafBlock(class LeafBlock const &) = delete; + LeafBlock() = delete; +#endif + +public: + /*0*/ virtual ~LeafBlock(); + /*1*/ virtual void tick(class BlockSource &, class BlockPos const &, class Random &) const; + /*18*/ virtual void __unk_vfn_18(); + /*21*/ virtual bool canProvideSupport(class Block const &, unsigned char, enum BlockSupportType) const; + /*24*/ virtual void __unk_vfn_24(); + /*25*/ virtual void __unk_vfn_25(); + /*26*/ virtual void __unk_vfn_26(); + /*27*/ virtual void __unk_vfn_27(); + /*28*/ virtual void __unk_vfn_28(); + /*30*/ virtual void __unk_vfn_30(); + /*31*/ virtual void __unk_vfn_31(); + /*32*/ virtual void __unk_vfn_32(); + /*33*/ virtual void __unk_vfn_33(); + /*34*/ virtual void __unk_vfn_34(); + /*35*/ virtual void __unk_vfn_35(); + /*36*/ virtual void __unk_vfn_36(); + /*38*/ virtual void __unk_vfn_38(); + /*39*/ virtual void __unk_vfn_39(); + /*40*/ virtual void __unk_vfn_40(); + /*42*/ virtual void __unk_vfn_42(); + /*43*/ virtual void __unk_vfn_43(); + /*49*/ virtual void __unk_vfn_49(); + /*50*/ virtual bool canContainLiquid() const; + /*52*/ virtual void __unk_vfn_52(); + /*60*/ virtual void onRemove(class BlockSource &, class BlockPos const &) const; + /*67*/ virtual void __unk_vfn_67(); + /*73*/ virtual void __unk_vfn_73(); + /*84*/ virtual bool breaksFallingBlocks(class Block const &) const; + /*87*/ virtual void __unk_vfn_87(); + /*90*/ virtual int getResourceCount(class Random &, class Block const &, int, bool) const; + /*93*/ virtual void spawnResources(class BlockSource &, class BlockPos const &, class Block const &, std::vector *, float, int, bool) const; + /*95*/ virtual void __unk_vfn_95(); + /*99*/ virtual class Block const & getPlacementBlock(class Actor &, class BlockPos const &, unsigned char, class Vec3 const &, int) const; + /*109*/ virtual void __unk_vfn_109(); + /*113*/ virtual class Color getMapColor(class BlockSource &, class BlockPos const &) const; + /*116*/ virtual void __unk_vfn_116(); + /*118*/ virtual void __unk_vfn_118(); + /*119*/ virtual void __unk_vfn_119(); + /*126*/ virtual enum BlockRenderLayer getRenderLayer(class Block const &, class BlockSource &, class BlockPos const &) const; + /*130*/ virtual int getColor(class BlockSource &, class BlockPos const &, class Block const &) const; + /*133*/ virtual bool isSeasonTinted(class Block const &, class BlockSource &, class BlockPos const &) const; + /*134*/ virtual void onGraphicsModeChanged(bool, bool, bool); + /*142*/ virtual void __unk_vfn_142(); + /*158*/ virtual void __unk_vfn_158(); + /*164*/ virtual class ItemInstance getExtraResourceItem(class Block const &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_LEAFBLOCK +#endif + MCAPI LeafBlock(std::string const &, int, class WeakPtr); + MCAPI class Color getSeasonsColor(class BlockSource &, class BlockPos const &, int, int) const; + MCAPI static bool isDeepLeafBlock(class BlockSource &, class BlockPos const &); + MCAPI static void runDecay(class BlockSource &, class BlockPos const &, int); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/LeafBlockItem.hpp b/LiteLoader/Header/MC/LeafBlockItem.hpp new file mode 100644 index 0000000..b4a8ce7 --- /dev/null +++ b/LiteLoader/Header/MC/LeafBlockItem.hpp @@ -0,0 +1,48 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "BlockItem.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class LeafBlockItem : public BlockItem { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_LEAFBLOCKITEM +public: + class LeafBlockItem& operator=(class LeafBlockItem const &) = delete; + LeafBlockItem(class LeafBlockItem const &) = delete; + LeafBlockItem() = delete; +#endif + +public: + /*0*/ virtual ~LeafBlockItem(); + /*5*/ virtual void __unk_vfn_5(); + /*21*/ virtual int getLevelDataForAuxValue(int) const; + /*26*/ virtual void __unk_vfn_26(); + /*27*/ virtual void __unk_vfn_27(); + /*31*/ virtual void __unk_vfn_31(); + /*32*/ virtual void __unk_vfn_32(); + /*34*/ virtual void __unk_vfn_34(); + /*37*/ virtual void __unk_vfn_37(); + /*43*/ virtual void __unk_vfn_43(); + /*46*/ virtual void __unk_vfn_46(); + /*47*/ virtual void __unk_vfn_47(); + /*49*/ virtual void __unk_vfn_49(); + /*50*/ virtual void __unk_vfn_50(); + /*65*/ virtual std::string buildDescriptionId(class ItemDescriptor const &, class CompoundTag const *) const; + /*75*/ virtual void fixupOnLoad(class ItemStackBase &) const; + /*76*/ virtual void fixupOnLoad(class ItemStackBase &, class Level &) const; + /*79*/ virtual void __unk_vfn_79(); + /*80*/ virtual void __unk_vfn_80(); + /*90*/ virtual void __unk_vfn_90(); + /*97*/ virtual void __unk_vfn_97(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_LEAFBLOCKITEM +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/LeapAtTargetGoal.hpp b/LiteLoader/Header/MC/LeapAtTargetGoal.hpp new file mode 100644 index 0000000..241b815 --- /dev/null +++ b/LiteLoader/Header/MC/LeapAtTargetGoal.hpp @@ -0,0 +1,34 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class LeapAtTargetGoal { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_LEAPATTARGETGOAL +public: + class LeapAtTargetGoal& operator=(class LeapAtTargetGoal const &) = delete; + LeapAtTargetGoal(class LeapAtTargetGoal const &) = delete; + LeapAtTargetGoal() = delete; +#endif + +public: + /*0*/ virtual ~LeapAtTargetGoal(); + /*1*/ virtual bool canUse(); + /*2*/ virtual bool canContinueToUse(); + /*3*/ virtual void __unk_vfn_3(); + /*4*/ virtual void start(); + /*5*/ virtual void __unk_vfn_5(); + /*6*/ virtual void __unk_vfn_6(); + /*7*/ virtual void appendDebugInfo(std::string &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_LEAPATTARGETGOAL +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/LeashFenceKnotActor.hpp b/LiteLoader/Header/MC/LeashFenceKnotActor.hpp new file mode 100644 index 0000000..fccedfe --- /dev/null +++ b/LiteLoader/Header/MC/LeashFenceKnotActor.hpp @@ -0,0 +1,67 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Actor.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class LeashFenceKnotActor : public Actor { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_LEASHFENCEKNOTACTOR +public: + class LeashFenceKnotActor& operator=(class LeashFenceKnotActor const &) = delete; + LeashFenceKnotActor(class LeashFenceKnotActor const &) = delete; + LeashFenceKnotActor() = delete; +#endif + +public: + /*1*/ virtual void reloadHardcoded(enum Actor::InitializationMethod, class VariantParameterList const &); + /*7*/ virtual ~LeashFenceKnotActor(); + /*11*/ virtual void remove(); + /*30*/ virtual void __unk_vfn_30(); + /*33*/ virtual void teleportTo(class Vec3 const &, bool, int, int, struct ActorUniqueID const &); + /*54*/ virtual void __unk_vfn_54(); + /*61*/ virtual void __unk_vfn_61(); + /*74*/ virtual float getShadowRadius() const; + /*76*/ virtual void __unk_vfn_76(); + /*81*/ virtual void __unk_vfn_81(); + /*87*/ virtual bool isPickable(); + /*88*/ virtual void __unk_vfn_88(); + /*90*/ virtual void __unk_vfn_90(); + /*98*/ virtual void __unk_vfn_98(); + /*100*/ virtual void __unk_vfn_100(); + /*121*/ virtual void __unk_vfn_121(); + /*169*/ virtual void __unk_vfn_169(); + /*182*/ virtual void __unk_vfn_182(); + /*206*/ virtual void __unk_vfn_206(); + /*207*/ virtual void __unk_vfn_207(); + /*217*/ virtual bool getInteraction(class Player &, class ActorInteraction &, class Vec3 const &); + /*228*/ virtual void __unk_vfn_228(); + /*231*/ virtual void __unk_vfn_231(); + /*238*/ virtual void __unk_vfn_238(); + /*242*/ virtual void readAdditionalSaveData(class CompoundTag const &, class DataLoadHelper &); + /*243*/ virtual void addAdditionalSaveData(class CompoundTag &); + /*246*/ virtual void __unk_vfn_246(); + /*256*/ virtual void _onSizeUpdated(); + /*257*/ virtual void __unk_vfn_257(); + /*258*/ virtual void __unk_vfn_258(); + /*259*/ virtual void __unk_vfn_259(); + /*260*/ virtual void __unk_vfn_260(); + /*261*/ virtual void __unk_vfn_261(); + /*262*/ virtual void __unk_vfn_262(); + /*263*/ virtual bool wouldSurvive(class BlockSource &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_LEASHFENCEKNOTACTOR + MCVAPI void dropItem(); + MCVAPI int getHeight() const; + MCVAPI int getWidth() const; + MCVAPI void setDir(int); +#endif + MCAPI int numberofAnimalsAttached(); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/LeashableComponent.hpp b/LiteLoader/Header/MC/LeashableComponent.hpp new file mode 100644 index 0000000..4d4069e --- /dev/null +++ b/LiteLoader/Header/MC/LeashableComponent.hpp @@ -0,0 +1,29 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class LeashableComponent { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_LEASHABLECOMPONENT +public: + class LeashableComponent& operator=(class LeashableComponent const &) = delete; + LeashableComponent(class LeashableComponent const &) = delete; + LeashableComponent() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_LEASHABLECOMPONENT +#endif + MCAPI bool getInteraction(class Actor &, class Player &, class ActorInteraction &); + MCAPI void leash(class Actor &, class Actor &); + MCAPI void unleash(class Actor &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/LeashableDefinition.hpp b/LiteLoader/Header/MC/LeashableDefinition.hpp new file mode 100644 index 0000000..2a6cd3c --- /dev/null +++ b/LiteLoader/Header/MC/LeashableDefinition.hpp @@ -0,0 +1,28 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "JsonUtil.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class LeashableDefinition { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_LEASHABLEDEFINITION +public: + class LeashableDefinition& operator=(class LeashableDefinition const &) = delete; + LeashableDefinition(class LeashableDefinition const &) = delete; + LeashableDefinition() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_LEASHABLEDEFINITION +#endif + MCAPI static void buildSchema(class std::shared_ptr> &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/LeashableSystem.hpp b/LiteLoader/Header/MC/LeashableSystem.hpp new file mode 100644 index 0000000..b084c94 --- /dev/null +++ b/LiteLoader/Header/MC/LeashableSystem.hpp @@ -0,0 +1,28 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class LeashableSystem { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_LEASHABLESYSTEM +public: + class LeashableSystem& operator=(class LeashableSystem const &) = delete; + LeashableSystem(class LeashableSystem const &) = delete; + LeashableSystem() = delete; +#endif + +public: + /*0*/ virtual ~LeashableSystem(); + /*1*/ virtual void tick(class EntityRegistry &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_LEASHABLESYSTEM +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/LecternBlock.hpp b/LiteLoader/Header/MC/LecternBlock.hpp new file mode 100644 index 0000000..66e4749 --- /dev/null +++ b/LiteLoader/Header/MC/LecternBlock.hpp @@ -0,0 +1,205 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "ActorBlock.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class LecternBlock : public ActorBlock { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_LECTERNBLOCK +public: + class LecternBlock& operator=(class LecternBlock const &) = delete; + LecternBlock(class LecternBlock const &) = delete; + LecternBlock() = delete; +#endif + +public: + /*0*/ virtual ~LecternBlock(); + /*1*/ virtual void tick(class BlockSource &, class BlockPos const &, class Random &) const; + /*2*/ virtual class Block const & getStateFromLegacyData(unsigned short) const; + /*3*/ virtual class std::shared_ptr newBlockEntity(class BlockPos const &, class Block const &) const; + /*4*/ virtual class Block const * getNextBlockPermutation(class Block const &) const; + /*5*/ virtual bool getCollisionShape(class AABB &, class Block const &, class BlockSource &, class BlockPos const &, class Actor *) const; + /*6*/ virtual bool isObstructingChests(class BlockSource &, class BlockPos const &) const; + /*7*/ virtual void __unk_vfn_7(); + /*8*/ virtual class Vec3 randomlyModifyPosition(class BlockPos const &, int &) const; + /*9*/ virtual void addAABBs(class Block const &, class BlockSource &, class BlockPos const &, class AABB const *, std::vector &) const; + /*10*/ virtual class AABB const & getAABB(class BlockSource &, class BlockPos const &, class Block const &, class AABB &, bool) const; + /*11*/ virtual bool addCollisionShapes(class Block const &, class BlockSource &, class BlockPos const &, class AABB const *, std::vector &, class Actor *) const; + /*12*/ virtual class AABB const & getOutline(class BlockSource &, class BlockPos const &, class AABB &) const; + /*13*/ virtual bool getLiquidClipVolume(class BlockSource &, class BlockPos const &, class AABB &) const; + /*14*/ virtual void onRedstoneUpdate(class BlockSource &, class BlockPos const &, int, bool) const; + /*15*/ virtual void __unk_vfn_15(); + /*16*/ virtual struct Brightness getLightEmission(class Block const &) const; + /*17*/ virtual bool shouldRandomTick() const; + /*18*/ virtual void __unk_vfn_18(); + /*19*/ virtual void __unk_vfn_19(); + /*20*/ virtual void __unk_vfn_20(); + /*21*/ virtual bool canProvideSupport(class Block const &, unsigned char, enum BlockSupportType) const; + /*22*/ virtual bool canConnect(class Block const &, unsigned char, class Block const &) const; + /*23*/ virtual void getConnectedDirections(class Block const &, class BlockPos const &, class BlockSource &, bool &, bool &, bool &, bool &) const; + /*24*/ virtual void __unk_vfn_24(); + /*25*/ virtual void __unk_vfn_25(); + /*26*/ virtual void __unk_vfn_26(); + /*27*/ virtual void __unk_vfn_27(); + /*28*/ virtual void __unk_vfn_28(); + /*29*/ virtual bool isWaterBlocking() const; + /*30*/ virtual void __unk_vfn_30(); + /*31*/ virtual void __unk_vfn_31(); + /*32*/ virtual void __unk_vfn_32(); + /*33*/ virtual void __unk_vfn_33(); + /*34*/ virtual void __unk_vfn_34(); + /*35*/ virtual void __unk_vfn_35(); + /*36*/ virtual void __unk_vfn_36(); + /*37*/ virtual void __unk_vfn_37(); + /*38*/ virtual void __unk_vfn_38(); + /*39*/ virtual void __unk_vfn_39(); + /*40*/ virtual void __unk_vfn_40(); + /*41*/ virtual bool canHurtAndBreakItem() const; + /*42*/ virtual void __unk_vfn_42(); + /*43*/ virtual void __unk_vfn_43(); + /*44*/ virtual void __unk_vfn_44(); + /*45*/ virtual void __unk_vfn_45(); + /*46*/ virtual class Block const & sanitizeFillBlock(class BlockSource &, class BlockPos const &, class Block const &) const; + /*47*/ virtual void __unk_vfn_47(); + /*48*/ virtual void __unk_vfn_48(); + /*49*/ virtual void __unk_vfn_49(); + /*50*/ virtual void __unk_vfn_50(); + /*51*/ virtual void __unk_vfn_51(); + /*52*/ virtual void __unk_vfn_52(); + /*53*/ virtual bool canBeUsedInCommands(bool, class BaseGameVersion const &) const; + /*54*/ virtual float getThickness() const; + /*55*/ virtual void __unk_vfn_55(); + /*56*/ virtual void __unk_vfn_56(); + /*57*/ virtual void __unk_vfn_57(); + /*58*/ virtual void __unk_vfn_58(); + /*59*/ virtual void onPlace(class BlockSource &, class BlockPos const &) const; + /*60*/ virtual void __unk_vfn_60(); + /*61*/ virtual void __unk_vfn_61(); + /*62*/ virtual void __unk_vfn_62(); + /*63*/ virtual void onFallOn(class BlockSource &, class BlockPos const &, class Actor &, float) const; + /*64*/ virtual void __unk_vfn_64(); + /*65*/ virtual void __unk_vfn_65(); + /*66*/ virtual void __unk_vfn_66(); + /*67*/ virtual void __unk_vfn_67(); + /*68*/ virtual void __unk_vfn_68(); + /*69*/ virtual void __unk_vfn_69(); + /*70*/ virtual void setupRedstoneComponent(class BlockSource &, class BlockPos const &) const; + /*71*/ virtual enum BlockProperty getRedstoneProperty(class BlockSource &, class BlockPos const &) const; + /*72*/ virtual void updateEntityAfterFallOn(class BlockSource &, class BlockPos const &, class Actor &) const; + /*73*/ virtual void __unk_vfn_73(); + /*74*/ virtual void __unk_vfn_74(); + /*75*/ virtual void __unk_vfn_75(); + /*76*/ virtual void __unk_vfn_76(); + /*77*/ virtual void __unk_vfn_77(); + /*78*/ virtual bool mayPick(class BlockSource &, class Block const &, bool) const; + /*79*/ virtual void __unk_vfn_79(); + /*80*/ virtual bool mayPlace(class BlockSource &, class BlockPos const &) const; + /*81*/ virtual void __unk_vfn_81(); + /*82*/ virtual void __unk_vfn_82(); + /*83*/ virtual bool tryToPlace(class BlockSource &, class BlockPos const &, class Block const &, struct ActorBlockSyncMessage const *) const; + /*84*/ virtual bool breaksFallingBlocks(class Block const &) const; + /*85*/ virtual void __unk_vfn_85(); + /*86*/ virtual bool playerWillDestroy(class Player &, class BlockPos const &, class Block const &) const; + /*87*/ virtual void __unk_vfn_87(); + /*88*/ virtual void neighborChanged(class BlockSource &, class BlockPos const &, class BlockPos const &) const; + /*89*/ virtual void __unk_vfn_89(); + /*90*/ virtual void __unk_vfn_90(); + /*91*/ virtual void __unk_vfn_91(); + /*92*/ virtual void __unk_vfn_92(); + /*93*/ virtual void spawnResources(class BlockSource &, class BlockPos const &, class Block const &, std::vector *, float, int, bool) const; + /*94*/ virtual void trySpawnResourcesOnExplosion(class BlockSource &, class BlockPos const &, class Block const &, std::vector *, float, int, bool) const; + /*95*/ virtual void __unk_vfn_95(); + /*96*/ virtual void __unk_vfn_96(); + /*97*/ virtual class HitResult clip(class BlockSource &, class BlockPos const &, class Vec3 const &, class Vec3 const &, bool) const; + /*98*/ virtual bool use(class Player &, class BlockPos const &) const; + /*99*/ virtual class Block const & getPlacementBlock(class Actor &, class BlockPos const &, unsigned char, class Vec3 const &, int) const; + /*100*/ virtual int calcVariant(class BlockSource &, class BlockPos const &) const; + /*101*/ virtual void __unk_vfn_101(); + /*102*/ virtual bool attack(class Player *, class BlockPos const &) const; + /*103*/ virtual void __unk_vfn_103(); + /*104*/ virtual void __unk_vfn_104(); + /*105*/ virtual void playerDestroy(class Player &, class BlockPos const &, class Block const &) const; + /*106*/ virtual void __unk_vfn_106(); + /*107*/ virtual void __unk_vfn_107(); + /*108*/ virtual bool canBeBuiltOver(class BlockSource &, class BlockPos const &) const; + /*109*/ virtual void triggerEvent(class BlockSource &, class BlockPos const &, int, int) const; + /*110*/ virtual void __unk_vfn_110(); + /*111*/ virtual void __unk_vfn_111(); + /*112*/ virtual class MobSpawnerData const * getMobToSpawn(class SpawnConditions const &, class BlockSource &) const; + /*113*/ virtual void __unk_vfn_113(); + /*114*/ virtual void __unk_vfn_114(); + /*115*/ virtual bool shouldStopFalling(class Actor &) const; + /*116*/ virtual void __unk_vfn_116(); + /*117*/ virtual float calcGroundFriction(class Mob &, class BlockPos const &) const; + /*118*/ virtual void __unk_vfn_118(); + /*119*/ virtual void __unk_vfn_119(); + /*120*/ virtual int getComparatorSignal(class BlockSource &, class BlockPos const &, class Block const &, unsigned char) const; + /*121*/ virtual bool canSlide(class BlockSource &, class BlockPos const &) const; + /*122*/ virtual void __unk_vfn_122(); + /*123*/ virtual void __unk_vfn_123(); + /*124*/ virtual void __unk_vfn_124(); + /*125*/ virtual void __unk_vfn_125(); + /*126*/ virtual void __unk_vfn_126(); + /*127*/ virtual void __unk_vfn_127(); + /*128*/ virtual void __unk_vfn_128(); + /*129*/ virtual void __unk_vfn_129(); + /*130*/ virtual void __unk_vfn_130(); + /*131*/ virtual void __unk_vfn_131(); + /*132*/ virtual int getColorForParticle(class BlockSource &, class BlockPos const &, class Block const &) const; + /*133*/ virtual void __unk_vfn_133(); + /*134*/ virtual void onGraphicsModeChanged(bool, bool, bool); + /*135*/ virtual void __unk_vfn_135(); + /*136*/ virtual float getShadeBrightness() const; + /*137*/ virtual class AABB const & getVisualShapeInWorld(class Block const &, class BlockSource &, class BlockPos const &, class AABB &, bool) const; + /*138*/ virtual class AABB const & getVisualShape(class Block const &, class AABB &, bool) const; + /*139*/ virtual class AABB const & getUIShape(class Block const &, class AABB &) const; + /*140*/ virtual int telemetryVariant(class BlockSource &, class BlockPos const &) const; + /*141*/ virtual int getVariant(class Block const &) const; + /*142*/ virtual void __unk_vfn_142(); + /*143*/ virtual class Block const & getRenderBlock() const; + /*144*/ virtual void __unk_vfn_144(); + /*145*/ virtual void __unk_vfn_145(); + /*146*/ virtual void __unk_vfn_146(); + /*147*/ virtual class BlockLegacy & init(); + /*148*/ virtual class BlockLegacy & setLightBlock(struct Brightness); + /*149*/ virtual class BlockLegacy & setLightEmission(float); + /*150*/ virtual class BlockLegacy & setExplodeable(float); + /*151*/ virtual class BlockLegacy & setDestroyTime(float); + /*152*/ virtual class BlockLegacy & setFriction(float); + /*153*/ virtual class BlockLegacy & addProperty(enum BlockProperty); + /*154*/ virtual class BlockLegacy & addState(class ItemState const &); + /*155*/ virtual class BlockLegacy & addState(class ItemState const &, unsigned __int64); + /*156*/ virtual class BlockLegacy & setAllowsRunes(bool); + /*157*/ virtual class BlockLegacy & setMapColor(class Color const &); + /*158*/ virtual void __unk_vfn_158(); + /*159*/ virtual void __unk_vfn_159(); + /*160*/ virtual void setVisualShape(class AABB const &); + /*161*/ virtual void setVisualShape(class Vec3 const &, class Vec3 const &); + /*162*/ virtual void __unk_vfn_162(); + /*163*/ virtual void __unk_vfn_163(); + /*164*/ virtual class ItemInstance getEntityResourceItem(class Random &, class BlockActor const &, int) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_LECTERNBLOCK + MCVAPI bool canContainLiquid() const; + MCVAPI bool checkIsPathable(class Actor &, class BlockPos const &, class BlockPos const &) const; + MCVAPI bool hasComparatorSignal() const; + MCVAPI bool isAuxValueRelevantForPicking() const; + MCVAPI bool isInteractiveBlock() const; + MCVAPI bool isSignalSource() const; + MCVAPI bool shouldConnectToRedstone(class BlockSource &, class BlockPos const &, int) const; +#endif + +//private: + MCAPI bool _dropBook(class Player &, class BlockPos const &) const; + MCAPI void _updateRedstone(class BlockSource &, class BlockPos const &, bool) const; + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/LecternBlockActor.hpp b/LiteLoader/Header/MC/LecternBlockActor.hpp new file mode 100644 index 0000000..6a5426f --- /dev/null +++ b/LiteLoader/Header/MC/LecternBlockActor.hpp @@ -0,0 +1,41 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class LecternBlockActor { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_LECTERNBLOCKACTOR +public: + class LecternBlockActor& operator=(class LecternBlockActor const &) = delete; + LecternBlockActor(class LecternBlockActor const &) = delete; + LecternBlockActor() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_LECTERNBLOCKACTOR + MCVAPI std::unique_ptr _getUpdatePacket(class BlockSource &); + MCVAPI void _onUpdatePacket(class CompoundTag const &, class BlockSource &); + MCVAPI class Container * getContainer(); + MCVAPI class Container const * getContainer() const; + MCVAPI int getContainerSize() const; + MCVAPI class ItemStack const & getItem(int) const; + MCVAPI int getMaxStackSize() const; + MCVAPI void load(class Level &, class CompoundTag const &, class DataLoadHelper &); + MCVAPI void onChanged(class BlockSource &); + MCVAPI bool save(class CompoundTag &) const; + MCVAPI void serverInitItemStackIds(int, int, class std::function); + MCVAPI void setItem(int, class ItemStack const &); + MCVAPI void startOpen(class Player &); + MCVAPI void stopOpen(class Player &); +#endif + MCAPI void dropBook(class BlockSource &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/LecternUpdatePacket.hpp b/LiteLoader/Header/MC/LecternUpdatePacket.hpp new file mode 100644 index 0000000..f848f12 --- /dev/null +++ b/LiteLoader/Header/MC/LecternUpdatePacket.hpp @@ -0,0 +1,32 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Packet.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class LecternUpdatePacket : public Packet { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_LECTERNUPDATEPACKET +public: + class LecternUpdatePacket& operator=(class LecternUpdatePacket const &) = delete; + LecternUpdatePacket(class LecternUpdatePacket const &) = delete; +#endif + +public: + /*0*/ virtual ~LecternUpdatePacket(); + /*1*/ virtual enum MinecraftPacketIds getId() const; + /*2*/ virtual std::string getName() const; + /*3*/ virtual void write(class BinaryStream &) const; + /*4*/ virtual enum StreamReadResult read(class ReadOnlyBinaryStream &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_LECTERNUPDATEPACKET +#endif + MCAPI LecternUpdatePacket(); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/LegacyBlockPlacementProcessor.hpp b/LiteLoader/Header/MC/LegacyBlockPlacementProcessor.hpp new file mode 100644 index 0000000..e23f668 --- /dev/null +++ b/LiteLoader/Header/MC/LegacyBlockPlacementProcessor.hpp @@ -0,0 +1,27 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class LegacyBlockPlacementProcessor { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_LEGACYBLOCKPLACEMENTPROCESSOR +public: + class LegacyBlockPlacementProcessor& operator=(class LegacyBlockPlacementProcessor const &) = delete; + LegacyBlockPlacementProcessor(class LegacyBlockPlacementProcessor const &) = delete; + LegacyBlockPlacementProcessor() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_LEGACYBLOCKPLACEMENTPROCESSOR +#endif + MCAPI class Block const * applyBlockRules(class BlockSource &, class BlockPos &, class Block const *, class BlockPos const &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/LegacyBodyControl.hpp b/LiteLoader/Header/MC/LegacyBodyControl.hpp new file mode 100644 index 0000000..6ad9756 --- /dev/null +++ b/LiteLoader/Header/MC/LegacyBodyControl.hpp @@ -0,0 +1,28 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class LegacyBodyControl { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_LEGACYBODYCONTROL +public: + class LegacyBodyControl& operator=(class LegacyBodyControl const &) = delete; + LegacyBodyControl(class LegacyBodyControl const &) = delete; + LegacyBodyControl() = delete; +#endif + +public: + /*0*/ virtual ~LegacyBodyControl(); + /*1*/ virtual void clientTick(class Mob &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_LEGACYBODYCONTROL +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/LegacyChunkStorage.hpp b/LiteLoader/Header/MC/LegacyChunkStorage.hpp new file mode 100644 index 0000000..b5ac302 --- /dev/null +++ b/LiteLoader/Header/MC/LegacyChunkStorage.hpp @@ -0,0 +1,40 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "ChunkSource.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class LegacyChunkStorage : public ChunkSource { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_LEGACYCHUNKSTORAGE +public: + class LegacyChunkStorage& operator=(class LegacyChunkStorage const &) = delete; + LegacyChunkStorage(class LegacyChunkStorage const &) = delete; + LegacyChunkStorage() = delete; +#endif + +public: + /*0*/ virtual ~LegacyChunkStorage(); + /*9*/ virtual void loadChunk(class LevelChunk &, bool); + /*11*/ virtual bool saveLiveChunk(class LevelChunk &); + /*14*/ virtual void acquireDiscarded(class std::unique_ptr); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_LEGACYCHUNKSTORAGE +#endif + +//private: + MCAPI bool _isImported(class ChunkPos const &); + MCAPI bool _loadChunk(class LevelChunk &); + MCAPI void _loadEntities(); + MCAPI void _markChunkAsImported(class ChunkPos const &); + MCAPI bool _openRegionFile(); + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/LegacyEmeraldOreFeature.hpp b/LiteLoader/Header/MC/LegacyEmeraldOreFeature.hpp new file mode 100644 index 0000000..9934c7f --- /dev/null +++ b/LiteLoader/Header/MC/LegacyEmeraldOreFeature.hpp @@ -0,0 +1,29 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Feature.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class LegacyEmeraldOreFeature : public Feature { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_LEGACYEMERALDOREFEATURE +public: + class LegacyEmeraldOreFeature& operator=(class LegacyEmeraldOreFeature const &) = delete; + LegacyEmeraldOreFeature(class LegacyEmeraldOreFeature const &) = delete; + LegacyEmeraldOreFeature() = delete; +#endif + +public: + /*0*/ virtual ~LegacyEmeraldOreFeature(); + /*1*/ virtual bool place(class BlockSource &, class BlockPos const &, class Random &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_LEGACYEMERALDOREFEATURE +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/LegacyFlowerFeature.hpp b/LiteLoader/Header/MC/LegacyFlowerFeature.hpp new file mode 100644 index 0000000..ad8279e --- /dev/null +++ b/LiteLoader/Header/MC/LegacyFlowerFeature.hpp @@ -0,0 +1,29 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Feature.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class LegacyFlowerFeature : public Feature { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_LEGACYFLOWERFEATURE +public: + class LegacyFlowerFeature& operator=(class LegacyFlowerFeature const &) = delete; + LegacyFlowerFeature(class LegacyFlowerFeature const &) = delete; + LegacyFlowerFeature() = delete; +#endif + +public: + /*0*/ virtual ~LegacyFlowerFeature(); + /*1*/ virtual bool place(class BlockSource &, class BlockPos const &, class Random &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_LEGACYFLOWERFEATURE +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/LegacyForestFoliageFeature.hpp b/LiteLoader/Header/MC/LegacyForestFoliageFeature.hpp new file mode 100644 index 0000000..2cae8e1 --- /dev/null +++ b/LiteLoader/Header/MC/LegacyForestFoliageFeature.hpp @@ -0,0 +1,30 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Feature.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class LegacyForestFoliageFeature : public Feature { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_LEGACYFORESTFOLIAGEFEATURE +public: + class LegacyForestFoliageFeature& operator=(class LegacyForestFoliageFeature const &) = delete; + LegacyForestFoliageFeature(class LegacyForestFoliageFeature const &) = delete; + LegacyForestFoliageFeature() = delete; +#endif + +public: + /*0*/ virtual ~LegacyForestFoliageFeature(); + /*1*/ virtual bool place(class BlockSource &, class BlockPos const &, class Random &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_LEGACYFORESTFOLIAGEFEATURE +#endif + MCAPI LegacyForestFoliageFeature(enum LegacyForestFoliageFeature::Type, class FeatureRegistry &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/LegacyForestRockFeature.hpp b/LiteLoader/Header/MC/LegacyForestRockFeature.hpp new file mode 100644 index 0000000..751b520 --- /dev/null +++ b/LiteLoader/Header/MC/LegacyForestRockFeature.hpp @@ -0,0 +1,29 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Feature.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class LegacyForestRockFeature : public Feature { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_LEGACYFORESTROCKFEATURE +public: + class LegacyForestRockFeature& operator=(class LegacyForestRockFeature const &) = delete; + LegacyForestRockFeature(class LegacyForestRockFeature const &) = delete; + LegacyForestRockFeature() = delete; +#endif + +public: + /*0*/ virtual ~LegacyForestRockFeature(); + /*1*/ virtual bool place(class BlockSource &, class BlockPos const &, class Random &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_LEGACYFORESTROCKFEATURE +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/LegacyIceFeature.hpp b/LiteLoader/Header/MC/LegacyIceFeature.hpp new file mode 100644 index 0000000..d6778d7 --- /dev/null +++ b/LiteLoader/Header/MC/LegacyIceFeature.hpp @@ -0,0 +1,30 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Feature.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class LegacyIceFeature : public Feature { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_LEGACYICEFEATURE +public: + class LegacyIceFeature& operator=(class LegacyIceFeature const &) = delete; + LegacyIceFeature(class LegacyIceFeature const &) = delete; + LegacyIceFeature() = delete; +#endif + +public: + /*0*/ virtual ~LegacyIceFeature(); + /*1*/ virtual bool place(class BlockSource &, class BlockPos const &, class Random &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_LEGACYICEFEATURE +#endif + MCAPI LegacyIceFeature(class FeatureRegistry const &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/LegacyJigsawPlacement.hpp b/LiteLoader/Header/MC/LegacyJigsawPlacement.hpp new file mode 100644 index 0000000..7c19800 --- /dev/null +++ b/LiteLoader/Header/MC/LegacyJigsawPlacement.hpp @@ -0,0 +1,34 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class LegacyJigsawPlacement { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_LEGACYJIGSAWPLACEMENT +public: + class LegacyJigsawPlacement& operator=(class LegacyJigsawPlacement const &) = delete; + LegacyJigsawPlacement(class LegacyJigsawPlacement const &) = delete; + LegacyJigsawPlacement() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_LEGACYJIGSAWPLACEMENT +#endif + MCAPI void addPieces(std::vector> &, class StructurePoolElement const &, class Random &, class BlockPos const &, enum Rotation const &, class JigsawStructureRegistry const &, class Dimension &); + MCAPI ~LegacyJigsawPlacement(); + +//private: + MCAPI void _addPiece(std::vector> &, class PoolElementStructurePiece const &, class Random &, class BlockPos const &, enum Rotation const &, class JigsawStructureRegistry const &, class Dimension &, class BlockVolume &, class BlockPos const &); + MCAPI bool _tryPlacingPiece(std::vector> &, class PoolElementStructurePiece const &, class Random &, class JigsawBlockInfo const &, class BoundingBox const &, std::vector &, class BlockPos const &, class StructureTemplatePool const *, class JigsawStructureRegistry const &, class Dimension &, class BlockVolume &, class BlockPos const &); + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/LegacyPackIdVersion.hpp b/LiteLoader/Header/MC/LegacyPackIdVersion.hpp new file mode 100644 index 0000000..ca74812 --- /dev/null +++ b/LiteLoader/Header/MC/LegacyPackIdVersion.hpp @@ -0,0 +1,28 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class LegacyPackIdVersion { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_LEGACYPACKIDVERSION +public: + class LegacyPackIdVersion& operator=(class LegacyPackIdVersion const &) = delete; + LegacyPackIdVersion(class LegacyPackIdVersion const &) = delete; + LegacyPackIdVersion() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_LEGACYPACKIDVERSION +#endif + MCAPI struct PackIdVersion getUpgradedPackId() const; + MCAPI ~LegacyPackIdVersion(); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/LegacySmallMushroomsFeature.hpp b/LiteLoader/Header/MC/LegacySmallMushroomsFeature.hpp new file mode 100644 index 0000000..7b919ff --- /dev/null +++ b/LiteLoader/Header/MC/LegacySmallMushroomsFeature.hpp @@ -0,0 +1,30 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Feature.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class LegacySmallMushroomsFeature : public Feature { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_LEGACYSMALLMUSHROOMSFEATURE +public: + class LegacySmallMushroomsFeature& operator=(class LegacySmallMushroomsFeature const &) = delete; + LegacySmallMushroomsFeature(class LegacySmallMushroomsFeature const &) = delete; + LegacySmallMushroomsFeature() = delete; +#endif + +public: + /*0*/ virtual ~LegacySmallMushroomsFeature(); + /*1*/ virtual bool place(class BlockSource &, class BlockPos const &, class Random &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_LEGACYSMALLMUSHROOMSFEATURE +#endif + MCAPI LegacySmallMushroomsFeature(class FeatureRegistry const &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/LegacySpringsFeature.hpp b/LiteLoader/Header/MC/LegacySpringsFeature.hpp new file mode 100644 index 0000000..59238b1 --- /dev/null +++ b/LiteLoader/Header/MC/LegacySpringsFeature.hpp @@ -0,0 +1,30 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Feature.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class LegacySpringsFeature : public Feature { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_LEGACYSPRINGSFEATURE +public: + class LegacySpringsFeature& operator=(class LegacySpringsFeature const &) = delete; + LegacySpringsFeature(class LegacySpringsFeature const &) = delete; + LegacySpringsFeature() = delete; +#endif + +public: + /*0*/ virtual ~LegacySpringsFeature(); + /*1*/ virtual bool place(class BlockSource &, class BlockPos const &, class Random &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_LEGACYSPRINGSFEATURE +#endif + MCAPI LegacySpringsFeature(class FeatureRegistry const &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/LegacyStructureActorInfo.hpp b/LiteLoader/Header/MC/LegacyStructureActorInfo.hpp new file mode 100644 index 0000000..f15b5a1 --- /dev/null +++ b/LiteLoader/Header/MC/LegacyStructureActorInfo.hpp @@ -0,0 +1,27 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class LegacyStructureActorInfo { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_LEGACYSTRUCTUREACTORINFO +public: + class LegacyStructureActorInfo& operator=(class LegacyStructureActorInfo const &) = delete; + LegacyStructureActorInfo(class LegacyStructureActorInfo const &) = delete; + LegacyStructureActorInfo() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_LEGACYSTRUCTUREACTORINFO +#endif + MCAPI LegacyStructureActorInfo(class Vec3 const &, class BlockPos const &, class CompoundTag); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/LegacyStructureBlockInfo.hpp b/LiteLoader/Header/MC/LegacyStructureBlockInfo.hpp new file mode 100644 index 0000000..2e8d193 --- /dev/null +++ b/LiteLoader/Header/MC/LegacyStructureBlockInfo.hpp @@ -0,0 +1,27 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class LegacyStructureBlockInfo { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_LEGACYSTRUCTUREBLOCKINFO +public: + class LegacyStructureBlockInfo& operator=(class LegacyStructureBlockInfo const &) = delete; + LegacyStructureBlockInfo(class LegacyStructureBlockInfo const &) = delete; + LegacyStructureBlockInfo() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_LEGACYSTRUCTUREBLOCKINFO +#endif + MCAPI LegacyStructureBlockInfo(class BlockPos const &, std::unique_ptr, class Block const &, class Block const &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/LegacyStructureBlockPalette.hpp b/LiteLoader/Header/MC/LegacyStructureBlockPalette.hpp new file mode 100644 index 0000000..9a57167 --- /dev/null +++ b/LiteLoader/Header/MC/LegacyStructureBlockPalette.hpp @@ -0,0 +1,29 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class LegacyStructureBlockPalette { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_LEGACYSTRUCTUREBLOCKPALETTE +public: + class LegacyStructureBlockPalette& operator=(class LegacyStructureBlockPalette const &) = delete; + LegacyStructureBlockPalette(class LegacyStructureBlockPalette const &) = delete; + LegacyStructureBlockPalette() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_LEGACYSTRUCTUREBLOCKPALETTE +#endif + MCAPI void addMapping(int, class Block const &); + MCAPI class Block const & getBlock(int); + MCAPI ~LegacyStructureBlockPalette(); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/LegacyStructureSettings.hpp b/LiteLoader/Header/MC/LegacyStructureSettings.hpp new file mode 100644 index 0000000..96d6023 --- /dev/null +++ b/LiteLoader/Header/MC/LegacyStructureSettings.hpp @@ -0,0 +1,26 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class LegacyStructureSettings { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_LEGACYSTRUCTURESETTINGS +#endif + MCAPI LegacyStructureSettings(); + MCAPI LegacyStructureSettings(class LegacyStructureSettings const &); + MCAPI class Block const & getSwappedBlock(class BlockPalette const &, class Block const &) const; + MCAPI class LegacyStructureSettings & operator=(class LegacyStructureSettings const &); + MCAPI void updateBoundingBoxFromChunkPos(); + MCAPI ~LegacyStructureSettings(); + MCAPI static float const INTEGRITY_MAX; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/LegacyStructureTemplate.hpp b/LiteLoader/Header/MC/LegacyStructureTemplate.hpp new file mode 100644 index 0000000..f669b3b --- /dev/null +++ b/LiteLoader/Header/MC/LegacyStructureTemplate.hpp @@ -0,0 +1,55 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class LegacyStructureTemplate { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_LEGACYSTRUCTURETEMPLATE +public: + class LegacyStructureTemplate& operator=(class LegacyStructureTemplate const &) = delete; + LegacyStructureTemplate(class LegacyStructureTemplate const &) = delete; + LegacyStructureTemplate() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_LEGACYSTRUCTURETEMPLATE +#endif + MCAPI class BlockPos _calculateRelativePosition(class BlockPos, class LegacyStructureSettings const &) const; + MCAPI std::vector getJigsawMarkers() const; + MCAPI class std::unordered_map, struct std::equal_to, class std::allocator>> getMarkers(class BlockPos const &, class LegacyStructureSettings &) const; + MCAPI void load(class CompoundTag &); + MCAPI void placeInWorld(class BlockSource &, class BlockPos const &, class LegacyStructureSettings &) const; + MCAPI ~LegacyStructureTemplate(); + MCAPI static std::string const AUTHOR_TAG; + MCAPI static std::string const BLOCKS_TAG; + MCAPI static std::string const BLOCK_TAG_NBT; + MCAPI static std::string const BLOCK_TAG_POS; + MCAPI static std::string const BLOCK_TAG_STATE; + MCAPI static int const CHUNK_SIZE; + MCAPI static std::string const ENTITIES_TAG; + MCAPI static std::string const ENTITY_TAG_BLOCKPOS; + MCAPI static std::string const ENTITY_TAG_NBT; + MCAPI static std::string const ENTITY_TAG_POS; + MCAPI static std::string const MINECRAFT_PREFIX; + MCAPI static std::string const PALETTE_TAG; + MCAPI static std::string const SIZE_TAG; + MCAPI static std::string const VERSION_TAG; + MCAPI static class Block const * _mapToBlock(std::string const &); + MCAPI static class Block const & _mapToData(class Block const &, class LegacyStructureSettings const &); + MCAPI static class Block const * _mapToProperty(std::string const &, std::string const &, class Block const &); + MCAPI static class LegacyStructureSettings const defaultSettings; + +//private: + MCAPI std::unique_ptr _mapTag(std::unique_ptr, std::string const &); + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/LegacySwampFoliageFeature.hpp b/LiteLoader/Header/MC/LegacySwampFoliageFeature.hpp new file mode 100644 index 0000000..d9bb5cc --- /dev/null +++ b/LiteLoader/Header/MC/LegacySwampFoliageFeature.hpp @@ -0,0 +1,30 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Feature.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class LegacySwampFoliageFeature : public Feature { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_LEGACYSWAMPFOLIAGEFEATURE +public: + class LegacySwampFoliageFeature& operator=(class LegacySwampFoliageFeature const &) = delete; + LegacySwampFoliageFeature(class LegacySwampFoliageFeature const &) = delete; + LegacySwampFoliageFeature() = delete; +#endif + +public: + /*0*/ virtual ~LegacySwampFoliageFeature(); + /*1*/ virtual bool place(class BlockSource &, class BlockPos const &, class Random &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_LEGACYSWAMPFOLIAGEFEATURE +#endif + MCAPI LegacySwampFoliageFeature(class FeatureRegistry &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/LegacyTradeableComponent.hpp b/LiteLoader/Header/MC/LegacyTradeableComponent.hpp new file mode 100644 index 0000000..8915763 --- /dev/null +++ b/LiteLoader/Header/MC/LegacyTradeableComponent.hpp @@ -0,0 +1,40 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class LegacyTradeableComponent { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_LEGACYTRADEABLECOMPONENT +public: + class LegacyTradeableComponent& operator=(class LegacyTradeableComponent const &) = delete; + LegacyTradeableComponent(class LegacyTradeableComponent const &) = delete; + LegacyTradeableComponent() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_LEGACYTRADEABLECOMPONENT +#endif + MCAPI void addAdditionalSaveData(class CompoundTag &); + MCAPI class UpdateTradePacket createDataPacket(class Actor &, enum ContainerID); + MCAPI bool getInteraction(class Actor &, class Player &, class ActorInteraction &); + MCAPI void notifyTrade(class Actor &, int); + MCAPI void readAdditionalSaveData(class Actor &, class CompoundTag const &, class DataLoadHelper &); + MCAPI void restockAllRecipes(class Actor &); + MCAPI void updateTradeTier(class Actor &); + +//private: + MCAPI struct TradeTable * _getTradeTable(class Actor &); + MCAPI bool _refreshTrades(class Actor &); + MCAPI void _updateMaxTradeTier(class Actor &, int); + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/LegacyTreeFeature.hpp b/LiteLoader/Header/MC/LegacyTreeFeature.hpp new file mode 100644 index 0000000..82afbb0 --- /dev/null +++ b/LiteLoader/Header/MC/LegacyTreeFeature.hpp @@ -0,0 +1,30 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Feature.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class LegacyTreeFeature : public Feature { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_LEGACYTREEFEATURE +public: + class LegacyTreeFeature& operator=(class LegacyTreeFeature const &) = delete; + LegacyTreeFeature(class LegacyTreeFeature const &) = delete; + LegacyTreeFeature() = delete; +#endif + +public: + /*0*/ virtual ~LegacyTreeFeature(); + /*1*/ virtual bool place(class BlockSource &, class BlockPos const &, class Random &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_LEGACYTREEFEATURE +#endif + MCAPI LegacyTreeFeature(enum LegacyTreeFeature::Type, class FeatureRegistry &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/LegacyTreeFeatureHelpers.hpp b/LiteLoader/Header/MC/LegacyTreeFeatureHelpers.hpp new file mode 100644 index 0000000..a34d748 --- /dev/null +++ b/LiteLoader/Header/MC/LegacyTreeFeatureHelpers.hpp @@ -0,0 +1,18 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +namespace LegacyTreeFeatureHelpers { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA + MCAPI void _placeTrees(class BlockSource &, class BlockPos const &, class Random &, int, class WeakRefT, class std::function (class Random &)> const &); + MCAPI void _setupForestCount(float, int &, class Random &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/Level.hpp b/LiteLoader/Header/MC/Level.hpp new file mode 100644 index 0000000..216ac77 --- /dev/null +++ b/LiteLoader/Header/MC/Level.hpp @@ -0,0 +1,302 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Bedrock.hpp" + +#define BEFORE_EXTRA +// Add include headers & pre-declares +#include "Core.hpp" +#include "BlockInstance.hpp" +#include "Tick.hpp" +#include "Social.hpp" +#include "Types.hpp" +class Actor; +class ActorDamageSource; +class ItemStack; +class ItemActor; +class Block; +class CompoundTag; +class Player; +class BlockSource; +class BlockPalette; +class Container; +class Dimension; +struct ActorUniqueID; +class Packet; + +#undef BEFORE_EXTRA + +class Level { + +#define AFTER_EXTRA +// Add new members to class +public: + + #define ENABLE_VIRTUAL_FAKESYMBOL_LEVEL + //Entity & Player + //LIAPI static void forEachPlayer(class std::function callback); + //LIAPI static void forEachPlayer(class std::function callback); + LIAPI static std::vector getAllPlayers(); + LIAPI Player* getPlayer(const string& info); // name or xuid + LIAPI Player* getPlayer(ActorUniqueID id); // UniqueID + LIAPI static Actor* getEntity(ActorUniqueID id); + LIAPI static std::vector getAllEntities(int dimId); + LIAPI static std::vector getAllEntities(); + //LIAPI static Actor* spawnMob(Vec3 pos, int dimId, std::string typeName); + //LIAPI static Actor* spawnItem(Vec3 pos, int dimId, ItemStack *item); + LIAPI static bool createExplosion(Vec3 pos, int dimId, Actor* source, float radius, bool createFire, bool canBreak, float maxResistance = 3.40282347e+38); + //LIAPI static class MapItemSavedData* getMapSavedData(struct ActorUniqueID a0); + //LIAPI static Actor* cloneMob(Vec3 pos, int dimId, Actor* ac); + + //Block + LIAPI static Block* getBlock(BlockPos* pos, int dimId); + LIAPI static Block* getBlock(BlockPos* pos, BlockSource* blockSource); + LIAPI static Block* getBlock(const BlockPos& pos, int dimId); + LIAPI static Block* getBlock(const BlockPos& pos, BlockSource *blockSource); + //LIAPI static Block* getBlockEx(const BlockPos& pos, int dimId); + LIAPI static BlockInstance getBlockInstance(BlockPos* pos, int dimId); + //LIAPI static BlockInstance getBlockInstance(BlockPos* pos, BlockSource* blockSource); + LIAPI static BlockInstance getBlockInstance(const BlockPos& pos, int dimId); + //LIAPI static BlockInstance getBlockInstance(const BlockPos& pos, BlockSource* blockSource); + LIAPI static BlockActor* getBlockEntity(BlockPos* pos, int dimId); + LIAPI static BlockActor* getBlockEntity(BlockPos* pos, BlockSource* blockSource); + LIAPI static BlockActor* getBlockEntity(const BlockPos& pos, int dimId); + LIAPI static BlockActor* getBlockEntity(const BlockPos& pos, BlockSource* blockSource); + LIAPI static bool setBlock(const BlockPos& pos, int dim, Block* block); + LIAPI static bool setBlock(const BlockPos& pos, int dim, const string& name, unsigned short tileData); + LIAPI static bool setBlock(const BlockPos& pos, int dim, CompoundTag* nbt); + //LIAPI static bool breakBlockNaturally(BlockSource* bs, const BlockPos& pos); + //LIAPI static bool breakBlockNaturally(BlockSource* bs, const BlockPos& pos, ItemStack* tool); + //LIAPI static bool destroyBlock(class BlockSource& bs, class BlockPos const& pos, bool a2); + //LIAPI static void spawnParticleEffect(std::string const& type, class Vec3 const& pos, class Dimension* a2); + //LIAPI static void spawnParticleEffect(std::string const& type, class Actor const& a1, class Vec3 const& a2); + LIAPI static bool hasContainer(Vec3 pos, int dim); + LIAPI static Container* getContainer(Vec3 pos, int dim); + + //Item + // The return value should be freed by the developer if it is no longer used + LIAPI static ItemStack* getItemStackFromId(short itemId, int aux = 0); + + //Helper + LIAPI static BlockSource* getBlockSource(int dimid); + //LIAPI static BlockSource* getBlockSource(Actor* actor); + //LIAPI static BlockPalette* getBlockPalette(); + //LIAPI static Dimension* getDimension(class AutomaticID a0); + LIAPI static Actor* getDamageSourceEntity(ActorDamageSource* ads); + LIAPI static void broadcastText(const string& text, TextType type); + LIAPI static void broadcastTitle(const string& text, TitleType Type, int FadeInDuration, int RemainDuration, int FadeOutDuration); + + [[deprecated("This is a typo. Use Level::sendPacketForAllPlayers")]] + LIAPI static void sendPacketForAllPlayer(Packet& pkt); + + LIAPI static void sendPacketForAllPlayers(Packet& pkt); + + //LIAPI static std::string getCurrentLevelName(); + //LIAPI static std::string getCurrentLevelPath(); + LIAPI static int64_t createBossEvent(); + + public: + static void dummy() { ; } + struct ServerCommandOrigin { + void* myVTBL; + void* UUID[2]; + ServerLevel* lvl; + string Name; + unsigned char Perm; + static void* fake_vtbl[26]; + + [[deprecated]] + ServerCommandOrigin() + { + if (fake_vtbl[1] == nullptr) { + memcpy(fake_vtbl, (void**)(SYM("??_7ServerCommandOrigin@@6B@")) - 1, sizeof(fake_vtbl)); + fake_vtbl[1] = (void*)dummy; + } + myVTBL = fake_vtbl + 1; + Name = "Server"; + Perm = 4; + lvl = Global; + } + }; + + LIAPI static bool executeCommandAs(Player* player, const string& cmd); + LIAPI static std::pair executeCommandEx(const string& cmd); + LIAPI static bool executeCommand(const string& cmd); + + + + //For compatibility + LIAPI static bool runcmdAs(Player* pl, const string& cmd) + { + return executeCommandAs(pl, cmd); + } + LIAPI static std::pair runcmdEx(const string& cmd) + { + return executeCommandEx(cmd); + } + LIAPI static bool runcmd(const string& cmd) + { + return executeCommand(cmd); + } + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_LEVEL +public: + class Level& operator=(class Level const &) = delete; + Level(class Level const &) = delete; + Level() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_LEVEL + MCVAPI class Actor * addAutonomousEntity(class BlockSource &, std::unique_ptr); + MCVAPI class Actor * addEntity(class BlockSource &, std::unique_ptr); + MCVAPI void addEntryToTagCache(std::string const &); + MCVAPI class Actor * addGlobalEntity(class BlockSource &, std::unique_ptr); + MCVAPI void addPlayer(std::unique_ptr); + MCVAPI std::unique_ptr borrowEntity(struct ActorUniqueID, class LevelChunk *); + MCVAPI bool canUseSkin(class SerializedSkin const &, class NetworkIdentifier const &, class mce::UUID const &, std::string const &) const; + MCVAPI void clearTagCache(); + MCVAPI void decrementTagCache(std::string const &, class TagRegistry, struct IDType> &); + MCVAPI void directTickEntities(class BlockSource &); + MCVAPI void dropEntryFromTagCache(std::string const &); + MCVAPI class BiomeComponentFactory & getBiomeComponentFactory(); + MCVAPI class BiomeComponentFactory const & getBiomeComponentFactory() const; + MCVAPI class BiomeRegistry & getBiomeRegistry(); + MCVAPI class BiomeRegistry const & getBiomeRegistry() const; + MCVAPI class BlockPalette & getBlockPalette(); + MCVAPI class BlockPalette const & getBlockPalette() const; + MCVAPI class ResourcePackManager * getClientResourcePackManager() const; + MCVAPI struct Tick const getCurrentServerTick() const; + MCVAPI class Factory & getDimensionFactory(); + MCVAPI class Factory const & getDimensionFactory() const; + MCVAPI class FeatureRegistry & getFeatureRegistry(); + MCVAPI class FeatureRegistry const & getFeatureRegistry() const; + MCVAPI class FeatureTypeFactory & getFeatureTypeFactory(); + MCVAPI class FeatureTypeFactory const & getFeatureTypeFactory() const; + MCVAPI class JigsawStructureRegistry & getJigsawStructureRegistry(); + MCVAPI class JigsawStructureRegistry const & getJigsawStructureRegistry() const; + MCVAPI class Factory & getLightTextureImageBuilderFactory(); + MCVAPI class Factory const & getLightTextureImageBuilderFactory() const; + MCVAPI class PositionTrackingDB::PositionTrackingDBServer * getPositionTrackerDBServer() const; + MCVAPI class ResourcePackManager * getServerResourcePackManager() const; + MCVAPI class StructureManager & getStructureManager(); + MCVAPI class StructureManager const & getStructureManager() const; + MCVAPI class SurfaceBuilderRegistry & getSurfaceBuilderRegistry(); + MCVAPI class SurfaceBuilderRegistry const & getSurfaceBuilderRegistry() const; + MCVAPI class TagRegistry, struct IDType> & getTagRegistry(); + MCVAPI class TradeTables * getTradeTables(); + MCVAPI void incrementTagCache(std::string const &, class TagRegistry, struct IDType> &); + MCVAPI bool initialize(std::string const &, class LevelSettings const &, class LevelData *, std::string const *); + MCVAPI void loadFunctionManager(); + MCVAPI void onChunkLoaded(class ChunkSource &, class LevelChunk &); + MCVAPI void onPlayerDeath(class Player &, class ActorDamageSource const &); + MCVAPI void onSourceCreated(class BlockSource &); + MCVAPI void onSourceDestroyed(class BlockSource &); + MCVAPI void queueEntityRemoval(std::unique_ptr &&, bool); + MCVAPI void removeEntityReferences(class Actor &, bool); + MCVAPI void runCommand(class HashedString const &, class CommandOrigin &, enum CommandOriginSystem, enum CurrentCmdVersion); + MCVAPI void saveAdditionalData(); + MCVAPI void setCommandsEnabled(bool); + MCVAPI void setDifficulty(enum Difficulty); + MCVAPI void setFinishedInitializing(); + MCVAPI void setWorldTemplateOptionsUnlocked(); + MCVAPI void startLeaveGame(); + MCVAPI std::unique_ptr takeEntity(struct ActorUniqueID); + MCVAPI void tick(); + MCVAPI void updateSleepingPlayerList(); + MCVAPI ~Level(); +#endif + MCAPI Level(class gsl::not_null> const &, std::unique_ptr, std::unique_ptr, class IMinecraftEventing &, bool, unsigned char, class Scheduler &, class StructureManager &, class ResourcePackManager &, class IEntityRegistryOwner &, std::unique_ptr, std::unique_ptr); + MCAPI void _checkUserStorage(); + MCAPI void addListener(class LevelListener &); + MCAPI class Particle * addParticle(enum ParticleType, class Vec3 const &, class Vec3 const &, int, class CompoundTag const *, bool); + MCAPI void addTerrainParticleEffect(class BlockPos const &, class Block const &, class Vec3 const &, float, float, float); + MCAPI void broadcastActorEvent(class Actor &, enum ActorEvent, int); + MCAPI void broadcastBossEvent(enum BossEventUpdateType); + MCAPI void broadcastDimensionEvent(class BlockSource &, enum LevelEvent, class Vec3 const &, int, class Player *); + MCAPI void broadcastLevelEvent(enum LevelEvent, class Vec3 const &, int, class Player *); + MCAPI void broadcastLevelEvent(enum LevelEvent, class CompoundTag const &, class Player *); + MCAPI void broadcastSoundEvent(class BlockSource &, enum LevelSoundEvent, class Vec3 const &, int, struct ActorDefinitionIdentifier const &, bool, bool); + MCAPI bool checkAndHandleMaterial(class AABB const &, enum MaterialType, class Actor *); + MCAPI bool copyAndLockMap(struct ActorUniqueID, struct ActorUniqueID); + MCAPI class Dimension * createDimension(class AutomaticID); + MCAPI class MapItemSavedData & createMapSavedData(struct ActorUniqueID const &, class BlockPos const &, class AutomaticID, int); + MCAPI class MapItemSavedData & createMapSavedData(std::vector const &, class BlockPos const &, class AutomaticID, int); + MCAPI void createPhotoStorage(); + MCAPI void denyEffect(class Vec3 const &); + MCAPI bool destroyBlock(class BlockSource &, class BlockPos const &, bool); + MCAPI void entityChangeDimension(class Actor &, class AutomaticID); + MCAPI struct ActorUniqueID expandMapByID(struct ActorUniqueID, bool); + MCAPI void explode(class BlockSource &, class Actor *, class Vec3 const &, float, bool, bool, float, bool); + MCAPI bool extinguishFire(class BlockSource &, class BlockPos const &, unsigned char); + MCAPI class Actor * fetchEntity(struct ActorUniqueID, bool) const; + MCAPI class Player * findPlayer(class std::function) const; + MCAPI void forEachDimension(class std::function); + MCAPI void forEachPlayer(class std::function); + MCAPI void forEachPlayer(class std::function) const; + MCAPI void forceRemoveEntity(class Actor &); + MCAPI struct AdventureSettings & getAdventureSettings(); + MCAPI struct Tick const & getCurrentTick() const; + MCAPI enum GameType getDefaultGameType() const; + MCAPI enum Difficulty getDifficulty() const; + MCAPI class Dimension * getDimension(class AutomaticID) const; + MCAPI class DimensionConversionData getDimensionConversionData() const; + MCAPI class GameRules & getGameRules(); + MCAPI class MapItemSavedData * getMapSavedData(struct ActorUniqueID); + MCAPI int getNewPlayerId() const; + MCAPI class PacketSender * getPacketSender() const; + MCAPI class Color getPlayerColor(class Player const &) const; + MCAPI std::string const & getPlayerPlatformOnlineId(class mce::UUID const &) const; + MCAPI std::string const & getPlayerXUID(class mce::UUID const &) const; + MCAPI class Player * getPrimaryLocalPlayer() const; + MCAPI class Player * getRandomPlayer(); + MCAPI class Actor * getRuntimeEntity(class ActorRuntimeID, bool) const; + MCAPI unsigned int getSeed(); + MCAPI class BlockPos const & getSharedSpawnPos() const; + MCAPI float getSpecialMultiplier(class AutomaticID) const; + MCAPI class ITickingArea * getTickingArea(class mce::UUID const &) const; + MCAPI bool hasCommandsEnabled() const; + MCAPI bool hasExperimentalGameplayEnabled() const; + MCAPI bool isPlayerSuspended(class Player &) const; + MCAPI void onChunkDiscarded(class LevelChunk &); + MCAPI void playSound(class BlockSource &, enum LevelSoundEvent, class Vec3 const &, int, struct ActorDefinitionIdentifier const &, bool, bool); + MCAPI void playSound(enum LevelSoundEvent, class Vec3 const &, int, struct ActorDefinitionIdentifier const &, bool, bool); + MCAPI void playSynchronizedSound(class BlockSource &, enum LevelSoundEvent, class Vec3 const &, int, struct ActorDefinitionIdentifier const &, bool, bool); + MCAPI void potionSplash(class Vec3 const &, class Color const &, bool); + MCAPI void removeAutonomousEntity(class Actor &, class LevelChunk *); + MCAPI void removeListener(class LevelListener &); + MCAPI void requestMapInfo(struct ActorUniqueID, bool); + MCAPI void requestPlayerChangeDimension(class Player &, std::unique_ptr); + MCAPI void save(); + MCAPI void saveBiomeData(); + MCAPI void saveDirtyChunks(); + MCAPI void saveGameData(); + MCAPI void saveLevelData(); + MCAPI void saveVillages(); + MCAPI void setDefaultGameType(enum GameType); + MCAPI void spawnParticleEffect(std::string const &, class Vec3 const &, class Dimension *); + MCAPI void tickEntities(); + MCAPI void unregisterTemporaryPointer(class _TickPtr &); + MCAPI void updateWeather(float, int, float, int); + +//private: + MCAPI void _cleanupDisconnectedPlayers(); + MCAPI class MapItemSavedData & _createMapSavedData(struct ActorUniqueID const &); + MCAPI void _fixEntitiesRegion(std::vector &, class BlockSource const &, class Dimension &); + MCAPI enum CrashDumpLogStringID _getCrashDumpLogCategory(); + MCAPI std::string _getValidatedPlayerName(std::string const &); + MCAPI void _handleChangeDimensionRequests(); + MCAPI void _handlePlayerSuspension(); + MCAPI void _loadAutonomousEntities(); + MCAPI void _loadBiomeData(); + MCAPI class MapItemSavedData * _loadMapData(struct ActorUniqueID const &); + MCAPI bool _playerChangeDimension(class Player *, class ChangeDimensionRequest &); + MCAPI void _saveAutonomousEntities(); + MCAPI void _saveSomeChunks(); + MCAPI void _syncTime(int); + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/LevelChunk.hpp b/LiteLoader/Header/MC/LevelChunk.hpp new file mode 100644 index 0000000..69a89f0 --- /dev/null +++ b/LiteLoader/Header/MC/LevelChunk.hpp @@ -0,0 +1,127 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Bedrock.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class LevelChunk { + +#define AFTER_EXTRA +// Add Member There +public: +enum Finalization : int { + Requeue = 0x0, + Done = 0x1, + Noop = 0x2, +}; + +class Neighbors { +public: + Neighbors() = delete; + Neighbors(Neighbors const&) = delete; + Neighbors(Neighbors const&&) = delete; +}; + +enum HardcodedSpawnAreaType : char { + NONE = 0, + NETHER_FORTRESS = 1, + SWAMP_HUT = 2, + OCEAN_MONUMENT = 3, + UNKNOWN4 = 4, + PILLAGER_OUTPOST = 5, +}; + +struct HardcodedSpawningArea { + class BoundingBox aabb; + enum HardcodedSpawnAreaType type; +}; +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_LEVELCHUNK +public: + class LevelChunk& operator=(class LevelChunk const &) = delete; + LevelChunk(class LevelChunk const &) = delete; + LevelChunk() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_LEVELCHUNK +#endif + MCAPI LevelChunk(class Dimension &, class ChunkPos const &, bool); + MCAPI void addEntity(std::unique_ptr); + MCAPI void addHardcodedSpawningArea(class BoundingBox const &, enum HardcodedSpawnAreaType); + MCAPI bool applySeasonsPostProcess(class BlockSource &); + MCAPI void checkBiomeStates(); + MCAPI bool checkSeasonsPostProcessDirty(); + MCAPI void deserializeBlockEntities(class IDataInput &); + MCAPI void deserializeCheckSums(class IDataInput &); + MCAPI bool deserializeKey(class gsl::basic_string_span, class gsl::basic_string_span); + MCAPI void fetchBlocks(class BlockPos const &, class BlockVolume &) const; + MCAPI class BlockPos findLightningTarget(class BlockPos const &, class BlockSource &); + MCAPI bool generateOriginalLighting(class ChunkViewSource &, bool); + MCAPI short getAboveTopSolidBlock(class ChunkBlockPos const &, bool, bool, bool); + MCAPI class Biome & getBiome(class ChunkBlockPos const &) const; + MCAPI class Block const & getBlock(class ChunkBlockPos const &) const; + MCAPI class BlockActor * getBlockEntity(class ChunkBlockPos const &); + MCAPI struct BrightnessPair getBrightness(class ChunkBlockPos const &) const; + MCAPI signed char getCachedTemperatureNoise(class ChunkBlockPos const &); + MCAPI void getEntities(class gsl::span, -1>, class AABB const &, std::vector &, bool) const; + MCAPI void getEntities(enum ActorType, class AABB const &, std::vector &, bool) const; + MCAPI class Block const & getExtraBlock(class ChunkBlockPos const &) const; + MCAPI class BlockPos const getTopRainBlockPos(class ChunkBlockPos const &); + MCAPI bool hasEntity(class Actor &); + MCAPI void legacyDeserializeBlockExtraData(class IDataInput &); + MCAPI void legacyDeserializeTerrain(class IDataInput &); + MCAPI bool needsSaving(int, int) const; + MCAPI class LevelChunk & operator=(class LevelChunk &&); + MCAPI void placeCallbacks(class ChunkBlockPos const &, class Block const &, class Block const &, class BlockSource *, class std::shared_ptr); + MCAPI void recomputeHeightMap(bool); + MCAPI class std::shared_ptr removeBlockEntity(class BlockPos const &); + MCAPI std::unique_ptr removeEntity(class Actor &); + MCAPI void removeHardcodedSpawningArea(enum HardcodedSpawnAreaType); + MCAPI void runtimeRelightSubchunk(class BlockSource &, unsigned __int64, std::vector const &, std::vector &); + MCAPI void serializeBlockEntities(class IDataOutput &) const; + MCAPI bool serializeBorderBlocks(class IDataOutput &) const; + MCAPI void serializeCheckSums(class IDataOutput &) const; + MCAPI void serializeEntities(class IDataOutput &) const; + MCAPI bool serializeHardcodedSpawners(class IDataOutput &) const; + MCAPI void serializeRandomTicks(class IDataOutput &) const; + MCAPI void setAllLegacyBlockIDAndData(class buffer_span, class buffer_span); + MCAPI void setBiome(class Biome const &, class ChunkBlockPos const &); + MCAPI class Block const & setBlock(class ChunkBlockPos const &, class Block const &, class BlockSource *, class std::shared_ptr); + MCAPI void setBlockVolume(class BlockVolume const &); + MCAPI void setBorder(class ChunkBlockPos const &, bool); + MCAPI class Block const & setExtraBlock(class ChunkBlockPos const &, class Block const &, class BlockSource *); + MCAPI void setPreWorldGenHeightMap(std::unique_ptr>); + MCAPI void setSaved(); + MCAPI void setUnsaved(); + MCAPI void setupRedstoneCircuit(class BlockSource &); + MCAPI void tick(class BlockSource &, struct Tick const &); + MCAPI void tickBlockEntities(class BlockSource &); + MCAPI void tickBlocks(class BlockSource &); + MCAPI void updateCheckSum(enum LevelChunkTag, class gsl::basic_string_span, unsigned __int64); + MCAPI ~LevelChunk(); + +//protected: + MCAPI bool _compareCheckSumAgainstExpectedForKey(class std::unordered_map, struct std::equal_to, class std::allocator>> const &, struct LevelChunkHashMapKey const &) const; + MCAPI struct SubChunk & _createSubChunk(unsigned __int64, bool, enum SubChunkInitMode); + MCAPI void _deserializeEntity(class BlockSource &, class IDataInput &, std::vector &); + MCAPI void _fixupCorruptedBlockActors(class std::unordered_map, struct std::hash, struct std::equal_to, class std::allocator>>> &); + MCAPI void _generateOriginalLightingSubChunk(class BlockSource &, unsigned __int64, bool); + MCAPI void _lightingCallbacks(class ChunkBlockPos const &, class Block const &, class Block const &, class BlockSource *); + MCAPI void _placeBlockEntity(class std::shared_ptr); + MCAPI void _reassignSubChunks(class buffer_span_mut); + MCAPI bool _recalcHeight(class ChunkBlockPos const &, class BlockSource *); + MCAPI void _removeCallbacks(class ChunkBlockPos const &, class Block const &, class Block const &, class BlockSource *); + +//private: + MCAPI void _fixupCommandBlocksOnTickingQueue(class BlockSource &); + +protected: + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/LevelChunkBuilderData.hpp b/LiteLoader/Header/MC/LevelChunkBuilderData.hpp new file mode 100644 index 0000000..be1f559 --- /dev/null +++ b/LiteLoader/Header/MC/LevelChunkBuilderData.hpp @@ -0,0 +1,26 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class LevelChunkBuilderData { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_LEVELCHUNKBUILDERDATA +public: + class LevelChunkBuilderData& operator=(class LevelChunkBuilderData const &) = delete; + LevelChunkBuilderData(class LevelChunkBuilderData const &) = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_LEVELCHUNKBUILDERDATA +#endif + MCAPI LevelChunkBuilderData(); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/LevelChunkFinalDeleter.hpp b/LiteLoader/Header/MC/LevelChunkFinalDeleter.hpp new file mode 100644 index 0000000..8fc2f01 --- /dev/null +++ b/LiteLoader/Header/MC/LevelChunkFinalDeleter.hpp @@ -0,0 +1,26 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +struct LevelChunkFinalDeleter { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_LEVELCHUNKFINALDELETER +public: + struct LevelChunkFinalDeleter& operator=(struct LevelChunkFinalDeleter const &) = delete; + LevelChunkFinalDeleter(struct LevelChunkFinalDeleter const &) = delete; + LevelChunkFinalDeleter() = delete; +#endif +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_LEVELCHUNKFINALDELETER +#endif + MCAPI void operator()(class LevelChunk *); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/LevelChunkGarbageCollector.hpp b/LiteLoader/Header/MC/LevelChunkGarbageCollector.hpp new file mode 100644 index 0000000..2a6a0c9 --- /dev/null +++ b/LiteLoader/Header/MC/LevelChunkGarbageCollector.hpp @@ -0,0 +1,32 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class LevelChunkGarbageCollector { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_LEVELCHUNKGARBAGECOLLECTOR +public: + class LevelChunkGarbageCollector& operator=(class LevelChunkGarbageCollector const &) = delete; + LevelChunkGarbageCollector(class LevelChunkGarbageCollector const &) = delete; + LevelChunkGarbageCollector() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_LEVELCHUNKGARBAGECOLLECTOR +#endif + MCAPI ~LevelChunkGarbageCollector(); + +//protected: + MCAPI void flush(); + +protected: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/LevelChunkPacket.hpp b/LiteLoader/Header/MC/LevelChunkPacket.hpp new file mode 100644 index 0000000..a351fa5 --- /dev/null +++ b/LiteLoader/Header/MC/LevelChunkPacket.hpp @@ -0,0 +1,32 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Packet.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class LevelChunkPacket : public Packet { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_LEVELCHUNKPACKET +public: + class LevelChunkPacket& operator=(class LevelChunkPacket const &) = delete; + LevelChunkPacket(class LevelChunkPacket const &) = delete; + LevelChunkPacket() = delete; +#endif + +public: + /*0*/ virtual ~LevelChunkPacket(); + /*1*/ virtual enum MinecraftPacketIds getId() const; + /*2*/ virtual std::string getName() const; + /*3*/ virtual void write(class BinaryStream &) const; + /*4*/ virtual enum StreamReadResult read(class ReadOnlyBinaryStream &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_LEVELCHUNKPACKET +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/LevelChunkPhase1Deleter.hpp b/LiteLoader/Header/MC/LevelChunkPhase1Deleter.hpp new file mode 100644 index 0000000..2d7e206 --- /dev/null +++ b/LiteLoader/Header/MC/LevelChunkPhase1Deleter.hpp @@ -0,0 +1,26 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +struct LevelChunkPhase1Deleter { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_LEVELCHUNKPHASE1DELETER +public: + struct LevelChunkPhase1Deleter& operator=(struct LevelChunkPhase1Deleter const &) = delete; + LevelChunkPhase1Deleter(struct LevelChunkPhase1Deleter const &) = delete; + LevelChunkPhase1Deleter() = delete; +#endif +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_LEVELCHUNKPHASE1DELETER +#endif + MCAPI void operator()(class LevelChunk *); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/LevelContainerManagerModel.hpp b/LiteLoader/Header/MC/LevelContainerManagerModel.hpp new file mode 100644 index 0000000..a0b10ed --- /dev/null +++ b/LiteLoader/Header/MC/LevelContainerManagerModel.hpp @@ -0,0 +1,40 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "ContainerManagerModel.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class LevelContainerManagerModel : public ContainerManagerModel { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_LEVELCONTAINERMANAGERMODEL +public: + class LevelContainerManagerModel& operator=(class LevelContainerManagerModel const &) = delete; + LevelContainerManagerModel(class LevelContainerManagerModel const &) = delete; + LevelContainerManagerModel() = delete; +#endif + +public: + /*0*/ virtual ~LevelContainerManagerModel(); + /*6*/ virtual std::vector getItemCopies() const; + /*7*/ virtual void setSlot(int, class ItemStack const &, bool); + /*8*/ virtual class ItemStack const & getSlot(int) const; + /*9*/ virtual void setData(int, int); + /*10*/ virtual void broadcastChanges(); + /*11*/ virtual bool isValid(float); + /*12*/ virtual class ContainerScreenContext _postInit(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_LEVELCONTAINERMANAGERMODEL +#endif + +//protected: + MCAPI class Container * _getRawContainer(); + +protected: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/LevelContainerModel.hpp b/LiteLoader/Header/MC/LevelContainerModel.hpp new file mode 100644 index 0000000..9de0a82 --- /dev/null +++ b/LiteLoader/Header/MC/LevelContainerModel.hpp @@ -0,0 +1,48 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "ContainerModel.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class LevelContainerModel : public ContainerModel { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_LEVELCONTAINERMODEL +public: + class LevelContainerModel& operator=(class LevelContainerModel const &) = delete; + LevelContainerModel(class LevelContainerModel const &) = delete; + LevelContainerModel() = delete; +#endif + +public: + /*0*/ virtual void containerContentChanged(int); + /*1*/ virtual ~LevelContainerModel(); + /*2*/ virtual void postInit(); + /*3*/ virtual void releaseResources(); + /*6*/ virtual void __unk_vfn_6(); + /*7*/ virtual class ContainerWeakRef getContainerWeakRef() const; + /*12*/ virtual void __unk_vfn_12(); + /*14*/ virtual bool isValid(); + /*15*/ virtual void __unk_vfn_15(); + /*16*/ virtual void __unk_vfn_16(); + /*19*/ virtual void __unk_vfn_19(); + /*20*/ virtual class Container * _getContainer() const; + /*21*/ virtual int _getContainerOffset() const; + /*22*/ virtual void _onItemChanged(int, class ItemStack const &, class ItemStack const &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_LEVELCONTAINERMODEL +#endif + MCAPI LevelContainerModel(enum ContainerEnumName, int, class Player &, enum BlockActorType, class BlockPos const &, enum ContainerCategory); + MCAPI LevelContainerModel(enum ContainerEnumName, int, class Player &, struct ActorUniqueID, enum ContainerCategory); + +//private: + MCAPI void _refreshSlot(int); + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/LevelData.hpp b/LiteLoader/Header/MC/LevelData.hpp new file mode 100644 index 0000000..f6b82cb --- /dev/null +++ b/LiteLoader/Header/MC/LevelData.hpp @@ -0,0 +1,48 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "RakNet.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class LevelData { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_LEVELDATA +public: + class LevelData& operator=(class LevelData const &) = delete; + LevelData(class LevelData const &) = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_LEVELDATA +#endif + MCAPI LevelData(); + MCAPI LevelData(class LevelSettings const &, std::string const &, enum GeneratorType, class BlockPos const &, bool, enum EducationEditionOffer, float, float); + MCAPI struct LevelDataValue const * _getValue(class StringKey const &) const; + MCAPI bool achievementsWillBeDisabledOnLoad() const; + MCAPI std::unique_ptr createTag() const; + MCAPI enum GameType getGameType() const; + MCAPI enum GeneratorType getGenerator() const; + MCAPI class CompoundTag & getLoadedPlayerTag(); + MCAPI unsigned int getSeed() const; + MCAPI class BlockPos const & getSpawnPos() const; + MCAPI void getTagData(class CompoundTag const &); + MCAPI bool hasExperimentalGameplayEnabled() const; + MCAPI class LevelData & operator=(class LevelData &&); + MCAPI void setEducationOid(std::string const &); + MCAPI void setGameType(enum GameType); + MCAPI void setGenerator(enum GeneratorType); + MCAPI void setSeed(unsigned int); + MCAPI void setSpawnPos(class BlockPos const &); + MCAPI void setTagData(class CompoundTag &) const; + MCAPI void touchLastLoadedWithVersion(); + MCAPI void v1_read(class RakNet::BitStream &, enum StorageVersion); + MCAPI ~LevelData(); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/LevelDataKeys.hpp b/LiteLoader/Header/MC/LevelDataKeys.hpp new file mode 100644 index 0000000..8654626 --- /dev/null +++ b/LiteLoader/Header/MC/LevelDataKeys.hpp @@ -0,0 +1,24 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +namespace LevelDataKeys { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA + MCAPI extern class StringKey EDUCATION_OID; + MCAPI extern class StringKey GAME_TYPE; + MCAPI extern class StringKey GENERATOR; + MCAPI extern class StringKey LIMITED_WORLD_DEPTH; + MCAPI extern class StringKey LIMITED_WORLD_WIDTH; + MCAPI extern class StringKey LOADED_PLAYER_TAG; + MCAPI extern class StringKey SEED; + MCAPI extern class StringKey SPAWN_POS; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/LevelDataValue.hpp b/LiteLoader/Header/MC/LevelDataValue.hpp new file mode 100644 index 0000000..b875b25 --- /dev/null +++ b/LiteLoader/Header/MC/LevelDataValue.hpp @@ -0,0 +1,27 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +struct LevelDataValue { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_LEVELDATAVALUE +public: + struct LevelDataValue& operator=(struct LevelDataValue const &) = delete; + LevelDataValue(struct LevelDataValue const &) = delete; + LevelDataValue() = delete; +#endif +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_LEVELDATAVALUE +#endif + MCAPI struct LevelDataValue & operator=(struct LevelDataValue &&); + MCAPI ~LevelDataValue(); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/LevelDataWrapper.hpp b/LiteLoader/Header/MC/LevelDataWrapper.hpp new file mode 100644 index 0000000..74da64b --- /dev/null +++ b/LiteLoader/Header/MC/LevelDataWrapper.hpp @@ -0,0 +1,28 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class LevelDataWrapper { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_LEVELDATAWRAPPER +public: + class LevelDataWrapper& operator=(class LevelDataWrapper const &) = delete; + LevelDataWrapper(class LevelDataWrapper const &) = delete; + LevelDataWrapper() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_LEVELDATAWRAPPER +#endif + MCAPI class LevelData * operator->(); + MCAPI ~LevelDataWrapper(); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/LevelDbEnv.hpp b/LiteLoader/Header/MC/LevelDbEnv.hpp new file mode 100644 index 0000000..11cace7 --- /dev/null +++ b/LiteLoader/Header/MC/LevelDbEnv.hpp @@ -0,0 +1,51 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class LevelDbEnv { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_LEVELDBENV +public: + class LevelDbEnv& operator=(class LevelDbEnv const &) = delete; + LevelDbEnv(class LevelDbEnv const &) = delete; + LevelDbEnv() = delete; +#endif + +public: + /*0*/ virtual ~LevelDbEnv(); + /*1*/ virtual class leveldb::Status NewSequentialFile(std::string const &, class leveldb::SequentialFile **); + /*2*/ virtual class leveldb::Status NewRandomAccessFile(std::string const &, class leveldb::RandomAccessFile **); + /*3*/ virtual class leveldb::Status NewWritableFile(std::string const &, class leveldb::WritableFile **); + /*4*/ virtual class leveldb::Status NewAppendableFile(std::string const &, class leveldb::WritableFile **); + /*5*/ virtual bool FileExists(std::string const &); + /*6*/ virtual class leveldb::Status GetChildren(std::string const &, std::vector *); + /*7*/ virtual class leveldb::Status DeleteFileA(std::string const &); + /*8*/ virtual class leveldb::Status CreateDir(std::string const &); + /*9*/ virtual class leveldb::Status DeleteDir(std::string const &); + /*10*/ virtual class leveldb::Status GetFileSize(std::string const &, unsigned __int64 *); + /*11*/ virtual class leveldb::Status RenameFile(std::string const &, std::string const &); + /*12*/ virtual class leveldb::Status LockFile(std::string const &, class leveldb::FileLock **); + /*13*/ virtual class leveldb::Status UnlockFile(class leveldb::FileLock *); + /*14*/ virtual void Schedule(void ( *)(void *), void *); + /*15*/ virtual void StartThread(void ( *)(void *), void *); + /*16*/ virtual class leveldb::Status GetTestDirectory(std::string *); + /*17*/ virtual class leveldb::Status NewLogger(std::string const &, class leveldb::Logger **); + /*18*/ virtual unsigned __int64 NowMicros(); + /*19*/ virtual void SleepForMicroseconds(int); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_LEVELDBENV +#endif + +//private: + +private: + MCAPI static std::unique_ptr sSingleton; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/LevelDbFileLock.hpp b/LiteLoader/Header/MC/LevelDbFileLock.hpp new file mode 100644 index 0000000..66ec726 --- /dev/null +++ b/LiteLoader/Header/MC/LevelDbFileLock.hpp @@ -0,0 +1,26 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class LevelDbFileLock { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_LEVELDBFILELOCK +public: + class LevelDbFileLock& operator=(class LevelDbFileLock const &) = delete; + LevelDbFileLock(class LevelDbFileLock const &) = delete; + LevelDbFileLock() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_LEVELDBFILELOCK +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/LevelDbLogger.hpp b/LiteLoader/Header/MC/LevelDbLogger.hpp new file mode 100644 index 0000000..86126f8 --- /dev/null +++ b/LiteLoader/Header/MC/LevelDbLogger.hpp @@ -0,0 +1,28 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class LevelDbLogger { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_LEVELDBLOGGER +public: + class LevelDbLogger& operator=(class LevelDbLogger const &) = delete; + LevelDbLogger(class LevelDbLogger const &) = delete; + LevelDbLogger() = delete; +#endif + +public: + /*0*/ virtual ~LevelDbLogger(); + /*1*/ virtual void Logv(char const *, char *); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_LEVELDBLOGGER +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/LevelDbRandomAccessFile.hpp b/LiteLoader/Header/MC/LevelDbRandomAccessFile.hpp new file mode 100644 index 0000000..edf9ab1 --- /dev/null +++ b/LiteLoader/Header/MC/LevelDbRandomAccessFile.hpp @@ -0,0 +1,28 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class LevelDbRandomAccessFile { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_LEVELDBRANDOMACCESSFILE +public: + class LevelDbRandomAccessFile& operator=(class LevelDbRandomAccessFile const &) = delete; + LevelDbRandomAccessFile(class LevelDbRandomAccessFile const &) = delete; + LevelDbRandomAccessFile() = delete; +#endif + +public: + /*0*/ virtual ~LevelDbRandomAccessFile(); + /*1*/ virtual class leveldb::Status Read(unsigned __int64, unsigned __int64, class leveldb::Slice *, char *) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_LEVELDBRANDOMACCESSFILE +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/LevelDbSequentialFile.hpp b/LiteLoader/Header/MC/LevelDbSequentialFile.hpp new file mode 100644 index 0000000..e47d677 --- /dev/null +++ b/LiteLoader/Header/MC/LevelDbSequentialFile.hpp @@ -0,0 +1,29 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class LevelDbSequentialFile { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_LEVELDBSEQUENTIALFILE +public: + class LevelDbSequentialFile& operator=(class LevelDbSequentialFile const &) = delete; + LevelDbSequentialFile(class LevelDbSequentialFile const &) = delete; + LevelDbSequentialFile() = delete; +#endif + +public: + /*0*/ virtual ~LevelDbSequentialFile(); + /*1*/ virtual class leveldb::Status Read(unsigned __int64, class leveldb::Slice *, char *); + /*2*/ virtual class leveldb::Status Skip(unsigned __int64); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_LEVELDBSEQUENTIALFILE +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/LevelDbWritableFile.hpp b/LiteLoader/Header/MC/LevelDbWritableFile.hpp new file mode 100644 index 0000000..ac1193f --- /dev/null +++ b/LiteLoader/Header/MC/LevelDbWritableFile.hpp @@ -0,0 +1,38 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Core.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class LevelDbWritableFile { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_LEVELDBWRITABLEFILE +public: + class LevelDbWritableFile& operator=(class LevelDbWritableFile const &) = delete; + LevelDbWritableFile(class LevelDbWritableFile const &) = delete; + LevelDbWritableFile() = delete; +#endif + +public: + /*0*/ virtual ~LevelDbWritableFile(); + /*1*/ virtual class leveldb::Status Append(class leveldb::Slice const &); + /*2*/ virtual class leveldb::Status Close(); + /*3*/ virtual class leveldb::Status Flush(); + /*4*/ virtual class leveldb::Status Sync(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_LEVELDBWRITABLEFILE +#endif + MCAPI LevelDbWritableFile(std::string, class Core::File &&); + +//private: + MCAPI class leveldb::Status SyncDirIfManifest(); + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/LevelEventCoordinator.hpp b/LiteLoader/Header/MC/LevelEventCoordinator.hpp new file mode 100644 index 0000000..b6b9ebd --- /dev/null +++ b/LiteLoader/Header/MC/LevelEventCoordinator.hpp @@ -0,0 +1,27 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class LevelEventCoordinator { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_LEVELEVENTCOORDINATOR +public: + class LevelEventCoordinator& operator=(class LevelEventCoordinator const &) = delete; + LevelEventCoordinator(class LevelEventCoordinator const &) = delete; + LevelEventCoordinator() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_LEVELEVENTCOORDINATOR +#endif + MCAPI void sendLevelWeatherChanged(std::string const &, bool, bool); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/LevelEventGenericPacket.hpp b/LiteLoader/Header/MC/LevelEventGenericPacket.hpp new file mode 100644 index 0000000..37af4ea --- /dev/null +++ b/LiteLoader/Header/MC/LevelEventGenericPacket.hpp @@ -0,0 +1,32 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Packet.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class LevelEventGenericPacket : public Packet { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_LEVELEVENTGENERICPACKET +public: + class LevelEventGenericPacket& operator=(class LevelEventGenericPacket const &) = delete; + LevelEventGenericPacket(class LevelEventGenericPacket const &) = delete; + LevelEventGenericPacket() = delete; +#endif + +public: + /*0*/ virtual ~LevelEventGenericPacket(); + /*1*/ virtual enum MinecraftPacketIds getId() const; + /*2*/ virtual std::string getName() const; + /*3*/ virtual void write(class BinaryStream &) const; + /*4*/ virtual enum StreamReadResult read(class ReadOnlyBinaryStream &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_LEVELEVENTGENERICPACKET +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/LevelEventListener.hpp b/LiteLoader/Header/MC/LevelEventListener.hpp new file mode 100644 index 0000000..e70ea9c --- /dev/null +++ b/LiteLoader/Header/MC/LevelEventListener.hpp @@ -0,0 +1,34 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class LevelEventListener { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_LEVELEVENTLISTENER +public: + class LevelEventListener& operator=(class LevelEventListener const &) = delete; + LevelEventListener(class LevelEventListener const &) = delete; + LevelEventListener() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_LEVELEVENTLISTENER + MCVAPI enum EventResult onLevelAddedActor(class Level &, class Actor &); + MCVAPI enum EventResult onLevelAddedPlayer(class Level &, class Player &); + MCVAPI enum EventResult onLevelInitialized(class Level &); + MCVAPI enum EventResult onLevelRemovedActor(class Level &, class Actor &); + MCVAPI enum EventResult onLevelRemovedPlayer(class Level &, class Player &); + MCVAPI enum EventResult onLevelSaveData(class Level &, class CompoundTag &); + MCVAPI enum EventResult onLevelTick(); + MCVAPI enum EventResult onLevelWeatherChange(std::string const &, bool, bool); +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/LevelEventPacket.hpp b/LiteLoader/Header/MC/LevelEventPacket.hpp new file mode 100644 index 0000000..1b86b91 --- /dev/null +++ b/LiteLoader/Header/MC/LevelEventPacket.hpp @@ -0,0 +1,32 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Packet.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class LevelEventPacket : public Packet { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_LEVELEVENTPACKET +public: + class LevelEventPacket& operator=(class LevelEventPacket const &) = delete; + LevelEventPacket(class LevelEventPacket const &) = delete; + LevelEventPacket() = delete; +#endif + +public: + /*0*/ virtual ~LevelEventPacket(); + /*1*/ virtual enum MinecraftPacketIds getId() const; + /*2*/ virtual std::string getName() const; + /*3*/ virtual void write(class BinaryStream &) const; + /*4*/ virtual enum StreamReadResult read(class ReadOnlyBinaryStream &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_LEVELEVENTPACKET +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/LevelListener.hpp b/LiteLoader/Header/MC/LevelListener.hpp new file mode 100644 index 0000000..4681f99 --- /dev/null +++ b/LiteLoader/Header/MC/LevelListener.hpp @@ -0,0 +1,59 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "BlockSourceListener.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class LevelListener : public BlockSourceListener { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_LEVELLISTENER +public: + class LevelListener& operator=(class LevelListener const &) = delete; + LevelListener(class LevelListener const &) = delete; + LevelListener() = delete; +#endif + +public: + /*0*/ virtual ~LevelListener(); + /*1*/ virtual void __unk_vfn_1(); + /*2*/ virtual void __unk_vfn_2(); + /*3*/ virtual void __unk_vfn_3(); + /*4*/ virtual void __unk_vfn_4(); + /*6*/ virtual void __unk_vfn_6(); + /*8*/ virtual void __unk_vfn_8(); + /*9*/ virtual void __unk_vfn_9(); + /*10*/ virtual void __unk_vfn_10(); + /*11*/ virtual class Particle * addParticle(enum ParticleType, class Vec3 const &, class Vec3 const &, int, class CompoundTag const *, bool); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_LEVELLISTENER + MCVAPI void addBreakingItemParticleEffect(class Vec3 const &, enum ParticleType, struct TextureUVCoordinateSet const &, bool); + MCVAPI void addParticleEffect(class HashedString const &, class Actor const &, class HashedString const &, class Vec3 const &, class MolangVariableMap const &); + MCVAPI void addParticleEffect(class HashedString const &, class Vec3 const &, class MolangVariableMap const &); + MCVAPI void addTerrainParticleEffect(class BlockPos const &, class Block const &, class Vec3 const &, float, float, float); + MCVAPI void addTerrainSlideEffect(class BlockPos const &, class Block const &, class Vec3 const &, float, float, float); + MCVAPI void allChanged(); + MCVAPI void levelEvent(enum LevelEvent, class CompoundTag const &); + MCVAPI void levelEvent(enum LevelEvent, class Vec3 const &, int); + MCVAPI void levelSoundEvent(std::string const &, class Vec3 const &, float, float); + MCVAPI void levelSoundEvent(enum LevelSoundEvent, class Vec3 const &, int, struct ActorDefinitionIdentifier const &, bool, bool); + MCVAPI void onChunkLoaded(class ChunkSource &, class LevelChunk &); + MCVAPI void onChunkUnloaded(class LevelChunk &); + MCVAPI void onEntityAdded(class Actor &); + MCVAPI void onEntityRemoved(class Actor &); + MCVAPI void onLevelDestruction(std::string const &); + MCVAPI void playMusic(std::string const &, class Vec3 const &, float, float); + MCVAPI void playStreamingMusic(std::string const &, int, int, int); + MCVAPI void playerListChanged(); + MCVAPI void sendServerLegacyParticle(enum ParticleType, class Vec3 const &, class Vec3 const &, int); + MCVAPI void stopAllSounds(); + MCVAPI void stopSoundEvent(std::string const &); + MCVAPI void takePicture(class cg::ImageBuffer &, class Actor *, class Actor *, struct ScreenshotOptions &); +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/LevelSettings.hpp b/LiteLoader/Header/MC/LevelSettings.hpp new file mode 100644 index 0000000..8dff852 --- /dev/null +++ b/LiteLoader/Header/MC/LevelSettings.hpp @@ -0,0 +1,35 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class LevelSettings { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_LEVELSETTINGS +public: + class LevelSettings& operator=(class LevelSettings const &) = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_LEVELSETTINGS +#endif + MCAPI LevelSettings(class LevelSettings const &); + MCAPI LevelSettings(class LevelSettings &&); + MCAPI LevelSettings(); + MCAPI LevelSettings(class LevelData const &, class AutomaticID); + MCAPI class LevelSettings & operator=(class LevelSettings &&); + MCAPI class LevelSettings & setDefaultAbilities(class Abilities); + MCAPI class LevelSettings & setEducationProductID(std::string); + MCAPI class LevelSettings & setGameRules(class GameRules); + MCAPI class LevelSettings & setSpawnSettings(struct SpawnSettings); + MCAPI ~LevelSettings(); + MCAPI static unsigned int parseSeedString(std::string const &, unsigned int); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/LevelSoundEventMap.hpp b/LiteLoader/Header/MC/LevelSoundEventMap.hpp new file mode 100644 index 0000000..d518e9a --- /dev/null +++ b/LiteLoader/Header/MC/LevelSoundEventMap.hpp @@ -0,0 +1,33 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class LevelSoundEventMap { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_LEVELSOUNDEVENTMAP +public: + class LevelSoundEventMap& operator=(class LevelSoundEventMap const &) = delete; + LevelSoundEventMap(class LevelSoundEventMap const &) = delete; + LevelSoundEventMap() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_LEVELSOUNDEVENTMAP +#endif + MCAPI static enum LevelSoundEvent getId(std::string const &); + MCAPI static std::string const & getName(enum LevelSoundEvent); + +//private: + +private: + MCAPI static class BidirectionalUnorderedMap const map; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/LevelSoundEventPacket.hpp b/LiteLoader/Header/MC/LevelSoundEventPacket.hpp new file mode 100644 index 0000000..84fd0ed --- /dev/null +++ b/LiteLoader/Header/MC/LevelSoundEventPacket.hpp @@ -0,0 +1,32 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Packet.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class LevelSoundEventPacket : public Packet { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_LEVELSOUNDEVENTPACKET +public: + class LevelSoundEventPacket& operator=(class LevelSoundEventPacket const &) = delete; + LevelSoundEventPacket(class LevelSoundEventPacket const &) = delete; + LevelSoundEventPacket() = delete; +#endif + +public: + /*0*/ virtual ~LevelSoundEventPacket(); + /*1*/ virtual enum MinecraftPacketIds getId() const; + /*2*/ virtual std::string getName() const; + /*3*/ virtual void write(class BinaryStream &) const; + /*4*/ virtual enum StreamReadResult read(class ReadOnlyBinaryStream &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_LEVELSOUNDEVENTPACKET +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/LevelSoundEventPacketV1.hpp b/LiteLoader/Header/MC/LevelSoundEventPacketV1.hpp new file mode 100644 index 0000000..e3baf42 --- /dev/null +++ b/LiteLoader/Header/MC/LevelSoundEventPacketV1.hpp @@ -0,0 +1,32 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Packet.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class LevelSoundEventPacketV1 : public Packet { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_LEVELSOUNDEVENTPACKETV1 +public: + class LevelSoundEventPacketV1& operator=(class LevelSoundEventPacketV1 const &) = delete; + LevelSoundEventPacketV1(class LevelSoundEventPacketV1 const &) = delete; + LevelSoundEventPacketV1() = delete; +#endif + +public: + /*0*/ virtual ~LevelSoundEventPacketV1(); + /*1*/ virtual enum MinecraftPacketIds getId() const; + /*2*/ virtual std::string getName() const; + /*3*/ virtual void write(class BinaryStream &) const; + /*4*/ virtual enum StreamReadResult read(class ReadOnlyBinaryStream &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_LEVELSOUNDEVENTPACKETV1 +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/LevelSoundEventPacketV2.hpp b/LiteLoader/Header/MC/LevelSoundEventPacketV2.hpp new file mode 100644 index 0000000..f2c8550 --- /dev/null +++ b/LiteLoader/Header/MC/LevelSoundEventPacketV2.hpp @@ -0,0 +1,32 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Packet.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class LevelSoundEventPacketV2 : public Packet { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_LEVELSOUNDEVENTPACKETV2 +public: + class LevelSoundEventPacketV2& operator=(class LevelSoundEventPacketV2 const &) = delete; + LevelSoundEventPacketV2(class LevelSoundEventPacketV2 const &) = delete; + LevelSoundEventPacketV2() = delete; +#endif + +public: + /*0*/ virtual ~LevelSoundEventPacketV2(); + /*1*/ virtual enum MinecraftPacketIds getId() const; + /*2*/ virtual std::string getName() const; + /*3*/ virtual void write(class BinaryStream &) const; + /*4*/ virtual enum StreamReadResult read(class ReadOnlyBinaryStream &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_LEVELSOUNDEVENTPACKETV2 +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/LevelStorage.hpp b/LiteLoader/Header/MC/LevelStorage.hpp new file mode 100644 index 0000000..2c24f55 --- /dev/null +++ b/LiteLoader/Header/MC/LevelStorage.hpp @@ -0,0 +1,68 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Core.hpp" +#include "Bedrock.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class LevelStorage { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_LEVELSTORAGE +public: + class LevelStorage& operator=(class LevelStorage const &) = delete; + LevelStorage(class LevelStorage const &) = delete; + LevelStorage() = delete; +#endif + +public: + /*0*/ virtual ~LevelStorage(); + /*1*/ virtual void addStorageObserver(std::unique_ptr) = 0; + /*2*/ virtual std::unique_ptr getCompoundTag(std::string const &) = 0; + /*3*/ virtual bool hasKey(class gsl::basic_string_span) const = 0; + /*4*/ virtual void forEachKeyWithPrefix(class gsl::basic_string_span, class std::function, class gsl::basic_string_span)> const &) const = 0; + /*5*/ virtual bool loadLevelData(class LevelData &) = 0; + /*6*/ virtual std::unique_ptr createChunkStorage(std::unique_ptr, enum StorageVersion) = 0; + /*7*/ virtual void saveLevelData(class LevelData const &) = 0; + /*8*/ virtual class Core::PathBuffer const & getFullPath() const = 0; + /*9*/ virtual class std::shared_ptr> saveData(std::string const &, std::string &&) = 0; + /*10*/ virtual class std::shared_ptr> saveData(class LevelStorageWriteBatch const &) = 0; + /*11*/ virtual class std::shared_ptr> deleteData(std::string const &) = 0; + /*12*/ virtual void syncIO() = 0; + /*13*/ virtual void getStatistics(std::string &) const = 0; + /*14*/ virtual bool clonePlayerData(class gsl::basic_string_span, class gsl::basic_string_span); + /*15*/ virtual bool isCorrupted() const = 0; + /*16*/ virtual void startShutdown() = 0; + /*17*/ virtual bool isShuttingDown() const = 0; + /*18*/ virtual bool checkShutdownDone() = 0; + /*19*/ virtual bool loadData(class gsl::basic_string_span, std::string &) const; + /*20*/ virtual struct Core::LevelStorageResult getState() const = 0; + /*21*/ virtual std::vector createSnapshot(std::string const &) = 0; + /*22*/ virtual void releaseSnapshot() = 0; + /*23*/ virtual void compactStorage() = 0; + /*24*/ virtual void syncAndSuspendStorage() = 0; + /*25*/ virtual void resumeStorage() = 0; + /*26*/ virtual void setFlushAllowed(bool) = 0; + /*27*/ virtual void flushToPermanentStorage() = 0; + /*28*/ virtual void freeCaches(); + /*29*/ virtual void setCompactionCallback(class std::function) = 0; + /*30*/ virtual void setCriticalSyncSaveCallback(class std::function) = 0; + /*31*/ virtual void corruptLevel(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_LEVELSTORAGE +#endif + MCAPI std::string getServerId(class Player const &, bool); + MCAPI std::vector loadAllPlayerIDs(bool) const; + MCAPI std::unique_ptr loadLostPlayerData(class Player const &, bool); + MCAPI std::unique_ptr loadServerPlayerData(class Player const &, bool); + MCAPI void save(class Actor &); + MCAPI class std::shared_ptr> saveData(std::string const &, class CompoundTag const &); + MCAPI static std::string const LEGACY_CONSOLE_PLAYER_PREFIX; + MCAPI static std::string const LOCAL_PLAYER_TAG; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/LevelStorageSource.hpp b/LiteLoader/Header/MC/LevelStorageSource.hpp new file mode 100644 index 0000000..bf8cbd6 --- /dev/null +++ b/LiteLoader/Header/MC/LevelStorageSource.hpp @@ -0,0 +1,28 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class LevelStorageSource { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_LEVELSTORAGESOURCE +public: + class LevelStorageSource& operator=(class LevelStorageSource const &) = delete; + LevelStorageSource(class LevelStorageSource const &) = delete; + LevelStorageSource() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_LEVELSTORAGESOURCE +#endif + MCAPI static class std::chrono::duration<__int64, struct std::ratio<1, 1000000000>> const WORLD_SAVE_FLUSH_INTERVAL; + MCAPI static class std::chrono::duration<__int64, struct std::ratio<1, 1000000000>> const WORLD_SAVE_MENU_FLUSH_INTERVAL; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/LevelStorageWriteBatch.hpp b/LiteLoader/Header/MC/LevelStorageWriteBatch.hpp new file mode 100644 index 0000000..75dee83 --- /dev/null +++ b/LiteLoader/Header/MC/LevelStorageWriteBatch.hpp @@ -0,0 +1,39 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class LevelStorageWriteBatch { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_LEVELSTORAGEWRITEBATCH +public: + class LevelStorageWriteBatch& operator=(class LevelStorageWriteBatch const &) = delete; + LevelStorageWriteBatch(class LevelStorageWriteBatch const &) = delete; +#endif + +public: + /*0*/ virtual ~LevelStorageWriteBatch(); + /*1*/ virtual void putKey(std::string const &, class gsl::basic_string_span); + /*2*/ virtual void putKey(std::string const &, std::string const &); + /*3*/ virtual void putKey(std::string const &, std::string &&); + /*4*/ virtual void putKey(std::string const &, class std::shared_ptr); + /*5*/ virtual void deleteKey(std::string const &); + /*6*/ virtual void flush(class LevelStorage &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_LEVELSTORAGEWRITEBATCH +#endif + MCAPI LevelStorageWriteBatch(); + MCAPI void clear(); + +//private: + MCAPI void _writeKey(std::string const &, class std::shared_ptr &&); + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/LevelSummary.hpp b/LiteLoader/Header/MC/LevelSummary.hpp new file mode 100644 index 0000000..660e6db --- /dev/null +++ b/LiteLoader/Header/MC/LevelSummary.hpp @@ -0,0 +1,31 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Core.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class LevelSummary { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_LEVELSUMMARY +public: + class LevelSummary& operator=(class LevelSummary const &) = delete; + LevelSummary(class LevelSummary const &) = delete; + LevelSummary() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_LEVELSUMMARY +#endif + MCAPI static class Core::PathBuffer const CUSTOM_ICON_FILENAME; + MCAPI static std::string const DEFAULT_WORLD_ICON_FILENAME; + MCAPI static std::string const INVALID_LEVEL_ID; + MCAPI static class Core::PathBuffer const WORLD_ICON_FILENAME; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/LeverBlock.hpp b/LiteLoader/Header/MC/LeverBlock.hpp new file mode 100644 index 0000000..f3e86b1 --- /dev/null +++ b/LiteLoader/Header/MC/LeverBlock.hpp @@ -0,0 +1,84 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "BlockLegacy.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class LeverBlock : public BlockLegacy { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_LEVERBLOCK +public: + class LeverBlock& operator=(class LeverBlock const &) = delete; + LeverBlock(class LeverBlock const &) = delete; + LeverBlock() = delete; +#endif + +public: + /*0*/ virtual ~LeverBlock(); + /*1*/ virtual void tick(class BlockSource &, class BlockPos const &, class Random &) const; + /*10*/ virtual class AABB const & getAABB(class BlockSource &, class BlockPos const &, class Block const &, class AABB &, bool) const; + /*18*/ virtual void __unk_vfn_18(); + /*24*/ virtual void __unk_vfn_24(); + /*25*/ virtual void __unk_vfn_25(); + /*26*/ virtual void __unk_vfn_26(); + /*27*/ virtual void __unk_vfn_27(); + /*28*/ virtual void __unk_vfn_28(); + /*30*/ virtual void __unk_vfn_30(); + /*31*/ virtual void __unk_vfn_31(); + /*32*/ virtual void __unk_vfn_32(); + /*33*/ virtual void __unk_vfn_33(); + /*34*/ virtual void __unk_vfn_34(); + /*35*/ virtual void __unk_vfn_35(); + /*36*/ virtual void __unk_vfn_36(); + /*38*/ virtual void __unk_vfn_38(); + /*39*/ virtual void __unk_vfn_39(); + /*40*/ virtual void __unk_vfn_40(); + /*42*/ virtual void __unk_vfn_42(); + /*43*/ virtual void __unk_vfn_43(); + /*47*/ virtual void onFillBlock(class BlockSource &, class BlockPos const &, class Block const &) const; + /*49*/ virtual void __unk_vfn_49(); + /*51*/ virtual bool shouldConnectToRedstone(class BlockSource &, class BlockPos const &, int) const; + /*52*/ virtual void __unk_vfn_52(); + /*59*/ virtual void onPlace(class BlockSource &, class BlockPos const &) const; + /*60*/ virtual void onRemove(class BlockSource &, class BlockPos const &) const; + /*67*/ virtual void __unk_vfn_67(); + /*70*/ virtual void setupRedstoneComponent(class BlockSource &, class BlockPos const &) const; + /*73*/ virtual void __unk_vfn_73(); + /*80*/ virtual bool mayPlace(class BlockSource &, class BlockPos const &, unsigned char) const; + /*81*/ virtual bool mayPlace(class BlockSource &, class BlockPos const &) const; + /*87*/ virtual void __unk_vfn_87(); + /*88*/ virtual void neighborChanged(class BlockSource &, class BlockPos const &, class BlockPos const &) const; + /*92*/ virtual class ItemInstance asItemInstance(class BlockSource &, class BlockPos const &, class Block const &) const; + /*95*/ virtual void __unk_vfn_95(); + /*98*/ virtual bool use(class Player &, class BlockPos const &) const; + /*99*/ virtual class Block const & getPlacementBlock(class Actor &, class BlockPos const &, unsigned char, class Vec3 const &, int) const; + /*101*/ virtual bool isAttachedTo(class BlockSource &, class BlockPos const &, class BlockPos &) const; + /*109*/ virtual void __unk_vfn_109(); + /*116*/ virtual void __unk_vfn_116(); + /*118*/ virtual void __unk_vfn_118(); + /*119*/ virtual void __unk_vfn_119(); + /*138*/ virtual class AABB const & getVisualShape(class Block const &, class AABB &, bool) const; + /*142*/ virtual void __unk_vfn_142(); + /*158*/ virtual void __unk_vfn_158(); + /*164*/ virtual void updateShape(class BlockSource *, class BlockPos const &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_LEVERBLOCK + MCVAPI bool canSpawnOn() const; + MCVAPI bool isInteractiveBlock() const; + MCVAPI bool isSignalSource() const; +#endif + MCAPI int getSignal(class BlockSource &, class BlockPos const &, int) const; + +//private: + MCAPI bool _checkCanSurvive(class BlockSource &, class BlockPos const &) const; + MCAPI void _getShape(class Block const &, class AABB &) const; + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/LibraryItemScreenCapabilities.hpp b/LiteLoader/Header/MC/LibraryItemScreenCapabilities.hpp new file mode 100644 index 0000000..d06be82 --- /dev/null +++ b/LiteLoader/Header/MC/LibraryItemScreenCapabilities.hpp @@ -0,0 +1,27 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +struct LibraryItemScreenCapabilities { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_LIBRARYITEMSCREENCAPABILITIES +public: + struct LibraryItemScreenCapabilities& operator=(struct LibraryItemScreenCapabilities const &) = delete; + LibraryItemScreenCapabilities(struct LibraryItemScreenCapabilities const &) = delete; + LibraryItemScreenCapabilities() = delete; +#endif +public: + /*0*/ virtual ~LibraryItemScreenCapabilities(); + /*1*/ virtual bool isOfType(class typeid_t) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_LIBRARYITEMSCREENCAPABILITIES +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/LightBlock.hpp b/LiteLoader/Header/MC/LightBlock.hpp new file mode 100644 index 0000000..0f911fb --- /dev/null +++ b/LiteLoader/Header/MC/LightBlock.hpp @@ -0,0 +1,65 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "BlockLegacy.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class LightBlock : public BlockLegacy { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_LIGHTBLOCK +public: + class LightBlock& operator=(class LightBlock const &) = delete; + LightBlock(class LightBlock const &) = delete; + LightBlock() = delete; +#endif + +public: + /*0*/ virtual ~LightBlock(); + /*16*/ virtual struct Brightness getLightEmission(class Block const &) const; + /*18*/ virtual void __unk_vfn_18(); + /*24*/ virtual void __unk_vfn_24(); + /*25*/ virtual void __unk_vfn_25(); + /*26*/ virtual void __unk_vfn_26(); + /*27*/ virtual void __unk_vfn_27(); + /*28*/ virtual void __unk_vfn_28(); + /*30*/ virtual void __unk_vfn_30(); + /*31*/ virtual void __unk_vfn_31(); + /*32*/ virtual void __unk_vfn_32(); + /*33*/ virtual void __unk_vfn_33(); + /*34*/ virtual void __unk_vfn_34(); + /*35*/ virtual void __unk_vfn_35(); + /*36*/ virtual void __unk_vfn_36(); + /*38*/ virtual void __unk_vfn_38(); + /*39*/ virtual void __unk_vfn_39(); + /*40*/ virtual void __unk_vfn_40(); + /*42*/ virtual void __unk_vfn_42(); + /*43*/ virtual void __unk_vfn_43(); + /*49*/ virtual void __unk_vfn_49(); + /*52*/ virtual void __unk_vfn_52(); + /*67*/ virtual void __unk_vfn_67(); + /*73*/ virtual void __unk_vfn_73(); + /*80*/ virtual bool mayPlace(class BlockSource &, class BlockPos const &, unsigned char) const; + /*81*/ virtual bool mayPlace(class BlockSource &, class BlockPos const &) const; + /*83*/ virtual bool tryToPlace(class BlockSource &, class BlockPos const &, class Block const &, struct ActorBlockSyncMessage const *) const; + /*87*/ virtual void __unk_vfn_87(); + /*95*/ virtual void __unk_vfn_95(); + /*99*/ virtual class Block const & getPlacementBlock(class Actor &, class BlockPos const &, unsigned char, class Vec3 const &, int) const; + /*109*/ virtual void __unk_vfn_109(); + /*116*/ virtual void __unk_vfn_116(); + /*118*/ virtual void __unk_vfn_118(); + /*119*/ virtual void __unk_vfn_119(); + /*128*/ virtual bool isAuxValueRelevantForPicking() const; + /*142*/ virtual void __unk_vfn_142(); + /*147*/ virtual class BlockLegacy & init(); + /*158*/ virtual void __unk_vfn_158(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_LIGHTBLOCK +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/LightGemBlock.hpp b/LiteLoader/Header/MC/LightGemBlock.hpp new file mode 100644 index 0000000..dcd2a25 --- /dev/null +++ b/LiteLoader/Header/MC/LightGemBlock.hpp @@ -0,0 +1,64 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "BlockLegacy.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class LightGemBlock : public BlockLegacy { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_LIGHTGEMBLOCK +public: + class LightGemBlock& operator=(class LightGemBlock const &) = delete; + LightGemBlock(class LightGemBlock const &) = delete; + LightGemBlock() = delete; +#endif + +public: + /*0*/ virtual ~LightGemBlock(); + /*18*/ virtual void __unk_vfn_18(); + /*24*/ virtual void __unk_vfn_24(); + /*25*/ virtual void __unk_vfn_25(); + /*26*/ virtual void __unk_vfn_26(); + /*27*/ virtual void __unk_vfn_27(); + /*28*/ virtual void __unk_vfn_28(); + /*30*/ virtual void __unk_vfn_30(); + /*31*/ virtual void __unk_vfn_31(); + /*32*/ virtual void __unk_vfn_32(); + /*33*/ virtual void __unk_vfn_33(); + /*34*/ virtual void __unk_vfn_34(); + /*35*/ virtual void __unk_vfn_35(); + /*36*/ virtual void __unk_vfn_36(); + /*38*/ virtual void __unk_vfn_38(); + /*39*/ virtual void __unk_vfn_39(); + /*40*/ virtual void __unk_vfn_40(); + /*42*/ virtual void __unk_vfn_42(); + /*43*/ virtual void __unk_vfn_43(); + /*49*/ virtual void __unk_vfn_49(); + /*52*/ virtual void __unk_vfn_52(); + /*58*/ virtual bool dispense(class BlockSource &, class Container &, int, class Vec3 const &, unsigned char) const; + /*67*/ virtual void __unk_vfn_67(); + /*73*/ virtual void __unk_vfn_73(); + /*87*/ virtual void __unk_vfn_87(); + /*90*/ virtual int getResourceCount(class Random &, class Block const &, int, bool) const; + /*91*/ virtual class ItemInstance getResourceItem(class Random &, class Block const &, int) const; + /*95*/ virtual void __unk_vfn_95(); + /*109*/ virtual void __unk_vfn_109(); + /*116*/ virtual void __unk_vfn_116(); + /*118*/ virtual void __unk_vfn_118(); + /*119*/ virtual void __unk_vfn_119(); + /*142*/ virtual void __unk_vfn_142(); + /*158*/ virtual void __unk_vfn_158(); + /*165*/ virtual void __unk_vfn_165(); + /*166*/ virtual void __unk_vfn_166(); + /*167*/ virtual class Block const & getBlock(class BlockPos const &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_LIGHTGEMBLOCK +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/LightningBolt.hpp b/LiteLoader/Header/MC/LightningBolt.hpp new file mode 100644 index 0000000..0a672f0 --- /dev/null +++ b/LiteLoader/Header/MC/LightningBolt.hpp @@ -0,0 +1,57 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Actor.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class LightningBolt : public Actor { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_LIGHTNINGBOLT +public: + class LightningBolt& operator=(class LightningBolt const &) = delete; + LightningBolt(class LightningBolt const &) = delete; + LightningBolt() = delete; +#endif + +public: + /*1*/ virtual void reloadHardcoded(enum Actor::InitializationMethod, class VariantParameterList const &); + /*2*/ virtual void reloadHardcodedClient(enum Actor::InitializationMethod, class VariantParameterList const &); + /*7*/ virtual ~LightningBolt(); + /*30*/ virtual void __unk_vfn_30(); + /*39*/ virtual void normalTick(); + /*54*/ virtual void __unk_vfn_54(); + /*61*/ virtual void __unk_vfn_61(); + /*76*/ virtual void __unk_vfn_76(); + /*81*/ virtual void __unk_vfn_81(); + /*88*/ virtual void __unk_vfn_88(); + /*90*/ virtual void __unk_vfn_90(); + /*98*/ virtual void __unk_vfn_98(); + /*100*/ virtual void __unk_vfn_100(); + /*121*/ virtual void __unk_vfn_121(); + /*169*/ virtual void __unk_vfn_169(); + /*182*/ virtual void __unk_vfn_182(); + /*206*/ virtual void __unk_vfn_206(); + /*207*/ virtual void __unk_vfn_207(); + /*228*/ virtual void __unk_vfn_228(); + /*231*/ virtual void __unk_vfn_231(); + /*238*/ virtual void __unk_vfn_238(); + /*242*/ virtual void readAdditionalSaveData(class CompoundTag const &, class DataLoadHelper &); + /*243*/ virtual void addAdditionalSaveData(class CompoundTag &); + /*246*/ virtual void __unk_vfn_246(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_LIGHTNINGBOLT + MCVAPI bool shouldAlwaysRender(); +#endif + +//private: + MCAPI bool _shouldSetOnFire() const; + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/LingeringPotionItem.hpp b/LiteLoader/Header/MC/LingeringPotionItem.hpp new file mode 100644 index 0000000..2185186 --- /dev/null +++ b/LiteLoader/Header/MC/LingeringPotionItem.hpp @@ -0,0 +1,53 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Potion.hpp" +#include "PotionItem.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class LingeringPotionItem : public PotionItem { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_LINGERINGPOTIONITEM +public: + class LingeringPotionItem& operator=(class LingeringPotionItem const &) = delete; + LingeringPotionItem(class LingeringPotionItem const &) = delete; + LingeringPotionItem() = delete; +#endif + +public: + /*0*/ virtual ~LingeringPotionItem(); + /*5*/ virtual void __unk_vfn_5(); + /*26*/ virtual void __unk_vfn_26(); + /*27*/ virtual void __unk_vfn_27(); + /*30*/ virtual bool isThrowable() const; + /*31*/ virtual void __unk_vfn_31(); + /*32*/ virtual void __unk_vfn_32(); + /*34*/ virtual void __unk_vfn_34(); + /*37*/ virtual void __unk_vfn_37(); + /*38*/ virtual void appendFormattedHovertext(class ItemStackBase const &, class Level &, std::string &, bool) const; + /*43*/ virtual void __unk_vfn_43(); + /*46*/ virtual void __unk_vfn_46(); + /*47*/ virtual void __unk_vfn_47(); + /*49*/ virtual void __unk_vfn_49(); + /*50*/ virtual void __unk_vfn_50(); + /*56*/ virtual class ItemStack & use(class ItemStack &, class Player &) const; + /*57*/ virtual bool dispense(class BlockSource &, class Container &, int, class Vec3 const &, unsigned char) const; + /*65*/ virtual std::string buildDescriptionId(class ItemDescriptor const &, class CompoundTag const *) const; + /*79*/ virtual void __unk_vfn_79(); + /*80*/ virtual void __unk_vfn_80(); + /*85*/ virtual struct TextureUVCoordinateSet const & getIcon(class ItemStackBase const &, int, bool) const; + /*87*/ virtual class Item & setIcon(std::string const &, int); + /*90*/ virtual void __unk_vfn_90(); + /*97*/ virtual void __unk_vfn_97(); + /*100*/ virtual enum Potion::PotionType getPotionType() const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_LINGERINGPOTIONITEM +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/LiquidBlock.hpp b/LiteLoader/Header/MC/LiquidBlock.hpp new file mode 100644 index 0000000..e1a24e1 --- /dev/null +++ b/LiteLoader/Header/MC/LiquidBlock.hpp @@ -0,0 +1,84 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "BlockLegacy.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class LiquidBlock : public BlockLegacy { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_LIQUIDBLOCK +public: + class LiquidBlock& operator=(class LiquidBlock const &) = delete; + LiquidBlock(class LiquidBlock const &) = delete; + LiquidBlock() = delete; +#endif + +public: + /*0*/ virtual ~LiquidBlock(); + /*10*/ virtual class AABB const & getAABB(class BlockSource &, class BlockPos const &, class Block const &, class AABB &, bool) const; + /*18*/ virtual void __unk_vfn_18(); + /*24*/ virtual void __unk_vfn_24(); + /*25*/ virtual void __unk_vfn_25(); + /*26*/ virtual void __unk_vfn_26(); + /*27*/ virtual void __unk_vfn_27(); + /*28*/ virtual void __unk_vfn_28(); + /*30*/ virtual void __unk_vfn_30(); + /*31*/ virtual void __unk_vfn_31(); + /*32*/ virtual void __unk_vfn_32(); + /*33*/ virtual void __unk_vfn_33(); + /*34*/ virtual void __unk_vfn_34(); + /*35*/ virtual void __unk_vfn_35(); + /*36*/ virtual void __unk_vfn_36(); + /*38*/ virtual void __unk_vfn_38(); + /*39*/ virtual void __unk_vfn_39(); + /*40*/ virtual void __unk_vfn_40(); + /*42*/ virtual void __unk_vfn_42(); + /*43*/ virtual void __unk_vfn_43(); + /*49*/ virtual void __unk_vfn_49(); + /*50*/ virtual bool canContainLiquid() const; + /*52*/ virtual void __unk_vfn_52(); + /*56*/ virtual bool checkIsPathable(class Actor &, class BlockPos const &, class BlockPos const &) const; + /*59*/ virtual void onPlace(class BlockSource &, class BlockPos const &) const; + /*67*/ virtual void __unk_vfn_67(); + /*73*/ virtual void __unk_vfn_73(); + /*79*/ virtual bool mayPick(class BlockSource &, class Block const &, bool) const; + /*87*/ virtual void __unk_vfn_87(); + /*88*/ virtual void neighborChanged(class BlockSource &, class BlockPos const &, class BlockPos const &) const; + /*90*/ virtual int getResourceCount(class Random &, class Block const &, int, bool) const; + /*95*/ virtual void __unk_vfn_95(); + /*103*/ virtual void handleEntityInside(class BlockSource &, class BlockPos const &, class Actor *, class Vec3 &) const; + /*109*/ virtual void __unk_vfn_109(); + /*113*/ virtual class Color getMapColor(class BlockSource &, class BlockPos const &) const; + /*116*/ virtual void __unk_vfn_116(); + /*118*/ virtual void __unk_vfn_118(); + /*119*/ virtual void __unk_vfn_119(); + /*129*/ virtual int getColor(class Block const &) const; + /*131*/ virtual int getColorAtPos(class BlockSource &, class BlockPos const &) const; + /*142*/ virtual void __unk_vfn_142(); + /*146*/ virtual void animateTick(class BlockSource &, class BlockPos const &, class Random &) const; + /*158*/ virtual void __unk_vfn_158(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_LIQUIDBLOCK + MCVAPI bool canBeSilkTouched() const; +#endif + +//protected: + MCAPI void emitFizzParticle(class BlockSource &, class BlockPos const &) const; + MCAPI int getDepth(class BlockSource &, class BlockPos const &) const; + MCAPI bool solidify(class BlockSource &, class BlockPos const &, class BlockPos const &) const; + MCAPI void trySpreadFire(class BlockSource &, class BlockPos const &, class Random &) const; + +//private: + MCAPI class Vec3 _getFlow(class BlockSource &, class BlockPos const &) const; + +protected: + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/LiquidBlockDynamic.hpp b/LiteLoader/Header/MC/LiquidBlockDynamic.hpp new file mode 100644 index 0000000..4d25293 --- /dev/null +++ b/LiteLoader/Header/MC/LiquidBlockDynamic.hpp @@ -0,0 +1,71 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "LiquidBlock.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class LiquidBlockDynamic : public LiquidBlock { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_LIQUIDBLOCKDYNAMIC +public: + class LiquidBlockDynamic& operator=(class LiquidBlockDynamic const &) = delete; + LiquidBlockDynamic(class LiquidBlockDynamic const &) = delete; + LiquidBlockDynamic() = delete; +#endif + +public: + /*0*/ virtual ~LiquidBlockDynamic(); + /*1*/ virtual void tick(class BlockSource &, class BlockPos const &, class Random &) const; + /*18*/ virtual void __unk_vfn_18(); + /*24*/ virtual void __unk_vfn_24(); + /*25*/ virtual void __unk_vfn_25(); + /*26*/ virtual void __unk_vfn_26(); + /*27*/ virtual void __unk_vfn_27(); + /*28*/ virtual void __unk_vfn_28(); + /*30*/ virtual void __unk_vfn_30(); + /*31*/ virtual void __unk_vfn_31(); + /*32*/ virtual void __unk_vfn_32(); + /*33*/ virtual void __unk_vfn_33(); + /*34*/ virtual void __unk_vfn_34(); + /*35*/ virtual void __unk_vfn_35(); + /*36*/ virtual void __unk_vfn_36(); + /*38*/ virtual void __unk_vfn_38(); + /*39*/ virtual void __unk_vfn_39(); + /*40*/ virtual void __unk_vfn_40(); + /*42*/ virtual void __unk_vfn_42(); + /*43*/ virtual void __unk_vfn_43(); + /*49*/ virtual void __unk_vfn_49(); + /*52*/ virtual void __unk_vfn_52(); + /*59*/ virtual void onPlace(class BlockSource &, class BlockPos const &) const; + /*67*/ virtual void __unk_vfn_67(); + /*73*/ virtual void __unk_vfn_73(); + /*87*/ virtual void __unk_vfn_87(); + /*95*/ virtual void __unk_vfn_95(); + /*109*/ virtual void __unk_vfn_109(); + /*116*/ virtual void __unk_vfn_116(); + /*118*/ virtual void __unk_vfn_118(); + /*119*/ virtual void __unk_vfn_119(); + /*142*/ virtual void __unk_vfn_142(); + /*158*/ virtual void __unk_vfn_158(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_LIQUIDBLOCKDYNAMIC +#endif + +//private: + MCAPI bool _canSpreadTo(class BlockSource &, class BlockPos const &, class BlockPos const &, unsigned char) const; + MCAPI int _getSlopeDistance(class BlockSource &, class BlockPos const &, int, int) const; + MCAPI class std::array _getSpread(class BlockSource &, class BlockPos const &) const; + MCAPI bool _isWaterBlocking(class BlockSource &, class BlockPos const &, class BlockPos const &, unsigned char) const; + MCAPI void _spread(class BlockSource &, class BlockPos const &, int, bool) const; + MCAPI bool _tick(class BlockSource &, class BlockPos const &, class Random &, bool) const; + MCAPI void _trySpreadTo(class BlockSource &, class BlockPos const &, int, class BlockPos const &, unsigned char) const; + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/LiquidBlockStatic.hpp b/LiteLoader/Header/MC/LiquidBlockStatic.hpp new file mode 100644 index 0000000..34a0250 --- /dev/null +++ b/LiteLoader/Header/MC/LiquidBlockStatic.hpp @@ -0,0 +1,65 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "LiquidBlock.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class LiquidBlockStatic : public LiquidBlock { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_LIQUIDBLOCKSTATIC +public: + class LiquidBlockStatic& operator=(class LiquidBlockStatic const &) = delete; + LiquidBlockStatic(class LiquidBlockStatic const &) = delete; + LiquidBlockStatic() = delete; +#endif + +public: + /*0*/ virtual ~LiquidBlockStatic(); + /*1*/ virtual void tick(class BlockSource &, class BlockPos const &, class Random &) const; + /*18*/ virtual void __unk_vfn_18(); + /*24*/ virtual void __unk_vfn_24(); + /*25*/ virtual void __unk_vfn_25(); + /*26*/ virtual void __unk_vfn_26(); + /*27*/ virtual void __unk_vfn_27(); + /*28*/ virtual void __unk_vfn_28(); + /*30*/ virtual void __unk_vfn_30(); + /*31*/ virtual void __unk_vfn_31(); + /*32*/ virtual void __unk_vfn_32(); + /*33*/ virtual void __unk_vfn_33(); + /*34*/ virtual void __unk_vfn_34(); + /*35*/ virtual void __unk_vfn_35(); + /*36*/ virtual void __unk_vfn_36(); + /*38*/ virtual void __unk_vfn_38(); + /*39*/ virtual void __unk_vfn_39(); + /*40*/ virtual void __unk_vfn_40(); + /*42*/ virtual void __unk_vfn_42(); + /*43*/ virtual void __unk_vfn_43(); + /*49*/ virtual void __unk_vfn_49(); + /*52*/ virtual void __unk_vfn_52(); + /*67*/ virtual void __unk_vfn_67(); + /*73*/ virtual void __unk_vfn_73(); + /*87*/ virtual void __unk_vfn_87(); + /*88*/ virtual void neighborChanged(class BlockSource &, class BlockPos const &, class BlockPos const &) const; + /*95*/ virtual void __unk_vfn_95(); + /*109*/ virtual void __unk_vfn_109(); + /*116*/ virtual void __unk_vfn_116(); + /*118*/ virtual void __unk_vfn_118(); + /*119*/ virtual void __unk_vfn_119(); + /*142*/ virtual void __unk_vfn_142(); + /*158*/ virtual void __unk_vfn_158(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_LIQUIDBLOCKSTATIC +#endif + +//private: + MCAPI void _setDynamic(class BlockSource &, class BlockPos const &) const; + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ListCommand.hpp b/LiteLoader/Header/MC/ListCommand.hpp new file mode 100644 index 0000000..6663969 --- /dev/null +++ b/LiteLoader/Header/MC/ListCommand.hpp @@ -0,0 +1,30 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Command.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ListCommand : public Command { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_LISTCOMMAND +public: + class ListCommand& operator=(class ListCommand const &) = delete; + ListCommand(class ListCommand const &) = delete; + ListCommand() = delete; +#endif + +public: + /*0*/ virtual ~ListCommand(); + /*1*/ virtual void execute(class CommandOrigin const &, class CommandOutput &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_LISTCOMMAND +#endif + MCAPI static void setup(class CommandRegistry &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ListDCommand.hpp b/LiteLoader/Header/MC/ListDCommand.hpp new file mode 100644 index 0000000..5edb97c --- /dev/null +++ b/LiteLoader/Header/MC/ListDCommand.hpp @@ -0,0 +1,30 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Command.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ListDCommand : public Command { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_LISTDCOMMAND +public: + class ListDCommand& operator=(class ListDCommand const &) = delete; + ListDCommand(class ListDCommand const &) = delete; + ListDCommand() = delete; +#endif + +public: + /*0*/ virtual ~ListDCommand(); + /*1*/ virtual void execute(class CommandOrigin const &, class CommandOutput &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_LISTDCOMMAND +#endif + MCAPI static void setup(class CommandRegistry &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ListTag.hpp b/LiteLoader/Header/MC/ListTag.hpp new file mode 100644 index 0000000..01f690c --- /dev/null +++ b/LiteLoader/Header/MC/ListTag.hpp @@ -0,0 +1,80 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Tag.hpp" + +#define BEFORE_EXTRA +// Include Headers or Declare Types Here +#include "TagMemoryChunk.hpp" + + +#undef BEFORE_EXTRA + +class ListTag : public Tag { + +#define AFTER_EXTRA +// Add Member There + std::vector val; + Tag::Type elementType; + +public: + LIAPI static std::unique_ptr create(); + LIAPI std::vector& value(); + LIAPI Tag const* operator[](int index) const; + LIAPI Tag::Type getElementType() const; + LIAPI size_t getSize() const; + LIAPI vector get(); + + // get value + LIAPI unsigned char getByte(int) const; + LIAPI short getShort(int) const; + LIAPI int64_t getInt64(int) const; + LIAPI TagMemoryChunk getByteArray(int) const; + + + LIAPI void addEnd(); + LIAPI void addByte(unsigned char v); + LIAPI void addShort(short v); + LIAPI void addInt(int v); + LIAPI void addInt64(__int64 v); + LIAPI void addFloat(float v); + LIAPI void addDouble(double v); + LIAPI void addString(const std::string& v); + LIAPI void addByteArray(TagMemoryChunk); + LIAPI void addByteArray(char data[], size_t size); + LIAPI void addIntArray(TagMemoryChunk); + LIAPI void addIntArray(int data[], size_t size); + + LIAPI std::vector::const_iterator begin() const; + LIAPI std::vector::const_iterator end() const; + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_LISTTAG +public: + class ListTag& operator=(class ListTag const &) = delete; + ListTag(class ListTag const &) = delete; + ListTag() = delete; +#endif + +public: + /*0*/ virtual ~ListTag(); + /*1*/ virtual void deleteChildren(); + /*2*/ virtual void write(class IDataOutput &) const; + /*3*/ virtual void load(class IDataInput &); + /*4*/ virtual std::string toString() const; + /*5*/ virtual enum Tag::Type getId() const; + /*6*/ virtual bool equals(class Tag const &) const; + /*8*/ virtual void print(std::string const &, class PrintStream &) const; + /*9*/ virtual std::unique_ptr copy() const; + /*10*/ virtual unsigned __int64 hash() const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_LISTTAG +#endif + MCAPI void add(std::unique_ptr); + MCAPI class CompoundTag const * getCompound(unsigned __int64) const; + MCAPI double getDouble(int) const; + MCAPI float getFloat(int) const; + MCAPI int getInt(int) const; + MCAPI std::string const & getString(int) const; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ListTagFloatAdder.hpp b/LiteLoader/Header/MC/ListTagFloatAdder.hpp new file mode 100644 index 0000000..3f01ce7 --- /dev/null +++ b/LiteLoader/Header/MC/ListTagFloatAdder.hpp @@ -0,0 +1,28 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ListTagFloatAdder { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_LISTTAGFLOATADDER +public: + class ListTagFloatAdder& operator=(class ListTagFloatAdder const &) = delete; + ListTagFloatAdder(class ListTagFloatAdder const &) = delete; + ListTagFloatAdder() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_LISTTAGFLOATADDER +#endif + MCAPI class ListTagFloatAdder & operator()(float); + MCAPI ~ListTagFloatAdder(); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ListTagIntAdder.hpp b/LiteLoader/Header/MC/ListTagIntAdder.hpp new file mode 100644 index 0000000..351f075 --- /dev/null +++ b/LiteLoader/Header/MC/ListTagIntAdder.hpp @@ -0,0 +1,28 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ListTagIntAdder { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_LISTTAGINTADDER +public: + class ListTagIntAdder& operator=(class ListTagIntAdder const &) = delete; + ListTagIntAdder(class ListTagIntAdder const &) = delete; + ListTagIntAdder() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_LISTTAGINTADDER +#endif + MCAPI class ListTagIntAdder & operator()(int); + MCAPI ~ListTagIntAdder(); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ListenerInfo.hpp b/LiteLoader/Header/MC/ListenerInfo.hpp new file mode 100644 index 0000000..4f25fdd --- /dev/null +++ b/LiteLoader/Header/MC/ListenerInfo.hpp @@ -0,0 +1,31 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ListenerInfo { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_LISTENERINFO +public: + class ListenerInfo& operator=(class ListenerInfo const &) = delete; + ListenerInfo(class ListenerInfo const &) = delete; + ListenerInfo() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_LISTENERINFO +#endif + +//private: + +private: + MCAPI static float const SQRT_FLT_MAX; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/Llama.hpp b/LiteLoader/Header/MC/Llama.hpp new file mode 100644 index 0000000..e061676 --- /dev/null +++ b/LiteLoader/Header/MC/Llama.hpp @@ -0,0 +1,59 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Actor.hpp" +#include "Animal.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class Llama : public Animal { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_LLAMA +public: + class Llama& operator=(class Llama const &) = delete; + Llama(class Llama const &) = delete; + Llama() = delete; +#endif + +public: + /*7*/ virtual ~Llama(); + /*30*/ virtual void __unk_vfn_30(); + /*54*/ virtual void __unk_vfn_54(); + /*61*/ virtual void __unk_vfn_61(); + /*76*/ virtual void __unk_vfn_76(); + /*81*/ virtual void __unk_vfn_81(); + /*88*/ virtual void __unk_vfn_88(); + /*90*/ virtual void __unk_vfn_90(); + /*98*/ virtual void __unk_vfn_98(); + /*100*/ virtual void __unk_vfn_100(); + /*112*/ virtual void onFailedTame(); + /*121*/ virtual void __unk_vfn_121(); + /*169*/ virtual void __unk_vfn_169(); + /*173*/ virtual void causeFallDamage(float); + /*182*/ virtual void __unk_vfn_182(); + /*206*/ virtual void __unk_vfn_206(); + /*207*/ virtual void __unk_vfn_207(); + /*228*/ virtual void __unk_vfn_228(); + /*231*/ virtual void __unk_vfn_231(); + /*235*/ virtual void updateEntitySpecificMolangVariables(class RenderParams &); + /*238*/ virtual void __unk_vfn_238(); + /*244*/ virtual void _playStepSound(class BlockPos const &, class Block const &); + /*246*/ virtual void __unk_vfn_246(); + /*257*/ virtual void __unk_vfn_257(); + /*290*/ virtual void __unk_vfn_290(); + /*300*/ virtual void __unk_vfn_300(); + /*305*/ virtual int getArmorValue(); + /*332*/ virtual void __unk_vfn_332(); + /*348*/ virtual void __unk_vfn_348(); + /*349*/ virtual bool isDarkEnoughToSpawn() const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_LLAMA + MCVAPI bool useNewAi() const; +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/LlamaSpit.hpp b/LiteLoader/Header/MC/LlamaSpit.hpp new file mode 100644 index 0000000..49452ef --- /dev/null +++ b/LiteLoader/Header/MC/LlamaSpit.hpp @@ -0,0 +1,53 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Actor.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class LlamaSpit : public Actor { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_LLAMASPIT +public: + class LlamaSpit& operator=(class LlamaSpit const &) = delete; + LlamaSpit(class LlamaSpit const &) = delete; + LlamaSpit() = delete; +#endif + +public: + /*7*/ virtual ~LlamaSpit(); + /*30*/ virtual void __unk_vfn_30(); + /*36*/ virtual void lerpTo(class Vec3 const &, class Vec2 const &, int); + /*39*/ virtual void normalTick(); + /*54*/ virtual void __unk_vfn_54(); + /*61*/ virtual void __unk_vfn_61(); + /*73*/ virtual float getShadowHeightOffs(); + /*76*/ virtual void __unk_vfn_76(); + /*80*/ virtual float getBrightness(float) const; + /*81*/ virtual void __unk_vfn_81(); + /*87*/ virtual bool isPickable(); + /*88*/ virtual void __unk_vfn_88(); + /*90*/ virtual void __unk_vfn_90(); + /*98*/ virtual void __unk_vfn_98(); + /*100*/ virtual void __unk_vfn_100(); + /*121*/ virtual void __unk_vfn_121(); + /*133*/ virtual float getPickRadius(); + /*161*/ virtual struct ActorUniqueID getSourceUniqueID() const; + /*169*/ virtual void __unk_vfn_169(); + /*182*/ virtual void __unk_vfn_182(); + /*206*/ virtual void __unk_vfn_206(); + /*207*/ virtual void __unk_vfn_207(); + /*228*/ virtual void __unk_vfn_228(); + /*231*/ virtual void __unk_vfn_231(); + /*238*/ virtual void __unk_vfn_238(); + /*246*/ virtual void __unk_vfn_246(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_LLAMASPIT +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/LocalConnector.hpp b/LiteLoader/Header/MC/LocalConnector.hpp new file mode 100644 index 0000000..7c95e05 --- /dev/null +++ b/LiteLoader/Header/MC/LocalConnector.hpp @@ -0,0 +1,66 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Social.hpp" +#include "Connector.hpp" +#include "RakNet.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class LocalConnector { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_LOCALCONNECTOR +public: + class LocalConnector& operator=(class LocalConnector const &) = delete; + LocalConnector(class LocalConnector const &) = delete; + LocalConnector() = delete; +#endif + +public: + /*0*/ virtual ~LocalConnector(); + /*1*/ virtual void __unk_vfn_1(); + /*2*/ virtual void __unk_vfn_2(); + /*3*/ virtual void __unk_vfn_3(); + /*4*/ virtual std::string getLocalIp(); + /*5*/ virtual void __unk_vfn_5(); + /*6*/ virtual void __unk_vfn_6(); + /*7*/ virtual class Social::GameConnectionInfo const & getConnectedGameInfo() const; + /*8*/ virtual void __unk_vfn_8(); + /*9*/ virtual struct Connector::NatPunchInfo getNatPunchInfo() const; + /*10*/ virtual void startNatPunchingClient(class Social::GameConnectionInfo); + /*11*/ virtual void __unk_vfn_11(); + /*12*/ virtual void __unk_vfn_12(); + /*13*/ virtual void __unk_vfn_13(); + /*14*/ virtual void __unk_vfn_14(); + /*15*/ virtual void __unk_vfn_15(); + /*16*/ virtual void __unk_vfn_16(); + /*17*/ virtual struct RakNet::RakNetGUID getGUID() const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_LOCALCONNECTOR + MCVAPI void addConnectionStateListener(class Connector::ConnectionStateListener *); + MCVAPI unsigned short getIPv4Port() const; + MCVAPI unsigned short getIPv6Port() const; + MCVAPI std::vector getLocalIps() const; + MCVAPI unsigned short getPort() const; + MCVAPI std::vector getRefinedLocalIps() const; + MCVAPI bool isIPv4Supported() const; + MCVAPI bool isIPv6Supported() const; + MCVAPI void onAppResumed(); + MCVAPI void onAppSuspended(); + MCVAPI void removeConnectionStateListener(class Connector::ConnectionStateListener *); + MCVAPI void setupNatPunch(bool); +#endif + MCAPI void disconnect(); + MCAPI void runEvents(); + +//private: + +private: + MCAPI static class LocalConnectivitySystem sLocalConnectivitySystem; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/Localization.hpp b/LiteLoader/Header/MC/Localization.hpp new file mode 100644 index 0000000..542c8f2 --- /dev/null +++ b/LiteLoader/Header/MC/Localization.hpp @@ -0,0 +1,42 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Core.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class Localization { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_LOCALIZATION +public: + class Localization& operator=(class Localization const &) = delete; + Localization(class Localization const &) = delete; + Localization() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_LOCALIZATION +#endif + MCAPI Localization(std::string const &, class Localization *); + MCAPI void appendTranslations(std::string const &, std::vector const &, std::vector const &, std::string const &); + MCAPI void appendTranslations(class Localization const &); + MCAPI void loadFromPack(std::string const &, class PackAccessStrategy const &, std::vector const &); + MCAPI void loadFromResourcePackManager(class ResourcePackManager &, std::vector const &); + +//protected: + MCAPI struct OptionalString _get(std::string const &, std::vector const &) const; + MCAPI class Core::PathBuffer _getLangFilePath(std::string const &); + MCAPI struct OptionalString _getSimple(std::string const &) const; + MCAPI struct OptionalString _parseFormattedString(std::string const &) const; + MCAPI void _replaceTokens(std::string &, std::vector const &) const; + MCAPI static bool _isCommaSeperatedLanguage(std::string const &); + +protected: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/LocateCommand.hpp b/LiteLoader/Header/MC/LocateCommand.hpp new file mode 100644 index 0000000..e148779 --- /dev/null +++ b/LiteLoader/Header/MC/LocateCommand.hpp @@ -0,0 +1,30 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Command.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class LocateCommand : public Command { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_LOCATECOMMAND +public: + class LocateCommand& operator=(class LocateCommand const &) = delete; + LocateCommand(class LocateCommand const &) = delete; + LocateCommand() = delete; +#endif + +public: + /*0*/ virtual ~LocateCommand(); + /*1*/ virtual void execute(class CommandOrigin const &, class CommandOutput &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_LOCATECOMMAND +#endif + MCAPI static void setup(class CommandRegistry &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/LodestoneBlock.hpp b/LiteLoader/Header/MC/LodestoneBlock.hpp new file mode 100644 index 0000000..e9811eb --- /dev/null +++ b/LiteLoader/Header/MC/LodestoneBlock.hpp @@ -0,0 +1,192 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "ActorBlock.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class LodestoneBlock : public ActorBlock { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_LODESTONEBLOCK +public: + class LodestoneBlock& operator=(class LodestoneBlock const &) = delete; + LodestoneBlock(class LodestoneBlock const &) = delete; + LodestoneBlock() = delete; +#endif + +public: + /*0*/ virtual ~LodestoneBlock(); + /*1*/ virtual void __unk_vfn_1(); + /*2*/ virtual class Block const & getStateFromLegacyData(unsigned short) const; + /*3*/ virtual class std::shared_ptr newBlockEntity(class BlockPos const &, class Block const &) const; + /*4*/ virtual class Block const * getNextBlockPermutation(class Block const &) const; + /*5*/ virtual bool getCollisionShape(class AABB &, class Block const &, class BlockSource &, class BlockPos const &, class Actor *) const; + /*6*/ virtual bool isObstructingChests(class BlockSource &, class BlockPos const &) const; + /*7*/ virtual void __unk_vfn_7(); + /*8*/ virtual class Vec3 randomlyModifyPosition(class BlockPos const &, int &) const; + /*9*/ virtual void addAABBs(class Block const &, class BlockSource &, class BlockPos const &, class AABB const *, std::vector &) const; + /*10*/ virtual class AABB const & getAABB(class BlockSource &, class BlockPos const &, class Block const &, class AABB &, bool) const; + /*11*/ virtual bool addCollisionShapes(class Block const &, class BlockSource &, class BlockPos const &, class AABB const *, std::vector &, class Actor *) const; + /*12*/ virtual class AABB const & getOutline(class BlockSource &, class BlockPos const &, class AABB &) const; + /*13*/ virtual bool getLiquidClipVolume(class BlockSource &, class BlockPos const &, class AABB &) const; + /*14*/ virtual void __unk_vfn_14(); + /*15*/ virtual void __unk_vfn_15(); + /*16*/ virtual struct Brightness getLightEmission(class Block const &) const; + /*17*/ virtual bool shouldRandomTick() const; + /*18*/ virtual void __unk_vfn_18(); + /*19*/ virtual void __unk_vfn_19(); + /*20*/ virtual void __unk_vfn_20(); + /*21*/ virtual bool canProvideSupport(class Block const &, unsigned char, enum BlockSupportType) const; + /*22*/ virtual bool canConnect(class Block const &, unsigned char, class Block const &) const; + /*23*/ virtual void getConnectedDirections(class Block const &, class BlockPos const &, class BlockSource &, bool &, bool &, bool &, bool &) const; + /*24*/ virtual void __unk_vfn_24(); + /*25*/ virtual void __unk_vfn_25(); + /*26*/ virtual void __unk_vfn_26(); + /*27*/ virtual void __unk_vfn_27(); + /*28*/ virtual void __unk_vfn_28(); + /*29*/ virtual bool isWaterBlocking() const; + /*30*/ virtual void __unk_vfn_30(); + /*31*/ virtual void __unk_vfn_31(); + /*32*/ virtual void __unk_vfn_32(); + /*33*/ virtual void __unk_vfn_33(); + /*34*/ virtual void __unk_vfn_34(); + /*35*/ virtual void __unk_vfn_35(); + /*36*/ virtual void __unk_vfn_36(); + /*37*/ virtual void __unk_vfn_37(); + /*38*/ virtual void __unk_vfn_38(); + /*39*/ virtual void __unk_vfn_39(); + /*40*/ virtual void __unk_vfn_40(); + /*41*/ virtual bool canHurtAndBreakItem() const; + /*42*/ virtual void __unk_vfn_42(); + /*43*/ virtual void __unk_vfn_43(); + /*44*/ virtual void __unk_vfn_44(); + /*45*/ virtual void __unk_vfn_45(); + /*46*/ virtual class Block const & sanitizeFillBlock(class BlockSource &, class BlockPos const &, class Block const &) const; + /*47*/ virtual void __unk_vfn_47(); + /*48*/ virtual void __unk_vfn_48(); + /*49*/ virtual void __unk_vfn_49(); + /*50*/ virtual bool canContainLiquid() const; + /*51*/ virtual void __unk_vfn_51(); + /*52*/ virtual void __unk_vfn_52(); + /*53*/ virtual bool canBeUsedInCommands(bool, class BaseGameVersion const &) const; + /*54*/ virtual float getThickness() const; + /*55*/ virtual void __unk_vfn_55(); + /*56*/ virtual bool checkIsPathable(class Actor &, class BlockPos const &, class BlockPos const &) const; + /*57*/ virtual void __unk_vfn_57(); + /*58*/ virtual void __unk_vfn_58(); + /*59*/ virtual void __unk_vfn_59(); + /*60*/ virtual void __unk_vfn_60(); + /*61*/ virtual void __unk_vfn_61(); + /*62*/ virtual void __unk_vfn_62(); + /*63*/ virtual void onFallOn(class BlockSource &, class BlockPos const &, class Actor &, float) const; + /*64*/ virtual void __unk_vfn_64(); + /*65*/ virtual void __unk_vfn_65(); + /*66*/ virtual void __unk_vfn_66(); + /*67*/ virtual void __unk_vfn_67(); + /*68*/ virtual void __unk_vfn_68(); + /*69*/ virtual void __unk_vfn_69(); + /*70*/ virtual void __unk_vfn_70(); + /*71*/ virtual enum BlockProperty getRedstoneProperty(class BlockSource &, class BlockPos const &) const; + /*72*/ virtual void updateEntityAfterFallOn(class BlockSource &, class BlockPos const &, class Actor &) const; + /*73*/ virtual void __unk_vfn_73(); + /*74*/ virtual void __unk_vfn_74(); + /*75*/ virtual void __unk_vfn_75(); + /*76*/ virtual void __unk_vfn_76(); + /*77*/ virtual void __unk_vfn_77(); + /*78*/ virtual bool mayPick(class BlockSource &, class Block const &, bool) const; + /*79*/ virtual void __unk_vfn_79(); + /*80*/ virtual bool mayPlace(class BlockSource &, class BlockPos const &) const; + /*81*/ virtual void __unk_vfn_81(); + /*82*/ virtual void __unk_vfn_82(); + /*83*/ virtual bool tryToPlace(class BlockSource &, class BlockPos const &, class Block const &, struct ActorBlockSyncMessage const *) const; + /*84*/ virtual bool breaksFallingBlocks(class Block const &) const; + /*85*/ virtual void __unk_vfn_85(); + /*86*/ virtual bool playerWillDestroy(class Player &, class BlockPos const &, class Block const &) const; + /*87*/ virtual void __unk_vfn_87(); + /*88*/ virtual void neighborChanged(class BlockSource &, class BlockPos const &, class BlockPos const &) const; + /*89*/ virtual void __unk_vfn_89(); + /*90*/ virtual void __unk_vfn_90(); + /*91*/ virtual void __unk_vfn_91(); + /*92*/ virtual void __unk_vfn_92(); + /*93*/ virtual void spawnResources(class BlockSource &, class BlockPos const &, class Block const &, std::vector *, float, int, bool) const; + /*94*/ virtual void trySpawnResourcesOnExplosion(class BlockSource &, class BlockPos const &, class Block const &, std::vector *, float, int, bool) const; + /*95*/ virtual void __unk_vfn_95(); + /*96*/ virtual void __unk_vfn_96(); + /*97*/ virtual class HitResult clip(class BlockSource &, class BlockPos const &, class Vec3 const &, class Vec3 const &, bool) const; + /*98*/ virtual void __unk_vfn_98(); + /*99*/ virtual class Block const & getPlacementBlock(class Actor &, class BlockPos const &, unsigned char, class Vec3 const &, int) const; + /*100*/ virtual int calcVariant(class BlockSource &, class BlockPos const &) const; + /*101*/ virtual void __unk_vfn_101(); + /*102*/ virtual void __unk_vfn_102(); + /*103*/ virtual void __unk_vfn_103(); + /*104*/ virtual void __unk_vfn_104(); + /*105*/ virtual void playerDestroy(class Player &, class BlockPos const &, class Block const &) const; + /*106*/ virtual void __unk_vfn_106(); + /*107*/ virtual void __unk_vfn_107(); + /*108*/ virtual bool canBeBuiltOver(class BlockSource &, class BlockPos const &) const; + /*109*/ virtual void triggerEvent(class BlockSource &, class BlockPos const &, int, int) const; + /*110*/ virtual void __unk_vfn_110(); + /*111*/ virtual void __unk_vfn_111(); + /*112*/ virtual class MobSpawnerData const * getMobToSpawn(class SpawnConditions const &, class BlockSource &) const; + /*113*/ virtual void __unk_vfn_113(); + /*114*/ virtual void __unk_vfn_114(); + /*115*/ virtual bool shouldStopFalling(class Actor &) const; + /*116*/ virtual void __unk_vfn_116(); + /*117*/ virtual float calcGroundFriction(class Mob &, class BlockPos const &) const; + /*118*/ virtual void __unk_vfn_118(); + /*119*/ virtual void __unk_vfn_119(); + /*120*/ virtual void __unk_vfn_120(); + /*121*/ virtual bool canSlide(class BlockSource &, class BlockPos const &) const; + /*122*/ virtual void __unk_vfn_122(); + /*123*/ virtual void __unk_vfn_123(); + /*124*/ virtual void __unk_vfn_124(); + /*125*/ virtual void __unk_vfn_125(); + /*126*/ virtual void __unk_vfn_126(); + /*127*/ virtual void __unk_vfn_127(); + /*128*/ virtual void __unk_vfn_128(); + /*129*/ virtual void __unk_vfn_129(); + /*130*/ virtual void __unk_vfn_130(); + /*131*/ virtual void __unk_vfn_131(); + /*132*/ virtual int getColorForParticle(class BlockSource &, class BlockPos const &, class Block const &) const; + /*133*/ virtual void __unk_vfn_133(); + /*134*/ virtual void onGraphicsModeChanged(bool, bool, bool); + /*135*/ virtual void __unk_vfn_135(); + /*136*/ virtual float getShadeBrightness() const; + /*137*/ virtual class AABB const & getVisualShapeInWorld(class Block const &, class BlockSource &, class BlockPos const &, class AABB &, bool) const; + /*138*/ virtual class AABB const & getVisualShape(class Block const &, class AABB &, bool) const; + /*139*/ virtual class AABB const & getUIShape(class Block const &, class AABB &) const; + /*140*/ virtual int telemetryVariant(class BlockSource &, class BlockPos const &) const; + /*141*/ virtual int getVariant(class Block const &) const; + /*142*/ virtual void __unk_vfn_142(); + /*143*/ virtual class Block const & getRenderBlock() const; + /*144*/ virtual void __unk_vfn_144(); + /*145*/ virtual void __unk_vfn_145(); + /*146*/ virtual void __unk_vfn_146(); + /*147*/ virtual class BlockLegacy & init(); + /*148*/ virtual class BlockLegacy & setLightBlock(struct Brightness); + /*149*/ virtual class BlockLegacy & setLightEmission(float); + /*150*/ virtual class BlockLegacy & setExplodeable(float); + /*151*/ virtual class BlockLegacy & setDestroyTime(float); + /*152*/ virtual class BlockLegacy & setFriction(float); + /*153*/ virtual class BlockLegacy & addProperty(enum BlockProperty); + /*154*/ virtual class BlockLegacy & addState(class ItemState const &); + /*155*/ virtual class BlockLegacy & addState(class ItemState const &, unsigned __int64); + /*156*/ virtual class BlockLegacy & setAllowsRunes(bool); + /*157*/ virtual class BlockLegacy & setMapColor(class Color const &); + /*158*/ virtual void __unk_vfn_158(); + /*159*/ virtual void __unk_vfn_159(); + /*160*/ virtual void setVisualShape(class AABB const &); + /*161*/ virtual void setVisualShape(class Vec3 const &, class Vec3 const &); + /*162*/ virtual void __unk_vfn_162(); + /*163*/ virtual void __unk_vfn_163(); + /*164*/ virtual class ItemInstance getEntityResourceItem(class Random &, class BlockActor const &, int) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_LODESTONEBLOCK +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/LodestoneBlockActor.hpp b/LiteLoader/Header/MC/LodestoneBlockActor.hpp new file mode 100644 index 0000000..9b4ffc4 --- /dev/null +++ b/LiteLoader/Header/MC/LodestoneBlockActor.hpp @@ -0,0 +1,45 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "BlockActor.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class LodestoneBlockActor : public BlockActor { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_LODESTONEBLOCKACTOR +public: + class LodestoneBlockActor& operator=(class LodestoneBlockActor const &) = delete; + LodestoneBlockActor(class LodestoneBlockActor const &) = delete; + LodestoneBlockActor() = delete; +#endif + +public: + /*0*/ virtual ~LodestoneBlockActor(); + /*1*/ virtual void load(class Level &, class CompoundTag const &, class DataLoadHelper &); + /*2*/ virtual bool save(class CompoundTag &) const; + /*7*/ virtual void tick(class BlockSource &); + /*13*/ virtual void __unk_vfn_13(); + /*14*/ virtual void onRemoved(class BlockSource &); + /*17*/ virtual void __unk_vfn_17(); + /*29*/ virtual void __unk_vfn_29(); + /*30*/ virtual void __unk_vfn_30(); + /*32*/ virtual void __unk_vfn_32(); + /*33*/ virtual void __unk_vfn_33(); + /*34*/ virtual std::unique_ptr _getUpdatePacket(class BlockSource &); + /*35*/ virtual void _onUpdatePacket(class CompoundTag const &, class BlockSource &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_LODESTONEBLOCKACTOR +#endif + +//private: + +private: + MCAPI static std::string const sTagName_Handle; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/LodestoneCompassComponent.hpp b/LiteLoader/Header/MC/LodestoneCompassComponent.hpp new file mode 100644 index 0000000..da8c959 --- /dev/null +++ b/LiteLoader/Header/MC/LodestoneCompassComponent.hpp @@ -0,0 +1,33 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class LodestoneCompassComponent { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_LODESTONECOMPASSCOMPONENT +public: + class LodestoneCompassComponent& operator=(class LodestoneCompassComponent const &) = delete; + LodestoneCompassComponent(class LodestoneCompassComponent const &) = delete; + LodestoneCompassComponent() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_LODESTONECOMPASSCOMPONENT +#endif + MCAPI LodestoneCompassComponent(class LodestoneCompassComponent &&); + +//private: + MCAPI class LodestoneCompassComponentCalculator * _findCalculator(class std::variant>> const &, bool); + +private: + MCAPI static class CompassSpriteCalculator mSpinningLodestone; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/LodestoneCompassComponentCalculator.hpp b/LiteLoader/Header/MC/LodestoneCompassComponentCalculator.hpp new file mode 100644 index 0000000..6a3b1c5 --- /dev/null +++ b/LiteLoader/Header/MC/LodestoneCompassComponentCalculator.hpp @@ -0,0 +1,31 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class LodestoneCompassComponentCalculator { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_LODESTONECOMPASSCOMPONENTCALCULATOR +public: + class LodestoneCompassComponentCalculator& operator=(class LodestoneCompassComponentCalculator const &) = delete; + LodestoneCompassComponentCalculator(class LodestoneCompassComponentCalculator const &) = delete; + LodestoneCompassComponentCalculator() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_LODESTONECOMPASSCOMPONENTCALCULATOR +#endif + +//private: + +private: + MCAPI static float COOLDOWN_TIME_SECONDS; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/LodestoneCompassItem.hpp b/LiteLoader/Header/MC/LodestoneCompassItem.hpp new file mode 100644 index 0000000..cf1d38f --- /dev/null +++ b/LiteLoader/Header/MC/LodestoneCompassItem.hpp @@ -0,0 +1,50 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Item.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class LodestoneCompassItem : public Item { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_LODESTONECOMPASSITEM +public: + class LodestoneCompassItem& operator=(class LodestoneCompassItem const &) = delete; + LodestoneCompassItem(class LodestoneCompassItem const &) = delete; + LodestoneCompassItem() = delete; +#endif + +public: + /*0*/ virtual ~LodestoneCompassItem(); + /*5*/ virtual void __unk_vfn_5(); + /*26*/ virtual void __unk_vfn_26(); + /*27*/ virtual void __unk_vfn_27(); + /*31*/ virtual void __unk_vfn_31(); + /*32*/ virtual void __unk_vfn_32(); + /*34*/ virtual void __unk_vfn_34(); + /*37*/ virtual void __unk_vfn_37(); + /*43*/ virtual void __unk_vfn_43(); + /*46*/ virtual void __unk_vfn_46(); + /*47*/ virtual void __unk_vfn_47(); + /*49*/ virtual void __unk_vfn_49(); + /*50*/ virtual void __unk_vfn_50(); + /*79*/ virtual void __unk_vfn_79(); + /*80*/ virtual void __unk_vfn_80(); + /*83*/ virtual int getAnimationFrameFor(class Mob *, bool, class ItemStack const *, bool) const; + /*85*/ virtual struct TextureUVCoordinateSet const & getIcon(class ItemStackBase const &, int, bool) const; + /*90*/ virtual void __unk_vfn_90(); + /*97*/ virtual void __unk_vfn_97(); + /*99*/ virtual bool _useOn(class ItemStack &, class Actor &, class BlockPos, unsigned char, float, float, float) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_LODESTONECOMPASSITEM +#endif + MCAPI static int getCompassFrame(class std::variant>> &, class ItemStack const &, class Level const &, class BlockPos const &, class AutomaticID const &); + MCAPI static class PositionTrackingId getPositionTrackingId(class ItemStackBase const &); + MCAPI static bool linkCompassToLodestone(class ItemStack &, class BlockSource &, class BlockPos); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/LogBlock.hpp b/LiteLoader/Header/MC/LogBlock.hpp new file mode 100644 index 0000000..21ce2a5 --- /dev/null +++ b/LiteLoader/Header/MC/LogBlock.hpp @@ -0,0 +1,29 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class LogBlock { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_LOGBLOCK +public: + class LogBlock& operator=(class LogBlock const &) = delete; + LogBlock(class LogBlock const &) = delete; + LogBlock() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_LOGBLOCK + MCVAPI int getResourceCount(class Random &, class Block const &, int, bool) const; + MCVAPI bool isAuxValueRelevantForPicking() const; + MCVAPI void onRemove(class BlockSource &, class BlockPos const &) const; +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/LoginPacket.hpp b/LiteLoader/Header/MC/LoginPacket.hpp new file mode 100644 index 0000000..f1ec176 --- /dev/null +++ b/LiteLoader/Header/MC/LoginPacket.hpp @@ -0,0 +1,33 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Packet.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class LoginPacket : public Packet { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_LOGINPACKET +public: + class LoginPacket& operator=(class LoginPacket const &) = delete; + LoginPacket(class LoginPacket const &) = delete; + LoginPacket() = delete; +#endif + +public: + /*0*/ virtual ~LoginPacket(); + /*1*/ virtual enum MinecraftPacketIds getId() const; + /*2*/ virtual std::string getName() const; + /*3*/ virtual void write(class BinaryStream &) const; + /*4*/ virtual enum StreamReadResult read(class ReadOnlyBinaryStream &); + /*6*/ virtual bool disallowBatching() const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_LOGINPACKET +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/LookAtActorDefinition.hpp b/LiteLoader/Header/MC/LookAtActorDefinition.hpp new file mode 100644 index 0000000..7c0c6a2 --- /dev/null +++ b/LiteLoader/Header/MC/LookAtActorDefinition.hpp @@ -0,0 +1,30 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Json.hpp" +#include "BehaviorDefinition.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class LookAtActorDefinition : public BehaviorDefinition { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_LOOKATACTORDEFINITION +public: + class LookAtActorDefinition& operator=(class LookAtActorDefinition const &) = delete; + LookAtActorDefinition(class LookAtActorDefinition const &) = delete; + LookAtActorDefinition() = delete; +#endif + +public: + /*0*/ virtual ~LookAtActorDefinition(); + /*1*/ virtual void load(class Json::Value, class BehaviorFactory const &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_LOOKATACTORDEFINITION +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/LookAtActorGoal.hpp b/LiteLoader/Header/MC/LookAtActorGoal.hpp new file mode 100644 index 0000000..ba0a25e --- /dev/null +++ b/LiteLoader/Header/MC/LookAtActorGoal.hpp @@ -0,0 +1,40 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class LookAtActorGoal { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_LOOKATACTORGOAL +public: + class LookAtActorGoal& operator=(class LookAtActorGoal const &) = delete; + LookAtActorGoal(class LookAtActorGoal const &) = delete; + LookAtActorGoal() = delete; +#endif + +public: + /*0*/ virtual ~LookAtActorGoal(); + /*1*/ virtual bool canUse(); + /*2*/ virtual bool canContinueToUse(); + /*3*/ virtual void __unk_vfn_3(); + /*4*/ virtual void start(); + /*5*/ virtual void stop(); + /*6*/ virtual void tick(); + /*7*/ virtual void appendDebugInfo(std::string &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_LOOKATACTORGOAL +#endif + MCAPI LookAtActorGoal(class Mob &, float, float, int, int, int, int); + +//private: + MCAPI bool _withinFieldOfView(class Actor &); + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/LookAtActorNode.hpp b/LiteLoader/Header/MC/LookAtActorNode.hpp new file mode 100644 index 0000000..923f2c7 --- /dev/null +++ b/LiteLoader/Header/MC/LookAtActorNode.hpp @@ -0,0 +1,29 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class LookAtActorNode { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_LOOKATACTORNODE +public: + class LookAtActorNode& operator=(class LookAtActorNode const &) = delete; + LookAtActorNode(class LookAtActorNode const &) = delete; + LookAtActorNode() = delete; +#endif + +public: + /*0*/ virtual ~LookAtActorNode(); + /*1*/ virtual enum BehaviorStatus tick(class Actor &); + /*2*/ virtual void initializeFromDefinition(class Actor &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_LOOKATACTORNODE +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/LookAtBlockDefinition.hpp b/LiteLoader/Header/MC/LookAtBlockDefinition.hpp new file mode 100644 index 0000000..1db0cc2 --- /dev/null +++ b/LiteLoader/Header/MC/LookAtBlockDefinition.hpp @@ -0,0 +1,30 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Json.hpp" +#include "BehaviorDefinition.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class LookAtBlockDefinition : public BehaviorDefinition { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_LOOKATBLOCKDEFINITION +public: + class LookAtBlockDefinition& operator=(class LookAtBlockDefinition const &) = delete; + LookAtBlockDefinition(class LookAtBlockDefinition const &) = delete; + LookAtBlockDefinition() = delete; +#endif + +public: + /*0*/ virtual ~LookAtBlockDefinition(); + /*1*/ virtual void load(class Json::Value, class BehaviorFactory const &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_LOOKATBLOCKDEFINITION +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/LookAtBlockNode.hpp b/LiteLoader/Header/MC/LookAtBlockNode.hpp new file mode 100644 index 0000000..c968ac1 --- /dev/null +++ b/LiteLoader/Header/MC/LookAtBlockNode.hpp @@ -0,0 +1,29 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class LookAtBlockNode { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_LOOKATBLOCKNODE +public: + class LookAtBlockNode& operator=(class LookAtBlockNode const &) = delete; + LookAtBlockNode(class LookAtBlockNode const &) = delete; + LookAtBlockNode() = delete; +#endif + +public: + /*0*/ virtual ~LookAtBlockNode(); + /*1*/ virtual enum BehaviorStatus tick(class Actor &); + /*2*/ virtual void initializeFromDefinition(class Actor &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_LOOKATBLOCKNODE +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/LookAtDefinition.hpp b/LiteLoader/Header/MC/LookAtDefinition.hpp new file mode 100644 index 0000000..746191d --- /dev/null +++ b/LiteLoader/Header/MC/LookAtDefinition.hpp @@ -0,0 +1,31 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Json.hpp" +#include "JsonUtil.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class LookAtDefinition { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_LOOKATDEFINITION +public: + class LookAtDefinition& operator=(class LookAtDefinition const &) = delete; + LookAtDefinition(class LookAtDefinition const &) = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_LOOKATDEFINITION +#endif + MCAPI LookAtDefinition(); + MCAPI void deserializeData(class Json::Value &); + MCAPI ~LookAtDefinition(); + MCAPI static void buildSchema(class std::shared_ptr> &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/LookAtEntityGoal.hpp b/LiteLoader/Header/MC/LookAtEntityGoal.hpp new file mode 100644 index 0000000..b0149ef --- /dev/null +++ b/LiteLoader/Header/MC/LookAtEntityGoal.hpp @@ -0,0 +1,29 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "LookAtActorGoal.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class LookAtEntityGoal : public LookAtActorGoal { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_LOOKATENTITYGOAL +public: + class LookAtEntityGoal& operator=(class LookAtEntityGoal const &) = delete; + LookAtEntityGoal(class LookAtEntityGoal const &) = delete; + LookAtEntityGoal() = delete; +#endif + +public: + /*0*/ virtual ~LookAtEntityGoal(); + /*3*/ virtual void __unk_vfn_3(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_LOOKATENTITYGOAL +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/LookAtPlayerGoal.hpp b/LiteLoader/Header/MC/LookAtPlayerGoal.hpp new file mode 100644 index 0000000..a2e24c9 --- /dev/null +++ b/LiteLoader/Header/MC/LookAtPlayerGoal.hpp @@ -0,0 +1,29 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "LookAtActorGoal.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class LookAtPlayerGoal : public LookAtActorGoal { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_LOOKATPLAYERGOAL +public: + class LookAtPlayerGoal& operator=(class LookAtPlayerGoal const &) = delete; + LookAtPlayerGoal(class LookAtPlayerGoal const &) = delete; + LookAtPlayerGoal() = delete; +#endif + +public: + /*0*/ virtual ~LookAtPlayerGoal(); + /*3*/ virtual void __unk_vfn_3(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_LOOKATPLAYERGOAL +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/LookAtSystem.hpp b/LiteLoader/Header/MC/LookAtSystem.hpp new file mode 100644 index 0000000..2193053 --- /dev/null +++ b/LiteLoader/Header/MC/LookAtSystem.hpp @@ -0,0 +1,28 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class LookAtSystem { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_LOOKATSYSTEM +public: + class LookAtSystem& operator=(class LookAtSystem const &) = delete; + LookAtSystem(class LookAtSystem const &) = delete; + LookAtSystem() = delete; +#endif + +public: + /*0*/ virtual ~LookAtSystem(); + /*1*/ virtual void tick(class EntityRegistry &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_LOOKATSYSTEM +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/LookAtTargetGoal.hpp b/LiteLoader/Header/MC/LookAtTargetGoal.hpp new file mode 100644 index 0000000..51edea9 --- /dev/null +++ b/LiteLoader/Header/MC/LookAtTargetGoal.hpp @@ -0,0 +1,29 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "LookAtActorGoal.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class LookAtTargetGoal : public LookAtActorGoal { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_LOOKATTARGETGOAL +public: + class LookAtTargetGoal& operator=(class LookAtTargetGoal const &) = delete; + LookAtTargetGoal(class LookAtTargetGoal const &) = delete; + LookAtTargetGoal() = delete; +#endif + +public: + /*0*/ virtual ~LookAtTargetGoal(); + /*3*/ virtual void __unk_vfn_3(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_LOOKATTARGETGOAL +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/LookAtTradingPlayerGoal.hpp b/LiteLoader/Header/MC/LookAtTradingPlayerGoal.hpp new file mode 100644 index 0000000..eae9637 --- /dev/null +++ b/LiteLoader/Header/MC/LookAtTradingPlayerGoal.hpp @@ -0,0 +1,32 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "LookAtActorGoal.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class LookAtTradingPlayerGoal : public LookAtActorGoal { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_LOOKATTRADINGPLAYERGOAL +public: + class LookAtTradingPlayerGoal& operator=(class LookAtTradingPlayerGoal const &) = delete; + LookAtTradingPlayerGoal(class LookAtTradingPlayerGoal const &) = delete; + LookAtTradingPlayerGoal() = delete; +#endif + +public: + /*0*/ virtual ~LookAtTradingPlayerGoal(); + /*1*/ virtual bool canUse(); + /*2*/ virtual bool canContinueToUse(); + /*3*/ virtual void __unk_vfn_3(); + /*7*/ virtual void appendDebugInfo(std::string &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_LOOKATTRADINGPLAYERGOAL +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/LookControl.hpp b/LiteLoader/Header/MC/LookControl.hpp new file mode 100644 index 0000000..54a572d --- /dev/null +++ b/LiteLoader/Header/MC/LookControl.hpp @@ -0,0 +1,29 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class LookControl { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_LOOKCONTROL +public: + class LookControl& operator=(class LookControl const &) = delete; + LookControl(class LookControl const &) = delete; + LookControl() = delete; +#endif + +public: + /*0*/ virtual ~LookControl(); + /*1*/ virtual void initializeInternal(class Mob &); + /*2*/ virtual void tick(class Mob &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_LOOKCONTROL +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/LookControlComponent.hpp b/LiteLoader/Header/MC/LookControlComponent.hpp new file mode 100644 index 0000000..fc8ede7 --- /dev/null +++ b/LiteLoader/Header/MC/LookControlComponent.hpp @@ -0,0 +1,28 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class LookControlComponent { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_LOOKCONTROLCOMPONENT +public: + class LookControlComponent& operator=(class LookControlComponent const &) = delete; + LookControlComponent(class LookControlComponent const &) = delete; + LookControlComponent() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_LOOKCONTROLCOMPONENT +#endif + MCAPI void initialize(class Mob &); + MCAPI void setLookAtPosition(class Actor const *, float, float); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/LookControlSystem.hpp b/LiteLoader/Header/MC/LookControlSystem.hpp new file mode 100644 index 0000000..050bbc6 --- /dev/null +++ b/LiteLoader/Header/MC/LookControlSystem.hpp @@ -0,0 +1,28 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class LookControlSystem { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_LOOKCONTROLSYSTEM +public: + class LookControlSystem& operator=(class LookControlSystem const &) = delete; + LookControlSystem(class LookControlSystem const &) = delete; + LookControlSystem() = delete; +#endif + +public: + /*0*/ virtual ~LookControlSystem(); + /*1*/ virtual void tick(class EntityRegistry &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_LOOKCONTROLSYSTEM +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/LoomBlock.hpp b/LiteLoader/Header/MC/LoomBlock.hpp new file mode 100644 index 0000000..1152fc0 --- /dev/null +++ b/LiteLoader/Header/MC/LoomBlock.hpp @@ -0,0 +1,61 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "BlockLegacy.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class LoomBlock : public BlockLegacy { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_LOOMBLOCK +public: + class LoomBlock& operator=(class LoomBlock const &) = delete; + LoomBlock(class LoomBlock const &) = delete; + LoomBlock() = delete; +#endif + +public: + /*0*/ virtual ~LoomBlock(); + /*18*/ virtual void __unk_vfn_18(); + /*24*/ virtual void __unk_vfn_24(); + /*25*/ virtual void __unk_vfn_25(); + /*26*/ virtual void __unk_vfn_26(); + /*27*/ virtual void __unk_vfn_27(); + /*28*/ virtual void __unk_vfn_28(); + /*30*/ virtual void __unk_vfn_30(); + /*31*/ virtual void __unk_vfn_31(); + /*32*/ virtual void __unk_vfn_32(); + /*33*/ virtual void __unk_vfn_33(); + /*34*/ virtual void __unk_vfn_34(); + /*35*/ virtual void __unk_vfn_35(); + /*36*/ virtual void __unk_vfn_36(); + /*38*/ virtual void __unk_vfn_38(); + /*39*/ virtual void __unk_vfn_39(); + /*40*/ virtual void __unk_vfn_40(); + /*42*/ virtual void __unk_vfn_42(); + /*43*/ virtual void __unk_vfn_43(); + /*49*/ virtual void __unk_vfn_49(); + /*52*/ virtual void __unk_vfn_52(); + /*67*/ virtual void __unk_vfn_67(); + /*73*/ virtual void __unk_vfn_73(); + /*87*/ virtual void __unk_vfn_87(); + /*95*/ virtual void __unk_vfn_95(); + /*98*/ virtual bool use(class Player &, class BlockPos const &) const; + /*109*/ virtual void __unk_vfn_109(); + /*116*/ virtual void __unk_vfn_116(); + /*118*/ virtual void __unk_vfn_118(); + /*119*/ virtual void __unk_vfn_119(); + /*142*/ virtual void __unk_vfn_142(); + /*158*/ virtual void __unk_vfn_158(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_LOOMBLOCK + MCVAPI bool isCraftingBlock() const; + MCVAPI bool isInteractiveBlock() const; +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/LoomContainerManagerModel.hpp b/LiteLoader/Header/MC/LoomContainerManagerModel.hpp new file mode 100644 index 0000000..277f2f0 --- /dev/null +++ b/LiteLoader/Header/MC/LoomContainerManagerModel.hpp @@ -0,0 +1,35 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "ContainerManagerModel.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class LoomContainerManagerModel : public ContainerManagerModel { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_LOOMCONTAINERMANAGERMODEL +public: + class LoomContainerManagerModel& operator=(class LoomContainerManagerModel const &) = delete; + LoomContainerManagerModel(class LoomContainerManagerModel const &) = delete; + LoomContainerManagerModel() = delete; +#endif + +public: + /*0*/ virtual ~LoomContainerManagerModel(); + /*6*/ virtual std::vector getItemCopies() const; + /*7*/ virtual void setSlot(int, class ItemStack const &, bool); + /*8*/ virtual class ItemStack const & getSlot(int) const; + /*9*/ virtual void setData(int, int); + /*10*/ virtual void broadcastChanges(); + /*11*/ virtual bool isValid(float); + /*12*/ virtual class ContainerScreenContext _postInit(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_LOOMCONTAINERMANAGERMODEL +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/LoopbackPacketSender.hpp b/LiteLoader/Header/MC/LoopbackPacketSender.hpp new file mode 100644 index 0000000..a311ac8 --- /dev/null +++ b/LiteLoader/Header/MC/LoopbackPacketSender.hpp @@ -0,0 +1,34 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class LoopbackPacketSender { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_LOOPBACKPACKETSENDER +public: + class LoopbackPacketSender& operator=(class LoopbackPacketSender const &) = delete; + LoopbackPacketSender(class LoopbackPacketSender const &) = delete; + LoopbackPacketSender() = delete; +#endif + +public: + /*0*/ virtual ~LoopbackPacketSender(); + /*1*/ virtual void send(class Packet &); + /*2*/ virtual void sendToServer(class Packet &); + /*3*/ virtual void sendToClient(class NetworkIdentifier const &, class Packet const &, unsigned char); + /*4*/ virtual void sendToClients(std::vector const &, class Packet const &); + /*5*/ virtual void sendBroadcast(class Packet const &); + /*6*/ virtual void sendBroadcast(class NetworkIdentifier const &, unsigned char, class Packet const &); + /*7*/ virtual void flush(class NetworkIdentifier const &, class std::function &&); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_LOOPBACKPACKETSENDER +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/LootComponent.hpp b/LiteLoader/Header/MC/LootComponent.hpp new file mode 100644 index 0000000..9293397 --- /dev/null +++ b/LiteLoader/Header/MC/LootComponent.hpp @@ -0,0 +1,27 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class LootComponent { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_LOOTCOMPONENT +public: + class LootComponent& operator=(class LootComponent const &) = delete; + LootComponent(class LootComponent const &) = delete; + LootComponent() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_LOOTCOMPONENT +#endif + MCAPI void spawnResources(class BlockSource &, class BlockPos const &, class Block const &, std::vector *, float, int) const; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/LootComponentDescription.hpp b/LiteLoader/Header/MC/LootComponentDescription.hpp new file mode 100644 index 0000000..cbe4f6b --- /dev/null +++ b/LiteLoader/Header/MC/LootComponentDescription.hpp @@ -0,0 +1,31 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "JsonUtil.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +struct LootComponentDescription { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_LOOTCOMPONENTDESCRIPTION +public: + struct LootComponentDescription& operator=(struct LootComponentDescription const &) = delete; + LootComponentDescription(struct LootComponentDescription const &) = delete; + LootComponentDescription() = delete; +#endif +public: + /*0*/ virtual ~LootComponentDescription(); + /*1*/ virtual std::string const & getName() const; + /*2*/ virtual void initializeComponent(class BlockLegacy &) const; + /*3*/ virtual void buildSchema(class JsonUtil::JsonSchemaObjectNode, struct BlockDefinition> &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_LOOTCOMPONENTDESCRIPTION +#endif + MCAPI static std::string const NameID; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/LootEnchant.hpp b/LiteLoader/Header/MC/LootEnchant.hpp new file mode 100644 index 0000000..c834b1b --- /dev/null +++ b/LiteLoader/Header/MC/LootEnchant.hpp @@ -0,0 +1,31 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Enchant.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class LootEnchant : public Enchant { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_LOOTENCHANT +public: + class LootEnchant& operator=(class LootEnchant const &) = delete; + LootEnchant(class LootEnchant const &) = delete; + LootEnchant() = delete; +#endif + +public: + /*0*/ virtual ~LootEnchant(); + /*2*/ virtual int getMinCost(int) const; + /*3*/ virtual int getMaxCost(int) const; + /*5*/ virtual int getMaxLevel() const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_LOOTENCHANT +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/LootItem.hpp b/LiteLoader/Header/MC/LootItem.hpp new file mode 100644 index 0000000..65b4780 --- /dev/null +++ b/LiteLoader/Header/MC/LootItem.hpp @@ -0,0 +1,30 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Json.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class LootItem { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_LOOTITEM +public: + class LootItem& operator=(class LootItem const &) = delete; + LootItem(class LootItem const &) = delete; + LootItem() = delete; +#endif + +public: + /*0*/ virtual bool _createItem(std::vector &, class Random &, class LootTableContext &); + /*1*/ virtual bool _isExperimental() const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_LOOTITEM +#endif + MCAPI static std::unique_ptr deserialize(class Json::Value, int, int, std::vector> &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/LootItemActorHasMarkVariantCondition.hpp b/LiteLoader/Header/MC/LootItemActorHasMarkVariantCondition.hpp new file mode 100644 index 0000000..7338b39 --- /dev/null +++ b/LiteLoader/Header/MC/LootItemActorHasMarkVariantCondition.hpp @@ -0,0 +1,28 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class LootItemActorHasMarkVariantCondition { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_LOOTITEMACTORHASMARKVARIANTCONDITION +public: + class LootItemActorHasMarkVariantCondition& operator=(class LootItemActorHasMarkVariantCondition const &) = delete; + LootItemActorHasMarkVariantCondition(class LootItemActorHasMarkVariantCondition const &) = delete; + LootItemActorHasMarkVariantCondition() = delete; +#endif + +public: + /*0*/ virtual ~LootItemActorHasMarkVariantCondition(); + /*1*/ virtual bool applies(class Random &, class LootTableContext &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_LOOTITEMACTORHASMARKVARIANTCONDITION +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/LootItemCondition.hpp b/LiteLoader/Header/MC/LootItemCondition.hpp new file mode 100644 index 0000000..12294ec --- /dev/null +++ b/LiteLoader/Header/MC/LootItemCondition.hpp @@ -0,0 +1,28 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Json.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class LootItemCondition { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_LOOTITEMCONDITION +public: + class LootItemCondition& operator=(class LootItemCondition const &) = delete; + LootItemCondition(class LootItemCondition const &) = delete; + LootItemCondition() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_LOOTITEMCONDITION +#endif + MCAPI static std::unique_ptr deserialize(class Json::Value); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/LootItemConditions.hpp b/LiteLoader/Header/MC/LootItemConditions.hpp new file mode 100644 index 0000000..7eb6ec1 --- /dev/null +++ b/LiteLoader/Header/MC/LootItemConditions.hpp @@ -0,0 +1,29 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Json.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class LootItemConditions { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_LOOTITEMCONDITIONS +public: + class LootItemConditions& operator=(class LootItemConditions const &) = delete; + LootItemConditions(class LootItemConditions const &) = delete; + LootItemConditions() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_LOOTITEMCONDITIONS +#endif + MCAPI static bool allApply(std::vector> const &, class Random &, class LootTableContext &); + MCAPI static std::vector> deserialize(class Json::Value); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/LootItemFunction.hpp b/LiteLoader/Header/MC/LootItemFunction.hpp new file mode 100644 index 0000000..1941389 --- /dev/null +++ b/LiteLoader/Header/MC/LootItemFunction.hpp @@ -0,0 +1,38 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Json.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class LootItemFunction { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_LOOTITEMFUNCTION +public: + class LootItemFunction& operator=(class LootItemFunction const &) = delete; + LootItemFunction(class LootItemFunction const &) = delete; + LootItemFunction() = delete; +#endif + +public: + /*0*/ virtual ~LootItemFunction(); + /*1*/ virtual void apply(class ItemStack &, class Random &, class LootTableContext &) = 0; + /*2*/ virtual int apply(class ItemStack &, class Random &, struct Trade const &, class LootTableContext &); + /*3*/ virtual void apply(class ItemInstance &, class Random &, class LootTableContext &) = 0; + /*4*/ virtual int apply(class ItemInstance &, class Random &, struct Trade const &, class LootTableContext &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_LOOTITEMFUNCTION +#endif + MCAPI static std::unique_ptr deserialize(class Json::Value); + +//private: + +private: + MCAPI static class std::unordered_map (class Json::Value &, std::vector> &)>, struct std::hash, struct std::equal_to, class std::allocator (class Json::Value &, std::vector> &)>>>> const mLootingFunctions; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/LootItemFunctions.hpp b/LiteLoader/Header/MC/LootItemFunctions.hpp new file mode 100644 index 0000000..f32729d --- /dev/null +++ b/LiteLoader/Header/MC/LootItemFunctions.hpp @@ -0,0 +1,28 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Json.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class LootItemFunctions { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_LOOTITEMFUNCTIONS +public: + class LootItemFunctions& operator=(class LootItemFunctions const &) = delete; + LootItemFunctions(class LootItemFunctions const &) = delete; + LootItemFunctions() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_LOOTITEMFUNCTIONS +#endif + MCAPI static std::vector> deserialize(class Json::Value); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/LootItemKilledByActorCondition.hpp b/LiteLoader/Header/MC/LootItemKilledByActorCondition.hpp new file mode 100644 index 0000000..57472b7 --- /dev/null +++ b/LiteLoader/Header/MC/LootItemKilledByActorCondition.hpp @@ -0,0 +1,30 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Json.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class LootItemKilledByActorCondition { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_LOOTITEMKILLEDBYACTORCONDITION +public: + class LootItemKilledByActorCondition& operator=(class LootItemKilledByActorCondition const &) = delete; + LootItemKilledByActorCondition(class LootItemKilledByActorCondition const &) = delete; + LootItemKilledByActorCondition() = delete; +#endif + +public: + /*0*/ virtual ~LootItemKilledByActorCondition(); + /*1*/ virtual bool applies(class Random &, class LootTableContext &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_LOOTITEMKILLEDBYACTORCONDITION +#endif + MCAPI static std::unique_ptr deserialize(class Json::Value); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/LootItemKilledByPlayerCondition.hpp b/LiteLoader/Header/MC/LootItemKilledByPlayerCondition.hpp new file mode 100644 index 0000000..62574a9 --- /dev/null +++ b/LiteLoader/Header/MC/LootItemKilledByPlayerCondition.hpp @@ -0,0 +1,28 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class LootItemKilledByPlayerCondition { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_LOOTITEMKILLEDBYPLAYERCONDITION +public: + class LootItemKilledByPlayerCondition& operator=(class LootItemKilledByPlayerCondition const &) = delete; + LootItemKilledByPlayerCondition(class LootItemKilledByPlayerCondition const &) = delete; + LootItemKilledByPlayerCondition() = delete; +#endif + +public: + /*0*/ virtual ~LootItemKilledByPlayerCondition(); + /*1*/ virtual bool applies(class Random &, class LootTableContext &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_LOOTITEMKILLEDBYPLAYERCONDITION +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/LootItemKilledByPlayerOrPetsCondition.hpp b/LiteLoader/Header/MC/LootItemKilledByPlayerOrPetsCondition.hpp new file mode 100644 index 0000000..aa86a19 --- /dev/null +++ b/LiteLoader/Header/MC/LootItemKilledByPlayerOrPetsCondition.hpp @@ -0,0 +1,28 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class LootItemKilledByPlayerOrPetsCondition { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_LOOTITEMKILLEDBYPLAYERORPETSCONDITION +public: + class LootItemKilledByPlayerOrPetsCondition& operator=(class LootItemKilledByPlayerOrPetsCondition const &) = delete; + LootItemKilledByPlayerOrPetsCondition(class LootItemKilledByPlayerOrPetsCondition const &) = delete; + LootItemKilledByPlayerOrPetsCondition() = delete; +#endif + +public: + /*0*/ virtual ~LootItemKilledByPlayerOrPetsCondition(); + /*1*/ virtual bool applies(class Random &, class LootTableContext &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_LOOTITEMKILLEDBYPLAYERORPETSCONDITION +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/LootItemRandomChanceCondition.hpp b/LiteLoader/Header/MC/LootItemRandomChanceCondition.hpp new file mode 100644 index 0000000..dea775b --- /dev/null +++ b/LiteLoader/Header/MC/LootItemRandomChanceCondition.hpp @@ -0,0 +1,28 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class LootItemRandomChanceCondition { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_LOOTITEMRANDOMCHANCECONDITION +public: + class LootItemRandomChanceCondition& operator=(class LootItemRandomChanceCondition const &) = delete; + LootItemRandomChanceCondition(class LootItemRandomChanceCondition const &) = delete; + LootItemRandomChanceCondition() = delete; +#endif + +public: + /*0*/ virtual ~LootItemRandomChanceCondition(); + /*1*/ virtual bool applies(class Random &, class LootTableContext &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_LOOTITEMRANDOMCHANCECONDITION +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/LootItemRandomChanceWithLootingCondition.hpp b/LiteLoader/Header/MC/LootItemRandomChanceWithLootingCondition.hpp new file mode 100644 index 0000000..4fb1800 --- /dev/null +++ b/LiteLoader/Header/MC/LootItemRandomChanceWithLootingCondition.hpp @@ -0,0 +1,28 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class LootItemRandomChanceWithLootingCondition { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_LOOTITEMRANDOMCHANCEWITHLOOTINGCONDITION +public: + class LootItemRandomChanceWithLootingCondition& operator=(class LootItemRandomChanceWithLootingCondition const &) = delete; + LootItemRandomChanceWithLootingCondition(class LootItemRandomChanceWithLootingCondition const &) = delete; + LootItemRandomChanceWithLootingCondition() = delete; +#endif + +public: + /*0*/ virtual ~LootItemRandomChanceWithLootingCondition(); + /*1*/ virtual bool applies(class Random &, class LootTableContext &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_LOOTITEMRANDOMCHANCEWITHLOOTINGCONDITION +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/LootItemRandomChanceWithSpecialModifierCondition.hpp b/LiteLoader/Header/MC/LootItemRandomChanceWithSpecialModifierCondition.hpp new file mode 100644 index 0000000..6a2832e --- /dev/null +++ b/LiteLoader/Header/MC/LootItemRandomChanceWithSpecialModifierCondition.hpp @@ -0,0 +1,28 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class LootItemRandomChanceWithSpecialModifierCondition { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_LOOTITEMRANDOMCHANCEWITHSPECIALMODIFIERCONDITION +public: + class LootItemRandomChanceWithSpecialModifierCondition& operator=(class LootItemRandomChanceWithSpecialModifierCondition const &) = delete; + LootItemRandomChanceWithSpecialModifierCondition(class LootItemRandomChanceWithSpecialModifierCondition const &) = delete; + LootItemRandomChanceWithSpecialModifierCondition() = delete; +#endif + +public: + /*0*/ virtual ~LootItemRandomChanceWithSpecialModifierCondition(); + /*1*/ virtual bool applies(class Random &, class LootTableContext &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_LOOTITEMRANDOMCHANCEWITHSPECIALMODIFIERCONDITION +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/LootItemRandomDifficultyChanceCondition.hpp b/LiteLoader/Header/MC/LootItemRandomDifficultyChanceCondition.hpp new file mode 100644 index 0000000..a23a038 --- /dev/null +++ b/LiteLoader/Header/MC/LootItemRandomDifficultyChanceCondition.hpp @@ -0,0 +1,30 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Json.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class LootItemRandomDifficultyChanceCondition { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_LOOTITEMRANDOMDIFFICULTYCHANCECONDITION +public: + class LootItemRandomDifficultyChanceCondition& operator=(class LootItemRandomDifficultyChanceCondition const &) = delete; + LootItemRandomDifficultyChanceCondition(class LootItemRandomDifficultyChanceCondition const &) = delete; + LootItemRandomDifficultyChanceCondition() = delete; +#endif + +public: + /*0*/ virtual ~LootItemRandomDifficultyChanceCondition(); + /*1*/ virtual bool applies(class Random &, class LootTableContext &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_LOOTITEMRANDOMDIFFICULTYCHANCECONDITION +#endif + MCAPI LootItemRandomDifficultyChanceCondition(class Json::Value); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/LootPool.hpp b/LiteLoader/Header/MC/LootPool.hpp new file mode 100644 index 0000000..0a3c92a --- /dev/null +++ b/LiteLoader/Header/MC/LootPool.hpp @@ -0,0 +1,34 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Json.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class LootPool { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_LOOTPOOL +public: + class LootPool& operator=(class LootPool const &) = delete; + LootPool(class LootPool const &) = delete; + LootPool() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_LOOTPOOL +#endif + MCAPI void addRandomItems(std::vector &, class Random &, class LootTableContext &); + MCAPI void deserialize(class Json::Value); + +//protected: + MCAPI void addRandomItem(std::vector &, class Random &, class LootTableContext &); + +protected: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/LootPoolEntry.hpp b/LiteLoader/Header/MC/LootPoolEntry.hpp new file mode 100644 index 0000000..c86ed8f --- /dev/null +++ b/LiteLoader/Header/MC/LootPoolEntry.hpp @@ -0,0 +1,28 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Json.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class LootPoolEntry { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_LOOTPOOLENTRY +public: + class LootPoolEntry& operator=(class LootPoolEntry const &) = delete; + LootPoolEntry(class LootPoolEntry const &) = delete; + LootPoolEntry() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_LOOTPOOLENTRY +#endif + MCAPI static std::unique_ptr deserialize(class Json::Value); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/LootPoolTiers.hpp b/LiteLoader/Header/MC/LootPoolTiers.hpp new file mode 100644 index 0000000..f202f39 --- /dev/null +++ b/LiteLoader/Header/MC/LootPoolTiers.hpp @@ -0,0 +1,28 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Json.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class LootPoolTiers { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_LOOTPOOLTIERS +public: + class LootPoolTiers& operator=(class LootPoolTiers const &) = delete; + LootPoolTiers(class LootPoolTiers const &) = delete; + LootPoolTiers() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_LOOTPOOLTIERS +#endif + MCAPI static std::unique_ptr deserialize(class Json::Value); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/LootTable.hpp b/LiteLoader/Header/MC/LootTable.hpp new file mode 100644 index 0000000..3b1f9d6 --- /dev/null +++ b/LiteLoader/Header/MC/LootTable.hpp @@ -0,0 +1,35 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Json.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class LootTable { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_LOOTTABLE +public: + class LootTable& operator=(class LootTable const &) = delete; + LootTable(class LootTable const &) = delete; + LootTable() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_LOOTTABLE +#endif + MCAPI void deserialize(class Json::Value); + MCAPI std::vector getRandomItems(class Random &, class LootTableContext &) const; + +//private: + MCAPI std::vector getAvailableSlots(class Container &, class Random &); + MCAPI void shuffleAndSplitItems(std::vector &, int, class Random &); + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/LootTableContext.hpp b/LiteLoader/Header/MC/LootTableContext.hpp new file mode 100644 index 0000000..0d926fd --- /dev/null +++ b/LiteLoader/Header/MC/LootTableContext.hpp @@ -0,0 +1,29 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class LootTableContext { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_LOOTTABLECONTEXT +public: + class LootTableContext& operator=(class LootTableContext const &) = delete; + LootTableContext(class LootTableContext const &) = delete; + LootTableContext() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_LOOTTABLECONTEXT +#endif + MCAPI LootTableContext(float, class Level *, class Actor *, class Player *, class ActorDamageSource const *, float); + MCAPI void removeVisitedTable(class LootTable const *); + MCAPI ~LootTableContext(); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/LootTableDescription.hpp b/LiteLoader/Header/MC/LootTableDescription.hpp new file mode 100644 index 0000000..c6b7e6b --- /dev/null +++ b/LiteLoader/Header/MC/LootTableDescription.hpp @@ -0,0 +1,30 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Json.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +struct LootTableDescription { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_LOOTTABLEDESCRIPTION +public: + struct LootTableDescription& operator=(struct LootTableDescription const &) = delete; + LootTableDescription(struct LootTableDescription const &) = delete; + LootTableDescription() = delete; +#endif +public: + /*0*/ virtual char const * getJsonName() const; + /*1*/ virtual ~LootTableDescription(); + /*2*/ virtual void deserializeData(class Json::Value &); + /*3*/ virtual void serializeData(class Json::Value &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_LOOTTABLEDESCRIPTION +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/LootTableEntry.hpp b/LiteLoader/Header/MC/LootTableEntry.hpp new file mode 100644 index 0000000..8a5012f --- /dev/null +++ b/LiteLoader/Header/MC/LootTableEntry.hpp @@ -0,0 +1,28 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class LootTableEntry { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_LOOTTABLEENTRY +public: + class LootTableEntry& operator=(class LootTableEntry const &) = delete; + LootTableEntry(class LootTableEntry const &) = delete; + LootTableEntry() = delete; +#endif + +public: + /*0*/ virtual bool _createItem(std::vector &, class Random &, class LootTableContext &); + /*1*/ virtual bool _isExperimental() const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_LOOTTABLEENTRY +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/LootTableReference.hpp b/LiteLoader/Header/MC/LootTableReference.hpp new file mode 100644 index 0000000..7db7d58 --- /dev/null +++ b/LiteLoader/Header/MC/LootTableReference.hpp @@ -0,0 +1,30 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Json.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class LootTableReference { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_LOOTTABLEREFERENCE +public: + class LootTableReference& operator=(class LootTableReference const &) = delete; + LootTableReference(class LootTableReference const &) = delete; + LootTableReference() = delete; +#endif + +public: + /*0*/ virtual bool _createItem(std::vector &, class Random &, class LootTableContext &); + /*1*/ virtual bool _isExperimental() const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_LOOTTABLEREFERENCE +#endif + MCAPI static std::unique_ptr deserialize(class Json::Value, int, int, std::vector> &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/LootTables.hpp b/LiteLoader/Header/MC/LootTables.hpp new file mode 100644 index 0000000..15bf71c --- /dev/null +++ b/LiteLoader/Header/MC/LootTables.hpp @@ -0,0 +1,28 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class LootTables { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_LOOTTABLES +public: + class LootTables& operator=(class LootTables const &) = delete; + LootTables(class LootTables const &) = delete; + LootTables() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_LOOTTABLES +#endif + MCAPI class LootTable * lookupByName(std::string const &, class ResourcePackManager &); + MCAPI ~LootTables(); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/LootingEnchantFunction.hpp b/LiteLoader/Header/MC/LootingEnchantFunction.hpp new file mode 100644 index 0000000..e8d6254 --- /dev/null +++ b/LiteLoader/Header/MC/LootingEnchantFunction.hpp @@ -0,0 +1,30 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "LootItemFunction.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class LootingEnchantFunction : public LootItemFunction { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_LOOTINGENCHANTFUNCTION +public: + class LootingEnchantFunction& operator=(class LootingEnchantFunction const &) = delete; + LootingEnchantFunction(class LootingEnchantFunction const &) = delete; + LootingEnchantFunction() = delete; +#endif + +public: + /*0*/ virtual ~LootingEnchantFunction(); + /*1*/ virtual void apply(class ItemStack &, class Random &, class LootTableContext &); + /*3*/ virtual void apply(class ItemInstance &, class Random &, class LootTableContext &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_LOOTINGENCHANTFUNCTION +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/LowMemoryWatcher.hpp b/LiteLoader/Header/MC/LowMemoryWatcher.hpp new file mode 100644 index 0000000..7c6a241 --- /dev/null +++ b/LiteLoader/Header/MC/LowMemoryWatcher.hpp @@ -0,0 +1,32 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class LowMemoryWatcher { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_LOWMEMORYWATCHER +public: + class LowMemoryWatcher& operator=(class LowMemoryWatcher const &) = delete; + LowMemoryWatcher(class LowMemoryWatcher const &) = delete; + LowMemoryWatcher() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_LOWMEMORYWATCHER +#endif + +//private: + +private: + MCAPI static std::list>> mPleaseLeakMemory; + MCAPI static class std::chrono::time_point>> mTimeToResetWarning; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/MCRESULT.hpp b/LiteLoader/Header/MC/MCRESULT.hpp new file mode 100644 index 0000000..a256501 --- /dev/null +++ b/LiteLoader/Header/MC/MCRESULT.hpp @@ -0,0 +1,49 @@ +/** + * @file MCRESULT.hpp + * @note This Header is auto generated by LiteLoaderBDS Toolchain. + * + */ +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA +// Include Headers or Declare Types Here + +#undef BEFORE_EXTRA + +/** + * @brief MC structure MCRESULT. + * + */ +struct MCRESULT { + +#define AFTER_EXTRA +// Add Member There +#define DISABLE_CONSTRUCTOR_PREVENTION_MCRESULT + unsigned char filler[4]; + operator bool() { + return filler[0]; + } + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_MCRESULT +public: + struct MCRESULT& operator=(struct MCRESULT const &) = delete; + MCRESULT(struct MCRESULT const &) = delete; + MCRESULT() = delete; +#endif + +// public: +// /** +// * @symbol ?getFullCode@MCRESULT@@QEBAHXZ +// * @hash 1620716886 +// */ +// MCAPI int getFullCode() const; +// /** +// * @symbol ?isSuccess@MCRESULT@@QEBA_NXZ +// * @hash 1264322972 +// */ +// MCAPI bool isSuccess() const; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/MagmaBlock.hpp b/LiteLoader/Header/MC/MagmaBlock.hpp new file mode 100644 index 0000000..c917074 --- /dev/null +++ b/LiteLoader/Header/MC/MagmaBlock.hpp @@ -0,0 +1,69 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "BlockLegacy.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class MagmaBlock : public BlockLegacy { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_MAGMABLOCK +public: + class MagmaBlock& operator=(class MagmaBlock const &) = delete; + MagmaBlock(class MagmaBlock const &) = delete; + MagmaBlock() = delete; +#endif + +public: + /*0*/ virtual ~MagmaBlock(); + /*1*/ virtual void tick(class BlockSource &, class BlockPos const &, class Random &) const; + /*18*/ virtual void __unk_vfn_18(); + /*24*/ virtual void __unk_vfn_24(); + /*25*/ virtual void __unk_vfn_25(); + /*26*/ virtual void __unk_vfn_26(); + /*27*/ virtual void __unk_vfn_27(); + /*28*/ virtual void __unk_vfn_28(); + /*30*/ virtual void __unk_vfn_30(); + /*31*/ virtual void __unk_vfn_31(); + /*32*/ virtual void __unk_vfn_32(); + /*33*/ virtual void __unk_vfn_33(); + /*34*/ virtual void __unk_vfn_34(); + /*35*/ virtual void __unk_vfn_35(); + /*36*/ virtual void __unk_vfn_36(); + /*38*/ virtual void __unk_vfn_38(); + /*39*/ virtual void __unk_vfn_39(); + /*40*/ virtual void __unk_vfn_40(); + /*42*/ virtual void __unk_vfn_42(); + /*43*/ virtual void __unk_vfn_43(); + /*49*/ virtual void __unk_vfn_49(); + /*52*/ virtual void __unk_vfn_52(); + /*56*/ virtual bool checkIsPathable(class Actor &, class BlockPos const &, class BlockPos const &) const; + /*59*/ virtual void onPlace(class BlockSource &, class BlockPos const &) const; + /*67*/ virtual void __unk_vfn_67(); + /*73*/ virtual void __unk_vfn_73(); + /*87*/ virtual void __unk_vfn_87(); + /*88*/ virtual void neighborChanged(class BlockSource &, class BlockPos const &, class BlockPos const &) const; + /*95*/ virtual void __unk_vfn_95(); + /*109*/ virtual void __unk_vfn_109(); + /*116*/ virtual void __unk_vfn_116(); + /*118*/ virtual void __unk_vfn_118(); + /*119*/ virtual void __unk_vfn_119(); + /*141*/ virtual int getVariant(class Block const &) const; + /*142*/ virtual void __unk_vfn_142(); + /*146*/ virtual void animateTick(class BlockSource &, class BlockPos const &, class Random &) const; + /*158*/ virtual void __unk_vfn_158(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_MAGMABLOCK +#endif + +//private: + MCAPI void addToTickQueue(class BlockSource &, class BlockPos const &, class Random &) const; + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/MainChunkSource.hpp b/LiteLoader/Header/MC/MainChunkSource.hpp new file mode 100644 index 0000000..27f0a33 --- /dev/null +++ b/LiteLoader/Header/MC/MainChunkSource.hpp @@ -0,0 +1,36 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "ChunkSource.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class MainChunkSource : public ChunkSource { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_MAINCHUNKSOURCE +public: + class MainChunkSource& operator=(class MainChunkSource const &) = delete; + MainChunkSource(class MainChunkSource const &) = delete; + MainChunkSource() = delete; +#endif + +public: + /*0*/ virtual ~MainChunkSource(); + /*3*/ virtual class std::shared_ptr getExistingChunk(class ChunkPos const &); + /*4*/ virtual class std::shared_ptr getRandomChunk(class Random &); + /*5*/ virtual class std::shared_ptr createNewChunk(class ChunkPos const &, enum ChunkSource::LoadMode); + /*14*/ virtual void acquireDiscarded(class std::unique_ptr); + /*18*/ virtual class std::unordered_map, struct std::hash, struct std::equal_to, class std::allocator>>> const * getChunkMap(); + /*19*/ virtual class std::unordered_map, struct std::hash, struct std::equal_to, class std::allocator>>> const & getStorage() const; + /*20*/ virtual void clearDeletedEntities(); + /*21*/ virtual bool canCreateViews() const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_MAINCHUNKSOURCE +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/MakeLoveGoal.hpp b/LiteLoader/Header/MC/MakeLoveGoal.hpp new file mode 100644 index 0000000..56074c5 --- /dev/null +++ b/LiteLoader/Header/MC/MakeLoveGoal.hpp @@ -0,0 +1,39 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class MakeLoveGoal { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_MAKELOVEGOAL +public: + class MakeLoveGoal& operator=(class MakeLoveGoal const &) = delete; + MakeLoveGoal(class MakeLoveGoal const &) = delete; + MakeLoveGoal() = delete; +#endif + +public: + /*0*/ virtual ~MakeLoveGoal(); + /*1*/ virtual bool canUse(); + /*2*/ virtual bool canContinueToUse(); + /*3*/ virtual void __unk_vfn_3(); + /*4*/ virtual void start(); + /*5*/ virtual void stop(); + /*6*/ virtual void tick(); + /*7*/ virtual void appendDebugInfo(std::string &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_MAKELOVEGOAL +#endif + +//private: + MCAPI class VillagerBase * _findMate() const; + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ManagedWanderingTraderDescription.hpp b/LiteLoader/Header/MC/ManagedWanderingTraderDescription.hpp new file mode 100644 index 0000000..9bdf892 --- /dev/null +++ b/LiteLoader/Header/MC/ManagedWanderingTraderDescription.hpp @@ -0,0 +1,28 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +struct ManagedWanderingTraderDescription { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_MANAGEDWANDERINGTRADERDESCRIPTION +public: + struct ManagedWanderingTraderDescription& operator=(struct ManagedWanderingTraderDescription const &) = delete; + ManagedWanderingTraderDescription(struct ManagedWanderingTraderDescription const &) = delete; + ManagedWanderingTraderDescription() = delete; +#endif +public: + /*0*/ virtual char const * getJsonName() const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_MANAGEDWANDERINGTRADERDESCRIPTION + MCVAPI void deserializeData(class Json::Value &); + MCVAPI void serializeData(class Json::Value &) const; +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/MapCloningRecipe.hpp b/LiteLoader/Header/MC/MapCloningRecipe.hpp new file mode 100644 index 0000000..a9094db --- /dev/null +++ b/LiteLoader/Header/MC/MapCloningRecipe.hpp @@ -0,0 +1,38 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Recipe.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class MapCloningRecipe : public Recipe { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_MAPCLONINGRECIPE +public: + class MapCloningRecipe& operator=(class MapCloningRecipe const &) = delete; + MapCloningRecipe(class MapCloningRecipe const &) = delete; + MapCloningRecipe() = delete; +#endif + +public: + /*0*/ virtual ~MapCloningRecipe(); + /*1*/ virtual std::vector const & assemble(class CraftingContainer &) const; + /*2*/ virtual int getCraftingSize() const; + /*3*/ virtual class RecipeIngredient const & getIngredient(int, int) const; + /*4*/ virtual std::vector const & getResultItem() const; + /*6*/ virtual bool matches(class CraftingContainer &, class Level &) const; + /*7*/ virtual int size() const; + /*8*/ virtual bool isExperimental() const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_MAPCLONINGRECIPE +#endif + MCAPI MapCloningRecipe(std::string, class mce::UUID const &); + MCAPI static class mce::UUID const CartographyTableID; + MCAPI static class mce::UUID const CraftingTableID; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/MapConstants.hpp b/LiteLoader/Header/MC/MapConstants.hpp new file mode 100644 index 0000000..a340da5 --- /dev/null +++ b/LiteLoader/Header/MC/MapConstants.hpp @@ -0,0 +1,50 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +namespace MapConstants { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA + MCAPI extern int const DEFAULT_SCALE; + MCAPI extern int const DEFAULT_SCALE_LEGACY_STARTING_MAP; + MCAPI extern int const DEFAULT_SCALE_STARTING_MAP; + MCAPI extern int const HALF_MAP_SIZE; + MCAPI extern class Vec3 const MAP_GLOBAL_POS; + MCAPI extern class Vec3 const MAP_GLOBAL_ROT; + MCAPI extern class Vec3 const MAP_HANDS_POS; + MCAPI extern class Vec3 const MAP_HANDS_ROT; + MCAPI extern class Vec3 const MAP_LEFTHAND_POS; + MCAPI extern class Vec3 const MAP_LEFTHAND_ROT; + MCAPI extern class Vec3 const MAP_NORMAL; + MCAPI extern class Vec3 const MAP_RIGHTHAND_POS; + MCAPI extern class Vec3 const MAP_RIGHTHAND_ROT; + MCAPI extern int const MAP_SIZE; + MCAPI extern class Vec3 const MAP_SWING_POS_SCALE; + MCAPI extern class Vec3 const MAP_SWING_ROT; + MCAPI extern int const MAX_SCALE; + MCAPI extern class Vec3 const MINI_MAP_HANDS_POS; + MCAPI extern class Vec3 const MINI_MAP_HANDS_ROT; + MCAPI extern class Vec3 const MINI_MAP_LEFTHAND_POS; + MCAPI extern class Vec3 const MINI_MAP_LEFTHAND_ROT; + MCAPI extern class Vec3 const MINI_MAP_MAINHAND_POS; + MCAPI extern class Vec3 const MINI_MAP_NORMAL; + MCAPI extern class Vec3 const MINI_MAP_OFFHAND_POS; + MCAPI extern class Vec3 const MINI_MAP_RIGHTHAND_POS; + MCAPI extern class Vec3 const MINI_MAP_RIGHTHAND_ROT; + MCAPI extern class Vec3 const MINI_MAP_SWING_POS_SCALE; + MCAPI extern class Vec3 const SPLIT_SCREEN_ADJUST; + MCAPI extern class Vec3 const VERT_MAINHAND_MAP_POS; + MCAPI extern class Vec3 const VERT_MAP_LEFTHAND_POS; + MCAPI extern class Vec3 const VERT_MAP_RIGHTHAND_POS; + MCAPI extern class Vec3 const VERT_MINI_MAP_OFFHAND_POS; + MCAPI extern class Vec3 const VERT_OFFHAND_MAP_POS; + MCAPI extern class Vec3 const VERT_SPLIT_SCREEN_OFFSET; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/MapCreateLockedCopyPacket.hpp b/LiteLoader/Header/MC/MapCreateLockedCopyPacket.hpp new file mode 100644 index 0000000..9687640 --- /dev/null +++ b/LiteLoader/Header/MC/MapCreateLockedCopyPacket.hpp @@ -0,0 +1,32 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Packet.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class MapCreateLockedCopyPacket : public Packet { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_MAPCREATELOCKEDCOPYPACKET +public: + class MapCreateLockedCopyPacket& operator=(class MapCreateLockedCopyPacket const &) = delete; + MapCreateLockedCopyPacket(class MapCreateLockedCopyPacket const &) = delete; + MapCreateLockedCopyPacket() = delete; +#endif + +public: + /*0*/ virtual ~MapCreateLockedCopyPacket(); + /*1*/ virtual enum MinecraftPacketIds getId() const; + /*2*/ virtual std::string getName() const; + /*3*/ virtual void write(class BinaryStream &) const; + /*4*/ virtual enum StreamReadResult read(class ReadOnlyBinaryStream &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_MAPCREATELOCKEDCOPYPACKET +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/MapDecoration.hpp b/LiteLoader/Header/MC/MapDecoration.hpp new file mode 100644 index 0000000..98d3c5c --- /dev/null +++ b/LiteLoader/Header/MC/MapDecoration.hpp @@ -0,0 +1,28 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class MapDecoration { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_MAPDECORATION +public: + class MapDecoration& operator=(class MapDecoration const &) = delete; + MapDecoration(class MapDecoration const &) = delete; + MapDecoration() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_MAPDECORATION +#endif + MCAPI void load(class CompoundTag const &); + MCAPI ~MapDecoration(); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/MapExtendingRecipe.hpp b/LiteLoader/Header/MC/MapExtendingRecipe.hpp new file mode 100644 index 0000000..34d66c7 --- /dev/null +++ b/LiteLoader/Header/MC/MapExtendingRecipe.hpp @@ -0,0 +1,43 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Recipe.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class MapExtendingRecipe : public Recipe { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_MAPEXTENDINGRECIPE +public: + class MapExtendingRecipe& operator=(class MapExtendingRecipe const &) = delete; + MapExtendingRecipe(class MapExtendingRecipe const &) = delete; + MapExtendingRecipe() = delete; +#endif + +public: + /*0*/ virtual ~MapExtendingRecipe(); + /*1*/ virtual std::vector const & assemble(class CraftingContainer &) const; + /*2*/ virtual int getCraftingSize() const; + /*3*/ virtual class RecipeIngredient const & getIngredient(int, int) const; + /*4*/ virtual std::vector const & getResultItem() const; + /*6*/ virtual bool matches(class CraftingContainer &, class Level &) const; + /*7*/ virtual int size() const; + /*8*/ virtual bool isExperimental() const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_MAPEXTENDINGRECIPE +#endif + MCAPI MapExtendingRecipe(std::string, class mce::UUID const &); + MCAPI static class mce::UUID const CartographyTableID; + MCAPI static class mce::UUID const CraftingTableID; + +//private: + MCAPI void _updateMapInstance(class ItemInstance &) const; + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/MapInfoRequestPacket.hpp b/LiteLoader/Header/MC/MapInfoRequestPacket.hpp new file mode 100644 index 0000000..244b677 --- /dev/null +++ b/LiteLoader/Header/MC/MapInfoRequestPacket.hpp @@ -0,0 +1,32 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Packet.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class MapInfoRequestPacket : public Packet { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_MAPINFOREQUESTPACKET +public: + class MapInfoRequestPacket& operator=(class MapInfoRequestPacket const &) = delete; + MapInfoRequestPacket(class MapInfoRequestPacket const &) = delete; + MapInfoRequestPacket() = delete; +#endif + +public: + /*0*/ virtual ~MapInfoRequestPacket(); + /*1*/ virtual enum MinecraftPacketIds getId() const; + /*2*/ virtual std::string getName() const; + /*3*/ virtual void write(class BinaryStream &) const; + /*4*/ virtual enum StreamReadResult read(class ReadOnlyBinaryStream &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_MAPINFOREQUESTPACKET +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/MapItem.hpp b/LiteLoader/Header/MC/MapItem.hpp new file mode 100644 index 0000000..1ec5656 --- /dev/null +++ b/LiteLoader/Header/MC/MapItem.hpp @@ -0,0 +1,74 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "MapItemSavedData.hpp" +#include "Item.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class MapItem : public Item { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_MAPITEM +public: + class MapItem& operator=(class MapItem const &) = delete; + MapItem(class MapItem const &) = delete; + MapItem() = delete; +#endif + +public: + /*0*/ virtual ~MapItem(); + /*5*/ virtual void __unk_vfn_5(); + /*26*/ virtual void __unk_vfn_26(); + /*27*/ virtual void __unk_vfn_27(); + /*31*/ virtual void __unk_vfn_31(); + /*32*/ virtual void __unk_vfn_32(); + /*34*/ virtual void __unk_vfn_34(); + /*37*/ virtual void __unk_vfn_37(); + /*38*/ virtual void appendFormattedHovertext(class ItemStackBase const &, class Level &, std::string &, bool) const; + /*43*/ virtual void __unk_vfn_43(); + /*46*/ virtual void __unk_vfn_46(); + /*47*/ virtual void __unk_vfn_47(); + /*49*/ virtual void __unk_vfn_49(); + /*50*/ virtual void __unk_vfn_50(); + /*65*/ virtual std::string buildDescriptionId(class ItemDescriptor const &, class CompoundTag const *) const; + /*71*/ virtual bool inventoryTick(class ItemStack &, class Level &, class Actor &, int, bool) const; + /*72*/ virtual void refreshedInContainer(class ItemStackBase const &, class Level &) const; + /*76*/ virtual void fixupOnLoad(class ItemStackBase &, class Level &) const; + /*79*/ virtual void __unk_vfn_79(); + /*80*/ virtual void __unk_vfn_80(); + /*81*/ virtual bool isSameItem(class ItemStackBase const &, class ItemStackBase const &) const; + /*85*/ virtual struct TextureUVCoordinateSet const & getIcon(class ItemStackBase const &, int, bool) const; + /*87*/ virtual class Item & setIcon(std::string const &, int); + /*90*/ virtual void __unk_vfn_90(); + /*97*/ virtual void __unk_vfn_97(); + /*100*/ virtual std::unique_ptr getUpdatePacket(class ItemStack const &, class Level &, class Actor &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_MAPITEM +#endif + MCAPI void update(class Level &, class Actor &, class MapItemSavedData &) const; + MCAPI static std::string const TAG_MAP_INIT; + MCAPI static std::string const TAG_MAP_NAME_INDEX; + MCAPI static std::string const TAG_MAP_PLAYER_DISPLAY; + MCAPI static std::string const TAG_MAP_SCALE; + MCAPI static std::string const TAG_MAP_SCALING; + MCAPI static std::string const TAG_MAP_UUID; + MCAPI static bool doesDisplayPlayerMarkers(class ItemStack const &); + MCAPI static struct ActorUniqueID getMapId(class CompoundTag const *); + MCAPI static void renderBiomePreviewMap(class Dimension &, class MapItemSavedData &); + MCAPI static void sampleMapData(class BlockSource &, int, class BlockPos const &, class BlockPos const &, int, int, std::vector *, class MapItemSavedData *, class MapItemTrackedActor *); + MCAPI static void serializeMapData(std::vector const &, std::string &); + MCAPI static void setItemInstanceInfo(class ItemInstance &, class MapItemSavedData &); + MCAPI static void setItemInstanceInfo(class ItemStack &, class MapItemSavedData &); + +//private: + MCAPI void _makeNewExplorationMap(class ItemStack &, class Level &, class Actor *, std::string &) const; + MCAPI static void _scheduleMapChunkRendering(class Dimension &, class MapItemSavedData const &, struct MapItemSavedData::ChunkBounds, class std::shared_ptr); + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/MapItemSavedData.hpp b/LiteLoader/Header/MC/MapItemSavedData.hpp new file mode 100644 index 0000000..55fb4ad --- /dev/null +++ b/LiteLoader/Header/MC/MapItemSavedData.hpp @@ -0,0 +1,53 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "MapDecoration.hpp" +#include "MapItemTrackedActor.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class MapItemSavedData { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_MAPITEMSAVEDDATA +public: + class MapItemSavedData& operator=(class MapItemSavedData const &) = delete; + MapItemSavedData(class MapItemSavedData const &) = delete; + MapItemSavedData() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_MAPITEMSAVEDDATA +#endif + MCAPI class std::shared_ptr addTrackedMapEntity(class Actor &, enum MapDecoration::Type); + MCAPI std::unique_ptr getFullDataPacket() const; + MCAPI class std::shared_ptr getTrackedMapEntity(class Actor &); + MCAPI std::unique_ptr getUpdatePacket(class ItemStack const &, class Level &, class Actor &) const; + MCAPI std::unique_ptr getUpdatePacket(class Level &, class BlockPos const &) const; + MCAPI bool isAdjacent(class MapItemSavedData const &, int) const; + MCAPI void save(class LevelStorage &); + MCAPI void serialize(class CompoundTag &) const; + MCAPI void setOrigin(class Vec3, int, class AutomaticID, bool, bool, class BlockPos const &); + MCAPI void setPixelDirty(unsigned int, unsigned int); + MCAPI void tickByBlock(class BlockPos const &, class BlockSource &); + MCAPI void tickCarriedBy(class Actor &, class CompoundTag const *); + MCAPI static std::string getSerializationKey(struct ActorUniqueID); + +//private: + MCAPI void _addDecoration(enum MapDecoration::Type, class Level &, struct MapItemTrackedActor::UniqueId const &, class Vec3 const &, std::string const &, class Color const &); + MCAPI class std::shared_ptr _addTrackedMapEntity(struct MapItemTrackedActor::UniqueId const &, class BlockSource &, enum MapDecoration::Type); + MCAPI void _deserializeData(class CompoundTag const &); + MCAPI void _removeDecoration(struct MapItemTrackedActor::UniqueId const &); + MCAPI void _removeTrackedMapEntity(struct MapItemTrackedActor::UniqueId const &); + MCAPI bool _updateTrackedEntityDecoration(class BlockSource &, class std::shared_ptr); + MCAPI void _updateTrackedEntityDecorations(class BlockSource &); + MCAPI void _updateTrackedPlayerDecorations(class BlockSource &, class Player &, class Vec3 &, std::string &, class Color &, class AutomaticID, enum MapDecoration::Type &); + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/MapItemTrackedActor.hpp b/LiteLoader/Header/MC/MapItemTrackedActor.hpp new file mode 100644 index 0000000..a1ec9ac --- /dev/null +++ b/LiteLoader/Header/MC/MapItemTrackedActor.hpp @@ -0,0 +1,27 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class MapItemTrackedActor { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_MAPITEMTRACKEDACTOR +public: + class MapItemTrackedActor& operator=(class MapItemTrackedActor const &) = delete; + MapItemTrackedActor(class MapItemTrackedActor const &) = delete; + MapItemTrackedActor() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_MAPITEMTRACKEDACTOR +#endif + MCAPI std::unique_ptr nextUpdatePacket(class MapItemSavedData const &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/MapLockingRecipe.hpp b/LiteLoader/Header/MC/MapLockingRecipe.hpp new file mode 100644 index 0000000..2164f23 --- /dev/null +++ b/LiteLoader/Header/MC/MapLockingRecipe.hpp @@ -0,0 +1,37 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Recipe.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class MapLockingRecipe : public Recipe { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_MAPLOCKINGRECIPE +public: + class MapLockingRecipe& operator=(class MapLockingRecipe const &) = delete; + MapLockingRecipe(class MapLockingRecipe const &) = delete; + MapLockingRecipe() = delete; +#endif + +public: + /*0*/ virtual ~MapLockingRecipe(); + /*1*/ virtual std::vector const & assemble(class CraftingContainer &) const; + /*2*/ virtual int getCraftingSize() const; + /*3*/ virtual class RecipeIngredient const & getIngredient(int, int) const; + /*4*/ virtual std::vector const & getResultItem() const; + /*6*/ virtual bool matches(class CraftingContainer &, class Level &) const; + /*7*/ virtual int size() const; + /*8*/ virtual bool isExperimental() const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_MAPLOCKINGRECIPE +#endif + MCAPI MapLockingRecipe(std::string, class mce::UUID const &); + MCAPI static class mce::UUID const CartographyTableID; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/MapUpgradingRecipe.hpp b/LiteLoader/Header/MC/MapUpgradingRecipe.hpp new file mode 100644 index 0000000..2416efd --- /dev/null +++ b/LiteLoader/Header/MC/MapUpgradingRecipe.hpp @@ -0,0 +1,38 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Recipe.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class MapUpgradingRecipe : public Recipe { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_MAPUPGRADINGRECIPE +public: + class MapUpgradingRecipe& operator=(class MapUpgradingRecipe const &) = delete; + MapUpgradingRecipe(class MapUpgradingRecipe const &) = delete; + MapUpgradingRecipe() = delete; +#endif + +public: + /*0*/ virtual ~MapUpgradingRecipe(); + /*1*/ virtual std::vector const & assemble(class CraftingContainer &) const; + /*2*/ virtual int getCraftingSize() const; + /*3*/ virtual class RecipeIngredient const & getIngredient(int, int) const; + /*4*/ virtual std::vector const & getResultItem() const; + /*6*/ virtual bool matches(class CraftingContainer &, class Level &) const; + /*7*/ virtual int size() const; + /*8*/ virtual bool isExperimental() const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_MAPUPGRADINGRECIPE +#endif + MCAPI MapUpgradingRecipe(std::string, class mce::UUID const &); + MCAPI static class mce::UUID const CartographyTableID; + MCAPI static class mce::UUID const CraftingTableID; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/MarkVariantDescription.hpp b/LiteLoader/Header/MC/MarkVariantDescription.hpp new file mode 100644 index 0000000..e607cdf --- /dev/null +++ b/LiteLoader/Header/MC/MarkVariantDescription.hpp @@ -0,0 +1,30 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Json.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +struct MarkVariantDescription { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_MARKVARIANTDESCRIPTION +public: + struct MarkVariantDescription& operator=(struct MarkVariantDescription const &) = delete; + MarkVariantDescription(struct MarkVariantDescription const &) = delete; + MarkVariantDescription() = delete; +#endif +public: + /*0*/ virtual char const * getJsonName() const; + /*1*/ virtual ~MarkVariantDescription(); + /*2*/ virtual void deserializeData(class Json::Value &); + /*3*/ virtual void serializeData(class Json::Value &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_MARKVARIANTDESCRIPTION +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/MarketplaceSkinValidator.hpp b/LiteLoader/Header/MC/MarketplaceSkinValidator.hpp new file mode 100644 index 0000000..6f133ae --- /dev/null +++ b/LiteLoader/Header/MC/MarketplaceSkinValidator.hpp @@ -0,0 +1,27 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class MarketplaceSkinValidator { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_MARKETPLACESKINVALIDATOR +public: + class MarketplaceSkinValidator& operator=(class MarketplaceSkinValidator const &) = delete; + MarketplaceSkinValidator(class MarketplaceSkinValidator const &) = delete; + MarketplaceSkinValidator() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_MARKETPLACESKINVALIDATOR +#endif + MCAPI static bool checkIfValid(std::string const &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/Material.hpp b/LiteLoader/Header/MC/Material.hpp new file mode 100644 index 0000000..41cccb0 --- /dev/null +++ b/LiteLoader/Header/MC/Material.hpp @@ -0,0 +1,35 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class Material { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_MATERIAL +public: + class Material& operator=(class Material const &) = delete; + Material(class Material const &) = delete; + Material() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_MATERIAL +#endif + MCAPI Material(enum MaterialType, enum Material::Settings, float); + MCAPI static void addMaterial(std::unique_ptr); + MCAPI static class Material const & getMaterial(enum MaterialType); + +//private: + MCAPI static void _setupSurfaceMaterials(); + +private: + MCAPI static std::vector> mMaterials; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/MaterialReducerContainerManagerModel.hpp b/LiteLoader/Header/MC/MaterialReducerContainerManagerModel.hpp new file mode 100644 index 0000000..1cdfd36 --- /dev/null +++ b/LiteLoader/Header/MC/MaterialReducerContainerManagerModel.hpp @@ -0,0 +1,35 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "ContainerManagerModel.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class MaterialReducerContainerManagerModel : public ContainerManagerModel { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_MATERIALREDUCERCONTAINERMANAGERMODEL +public: + class MaterialReducerContainerManagerModel& operator=(class MaterialReducerContainerManagerModel const &) = delete; + MaterialReducerContainerManagerModel(class MaterialReducerContainerManagerModel const &) = delete; + MaterialReducerContainerManagerModel() = delete; +#endif + +public: + /*0*/ virtual ~MaterialReducerContainerManagerModel(); + /*6*/ virtual std::vector getItemCopies() const; + /*7*/ virtual void setSlot(int, class ItemStack const &, bool); + /*8*/ virtual class ItemStack const & getSlot(int) const; + /*9*/ virtual void setData(int, int); + /*10*/ virtual void broadcastChanges(); + /*11*/ virtual bool isValid(float); + /*12*/ virtual class ContainerScreenContext _postInit(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_MATERIALREDUCERCONTAINERMANAGERMODEL +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/MeCommand.hpp b/LiteLoader/Header/MC/MeCommand.hpp new file mode 100644 index 0000000..3a534f1 --- /dev/null +++ b/LiteLoader/Header/MC/MeCommand.hpp @@ -0,0 +1,30 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Command.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class MeCommand : public Command { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_MECOMMAND +public: + class MeCommand& operator=(class MeCommand const &) = delete; + MeCommand(class MeCommand const &) = delete; + MeCommand() = delete; +#endif + +public: + /*0*/ virtual ~MeCommand(); + /*1*/ virtual void execute(class CommandOrigin const &, class CommandOutput &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_MECOMMAND +#endif + MCAPI static void setup(class CommandRegistry &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/MedicineItem.hpp b/LiteLoader/Header/MC/MedicineItem.hpp new file mode 100644 index 0000000..e189036 --- /dev/null +++ b/LiteLoader/Header/MC/MedicineItem.hpp @@ -0,0 +1,50 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Item.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class MedicineItem : public Item { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_MEDICINEITEM +public: + class MedicineItem& operator=(class MedicineItem const &) = delete; + MedicineItem(class MedicineItem const &) = delete; + MedicineItem() = delete; +#endif + +public: + /*0*/ virtual ~MedicineItem(); + /*5*/ virtual void __unk_vfn_5(); + /*26*/ virtual void __unk_vfn_26(); + /*27*/ virtual void __unk_vfn_27(); + /*31*/ virtual void __unk_vfn_31(); + /*32*/ virtual void __unk_vfn_32(); + /*34*/ virtual void __unk_vfn_34(); + /*37*/ virtual void __unk_vfn_37(); + /*43*/ virtual void __unk_vfn_43(); + /*44*/ virtual bool isValidAuxValue(int) const; + /*46*/ virtual void __unk_vfn_46(); + /*47*/ virtual void __unk_vfn_47(); + /*49*/ virtual void __unk_vfn_49(); + /*50*/ virtual void __unk_vfn_50(); + /*56*/ virtual class ItemStack & use(class ItemStack &, class Player &) const; + /*58*/ virtual enum ItemUseMethod useTimeDepleted(class ItemStack &, class Level *, class Player *) const; + /*65*/ virtual std::string buildDescriptionId(class ItemDescriptor const &, class CompoundTag const *) const; + /*79*/ virtual void __unk_vfn_79(); + /*80*/ virtual void __unk_vfn_80(); + /*87*/ virtual class Item & setIcon(std::string const &, int); + /*90*/ virtual void __unk_vfn_90(); + /*97*/ virtual void __unk_vfn_97(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_MEDICINEITEM +#endif + MCAPI static class MobEffect const * getMobEffect(class ItemStack const &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/MegaPineTreeCanopy.hpp b/LiteLoader/Header/MC/MegaPineTreeCanopy.hpp new file mode 100644 index 0000000..2933e01 --- /dev/null +++ b/LiteLoader/Header/MC/MegaPineTreeCanopy.hpp @@ -0,0 +1,29 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "TreeHelper.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class MegaPineTreeCanopy { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_MEGAPINETREECANOPY +public: + class MegaPineTreeCanopy& operator=(class MegaPineTreeCanopy const &) = delete; + MegaPineTreeCanopy(class MegaPineTreeCanopy const &) = delete; + MegaPineTreeCanopy() = delete; +#endif + +public: + /*0*/ virtual ~MegaPineTreeCanopy(); + /*1*/ virtual class std::optional placeCanopy(class IBlockPlacementTarget &, class BlockPos const &, class Random &, struct TreeHelper::TreeParams const &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_MEGAPINETREECANOPY +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/MegaTreeCanopy.hpp b/LiteLoader/Header/MC/MegaTreeCanopy.hpp new file mode 100644 index 0000000..f8ed516 --- /dev/null +++ b/LiteLoader/Header/MC/MegaTreeCanopy.hpp @@ -0,0 +1,29 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "TreeHelper.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class MegaTreeCanopy { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_MEGATREECANOPY +public: + class MegaTreeCanopy& operator=(class MegaTreeCanopy const &) = delete; + MegaTreeCanopy(class MegaTreeCanopy const &) = delete; + MegaTreeCanopy() = delete; +#endif + +public: + /*0*/ virtual ~MegaTreeCanopy(); + /*1*/ virtual class std::optional placeCanopy(class IBlockPlacementTarget &, class BlockPos const &, class Random &, struct TreeHelper::TreeParams const &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_MEGATREECANOPY +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/MegaTreeTrunk.hpp b/LiteLoader/Header/MC/MegaTreeTrunk.hpp new file mode 100644 index 0000000..c53ea70 --- /dev/null +++ b/LiteLoader/Header/MC/MegaTreeTrunk.hpp @@ -0,0 +1,34 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "TreeHelper.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class MegaTreeTrunk { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_MEGATREETRUNK +public: + class MegaTreeTrunk& operator=(class MegaTreeTrunk const &) = delete; + MegaTreeTrunk(class MegaTreeTrunk const &) = delete; + MegaTreeTrunk() = delete; +#endif + +public: + /*0*/ virtual ~MegaTreeTrunk(); + /*1*/ virtual class std::optional placeTrunk(class IBlockPlacementTarget &, class BlockPos const &, class Random &, struct TreeHelper::TreeParams const &, class ITreeCanopy const *) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_MEGATREETRUNK +#endif + +//private: + MCAPI bool _prepareSpawn(class IBlockPlacementTarget &, class BlockPos const &, int, struct TreeHelper::TreeParams const &) const; + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/MeleeAttackDefinition.hpp b/LiteLoader/Header/MC/MeleeAttackDefinition.hpp new file mode 100644 index 0000000..6a21096 --- /dev/null +++ b/LiteLoader/Header/MC/MeleeAttackDefinition.hpp @@ -0,0 +1,27 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class MeleeAttackDefinition { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_MELEEATTACKDEFINITION +public: + class MeleeAttackDefinition& operator=(class MeleeAttackDefinition const &) = delete; + MeleeAttackDefinition(class MeleeAttackDefinition const &) = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_MELEEATTACKDEFINITION +#endif + MCAPI MeleeAttackDefinition(); + MCAPI void initialize(class EntityContext &, class MeleeAttackGoal &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/MeleeAttackGoal.hpp b/LiteLoader/Header/MC/MeleeAttackGoal.hpp new file mode 100644 index 0000000..db3a06f --- /dev/null +++ b/LiteLoader/Header/MC/MeleeAttackGoal.hpp @@ -0,0 +1,46 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class MeleeAttackGoal { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_MELEEATTACKGOAL +public: + class MeleeAttackGoal& operator=(class MeleeAttackGoal const &) = delete; + MeleeAttackGoal(class MeleeAttackGoal const &) = delete; + MeleeAttackGoal() = delete; +#endif + +public: + /*0*/ virtual ~MeleeAttackGoal(); + /*1*/ virtual bool canUse(); + /*2*/ virtual bool canContinueToUse(); + /*3*/ virtual void __unk_vfn_3(); + /*4*/ virtual void start(); + /*5*/ virtual void stop(); + /*6*/ virtual void tick(); + /*7*/ virtual void appendDebugInfo(std::string &) const; + /*8*/ virtual void __unk_vfn_8(); + /*9*/ virtual void __unk_vfn_9(); + /*10*/ virtual void _attemptMoveToTarget(class Actor &); + /*11*/ virtual void _attemptAttackTarget(class Actor &, float, float, float); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_MELEEATTACKGOAL +#endif + MCAPI MeleeAttackGoal(class Mob &); + +//protected: + MCAPI void _attemptMoveToTargetPosition(class Actor &, float); + MCAPI float _getAttackReachSqr(class Actor const &) const; + MCAPI bool _inSunlight(class Actor const &) const; + +protected: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/MeleeWeaponEnchant.hpp b/LiteLoader/Header/MC/MeleeWeaponEnchant.hpp new file mode 100644 index 0000000..aa75ac9 --- /dev/null +++ b/LiteLoader/Header/MC/MeleeWeaponEnchant.hpp @@ -0,0 +1,34 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Enchant.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class MeleeWeaponEnchant : public Enchant { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_MELEEWEAPONENCHANT +public: + class MeleeWeaponEnchant& operator=(class MeleeWeaponEnchant const &) = delete; + MeleeWeaponEnchant(class MeleeWeaponEnchant const &) = delete; + MeleeWeaponEnchant() = delete; +#endif + +public: + /*0*/ virtual ~MeleeWeaponEnchant(); + /*2*/ virtual int getMinCost(int) const; + /*3*/ virtual int getMaxCost(int) const; + /*5*/ virtual int getMaxLevel() const; + /*7*/ virtual float getDamageBonus(int, class Actor const &) const; + /*8*/ virtual void doPostAttack(class Actor &, class Actor &, int) const; + /*10*/ virtual bool isMeleeDamageEnchant() const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_MELEEWEAPONENCHANT +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/MelonBlock.hpp b/LiteLoader/Header/MC/MelonBlock.hpp new file mode 100644 index 0000000..c2664a8 --- /dev/null +++ b/LiteLoader/Header/MC/MelonBlock.hpp @@ -0,0 +1,61 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "BlockLegacy.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class MelonBlock : public BlockLegacy { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_MELONBLOCK +public: + class MelonBlock& operator=(class MelonBlock const &) = delete; + MelonBlock(class MelonBlock const &) = delete; + MelonBlock() = delete; +#endif + +public: + /*0*/ virtual ~MelonBlock(); + /*18*/ virtual void __unk_vfn_18(); + /*22*/ virtual bool canConnect(class Block const &, unsigned char, class Block const &) const; + /*24*/ virtual void __unk_vfn_24(); + /*25*/ virtual void __unk_vfn_25(); + /*26*/ virtual void __unk_vfn_26(); + /*27*/ virtual void __unk_vfn_27(); + /*28*/ virtual void __unk_vfn_28(); + /*30*/ virtual void __unk_vfn_30(); + /*31*/ virtual void __unk_vfn_31(); + /*32*/ virtual void __unk_vfn_32(); + /*33*/ virtual void __unk_vfn_33(); + /*34*/ virtual void __unk_vfn_34(); + /*35*/ virtual void __unk_vfn_35(); + /*36*/ virtual void __unk_vfn_36(); + /*38*/ virtual void __unk_vfn_38(); + /*39*/ virtual void __unk_vfn_39(); + /*40*/ virtual void __unk_vfn_40(); + /*42*/ virtual void __unk_vfn_42(); + /*43*/ virtual void __unk_vfn_43(); + /*49*/ virtual void __unk_vfn_49(); + /*52*/ virtual void __unk_vfn_52(); + /*67*/ virtual void __unk_vfn_67(); + /*73*/ virtual void __unk_vfn_73(); + /*87*/ virtual void __unk_vfn_87(); + /*90*/ virtual int getResourceCount(class Random &, class Block const &, int, bool) const; + /*91*/ virtual class ItemInstance getResourceItem(class Random &, class Block const &, int) const; + /*95*/ virtual void __unk_vfn_95(); + /*109*/ virtual void __unk_vfn_109(); + /*116*/ virtual void __unk_vfn_116(); + /*118*/ virtual void __unk_vfn_118(); + /*119*/ virtual void __unk_vfn_119(); + /*142*/ virtual void __unk_vfn_142(); + /*158*/ virtual void __unk_vfn_158(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_MELONBLOCK +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/MelonFeature.hpp b/LiteLoader/Header/MC/MelonFeature.hpp new file mode 100644 index 0000000..fcd14ea --- /dev/null +++ b/LiteLoader/Header/MC/MelonFeature.hpp @@ -0,0 +1,29 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Feature.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class MelonFeature : public Feature { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_MELONFEATURE +public: + class MelonFeature& operator=(class MelonFeature const &) = delete; + MelonFeature(class MelonFeature const &) = delete; + MelonFeature() = delete; +#endif + +public: + /*0*/ virtual ~MelonFeature(); + /*1*/ virtual bool place(class BlockSource &, class BlockPos const &, class Random &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_MELONFEATURE +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/MemoryMappedFileAccess.hpp b/LiteLoader/Header/MC/MemoryMappedFileAccess.hpp new file mode 100644 index 0000000..d075f5a --- /dev/null +++ b/LiteLoader/Header/MC/MemoryMappedFileAccess.hpp @@ -0,0 +1,37 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Core.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class MemoryMappedFileAccess { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_MEMORYMAPPEDFILEACCESS +public: + class MemoryMappedFileAccess& operator=(class MemoryMappedFileAccess const &) = delete; + MemoryMappedFileAccess(class MemoryMappedFileAccess const &) = delete; + MemoryMappedFileAccess() = delete; +#endif + +public: + /*0*/ virtual ~MemoryMappedFileAccess(); + /*1*/ virtual void * fopen(class Core::Path const &, std::string const &); + /*2*/ virtual int fclose(void *); + /*3*/ virtual int fseek(void *, __int64, int); + /*4*/ virtual __int64 ftell(void *); + /*5*/ virtual class IFileReadAccess const * getReadInterface() const; + /*6*/ virtual class IFileWriteAccess * getWriteInterface(); + /*7*/ virtual void unload(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_MEMORYMAPPEDFILEACCESS +#endif + MCAPI MemoryMappedFileAccess(class IFileAccess &, std::unique_ptr); + MCAPI static class FileAccessTransforms const EMPTY_TRANSFORMS; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/MemorySecureStorage.hpp b/LiteLoader/Header/MC/MemorySecureStorage.hpp new file mode 100644 index 0000000..ca7222e --- /dev/null +++ b/LiteLoader/Header/MC/MemorySecureStorage.hpp @@ -0,0 +1,31 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class MemorySecureStorage { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_MEMORYSECURESTORAGE +public: + class MemorySecureStorage& operator=(class MemorySecureStorage const &) = delete; + MemorySecureStorage(class MemorySecureStorage const &) = delete; + MemorySecureStorage() = delete; +#endif + +public: + /*0*/ virtual ~MemorySecureStorage(); + /*1*/ virtual bool add(std::string const &, std::string const &); + /*2*/ virtual bool addOrUpdate(std::string const &, std::string const &); + /*3*/ virtual bool remove(std::string const &); + /*4*/ virtual bool get(std::string const &, std::string &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_MEMORYSECURESTORAGE +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/MendingEnchant.hpp b/LiteLoader/Header/MC/MendingEnchant.hpp new file mode 100644 index 0000000..1d9a9db --- /dev/null +++ b/LiteLoader/Header/MC/MendingEnchant.hpp @@ -0,0 +1,32 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Enchant.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class MendingEnchant : public Enchant { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_MENDINGENCHANT +public: + class MendingEnchant& operator=(class MendingEnchant const &) = delete; + MendingEnchant(class MendingEnchant const &) = delete; + MendingEnchant() = delete; +#endif + +public: + /*0*/ virtual ~MendingEnchant(); + /*2*/ virtual int getMinCost(int) const; + /*3*/ virtual int getMaxCost(int) const; + /*5*/ virtual int getMaxLevel() const; + /*12*/ virtual bool isTreasureOnly() const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_MENDINGENCHANT +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/MerchantRecipe.hpp b/LiteLoader/Header/MC/MerchantRecipe.hpp new file mode 100644 index 0000000..926f763 --- /dev/null +++ b/LiteLoader/Header/MC/MerchantRecipe.hpp @@ -0,0 +1,31 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class MerchantRecipe { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_MERCHANTRECIPE +public: + class MerchantRecipe& operator=(class MerchantRecipe const &) = delete; + MerchantRecipe() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_MERCHANTRECIPE +#endif + MCAPI MerchantRecipe(class MerchantRecipe const &); + MCAPI void calculateDemandPrices(int, int); + MCAPI std::unique_ptr createTag(bool) const; + MCAPI bool isSame(class MerchantRecipe const &) const; + MCAPI void load(class CompoundTag const *); + MCAPI ~MerchantRecipe(); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/MerchantRecipeList.hpp b/LiteLoader/Header/MC/MerchantRecipeList.hpp new file mode 100644 index 0000000..41d825d --- /dev/null +++ b/LiteLoader/Header/MC/MerchantRecipeList.hpp @@ -0,0 +1,35 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class MerchantRecipeList { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_MERCHANTRECIPELIST +public: + class MerchantRecipeList& operator=(class MerchantRecipeList const &) = delete; + MerchantRecipeList(class MerchantRecipeList const &) = delete; + MerchantRecipeList() = delete; +#endif + +public: + /*0*/ virtual ~MerchantRecipeList(); + /*1*/ virtual class MerchantRecipe * getRecipeFor(class ItemInstance const &, class ItemInstance const &, int); + /*2*/ virtual void addIfNewOrBetter(class MerchantRecipe *); + /*3*/ virtual class MerchantRecipe * getMatchingRecipeFor(class ItemInstance const &, class ItemInstance const &, class ItemInstance const &); + /*4*/ virtual class MerchantRecipe * getMatchingRecipeFor(class MerchantRecipe const &); + /*5*/ virtual void load(class CompoundTag const &); + /*6*/ virtual std::unique_ptr createTag(bool) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_MERCHANTRECIPELIST +#endif + MCAPI void assignNetIds(); + MCAPI bool isRequiredItem(class ItemInstance const &, class ItemInstance const &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/MessagingCommand.hpp b/LiteLoader/Header/MC/MessagingCommand.hpp new file mode 100644 index 0000000..e190be9 --- /dev/null +++ b/LiteLoader/Header/MC/MessagingCommand.hpp @@ -0,0 +1,32 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class MessagingCommand { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_MESSAGINGCOMMAND +public: + class MessagingCommand& operator=(class MessagingCommand const &) = delete; + MessagingCommand(class MessagingCommand const &) = delete; + MessagingCommand() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_MESSAGINGCOMMAND + MCVAPI ~MessagingCommand(); +#endif + +//protected: + MCAPI bool checkChatPermissions(class CommandOrigin const &, class CommandOutput &) const; + +protected: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/MetalBlock.hpp b/LiteLoader/Header/MC/MetalBlock.hpp new file mode 100644 index 0000000..e2a13c2 --- /dev/null +++ b/LiteLoader/Header/MC/MetalBlock.hpp @@ -0,0 +1,58 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "BlockLegacy.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class MetalBlock : public BlockLegacy { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_METALBLOCK +public: + class MetalBlock& operator=(class MetalBlock const &) = delete; + MetalBlock(class MetalBlock const &) = delete; + MetalBlock() = delete; +#endif + +public: + /*0*/ virtual ~MetalBlock(); + /*18*/ virtual void __unk_vfn_18(); + /*24*/ virtual void __unk_vfn_24(); + /*25*/ virtual void __unk_vfn_25(); + /*26*/ virtual void __unk_vfn_26(); + /*27*/ virtual void __unk_vfn_27(); + /*28*/ virtual void __unk_vfn_28(); + /*30*/ virtual void __unk_vfn_30(); + /*31*/ virtual void __unk_vfn_31(); + /*32*/ virtual void __unk_vfn_32(); + /*33*/ virtual void __unk_vfn_33(); + /*34*/ virtual void __unk_vfn_34(); + /*35*/ virtual void __unk_vfn_35(); + /*36*/ virtual void __unk_vfn_36(); + /*38*/ virtual void __unk_vfn_38(); + /*39*/ virtual void __unk_vfn_39(); + /*40*/ virtual void __unk_vfn_40(); + /*42*/ virtual void __unk_vfn_42(); + /*43*/ virtual void __unk_vfn_43(); + /*49*/ virtual void __unk_vfn_49(); + /*52*/ virtual void __unk_vfn_52(); + /*67*/ virtual void __unk_vfn_67(); + /*73*/ virtual void __unk_vfn_73(); + /*87*/ virtual void __unk_vfn_87(); + /*95*/ virtual void __unk_vfn_95(); + /*109*/ virtual void __unk_vfn_109(); + /*116*/ virtual void __unk_vfn_116(); + /*118*/ virtual void __unk_vfn_118(); + /*119*/ virtual void __unk_vfn_119(); + /*142*/ virtual void __unk_vfn_142(); + /*158*/ virtual void __unk_vfn_158(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_METALBLOCK +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/Minecart.hpp b/LiteLoader/Header/MC/Minecart.hpp new file mode 100644 index 0000000..178a096 --- /dev/null +++ b/LiteLoader/Header/MC/Minecart.hpp @@ -0,0 +1,79 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Actor.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class Minecart : public Actor { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_MINECART +public: + class Minecart& operator=(class Minecart const &) = delete; + Minecart(class Minecart const &) = delete; + Minecart() = delete; +#endif + +public: + /*1*/ virtual void reloadHardcoded(enum Actor::InitializationMethod, class VariantParameterList const &); + /*2*/ virtual void reloadHardcodedClient(enum Actor::InitializationMethod, class VariantParameterList const &); + /*7*/ virtual ~Minecart(); + /*30*/ virtual void __unk_vfn_30(); + /*36*/ virtual void lerpTo(class Vec3 const &, class Vec2 const &, int); + /*39*/ virtual void normalTick(); + /*54*/ virtual void __unk_vfn_54(); + /*61*/ virtual void __unk_vfn_61(); + /*73*/ virtual float getShadowHeightOffs(); + /*74*/ virtual float getShadowRadius() const; + /*76*/ virtual void __unk_vfn_76(); + /*81*/ virtual void __unk_vfn_81(); + /*87*/ virtual bool isPickable(); + /*88*/ virtual void __unk_vfn_88(); + /*90*/ virtual void __unk_vfn_90(); + /*98*/ virtual void __unk_vfn_98(); + /*100*/ virtual void __unk_vfn_100(); + /*121*/ virtual void __unk_vfn_121(); + /*124*/ virtual bool isInvulnerableTo(class ActorDamageSource const &) const; + /*130*/ virtual void onBounceStarted(class BlockPos const &, class Block const &); + /*169*/ virtual void __unk_vfn_169(); + /*171*/ virtual struct ActorUniqueID getControllingPlayer() const; + /*182*/ virtual void __unk_vfn_182(); + /*206*/ virtual void __unk_vfn_206(); + /*207*/ virtual void __unk_vfn_207(); + /*228*/ virtual void __unk_vfn_228(); + /*231*/ virtual void __unk_vfn_231(); + /*232*/ virtual void kill(); + /*238*/ virtual void __unk_vfn_238(); + /*240*/ virtual bool _hurt(class ActorDamageSource const &, int, bool, bool); + /*242*/ virtual void readAdditionalSaveData(class CompoundTag const &, class DataLoadHelper &); + /*243*/ virtual void addAdditionalSaveData(class CompoundTag &); + /*246*/ virtual void __unk_vfn_246(); + /*256*/ virtual void _onSizeUpdated(); + /*257*/ virtual void __unk_vfn_257(); + /*258*/ virtual void destroy(class ActorDamageSource const &, bool); + /*259*/ virtual enum MinecartType getType() = 0; + /*260*/ virtual class Block const * getDefaultDisplayBlock() const; + /*261*/ virtual void __unk_vfn_261(); + /*262*/ virtual int getDefaultDisplayOffset() const; + /*263*/ virtual void applyNaturalSlowdown(class BlockSource &); + /*264*/ virtual void lazyInitDisplayBlock(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_MINECART + MCVAPI bool canMakeStepSound() const; + MCVAPI int getDefaultDisplayData() const; +#endif + MCAPI Minecart(class ActorDefinitionGroup *, struct ActorDefinitionIdentifier const &); + MCAPI void setCustomDisplay(bool); + MCAPI void setDisplayBlock(class Block const &); + +//protected: + MCAPI void registerLoopingSounds(); + +protected: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/MinecartBlockCommandOrigin.hpp b/LiteLoader/Header/MC/MinecartBlockCommandOrigin.hpp new file mode 100644 index 0000000..ce4a6ed --- /dev/null +++ b/LiteLoader/Header/MC/MinecartBlockCommandOrigin.hpp @@ -0,0 +1,36 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Json.hpp" +#include "BlockCommandOrigin.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class MinecartBlockCommandOrigin : public BlockCommandOrigin { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_MINECARTBLOCKCOMMANDORIGIN +public: + class MinecartBlockCommandOrigin& operator=(class MinecartBlockCommandOrigin const &) = delete; + MinecartBlockCommandOrigin(class MinecartBlockCommandOrigin const &) = delete; + MinecartBlockCommandOrigin() = delete; +#endif + +public: + /*0*/ virtual ~MinecartBlockCommandOrigin(); + /*3*/ virtual class BlockPos getBlockPosition() const; + /*4*/ virtual class Vec3 getWorldPosition() const; + /*9*/ virtual std::unique_ptr clone() const; + /*16*/ virtual bool canUseCommandsWithoutCheatsEnabled() const; + /*21*/ virtual enum CommandOriginType getOriginType() const; + /*26*/ virtual class CommandBlockActor * getBlockEntity() const; + /*27*/ virtual class BaseCommandBlock * getBaseCommandBlock() const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_MINECARTBLOCKCOMMANDORIGIN +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/MinecartChest.hpp b/LiteLoader/Header/MC/MinecartChest.hpp new file mode 100644 index 0000000..cd35549 --- /dev/null +++ b/LiteLoader/Header/MC/MinecartChest.hpp @@ -0,0 +1,53 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Actor.hpp" +#include "Minecart.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class MinecartChest : public Minecart { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_MINECARTCHEST +public: + class MinecartChest& operator=(class MinecartChest const &) = delete; + MinecartChest(class MinecartChest const &) = delete; + MinecartChest() = delete; +#endif + +public: + /*7*/ virtual ~MinecartChest(); + /*30*/ virtual void __unk_vfn_30(); + /*54*/ virtual void __unk_vfn_54(); + /*61*/ virtual void __unk_vfn_61(); + /*76*/ virtual void __unk_vfn_76(); + /*81*/ virtual void __unk_vfn_81(); + /*88*/ virtual void __unk_vfn_88(); + /*90*/ virtual void __unk_vfn_90(); + /*98*/ virtual void __unk_vfn_98(); + /*100*/ virtual void __unk_vfn_100(); + /*121*/ virtual void __unk_vfn_121(); + /*169*/ virtual void __unk_vfn_169(); + /*182*/ virtual void __unk_vfn_182(); + /*206*/ virtual void __unk_vfn_206(); + /*207*/ virtual void __unk_vfn_207(); + /*228*/ virtual void __unk_vfn_228(); + /*231*/ virtual void __unk_vfn_231(); + /*238*/ virtual void __unk_vfn_238(); + /*246*/ virtual void __unk_vfn_246(); + /*257*/ virtual void __unk_vfn_257(); + /*258*/ virtual void destroy(class ActorDamageSource const &, bool); + /*259*/ virtual enum MinecartType getType(); + /*260*/ virtual class Block const * getDefaultDisplayBlock() const; + /*261*/ virtual void __unk_vfn_261(); + /*263*/ virtual void applyNaturalSlowdown(class BlockSource &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_MINECARTCHEST +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/MinecartCommandBlock.hpp b/LiteLoader/Header/MC/MinecartCommandBlock.hpp new file mode 100644 index 0000000..80beaa1 --- /dev/null +++ b/LiteLoader/Header/MC/MinecartCommandBlock.hpp @@ -0,0 +1,57 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Actor.hpp" +#include "Minecart.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class MinecartCommandBlock : public Minecart { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_MINECARTCOMMANDBLOCK +public: + class MinecartCommandBlock& operator=(class MinecartCommandBlock const &) = delete; + MinecartCommandBlock(class MinecartCommandBlock const &) = delete; + MinecartCommandBlock() = delete; +#endif + +public: + /*3*/ virtual void initializeComponents(enum Actor::InitializationMethod, class VariantParameterList const &); + /*7*/ virtual ~MinecartCommandBlock(); + /*30*/ virtual void __unk_vfn_30(); + /*53*/ virtual bool canShowNameTag() const; + /*54*/ virtual void __unk_vfn_54(); + /*61*/ virtual void __unk_vfn_61(); + /*76*/ virtual void __unk_vfn_76(); + /*81*/ virtual void __unk_vfn_81(); + /*88*/ virtual void __unk_vfn_88(); + /*90*/ virtual void __unk_vfn_90(); + /*98*/ virtual void __unk_vfn_98(); + /*100*/ virtual void __unk_vfn_100(); + /*121*/ virtual void __unk_vfn_121(); + /*169*/ virtual void __unk_vfn_169(); + /*182*/ virtual void __unk_vfn_182(); + /*206*/ virtual void __unk_vfn_206(); + /*207*/ virtual void __unk_vfn_207(); + /*228*/ virtual void __unk_vfn_228(); + /*231*/ virtual void __unk_vfn_231(); + /*238*/ virtual void __unk_vfn_238(); + /*242*/ virtual void readAdditionalSaveData(class CompoundTag const &, class DataLoadHelper &); + /*243*/ virtual void addAdditionalSaveData(class CompoundTag &); + /*246*/ virtual void __unk_vfn_246(); + /*257*/ virtual void __unk_vfn_257(); + /*259*/ virtual enum MinecartType getType(); + /*260*/ virtual class Block const * getDefaultDisplayBlock() const; + /*261*/ virtual void __unk_vfn_261(); + /*263*/ virtual void applyNaturalSlowdown(class BlockSource &); + /*264*/ virtual void lazyInitDisplayBlock(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_MINECARTCOMMANDBLOCK +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/MinecartHopper.hpp b/LiteLoader/Header/MC/MinecartHopper.hpp new file mode 100644 index 0000000..2e0d669 --- /dev/null +++ b/LiteLoader/Header/MC/MinecartHopper.hpp @@ -0,0 +1,54 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Actor.hpp" +#include "Minecart.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class MinecartHopper : public Minecart { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_MINECARTHOPPER +public: + class MinecartHopper& operator=(class MinecartHopper const &) = delete; + MinecartHopper(class MinecartHopper const &) = delete; + MinecartHopper() = delete; +#endif + +public: + /*7*/ virtual ~MinecartHopper(); + /*30*/ virtual void __unk_vfn_30(); + /*54*/ virtual void __unk_vfn_54(); + /*61*/ virtual void __unk_vfn_61(); + /*76*/ virtual void __unk_vfn_76(); + /*81*/ virtual void __unk_vfn_81(); + /*88*/ virtual void __unk_vfn_88(); + /*90*/ virtual void __unk_vfn_90(); + /*98*/ virtual void __unk_vfn_98(); + /*100*/ virtual void __unk_vfn_100(); + /*121*/ virtual void __unk_vfn_121(); + /*169*/ virtual void __unk_vfn_169(); + /*182*/ virtual void __unk_vfn_182(); + /*206*/ virtual void __unk_vfn_206(); + /*207*/ virtual void __unk_vfn_207(); + /*228*/ virtual void __unk_vfn_228(); + /*231*/ virtual void __unk_vfn_231(); + /*238*/ virtual void __unk_vfn_238(); + /*246*/ virtual void __unk_vfn_246(); + /*257*/ virtual void __unk_vfn_257(); + /*258*/ virtual void destroy(class ActorDamageSource const &, bool); + /*259*/ virtual enum MinecartType getType(); + /*260*/ virtual class Block const * getDefaultDisplayBlock() const; + /*261*/ virtual void __unk_vfn_261(); + /*262*/ virtual int getDefaultDisplayOffset() const; + /*263*/ virtual void applyNaturalSlowdown(class BlockSource &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_MINECARTHOPPER +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/MinecartItem.hpp b/LiteLoader/Header/MC/MinecartItem.hpp new file mode 100644 index 0000000..21d25d1 --- /dev/null +++ b/LiteLoader/Header/MC/MinecartItem.hpp @@ -0,0 +1,47 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Item.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class MinecartItem : public Item { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_MINECARTITEM +public: + class MinecartItem& operator=(class MinecartItem const &) = delete; + MinecartItem(class MinecartItem const &) = delete; + MinecartItem() = delete; +#endif + +public: + /*0*/ virtual ~MinecartItem(); + /*5*/ virtual void __unk_vfn_5(); + /*26*/ virtual void __unk_vfn_26(); + /*27*/ virtual void __unk_vfn_27(); + /*31*/ virtual void __unk_vfn_31(); + /*32*/ virtual void __unk_vfn_32(); + /*34*/ virtual void __unk_vfn_34(); + /*35*/ virtual bool isDestructive(int) const; + /*37*/ virtual void __unk_vfn_37(); + /*43*/ virtual void __unk_vfn_43(); + /*46*/ virtual void __unk_vfn_46(); + /*47*/ virtual void __unk_vfn_47(); + /*49*/ virtual void __unk_vfn_49(); + /*50*/ virtual void __unk_vfn_50(); + /*57*/ virtual bool dispense(class BlockSource &, class Container &, int, class Vec3 const &, unsigned char) const; + /*79*/ virtual void __unk_vfn_79(); + /*80*/ virtual void __unk_vfn_80(); + /*90*/ virtual void __unk_vfn_90(); + /*97*/ virtual void __unk_vfn_97(); + /*99*/ virtual bool _useOn(class ItemStack &, class Actor &, class BlockPos, unsigned char, float, float, float) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_MINECARTITEM +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/MinecartRideable.hpp b/LiteLoader/Header/MC/MinecartRideable.hpp new file mode 100644 index 0000000..fbbbbaf --- /dev/null +++ b/LiteLoader/Header/MC/MinecartRideable.hpp @@ -0,0 +1,50 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Actor.hpp" +#include "Minecart.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class MinecartRideable : public Minecart { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_MINECARTRIDEABLE +public: + class MinecartRideable& operator=(class MinecartRideable const &) = delete; + MinecartRideable(class MinecartRideable const &) = delete; + MinecartRideable() = delete; +#endif + +public: + /*7*/ virtual ~MinecartRideable(); + /*30*/ virtual void __unk_vfn_30(); + /*54*/ virtual void __unk_vfn_54(); + /*61*/ virtual void __unk_vfn_61(); + /*76*/ virtual void __unk_vfn_76(); + /*81*/ virtual void __unk_vfn_81(); + /*88*/ virtual void __unk_vfn_88(); + /*90*/ virtual void __unk_vfn_90(); + /*98*/ virtual void __unk_vfn_98(); + /*100*/ virtual void __unk_vfn_100(); + /*121*/ virtual void __unk_vfn_121(); + /*169*/ virtual void __unk_vfn_169(); + /*182*/ virtual void __unk_vfn_182(); + /*206*/ virtual void __unk_vfn_206(); + /*207*/ virtual void __unk_vfn_207(); + /*228*/ virtual void __unk_vfn_228(); + /*231*/ virtual void __unk_vfn_231(); + /*238*/ virtual void __unk_vfn_238(); + /*246*/ virtual void __unk_vfn_246(); + /*257*/ virtual void __unk_vfn_257(); + /*259*/ virtual enum MinecartType getType(); + /*261*/ virtual void __unk_vfn_261(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_MINECARTRIDEABLE +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/MinecartTNT.hpp b/LiteLoader/Header/MC/MinecartTNT.hpp new file mode 100644 index 0000000..da2b5c6 --- /dev/null +++ b/LiteLoader/Header/MC/MinecartTNT.hpp @@ -0,0 +1,57 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Actor.hpp" +#include "Minecart.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class MinecartTNT : public Minecart { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_MINECARTTNT +public: + class MinecartTNT& operator=(class MinecartTNT const &) = delete; + MinecartTNT(class MinecartTNT const &) = delete; + MinecartTNT() = delete; +#endif + +public: + /*7*/ virtual ~MinecartTNT(); + /*30*/ virtual void __unk_vfn_30(); + /*39*/ virtual void normalTick(); + /*54*/ virtual void __unk_vfn_54(); + /*61*/ virtual void __unk_vfn_61(); + /*76*/ virtual void __unk_vfn_76(); + /*81*/ virtual void __unk_vfn_81(); + /*88*/ virtual void __unk_vfn_88(); + /*90*/ virtual void __unk_vfn_90(); + /*98*/ virtual void __unk_vfn_98(); + /*100*/ virtual void __unk_vfn_100(); + /*121*/ virtual void __unk_vfn_121(); + /*132*/ virtual void handleEntityEvent(enum ActorEvent, int); + /*169*/ virtual void __unk_vfn_169(); + /*173*/ virtual void causeFallDamage(float); + /*182*/ virtual void __unk_vfn_182(); + /*206*/ virtual void __unk_vfn_206(); + /*207*/ virtual void __unk_vfn_207(); + /*228*/ virtual void __unk_vfn_228(); + /*231*/ virtual void __unk_vfn_231(); + /*238*/ virtual void __unk_vfn_238(); + /*240*/ virtual bool _hurt(class ActorDamageSource const &, int, bool, bool); + /*246*/ virtual void __unk_vfn_246(); + /*257*/ virtual void __unk_vfn_257(); + /*258*/ virtual void destroy(class ActorDamageSource const &, bool); + /*259*/ virtual enum MinecartType getType(); + /*260*/ virtual class Block const * getDefaultDisplayBlock() const; + /*261*/ virtual void __unk_vfn_261(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_MINECARTTNT +#endif + MCAPI void primeFuse(enum ActorDamageCause); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/Minecraft.hpp b/LiteLoader/Header/MC/Minecraft.hpp new file mode 100644 index 0000000..15953a6 --- /dev/null +++ b/LiteLoader/Header/MC/Minecraft.hpp @@ -0,0 +1,37 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Core.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class Minecraft { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_MINECRAFT +public: + class Minecraft& operator=(class Minecraft const &) = delete; + Minecraft(class Minecraft const &) = delete; + Minecraft() = delete; +#endif + +public: + /*0*/ virtual class OwnerPtrT & getEntityRegistry(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_MINECRAFT +#endif + MCAPI Minecraft(class IMinecraftApp &, class GameCallbacks &, class Whitelist &, class PermissionsFile *, class Core::FilePathManager *, class std::chrono::duration<__int64, struct std::ratio<1, 1>>, class IMinecraftEventing &, class NetworkHandler &, class PacketSender &, unsigned char, class Timer &, class Timer &, class ContentTierManager const &, class ServerMetrics *); + MCAPI void activateWhitelist(); + MCAPI class Level * getLevel() const; + MCAPI class ServerNetworkHandler * getServerNetworkHandler(); + MCAPI bool hostMultiplayer(std::string const &, std::unique_ptr, class Player *, class mce::UUID const &, std::unique_ptr, int, bool, bool, std::vector const &, std::string, struct ConnectionDefinition const &, class std::unordered_map, struct std::equal_to, class std::allocator>> const &, class Scheduler &, class TextFilteringProcessor *); + MCAPI void init(); + MCAPI void initAsDedicatedServer(); + MCAPI void initCommands(); + MCAPI bool update(); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/MinecraftCommands.hpp b/LiteLoader/Header/MC/MinecraftCommands.hpp new file mode 100644 index 0000000..056e182 --- /dev/null +++ b/LiteLoader/Header/MC/MinecraftCommands.hpp @@ -0,0 +1,32 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class MinecraftCommands { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_MINECRAFTCOMMANDS +public: + class MinecraftCommands& operator=(class MinecraftCommands const &) = delete; + MinecraftCommands(class MinecraftCommands const &) = delete; + MinecraftCommands() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_MINECRAFTCOMMANDS +#endif + MCAPI struct MCRESULT executeCommand(class std::shared_ptr, bool) const; + MCAPI void handleOutput(class CommandOrigin const &, class CommandOutput const &) const; + MCAPI void initCoreEnums(class IWorldRegistriesProvider const &, bool, class BaseGameVersion const &); + MCAPI struct MCRESULT requestCommandExecution(std::unique_ptr, std::string const &, int, bool) const; + MCAPI void runCommand(class HashedString const &, class CommandOrigin &, enum CurrentCmdVersion); + MCAPI static enum CommandOutputType getOutputType(class CommandOrigin const &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/MinecraftEventing.hpp b/LiteLoader/Header/MC/MinecraftEventing.hpp new file mode 100644 index 0000000..9e26317 --- /dev/null +++ b/LiteLoader/Header/MC/MinecraftEventing.hpp @@ -0,0 +1,278 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Core.hpp" +#include "IMinecraftEventing.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class MinecraftEventing { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_MINECRAFTEVENTING +public: + class MinecraftEventing& operator=(class MinecraftEventing const &) = delete; + MinecraftEventing(class MinecraftEventing const &) = delete; + MinecraftEventing() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_MINECRAFTEVENTING + MCVAPI void addListener(std::unique_ptr); + MCVAPI void fileEventCloudWorldPullFailed(std::string const &, std::string const &, bool); + MCVAPI void fireChatUsedEvent(unsigned int, bool); + MCVAPI void fireClubsEngagementEvent(enum IMinecraftEventing::ClubsEngagementAction, enum IMinecraftEventing::ClubsEngagementTargetType, char const *, struct Realms::RealmId, std::string); + MCVAPI void fireClubsOpenFeedScreenEvent(enum IMinecraftEventing::ClubsFeedScreenSource, struct Realms::RealmId, std::string); + MCVAPI void fireCodeCommandButtonPressed(); + MCVAPI void fireCourseButtonPressed(std::string const &, std::string const &); + MCVAPI void fireCurrentInputUpdated(class IClientInstance const &); + MCVAPI void fireDayOneExperienceStateChanged(enum IMinecraftEventing::DayOneExperienceState, class std::optional, class std::optional); + MCVAPI void fireEduServiceRequestFailed(std::string const &, std::string const &, std::string const &, class buffer_span, class gsl::basic_string_span>>) const; + MCVAPI void fireEventAccountTransferStateChanged(std::string const &, enum TransferState, std::string const &); + MCVAPI void fireEventAchievementReceived(std::string const &, std::string const &, std::string const &); + MCVAPI void fireEventApiInit(float, unsigned __int64); + MCVAPI void fireEventAppConfigurationChanged(); + MCVAPI void fireEventAppPaused(); + MCVAPI void fireEventAppResumed(); + MCVAPI void fireEventAppSuspended(bool); + MCVAPI void fireEventAppUnpaused(); + MCVAPI void fireEventArmorStandItemEquipped(class ArmorStand const &, class ItemDescriptor const &); + MCVAPI void fireEventArmorStandPosed(class ArmorStand const &); + MCVAPI void fireEventAssertFailed(std::string &); + MCVAPI void fireEventBlockPlacedByCommand(class Block const &, int); + MCVAPI void fireEventBoardTextUpdated(class ChalkboardBlockActor &); + MCVAPI void fireEventButtonPressed(class gsl::basic_string_span, class buffer_span, class gsl::basic_string_span>>) const; + MCVAPI void fireEventCameraUsed(bool); + MCVAPI void fireEventChatSettingsUpdated(class Player const *, std::vector const &) const; + MCVAPI void fireEventChunkChanged(class LevelChunk &); + MCVAPI void fireEventChunkLoaded(class LevelChunk &); + MCVAPI void fireEventChunkUnloaded(class LevelChunk &); + MCVAPI void fireEventClientIdCreated(int); + MCVAPI void fireEventClientLeftGameDueToUnrecoverableError(std::string const &, bool); + MCVAPI void fireEventCodeBuilderClosed() const; + MCVAPI void fireEventCompoundCreatorCreated(int, int); + MCVAPI void fireEventConnectionFailed(enum IMinecraftEventing::ConnectionFailureReason); + MCVAPI void fireEventContentLogsInWorldSession(std::string const &, unsigned int, unsigned int); + MCVAPI void fireEventContentShared(std::string const &, std::string const &, enum IMinecraftEventing::ShareMode const &); + MCVAPI void fireEventControlRemappedByPlayer(std::string const &, enum RawInputType, int) const; + MCVAPI void fireEventCopyWorldEducationEnabled(); + MCVAPI void fireEventCrashSystemFailedToInit(); + MCVAPI void fireEventDefaultGameTypeChanged(enum GameType, enum GameType); + MCVAPI void fireEventDevConsoleCommand(std::string const &); + MCVAPI void fireEventDevConsoleOpen(); + MCVAPI void fireEventDeviceAccountFailure(enum IMinecraftEventing::SignInStage, enum IMinecraftEventing::DeviceAccountFailurePhase, unsigned int, std::string const &); + MCVAPI void fireEventDeviceAccountSuccess(bool, std::string const &); + MCVAPI void fireEventDifficultySet(enum Difficulty, enum Difficulty); + MCVAPI void fireEventDwellerDied(class Actor &, class ActorDamageSource const &, bool); + MCVAPI void fireEventDwellerRemoved(class Actor &, bool); + MCVAPI void fireEventEduContentVerificationFailed() const; + MCVAPI void fireEventEduOptionSet(class Option const &) const; + MCVAPI void fireEventEduResources() const; + MCVAPI void fireEventEduServiceStatus(std::string const &, std::string const &, int, class buffer_span, class gsl::basic_string_span>>) const; + MCVAPI void fireEventEduiOSPurchaseTransaction(enum TransactionStatus const &) const; + MCVAPI void fireEventElementConstructorUsed(int, int, enum IMinecraftEventing::ElementConstructorUseType); + MCVAPI void fireEventEntitlementListInfo(std::vector &, bool); + MCVAPI void fireEventEntitySpawned(class Player *, int, unsigned int); + MCVAPI void fireEventExperimentalGameplay(bool, bool); + MCVAPI void fireEventFixedMarketplaceWorldUsingV2VillagersToUseV1(); + MCVAPI void fireEventFloatPropertyList(std::string const &, std::vector> const &); + MCVAPI void fireEventGameRulesUpdated(int, int, std::string const &); + MCVAPI void fireEventGameRulesUpdated(bool, bool, std::string const &); + MCVAPI void fireEventGameRulesUpdated(float, float, std::string const &); + MCVAPI void fireEventGameSessionStart(class Player *, class IClientInstance &, class Level &, std::string const &, int, std::string const &, std::string const &, bool); + MCVAPI void fireEventGameplayTipShown(int, bool, std::string const &); + MCVAPI void fireEventHardwareInfo(); + MCVAPI void fireEventHowToPlayTopicChanged(std::string const &, enum InputMode); + MCVAPI void fireEventHummingbirdScreenLoadFailed(unsigned int const &, std::string const &, std::string const &); + MCVAPI void fireEventIAPPurchaseAttempt(std::string const &, std::string const &, class Offer &, enum PurchasePath); + MCVAPI void fireEventIAPPurchaseFailure(std::string const &, unsigned short, std::string const &, struct PurchaseInfo const &); + MCVAPI void fireEventIAPPurchaseResolved(std::string const &, std::string const &, class Offer &, enum IMinecraftEventing::PurchaseResult, enum PurchasePath); + MCVAPI void fireEventIAPRedeemAttempt(std::string const &, std::string const &, std::string const &, enum PurchasePath); + MCVAPI void fireEventIAPRedeemResolved(std::string const &, std::string const &, std::string const &, enum IMinecraftEventing::PurchaseResult, enum PurchasePath); + MCVAPI void fireEventIncognitoFailure(std::string const &, std::string const &); + MCVAPI void fireEventJoinByCode(std::string const &); + MCVAPI void fireEventJoinCanceled(enum LoadingState); + MCVAPI void fireEventLabTableCreated(int, int, int); + MCVAPI void fireEventLevelDatLoadFailed(std::string const &, std::string const &, bool); + MCVAPI void fireEventLevelDataOverride(class gsl::basic_string_span) const; + MCVAPI void fireEventLevelDestruct(); + MCVAPI void fireEventLicenseCheck(bool, struct ExtraLicenseData &); + MCVAPI void fireEventMultiplayerConnectionStateChanged(bool, std::string const &, std::string const &, unsigned int, unsigned int, unsigned int, std::string const &); + MCVAPI void fireEventMultiplayerSessionUpdate(class gsl::not_null, class Player const *); + MCVAPI void fireEventNewContentCheckCompleted(std::string const &, bool); + MCVAPI void fireEventNpcPropertiesUpdated(class Actor &, bool); + MCVAPI void fireEventOfferRated(std::string const &, int, int, int, double); + MCVAPI void fireEventOnSuccessfulClientLogin(class Level const *); + MCVAPI void fireEventOptionsUpdated(class Options &, enum InputMode, bool); + MCVAPI void fireEventPackHashChanged(class PackManifest const &); + MCVAPI void fireEventPackPlayed(class PackInstance const &, unsigned int); + MCVAPI void fireEventPackUpgradeAttempt(class PackManifest const &, class PackReport const &); + MCVAPI void fireEventPacketViolationDetected(struct ExtendedStreamReadResult const &, enum PacketViolationResponse, enum MinecraftPacketIds, class NetworkIdentifier const &); + MCVAPI void fireEventPerformanceContext(class PerfContextTrackerReport const &); + MCVAPI void fireEventPerformanceMetrics(struct ProfilerLiteTelemetry const &); + MCVAPI void fireEventPersonaAvatarUpdated(std::string const &, std::vector const &, std::vector const &, std::vector const &, bool, bool, std::string const &, std::string const &, std::string const &, bool); + MCVAPI void fireEventPersonaAvatarsListed(std::vector const &); + MCVAPI void fireEventPersonaCategoryInformation(std::string const &); + MCVAPI void fireEventPersonaCreationFailed(std::string const &, std::string const &, bool, bool, std::string const &, std::string const &); + MCVAPI void fireEventPersonaGeneralError(std::string const &); + MCVAPI void fireEventPersonaInitalizationEvent(unsigned int, std::string const &, std::string const &); + MCVAPI void fireEventPersonaItemPreviewed(std::string const &, std::string const &, unsigned int, unsigned int, enum IMinecraftEventing::PromotionType, bool, enum IMinecraftEventing::StoreType); + MCVAPI void fireEventPersonaLoadingPieces(unsigned int, double); + MCVAPI void fireEventPersonaSkinChanged(std::string const &, std::string const &, bool); + MCVAPI void fireEventPersonaStillLoading(bool, bool, bool, bool, bool, bool, bool, bool); + MCVAPI void fireEventPersonaXForgeResponses(std::vector const &, int); + MCVAPI void fireEventPlayerBanned(std::string const &); + MCVAPI void fireEventPlayerBounced(class Player *, class Block const &, int); + MCVAPI void fireEventPlayerDamaged(class Player *, enum ActorDamageCause); + MCVAPI void fireEventPlayerKicked(std::string const &, std::string const &); + MCVAPI void fireEventPlayerMessageChat(std::string const &, std::string const &); + MCVAPI void fireEventPlayerMessageMe(std::string const &, std::string const &); + MCVAPI void fireEventPlayerMessageSay(std::string const &, std::string const &); + MCVAPI void fireEventPlayerMessageTell(std::string const &, std::string const &, std::string const &); + MCVAPI void fireEventPlayerMessageTitle(std::string const &, std::string const &, std::string const &); + MCVAPI void fireEventPlayerTravelled(class Player *, float); + MCVAPI void fireEventPopupClosed(std::string const &) const; + MCVAPI void fireEventPopupFiredEdu(std::string const &, std::string const &, std::string const &, std::string const &, enum ActiveDirectoryAction); + MCVAPI void fireEventPortfolioExported(int, int); + MCVAPI void fireEventPromotionNotificationClicked(std::string const &); + MCVAPI void fireEventPurchaseAttempt(std::string const &, std::string const &, std::string const &, enum IMinecraftEventing::StoreType, enum PurchasePath); + MCVAPI void fireEventPurchaseFailureDetails(int, std::string const &, std::string const &, std::string const &); + MCVAPI void fireEventPurchaseGameAttempt(std::string const &, std::string const &, std::string const &); + MCVAPI void fireEventPurchaseResolved(std::string const &, std::string const &, std::string const &, enum IMinecraftEventing::StoreType, enum IMinecraftEventing::PurchaseResult, enum PurchasePath); + MCVAPI void fireEventPushNotificationOpened(std::string const &, std::string const &); + MCVAPI void fireEventPushNotificationPermission(bool, std::string const &); + MCVAPI void fireEventPushNotificationReceived(class PushNotificationMessage const &); + MCVAPI void fireEventRealmMemberlistCleared(struct Realms::RealmId const &, int const &); + MCVAPI void fireEventRealmShared(std::string const &, enum IMinecraftEventing::ShareMode const &, struct Realms::RealmId const &); + MCVAPI void fireEventRealmUrlGenerated(std::string const &, struct Realms::RealmId const &); + MCVAPI void fireEventReducerBlockEntered(class ItemDescriptor const &); + MCVAPI void fireEventRespawn(class Player &, int); + MCVAPI void fireEventRespondedToAcceptContent(struct ResourcePacksInfoData const &, bool); + MCVAPI void fireEventScreenChanged(unsigned int const &, std::string const &, class std::unordered_map, struct std::equal_to, class std::allocator>> const &); + MCVAPI void fireEventScriptLoaded(std::string const &, unsigned __int64); + MCVAPI void fireEventScriptRan(std::string const &, unsigned __int64, bool, bool); + MCVAPI void fireEventSearchCatalogRequest(class SearchRequestTelemetry const &); + MCVAPI void fireEventSearchItemSelected(int, int, std::string const &, int, int); + MCVAPI void fireEventServerRespawnSearchTime(class Player &, class PlayerRespawnTelemetryData const &); + MCVAPI void fireEventServerShutdownDueToError(std::string const &); + MCVAPI void fireEventSessionCrashed(std::string const &, std::string const &, std::string const &); + MCVAPI void fireEventSetMultiplayerCorrelationId(class Player *, std::string const &); + MCVAPI void fireEventSetValidForAchievements(class Player *, bool); + MCVAPI void fireEventSignInEdu(std::string const &, enum ADRole, enum IMinecraftEventing::EduSignInStage, std::string const &, std::vector> const &); + MCVAPI void fireEventSignInToIdentity(enum IMinecraftEventing::SignInAccountType, enum IMinecraftEventing::SignInTrigger, bool, enum IMinecraftEventing::SignInStage, enum Social::SignInResult, std::string const &, std::string const &); + MCVAPI void fireEventSignInToXboxLive(class Social::XboxLiveUser const &, bool, enum IMinecraftEventing::SignInStage); + MCVAPI void fireEventSignOutOfIdentity(enum IMinecraftEventing::SignInAccountType, enum IMinecraftEventing::SignInTrigger, std::string const &, std::string const &); + MCVAPI void fireEventSignOutOfXboxLive(class Social::XboxLiveUser const &); + MCVAPI void fireEventSplitScreenUpdated(class IClientInstance const &); + MCVAPI void fireEventStackLoaded(struct StackStats const &); + MCVAPI void fireEventStartClient(std::string const &, std::string const &, std::string const &, bool); + MCVAPI void fireEventStartWorld(enum IMinecraftEventing::NetworkType, std::string const &, enum Social::MultiplayerServiceIdentifier); + MCVAPI void fireEventStorage(int, std::string const &); + MCVAPI void fireEventStorageReport(std::string const &); + MCVAPI void fireEventStoreOfferClicked(int, int, int, int, int, int, std::string const &, std::string const &, bool, std::string const &); + MCVAPI void fireEventStorePromotionNotification(std::string const &); + MCVAPI void fireEventStoreSearch(struct StoreSearchTelemetryData const &); + MCVAPI void fireEventStructureExport(struct glTFExportData const &, enum IMinecraftEventing::ExportOutcome, enum IMinecraftEventing::ExportStage) const; + MCVAPI void fireEventTreatmentPackApplied(class PackManifest const &); + MCVAPI void fireEventTreatmentPackDownloaded(std::string); + MCVAPI void fireEventTreatmentPackRemoved(std::string); + MCVAPI void fireEventTreatmentsCleared(); + MCVAPI void fireEventTreatmentsSet(std::vector const &); + MCVAPI void fireEventTrialDeviceIdCorrelation(__int64, std::string const &, __int64, std::string const &); + MCVAPI void fireEventUgcDownloadCompleted(std::string const &, bool); + MCVAPI void fireEventUgcDownloadStarted(std::string const &); + MCVAPI void fireEventUnknownBlockReceived(struct NewBlockID const &, unsigned short); + MCVAPI void fireEventUploadSkin(std::string const &, std::string const &); + MCVAPI void fireEventVideoPlayed(std::string const &, std::string const &); + MCVAPI void fireEventWebviewDownload(std::string const &, struct WebviewDownloadInfo const &) const; + MCVAPI void fireEventWorldExported(__int64, unsigned __int64); + MCVAPI void fireEventWorldFilesListed(unsigned __int64, unsigned __int64, unsigned __int64, unsigned __int64); + MCVAPI void fireEventWorldGenerated(std::string const &, class LevelSettings const &, bool); + MCVAPI void fireEventWorldHistoryPackSourceMissingDuringUpgrade(std::string const &, std::string const &, std::string const &); + MCVAPI void fireEventWorldImported(__int64, unsigned __int64); + MCVAPI void fireEventWorldLoaded(class Player *, class Level &, class ResourcePackManager &, struct ResourcePacksInfoData &); + MCVAPI void fireGlobalResourcePackCrashRecovery(class PackInstance &, class mce::UUID, int); + MCVAPI void fireIDESelected(std::string const &) const; + MCVAPI void fireInAppCodeBuilderActivated(enum IMinecraftEventing::OpenCodeMethod); + MCVAPI void fireLegacyWorldUploadEvent(struct Legacy::WorldConversionReport const &, bool, enum WorldConversionError); + MCVAPI void fireLessonActionTaken(std::string const &, std::string const &, std::string const &, enum IMinecraftEventing::EducationLessonAction); + MCVAPI void fireLevelChunkChecksumMismatchEvent(); + MCVAPI void fireLibraryButtonPressed(std::string const &, std::string const &, std::string const &); + MCVAPI void fireMinecraftVersionInviteAccepted(bool, unsigned __int64); + MCVAPI void fireMinecraftVersionLaunched(bool); + MCVAPI void firePackSettingsEvent(class PackSettings const &, class PackManifest const &); + MCVAPI void firePerfTestEvent(std::string const &, std::string const &, std::string const &, std::vector> const &); + MCVAPI void firePermissionsSetEvent(enum PlayerPermissionLevel, enum CommandPermissionLevel, enum PlayerPermissionLevel, enum CommandPermissionLevel); + MCVAPI void fireQueryOfferResult(std::string const &, int, bool); + MCVAPI void fireQuickPlayEvent(); + MCVAPI void fireRealmConnectionEventGenericLambdaCalled(enum IMinecraftEventing::RealmConnectionFlow, enum IMinecraftEventing::RealmConnectionLambda, enum IMinecraftEventing::RealmConnectionResult); + MCVAPI void fireRealmConnectionEventRealmAPIRequest(enum IMinecraftEventing::RealmConnectionFlow); + MCVAPI void fireRealmConnectionEventRealmAPIResponse(enum IMinecraftEventing::RealmConnectionFlow, int); + MCVAPI void fireRealmConnectionEventStart(enum IMinecraftEventing::RealmConnectionFlow); + MCVAPI void fireServerConnectionAttemptEvent(std::string const &, bool, std::string const &); + MCVAPI void fireServerConnectionEvent(enum IMinecraftEventing::ServerConnectionOutcome, unsigned int, double, std::string const &); + MCVAPI void fireStructureBlockAction(enum IMinecraftEventing::StructureBlockActionType, class StructureEditorData const &, class StructureTelemetryClientData const *); + MCVAPI void fireStructureBlockLoadedInUnloadedChunks(unsigned int, class BlockPos const &, class BlockPos const &); + MCVAPI void fireStructureBlockRedstoneActivated(enum IMinecraftEventing::StructureBlockActionType, class StructureEditorData const &, class StructureTelemetryClientData const *); + MCVAPI void fireTextToSpeechToggled(bool, bool); + MCVAPI void fireWorldConversionAttemptEvent(struct Legacy::WorldConversionReport const &); + MCVAPI void fireWorldConversionInitiatedEvent(std::string const &); + MCVAPI void flagEventDeepLink(); + MCVAPI void flagEventPlayerGameTypeDefault(bool); + MCVAPI void forceSendEvents(); + MCVAPI bool getAchievementsAlwaysEnabled(); + MCVAPI class Social::Events::EventManager & getEventManager() const; + MCVAPI std::string const & getPlayerSessionId(); + MCVAPI unsigned int getPrimaryLocalUserId(); + MCVAPI std::string getSessionId(); + MCVAPI bool getShouldHaveAchievementsEnabled(); + MCVAPI void init(class gsl::not_null> const &); + MCVAPI void prepEventSearchCatalogRequest(class SearchRequestTelemetry const &); + MCVAPI void registerOptionsObserver(class std::shared_ptr); + MCVAPI void removeTestRunIdTag(); + MCVAPI void removeTestTelemetryTag(); + MCVAPI void setShouldHaveAchievementsEnabled(bool); + MCVAPI void setTestRunIdTag(char const *); + MCVAPI void setTestTelemetryTag(char const *); + MCVAPI void shutdown(); + MCVAPI void stopDebugEventLoggingForAllListeners(); + MCVAPI void tick(); + MCVAPI void updateEditionType(); + MCVAPI void updateIsLegacyPlayer(bool); + MCVAPI void updateIsTrial(bool) const; + MCVAPI void updatePrimaryLocalUserId(unsigned int const &); + MCVAPI ~MinecraftEventing(); +#endif + MCAPI MinecraftEventing(class Core::Path const &); + MCAPI void init(); + MCAPI static void fireEventAwardAchievement(class Player *, enum MinecraftEventing::AchievementIds); + MCAPI static void fireEventBehaviorErrored(class Player *, std::string); + MCAPI static void fireEventBehaviorFailed(class Player *, std::string); + MCAPI static void fireEventBellBlockUsed(class Player *, std::string const &); + MCAPI static void fireEventBlockBroken(class Player *, class Block const &, enum MinecraftEventing::BlockPlacementMethod, int); + MCAPI static void fireEventBlockFound(class Player *, class BlockPos const &); + MCAPI static void fireEventCampfireBlockUsed(class Player *, std::string const &, enum MinecraftEventing::POIBlockInteractionType); + MCAPI static void fireEventCaravanChanged(class Mob &, int); + MCAPI static void fireEventJukeboxUsed(class Player *, class ItemDescriptor const &); + MCAPI static void fireEventLecternBlockUsed(class Player *, std::string const &, enum MinecraftEventing::POIBlockInteractionType); + MCAPI static void fireEventMobEffectChanged(class Mob &, class MobEffectInstance const &, enum MinecraftEventing::ChangeType); + MCAPI static void fireEventPlayerTeleported(class Player *, float, enum MinecraftEventing::TeleportationCause, int); + MCAPI static void fireEventPlayerTransform(class Player &); + MCAPI static void fireEventSlashCommandExecuted(class Player *, std::string const &, int, int, std::string const &); + +//private: + MCAPI void _fireStructureBlockAction(enum IMinecraftEventing::StructureBlockActionType, class StructureEditorData const &, bool, class StructureTelemetryClientData const *); + MCAPI void _generateWorldSessionId(); + MCAPI void fireEventPlayerMessage(std::string const &, std::string const &, std::string const &, std::string const &); + +private: + MCAPI static class std::unordered_map, struct std::equal_to, class std::allocator>> const mAcquisitionMethodMap; + MCAPI static class std::unordered_map, struct std::equal_to, class std::allocator>> const mUseMethodMap; + MCAPI static class std::mutex sMutex; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/MinecraftPackets.hpp b/LiteLoader/Header/MC/MinecraftPackets.hpp new file mode 100644 index 0000000..bf49a20 --- /dev/null +++ b/LiteLoader/Header/MC/MinecraftPackets.hpp @@ -0,0 +1,27 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class MinecraftPackets { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_MINECRAFTPACKETS +public: + class MinecraftPackets& operator=(class MinecraftPackets const &) = delete; + MinecraftPackets(class MinecraftPackets const &) = delete; + MinecraftPackets() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_MINECRAFTPACKETS +#endif + MCAPI static class std::shared_ptr createPacket(enum MinecraftPacketIds); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/MinecraftScheduler.hpp b/LiteLoader/Header/MC/MinecraftScheduler.hpp new file mode 100644 index 0000000..51576ad --- /dev/null +++ b/LiteLoader/Header/MC/MinecraftScheduler.hpp @@ -0,0 +1,32 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class MinecraftScheduler { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_MINECRAFTSCHEDULER +public: + class MinecraftScheduler& operator=(class MinecraftScheduler const &) = delete; + MinecraftScheduler(class MinecraftScheduler const &) = delete; + MinecraftScheduler() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_MINECRAFTSCHEDULER +#endif + MCAPI static class Scheduler & client(); + +//private: + +private: + MCAPI static std::unique_ptr mInstance; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/MinecraftServerScriptEngine.hpp b/LiteLoader/Header/MC/MinecraftServerScriptEngine.hpp new file mode 100644 index 0000000..c320f81 --- /dev/null +++ b/LiteLoader/Header/MC/MinecraftServerScriptEngine.hpp @@ -0,0 +1,47 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class MinecraftServerScriptEngine { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_MINECRAFTSERVERSCRIPTENGINE +public: + class MinecraftServerScriptEngine& operator=(class MinecraftServerScriptEngine const &) = delete; + MinecraftServerScriptEngine(class MinecraftServerScriptEngine const &) = delete; + MinecraftServerScriptEngine() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_MINECRAFTSERVERSCRIPTENGINE + MCVAPI void _handleError(class ScriptApi::ScriptReportItem const &); + MCVAPI void _handleWarning(class ScriptApi::ScriptReportItem const &); + MCVAPI bool _helpRegisterSystemCallbacks(class ScriptApi::ScriptObjectHandle const &); + MCVAPI bool _registerSystemObjects(class ScriptApi::ScriptObjectHandle const &); + MCVAPI bool executeCommand(struct ScriptCommand const &); + MCVAPI void onExecuteCommandCalled(class ScriptApi::ScriptVersionInfo const &, struct ScriptCommand &&); + MCVAPI enum EventResult onLeaveGameDone(class ServerInstance &); + MCVAPI enum EventResult onLevelTick(); + MCVAPI enum EventResult onServerLevelInitialized(class ServerInstance &, class Level &); + MCVAPI enum EventResult onServerThreadStarted(class ServerInstance &); + MCVAPI enum EventResult onServerUpdateEnd(class ServerInstance &); + MCVAPI enum EventResult onServerUpdateStart(class ServerInstance &); + MCVAPI bool setupInterface(); +#endif + +//private: + MCAPI void _queueResourcePackScripts(class ResourcePackManager &); + MCAPI void _registerEventListeners(class Level &, class NetworkHandler &); + MCAPI void _setupContext(class Minecraft &, class PacketSender &, class entt::Registry &); + MCAPI void _unregisterEventListeners(class Level *, class NetworkHandler &); + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/MinecraftWorkerPool.hpp b/LiteLoader/Header/MC/MinecraftWorkerPool.hpp new file mode 100644 index 0000000..dcaa142 --- /dev/null +++ b/LiteLoader/Header/MC/MinecraftWorkerPool.hpp @@ -0,0 +1,37 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class MinecraftWorkerPool { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_MINECRAFTWORKERPOOL +public: + class MinecraftWorkerPool& operator=(class MinecraftWorkerPool const &) = delete; + MinecraftWorkerPool(class MinecraftWorkerPool const &) = delete; + MinecraftWorkerPool() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_MINECRAFTWORKERPOOL +#endif + MCAPI static std::unique_ptr ASYNC; + MCAPI static std::unique_ptr CONNECTEDSTORAGE; + MCAPI static std::unique_ptr DISK; + MCAPI static std::unique_ptr LEVELDB; + MCAPI static std::unique_ptr LEVELDB_COMPACTION; + MCAPI static std::unique_ptr NETWORK; + MCAPI static std::unique_ptr RENDERING; + MCAPI static std::unique_ptr WATCHDOG; + MCAPI static void createSingletons(); + MCAPI static void destroySingletons(); + MCAPI static void loadWorkerConfigurations(unsigned int, unsigned int); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/MineshaftCorridor.hpp b/LiteLoader/Header/MC/MineshaftCorridor.hpp new file mode 100644 index 0000000..d8434d1 --- /dev/null +++ b/LiteLoader/Header/MC/MineshaftCorridor.hpp @@ -0,0 +1,35 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "StructurePiece.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class MineshaftCorridor : public StructurePiece { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_MINESHAFTCORRIDOR +public: + class MineshaftCorridor& operator=(class MineshaftCorridor const &) = delete; + MineshaftCorridor(class MineshaftCorridor const &) = delete; + MineshaftCorridor() = delete; +#endif + +public: + /*0*/ virtual ~MineshaftCorridor(); + /*3*/ virtual enum StructurePieceType getType() const; + /*4*/ virtual void addChildren(class StructurePiece &, std::vector> &, class Random &); + /*5*/ virtual bool postProcess(class BlockSource &, class Random &, class BoundingBox const &); + /*6*/ virtual void postProcessMobsAt(class BlockSource &, class Random &, class BoundingBox const &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_MINESHAFTCORRIDOR +#endif + MCAPI void _placeCobWeb(class BlockSource &, class BoundingBox const &, class Random &, float, int, int, int); + MCAPI void _placeSupport(class BlockSource &, class BoundingBox const &, int, int, int, int, int, class Random &); + MCAPI static class BoundingBox findCorridorSize(std::vector> &, class Random &, int, int, int, int); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/MineshaftCrossing.hpp b/LiteLoader/Header/MC/MineshaftCrossing.hpp new file mode 100644 index 0000000..52a46ba --- /dev/null +++ b/LiteLoader/Header/MC/MineshaftCrossing.hpp @@ -0,0 +1,32 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "StructurePiece.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class MineshaftCrossing : public StructurePiece { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_MINESHAFTCROSSING +public: + class MineshaftCrossing& operator=(class MineshaftCrossing const &) = delete; + MineshaftCrossing(class MineshaftCrossing const &) = delete; + MineshaftCrossing() = delete; +#endif + +public: + /*0*/ virtual ~MineshaftCrossing(); + /*3*/ virtual enum StructurePieceType getType() const; + /*4*/ virtual void addChildren(class StructurePiece &, std::vector> &, class Random &); + /*5*/ virtual bool postProcess(class BlockSource &, class Random &, class BoundingBox const &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_MINESHAFTCROSSING +#endif + MCAPI void _placeSupportPillar(class BlockSource &, class BoundingBox const &, int, int, int, int); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/MineshaftData.hpp b/LiteLoader/Header/MC/MineshaftData.hpp new file mode 100644 index 0000000..1117420 --- /dev/null +++ b/LiteLoader/Header/MC/MineshaftData.hpp @@ -0,0 +1,26 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +struct MineshaftData { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_MINESHAFTDATA +public: + struct MineshaftData& operator=(struct MineshaftData const &) = delete; + MineshaftData(struct MineshaftData const &) = delete; + MineshaftData() = delete; +#endif +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_MINESHAFTDATA +#endif + MCAPI MineshaftData(bool); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/MineshaftFeature.hpp b/LiteLoader/Header/MC/MineshaftFeature.hpp new file mode 100644 index 0000000..8de87a1 --- /dev/null +++ b/LiteLoader/Header/MC/MineshaftFeature.hpp @@ -0,0 +1,30 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "StructureFeature.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class MineshaftFeature : public StructureFeature { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_MINESHAFTFEATURE +public: + class MineshaftFeature& operator=(class MineshaftFeature const &) = delete; + MineshaftFeature(class MineshaftFeature const &) = delete; + MineshaftFeature() = delete; +#endif + +public: + /*0*/ virtual ~MineshaftFeature(); + /*4*/ virtual bool isFeatureChunk(class BiomeSource const &, class Random &, class ChunkPos const &, unsigned int); + /*5*/ virtual std::unique_ptr createStructureStart(class Dimension &, class BiomeSource &, class Random &, class ChunkPos const &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_MINESHAFTFEATURE +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/MineshaftPiece.hpp b/LiteLoader/Header/MC/MineshaftPiece.hpp new file mode 100644 index 0000000..9c24e10 --- /dev/null +++ b/LiteLoader/Header/MC/MineshaftPiece.hpp @@ -0,0 +1,31 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "StructurePiece.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class MineshaftPiece : public StructurePiece { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_MINESHAFTPIECE +public: + class MineshaftPiece& operator=(class MineshaftPiece const &) = delete; + MineshaftPiece(class MineshaftPiece const &) = delete; + MineshaftPiece() = delete; +#endif + +public: + /*0*/ virtual ~MineshaftPiece(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_MINESHAFTPIECE +#endif + MCAPI bool _isSupportingBox(int, int, class BlockSource &, int, int); + MCAPI std::unique_ptr createRandomShaftPiece(struct MineshaftData &, std::vector> &, class Random &, int, int, int, int, int); + MCAPI class StructurePiece * generateAndAddPiece(class StructurePiece &, std::vector> &, class Random &, int, int, int, int, int); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/MineshaftRoom.hpp b/LiteLoader/Header/MC/MineshaftRoom.hpp new file mode 100644 index 0000000..ee9d554 --- /dev/null +++ b/LiteLoader/Header/MC/MineshaftRoom.hpp @@ -0,0 +1,32 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "StructurePiece.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class MineshaftRoom : public StructurePiece { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_MINESHAFTROOM +public: + class MineshaftRoom& operator=(class MineshaftRoom const &) = delete; + MineshaftRoom(class MineshaftRoom const &) = delete; + MineshaftRoom() = delete; +#endif + +public: + /*0*/ virtual ~MineshaftRoom(); + /*1*/ virtual void moveBoundingBox(int, int, int); + /*3*/ virtual enum StructurePieceType getType() const; + /*4*/ virtual void addChildren(class StructurePiece &, std::vector> &, class Random &); + /*5*/ virtual bool postProcess(class BlockSource &, class Random &, class BoundingBox const &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_MINESHAFTROOM +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/MineshaftStairs.hpp b/LiteLoader/Header/MC/MineshaftStairs.hpp new file mode 100644 index 0000000..b5a6f12 --- /dev/null +++ b/LiteLoader/Header/MC/MineshaftStairs.hpp @@ -0,0 +1,31 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "StructurePiece.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class MineshaftStairs : public StructurePiece { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_MINESHAFTSTAIRS +public: + class MineshaftStairs& operator=(class MineshaftStairs const &) = delete; + MineshaftStairs(class MineshaftStairs const &) = delete; + MineshaftStairs() = delete; +#endif + +public: + /*0*/ virtual ~MineshaftStairs(); + /*3*/ virtual enum StructurePieceType getType() const; + /*4*/ virtual void addChildren(class StructurePiece &, std::vector> &, class Random &); + /*5*/ virtual bool postProcess(class BlockSource &, class Random &, class BoundingBox const &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_MINESHAFTSTAIRS +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/MineshaftStart.hpp b/LiteLoader/Header/MC/MineshaftStart.hpp new file mode 100644 index 0000000..8355976 --- /dev/null +++ b/LiteLoader/Header/MC/MineshaftStart.hpp @@ -0,0 +1,30 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "StructureStart.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class MineshaftStart : public StructureStart { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_MINESHAFTSTART +public: + class MineshaftStart& operator=(class MineshaftStart const &) = delete; + MineshaftStart(class MineshaftStart const &) = delete; + MineshaftStart() = delete; +#endif + +public: + /*0*/ virtual ~MineshaftStart(); + /*3*/ virtual enum StructureFeatureType getType() const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_MINESHAFTSTART +#endif + MCAPI MineshaftStart(class BiomeSource &, class Random &, class ChunkPos const &, short); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/MingleGoal.hpp b/LiteLoader/Header/MC/MingleGoal.hpp new file mode 100644 index 0000000..2b7fad8 --- /dev/null +++ b/LiteLoader/Header/MC/MingleGoal.hpp @@ -0,0 +1,46 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "MoveToPOIGoal.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class MingleGoal : public MoveToPOIGoal { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_MINGLEGOAL +public: + class MingleGoal& operator=(class MingleGoal const &) = delete; + MingleGoal(class MingleGoal const &) = delete; + MingleGoal() = delete; +#endif + +public: + /*0*/ virtual ~MingleGoal(); + /*1*/ virtual bool canUse(); + /*2*/ virtual bool canContinueToUse(); + /*3*/ virtual void __unk_vfn_3(); + /*4*/ virtual void start(); + /*5*/ virtual void stop(); + /*6*/ virtual void tick(); + /*7*/ virtual void appendDebugInfo(std::string &) const; + /*8*/ virtual void __unk_vfn_8(); + /*9*/ virtual void __unk_vfn_9(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_MINGLEGOAL +#endif + +//private: + MCAPI void _findNewPartner(struct ActorUniqueID); + MCAPI class MingleComponent & _getMingleComponent() const; + MCAPI void _tickPartneredActive(class MingleComponent &); + MCAPI bool _tryPathToPartner(class Actor &); + MCAPI bool _validatePartnerState(enum MingleComponent::MingleState, class MingleComponent &, bool); + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/MissingTextureAtlasItem.hpp b/LiteLoader/Header/MC/MissingTextureAtlasItem.hpp new file mode 100644 index 0000000..f731ba1 --- /dev/null +++ b/LiteLoader/Header/MC/MissingTextureAtlasItem.hpp @@ -0,0 +1,17 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +namespace MissingTextureAtlasItem { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA + MCAPI extern class TextureAtlasItem const missingTextureItem; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/Mob.hpp b/LiteLoader/Header/MC/Mob.hpp new file mode 100644 index 0000000..366081f --- /dev/null +++ b/LiteLoader/Header/MC/Mob.hpp @@ -0,0 +1,257 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Actor.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class Mob : public Actor { + +#define AFTER_EXTRA +// Add Member There +public: +struct JumpPreventionResult { + JumpPreventionResult() = delete; + JumpPreventionResult(JumpPreventionResult const&) = delete; + JumpPreventionResult(JumpPreventionResult const&&) = delete; +}; +enum TravelType; + +public: + + LIAPI bool refreshInventory(); + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_MOB +public: + class Mob& operator=(class Mob const &) = delete; + Mob(class Mob const &) = delete; + Mob() = delete; +#endif + +public: + /*0*/ virtual bool hasComponent(class HashedString const &) const; + /*1*/ virtual void reloadHardcoded(enum Actor::InitializationMethod, class VariantParameterList const &); + /*2*/ virtual void reloadHardcodedClient(enum Actor::InitializationMethod, class VariantParameterList const &); + /*3*/ virtual void initializeComponents(enum Actor::InitializationMethod, class VariantParameterList const &); + /*6*/ virtual void _doInitialMove(); + /*7*/ virtual ~Mob(); + /*21*/ virtual float getInterpolatedBodyRot(float) const; + /*22*/ virtual float getInterpolatedHeadRot(float) const; + /*23*/ virtual float getInterpolatedBodyYaw(float) const; + /*24*/ virtual float getYawSpeedInDegreesPerSecond() const; + /*30*/ virtual void __unk_vfn_30(); + /*31*/ virtual void blockedByShield(class ActorDamageSource const &, class Actor &); + /*33*/ virtual void teleportTo(class Vec3 const &, bool, int, int, struct ActorUniqueID const &); + /*36*/ virtual void lerpTo(class Vec3 const &, class Vec2 const &, int); + /*39*/ virtual void normalTick(); + /*40*/ virtual void baseTick(); + /*41*/ virtual void rideTick(); + /*44*/ virtual bool startRiding(class Actor &); + /*45*/ virtual void addRider(class Actor &); + /*54*/ virtual void __unk_vfn_54(); + /*61*/ virtual void __unk_vfn_61(); + /*76*/ virtual void __unk_vfn_76(); + /*81*/ virtual void __unk_vfn_81(); + /*85*/ virtual bool isImmobile() const; + /*87*/ virtual bool isPickable(); + /*88*/ virtual void __unk_vfn_88(); + /*89*/ virtual bool isSleeping() const; + /*90*/ virtual void __unk_vfn_90(); + /*93*/ virtual bool isBlocking() const; + /*95*/ virtual bool isAlive() const; + /*98*/ virtual void __unk_vfn_98(); + /*99*/ virtual bool isSurfaceMob() const; + /*100*/ virtual void __unk_vfn_100(); + /*102*/ virtual void setTarget(class Actor *); + /*105*/ virtual bool attack(class Actor &); + /*117*/ virtual bool canPowerJump() const; + /*119*/ virtual bool isJumping() const; + /*121*/ virtual void __unk_vfn_121(); + /*125*/ virtual enum ActorDamageCause getBlockDamageCause(class Block const &) const; + /*126*/ virtual void actuallyHurt(int, class ActorDamageSource const &, bool); + /*127*/ virtual void animateHurt(); + /*128*/ virtual bool doFireHurt(int); + /*132*/ virtual void handleEntityEvent(enum ActorEvent, int); + /*145*/ virtual enum ArmorMaterialType getArmorMaterialTypeInSlot(enum ArmorSlot) const; + /*146*/ virtual enum ArmorTextureType getArmorMaterialTextureTypeInSlot(enum ArmorSlot) const; + /*147*/ virtual float getArmorColorInSlot(enum ArmorSlot, int) const; + /*148*/ virtual void setEquippedSlot(enum ArmorSlot, int, int); + /*149*/ virtual void setEquippedSlot(enum ArmorSlot, class ItemStack const &); + /*162*/ virtual void setOnFire(int); + /*169*/ virtual void __unk_vfn_169(); + /*173*/ virtual void causeFallDamage(float); + /*180*/ virtual bool canBePulledIntoVehicle() const; + /*181*/ virtual bool inCaravan() const; + /*182*/ virtual void __unk_vfn_182(); + /*186*/ virtual void stopRiding(bool, bool, bool); + /*189*/ virtual void buildDebugInfo(std::string &) const; + /*193*/ virtual int getDeathTime() const; + /*204*/ virtual void swing(); + /*206*/ virtual void __unk_vfn_206(); + /*207*/ virtual void __unk_vfn_207(); + /*211*/ virtual float getYHeadRot() const; + /*228*/ virtual void __unk_vfn_228(); + /*231*/ virtual void __unk_vfn_231(); + /*232*/ virtual void kill(); + /*233*/ virtual void die(class ActorDamageSource const &); + /*235*/ virtual void updateEntitySpecificMolangVariables(class RenderParams &); + /*238*/ virtual void __unk_vfn_238(); + /*239*/ virtual void outOfWorld(); + /*240*/ virtual bool _hurt(class ActorDamageSource const &, int, bool, bool); + /*242*/ virtual void readAdditionalSaveData(class CompoundTag const &, class DataLoadHelper &); + /*243*/ virtual void addAdditionalSaveData(class CompoundTag &); + /*244*/ virtual void _playStepSound(class BlockPos const &, class Block const &); + /*246*/ virtual void __unk_vfn_246(); + /*255*/ virtual void _removeRider(struct ActorUniqueID const &, bool, bool, bool); + /*256*/ virtual void _onSizeUpdated(); + /*257*/ virtual void __unk_vfn_257(); + /*258*/ virtual void knockback(class Actor *, int, float, float, float, float, float); + /*259*/ virtual void resolveDeathLoot(int, class ActorDamageSource const &); + /*260*/ virtual void spawnAnim(); + /*261*/ virtual void setSleeping(bool); + /*262*/ virtual bool isSprinting() const; + /*263*/ virtual void setSprinting(bool); + /*264*/ virtual void playAmbientSound(); + /*265*/ virtual enum LevelSoundEvent getAmbientSound(); + /*266*/ virtual int getAmbientSoundPostponeTicks(); + /*267*/ virtual int getAmbientSoundPostponeTicksRange(); + /*268*/ virtual struct TextureUVCoordinateSet const * getItemInHandIcon(class ItemStack const &, int); + /*269*/ virtual float getSpeed() const; + /*270*/ virtual void setSpeed(float); + /*271*/ virtual float getJumpPower() const; + /*272*/ virtual bool hurtEffects(class ActorDamageSource const &, int, bool, bool); + /*273*/ virtual int getMeleeWeaponDamageBonus(class Mob *); + /*274*/ virtual int getMeleeKnockbackBonus(); + /*275*/ virtual void travel(float, float, float); + /*276*/ virtual void applyFinalFriction(float, bool); + /*277*/ virtual void updateWalkAnim(); + /*278*/ virtual void aiStep(); + /*279*/ virtual void pushActors(); + /*280*/ virtual void lookAt(class Actor *, float, float); + /*281*/ virtual bool isLookingAtAnEntity(); + /*282*/ virtual bool checkSpawnRules(bool); + /*283*/ virtual bool checkSpawnObstruction() const; + /*284*/ virtual float getAttackAnim(float); + /*285*/ virtual int getItemUseDuration(); + /*286*/ virtual float getItemUseStartupProgress(); + /*287*/ virtual float getItemUseIntervalProgress(); + /*288*/ virtual int getItemuseIntervalAxis(); + /*289*/ virtual int getTimeAlongSwing(); + /*290*/ virtual void __unk_vfn_290(); + /*291*/ virtual float getMaxHeadXRot(); + /*292*/ virtual class Mob * getLastHurtByMob(); + /*293*/ virtual void setLastHurtByMob(class Mob *); + /*294*/ virtual class Player * getLastHurtByPlayer(); + /*295*/ virtual void setLastHurtByPlayer(class Player *); + /*296*/ virtual class Mob * getLastHurtMob(); + /*297*/ virtual void setLastHurtMob(class Actor *); + /*298*/ virtual bool isAlliedTo(class Mob *); + /*299*/ virtual bool doHurtTarget(class Actor *); + /*300*/ virtual void __unk_vfn_300(); + /*301*/ virtual void leaveCaravan(); + /*302*/ virtual void joinCaravan(class Mob *); + /*303*/ virtual bool hasCaravanTail() const; + /*304*/ virtual struct ActorUniqueID getCaravanHead() const; + /*305*/ virtual int getArmorValue(); + /*306*/ virtual float getArmorCoverPercentage() const; + /*307*/ virtual void hurtArmor(class ActorDamageSource const &, int); + /*308*/ virtual void setDamagedArmor(enum ArmorSlot, class ItemStack const &); + /*309*/ virtual void sendArmorDamage(class std::bitset<4> const &); + /*310*/ virtual void sendArmor(class std::bitset<4> const &); + /*311*/ virtual void containerChanged(int); + /*312*/ virtual void updateEquipment(); + /*313*/ virtual int clearEquipment(); + /*314*/ virtual std::vector getAllArmor() const; + /*315*/ virtual std::vector getAllArmorID() const; + /*316*/ virtual std::vector getAllHand() const; + /*317*/ virtual std::vector getAllEquipment() const; + /*318*/ virtual int getArmorTypeHash(); + /*319*/ virtual void dropEquipment(class ActorDamageSource const &, int); + /*320*/ virtual void dropEquipment(); + /*321*/ virtual void clearVanishEnchantedItems(); + /*322*/ virtual void sendInventory(bool); + /*323*/ virtual int getDamageAfterMagicAbsorb(class ActorDamageSource const &, int); + /*324*/ virtual bool createAIGoals(); + /*325*/ virtual void onBorn(class Actor &, class Actor &); + /*326*/ virtual bool setItemSlot(enum EquipmentSlot, class ItemStack const &); + /*327*/ virtual void setTransitioningSitting(bool); + /*328*/ virtual void attackAnimation(class Actor *, float); + /*329*/ virtual int getAttackTime(); + /*330*/ virtual float _getWalkTargetValue(class BlockPos const &); + /*331*/ virtual bool canExistWhenDisallowMob() const; + /*332*/ virtual void __unk_vfn_332(); + /*333*/ virtual void ascendLadder(); + /*334*/ virtual void ascendScaffolding(); + /*335*/ virtual void descendScaffolding(); + /*336*/ virtual std::unique_ptr initBodyControl(); + /*337*/ virtual void jumpFromGround(); + /*338*/ virtual void updateAi(); + /*339*/ virtual void newServerAiStep(); + /*340*/ virtual void _serverAiMobStep(); + /*341*/ virtual int getDamageAfterEnchantReduction(class ActorDamageSource const &, int); + /*342*/ virtual int getDamageAfterArmorAbsorb(class ActorDamageSource const &, int); + /*343*/ virtual void dropBags(); + /*344*/ virtual void dropContainer(); + /*345*/ virtual void tickDeath(); + /*346*/ virtual void _endJump(); + /*347*/ virtual void updateGliding(); + /*348*/ virtual void __unk_vfn_348(); + /*349*/ virtual bool isDarkEnoughToSpawn() const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_MOB + MCVAPI bool _allowAscendingScaffolding() const; + MCVAPI void ate(); + MCVAPI bool canBeControlledByRider(); + MCVAPI bool isShootable(); + MCVAPI void renderDebugServerState(class Options const &); + MCVAPI bool useNewAi() const; +#endif + MCAPI Mob(class ActorDefinitionGroup *, struct ActorDefinitionIdentifier const &); + MCAPI Mob(class Level &); + MCAPI void _updateMobTravel(); + MCAPI float calcMoveRelativeSpeed(enum Mob::TravelType); + MCAPI bool checkTotemDeathProtection(class ActorDamageSource const &); + MCAPI void emitJumpPreventedEvent(class BlockPos const &); + MCAPI void frostWalk(); + MCAPI int getCaravanSize() const; + MCAPI class Mob * getFirstCaravanHead(); + MCAPI class ItemStack const & getItemSlot(enum EquipmentSlot) const; + MCAPI float getJumpMultiplier(); + MCAPI struct Mob::JumpPreventionResult getJumpPrevention(); + MCAPI enum Mob::TravelType getTravelType(); + MCAPI void resetAttributes(); + MCAPI void sendArmorSlot(enum ArmorSlot); + MCAPI void setEatCounter(int); + MCAPI void setIsPregnant(bool); + MCAPI bool shouldApplyWaterGravity(); + MCAPI static float const PLAYER_SWIMMING_SURFACE_OFFSET; + MCAPI static int const TOTAL_ROLL_STEPS; + +//protected: + MCAPI void _applyRidingRotationLimits(); + MCAPI void _doSoulSpeedParticleEffect(); + MCAPI void _doSprintParticleEffect(); + MCAPI void _registerMobAttributes(); + MCAPI void calculateAmbientSoundTime(int); + MCAPI int getCurrentSwingDuration(); + MCAPI void processSoulSpeed(); + MCAPI std::unique_ptr saveOffhand() const; + MCAPI void tickEffects(); + MCAPI void updateAttackAnim(); + MCAPI bool updateGlidingDurability(); + +//private: + MCAPI bool _initHardCodedComponents(); + MCAPI bool _isHeadInWater(); + MCAPI void _loadArmor(class ListTag const *); + MCAPI bool _tryApplyingLevitation(class Vec3 &) const; + MCAPI void _verifyAttributes(); + +protected: + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/MobArmorEquipmentPacket.hpp b/LiteLoader/Header/MC/MobArmorEquipmentPacket.hpp new file mode 100644 index 0000000..f2fd512 --- /dev/null +++ b/LiteLoader/Header/MC/MobArmorEquipmentPacket.hpp @@ -0,0 +1,38 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Packet.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class MobArmorEquipmentPacket : public Packet { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_MOBARMOREQUIPMENTPACKET +public: + class MobArmorEquipmentPacket& operator=(class MobArmorEquipmentPacket const &) = delete; + MobArmorEquipmentPacket(class MobArmorEquipmentPacket const &) = delete; + MobArmorEquipmentPacket() = delete; +#endif + +public: + /*0*/ virtual ~MobArmorEquipmentPacket(); + /*1*/ virtual enum MinecraftPacketIds getId() const; + /*2*/ virtual std::string getName() const; + /*3*/ virtual void write(class BinaryStream &) const; + /*4*/ virtual enum StreamReadResult read(class ReadOnlyBinaryStream &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_MOBARMOREQUIPMENTPACKET +#endif + MCAPI MobArmorEquipmentPacket(class Mob const &); + +//private: + MCAPI void get(class ItemStack &, class ItemStack const &); + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/MobDescriptor.hpp b/LiteLoader/Header/MC/MobDescriptor.hpp new file mode 100644 index 0000000..fbdda58 --- /dev/null +++ b/LiteLoader/Header/MC/MobDescriptor.hpp @@ -0,0 +1,26 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +struct MobDescriptor { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_MOBDESCRIPTOR +public: + struct MobDescriptor& operator=(struct MobDescriptor const &) = delete; + MobDescriptor() = delete; +#endif +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_MOBDESCRIPTOR +#endif + MCAPI MobDescriptor(struct MobDescriptor const &); + MCAPI ~MobDescriptor(); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/MobEffect.hpp b/LiteLoader/Header/MC/MobEffect.hpp new file mode 100644 index 0000000..7520839 --- /dev/null +++ b/LiteLoader/Header/MC/MobEffect.hpp @@ -0,0 +1,117 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class MobEffect { + +#define AFTER_EXTRA +// Add Member There +public: + enum class EffectType : short + { + Empty = 0, + Speed = 1, + Slowness = 2, + Haste = 3, + MiningFatigue = 4, + Strength = 5, + InstantHealth = 6, + InstantDamage = 7, + JumpBoost = 8, + Nausea = 9, + Regeneration = 10, + Resistance = 11, + FireResistance = 12, + WaterBreathing = 13, + Invisibility = 14, + Blindness = 15, + NightVision = 16, + Hunger = 17, + Weakness = 18, + Poison = 19, + Wither = 20, + HealthBoost = 21, + Absorption = 22, + Saturation = 23, + Levitation = 24, + FatalPoison = 25, + ConduitPower = 26, + SlowFalling = 27, + BadOmen = 28, + VillageHero = 29, + }; + struct FactorCalculationData { + FactorCalculationData() = delete; + FactorCalculationData(FactorCalculationData const&) = delete; + FactorCalculationData(FactorCalculationData const&&) = delete; + }; + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_MOBEFFECT +public: + class MobEffect& operator=(class MobEffect const &) = delete; + MobEffect(class MobEffect const &) = delete; + MobEffect() = delete; +#endif + +public: + /*0*/ virtual ~MobEffect(); + /*1*/ virtual void applyEffects(class Actor *, int, int) const; + /*2*/ virtual void removeEffects(class Actor *); + /*3*/ virtual void applyInstantaneousEffect(class Actor *, class Actor *, class Actor *, int, float) const; + /*4*/ virtual bool isInstantaneous() const; + /*5*/ virtual float getAttributeModifierValue(int, class AttributeModifier const &) const; + /*6*/ virtual bool isDurationEffectTick(int, int) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_MOBEFFECT +#endif + MCAPI MobEffect(int, std::string const &, std::string const &, bool, int, int, std::string const &, bool); + MCAPI void addAttributeBuff(class Attribute const &, class std::shared_ptr); + MCAPI void addAttributeModifier(class Attribute const &, class std::shared_ptr); + MCAPI void setDurationAmplifier(class std::shared_ptr); + MCAPI void setValueAmplifier(class std::shared_ptr); + MCAPI static class MobEffect * ABSORPTION; + MCAPI static class MobEffect * BLINDNESS; + MCAPI static class MobEffect * CONDUIT_POWER; + MCAPI static class MobEffect * CONFUSION; + MCAPI static class MobEffect * DAMAGE_BOOST; + MCAPI static class MobEffect * DAMAGE_RESISTANCE; + MCAPI static class Color const DEFAULT_COLOR; + MCAPI static class MobEffect * DIG_SLOWDOWN; + MCAPI static class MobEffect * DIG_SPEED; + MCAPI static class MobEffect * FATAL_POISON; + MCAPI static class MobEffect * FIRE_RESISTANCE; + MCAPI static class MobEffect * HARM; + MCAPI static class MobEffect * HEAL; + MCAPI static class MobEffect * HEALTH_BOOST; + MCAPI static class MobEffect * HERO_OF_THE_VILLAGE; + MCAPI static class MobEffect * HUNGER; + MCAPI static class MobEffect * INVISIBILITY; + MCAPI static class MobEffect * JUMP; + MCAPI static class MobEffect * LEVITATION; + MCAPI static class MobEffect * MOVEMENT_SLOWDOWN; + MCAPI static class MobEffect * MOVEMENT_SPEED; + MCAPI static class MobEffect * NIGHT_VISION; + MCAPI static class MobEffect * POISON; + MCAPI static class MobEffect * REGENERATION; + MCAPI static class MobEffect * SATURATION; + MCAPI static class MobEffect * SLOW_FALLING; + MCAPI static class MobEffect * WATER_BREATHING; + MCAPI static class MobEffect * WEAKNESS; + MCAPI static class MobEffect * WITHER; + MCAPI static class MobEffect * getById(int); + MCAPI static class MobEffect * getByName(std::string const &); + MCAPI static void initEffects(class ResourcePackManager *); + MCAPI static std::unique_ptr mMobEffects[]; + +//protected: + MCAPI class InstantaneousAttributeBuff _createInstantBuff(class AttributeBuff const &, int, float) const; + MCAPI class TemporalAttributeBuff _createTemporalBuff(class AttributeBuff const &, int, int) const; + +protected: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/MobEffectChangeDescription.hpp b/LiteLoader/Header/MC/MobEffectChangeDescription.hpp new file mode 100644 index 0000000..af1b2e9 --- /dev/null +++ b/LiteLoader/Header/MC/MobEffectChangeDescription.hpp @@ -0,0 +1,30 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Json.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +struct MobEffectChangeDescription { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_MOBEFFECTCHANGEDESCRIPTION +public: + struct MobEffectChangeDescription& operator=(struct MobEffectChangeDescription const &) = delete; + MobEffectChangeDescription(struct MobEffectChangeDescription const &) = delete; + MobEffectChangeDescription() = delete; +#endif +public: + /*0*/ virtual char const * getJsonName() const; + /*1*/ virtual ~MobEffectChangeDescription(); + /*2*/ virtual void deserializeData(class Json::Value &); + /*3*/ virtual void serializeData(class Json::Value &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_MOBEFFECTCHANGEDESCRIPTION +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/MobEffectComponent.hpp b/LiteLoader/Header/MC/MobEffectComponent.hpp new file mode 100644 index 0000000..628559f --- /dev/null +++ b/LiteLoader/Header/MC/MobEffectComponent.hpp @@ -0,0 +1,27 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class MobEffectComponent { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_MOBEFFECTCOMPONENT +public: + class MobEffectComponent& operator=(class MobEffectComponent const &) = delete; + MobEffectComponent(class MobEffectComponent const &) = delete; + MobEffectComponent() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_MOBEFFECTCOMPONENT +#endif + MCAPI ~MobEffectComponent(); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/MobEffectDefinition.hpp b/LiteLoader/Header/MC/MobEffectDefinition.hpp new file mode 100644 index 0000000..558195d --- /dev/null +++ b/LiteLoader/Header/MC/MobEffectDefinition.hpp @@ -0,0 +1,30 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "JsonUtil.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class MobEffectDefinition { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_MOBEFFECTDEFINITION +public: + class MobEffectDefinition& operator=(class MobEffectDefinition const &) = delete; + MobEffectDefinition(class MobEffectDefinition const &) = delete; + MobEffectDefinition() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_MOBEFFECTDEFINITION +#endif + MCAPI void setEffectTimeInTicks(int const &); + MCAPI void setMobEffectByName(std::string const &); + MCAPI static void buildSchema(class std::shared_ptr> &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/MobEffectInstance.hpp b/LiteLoader/Header/MC/MobEffectInstance.hpp new file mode 100644 index 0000000..37e1845 --- /dev/null +++ b/LiteLoader/Header/MC/MobEffectInstance.hpp @@ -0,0 +1,35 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA +// Include Headers or Declare Types Here +#include "MobEffect.hpp" + +#undef BEFORE_EXTRA + +class MobEffectInstance { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_MOBEFFECTINSTANCE +public: + class MobEffectInstance& operator=(class MobEffectInstance const &) = delete; + MobEffectInstance(class MobEffectInstance const &) = delete; + MobEffectInstance() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_MOBEFFECTINSTANCE +#endif + MCAPI MobEffectInstance(unsigned int, int, int, int, int, int, bool, bool, bool); + MCAPI int getDifficulityDuration(enum Difficulty) const; + MCAPI std::unique_ptr save() const; + MCAPI void update(class MobEffectInstance const &); + MCAPI static class MobEffectInstance const NO_EFFECT; + MCAPI static class Color getColorValue(std::vector const &); + MCAPI static class MobEffectInstance load(class CompoundTag const &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/MobEffectPacket.hpp b/LiteLoader/Header/MC/MobEffectPacket.hpp new file mode 100644 index 0000000..219a624 --- /dev/null +++ b/LiteLoader/Header/MC/MobEffectPacket.hpp @@ -0,0 +1,32 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Packet.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class MobEffectPacket : public Packet { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_MOBEFFECTPACKET +public: + class MobEffectPacket& operator=(class MobEffectPacket const &) = delete; + MobEffectPacket(class MobEffectPacket const &) = delete; + MobEffectPacket() = delete; +#endif + +public: + /*0*/ virtual ~MobEffectPacket(); + /*1*/ virtual enum MinecraftPacketIds getId() const; + /*2*/ virtual std::string getName() const; + /*3*/ virtual void write(class BinaryStream &) const; + /*4*/ virtual enum StreamReadResult read(class ReadOnlyBinaryStream &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_MOBEFFECTPACKET +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/MobEffectSubcomponent.hpp b/LiteLoader/Header/MC/MobEffectSubcomponent.hpp new file mode 100644 index 0000000..7bd66d1 --- /dev/null +++ b/LiteLoader/Header/MC/MobEffectSubcomponent.hpp @@ -0,0 +1,36 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Json.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class MobEffectSubcomponent { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_MOBEFFECTSUBCOMPONENT +public: + class MobEffectSubcomponent& operator=(class MobEffectSubcomponent const &) = delete; + MobEffectSubcomponent(class MobEffectSubcomponent const &) = delete; + MobEffectSubcomponent() = delete; +#endif + +public: + /*0*/ virtual ~MobEffectSubcomponent(); + /*1*/ virtual void readfromJSON(class Json::Value &); + /*2*/ virtual void writetoJSON(class Json::Value &) const; + /*3*/ virtual void doOnHitEffect(class Actor &, class ProjectileComponent &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_MOBEFFECTSUBCOMPONENT +#endif + +//private: + MCAPI void _addEffectFromJSON(class Json::Value &); + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/MobEffectSystem.hpp b/LiteLoader/Header/MC/MobEffectSystem.hpp new file mode 100644 index 0000000..c13c21b --- /dev/null +++ b/LiteLoader/Header/MC/MobEffectSystem.hpp @@ -0,0 +1,33 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class MobEffectSystem { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_MOBEFFECTSYSTEM +public: + class MobEffectSystem& operator=(class MobEffectSystem const &) = delete; + MobEffectSystem(class MobEffectSystem const &) = delete; + MobEffectSystem() = delete; +#endif + +public: + /*0*/ virtual ~MobEffectSystem(); + /*1*/ virtual void tick(class EntityRegistry &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_MOBEFFECTSYSTEM +#endif + +//private: + MCAPI void _tickComponent(class EntityContext &, class FlagComponent &, class ActorComponent &, class MobEffectComponent &); + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/MobEquipmentPacket.hpp b/LiteLoader/Header/MC/MobEquipmentPacket.hpp new file mode 100644 index 0000000..304af69 --- /dev/null +++ b/LiteLoader/Header/MC/MobEquipmentPacket.hpp @@ -0,0 +1,33 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Packet.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class MobEquipmentPacket : public Packet { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_MOBEQUIPMENTPACKET +public: + class MobEquipmentPacket& operator=(class MobEquipmentPacket const &) = delete; + MobEquipmentPacket(class MobEquipmentPacket const &) = delete; + MobEquipmentPacket() = delete; +#endif + +public: + /*0*/ virtual ~MobEquipmentPacket(); + /*1*/ virtual enum MinecraftPacketIds getId() const; + /*2*/ virtual std::string getName() const; + /*3*/ virtual void write(class BinaryStream &) const; + /*4*/ virtual enum StreamReadResult read(class ReadOnlyBinaryStream &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_MOBEQUIPMENTPACKET +#endif + MCAPI MobEquipmentPacket(class ActorRuntimeID, class ItemStack const &, int, int, enum ContainerID); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/MobEvent.hpp b/LiteLoader/Header/MC/MobEvent.hpp new file mode 100644 index 0000000..752b3cd --- /dev/null +++ b/LiteLoader/Header/MC/MobEvent.hpp @@ -0,0 +1,27 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class MobEvent { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_MOBEVENT +public: + class MobEvent& operator=(class MobEvent const &) = delete; + MobEvent() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_MOBEVENT +#endif + MCAPI MobEvent(class MobEvent const &); + MCAPI ~MobEvent(); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/MobEventCommand.hpp b/LiteLoader/Header/MC/MobEventCommand.hpp new file mode 100644 index 0000000..c2cfc96 --- /dev/null +++ b/LiteLoader/Header/MC/MobEventCommand.hpp @@ -0,0 +1,30 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Command.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class MobEventCommand : public Command { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_MOBEVENTCOMMAND +public: + class MobEventCommand& operator=(class MobEventCommand const &) = delete; + MobEventCommand(class MobEventCommand const &) = delete; + MobEventCommand() = delete; +#endif + +public: + /*0*/ virtual ~MobEventCommand(); + /*1*/ virtual void execute(class CommandOrigin const &, class CommandOutput &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_MOBEVENTCOMMAND +#endif + MCAPI static void setup(class CommandRegistry &, struct MobEventCommand::InitProxy &&); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/MobEvents.hpp b/LiteLoader/Header/MC/MobEvents.hpp new file mode 100644 index 0000000..a96b4a1 --- /dev/null +++ b/LiteLoader/Header/MC/MobEvents.hpp @@ -0,0 +1,32 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class MobEvents { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_MOBEVENTS +public: + class MobEvents& operator=(class MobEvents const &) = delete; + MobEvents(class MobEvents const &) = delete; + MobEvents() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_MOBEVENTS +#endif + MCAPI MobEvents(class LevelStorage &); + MCAPI void deserialize(class CompoundTag const &); + MCAPI enum MobEventsIndex getIndexFromName(std::string const &) const; + MCAPI std::unique_ptr serialize() const; + MCAPI void writeToLevelStorage(); + MCAPI static std::string const EVENTS_ENABLED_STRING; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/MobPredicates.hpp b/LiteLoader/Header/MC/MobPredicates.hpp new file mode 100644 index 0000000..3f1958f --- /dev/null +++ b/LiteLoader/Header/MC/MobPredicates.hpp @@ -0,0 +1,19 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +namespace MobPredicates { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA + MCAPI bool _mobHasFamilies(struct ActorTargetFilter const &, class Actor &); + MCAPI bool _mobHoldingItem(struct ActorTargetFilter const &, class Actor &); + MCAPI bool _mobWearingArmor(struct ActorTargetFilter const &, class Actor &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/MobSpawnHerdInfo.hpp b/LiteLoader/Header/MC/MobSpawnHerdInfo.hpp new file mode 100644 index 0000000..da3461b --- /dev/null +++ b/LiteLoader/Header/MC/MobSpawnHerdInfo.hpp @@ -0,0 +1,26 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +struct MobSpawnHerdInfo { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_MOBSPAWNHERDINFO +public: + struct MobSpawnHerdInfo& operator=(struct MobSpawnHerdInfo const &) = delete; + MobSpawnHerdInfo(struct MobSpawnHerdInfo const &) = delete; + MobSpawnHerdInfo() = delete; +#endif +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_MOBSPAWNHERDINFO +#endif + MCAPI ~MobSpawnHerdInfo(); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/MobSpawnRules.hpp b/LiteLoader/Header/MC/MobSpawnRules.hpp new file mode 100644 index 0000000..f5f42bf --- /dev/null +++ b/LiteLoader/Header/MC/MobSpawnRules.hpp @@ -0,0 +1,35 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class MobSpawnRules { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_MOBSPAWNRULES +public: + class MobSpawnRules& operator=(class MobSpawnRules const &) = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_MOBSPAWNRULES +#endif + MCAPI MobSpawnRules(class MobSpawnRules const &); + MCAPI MobSpawnRules(class MobSpawnRules &&); + MCAPI MobSpawnRules(); + MCAPI class MobSpawnRules & addPermutation(int, int, struct ActorDefinitionIdentifier const &); + MCAPI bool canSpawnInConditions(class SpawnConditions const &, class BlockSource &) const; + MCAPI int getSpawnCount(class SpawnConditions const &, class BlockSource &, class Random &, struct MobSpawnHerdInfo const &) const; + MCAPI struct MobSpawnHerdInfo const & selectRandomHerd(class Random &) const; + MCAPI ~MobSpawnRules(); + MCAPI static int const MAX_DEFAULT_SPAWN_DISTANCE; + MCAPI static unsigned __int64 const MAX_WORLD_AGE; + MCAPI static int const MIN_DEFAULT_SPAWN_DISTANCE; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/MobSpawnerBlock.hpp b/LiteLoader/Header/MC/MobSpawnerBlock.hpp new file mode 100644 index 0000000..dc98c5c --- /dev/null +++ b/LiteLoader/Header/MC/MobSpawnerBlock.hpp @@ -0,0 +1,196 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "ActorBlock.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class MobSpawnerBlock : public ActorBlock { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_MOBSPAWNERBLOCK +public: + class MobSpawnerBlock& operator=(class MobSpawnerBlock const &) = delete; + MobSpawnerBlock(class MobSpawnerBlock const &) = delete; + MobSpawnerBlock() = delete; +#endif + +public: + /*0*/ virtual ~MobSpawnerBlock(); + /*1*/ virtual void __unk_vfn_1(); + /*2*/ virtual class Block const & getStateFromLegacyData(unsigned short) const; + /*3*/ virtual class std::shared_ptr newBlockEntity(class BlockPos const &, class Block const &) const; + /*4*/ virtual class Block const * getNextBlockPermutation(class Block const &) const; + /*5*/ virtual bool getCollisionShape(class AABB &, class Block const &, class BlockSource &, class BlockPos const &, class Actor *) const; + /*6*/ virtual bool isObstructingChests(class BlockSource &, class BlockPos const &) const; + /*7*/ virtual void __unk_vfn_7(); + /*8*/ virtual class Vec3 randomlyModifyPosition(class BlockPos const &, int &) const; + /*9*/ virtual void addAABBs(class Block const &, class BlockSource &, class BlockPos const &, class AABB const *, std::vector &) const; + /*10*/ virtual class AABB const & getAABB(class BlockSource &, class BlockPos const &, class Block const &, class AABB &, bool) const; + /*11*/ virtual bool addCollisionShapes(class Block const &, class BlockSource &, class BlockPos const &, class AABB const *, std::vector &, class Actor *) const; + /*12*/ virtual class AABB const & getOutline(class BlockSource &, class BlockPos const &, class AABB &) const; + /*13*/ virtual bool getLiquidClipVolume(class BlockSource &, class BlockPos const &, class AABB &) const; + /*14*/ virtual void __unk_vfn_14(); + /*15*/ virtual void __unk_vfn_15(); + /*16*/ virtual struct Brightness getLightEmission(class Block const &) const; + /*17*/ virtual bool shouldRandomTick() const; + /*18*/ virtual void __unk_vfn_18(); + /*19*/ virtual void __unk_vfn_19(); + /*20*/ virtual void __unk_vfn_20(); + /*21*/ virtual void __unk_vfn_21(); + /*22*/ virtual bool canConnect(class Block const &, unsigned char, class Block const &) const; + /*23*/ virtual void getConnectedDirections(class Block const &, class BlockPos const &, class BlockSource &, bool &, bool &, bool &, bool &) const; + /*24*/ virtual void __unk_vfn_24(); + /*25*/ virtual void __unk_vfn_25(); + /*26*/ virtual void __unk_vfn_26(); + /*27*/ virtual void __unk_vfn_27(); + /*28*/ virtual void __unk_vfn_28(); + /*29*/ virtual bool isWaterBlocking() const; + /*30*/ virtual void __unk_vfn_30(); + /*31*/ virtual void __unk_vfn_31(); + /*32*/ virtual void __unk_vfn_32(); + /*33*/ virtual void __unk_vfn_33(); + /*34*/ virtual void __unk_vfn_34(); + /*35*/ virtual void __unk_vfn_35(); + /*36*/ virtual void __unk_vfn_36(); + /*37*/ virtual void __unk_vfn_37(); + /*38*/ virtual void __unk_vfn_38(); + /*39*/ virtual void __unk_vfn_39(); + /*40*/ virtual void __unk_vfn_40(); + /*41*/ virtual bool canHurtAndBreakItem() const; + /*42*/ virtual void __unk_vfn_42(); + /*43*/ virtual void __unk_vfn_43(); + /*44*/ virtual void __unk_vfn_44(); + /*45*/ virtual void __unk_vfn_45(); + /*46*/ virtual class Block const & sanitizeFillBlock(class BlockSource &, class BlockPos const &, class Block const &) const; + /*47*/ virtual void __unk_vfn_47(); + /*48*/ virtual void __unk_vfn_48(); + /*49*/ virtual void __unk_vfn_49(); + /*50*/ virtual void __unk_vfn_50(); + /*51*/ virtual void __unk_vfn_51(); + /*52*/ virtual void __unk_vfn_52(); + /*53*/ virtual bool canBeUsedInCommands(bool, class BaseGameVersion const &) const; + /*54*/ virtual float getThickness() const; + /*55*/ virtual void __unk_vfn_55(); + /*56*/ virtual bool checkIsPathable(class Actor &, class BlockPos const &, class BlockPos const &) const; + /*57*/ virtual void __unk_vfn_57(); + /*58*/ virtual void __unk_vfn_58(); + /*59*/ virtual void __unk_vfn_59(); + /*60*/ virtual void __unk_vfn_60(); + /*61*/ virtual void __unk_vfn_61(); + /*62*/ virtual void __unk_vfn_62(); + /*63*/ virtual void onFallOn(class BlockSource &, class BlockPos const &, class Actor &, float) const; + /*64*/ virtual void __unk_vfn_64(); + /*65*/ virtual void __unk_vfn_65(); + /*66*/ virtual void __unk_vfn_66(); + /*67*/ virtual void __unk_vfn_67(); + /*68*/ virtual void __unk_vfn_68(); + /*69*/ virtual void __unk_vfn_69(); + /*70*/ virtual void __unk_vfn_70(); + /*71*/ virtual enum BlockProperty getRedstoneProperty(class BlockSource &, class BlockPos const &) const; + /*72*/ virtual void updateEntityAfterFallOn(class BlockSource &, class BlockPos const &, class Actor &) const; + /*73*/ virtual void __unk_vfn_73(); + /*74*/ virtual void __unk_vfn_74(); + /*75*/ virtual void __unk_vfn_75(); + /*76*/ virtual void __unk_vfn_76(); + /*77*/ virtual void __unk_vfn_77(); + /*78*/ virtual bool mayPick(class BlockSource &, class Block const &, bool) const; + /*79*/ virtual void __unk_vfn_79(); + /*80*/ virtual bool mayPlace(class BlockSource &, class BlockPos const &) const; + /*81*/ virtual void __unk_vfn_81(); + /*82*/ virtual void __unk_vfn_82(); + /*83*/ virtual bool tryToPlace(class BlockSource &, class BlockPos const &, class Block const &, struct ActorBlockSyncMessage const *) const; + /*84*/ virtual bool breaksFallingBlocks(class Block const &) const; + /*85*/ virtual void __unk_vfn_85(); + /*86*/ virtual bool playerWillDestroy(class Player &, class BlockPos const &, class Block const &) const; + /*87*/ virtual void __unk_vfn_87(); + /*88*/ virtual void neighborChanged(class BlockSource &, class BlockPos const &, class BlockPos const &) const; + /*89*/ virtual void __unk_vfn_89(); + /*90*/ virtual void __unk_vfn_90(); + /*91*/ virtual class ItemInstance getResourceItem(class Random &, class Block const &, int) const; + /*92*/ virtual void __unk_vfn_92(); + /*93*/ virtual void spawnResources(class BlockSource &, class BlockPos const &, class Block const &, std::vector *, float, int, bool) const; + /*94*/ virtual void trySpawnResourcesOnExplosion(class BlockSource &, class BlockPos const &, class Block const &, std::vector *, float, int, bool) const; + /*95*/ virtual void __unk_vfn_95(); + /*96*/ virtual void __unk_vfn_96(); + /*97*/ virtual class HitResult clip(class BlockSource &, class BlockPos const &, class Vec3 const &, class Vec3 const &, bool) const; + /*98*/ virtual void __unk_vfn_98(); + /*99*/ virtual class Block const & getPlacementBlock(class Actor &, class BlockPos const &, unsigned char, class Vec3 const &, int) const; + /*100*/ virtual int calcVariant(class BlockSource &, class BlockPos const &) const; + /*101*/ virtual void __unk_vfn_101(); + /*102*/ virtual void __unk_vfn_102(); + /*103*/ virtual void __unk_vfn_103(); + /*104*/ virtual void __unk_vfn_104(); + /*105*/ virtual void playerDestroy(class Player &, class BlockPos const &, class Block const &) const; + /*106*/ virtual void __unk_vfn_106(); + /*107*/ virtual int getExperienceDrop(class Random &) const; + /*108*/ virtual bool canBeBuiltOver(class BlockSource &, class BlockPos const &) const; + /*109*/ virtual void triggerEvent(class BlockSource &, class BlockPos const &, int, int) const; + /*110*/ virtual void __unk_vfn_110(); + /*111*/ virtual void __unk_vfn_111(); + /*112*/ virtual class MobSpawnerData const * getMobToSpawn(class SpawnConditions const &, class BlockSource &) const; + /*113*/ virtual void __unk_vfn_113(); + /*114*/ virtual void __unk_vfn_114(); + /*115*/ virtual bool shouldStopFalling(class Actor &) const; + /*116*/ virtual void __unk_vfn_116(); + /*117*/ virtual float calcGroundFriction(class Mob &, class BlockPos const &) const; + /*118*/ virtual void __unk_vfn_118(); + /*119*/ virtual void __unk_vfn_119(); + /*120*/ virtual void __unk_vfn_120(); + /*121*/ virtual bool canSlide(class BlockSource &, class BlockPos const &) const; + /*122*/ virtual void __unk_vfn_122(); + /*123*/ virtual void __unk_vfn_123(); + /*124*/ virtual void __unk_vfn_124(); + /*125*/ virtual void __unk_vfn_125(); + /*126*/ virtual void __unk_vfn_126(); + /*127*/ virtual void __unk_vfn_127(); + /*128*/ virtual void __unk_vfn_128(); + /*129*/ virtual void __unk_vfn_129(); + /*130*/ virtual void __unk_vfn_130(); + /*131*/ virtual void __unk_vfn_131(); + /*132*/ virtual int getColorForParticle(class BlockSource &, class BlockPos const &, class Block const &) const; + /*133*/ virtual void __unk_vfn_133(); + /*134*/ virtual void onGraphicsModeChanged(bool, bool, bool); + /*135*/ virtual void __unk_vfn_135(); + /*136*/ virtual float getShadeBrightness() const; + /*137*/ virtual class AABB const & getVisualShapeInWorld(class Block const &, class BlockSource &, class BlockPos const &, class AABB &, bool) const; + /*138*/ virtual class AABB const & getVisualShape(class Block const &, class AABB &, bool) const; + /*139*/ virtual class AABB const & getUIShape(class Block const &, class AABB &) const; + /*140*/ virtual int telemetryVariant(class BlockSource &, class BlockPos const &) const; + /*141*/ virtual int getVariant(class Block const &) const; + /*142*/ virtual void __unk_vfn_142(); + /*143*/ virtual class Block const & getRenderBlock() const; + /*144*/ virtual void __unk_vfn_144(); + /*145*/ virtual void __unk_vfn_145(); + /*146*/ virtual void __unk_vfn_146(); + /*147*/ virtual class BlockLegacy & init(); + /*148*/ virtual class BlockLegacy & setLightBlock(struct Brightness); + /*149*/ virtual class BlockLegacy & setLightEmission(float); + /*150*/ virtual class BlockLegacy & setExplodeable(float); + /*151*/ virtual class BlockLegacy & setDestroyTime(float); + /*152*/ virtual class BlockLegacy & setFriction(float); + /*153*/ virtual class BlockLegacy & addProperty(enum BlockProperty); + /*154*/ virtual class BlockLegacy & addState(class ItemState const &); + /*155*/ virtual class BlockLegacy & addState(class ItemState const &, unsigned __int64); + /*156*/ virtual class BlockLegacy & setAllowsRunes(bool); + /*157*/ virtual class BlockLegacy & setMapColor(class Color const &); + /*158*/ virtual void __unk_vfn_158(); + /*159*/ virtual void __unk_vfn_159(); + /*160*/ virtual void setVisualShape(class AABB const &); + /*161*/ virtual void setVisualShape(class Vec3 const &, class Vec3 const &); + /*162*/ virtual void __unk_vfn_162(); + /*163*/ virtual void __unk_vfn_163(); + /*164*/ virtual class ItemInstance getEntityResourceItem(class Random &, class BlockActor const &, int) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_MOBSPAWNERBLOCK + MCVAPI bool canContainLiquid() const; + MCVAPI bool canProvideSupport(class Block const &, unsigned char, enum BlockSupportType) const; + MCVAPI int getResourceCount(class Random &, class Block const &, int, bool) const; + MCVAPI bool isInteractiveBlock() const; +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/MobSpawnerBlockActor.hpp b/LiteLoader/Header/MC/MobSpawnerBlockActor.hpp new file mode 100644 index 0000000..0461759 --- /dev/null +++ b/LiteLoader/Header/MC/MobSpawnerBlockActor.hpp @@ -0,0 +1,39 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "BlockActor.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class MobSpawnerBlockActor : public BlockActor { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_MOBSPAWNERBLOCKACTOR +public: + class MobSpawnerBlockActor& operator=(class MobSpawnerBlockActor const &) = delete; + MobSpawnerBlockActor(class MobSpawnerBlockActor const &) = delete; + MobSpawnerBlockActor() = delete; +#endif + +public: + /*0*/ virtual ~MobSpawnerBlockActor(); + /*1*/ virtual void load(class Level &, class CompoundTag const &, class DataLoadHelper &); + /*2*/ virtual bool save(class CompoundTag &) const; + /*7*/ virtual void tick(class BlockSource &); + /*13*/ virtual void __unk_vfn_13(); + /*17*/ virtual void __unk_vfn_17(); + /*29*/ virtual void __unk_vfn_29(); + /*30*/ virtual void __unk_vfn_30(); + /*32*/ virtual void __unk_vfn_32(); + /*33*/ virtual void __unk_vfn_33(); + /*34*/ virtual std::unique_ptr _getUpdatePacket(class BlockSource &); + /*35*/ virtual void _onUpdatePacket(class CompoundTag const &, class BlockSource &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_MOBSPAWNERBLOCKACTOR +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/MobSpawnerData.hpp b/LiteLoader/Header/MC/MobSpawnerData.hpp new file mode 100644 index 0000000..0c7d236 --- /dev/null +++ b/LiteLoader/Header/MC/MobSpawnerData.hpp @@ -0,0 +1,28 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class MobSpawnerData { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_MOBSPAWNERDATA +public: + class MobSpawnerData& operator=(class MobSpawnerData const &) = delete; + MobSpawnerData() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_MOBSPAWNERDATA +#endif + MCAPI MobSpawnerData(class MobSpawnerData const &); + MCAPI MobSpawnerData(class MobSpawnerData &&); + MCAPI ~MobSpawnerData(); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/MobSpawnerPermutation.hpp b/LiteLoader/Header/MC/MobSpawnerPermutation.hpp new file mode 100644 index 0000000..9b4af3a --- /dev/null +++ b/LiteLoader/Header/MC/MobSpawnerPermutation.hpp @@ -0,0 +1,27 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class MobSpawnerPermutation { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_MOBSPAWNERPERMUTATION +public: + class MobSpawnerPermutation& operator=(class MobSpawnerPermutation const &) = delete; + MobSpawnerPermutation(class MobSpawnerPermutation const &) = delete; + MobSpawnerPermutation() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_MOBSPAWNERPERMUTATION +#endif + MCAPI ~MobSpawnerPermutation(); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ModalFormRequestPacket.hpp b/LiteLoader/Header/MC/ModalFormRequestPacket.hpp new file mode 100644 index 0000000..a85b0c4 --- /dev/null +++ b/LiteLoader/Header/MC/ModalFormRequestPacket.hpp @@ -0,0 +1,32 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Packet.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ModalFormRequestPacket : public Packet { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_MODALFORMREQUESTPACKET +public: + class ModalFormRequestPacket& operator=(class ModalFormRequestPacket const &) = delete; + ModalFormRequestPacket(class ModalFormRequestPacket const &) = delete; + ModalFormRequestPacket() = delete; +#endif + +public: + /*0*/ virtual ~ModalFormRequestPacket(); + /*1*/ virtual enum MinecraftPacketIds getId() const; + /*2*/ virtual std::string getName() const; + /*3*/ virtual void write(class BinaryStream &) const; + /*4*/ virtual enum StreamReadResult read(class ReadOnlyBinaryStream &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_MODALFORMREQUESTPACKET +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ModalFormResponsePacket.hpp b/LiteLoader/Header/MC/ModalFormResponsePacket.hpp new file mode 100644 index 0000000..5ab8bff --- /dev/null +++ b/LiteLoader/Header/MC/ModalFormResponsePacket.hpp @@ -0,0 +1,32 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Packet.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ModalFormResponsePacket : public Packet { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_MODALFORMRESPONSEPACKET +public: + class ModalFormResponsePacket& operator=(class ModalFormResponsePacket const &) = delete; + ModalFormResponsePacket(class ModalFormResponsePacket const &) = delete; + ModalFormResponsePacket() = delete; +#endif + +public: + /*0*/ virtual ~ModalFormResponsePacket(); + /*1*/ virtual enum MinecraftPacketIds getId() const; + /*2*/ virtual std::string getName() const; + /*3*/ virtual void write(class BinaryStream &) const; + /*4*/ virtual enum StreamReadResult read(class ReadOnlyBinaryStream &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_MODALFORMRESPONSEPACKET +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/MolangArrayVariable.hpp b/LiteLoader/Header/MC/MolangArrayVariable.hpp new file mode 100644 index 0000000..80ef5a2 --- /dev/null +++ b/LiteLoader/Header/MC/MolangArrayVariable.hpp @@ -0,0 +1,27 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +struct MolangArrayVariable { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_MOLANGARRAYVARIABLE +public: + struct MolangArrayVariable& operator=(struct MolangArrayVariable const &) = delete; + MolangArrayVariable(struct MolangArrayVariable const &) = delete; + MolangArrayVariable() = delete; +#endif +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_MOLANGARRAYVARIABLE +#endif + MCAPI ~MolangArrayVariable(); + MCAPI static struct MolangArrayVariable defaultErrorValue; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/MolangDataDrivenGeometry.hpp b/LiteLoader/Header/MC/MolangDataDrivenGeometry.hpp new file mode 100644 index 0000000..f5af340 --- /dev/null +++ b/LiteLoader/Header/MC/MolangDataDrivenGeometry.hpp @@ -0,0 +1,26 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +struct MolangDataDrivenGeometry { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_MOLANGDATADRIVENGEOMETRY +public: + struct MolangDataDrivenGeometry& operator=(struct MolangDataDrivenGeometry const &) = delete; + MolangDataDrivenGeometry(struct MolangDataDrivenGeometry const &) = delete; + MolangDataDrivenGeometry() = delete; +#endif +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_MOLANGDATADRIVENGEOMETRY +#endif + MCAPI static struct MolangDataDrivenGeometry defaultErrorValue; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/MolangEntityVariable.hpp b/LiteLoader/Header/MC/MolangEntityVariable.hpp new file mode 100644 index 0000000..60508c6 --- /dev/null +++ b/LiteLoader/Header/MC/MolangEntityVariable.hpp @@ -0,0 +1,27 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +struct MolangEntityVariable { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_MOLANGENTITYVARIABLE +public: + struct MolangEntityVariable& operator=(struct MolangEntityVariable const &) = delete; + MolangEntityVariable(struct MolangEntityVariable const &) = delete; + MolangEntityVariable() = delete; +#endif +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_MOLANGENTITYVARIABLE +#endif + MCAPI ~MolangEntityVariable(); + MCAPI static struct MolangEntityVariable defaultErrorValue; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/MolangGenericQueryFunction.hpp b/LiteLoader/Header/MC/MolangGenericQueryFunction.hpp new file mode 100644 index 0000000..8ff6244 --- /dev/null +++ b/LiteLoader/Header/MC/MolangGenericQueryFunction.hpp @@ -0,0 +1,26 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +struct MolangGenericQueryFunction { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_MOLANGGENERICQUERYFUNCTION +public: + struct MolangGenericQueryFunction& operator=(struct MolangGenericQueryFunction const &) = delete; + MolangGenericQueryFunction(struct MolangGenericQueryFunction const &) = delete; + MolangGenericQueryFunction() = delete; +#endif +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_MOLANGGENERICQUERYFUNCTION +#endif + MCAPI ~MolangGenericQueryFunction(); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/MolangGenericQueryFunctionPtr.hpp b/LiteLoader/Header/MC/MolangGenericQueryFunctionPtr.hpp new file mode 100644 index 0000000..af1d027 --- /dev/null +++ b/LiteLoader/Header/MC/MolangGenericQueryFunctionPtr.hpp @@ -0,0 +1,27 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +struct MolangGenericQueryFunctionPtr { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_MOLANGGENERICQUERYFUNCTIONPTR +public: + struct MolangGenericQueryFunctionPtr& operator=(struct MolangGenericQueryFunctionPtr const &) = delete; + MolangGenericQueryFunctionPtr(struct MolangGenericQueryFunctionPtr const &) = delete; + MolangGenericQueryFunctionPtr() = delete; +#endif +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_MOLANGGENERICQUERYFUNCTIONPTR +#endif + MCAPI ~MolangGenericQueryFunctionPtr(); + MCAPI static struct MolangGenericQueryFunctionPtr defaultErrorValue; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/MolangGeometryVariable.hpp b/LiteLoader/Header/MC/MolangGeometryVariable.hpp new file mode 100644 index 0000000..e8ff5ec --- /dev/null +++ b/LiteLoader/Header/MC/MolangGeometryVariable.hpp @@ -0,0 +1,27 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +struct MolangGeometryVariable { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_MOLANGGEOMETRYVARIABLE +public: + struct MolangGeometryVariable& operator=(struct MolangGeometryVariable const &) = delete; + MolangGeometryVariable(struct MolangGeometryVariable const &) = delete; + MolangGeometryVariable() = delete; +#endif +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_MOLANGGEOMETRYVARIABLE +#endif + MCAPI ~MolangGeometryVariable(); + MCAPI static struct MolangGeometryVariable defaultErrorValue; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/MolangMaterialVariable.hpp b/LiteLoader/Header/MC/MolangMaterialVariable.hpp new file mode 100644 index 0000000..18dc05f --- /dev/null +++ b/LiteLoader/Header/MC/MolangMaterialVariable.hpp @@ -0,0 +1,27 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +struct MolangMaterialVariable { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_MOLANGMATERIALVARIABLE +public: + struct MolangMaterialVariable& operator=(struct MolangMaterialVariable const &) = delete; + MolangMaterialVariable(struct MolangMaterialVariable const &) = delete; + MolangMaterialVariable() = delete; +#endif +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_MOLANGMATERIALVARIABLE +#endif + MCAPI ~MolangMaterialVariable(); + MCAPI static struct MolangMaterialVariable defaultErrorValue; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/MolangQueryFunction.hpp b/LiteLoader/Header/MC/MolangQueryFunction.hpp new file mode 100644 index 0000000..d256479 --- /dev/null +++ b/LiteLoader/Header/MC/MolangQueryFunction.hpp @@ -0,0 +1,26 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +struct MolangQueryFunction { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_MOLANGQUERYFUNCTION +public: + struct MolangQueryFunction& operator=(struct MolangQueryFunction const &) = delete; + MolangQueryFunction(struct MolangQueryFunction const &) = delete; + MolangQueryFunction() = delete; +#endif +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_MOLANGQUERYFUNCTION +#endif + MCAPI ~MolangQueryFunction(); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/MolangQueryFunctionPtr.hpp b/LiteLoader/Header/MC/MolangQueryFunctionPtr.hpp new file mode 100644 index 0000000..2cd3cee --- /dev/null +++ b/LiteLoader/Header/MC/MolangQueryFunctionPtr.hpp @@ -0,0 +1,27 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +struct MolangQueryFunctionPtr { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_MOLANGQUERYFUNCTIONPTR +public: + struct MolangQueryFunctionPtr& operator=(struct MolangQueryFunctionPtr const &) = delete; + MolangQueryFunctionPtr(struct MolangQueryFunctionPtr const &) = delete; + MolangQueryFunctionPtr() = delete; +#endif +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_MOLANGQUERYFUNCTIONPTR +#endif + MCAPI ~MolangQueryFunctionPtr(); + MCAPI static struct MolangQueryFunctionPtr defaultErrorValue; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/MolangScriptArg.hpp b/LiteLoader/Header/MC/MolangScriptArg.hpp new file mode 100644 index 0000000..2ac07ab --- /dev/null +++ b/LiteLoader/Header/MC/MolangScriptArg.hpp @@ -0,0 +1,27 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +struct MolangScriptArg { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_MOLANGSCRIPTARG +public: + MolangScriptArg() = delete; +#endif +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_MOLANGSCRIPTARG +#endif + MCAPI MolangScriptArg(struct MolangScriptArg const &); + MCAPI MolangScriptArg(float); + MCAPI struct MolangScriptArg & operator=(struct MolangScriptArg const &); + MCAPI ~MolangScriptArg(); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/MolangTempVariable.hpp b/LiteLoader/Header/MC/MolangTempVariable.hpp new file mode 100644 index 0000000..a078a7f --- /dev/null +++ b/LiteLoader/Header/MC/MolangTempVariable.hpp @@ -0,0 +1,27 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +struct MolangTempVariable { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_MOLANGTEMPVARIABLE +public: + struct MolangTempVariable& operator=(struct MolangTempVariable const &) = delete; + MolangTempVariable(struct MolangTempVariable const &) = delete; + MolangTempVariable() = delete; +#endif +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_MOLANGTEMPVARIABLE +#endif + MCAPI ~MolangTempVariable(); + MCAPI static struct MolangTempVariable defaultErrorValue; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/MolangTextureVariable.hpp b/LiteLoader/Header/MC/MolangTextureVariable.hpp new file mode 100644 index 0000000..75a6131 --- /dev/null +++ b/LiteLoader/Header/MC/MolangTextureVariable.hpp @@ -0,0 +1,27 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +struct MolangTextureVariable { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_MOLANGTEXTUREVARIABLE +public: + struct MolangTextureVariable& operator=(struct MolangTextureVariable const &) = delete; + MolangTextureVariable(struct MolangTextureVariable const &) = delete; + MolangTextureVariable() = delete; +#endif +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_MOLANGTEXTUREVARIABLE +#endif + MCAPI ~MolangTextureVariable(); + MCAPI static struct MolangTextureVariable defaultErrorValue; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/MolangVariableMap.hpp b/LiteLoader/Header/MC/MolangVariableMap.hpp new file mode 100644 index 0000000..a9e3a47 --- /dev/null +++ b/LiteLoader/Header/MC/MolangVariableMap.hpp @@ -0,0 +1,31 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class MolangVariableMap { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_MOLANGVARIABLEMAP +public: + class MolangVariableMap& operator=(class MolangVariableMap const &) = delete; + MolangVariableMap(class MolangVariableMap const &) = delete; + MolangVariableMap() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_MOLANGVARIABLEMAP +#endif + MCAPI MolangVariableMap(unsigned __int64); + MCAPI float getMolangVariable(class HashedString const &) const; + MCAPI void setMolangVariable(class HashedString const &, float); + MCAPI void setMolangVariable(unsigned __int64, char const *, float); + MCAPI ~MolangVariableMap(); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/Monster.hpp b/LiteLoader/Header/MC/Monster.hpp new file mode 100644 index 0000000..31d704d --- /dev/null +++ b/LiteLoader/Header/MC/Monster.hpp @@ -0,0 +1,62 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Actor.hpp" +#include "Mob.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class Monster : public Mob { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_MONSTER +public: + class Monster& operator=(class Monster const &) = delete; + Monster(class Monster const &) = delete; + Monster() = delete; +#endif + +public: + /*7*/ virtual ~Monster(); + /*30*/ virtual void __unk_vfn_30(); + /*39*/ virtual void normalTick(); + /*54*/ virtual void __unk_vfn_54(); + /*61*/ virtual void __unk_vfn_61(); + /*76*/ virtual void __unk_vfn_76(); + /*81*/ virtual void __unk_vfn_81(); + /*88*/ virtual void __unk_vfn_88(); + /*90*/ virtual void __unk_vfn_90(); + /*98*/ virtual void __unk_vfn_98(); + /*100*/ virtual void __unk_vfn_100(); + /*103*/ virtual class Actor * findAttackTarget(); + /*121*/ virtual void __unk_vfn_121(); + /*169*/ virtual void __unk_vfn_169(); + /*182*/ virtual void __unk_vfn_182(); + /*206*/ virtual void __unk_vfn_206(); + /*207*/ virtual void __unk_vfn_207(); + /*228*/ virtual void __unk_vfn_228(); + /*231*/ virtual void __unk_vfn_231(); + /*238*/ virtual void __unk_vfn_238(); + /*240*/ virtual bool _hurt(class ActorDamageSource const &, int, bool, bool); + /*242*/ virtual void readAdditionalSaveData(class CompoundTag const &, class DataLoadHelper &); + /*243*/ virtual void addAdditionalSaveData(class CompoundTag &); + /*246*/ virtual void __unk_vfn_246(); + /*257*/ virtual void __unk_vfn_257(); + /*278*/ virtual void aiStep(); + /*282*/ virtual bool checkSpawnRules(bool); + /*290*/ virtual void __unk_vfn_290(); + /*300*/ virtual void __unk_vfn_300(); + /*330*/ virtual float _getWalkTargetValue(class BlockPos const &); + /*332*/ virtual void __unk_vfn_332(); + /*348*/ virtual void __unk_vfn_348(); + /*349*/ virtual bool isDarkEnoughToSpawn() const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_MONSTER + MCVAPI bool canExistInPeaceful() const; +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/MonsterEggBlock.hpp b/LiteLoader/Header/MC/MonsterEggBlock.hpp new file mode 100644 index 0000000..2203aa0 --- /dev/null +++ b/LiteLoader/Header/MC/MonsterEggBlock.hpp @@ -0,0 +1,66 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "BlockLegacy.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class MonsterEggBlock : public BlockLegacy { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_MONSTEREGGBLOCK +public: + class MonsterEggBlock& operator=(class MonsterEggBlock const &) = delete; + MonsterEggBlock(class MonsterEggBlock const &) = delete; + MonsterEggBlock() = delete; +#endif + +public: + /*0*/ virtual ~MonsterEggBlock(); + /*18*/ virtual void __unk_vfn_18(); + /*24*/ virtual void __unk_vfn_24(); + /*25*/ virtual void __unk_vfn_25(); + /*26*/ virtual void __unk_vfn_26(); + /*27*/ virtual void __unk_vfn_27(); + /*28*/ virtual void __unk_vfn_28(); + /*30*/ virtual void __unk_vfn_30(); + /*31*/ virtual void __unk_vfn_31(); + /*32*/ virtual void __unk_vfn_32(); + /*33*/ virtual void __unk_vfn_33(); + /*34*/ virtual void __unk_vfn_34(); + /*35*/ virtual void __unk_vfn_35(); + /*36*/ virtual void __unk_vfn_36(); + /*38*/ virtual void __unk_vfn_38(); + /*39*/ virtual void __unk_vfn_39(); + /*40*/ virtual void __unk_vfn_40(); + /*42*/ virtual void __unk_vfn_42(); + /*43*/ virtual void __unk_vfn_43(); + /*49*/ virtual void __unk_vfn_49(); + /*52*/ virtual void __unk_vfn_52(); + /*67*/ virtual void __unk_vfn_67(); + /*73*/ virtual void __unk_vfn_73(); + /*87*/ virtual void __unk_vfn_87(); + /*90*/ virtual int getResourceCount(class Random &, class Block const &, int, bool) const; + /*93*/ virtual void spawnResources(class BlockSource &, class BlockPos const &, class Block const &, std::vector *, float, int, bool) const; + /*95*/ virtual void __unk_vfn_95(); + /*109*/ virtual void __unk_vfn_109(); + /*116*/ virtual void __unk_vfn_116(); + /*118*/ virtual void __unk_vfn_118(); + /*119*/ virtual void __unk_vfn_119(); + /*127*/ virtual std::string buildDescriptionId(class Block const &) const; + /*128*/ virtual bool isAuxValueRelevantForPicking() const; + /*141*/ virtual int getVariant(class Block const &) const; + /*142*/ virtual void __unk_vfn_142(); + /*158*/ virtual void __unk_vfn_158(); + /*159*/ virtual class ItemInstance getSilkTouchItemInstance(class Block const &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_MONSTEREGGBLOCK +#endif + MCAPI static class Block const & getHostBlock(class Block const &); + MCAPI static bool isCompatibleHostBlock(class Block const &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/MonsterRoomFeature.hpp b/LiteLoader/Header/MC/MonsterRoomFeature.hpp new file mode 100644 index 0000000..48fcdd3 --- /dev/null +++ b/LiteLoader/Header/MC/MonsterRoomFeature.hpp @@ -0,0 +1,34 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Feature.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class MonsterRoomFeature : public Feature { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_MONSTERROOMFEATURE +public: + class MonsterRoomFeature& operator=(class MonsterRoomFeature const &) = delete; + MonsterRoomFeature(class MonsterRoomFeature const &) = delete; + MonsterRoomFeature() = delete; +#endif + +public: + /*0*/ virtual ~MonsterRoomFeature(); + /*1*/ virtual bool place(class BlockSource &, class BlockPos const &, class Random &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_MONSTERROOMFEATURE +#endif + +//private: + MCAPI unsigned short _getFacingDataId(class BlockSource &, class BlockPos const &, int, int) const; + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/MonumentBuilding.hpp b/LiteLoader/Header/MC/MonumentBuilding.hpp new file mode 100644 index 0000000..afd5c7f --- /dev/null +++ b/LiteLoader/Header/MC/MonumentBuilding.hpp @@ -0,0 +1,44 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "OceanMonumentPiece.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class MonumentBuilding : public OceanMonumentPiece { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_MONUMENTBUILDING +public: + class MonumentBuilding& operator=(class MonumentBuilding const &) = delete; + MonumentBuilding(class MonumentBuilding const &) = delete; + MonumentBuilding() = delete; +#endif + +public: + /*0*/ virtual ~MonumentBuilding(); + /*3*/ virtual enum StructurePieceType getType() const; + /*5*/ virtual bool postProcess(class BlockSource &, class Random &, class BoundingBox const &); + /*6*/ virtual void postProcessMobsAt(class BlockSource &, class Random &, class BoundingBox const &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_MONUMENTBUILDING +#endif + MCAPI MonumentBuilding(class Random &, int, int, int &); + +//private: + MCAPI void generateEntranceArchs(class BlockSource &, class Random &, class BoundingBox const &); + MCAPI void generateEntranceWall(class BlockSource &, class Random &, class BoundingBox const &); + MCAPI void generateLowerWall(class BlockSource &, class Random &, class BoundingBox const &); + MCAPI void generateMiddleWall(class BlockSource &, class Random &, class BoundingBox const &); + MCAPI void generateRoofPiece(class BlockSource &, class Random &, class BoundingBox const &); + MCAPI std::vector> generateRoomGraph(class Random &); + MCAPI void generateUpperWall(class BlockSource &, class Random &, class BoundingBox const &); + MCAPI void generateWing(bool, int, class BlockSource &, class Random &, class BoundingBox const &); + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/MonumentRoomFitter.hpp b/LiteLoader/Header/MC/MonumentRoomFitter.hpp new file mode 100644 index 0000000..53fb850 --- /dev/null +++ b/LiteLoader/Header/MC/MonumentRoomFitter.hpp @@ -0,0 +1,26 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class MonumentRoomFitter { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_MONUMENTROOMFITTER +public: + class MonumentRoomFitter& operator=(class MonumentRoomFitter const &) = delete; + MonumentRoomFitter(class MonumentRoomFitter const &) = delete; + MonumentRoomFitter() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_MONUMENTROOMFITTER +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/MossStoneSelector.hpp b/LiteLoader/Header/MC/MossStoneSelector.hpp new file mode 100644 index 0000000..9198ed7 --- /dev/null +++ b/LiteLoader/Header/MC/MossStoneSelector.hpp @@ -0,0 +1,28 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class MossStoneSelector { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_MOSSSTONESELECTOR +public: + class MossStoneSelector& operator=(class MossStoneSelector const &) = delete; + MossStoneSelector(class MossStoneSelector const &) = delete; +#endif + +public: + /*0*/ virtual ~MossStoneSelector(); + /*1*/ virtual class Block const & next(class Random &, int, int, int, bool) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_MOSSSTONESELECTOR +#endif + MCAPI MossStoneSelector(); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/Motive.hpp b/LiteLoader/Header/MC/Motive.hpp new file mode 100644 index 0000000..7b38d19 --- /dev/null +++ b/LiteLoader/Header/MC/Motive.hpp @@ -0,0 +1,59 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class Motive { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_MOTIVE +public: + class Motive& operator=(class Motive const &) = delete; + Motive(class Motive const &) = delete; + Motive() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_MOTIVE +#endif + MCAPI static std::vector getAllMotivesAsList(); + MCAPI static class Motive const & getMotiveByName(std::string const &); + MCAPI static class Motive const mAlban; + MCAPI static class Motive const mAztec; + MCAPI static class Motive const mAztec2; + MCAPI static class Motive const mBomb; + MCAPI static class Motive const mBurningSkull; + MCAPI static class Motive const mBust; + MCAPI static class Motive const mCourbet; + MCAPI static class Motive const mCreebet; + MCAPI static class Motive const & mDefaultImage; + MCAPI static class Motive const mDonkeyKong; + MCAPI static class Motive const mEarth; + MCAPI static class Motive const mFighters; + MCAPI static class Motive const mFire; + MCAPI static class Motive const mGraham; + MCAPI static class Motive const mKebab; + MCAPI static class Motive const mMatch; + MCAPI static class Motive const mPigscene; + MCAPI static class Motive const mPlant; + MCAPI static class Motive const mPointer; + MCAPI static class Motive const mPool; + MCAPI static class Motive const mSea; + MCAPI static class Motive const mSkeleton; + MCAPI static class Motive const mSkullAndRoses; + MCAPI static class Motive const mStage; + MCAPI static class Motive const mSunset; + MCAPI static class Motive const mVoid; + MCAPI static class Motive const mWanderer; + MCAPI static class Motive const mWasteland; + MCAPI static class Motive const mWater; + MCAPI static class Motive const mWind; + MCAPI static class Motive const mWither; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/MountPathingGoal.hpp b/LiteLoader/Header/MC/MountPathingGoal.hpp new file mode 100644 index 0000000..3bd8910 --- /dev/null +++ b/LiteLoader/Header/MC/MountPathingGoal.hpp @@ -0,0 +1,37 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class MountPathingGoal { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_MOUNTPATHINGGOAL +public: + class MountPathingGoal& operator=(class MountPathingGoal const &) = delete; + MountPathingGoal(class MountPathingGoal const &) = delete; + MountPathingGoal() = delete; +#endif + +public: + /*0*/ virtual ~MountPathingGoal(); + /*1*/ virtual bool canUse(); + /*2*/ virtual bool canContinueToUse(); + /*3*/ virtual void __unk_vfn_3(); + /*4*/ virtual void start(); + /*5*/ virtual void stop(); + /*6*/ virtual void tick(); + /*7*/ virtual void appendDebugInfo(std::string &) const; + /*8*/ virtual void __unk_vfn_8(); + /*9*/ virtual void __unk_vfn_9(); + /*10*/ virtual float _getAttackReachSqr(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_MOUNTPATHINGGOAL +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/MountTameableDefinition.hpp b/LiteLoader/Header/MC/MountTameableDefinition.hpp new file mode 100644 index 0000000..1d59ffa --- /dev/null +++ b/LiteLoader/Header/MC/MountTameableDefinition.hpp @@ -0,0 +1,29 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "JsonUtil.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class MountTameableDefinition { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_MOUNTTAMEABLEDEFINITION +public: + class MountTameableDefinition& operator=(class MountTameableDefinition const &) = delete; + MountTameableDefinition(class MountTameableDefinition const &) = delete; + MountTameableDefinition() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_MOUNTTAMEABLEDEFINITION +#endif + MCAPI ~MountTameableDefinition(); + MCAPI static void buildSchema(class std::shared_ptr> &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/MountTamingComponent.hpp b/LiteLoader/Header/MC/MountTamingComponent.hpp new file mode 100644 index 0000000..aff331a --- /dev/null +++ b/LiteLoader/Header/MC/MountTamingComponent.hpp @@ -0,0 +1,29 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class MountTamingComponent { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_MOUNTTAMINGCOMPONENT +public: + class MountTamingComponent& operator=(class MountTamingComponent const &) = delete; + MountTamingComponent(class MountTamingComponent const &) = delete; + MountTamingComponent() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_MOUNTTAMINGCOMPONENT +#endif + MCAPI void becomeTame(class Actor &, bool); + MCAPI bool getInteraction(class Actor &, class Player &, class ActorInteraction &); + MCAPI void tameToPlayer(class Actor &, class Player &, bool); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/MountTamingSystem.hpp b/LiteLoader/Header/MC/MountTamingSystem.hpp new file mode 100644 index 0000000..a78ae24 --- /dev/null +++ b/LiteLoader/Header/MC/MountTamingSystem.hpp @@ -0,0 +1,28 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class MountTamingSystem { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_MOUNTTAMINGSYSTEM +public: + class MountTamingSystem& operator=(class MountTamingSystem const &) = delete; + MountTamingSystem(class MountTamingSystem const &) = delete; + MountTamingSystem() = delete; +#endif + +public: + /*0*/ virtual ~MountTamingSystem(); + /*1*/ virtual void tick(class EntityRegistry &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_MOUNTTAMINGSYSTEM +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/MoveActorAbsoluteData.hpp b/LiteLoader/Header/MC/MoveActorAbsoluteData.hpp new file mode 100644 index 0000000..c3f3b5c --- /dev/null +++ b/LiteLoader/Header/MC/MoveActorAbsoluteData.hpp @@ -0,0 +1,29 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class MoveActorAbsoluteData { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_MOVEACTORABSOLUTEDATA +public: + class MoveActorAbsoluteData& operator=(class MoveActorAbsoluteData const &) = delete; + MoveActorAbsoluteData(class MoveActorAbsoluteData const &) = delete; + MoveActorAbsoluteData() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_MOVEACTORABSOLUTEDATA +#endif + MCAPI MoveActorAbsoluteData(class Actor const &); + MCAPI class MoveActorDeltaData calculateDelta(class MoveActorAbsoluteData const &) const; + MCAPI void setRot(class Vec2 const &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/MoveActorAbsolutePacket.hpp b/LiteLoader/Header/MC/MoveActorAbsolutePacket.hpp new file mode 100644 index 0000000..046c151 --- /dev/null +++ b/LiteLoader/Header/MC/MoveActorAbsolutePacket.hpp @@ -0,0 +1,32 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Packet.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class MoveActorAbsolutePacket : public Packet { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_MOVEACTORABSOLUTEPACKET +public: + class MoveActorAbsolutePacket& operator=(class MoveActorAbsolutePacket const &) = delete; + MoveActorAbsolutePacket(class MoveActorAbsolutePacket const &) = delete; + MoveActorAbsolutePacket() = delete; +#endif + +public: + /*0*/ virtual ~MoveActorAbsolutePacket(); + /*1*/ virtual enum MinecraftPacketIds getId() const; + /*2*/ virtual std::string getName() const; + /*3*/ virtual void write(class BinaryStream &) const; + /*4*/ virtual enum StreamReadResult read(class ReadOnlyBinaryStream &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_MOVEACTORABSOLUTEPACKET +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/MoveActorDeltaPacket.hpp b/LiteLoader/Header/MC/MoveActorDeltaPacket.hpp new file mode 100644 index 0000000..b9933bb --- /dev/null +++ b/LiteLoader/Header/MC/MoveActorDeltaPacket.hpp @@ -0,0 +1,32 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Packet.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class MoveActorDeltaPacket : public Packet { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_MOVEACTORDELTAPACKET +public: + class MoveActorDeltaPacket& operator=(class MoveActorDeltaPacket const &) = delete; + MoveActorDeltaPacket(class MoveActorDeltaPacket const &) = delete; + MoveActorDeltaPacket() = delete; +#endif + +public: + /*0*/ virtual ~MoveActorDeltaPacket(); + /*1*/ virtual enum MinecraftPacketIds getId() const; + /*2*/ virtual std::string getName() const; + /*3*/ virtual void write(class BinaryStream &) const; + /*4*/ virtual enum StreamReadResult read(class ReadOnlyBinaryStream &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_MOVEACTORDELTAPACKET +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/MoveControl.hpp b/LiteLoader/Header/MC/MoveControl.hpp new file mode 100644 index 0000000..1145390 --- /dev/null +++ b/LiteLoader/Header/MC/MoveControl.hpp @@ -0,0 +1,38 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class MoveControl { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_MOVECONTROL +public: + class MoveControl& operator=(class MoveControl const &) = delete; + MoveControl(class MoveControl const &) = delete; + MoveControl() = delete; +#endif + +public: + /*0*/ virtual ~MoveControl(); + /*1*/ virtual void initializeInternal(class Mob &, struct MoveControlDescription *); + /*2*/ virtual void tick(class MoveControlComponent &, class Mob &); + /*3*/ virtual void setWantedPosition(class MoveControlComponent &, class Mob &, class Vec3 const &, float); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_MOVECONTROL +#endif + MCAPI static float const MIN_DELTA_TO_MOVE; + MCAPI static float const MIN_SPEED_SQR; + +//protected: + MCAPI float calculateMoveSpeed(class MoveControlComponent const &, class Mob &, class Vec3 const &, float); + MCAPI float calculateYRotation(class MoveControlComponent const &, class Mob const &, class Vec3 const &, float); + +protected: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/MoveControlBasicDescription.hpp b/LiteLoader/Header/MC/MoveControlBasicDescription.hpp new file mode 100644 index 0000000..a5227bb --- /dev/null +++ b/LiteLoader/Header/MC/MoveControlBasicDescription.hpp @@ -0,0 +1,30 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Json.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +struct MoveControlBasicDescription { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_MOVECONTROLBASICDESCRIPTION +public: + struct MoveControlBasicDescription& operator=(struct MoveControlBasicDescription const &) = delete; + MoveControlBasicDescription(struct MoveControlBasicDescription const &) = delete; + MoveControlBasicDescription() = delete; +#endif +public: + /*0*/ virtual char const * getJsonName() const; + /*1*/ virtual ~MoveControlBasicDescription(); + /*2*/ virtual void deserializeData(class Json::Value &); + /*3*/ virtual void serializeData(class Json::Value &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_MOVECONTROLBASICDESCRIPTION +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/MoveControlComponent.hpp b/LiteLoader/Header/MC/MoveControlComponent.hpp new file mode 100644 index 0000000..c754ed8 --- /dev/null +++ b/LiteLoader/Header/MC/MoveControlComponent.hpp @@ -0,0 +1,28 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class MoveControlComponent { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_MOVECONTROLCOMPONENT +public: + class MoveControlComponent& operator=(class MoveControlComponent const &) = delete; + MoveControlComponent(class MoveControlComponent const &) = delete; + MoveControlComponent() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_MOVECONTROLCOMPONENT +#endif + MCAPI void initializeFromDefinition(class Mob &, struct MoveControlDescription *); + MCAPI void setInternalType(std::unique_ptr); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/MoveControlDescription.hpp b/LiteLoader/Header/MC/MoveControlDescription.hpp new file mode 100644 index 0000000..3fc0b3e --- /dev/null +++ b/LiteLoader/Header/MC/MoveControlDescription.hpp @@ -0,0 +1,27 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +struct MoveControlDescription { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_MOVECONTROLDESCRIPTION +public: + struct MoveControlDescription& operator=(struct MoveControlDescription const &) = delete; + MoveControlDescription(struct MoveControlDescription const &) = delete; + MoveControlDescription() = delete; +#endif +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_MOVECONTROLDESCRIPTION + MCVAPI void deserializeData(class Json::Value &); + MCVAPI void serializeData(class Json::Value &) const; +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/MoveControlDolphinDescription.hpp b/LiteLoader/Header/MC/MoveControlDolphinDescription.hpp new file mode 100644 index 0000000..2bdf1f3 --- /dev/null +++ b/LiteLoader/Header/MC/MoveControlDolphinDescription.hpp @@ -0,0 +1,30 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Json.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +struct MoveControlDolphinDescription { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_MOVECONTROLDOLPHINDESCRIPTION +public: + struct MoveControlDolphinDescription& operator=(struct MoveControlDolphinDescription const &) = delete; + MoveControlDolphinDescription(struct MoveControlDolphinDescription const &) = delete; + MoveControlDolphinDescription() = delete; +#endif +public: + /*0*/ virtual char const * getJsonName() const; + /*1*/ virtual ~MoveControlDolphinDescription(); + /*2*/ virtual void deserializeData(class Json::Value &); + /*3*/ virtual void serializeData(class Json::Value &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_MOVECONTROLDOLPHINDESCRIPTION +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/MoveControlFlyDescription.hpp b/LiteLoader/Header/MC/MoveControlFlyDescription.hpp new file mode 100644 index 0000000..47c6a6f --- /dev/null +++ b/LiteLoader/Header/MC/MoveControlFlyDescription.hpp @@ -0,0 +1,30 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Json.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +struct MoveControlFlyDescription { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_MOVECONTROLFLYDESCRIPTION +public: + struct MoveControlFlyDescription& operator=(struct MoveControlFlyDescription const &) = delete; + MoveControlFlyDescription(struct MoveControlFlyDescription const &) = delete; + MoveControlFlyDescription() = delete; +#endif +public: + /*0*/ virtual char const * getJsonName() const; + /*1*/ virtual ~MoveControlFlyDescription(); + /*2*/ virtual void deserializeData(class Json::Value &); + /*3*/ virtual void serializeData(class Json::Value &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_MOVECONTROLFLYDESCRIPTION +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/MoveControlHoverDescription.hpp b/LiteLoader/Header/MC/MoveControlHoverDescription.hpp new file mode 100644 index 0000000..96b351d --- /dev/null +++ b/LiteLoader/Header/MC/MoveControlHoverDescription.hpp @@ -0,0 +1,30 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Json.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +struct MoveControlHoverDescription { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_MOVECONTROLHOVERDESCRIPTION +public: + struct MoveControlHoverDescription& operator=(struct MoveControlHoverDescription const &) = delete; + MoveControlHoverDescription(struct MoveControlHoverDescription const &) = delete; + MoveControlHoverDescription() = delete; +#endif +public: + /*0*/ virtual char const * getJsonName() const; + /*1*/ virtual ~MoveControlHoverDescription(); + /*2*/ virtual void deserializeData(class Json::Value &); + /*3*/ virtual void serializeData(class Json::Value &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_MOVECONTROLHOVERDESCRIPTION +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/MoveControlSkipDescription.hpp b/LiteLoader/Header/MC/MoveControlSkipDescription.hpp new file mode 100644 index 0000000..6e9e6a7 --- /dev/null +++ b/LiteLoader/Header/MC/MoveControlSkipDescription.hpp @@ -0,0 +1,30 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Json.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +struct MoveControlSkipDescription { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_MOVECONTROLSKIPDESCRIPTION +public: + struct MoveControlSkipDescription& operator=(struct MoveControlSkipDescription const &) = delete; + MoveControlSkipDescription(struct MoveControlSkipDescription const &) = delete; + MoveControlSkipDescription() = delete; +#endif +public: + /*0*/ virtual char const * getJsonName() const; + /*1*/ virtual ~MoveControlSkipDescription(); + /*2*/ virtual void deserializeData(class Json::Value &); + /*3*/ virtual void serializeData(class Json::Value &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_MOVECONTROLSKIPDESCRIPTION +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/MoveControlSwayDescription.hpp b/LiteLoader/Header/MC/MoveControlSwayDescription.hpp new file mode 100644 index 0000000..d962e91 --- /dev/null +++ b/LiteLoader/Header/MC/MoveControlSwayDescription.hpp @@ -0,0 +1,30 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Json.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +struct MoveControlSwayDescription { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_MOVECONTROLSWAYDESCRIPTION +public: + struct MoveControlSwayDescription& operator=(struct MoveControlSwayDescription const &) = delete; + MoveControlSwayDescription(struct MoveControlSwayDescription const &) = delete; + MoveControlSwayDescription() = delete; +#endif +public: + /*0*/ virtual char const * getJsonName() const; + /*1*/ virtual ~MoveControlSwayDescription(); + /*2*/ virtual void deserializeData(class Json::Value &); + /*3*/ virtual void serializeData(class Json::Value &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_MOVECONTROLSWAYDESCRIPTION +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/MoveControlSystem.hpp b/LiteLoader/Header/MC/MoveControlSystem.hpp new file mode 100644 index 0000000..6c8821b --- /dev/null +++ b/LiteLoader/Header/MC/MoveControlSystem.hpp @@ -0,0 +1,28 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class MoveControlSystem { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_MOVECONTROLSYSTEM +public: + class MoveControlSystem& operator=(class MoveControlSystem const &) = delete; + MoveControlSystem(class MoveControlSystem const &) = delete; + MoveControlSystem() = delete; +#endif + +public: + /*0*/ virtual ~MoveControlSystem(); + /*1*/ virtual void tick(class EntityRegistry &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_MOVECONTROLSYSTEM +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/MoveDefinition.hpp b/LiteLoader/Header/MC/MoveDefinition.hpp new file mode 100644 index 0000000..ba8b9ee --- /dev/null +++ b/LiteLoader/Header/MC/MoveDefinition.hpp @@ -0,0 +1,30 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Json.hpp" +#include "BehaviorDefinition.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class MoveDefinition : public BehaviorDefinition { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_MOVEDEFINITION +public: + class MoveDefinition& operator=(class MoveDefinition const &) = delete; + MoveDefinition(class MoveDefinition const &) = delete; + MoveDefinition() = delete; +#endif + +public: + /*0*/ virtual ~MoveDefinition(); + /*1*/ virtual void load(class Json::Value, class BehaviorFactory const &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_MOVEDEFINITION +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/MoveIndoorsGoal.hpp b/LiteLoader/Header/MC/MoveIndoorsGoal.hpp new file mode 100644 index 0000000..1884763 --- /dev/null +++ b/LiteLoader/Header/MC/MoveIndoorsGoal.hpp @@ -0,0 +1,40 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class MoveIndoorsGoal { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_MOVEINDOORSGOAL +public: + class MoveIndoorsGoal& operator=(class MoveIndoorsGoal const &) = delete; + MoveIndoorsGoal(class MoveIndoorsGoal const &) = delete; + MoveIndoorsGoal() = delete; +#endif + +public: + /*0*/ virtual ~MoveIndoorsGoal(); + /*1*/ virtual bool canUse(); + /*2*/ virtual bool canContinueToUse(); + /*3*/ virtual void __unk_vfn_3(); + /*4*/ virtual void start(); + /*5*/ virtual void stop(); + /*6*/ virtual void tick(); + /*7*/ virtual void appendDebugInfo(std::string &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_MOVEINDOORSGOAL +#endif + +//private: + MCAPI bool _isInside(class BlockPos const &); + MCAPI void _startPathfinding(); + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/MoveInput.hpp b/LiteLoader/Header/MC/MoveInput.hpp new file mode 100644 index 0000000..b7b8e4b --- /dev/null +++ b/LiteLoader/Header/MC/MoveInput.hpp @@ -0,0 +1,43 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class MoveInput { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_MOVEINPUT +public: + class MoveInput& operator=(class MoveInput const &) = delete; + MoveInput(class MoveInput const &) = delete; + MoveInput() = delete; +#endif + +public: + /*0*/ virtual ~MoveInput(); + /*1*/ virtual void tick(class Player &); + /*2*/ virtual void __unk_vfn_2(); + /*3*/ virtual void __unk_vfn_3(); + /*4*/ virtual void clearInputState(); + /*5*/ virtual void __unk_vfn_5(); + /*6*/ virtual bool allowPicking(float, float); + /*7*/ virtual void setJumping(bool); + /*8*/ virtual void setAutoJumpingInWater(bool); + /*9*/ virtual bool isChangeHeight() const; + /*10*/ virtual void setSneakDown(bool); + /*11*/ virtual bool isPlayerMoving() const; + /*12*/ virtual class Vec3 const & getGazeDirection() const; + /*13*/ virtual void fillInputPacket(class PlayerAuthInputPacket &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_MOVEINPUT + MCVAPI void clearMovementState(); + MCVAPI void render(float); + MCVAPI void setKey(int, bool); +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/MoveInputHandler.hpp b/LiteLoader/Header/MC/MoveInputHandler.hpp new file mode 100644 index 0000000..bdb1967 --- /dev/null +++ b/LiteLoader/Header/MC/MoveInputHandler.hpp @@ -0,0 +1,32 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class MoveInputHandler { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_MOVEINPUTHANDLER +public: + class MoveInputHandler& operator=(class MoveInputHandler const &) = delete; + MoveInputHandler(class MoveInputHandler const &) = delete; + MoveInputHandler() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_MOVEINPUTHANDLER + MCVAPI void clearInputState(); + MCVAPI void fillInputPacket(class PlayerAuthInputPacket &); + MCVAPI class Vec3 const & getGazeDirection() const; + MCVAPI bool isChangeHeight() const; + MCVAPI bool isPlayerMoving() const; + MCVAPI void tick(class Player &); +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/MoveNode.hpp b/LiteLoader/Header/MC/MoveNode.hpp new file mode 100644 index 0000000..72c2e7a --- /dev/null +++ b/LiteLoader/Header/MC/MoveNode.hpp @@ -0,0 +1,34 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class MoveNode { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_MOVENODE +public: + class MoveNode& operator=(class MoveNode const &) = delete; + MoveNode(class MoveNode const &) = delete; + MoveNode() = delete; +#endif + +public: + /*0*/ virtual ~MoveNode(); + /*1*/ virtual enum BehaviorStatus tick(class Actor &); + /*2*/ virtual void initializeFromDefinition(class Actor &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_MOVENODE +#endif + +//private: + MCAPI unsigned char convertDirectionStringToKeyPress(std::string); + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/MovePlayerPacket.hpp b/LiteLoader/Header/MC/MovePlayerPacket.hpp new file mode 100644 index 0000000..2d95c6f --- /dev/null +++ b/LiteLoader/Header/MC/MovePlayerPacket.hpp @@ -0,0 +1,35 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Player.hpp" +#include "Packet.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class MovePlayerPacket : public Packet { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_MOVEPLAYERPACKET +public: + class MovePlayerPacket& operator=(class MovePlayerPacket const &) = delete; + MovePlayerPacket(class MovePlayerPacket const &) = delete; + MovePlayerPacket() = delete; +#endif + +public: + /*0*/ virtual ~MovePlayerPacket(); + /*1*/ virtual enum MinecraftPacketIds getId() const; + /*2*/ virtual std::string getName() const; + /*3*/ virtual void write(class BinaryStream &) const; + /*4*/ virtual enum StreamReadResult read(class ReadOnlyBinaryStream &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_MOVEPLAYERPACKET +#endif + MCAPI MovePlayerPacket(class Player &, class Vec3 const &); + MCAPI MovePlayerPacket(class Player &, enum Player::PositionMode, int, int); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/MoveThroughVillageGoal.hpp b/LiteLoader/Header/MC/MoveThroughVillageGoal.hpp new file mode 100644 index 0000000..edf00fc --- /dev/null +++ b/LiteLoader/Header/MC/MoveThroughVillageGoal.hpp @@ -0,0 +1,34 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class MoveThroughVillageGoal { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_MOVETHROUGHVILLAGEGOAL +public: + class MoveThroughVillageGoal& operator=(class MoveThroughVillageGoal const &) = delete; + MoveThroughVillageGoal(class MoveThroughVillageGoal const &) = delete; + MoveThroughVillageGoal() = delete; +#endif + +public: + /*0*/ virtual ~MoveThroughVillageGoal(); + /*1*/ virtual bool canUse(); + /*2*/ virtual bool canContinueToUse(); + /*3*/ virtual void __unk_vfn_3(); + /*4*/ virtual void start(); + /*5*/ virtual void stop(); + /*6*/ virtual void __unk_vfn_6(); + /*7*/ virtual void appendDebugInfo(std::string &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_MOVETHROUGHVILLAGEGOAL +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/MoveToBlockGoal.hpp b/LiteLoader/Header/MC/MoveToBlockGoal.hpp new file mode 100644 index 0000000..bacbbe6 --- /dev/null +++ b/LiteLoader/Header/MC/MoveToBlockGoal.hpp @@ -0,0 +1,42 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class MoveToBlockGoal { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_MOVETOBLOCKGOAL +public: + class MoveToBlockGoal& operator=(class MoveToBlockGoal const &) = delete; + MoveToBlockGoal(class MoveToBlockGoal const &) = delete; + MoveToBlockGoal() = delete; +#endif + +public: + /*0*/ virtual ~MoveToBlockGoal(); + /*1*/ virtual bool canUse(); + /*2*/ virtual bool canContinueToUse(); + /*3*/ virtual void __unk_vfn_3(); + /*4*/ virtual void start(); + /*5*/ virtual void stop(); + /*6*/ virtual void tick(); + /*7*/ virtual void appendDebugInfo(std::string &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_MOVETOBLOCKGOAL +#endif + +//private: + MCAPI bool _findTargetBlock(); + MCAPI bool _isValidTarget(class Block const &) const; + MCAPI void _moveToBlock(); + MCAPI bool _pathIsValid(class Path const *); + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/MoveToDefinition.hpp b/LiteLoader/Header/MC/MoveToDefinition.hpp new file mode 100644 index 0000000..0d1bc56 --- /dev/null +++ b/LiteLoader/Header/MC/MoveToDefinition.hpp @@ -0,0 +1,30 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Json.hpp" +#include "BehaviorDefinition.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class MoveToDefinition : public BehaviorDefinition { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_MOVETODEFINITION +public: + class MoveToDefinition& operator=(class MoveToDefinition const &) = delete; + MoveToDefinition(class MoveToDefinition const &) = delete; + MoveToDefinition() = delete; +#endif + +public: + /*0*/ virtual ~MoveToDefinition(); + /*1*/ virtual void load(class Json::Value, class BehaviorFactory const &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_MOVETODEFINITION +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/MoveToLandGoal.hpp b/LiteLoader/Header/MC/MoveToLandGoal.hpp new file mode 100644 index 0000000..fd40263 --- /dev/null +++ b/LiteLoader/Header/MC/MoveToLandGoal.hpp @@ -0,0 +1,45 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "BaseMoveToBlockGoal.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class MoveToLandGoal : public BaseMoveToBlockGoal { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_MOVETOLANDGOAL +public: + class MoveToLandGoal& operator=(class MoveToLandGoal const &) = delete; + MoveToLandGoal(class MoveToLandGoal const &) = delete; + MoveToLandGoal() = delete; +#endif + +public: + /*0*/ virtual ~MoveToLandGoal(); + /*1*/ virtual bool canUse(); + /*2*/ virtual bool canContinueToUse(); + /*3*/ virtual void __unk_vfn_3(); + /*4*/ virtual void start(); + /*5*/ virtual void __unk_vfn_5(); + /*6*/ virtual void tick(); + /*7*/ virtual void appendDebugInfo(std::string &) const; + /*8*/ virtual void __unk_vfn_8(); + /*9*/ virtual void __unk_vfn_9(); + /*10*/ virtual bool hasReachedTarget() const; + /*11*/ virtual bool isValidTarget(class BlockSource &, class BlockPos const &); + /*12*/ virtual int _nextStartTick(); + /*13*/ virtual bool _canReach(class BlockPos const &); + /*14*/ virtual void _moveToBlock(); + /*15*/ virtual class Vec3 _getTargetPosition() const; + /*16*/ virtual void __unk_vfn_16(); + /*17*/ virtual bool findTargetBlock(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_MOVETOLANDGOAL +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/MoveToLavaGoal.hpp b/LiteLoader/Header/MC/MoveToLavaGoal.hpp new file mode 100644 index 0000000..094c4e5 --- /dev/null +++ b/LiteLoader/Header/MC/MoveToLavaGoal.hpp @@ -0,0 +1,45 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "BaseMoveToBlockGoal.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class MoveToLavaGoal : public BaseMoveToBlockGoal { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_MOVETOLAVAGOAL +public: + class MoveToLavaGoal& operator=(class MoveToLavaGoal const &) = delete; + MoveToLavaGoal(class MoveToLavaGoal const &) = delete; + MoveToLavaGoal() = delete; +#endif + +public: + /*0*/ virtual ~MoveToLavaGoal(); + /*1*/ virtual bool canUse(); + /*2*/ virtual bool canContinueToUse(); + /*3*/ virtual void __unk_vfn_3(); + /*4*/ virtual void start(); + /*5*/ virtual void __unk_vfn_5(); + /*6*/ virtual void tick(); + /*7*/ virtual void appendDebugInfo(std::string &) const; + /*8*/ virtual void __unk_vfn_8(); + /*9*/ virtual void __unk_vfn_9(); + /*10*/ virtual bool hasReachedTarget() const; + /*11*/ virtual bool isValidTarget(class BlockSource &, class BlockPos const &); + /*12*/ virtual int _nextStartTick(); + /*13*/ virtual bool _canReach(class BlockPos const &); + /*14*/ virtual void _moveToBlock(); + /*15*/ virtual class Vec3 _getTargetPosition() const; + /*16*/ virtual void __unk_vfn_16(); + /*17*/ virtual bool findTargetBlock(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_MOVETOLAVAGOAL +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/MoveToLiquidGoal.hpp b/LiteLoader/Header/MC/MoveToLiquidGoal.hpp new file mode 100644 index 0000000..e938e21 --- /dev/null +++ b/LiteLoader/Header/MC/MoveToLiquidGoal.hpp @@ -0,0 +1,30 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class MoveToLiquidGoal { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_MOVETOLIQUIDGOAL +public: + class MoveToLiquidGoal& operator=(class MoveToLiquidGoal const &) = delete; + MoveToLiquidGoal(class MoveToLiquidGoal const &) = delete; + MoveToLiquidGoal() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_MOVETOLIQUIDGOAL + MCVAPI void appendDebugInfo(std::string &) const; + MCVAPI bool canContinueToUse(); + MCVAPI bool canUse(); + MCVAPI bool isValidTarget(class BlockSource &, class BlockPos const &); +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/MoveToNode.hpp b/LiteLoader/Header/MC/MoveToNode.hpp new file mode 100644 index 0000000..98d2eec --- /dev/null +++ b/LiteLoader/Header/MC/MoveToNode.hpp @@ -0,0 +1,29 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class MoveToNode { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_MOVETONODE +public: + class MoveToNode& operator=(class MoveToNode const &) = delete; + MoveToNode(class MoveToNode const &) = delete; + MoveToNode() = delete; +#endif + +public: + /*0*/ virtual ~MoveToNode(); + /*1*/ virtual enum BehaviorStatus tick(class Actor &); + /*2*/ virtual void initializeFromDefinition(class Actor &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_MOVETONODE +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/MoveToPOIGoal.hpp b/LiteLoader/Header/MC/MoveToPOIGoal.hpp new file mode 100644 index 0000000..81c7993 --- /dev/null +++ b/LiteLoader/Header/MC/MoveToPOIGoal.hpp @@ -0,0 +1,46 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "BaseMoveToGoal.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class MoveToPOIGoal : public BaseMoveToGoal { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_MOVETOPOIGOAL +public: + class MoveToPOIGoal& operator=(class MoveToPOIGoal const &) = delete; + MoveToPOIGoal(class MoveToPOIGoal const &) = delete; + MoveToPOIGoal() = delete; +#endif + +public: + /*0*/ virtual ~MoveToPOIGoal(); + /*1*/ virtual bool canUse(); + /*3*/ virtual void __unk_vfn_3(); + /*5*/ virtual void stop(); + /*6*/ virtual void tick(); + /*7*/ virtual void appendDebugInfo(std::string &) const; + /*8*/ virtual void __unk_vfn_8(); + /*9*/ virtual void __unk_vfn_9(); + /*11*/ virtual bool isValidTarget(class BlockSource &, class BlockPos const &); + /*14*/ virtual void _moveToBlock(); + /*15*/ virtual class Vec3 _getTargetPosition() const; + /*17*/ virtual bool getPOI(enum POIType); + /*18*/ virtual class std::weak_ptr _getOwnedPOI(enum POIType) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_MOVETOPOIGOAL +#endif + MCAPI MoveToPOIGoal(class Mob &, float, enum POIType, float); + +//protected: + MCAPI bool _canReachPOI(class Vec3 const &, float, bool); + +protected: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/MoveToRandomBlockGoal.hpp b/LiteLoader/Header/MC/MoveToRandomBlockGoal.hpp new file mode 100644 index 0000000..b6e3f10 --- /dev/null +++ b/LiteLoader/Header/MC/MoveToRandomBlockGoal.hpp @@ -0,0 +1,39 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class MoveToRandomBlockGoal { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_MOVETORANDOMBLOCKGOAL +public: + class MoveToRandomBlockGoal& operator=(class MoveToRandomBlockGoal const &) = delete; + MoveToRandomBlockGoal(class MoveToRandomBlockGoal const &) = delete; + MoveToRandomBlockGoal() = delete; +#endif + +public: + /*0*/ virtual ~MoveToRandomBlockGoal(); + /*1*/ virtual bool canUse(); + /*2*/ virtual bool canContinueToUse(); + /*3*/ virtual void __unk_vfn_3(); + /*4*/ virtual void start(); + /*5*/ virtual void stop(); + /*6*/ virtual void tick(); + /*7*/ virtual void appendDebugInfo(std::string &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_MOVETORANDOMBLOCKGOAL +#endif + +//private: + MCAPI bool _isValidDestinationBlock(class BlockSource &, class BlockPos const &); + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/MoveToVillageGoal.hpp b/LiteLoader/Header/MC/MoveToVillageGoal.hpp new file mode 100644 index 0000000..6e11572 --- /dev/null +++ b/LiteLoader/Header/MC/MoveToVillageGoal.hpp @@ -0,0 +1,44 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "BaseMoveToGoal.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class MoveToVillageGoal : public BaseMoveToGoal { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_MOVETOVILLAGEGOAL +public: + class MoveToVillageGoal& operator=(class MoveToVillageGoal const &) = delete; + MoveToVillageGoal(class MoveToVillageGoal const &) = delete; + MoveToVillageGoal() = delete; +#endif + +public: + /*0*/ virtual ~MoveToVillageGoal(); + /*1*/ virtual bool canUse(); + /*2*/ virtual bool canContinueToUse(); + /*3*/ virtual void __unk_vfn_3(); + /*4*/ virtual void start(); + /*6*/ virtual void tick(); + /*7*/ virtual void appendDebugInfo(std::string &) const; + /*8*/ virtual void __unk_vfn_8(); + /*9*/ virtual void __unk_vfn_9(); + /*11*/ virtual bool isValidTarget(class BlockSource &, class BlockPos const &); + /*14*/ virtual void _moveToBlock(); + /*17*/ virtual class BlockPos _selectRandomPosInVillage(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_MOVETOVILLAGEGOAL +#endif + +//protected: + MCAPI class std::shared_ptr _tryGetCurrentVillage(); + +protected: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/MoveToWaterGoal.hpp b/LiteLoader/Header/MC/MoveToWaterGoal.hpp new file mode 100644 index 0000000..4c3af24 --- /dev/null +++ b/LiteLoader/Header/MC/MoveToWaterGoal.hpp @@ -0,0 +1,45 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "BaseMoveToBlockGoal.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class MoveToWaterGoal : public BaseMoveToBlockGoal { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_MOVETOWATERGOAL +public: + class MoveToWaterGoal& operator=(class MoveToWaterGoal const &) = delete; + MoveToWaterGoal(class MoveToWaterGoal const &) = delete; + MoveToWaterGoal() = delete; +#endif + +public: + /*0*/ virtual ~MoveToWaterGoal(); + /*1*/ virtual bool canUse(); + /*2*/ virtual bool canContinueToUse(); + /*3*/ virtual void __unk_vfn_3(); + /*4*/ virtual void start(); + /*5*/ virtual void __unk_vfn_5(); + /*6*/ virtual void tick(); + /*7*/ virtual void appendDebugInfo(std::string &) const; + /*8*/ virtual void __unk_vfn_8(); + /*9*/ virtual void __unk_vfn_9(); + /*10*/ virtual bool hasReachedTarget() const; + /*11*/ virtual bool isValidTarget(class BlockSource &, class BlockPos const &); + /*12*/ virtual int _nextStartTick(); + /*13*/ virtual bool _canReach(class BlockPos const &); + /*14*/ virtual void _moveToBlock(); + /*15*/ virtual class Vec3 _getTargetPosition() const; + /*16*/ virtual void __unk_vfn_16(); + /*17*/ virtual bool findTargetBlock(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_MOVETOWATERGOAL +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/MoveTowardsRestrictionGoal.hpp b/LiteLoader/Header/MC/MoveTowardsRestrictionGoal.hpp new file mode 100644 index 0000000..6b02172 --- /dev/null +++ b/LiteLoader/Header/MC/MoveTowardsRestrictionGoal.hpp @@ -0,0 +1,34 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class MoveTowardsRestrictionGoal { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_MOVETOWARDSRESTRICTIONGOAL +public: + class MoveTowardsRestrictionGoal& operator=(class MoveTowardsRestrictionGoal const &) = delete; + MoveTowardsRestrictionGoal(class MoveTowardsRestrictionGoal const &) = delete; + MoveTowardsRestrictionGoal() = delete; +#endif + +public: + /*0*/ virtual ~MoveTowardsRestrictionGoal(); + /*1*/ virtual bool canUse(); + /*2*/ virtual bool canContinueToUse(); + /*3*/ virtual void __unk_vfn_3(); + /*4*/ virtual void start(); + /*5*/ virtual void __unk_vfn_5(); + /*6*/ virtual void __unk_vfn_6(); + /*7*/ virtual void appendDebugInfo(std::string &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_MOVETOWARDSRESTRICTIONGOAL +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/MoveTowardsTargetGoal.hpp b/LiteLoader/Header/MC/MoveTowardsTargetGoal.hpp new file mode 100644 index 0000000..8147c1a --- /dev/null +++ b/LiteLoader/Header/MC/MoveTowardsTargetGoal.hpp @@ -0,0 +1,34 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class MoveTowardsTargetGoal { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_MOVETOWARDSTARGETGOAL +public: + class MoveTowardsTargetGoal& operator=(class MoveTowardsTargetGoal const &) = delete; + MoveTowardsTargetGoal(class MoveTowardsTargetGoal const &) = delete; + MoveTowardsTargetGoal() = delete; +#endif + +public: + /*0*/ virtual ~MoveTowardsTargetGoal(); + /*1*/ virtual bool canUse(); + /*2*/ virtual bool canContinueToUse(); + /*3*/ virtual void __unk_vfn_3(); + /*4*/ virtual void start(); + /*5*/ virtual void stop(); + /*6*/ virtual void __unk_vfn_6(); + /*7*/ virtual void appendDebugInfo(std::string &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_MOVETOWARDSTARGETGOAL +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/MovementInterpolator.hpp b/LiteLoader/Header/MC/MovementInterpolator.hpp new file mode 100644 index 0000000..7106b78 --- /dev/null +++ b/LiteLoader/Header/MC/MovementInterpolator.hpp @@ -0,0 +1,27 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class MovementInterpolator { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_MOVEMENTINTERPOLATOR +public: + class MovementInterpolator& operator=(class MovementInterpolator const &) = delete; + MovementInterpolator(class MovementInterpolator const &) = delete; + MovementInterpolator() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_MOVEMENTINTERPOLATOR +#endif + MCAPI void tick(class Actor &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/MovingBlock.hpp b/LiteLoader/Header/MC/MovingBlock.hpp new file mode 100644 index 0000000..ddc8bb4 --- /dev/null +++ b/LiteLoader/Header/MC/MovingBlock.hpp @@ -0,0 +1,194 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "ActorBlock.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class MovingBlock : public ActorBlock { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_MOVINGBLOCK +public: + class MovingBlock& operator=(class MovingBlock const &) = delete; + MovingBlock(class MovingBlock const &) = delete; + MovingBlock() = delete; +#endif + +public: + /*0*/ virtual ~MovingBlock(); + /*1*/ virtual void __unk_vfn_1(); + /*2*/ virtual class Block const & getStateFromLegacyData(unsigned short) const; + /*3*/ virtual class std::shared_ptr newBlockEntity(class BlockPos const &, class Block const &) const; + /*4*/ virtual class Block const * getNextBlockPermutation(class Block const &) const; + /*5*/ virtual bool getCollisionShape(class AABB &, class Block const &, class BlockSource &, class BlockPos const &, class Actor *) const; + /*6*/ virtual bool isObstructingChests(class BlockSource &, class BlockPos const &) const; + /*7*/ virtual void __unk_vfn_7(); + /*8*/ virtual class Vec3 randomlyModifyPosition(class BlockPos const &, int &) const; + /*9*/ virtual void addAABBs(class Block const &, class BlockSource &, class BlockPos const &, class AABB const *, std::vector &) const; + /*10*/ virtual class AABB const & getAABB(class BlockSource &, class BlockPos const &, class Block const &, class AABB &, bool) const; + /*11*/ virtual bool addCollisionShapes(class Block const &, class BlockSource &, class BlockPos const &, class AABB const *, std::vector &, class Actor *) const; + /*12*/ virtual class AABB const & getOutline(class BlockSource &, class BlockPos const &, class AABB &) const; + /*13*/ virtual bool getLiquidClipVolume(class BlockSource &, class BlockPos const &, class AABB &) const; + /*14*/ virtual void __unk_vfn_14(); + /*15*/ virtual void __unk_vfn_15(); + /*16*/ virtual struct Brightness getLightEmission(class Block const &) const; + /*17*/ virtual bool shouldRandomTick() const; + /*18*/ virtual void __unk_vfn_18(); + /*19*/ virtual void __unk_vfn_19(); + /*20*/ virtual void __unk_vfn_20(); + /*21*/ virtual bool canProvideSupport(class Block const &, unsigned char, enum BlockSupportType) const; + /*22*/ virtual bool canConnect(class Block const &, unsigned char, class Block const &) const; + /*23*/ virtual void getConnectedDirections(class Block const &, class BlockPos const &, class BlockSource &, bool &, bool &, bool &, bool &) const; + /*24*/ virtual void __unk_vfn_24(); + /*25*/ virtual void __unk_vfn_25(); + /*26*/ virtual void __unk_vfn_26(); + /*27*/ virtual void __unk_vfn_27(); + /*28*/ virtual void __unk_vfn_28(); + /*29*/ virtual bool isWaterBlocking() const; + /*30*/ virtual void __unk_vfn_30(); + /*31*/ virtual void __unk_vfn_31(); + /*32*/ virtual void __unk_vfn_32(); + /*33*/ virtual void __unk_vfn_33(); + /*34*/ virtual void __unk_vfn_34(); + /*35*/ virtual void __unk_vfn_35(); + /*36*/ virtual void __unk_vfn_36(); + /*37*/ virtual void __unk_vfn_37(); + /*38*/ virtual void __unk_vfn_38(); + /*39*/ virtual void __unk_vfn_39(); + /*40*/ virtual void __unk_vfn_40(); + /*41*/ virtual bool canHurtAndBreakItem() const; + /*42*/ virtual void __unk_vfn_42(); + /*43*/ virtual void __unk_vfn_43(); + /*44*/ virtual void __unk_vfn_44(); + /*45*/ virtual void __unk_vfn_45(); + /*46*/ virtual class Block const & sanitizeFillBlock(class BlockSource &, class BlockPos const &, class Block const &) const; + /*47*/ virtual void __unk_vfn_47(); + /*48*/ virtual void __unk_vfn_48(); + /*49*/ virtual void __unk_vfn_49(); + /*50*/ virtual bool canContainLiquid() const; + /*51*/ virtual void __unk_vfn_51(); + /*52*/ virtual void __unk_vfn_52(); + /*53*/ virtual bool canBeUsedInCommands(bool, class BaseGameVersion const &) const; + /*54*/ virtual float getThickness() const; + /*55*/ virtual void __unk_vfn_55(); + /*56*/ virtual bool checkIsPathable(class Actor &, class BlockPos const &, class BlockPos const &) const; + /*57*/ virtual void __unk_vfn_57(); + /*58*/ virtual void __unk_vfn_58(); + /*59*/ virtual void __unk_vfn_59(); + /*60*/ virtual void __unk_vfn_60(); + /*61*/ virtual void __unk_vfn_61(); + /*62*/ virtual void __unk_vfn_62(); + /*63*/ virtual void onFallOn(class BlockSource &, class BlockPos const &, class Actor &, float) const; + /*64*/ virtual void __unk_vfn_64(); + /*65*/ virtual void __unk_vfn_65(); + /*66*/ virtual void __unk_vfn_66(); + /*67*/ virtual void __unk_vfn_67(); + /*68*/ virtual void __unk_vfn_68(); + /*69*/ virtual void __unk_vfn_69(); + /*70*/ virtual void __unk_vfn_70(); + /*71*/ virtual enum BlockProperty getRedstoneProperty(class BlockSource &, class BlockPos const &) const; + /*72*/ virtual void updateEntityAfterFallOn(class BlockSource &, class BlockPos const &, class Actor &) const; + /*73*/ virtual void __unk_vfn_73(); + /*74*/ virtual void __unk_vfn_74(); + /*75*/ virtual void __unk_vfn_75(); + /*76*/ virtual void __unk_vfn_76(); + /*77*/ virtual void __unk_vfn_77(); + /*78*/ virtual bool mayPick(class BlockSource &, class Block const &, bool) const; + /*79*/ virtual void __unk_vfn_79(); + /*80*/ virtual bool mayPlace(class BlockSource &, class BlockPos const &) const; + /*81*/ virtual void __unk_vfn_81(); + /*82*/ virtual void __unk_vfn_82(); + /*83*/ virtual bool tryToPlace(class BlockSource &, class BlockPos const &, class Block const &, struct ActorBlockSyncMessage const *) const; + /*84*/ virtual bool breaksFallingBlocks(class Block const &) const; + /*85*/ virtual void __unk_vfn_85(); + /*86*/ virtual bool playerWillDestroy(class Player &, class BlockPos const &, class Block const &) const; + /*87*/ virtual void __unk_vfn_87(); + /*88*/ virtual void neighborChanged(class BlockSource &, class BlockPos const &, class BlockPos const &) const; + /*89*/ virtual void __unk_vfn_89(); + /*90*/ virtual void __unk_vfn_90(); + /*91*/ virtual void __unk_vfn_91(); + /*92*/ virtual class ItemInstance asItemInstance(class BlockSource &, class BlockPos const &, class Block const &) const; + /*93*/ virtual void __unk_vfn_93(); + /*94*/ virtual void trySpawnResourcesOnExplosion(class BlockSource &, class BlockPos const &, class Block const &, std::vector *, float, int, bool) const; + /*95*/ virtual void __unk_vfn_95(); + /*96*/ virtual void __unk_vfn_96(); + /*97*/ virtual class HitResult clip(class BlockSource &, class BlockPos const &, class Vec3 const &, class Vec3 const &, bool) const; + /*98*/ virtual void __unk_vfn_98(); + /*99*/ virtual class Block const & getPlacementBlock(class Actor &, class BlockPos const &, unsigned char, class Vec3 const &, int) const; + /*100*/ virtual int calcVariant(class BlockSource &, class BlockPos const &) const; + /*101*/ virtual void __unk_vfn_101(); + /*102*/ virtual void __unk_vfn_102(); + /*103*/ virtual void __unk_vfn_103(); + /*104*/ virtual void __unk_vfn_104(); + /*105*/ virtual void playerDestroy(class Player &, class BlockPos const &, class Block const &) const; + /*106*/ virtual void __unk_vfn_106(); + /*107*/ virtual void __unk_vfn_107(); + /*108*/ virtual bool canBeBuiltOver(class BlockSource &, class BlockPos const &) const; + /*109*/ virtual void triggerEvent(class BlockSource &, class BlockPos const &, int, int) const; + /*110*/ virtual void __unk_vfn_110(); + /*111*/ virtual void __unk_vfn_111(); + /*112*/ virtual class MobSpawnerData const * getMobToSpawn(class SpawnConditions const &, class BlockSource &) const; + /*113*/ virtual void __unk_vfn_113(); + /*114*/ virtual void __unk_vfn_114(); + /*115*/ virtual bool shouldStopFalling(class Actor &) const; + /*116*/ virtual void __unk_vfn_116(); + /*117*/ virtual float calcGroundFriction(class Mob &, class BlockPos const &) const; + /*118*/ virtual void __unk_vfn_118(); + /*119*/ virtual void __unk_vfn_119(); + /*120*/ virtual void __unk_vfn_120(); + /*121*/ virtual bool canSlide(class BlockSource &, class BlockPos const &) const; + /*122*/ virtual void __unk_vfn_122(); + /*123*/ virtual void __unk_vfn_123(); + /*124*/ virtual void __unk_vfn_124(); + /*125*/ virtual void __unk_vfn_125(); + /*126*/ virtual void __unk_vfn_126(); + /*127*/ virtual void __unk_vfn_127(); + /*128*/ virtual void __unk_vfn_128(); + /*129*/ virtual void __unk_vfn_129(); + /*130*/ virtual void __unk_vfn_130(); + /*131*/ virtual void __unk_vfn_131(); + /*132*/ virtual int getColorForParticle(class BlockSource &, class BlockPos const &, class Block const &) const; + /*133*/ virtual void __unk_vfn_133(); + /*134*/ virtual void onGraphicsModeChanged(bool, bool, bool); + /*135*/ virtual void __unk_vfn_135(); + /*136*/ virtual float getShadeBrightness() const; + /*137*/ virtual class AABB const & getVisualShapeInWorld(class Block const &, class BlockSource &, class BlockPos const &, class AABB &, bool) const; + /*138*/ virtual class AABB const & getVisualShape(class Block const &, class AABB &, bool) const; + /*139*/ virtual class AABB const & getUIShape(class Block const &, class AABB &) const; + /*140*/ virtual int telemetryVariant(class BlockSource &, class BlockPos const &) const; + /*141*/ virtual int getVariant(class Block const &) const; + /*142*/ virtual void __unk_vfn_142(); + /*143*/ virtual class Block const & getRenderBlock() const; + /*144*/ virtual void __unk_vfn_144(); + /*145*/ virtual void __unk_vfn_145(); + /*146*/ virtual void __unk_vfn_146(); + /*147*/ virtual class BlockLegacy & init(); + /*148*/ virtual class BlockLegacy & setLightBlock(struct Brightness); + /*149*/ virtual class BlockLegacy & setLightEmission(float); + /*150*/ virtual class BlockLegacy & setExplodeable(float); + /*151*/ virtual class BlockLegacy & setDestroyTime(float); + /*152*/ virtual class BlockLegacy & setFriction(float); + /*153*/ virtual class BlockLegacy & addProperty(enum BlockProperty); + /*154*/ virtual class BlockLegacy & addState(class ItemState const &); + /*155*/ virtual class BlockLegacy & addState(class ItemState const &, unsigned __int64); + /*156*/ virtual class BlockLegacy & setAllowsRunes(bool); + /*157*/ virtual class BlockLegacy & setMapColor(class Color const &); + /*158*/ virtual void __unk_vfn_158(); + /*159*/ virtual void __unk_vfn_159(); + /*160*/ virtual void setVisualShape(class AABB const &); + /*161*/ virtual void setVisualShape(class Vec3 const &, class Vec3 const &); + /*162*/ virtual void __unk_vfn_162(); + /*163*/ virtual void __unk_vfn_163(); + /*164*/ virtual class ItemInstance getEntityResourceItem(class Random &, class BlockActor const &, int) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_MOVINGBLOCK + MCVAPI bool pushesUpFallingBlocks() const; + MCVAPI void spawnResources(class BlockSource &, class BlockPos const &, class Block const &, std::vector *, float, int, bool) const; +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/MovingBlockActor.hpp b/LiteLoader/Header/MC/MovingBlockActor.hpp new file mode 100644 index 0000000..1313ec0 --- /dev/null +++ b/LiteLoader/Header/MC/MovingBlockActor.hpp @@ -0,0 +1,43 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "BlockActor.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class MovingBlockActor : public BlockActor { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_MOVINGBLOCKACTOR +public: + class MovingBlockActor& operator=(class MovingBlockActor const &) = delete; + MovingBlockActor(class MovingBlockActor const &) = delete; + MovingBlockActor() = delete; +#endif + +public: + /*0*/ virtual ~MovingBlockActor(); + /*1*/ virtual void load(class Level &, class CompoundTag const &, class DataLoadHelper &); + /*2*/ virtual bool save(class CompoundTag &) const; + /*7*/ virtual void tick(class BlockSource &); + /*13*/ virtual void __unk_vfn_13(); + /*17*/ virtual void __unk_vfn_17(); + /*28*/ virtual class PistonBlockActor * getOwningPiston(class BlockSource &); + /*29*/ virtual void __unk_vfn_29(); + /*30*/ virtual void __unk_vfn_30(); + /*31*/ virtual float getDeletionDelayTimeSeconds() const; + /*32*/ virtual void __unk_vfn_32(); + /*33*/ virtual void __unk_vfn_33(); + /*34*/ virtual std::unique_ptr _getUpdatePacket(class BlockSource &); + /*35*/ virtual void _onUpdatePacket(class CompoundTag const &, class BlockSource &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_MOVINGBLOCKACTOR +#endif + MCAPI class Vec3 getDrawPos(class BlockSource &, float); + MCAPI void moveCollidedEntities(class PistonBlockActor &, class BlockSource &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/MultiRecipe.hpp b/LiteLoader/Header/MC/MultiRecipe.hpp new file mode 100644 index 0000000..c94eb94 --- /dev/null +++ b/LiteLoader/Header/MC/MultiRecipe.hpp @@ -0,0 +1,31 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Recipe.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class MultiRecipe : public Recipe { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_MULTIRECIPE +public: + class MultiRecipe& operator=(class MultiRecipe const &) = delete; + MultiRecipe(class MultiRecipe const &) = delete; + MultiRecipe() = delete; +#endif + +public: + /*0*/ virtual ~MultiRecipe(); + /*5*/ virtual bool isShapeless() const; + /*11*/ virtual bool isMultiRecipe() const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_MULTIRECIPE +#endif + MCAPI MultiRecipe(std::string, class HashedString); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/MultiplayerSettingsPacket.hpp b/LiteLoader/Header/MC/MultiplayerSettingsPacket.hpp new file mode 100644 index 0000000..f339fdc --- /dev/null +++ b/LiteLoader/Header/MC/MultiplayerSettingsPacket.hpp @@ -0,0 +1,32 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Packet.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class MultiplayerSettingsPacket : public Packet { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_MULTIPLAYERSETTINGSPACKET +public: + class MultiplayerSettingsPacket& operator=(class MultiplayerSettingsPacket const &) = delete; + MultiplayerSettingsPacket(class MultiplayerSettingsPacket const &) = delete; + MultiplayerSettingsPacket() = delete; +#endif + +public: + /*0*/ virtual ~MultiplayerSettingsPacket(); + /*1*/ virtual enum MinecraftPacketIds getId() const; + /*2*/ virtual std::string getName() const; + /*3*/ virtual void write(class BinaryStream &) const; + /*4*/ virtual enum StreamReadResult read(class ReadOnlyBinaryStream &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_MULTIPLAYERSETTINGSPACKET +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/MultiplyValueAmplifier.hpp b/LiteLoader/Header/MC/MultiplyValueAmplifier.hpp new file mode 100644 index 0000000..c51600b --- /dev/null +++ b/LiteLoader/Header/MC/MultiplyValueAmplifier.hpp @@ -0,0 +1,28 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class MultiplyValueAmplifier { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_MULTIPLYVALUEAMPLIFIER +public: + class MultiplyValueAmplifier& operator=(class MultiplyValueAmplifier const &) = delete; + MultiplyValueAmplifier(class MultiplyValueAmplifier const &) = delete; + MultiplyValueAmplifier() = delete; +#endif + +public: + /*0*/ virtual ~MultiplyValueAmplifier(); + /*1*/ virtual float getAmount(int, float) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_MULTIPLYVALUEAMPLIFIER +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/MushroomBlock.hpp b/LiteLoader/Header/MC/MushroomBlock.hpp new file mode 100644 index 0000000..b92b81d --- /dev/null +++ b/LiteLoader/Header/MC/MushroomBlock.hpp @@ -0,0 +1,68 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "BushBlock.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class MushroomBlock : public BushBlock { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_MUSHROOMBLOCK +public: + class MushroomBlock& operator=(class MushroomBlock const &) = delete; + MushroomBlock(class MushroomBlock const &) = delete; + MushroomBlock() = delete; +#endif + +public: + /*0*/ virtual ~MushroomBlock(); + /*1*/ virtual void tick(class BlockSource &, class BlockPos const &, class Random &) const; + /*18*/ virtual void __unk_vfn_18(); + /*24*/ virtual void __unk_vfn_24(); + /*25*/ virtual void __unk_vfn_25(); + /*26*/ virtual void __unk_vfn_26(); + /*27*/ virtual void __unk_vfn_27(); + /*28*/ virtual void __unk_vfn_28(); + /*30*/ virtual void __unk_vfn_30(); + /*31*/ virtual void __unk_vfn_31(); + /*32*/ virtual void __unk_vfn_32(); + /*33*/ virtual void __unk_vfn_33(); + /*34*/ virtual void __unk_vfn_34(); + /*35*/ virtual void __unk_vfn_35(); + /*36*/ virtual void __unk_vfn_36(); + /*38*/ virtual void __unk_vfn_38(); + /*39*/ virtual void __unk_vfn_39(); + /*40*/ virtual void __unk_vfn_40(); + /*42*/ virtual void __unk_vfn_42(); + /*43*/ virtual void __unk_vfn_43(); + /*49*/ virtual void __unk_vfn_49(); + /*50*/ virtual bool canContainLiquid() const; + /*52*/ virtual void __unk_vfn_52(); + /*67*/ virtual void __unk_vfn_67(); + /*73*/ virtual void __unk_vfn_73(); + /*75*/ virtual bool onFertilized(class BlockSource &, class BlockPos const &, class Actor *, enum FertilizerType) const; + /*77*/ virtual bool canBeFertilized(class BlockSource &, class BlockPos const &, class Block const &) const; + /*80*/ virtual bool mayPlace(class BlockSource &, class BlockPos const &, unsigned char) const; + /*82*/ virtual bool mayPlaceOn(class BlockSource &, class BlockPos const &) const; + /*87*/ virtual void __unk_vfn_87(); + /*95*/ virtual void __unk_vfn_95(); + /*106*/ virtual bool canSurvive(class BlockSource &, class BlockPos const &) const; + /*109*/ virtual void __unk_vfn_109(); + /*116*/ virtual void __unk_vfn_116(); + /*118*/ virtual void __unk_vfn_118(); + /*119*/ virtual void __unk_vfn_119(); + /*125*/ virtual enum BlockRenderLayer getRenderLayer() const; + /*126*/ virtual enum BlockRenderLayer getRenderLayer(class Block const &, class BlockSource &, class BlockPos const &) const; + /*142*/ virtual void __unk_vfn_142(); + /*158*/ virtual void __unk_vfn_158(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_MUSHROOMBLOCK +#endif + MCAPI MushroomBlock(std::string const &, int); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/MushroomCow.hpp b/LiteLoader/Header/MC/MushroomCow.hpp new file mode 100644 index 0000000..5aa217d --- /dev/null +++ b/LiteLoader/Header/MC/MushroomCow.hpp @@ -0,0 +1,54 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Actor.hpp" +#include "Animal.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class MushroomCow : public Animal { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_MUSHROOMCOW +public: + class MushroomCow& operator=(class MushroomCow const &) = delete; + MushroomCow(class MushroomCow const &) = delete; + MushroomCow() = delete; +#endif + +public: + /*7*/ virtual ~MushroomCow(); + /*30*/ virtual void __unk_vfn_30(); + /*54*/ virtual void __unk_vfn_54(); + /*61*/ virtual void __unk_vfn_61(); + /*76*/ virtual void __unk_vfn_76(); + /*81*/ virtual void __unk_vfn_81(); + /*88*/ virtual void __unk_vfn_88(); + /*90*/ virtual void __unk_vfn_90(); + /*98*/ virtual void __unk_vfn_98(); + /*100*/ virtual void __unk_vfn_100(); + /*121*/ virtual void __unk_vfn_121(); + /*169*/ virtual void __unk_vfn_169(); + /*182*/ virtual void __unk_vfn_182(); + /*206*/ virtual void __unk_vfn_206(); + /*207*/ virtual void __unk_vfn_207(); + /*228*/ virtual void __unk_vfn_228(); + /*231*/ virtual void __unk_vfn_231(); + /*238*/ virtual void __unk_vfn_238(); + /*246*/ virtual void __unk_vfn_246(); + /*257*/ virtual void __unk_vfn_257(); + /*282*/ virtual bool checkSpawnRules(bool); + /*290*/ virtual void __unk_vfn_290(); + /*300*/ virtual void __unk_vfn_300(); + /*332*/ virtual void __unk_vfn_332(); + /*348*/ virtual void __unk_vfn_348(); + /*349*/ virtual bool isDarkEnoughToSpawn() const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_MUSHROOMCOW +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/MusicBlockActor.hpp b/LiteLoader/Header/MC/MusicBlockActor.hpp new file mode 100644 index 0000000..09393ef --- /dev/null +++ b/LiteLoader/Header/MC/MusicBlockActor.hpp @@ -0,0 +1,37 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "BlockActor.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class MusicBlockActor : public BlockActor { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_MUSICBLOCKACTOR +public: + class MusicBlockActor& operator=(class MusicBlockActor const &) = delete; + MusicBlockActor(class MusicBlockActor const &) = delete; + MusicBlockActor() = delete; +#endif + +public: + /*0*/ virtual ~MusicBlockActor(); + /*1*/ virtual void load(class Level &, class CompoundTag const &, class DataLoadHelper &); + /*2*/ virtual bool save(class CompoundTag &) const; + /*13*/ virtual void __unk_vfn_13(); + /*17*/ virtual void __unk_vfn_17(); + /*29*/ virtual void __unk_vfn_29(); + /*30*/ virtual void __unk_vfn_30(); + /*32*/ virtual void __unk_vfn_32(); + /*33*/ virtual void __unk_vfn_33(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_MUSICBLOCKACTOR +#endif + MCAPI void playNote(class BlockSource &, class BlockPos const &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/MyceliumBlock.hpp b/LiteLoader/Header/MC/MyceliumBlock.hpp new file mode 100644 index 0000000..6f32cfd --- /dev/null +++ b/LiteLoader/Header/MC/MyceliumBlock.hpp @@ -0,0 +1,63 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "BlockLegacy.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class MyceliumBlock : public BlockLegacy { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_MYCELIUMBLOCK +public: + class MyceliumBlock& operator=(class MyceliumBlock const &) = delete; + MyceliumBlock(class MyceliumBlock const &) = delete; + MyceliumBlock() = delete; +#endif + +public: + /*0*/ virtual ~MyceliumBlock(); + /*1*/ virtual void tick(class BlockSource &, class BlockPos const &, class Random &) const; + /*18*/ virtual void __unk_vfn_18(); + /*24*/ virtual void __unk_vfn_24(); + /*25*/ virtual void __unk_vfn_25(); + /*26*/ virtual void __unk_vfn_26(); + /*27*/ virtual void __unk_vfn_27(); + /*28*/ virtual void __unk_vfn_28(); + /*30*/ virtual void __unk_vfn_30(); + /*31*/ virtual void __unk_vfn_31(); + /*32*/ virtual void __unk_vfn_32(); + /*33*/ virtual void __unk_vfn_33(); + /*34*/ virtual void __unk_vfn_34(); + /*35*/ virtual void __unk_vfn_35(); + /*36*/ virtual void __unk_vfn_36(); + /*38*/ virtual void __unk_vfn_38(); + /*39*/ virtual void __unk_vfn_39(); + /*40*/ virtual void __unk_vfn_40(); + /*42*/ virtual void __unk_vfn_42(); + /*43*/ virtual void __unk_vfn_43(); + /*49*/ virtual void __unk_vfn_49(); + /*52*/ virtual void __unk_vfn_52(); + /*67*/ virtual void __unk_vfn_67(); + /*73*/ virtual void __unk_vfn_73(); + /*87*/ virtual void __unk_vfn_87(); + /*91*/ virtual class ItemInstance getResourceItem(class Random &, class Block const &, int) const; + /*95*/ virtual void __unk_vfn_95(); + /*109*/ virtual void __unk_vfn_109(); + /*116*/ virtual void __unk_vfn_116(); + /*118*/ virtual void __unk_vfn_118(); + /*119*/ virtual void __unk_vfn_119(); + /*142*/ virtual void __unk_vfn_142(); + /*146*/ virtual void animateTick(class BlockSource &, class BlockPos const &, class Random &) const; + /*158*/ virtual void __unk_vfn_158(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_MYCELIUMBLOCK +#endif + MCAPI static struct Brightness const MIN_BRIGHTNESS_TO_PERSIST; + MCAPI static struct Brightness const MIN_BRIGHTNESS_TO_SPREAD; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/NBBridgeCrossing.hpp b/LiteLoader/Header/MC/NBBridgeCrossing.hpp new file mode 100644 index 0000000..c783f44 --- /dev/null +++ b/LiteLoader/Header/MC/NBBridgeCrossing.hpp @@ -0,0 +1,39 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "NetherFortressPiece.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class NBBridgeCrossing : public NetherFortressPiece { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_NBBRIDGECROSSING +public: + class NBBridgeCrossing& operator=(class NBBridgeCrossing const &) = delete; + NBBridgeCrossing(class NBBridgeCrossing const &) = delete; + NBBridgeCrossing() = delete; +#endif + +public: + /*0*/ virtual ~NBBridgeCrossing(); + /*1*/ virtual void moveBoundingBox(int, int, int); + /*2*/ virtual void __unk_vfn_2(); + /*3*/ virtual enum StructurePieceType getType() const; + /*4*/ virtual void addChildren(class StructurePiece &, std::vector> &, class Random &); + /*5*/ virtual bool postProcess(class BlockSource &, class Random &, class BoundingBox const &); + /*6*/ virtual void __unk_vfn_6(); + /*7*/ virtual int getWorldX(int, int); + /*8*/ virtual int getWorldZ(int, int); + /*9*/ virtual void placeBlock(class BlockSource &, class Block const &, int, int, int, class BoundingBox const &); + /*10*/ virtual void generateBox(class BlockSource &, class BoundingBox const &, int, int, int, int, int, int, class Block const &, class Block const &, bool); + /*11*/ virtual void addHardcodedSpawnAreas(class LevelChunk &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_NBBRIDGECROSSING +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/NBBridgeEndFiller.hpp b/LiteLoader/Header/MC/NBBridgeEndFiller.hpp new file mode 100644 index 0000000..9302e10 --- /dev/null +++ b/LiteLoader/Header/MC/NBBridgeEndFiller.hpp @@ -0,0 +1,40 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "NetherFortressPiece.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class NBBridgeEndFiller : public NetherFortressPiece { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_NBBRIDGEENDFILLER +public: + class NBBridgeEndFiller& operator=(class NBBridgeEndFiller const &) = delete; + NBBridgeEndFiller(class NBBridgeEndFiller const &) = delete; + NBBridgeEndFiller() = delete; +#endif + +public: + /*0*/ virtual ~NBBridgeEndFiller(); + /*1*/ virtual void moveBoundingBox(int, int, int); + /*2*/ virtual void __unk_vfn_2(); + /*3*/ virtual enum StructurePieceType getType() const; + /*4*/ virtual void __unk_vfn_4(); + /*5*/ virtual bool postProcess(class BlockSource &, class Random &, class BoundingBox const &); + /*6*/ virtual void __unk_vfn_6(); + /*7*/ virtual int getWorldX(int, int); + /*8*/ virtual int getWorldZ(int, int); + /*9*/ virtual void placeBlock(class BlockSource &, class Block const &, int, int, int, class BoundingBox const &); + /*10*/ virtual void generateBox(class BlockSource &, class BoundingBox const &, int, int, int, int, int, int, class Block const &, class Block const &, bool); + /*11*/ virtual void addHardcodedSpawnAreas(class LevelChunk &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_NBBRIDGEENDFILLER +#endif + MCAPI static std::unique_ptr createPiece(std::vector> &, class Random &, int, int, int, int, int); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/NBBridgeStraight.hpp b/LiteLoader/Header/MC/NBBridgeStraight.hpp new file mode 100644 index 0000000..5b8d129 --- /dev/null +++ b/LiteLoader/Header/MC/NBBridgeStraight.hpp @@ -0,0 +1,39 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "NetherFortressPiece.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class NBBridgeStraight : public NetherFortressPiece { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_NBBRIDGESTRAIGHT +public: + class NBBridgeStraight& operator=(class NBBridgeStraight const &) = delete; + NBBridgeStraight(class NBBridgeStraight const &) = delete; + NBBridgeStraight() = delete; +#endif + +public: + /*0*/ virtual ~NBBridgeStraight(); + /*1*/ virtual void moveBoundingBox(int, int, int); + /*2*/ virtual void __unk_vfn_2(); + /*3*/ virtual enum StructurePieceType getType() const; + /*4*/ virtual void addChildren(class StructurePiece &, std::vector> &, class Random &); + /*5*/ virtual bool postProcess(class BlockSource &, class Random &, class BoundingBox const &); + /*6*/ virtual void __unk_vfn_6(); + /*7*/ virtual int getWorldX(int, int); + /*8*/ virtual int getWorldZ(int, int); + /*9*/ virtual void placeBlock(class BlockSource &, class Block const &, int, int, int, class BoundingBox const &); + /*10*/ virtual void generateBox(class BlockSource &, class BoundingBox const &, int, int, int, int, int, int, class Block const &, class Block const &, bool); + /*11*/ virtual void addHardcodedSpawnAreas(class LevelChunk &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_NBBRIDGESTRAIGHT +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/NBCastleCorridorStairsPiece.hpp b/LiteLoader/Header/MC/NBCastleCorridorStairsPiece.hpp new file mode 100644 index 0000000..72442e0 --- /dev/null +++ b/LiteLoader/Header/MC/NBCastleCorridorStairsPiece.hpp @@ -0,0 +1,39 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "NetherFortressPiece.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class NBCastleCorridorStairsPiece : public NetherFortressPiece { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_NBCASTLECORRIDORSTAIRSPIECE +public: + class NBCastleCorridorStairsPiece& operator=(class NBCastleCorridorStairsPiece const &) = delete; + NBCastleCorridorStairsPiece(class NBCastleCorridorStairsPiece const &) = delete; + NBCastleCorridorStairsPiece() = delete; +#endif + +public: + /*0*/ virtual ~NBCastleCorridorStairsPiece(); + /*1*/ virtual void moveBoundingBox(int, int, int); + /*2*/ virtual void __unk_vfn_2(); + /*3*/ virtual enum StructurePieceType getType() const; + /*4*/ virtual void addChildren(class StructurePiece &, std::vector> &, class Random &); + /*5*/ virtual bool postProcess(class BlockSource &, class Random &, class BoundingBox const &); + /*6*/ virtual void __unk_vfn_6(); + /*7*/ virtual int getWorldX(int, int); + /*8*/ virtual int getWorldZ(int, int); + /*9*/ virtual void placeBlock(class BlockSource &, class Block const &, int, int, int, class BoundingBox const &); + /*10*/ virtual void generateBox(class BlockSource &, class BoundingBox const &, int, int, int, int, int, int, class Block const &, class Block const &, bool); + /*11*/ virtual void addHardcodedSpawnAreas(class LevelChunk &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_NBCASTLECORRIDORSTAIRSPIECE +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/NBCastleCorridorTBalconyPiece.hpp b/LiteLoader/Header/MC/NBCastleCorridorTBalconyPiece.hpp new file mode 100644 index 0000000..7cfdc03 --- /dev/null +++ b/LiteLoader/Header/MC/NBCastleCorridorTBalconyPiece.hpp @@ -0,0 +1,39 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "NetherFortressPiece.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class NBCastleCorridorTBalconyPiece : public NetherFortressPiece { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_NBCASTLECORRIDORTBALCONYPIECE +public: + class NBCastleCorridorTBalconyPiece& operator=(class NBCastleCorridorTBalconyPiece const &) = delete; + NBCastleCorridorTBalconyPiece(class NBCastleCorridorTBalconyPiece const &) = delete; + NBCastleCorridorTBalconyPiece() = delete; +#endif + +public: + /*0*/ virtual ~NBCastleCorridorTBalconyPiece(); + /*1*/ virtual void moveBoundingBox(int, int, int); + /*2*/ virtual void __unk_vfn_2(); + /*3*/ virtual enum StructurePieceType getType() const; + /*4*/ virtual void addChildren(class StructurePiece &, std::vector> &, class Random &); + /*5*/ virtual bool postProcess(class BlockSource &, class Random &, class BoundingBox const &); + /*6*/ virtual void __unk_vfn_6(); + /*7*/ virtual int getWorldX(int, int); + /*8*/ virtual int getWorldZ(int, int); + /*9*/ virtual void placeBlock(class BlockSource &, class Block const &, int, int, int, class BoundingBox const &); + /*10*/ virtual void generateBox(class BlockSource &, class BoundingBox const &, int, int, int, int, int, int, class Block const &, class Block const &, bool); + /*11*/ virtual void addHardcodedSpawnAreas(class LevelChunk &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_NBCASTLECORRIDORTBALCONYPIECE +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/NBCastleEntrance.hpp b/LiteLoader/Header/MC/NBCastleEntrance.hpp new file mode 100644 index 0000000..02ab972 --- /dev/null +++ b/LiteLoader/Header/MC/NBCastleEntrance.hpp @@ -0,0 +1,39 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "NetherFortressPiece.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class NBCastleEntrance : public NetherFortressPiece { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_NBCASTLEENTRANCE +public: + class NBCastleEntrance& operator=(class NBCastleEntrance const &) = delete; + NBCastleEntrance(class NBCastleEntrance const &) = delete; + NBCastleEntrance() = delete; +#endif + +public: + /*0*/ virtual ~NBCastleEntrance(); + /*1*/ virtual void moveBoundingBox(int, int, int); + /*2*/ virtual void __unk_vfn_2(); + /*3*/ virtual enum StructurePieceType getType() const; + /*4*/ virtual void addChildren(class StructurePiece &, std::vector> &, class Random &); + /*5*/ virtual bool postProcess(class BlockSource &, class Random &, class BoundingBox const &); + /*6*/ virtual void __unk_vfn_6(); + /*7*/ virtual int getWorldX(int, int); + /*8*/ virtual int getWorldZ(int, int); + /*9*/ virtual void placeBlock(class BlockSource &, class Block const &, int, int, int, class BoundingBox const &); + /*10*/ virtual void generateBox(class BlockSource &, class BoundingBox const &, int, int, int, int, int, int, class Block const &, class Block const &, bool); + /*11*/ virtual void addHardcodedSpawnAreas(class LevelChunk &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_NBCASTLEENTRANCE +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/NBCastleSmallCorridorCrossingPiece.hpp b/LiteLoader/Header/MC/NBCastleSmallCorridorCrossingPiece.hpp new file mode 100644 index 0000000..05080c2 --- /dev/null +++ b/LiteLoader/Header/MC/NBCastleSmallCorridorCrossingPiece.hpp @@ -0,0 +1,39 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "NetherFortressPiece.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class NBCastleSmallCorridorCrossingPiece : public NetherFortressPiece { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_NBCASTLESMALLCORRIDORCROSSINGPIECE +public: + class NBCastleSmallCorridorCrossingPiece& operator=(class NBCastleSmallCorridorCrossingPiece const &) = delete; + NBCastleSmallCorridorCrossingPiece(class NBCastleSmallCorridorCrossingPiece const &) = delete; + NBCastleSmallCorridorCrossingPiece() = delete; +#endif + +public: + /*0*/ virtual ~NBCastleSmallCorridorCrossingPiece(); + /*1*/ virtual void moveBoundingBox(int, int, int); + /*2*/ virtual void __unk_vfn_2(); + /*3*/ virtual enum StructurePieceType getType() const; + /*4*/ virtual void addChildren(class StructurePiece &, std::vector> &, class Random &); + /*5*/ virtual bool postProcess(class BlockSource &, class Random &, class BoundingBox const &); + /*6*/ virtual void __unk_vfn_6(); + /*7*/ virtual int getWorldX(int, int); + /*8*/ virtual int getWorldZ(int, int); + /*9*/ virtual void placeBlock(class BlockSource &, class Block const &, int, int, int, class BoundingBox const &); + /*10*/ virtual void generateBox(class BlockSource &, class BoundingBox const &, int, int, int, int, int, int, class Block const &, class Block const &, bool); + /*11*/ virtual void addHardcodedSpawnAreas(class LevelChunk &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_NBCASTLESMALLCORRIDORCROSSINGPIECE +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/NBCastleSmallCorridorLeftTurnPiece.hpp b/LiteLoader/Header/MC/NBCastleSmallCorridorLeftTurnPiece.hpp new file mode 100644 index 0000000..f692ebd --- /dev/null +++ b/LiteLoader/Header/MC/NBCastleSmallCorridorLeftTurnPiece.hpp @@ -0,0 +1,39 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "NetherFortressPiece.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class NBCastleSmallCorridorLeftTurnPiece : public NetherFortressPiece { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_NBCASTLESMALLCORRIDORLEFTTURNPIECE +public: + class NBCastleSmallCorridorLeftTurnPiece& operator=(class NBCastleSmallCorridorLeftTurnPiece const &) = delete; + NBCastleSmallCorridorLeftTurnPiece(class NBCastleSmallCorridorLeftTurnPiece const &) = delete; + NBCastleSmallCorridorLeftTurnPiece() = delete; +#endif + +public: + /*0*/ virtual ~NBCastleSmallCorridorLeftTurnPiece(); + /*1*/ virtual void moveBoundingBox(int, int, int); + /*2*/ virtual void __unk_vfn_2(); + /*3*/ virtual enum StructurePieceType getType() const; + /*4*/ virtual void addChildren(class StructurePiece &, std::vector> &, class Random &); + /*5*/ virtual bool postProcess(class BlockSource &, class Random &, class BoundingBox const &); + /*6*/ virtual void __unk_vfn_6(); + /*7*/ virtual int getWorldX(int, int); + /*8*/ virtual int getWorldZ(int, int); + /*9*/ virtual void placeBlock(class BlockSource &, class Block const &, int, int, int, class BoundingBox const &); + /*10*/ virtual void generateBox(class BlockSource &, class BoundingBox const &, int, int, int, int, int, int, class Block const &, class Block const &, bool); + /*11*/ virtual void addHardcodedSpawnAreas(class LevelChunk &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_NBCASTLESMALLCORRIDORLEFTTURNPIECE +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/NBCastleSmallCorridorPiece.hpp b/LiteLoader/Header/MC/NBCastleSmallCorridorPiece.hpp new file mode 100644 index 0000000..4cb2836 --- /dev/null +++ b/LiteLoader/Header/MC/NBCastleSmallCorridorPiece.hpp @@ -0,0 +1,39 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "NetherFortressPiece.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class NBCastleSmallCorridorPiece : public NetherFortressPiece { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_NBCASTLESMALLCORRIDORPIECE +public: + class NBCastleSmallCorridorPiece& operator=(class NBCastleSmallCorridorPiece const &) = delete; + NBCastleSmallCorridorPiece(class NBCastleSmallCorridorPiece const &) = delete; + NBCastleSmallCorridorPiece() = delete; +#endif + +public: + /*0*/ virtual ~NBCastleSmallCorridorPiece(); + /*1*/ virtual void moveBoundingBox(int, int, int); + /*2*/ virtual void __unk_vfn_2(); + /*3*/ virtual enum StructurePieceType getType() const; + /*4*/ virtual void addChildren(class StructurePiece &, std::vector> &, class Random &); + /*5*/ virtual bool postProcess(class BlockSource &, class Random &, class BoundingBox const &); + /*6*/ virtual void __unk_vfn_6(); + /*7*/ virtual int getWorldX(int, int); + /*8*/ virtual int getWorldZ(int, int); + /*9*/ virtual void placeBlock(class BlockSource &, class Block const &, int, int, int, class BoundingBox const &); + /*10*/ virtual void generateBox(class BlockSource &, class BoundingBox const &, int, int, int, int, int, int, class Block const &, class Block const &, bool); + /*11*/ virtual void addHardcodedSpawnAreas(class LevelChunk &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_NBCASTLESMALLCORRIDORPIECE +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/NBCastleSmallCorridorRightTurnPiece.hpp b/LiteLoader/Header/MC/NBCastleSmallCorridorRightTurnPiece.hpp new file mode 100644 index 0000000..07cd3c7 --- /dev/null +++ b/LiteLoader/Header/MC/NBCastleSmallCorridorRightTurnPiece.hpp @@ -0,0 +1,39 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "NetherFortressPiece.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class NBCastleSmallCorridorRightTurnPiece : public NetherFortressPiece { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_NBCASTLESMALLCORRIDORRIGHTTURNPIECE +public: + class NBCastleSmallCorridorRightTurnPiece& operator=(class NBCastleSmallCorridorRightTurnPiece const &) = delete; + NBCastleSmallCorridorRightTurnPiece(class NBCastleSmallCorridorRightTurnPiece const &) = delete; + NBCastleSmallCorridorRightTurnPiece() = delete; +#endif + +public: + /*0*/ virtual ~NBCastleSmallCorridorRightTurnPiece(); + /*1*/ virtual void moveBoundingBox(int, int, int); + /*2*/ virtual void __unk_vfn_2(); + /*3*/ virtual enum StructurePieceType getType() const; + /*4*/ virtual void addChildren(class StructurePiece &, std::vector> &, class Random &); + /*5*/ virtual bool postProcess(class BlockSource &, class Random &, class BoundingBox const &); + /*6*/ virtual void __unk_vfn_6(); + /*7*/ virtual int getWorldX(int, int); + /*8*/ virtual int getWorldZ(int, int); + /*9*/ virtual void placeBlock(class BlockSource &, class Block const &, int, int, int, class BoundingBox const &); + /*10*/ virtual void generateBox(class BlockSource &, class BoundingBox const &, int, int, int, int, int, int, class Block const &, class Block const &, bool); + /*11*/ virtual void addHardcodedSpawnAreas(class LevelChunk &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_NBCASTLESMALLCORRIDORRIGHTTURNPIECE +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/NBCastleStalkRoom.hpp b/LiteLoader/Header/MC/NBCastleStalkRoom.hpp new file mode 100644 index 0000000..7f47493 --- /dev/null +++ b/LiteLoader/Header/MC/NBCastleStalkRoom.hpp @@ -0,0 +1,39 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "NetherFortressPiece.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class NBCastleStalkRoom : public NetherFortressPiece { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_NBCASTLESTALKROOM +public: + class NBCastleStalkRoom& operator=(class NBCastleStalkRoom const &) = delete; + NBCastleStalkRoom(class NBCastleStalkRoom const &) = delete; + NBCastleStalkRoom() = delete; +#endif + +public: + /*0*/ virtual ~NBCastleStalkRoom(); + /*1*/ virtual void moveBoundingBox(int, int, int); + /*2*/ virtual void __unk_vfn_2(); + /*3*/ virtual enum StructurePieceType getType() const; + /*4*/ virtual void addChildren(class StructurePiece &, std::vector> &, class Random &); + /*5*/ virtual bool postProcess(class BlockSource &, class Random &, class BoundingBox const &); + /*6*/ virtual void __unk_vfn_6(); + /*7*/ virtual int getWorldX(int, int); + /*8*/ virtual int getWorldZ(int, int); + /*9*/ virtual void placeBlock(class BlockSource &, class Block const &, int, int, int, class BoundingBox const &); + /*10*/ virtual void generateBox(class BlockSource &, class BoundingBox const &, int, int, int, int, int, int, class Block const &, class Block const &, bool); + /*11*/ virtual void addHardcodedSpawnAreas(class LevelChunk &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_NBCASTLESTALKROOM +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/NBMonsterThrone.hpp b/LiteLoader/Header/MC/NBMonsterThrone.hpp new file mode 100644 index 0000000..4e017a5 --- /dev/null +++ b/LiteLoader/Header/MC/NBMonsterThrone.hpp @@ -0,0 +1,39 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "NetherFortressPiece.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class NBMonsterThrone : public NetherFortressPiece { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_NBMONSTERTHRONE +public: + class NBMonsterThrone& operator=(class NBMonsterThrone const &) = delete; + NBMonsterThrone(class NBMonsterThrone const &) = delete; + NBMonsterThrone() = delete; +#endif + +public: + /*0*/ virtual ~NBMonsterThrone(); + /*1*/ virtual void moveBoundingBox(int, int, int); + /*2*/ virtual void __unk_vfn_2(); + /*3*/ virtual enum StructurePieceType getType() const; + /*4*/ virtual void __unk_vfn_4(); + /*5*/ virtual bool postProcess(class BlockSource &, class Random &, class BoundingBox const &); + /*6*/ virtual void __unk_vfn_6(); + /*7*/ virtual int getWorldX(int, int); + /*8*/ virtual int getWorldZ(int, int); + /*9*/ virtual void placeBlock(class BlockSource &, class Block const &, int, int, int, class BoundingBox const &); + /*10*/ virtual void generateBox(class BlockSource &, class BoundingBox const &, int, int, int, int, int, int, class Block const &, class Block const &, bool); + /*11*/ virtual void addHardcodedSpawnAreas(class LevelChunk &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_NBMONSTERTHRONE +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/NBRoomCrossing.hpp b/LiteLoader/Header/MC/NBRoomCrossing.hpp new file mode 100644 index 0000000..c9f9502 --- /dev/null +++ b/LiteLoader/Header/MC/NBRoomCrossing.hpp @@ -0,0 +1,39 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "NetherFortressPiece.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class NBRoomCrossing : public NetherFortressPiece { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_NBROOMCROSSING +public: + class NBRoomCrossing& operator=(class NBRoomCrossing const &) = delete; + NBRoomCrossing(class NBRoomCrossing const &) = delete; + NBRoomCrossing() = delete; +#endif + +public: + /*0*/ virtual ~NBRoomCrossing(); + /*1*/ virtual void moveBoundingBox(int, int, int); + /*2*/ virtual void __unk_vfn_2(); + /*3*/ virtual enum StructurePieceType getType() const; + /*4*/ virtual void addChildren(class StructurePiece &, std::vector> &, class Random &); + /*5*/ virtual bool postProcess(class BlockSource &, class Random &, class BoundingBox const &); + /*6*/ virtual void __unk_vfn_6(); + /*7*/ virtual int getWorldX(int, int); + /*8*/ virtual int getWorldZ(int, int); + /*9*/ virtual void placeBlock(class BlockSource &, class Block const &, int, int, int, class BoundingBox const &); + /*10*/ virtual void generateBox(class BlockSource &, class BoundingBox const &, int, int, int, int, int, int, class Block const &, class Block const &, bool); + /*11*/ virtual void addHardcodedSpawnAreas(class LevelChunk &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_NBROOMCROSSING +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/NBStairsRoom.hpp b/LiteLoader/Header/MC/NBStairsRoom.hpp new file mode 100644 index 0000000..19a3fc8 --- /dev/null +++ b/LiteLoader/Header/MC/NBStairsRoom.hpp @@ -0,0 +1,39 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "NetherFortressPiece.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class NBStairsRoom : public NetherFortressPiece { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_NBSTAIRSROOM +public: + class NBStairsRoom& operator=(class NBStairsRoom const &) = delete; + NBStairsRoom(class NBStairsRoom const &) = delete; + NBStairsRoom() = delete; +#endif + +public: + /*0*/ virtual ~NBStairsRoom(); + /*1*/ virtual void moveBoundingBox(int, int, int); + /*2*/ virtual void __unk_vfn_2(); + /*3*/ virtual enum StructurePieceType getType() const; + /*4*/ virtual void addChildren(class StructurePiece &, std::vector> &, class Random &); + /*5*/ virtual bool postProcess(class BlockSource &, class Random &, class BoundingBox const &); + /*6*/ virtual void __unk_vfn_6(); + /*7*/ virtual int getWorldX(int, int); + /*8*/ virtual int getWorldZ(int, int); + /*9*/ virtual void placeBlock(class BlockSource &, class Block const &, int, int, int, class BoundingBox const &); + /*10*/ virtual void generateBox(class BlockSource &, class BoundingBox const &, int, int, int, int, int, int, class Block const &, class Block const &, bool); + /*11*/ virtual void addHardcodedSpawnAreas(class LevelChunk &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_NBSTAIRSROOM +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/NBStartPiece.hpp b/LiteLoader/Header/MC/NBStartPiece.hpp new file mode 100644 index 0000000..6966829 --- /dev/null +++ b/LiteLoader/Header/MC/NBStartPiece.hpp @@ -0,0 +1,32 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "NBBridgeCrossing.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class NBStartPiece : public NBBridgeCrossing { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_NBSTARTPIECE +public: + class NBStartPiece& operator=(class NBStartPiece const &) = delete; + NBStartPiece(class NBStartPiece const &) = delete; + NBStartPiece() = delete; +#endif + +public: + /*0*/ virtual ~NBStartPiece(); + /*2*/ virtual void __unk_vfn_2(); + /*3*/ virtual enum StructurePieceType getType() const; + /*6*/ virtual void __unk_vfn_6(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_NBSTARTPIECE +#endif + MCAPI NBStartPiece(class Random &, int, int); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/NameAction.hpp b/LiteLoader/Header/MC/NameAction.hpp new file mode 100644 index 0000000..63ec10d --- /dev/null +++ b/LiteLoader/Header/MC/NameAction.hpp @@ -0,0 +1,27 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +struct NameAction { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_NAMEACTION +public: + struct NameAction& operator=(struct NameAction const &) = delete; + NameAction() = delete; +#endif +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_NAMEACTION +#endif + MCAPI NameAction(struct NameAction const &); + MCAPI void addNameFilterByName(std::string const &); + MCAPI ~NameAction(); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/NameableComponent.hpp b/LiteLoader/Header/MC/NameableComponent.hpp new file mode 100644 index 0000000..16f2fb8 --- /dev/null +++ b/LiteLoader/Header/MC/NameableComponent.hpp @@ -0,0 +1,28 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class NameableComponent { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_NAMEABLECOMPONENT +public: + class NameableComponent& operator=(class NameableComponent const &) = delete; + NameableComponent(class NameableComponent const &) = delete; + NameableComponent() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_NAMEABLECOMPONENT +#endif + MCAPI bool getInteraction(class Actor &, class Player &, class ActorInteraction &); + MCAPI void nameEntity(class Actor &, std::string const &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/NameableDefinition.hpp b/LiteLoader/Header/MC/NameableDefinition.hpp new file mode 100644 index 0000000..0b7711c --- /dev/null +++ b/LiteLoader/Header/MC/NameableDefinition.hpp @@ -0,0 +1,39 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Json.hpp" +#include "JsonUtil.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class NameableDefinition { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_NAMEABLEDEFINITION +public: + class NameableDefinition& operator=(class NameableDefinition const &) = delete; + NameableDefinition(class NameableDefinition const &) = delete; + NameableDefinition() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_NAMEABLEDEFINITION +#endif + MCAPI void addNameAction(struct NameAction const &); + MCAPI void deserializeData(class Json::Value &); + MCAPI void initialize(class EntityContext &, class NameableComponent &) const; + MCAPI void serializeData(class Json::Value &) const; + MCAPI ~NameableDefinition(); + MCAPI static void buildSchema(class std::shared_ptr> &); + +//private: + MCAPI void parseNameActions(class Json::Value &); + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/NapGoal.hpp b/LiteLoader/Header/MC/NapGoal.hpp new file mode 100644 index 0000000..10d8b4f --- /dev/null +++ b/LiteLoader/Header/MC/NapGoal.hpp @@ -0,0 +1,41 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class NapGoal { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_NAPGOAL +public: + class NapGoal& operator=(class NapGoal const &) = delete; + NapGoal(class NapGoal const &) = delete; + NapGoal() = delete; +#endif + +public: + /*0*/ virtual ~NapGoal(); + /*1*/ virtual bool canUse(); + /*2*/ virtual bool canContinueToUse(); + /*3*/ virtual void __unk_vfn_3(); + /*4*/ virtual void start(); + /*5*/ virtual void stop(); + /*6*/ virtual void __unk_vfn_6(); + /*7*/ virtual void appendDebugInfo(std::string &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_NAPGOAL +#endif + +//private: + MCAPI bool _canSleep(struct Tick const &) const; + MCAPI bool _detectsMobs() const; + MCAPI void _setCooldown(); + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/NavigationClimbDescription.hpp b/LiteLoader/Header/MC/NavigationClimbDescription.hpp new file mode 100644 index 0000000..24dad7c --- /dev/null +++ b/LiteLoader/Header/MC/NavigationClimbDescription.hpp @@ -0,0 +1,28 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Json.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +struct NavigationClimbDescription { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_NAVIGATIONCLIMBDESCRIPTION +public: + struct NavigationClimbDescription& operator=(struct NavigationClimbDescription const &) = delete; + NavigationClimbDescription(struct NavigationClimbDescription const &) = delete; + NavigationClimbDescription() = delete; +#endif +public: + /*0*/ virtual char const * getJsonName() const; + /*1*/ virtual ~NavigationClimbDescription(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_NAVIGATIONCLIMBDESCRIPTION +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/NavigationComponent.hpp b/LiteLoader/Header/MC/NavigationComponent.hpp new file mode 100644 index 0000000..7f027d2 --- /dev/null +++ b/LiteLoader/Header/MC/NavigationComponent.hpp @@ -0,0 +1,31 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class NavigationComponent { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_NAVIGATIONCOMPONENT +public: + class NavigationComponent& operator=(class NavigationComponent const &) = delete; + NavigationComponent(class NavigationComponent const &) = delete; + NavigationComponent() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_NAVIGATIONCOMPONENT +#endif + MCAPI NavigationComponent(class NavigationComponent &&); + MCAPI void initializeFromDefinition(class Mob &, struct NavigationDescription *); + MCAPI bool moveTo(class Mob &, std::unique_ptr, float); + MCAPI void setInternalType(std::unique_ptr); + MCAPI ~NavigationComponent(); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/NavigationDescription.hpp b/LiteLoader/Header/MC/NavigationDescription.hpp new file mode 100644 index 0000000..9eb60af --- /dev/null +++ b/LiteLoader/Header/MC/NavigationDescription.hpp @@ -0,0 +1,30 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Json.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +struct NavigationDescription { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_NAVIGATIONDESCRIPTION +public: + struct NavigationDescription& operator=(struct NavigationDescription const &) = delete; + NavigationDescription(struct NavigationDescription const &) = delete; +#endif +public: + /*0*/ virtual char const * getJsonName() const = 0; + /*1*/ virtual ~NavigationDescription(); + /*2*/ virtual void deserializeData(class Json::Value &); + /*3*/ virtual void serializeData(class Json::Value &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_NAVIGATIONDESCRIPTION +#endif + MCAPI NavigationDescription(); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/NavigationFloatDescription.hpp b/LiteLoader/Header/MC/NavigationFloatDescription.hpp new file mode 100644 index 0000000..315fd08 --- /dev/null +++ b/LiteLoader/Header/MC/NavigationFloatDescription.hpp @@ -0,0 +1,28 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Json.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +struct NavigationFloatDescription { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_NAVIGATIONFLOATDESCRIPTION +public: + struct NavigationFloatDescription& operator=(struct NavigationFloatDescription const &) = delete; + NavigationFloatDescription(struct NavigationFloatDescription const &) = delete; + NavigationFloatDescription() = delete; +#endif +public: + /*0*/ virtual char const * getJsonName() const; + /*1*/ virtual ~NavigationFloatDescription(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_NAVIGATIONFLOATDESCRIPTION +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/NavigationFlyDescription.hpp b/LiteLoader/Header/MC/NavigationFlyDescription.hpp new file mode 100644 index 0000000..fdb4473 --- /dev/null +++ b/LiteLoader/Header/MC/NavigationFlyDescription.hpp @@ -0,0 +1,28 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Json.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +struct NavigationFlyDescription { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_NAVIGATIONFLYDESCRIPTION +public: + struct NavigationFlyDescription& operator=(struct NavigationFlyDescription const &) = delete; + NavigationFlyDescription(struct NavigationFlyDescription const &) = delete; + NavigationFlyDescription() = delete; +#endif +public: + /*0*/ virtual char const * getJsonName() const; + /*1*/ virtual ~NavigationFlyDescription(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_NAVIGATIONFLYDESCRIPTION +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/NavigationGenericDescription.hpp b/LiteLoader/Header/MC/NavigationGenericDescription.hpp new file mode 100644 index 0000000..223f52d --- /dev/null +++ b/LiteLoader/Header/MC/NavigationGenericDescription.hpp @@ -0,0 +1,28 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Json.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +struct NavigationGenericDescription { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_NAVIGATIONGENERICDESCRIPTION +public: + struct NavigationGenericDescription& operator=(struct NavigationGenericDescription const &) = delete; + NavigationGenericDescription(struct NavigationGenericDescription const &) = delete; + NavigationGenericDescription() = delete; +#endif +public: + /*0*/ virtual char const * getJsonName() const; + /*1*/ virtual ~NavigationGenericDescription(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_NAVIGATIONGENERICDESCRIPTION +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/NavigationHoverDescription.hpp b/LiteLoader/Header/MC/NavigationHoverDescription.hpp new file mode 100644 index 0000000..2b01f3f --- /dev/null +++ b/LiteLoader/Header/MC/NavigationHoverDescription.hpp @@ -0,0 +1,28 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Json.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +struct NavigationHoverDescription { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_NAVIGATIONHOVERDESCRIPTION +public: + struct NavigationHoverDescription& operator=(struct NavigationHoverDescription const &) = delete; + NavigationHoverDescription(struct NavigationHoverDescription const &) = delete; + NavigationHoverDescription() = delete; +#endif +public: + /*0*/ virtual char const * getJsonName() const; + /*1*/ virtual ~NavigationHoverDescription(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_NAVIGATIONHOVERDESCRIPTION +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/NavigationSwimDescription.hpp b/LiteLoader/Header/MC/NavigationSwimDescription.hpp new file mode 100644 index 0000000..7386ba5 --- /dev/null +++ b/LiteLoader/Header/MC/NavigationSwimDescription.hpp @@ -0,0 +1,30 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Json.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +struct NavigationSwimDescription { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_NAVIGATIONSWIMDESCRIPTION +public: + struct NavigationSwimDescription& operator=(struct NavigationSwimDescription const &) = delete; + NavigationSwimDescription(struct NavigationSwimDescription const &) = delete; + NavigationSwimDescription() = delete; +#endif +public: + /*0*/ virtual char const * getJsonName() const; + /*1*/ virtual ~NavigationSwimDescription(); + /*2*/ virtual void deserializeData(class Json::Value &); + /*3*/ virtual void serializeData(class Json::Value &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_NAVIGATIONSWIMDESCRIPTION +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/NavigationSystem.hpp b/LiteLoader/Header/MC/NavigationSystem.hpp new file mode 100644 index 0000000..9d659d7 --- /dev/null +++ b/LiteLoader/Header/MC/NavigationSystem.hpp @@ -0,0 +1,28 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class NavigationSystem { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_NAVIGATIONSYSTEM +public: + class NavigationSystem& operator=(class NavigationSystem const &) = delete; + NavigationSystem(class NavigationSystem const &) = delete; + NavigationSystem() = delete; +#endif + +public: + /*0*/ virtual ~NavigationSystem(); + /*1*/ virtual void tick(class EntityRegistry &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_NAVIGATIONSYSTEM +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/NavigationUtility.hpp b/LiteLoader/Header/MC/NavigationUtility.hpp new file mode 100644 index 0000000..7abab00 --- /dev/null +++ b/LiteLoader/Header/MC/NavigationUtility.hpp @@ -0,0 +1,27 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +namespace NavigationUtility { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA + MCAPI bool canMoveDirectly(class Mob &, class Vec3 const &, class Vec3 const &, int, int, int, bool); + MCAPI bool canWalkAbove(class Mob &, int, int, int, int, int, int, class Vec3 const &, float, float, bool); + MCAPI bool canWalkDirectly(class Mob &, class Vec3 const &, class Vec3 const &, int, int, int, bool); + MCAPI bool canWalkOn(class Mob &, int, int, int, int, int, int, class Vec3 const &, float, float, bool); + MCAPI bool closeToDone(class Mob const &, float); + MCAPI bool flyCondition(class Mob const &, class BlockSource &, int, int, int); + MCAPI bool invalidPathStartStatus(class Mob const &, class BlockPos &); + MCAPI bool isDoorBlockingPath(class Mob const &, class Block const &, class Path const &, class BlockPos const &, unsigned __int64); + MCAPI bool isInNode(class Mob const &, class BlockPos const &); + MCAPI bool moveCondition(class Mob const &, class Block const &); + MCAPI bool swimCondition(class Mob const &, class BlockSource &, int, int, int); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/NavigationWalkDescription.hpp b/LiteLoader/Header/MC/NavigationWalkDescription.hpp new file mode 100644 index 0000000..fa3390d --- /dev/null +++ b/LiteLoader/Header/MC/NavigationWalkDescription.hpp @@ -0,0 +1,28 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Json.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +struct NavigationWalkDescription { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_NAVIGATIONWALKDESCRIPTION +public: + struct NavigationWalkDescription& operator=(struct NavigationWalkDescription const &) = delete; + NavigationWalkDescription(struct NavigationWalkDescription const &) = delete; + NavigationWalkDescription() = delete; +#endif +public: + /*0*/ virtual char const * getJsonName() const; + /*1*/ virtual ~NavigationWalkDescription(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_NAVIGATIONWALKDESCRIPTION +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/NbtIo.hpp b/LiteLoader/Header/MC/NbtIo.hpp new file mode 100644 index 0000000..a29431c --- /dev/null +++ b/LiteLoader/Header/MC/NbtIo.hpp @@ -0,0 +1,28 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class NbtIo { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_NBTIO +public: + class NbtIo& operator=(class NbtIo const &) = delete; + NbtIo(class NbtIo const &) = delete; + NbtIo() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_NBTIO +#endif + MCAPI static std::unique_ptr read(class IDataInput &); + MCAPI static void write(class CompoundTag const *, class IDataOutput &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/NearestAttackableTargetDefinition.hpp b/LiteLoader/Header/MC/NearestAttackableTargetDefinition.hpp new file mode 100644 index 0000000..f8828ef --- /dev/null +++ b/LiteLoader/Header/MC/NearestAttackableTargetDefinition.hpp @@ -0,0 +1,31 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "JsonUtil.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class NearestAttackableTargetDefinition { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_NEARESTATTACKABLETARGETDEFINITION +public: + class NearestAttackableTargetDefinition& operator=(class NearestAttackableTargetDefinition const &) = delete; + NearestAttackableTargetDefinition(class NearestAttackableTargetDefinition const &) = delete; + NearestAttackableTargetDefinition() = delete; +#endif + +public: + /*0*/ virtual ~NearestAttackableTargetDefinition(); + /*1*/ virtual void __unk_vfn_1(); + /*2*/ virtual bool validate(class Mob &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_NEARESTATTACKABLETARGETDEFINITION +#endif + MCAPI static void buildSchema(std::string const &, class std::shared_ptr> &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/NearestAttackableTargetGoal.hpp b/LiteLoader/Header/MC/NearestAttackableTargetGoal.hpp new file mode 100644 index 0000000..d73ebbd --- /dev/null +++ b/LiteLoader/Header/MC/NearestAttackableTargetGoal.hpp @@ -0,0 +1,46 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "TargetGoal.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class NearestAttackableTargetGoal : public TargetGoal { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_NEARESTATTACKABLETARGETGOAL +public: + class NearestAttackableTargetGoal& operator=(class NearestAttackableTargetGoal const &) = delete; + NearestAttackableTargetGoal(class NearestAttackableTargetGoal const &) = delete; + NearestAttackableTargetGoal() = delete; +#endif + +public: + /*0*/ virtual ~NearestAttackableTargetGoal(); + /*1*/ virtual bool canUse(); + /*2*/ virtual bool canContinueToUse(); + /*4*/ virtual void start(); + /*7*/ virtual void appendDebugInfo(std::string &) const; + /*8*/ virtual void __unk_vfn_8(); + /*9*/ virtual void __unk_vfn_9(); + /*11*/ virtual struct ActorUniqueID _findTarget(struct MobDescriptor const **); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_NEARESTATTACKABLETARGETGOAL +#endif + +//protected: + MCAPI bool _canStartSearching(); + MCAPI bool _isTargetVisible(class Mob const &, float, float) const; + +//private: + MCAPI bool _selectTarget(); + +protected: + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/NearestPrioritizedAttackableTargetGoal.hpp b/LiteLoader/Header/MC/NearestPrioritizedAttackableTargetGoal.hpp new file mode 100644 index 0000000..27351da --- /dev/null +++ b/LiteLoader/Header/MC/NearestPrioritizedAttackableTargetGoal.hpp @@ -0,0 +1,32 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "NearestAttackableTargetGoal.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class NearestPrioritizedAttackableTargetGoal : public NearestAttackableTargetGoal { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_NEARESTPRIORITIZEDATTACKABLETARGETGOAL +public: + class NearestPrioritizedAttackableTargetGoal& operator=(class NearestPrioritizedAttackableTargetGoal const &) = delete; + NearestPrioritizedAttackableTargetGoal(class NearestPrioritizedAttackableTargetGoal const &) = delete; + NearestPrioritizedAttackableTargetGoal() = delete; +#endif + +public: + /*0*/ virtual ~NearestPrioritizedAttackableTargetGoal(); + /*7*/ virtual void appendDebugInfo(std::string &) const; + /*8*/ virtual void __unk_vfn_8(); + /*9*/ virtual void __unk_vfn_9(); + /*11*/ virtual struct ActorUniqueID _findTarget(struct MobDescriptor const **); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_NEARESTPRIORITIZEDATTACKABLETARGETGOAL +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/NetEventCallback.hpp b/LiteLoader/Header/MC/NetEventCallback.hpp new file mode 100644 index 0000000..06c96a7 --- /dev/null +++ b/LiteLoader/Header/MC/NetEventCallback.hpp @@ -0,0 +1,205 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class NetEventCallback { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_NETEVENTCALLBACK +public: + class NetEventCallback& operator=(class NetEventCallback const &) = delete; + NetEventCallback(class NetEventCallback const &) = delete; + NetEventCallback() = delete; +#endif + +public: + /*0*/ virtual void __unk_vfn_0(); + /*1*/ virtual ~NetEventCallback(); + /*2*/ virtual void __unk_vfn_2() = 0; + /*3*/ virtual void __unk_vfn_3(); + /*4*/ virtual void __unk_vfn_4(); + /*5*/ virtual void __unk_vfn_5(); + /*6*/ virtual void __unk_vfn_6(); + /*7*/ virtual void __unk_vfn_7(); + /*8*/ virtual void onWebsocketRequest(std::string const &, std::string const &, class std::function); + /*9*/ virtual void __unk_vfn_9(); + /*10*/ virtual void __unk_vfn_10(); + /*11*/ virtual class GameSpecificNetEventCallback * getGameSpecificNetEventCallback(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_NETEVENTCALLBACK + MCVAPI void handle(class NetworkIdentifier const &, class ActorFallPacket const &); + MCVAPI void handle(class NetworkIdentifier const &, class ShowProfilePacket const &); + MCVAPI void handle(class NetworkIdentifier const &, class MobEquipmentPacket const &); + MCVAPI void handle(class NetworkIdentifier const &, class MapInfoRequestPacket const &); + MCVAPI void handle(class NetworkIdentifier const &, class AddPaintingPacket const &); + MCVAPI void handle(class NetworkIdentifier const &, class GameRulesChangedPacket const &); + MCVAPI void handle(class NetworkIdentifier const &, class StopSoundPacket const &); + MCVAPI void handle(class NetworkIdentifier const &, class ChunkRadiusUpdatedPacket const &); + MCVAPI void handle(class NetworkIdentifier const &, class BookEditPacket const &); + MCVAPI void handle(class NetworkIdentifier const &, class ContainerClosePacket const &); + MCVAPI void handle(class NetworkIdentifier const &, class MoveActorDeltaPacket const &); + MCVAPI void handle(class NetworkIdentifier const &, class UpdateSoftEnumPacket const &); + MCVAPI void handle(class NetworkIdentifier const &, class CodeBuilderPacket const &); + MCVAPI void handle(class NetworkIdentifier const &, class SetScoreboardIdentityPacket const &); + MCVAPI void handle(class NetworkIdentifier const &, class RequestChunkRadiusPacket const &); + MCVAPI void handle(class NetworkIdentifier const &, class PlaySoundPacket const &); + MCVAPI void handle(class NetworkIdentifier const &, class NetworkChunkPublisherUpdatePacket const &); + MCVAPI void handle(class NetworkIdentifier const &, class SetLocalPlayerAsInitializedPacket const &); + MCVAPI void handle(class NetworkIdentifier const &, class SetTimePacket const &); + MCVAPI void handle(class NetworkIdentifier const &, class BookAddPagePacket const &); + MCVAPI void handle(class NetworkIdentifier const &, class SimpleEventPacket const &); + MCVAPI void handle(class NetworkIdentifier const &, class EducationSettingsPacket const &); + MCVAPI void handle(class NetworkIdentifier const &, class EmoteListPacket const &); + MCVAPI void handle(class NetworkIdentifier const &, class AddItemActorPacket const &); + MCVAPI void handle(class NetworkIdentifier const &, class ResourcePackClientResponsePacket const &); + MCVAPI void handle(class NetworkIdentifier const &, class ModalFormResponsePacket const &); + MCVAPI void handle(class NetworkIdentifier const &, class PlayStatusPacket const &); + MCVAPI void handle(class NetworkIdentifier const &, class CommandRequestPacket const &); + MCVAPI void handle(class NetworkIdentifier const &, class PlayerArmorDamagePacket const &); + MCVAPI void handle(class NetworkIdentifier const &, class PhotoTransferPacket const &); + MCVAPI void handle(class NetworkIdentifier const &, class SetDifficultyPacket const &); + MCVAPI void handle(class NetworkIdentifier const &, class DisconnectPacket const &); + MCVAPI void handle(class NetworkIdentifier const &, class LevelEventPacket const &); + MCVAPI void handle(class NetworkIdentifier const &, class ContainerOpenPacket const &); + MCVAPI void handle(class NetworkIdentifier const &, class ClientCacheBlobStatusPacket const &); + MCVAPI void handle(class NetworkIdentifier const &, class UpdateAttributesPacket const &); + MCVAPI void handle(class NetworkIdentifier const &, class BossEventPacket const &); + MCVAPI void handle(class NetworkIdentifier const &, class InventoryTransactionPacket const &); + MCVAPI void handle(class NetworkIdentifier const &, class ServerSettingsRequestPacket const &); + MCVAPI void handle(class NetworkIdentifier const &, class CraftingDataPacket const &); + MCVAPI void handle(class NetworkIdentifier const &, class ResourcePackStackPacket const &); + MCVAPI void handle(class NetworkIdentifier const &, class AddMobPacket const &); + MCVAPI void handle(class NetworkIdentifier const &, class InventoryContentPacket const &); + MCVAPI void handle(class NetworkIdentifier const &, class PlayerHotbarPacket const &); + MCVAPI void handle(class NetworkIdentifier const &, class UpdateTradePacket const &); + MCVAPI void handle(class NetworkIdentifier const &, class StructureTemplateDataResponsePacket const &); + MCVAPI void handle(class NetworkIdentifier const &, class RemoveObjectivePacket const &); + MCVAPI void handle(class NetworkIdentifier const &, class EmotePacket const &); + MCVAPI void handle(class NetworkIdentifier const &, class PlayerEnchantOptionsPacket const &); + MCVAPI void handle(class NetworkIdentifier const &, class LevelSoundEventPacket const &); + MCVAPI void handle(class NetworkIdentifier const &, class UpdatePlayerGameTypePacket const &); + MCVAPI void handle(class NetworkIdentifier const &, class BookSignPacket const &); + MCVAPI void handle(class NetworkIdentifier const &, class ItemFrameDropItemPacket const &); + MCVAPI void handle(class NetworkIdentifier const &, class AddPlayerPacket const &); + MCVAPI void handle(class NetworkIdentifier const &, class AddEntityPacket const &); + MCVAPI void handle(class NetworkIdentifier const &, class NetworkSettingsPacket const &); + MCVAPI void handle(class NetworkIdentifier const &, class ResourcePackChunkRequestPacket const &); + MCVAPI void handle(class NetworkIdentifier const &, class CreativeContentPacket const &); + MCVAPI void handle(class NetworkIdentifier const &, class PacketViolationWarningPacket const &); + MCVAPI void handle(class NetworkIdentifier const &, class ItemStackResponsePacket const &); + MCVAPI void handle(class NetworkIdentifier const &, class SetActorMotionPacket const &); + MCVAPI void handle(class NetworkIdentifier const &, class ContainerSetDataPacket const &); + MCVAPI void handle(class NetworkIdentifier const &, class GuiDataPickItemPacket const &); + MCVAPI void handle(class NetworkIdentifier const &, class SetTitlePacket const &); + MCVAPI void handle(class NetworkIdentifier const &, class AddActorPacket const &); + MCVAPI void handle(class NetworkIdentifier const &, class SpawnParticleEffectPacket const &); + MCVAPI void handle(class NetworkIdentifier const &, class PlayerSkinPacket const &); + MCVAPI void handle(class NetworkIdentifier const &, class SetDisplayObjectivePacket const &); + MCVAPI void handle(class NetworkIdentifier const &, class RemoveActorPacket const &); + MCVAPI void handle(class NetworkIdentifier const &, class LabTablePacket const &); + MCVAPI void handle(class NetworkIdentifier const &, class ClientCacheStatusPacket const &); + MCVAPI void handle(class NetworkIdentifier const &, class EventPacket const &); + MCVAPI void handle(class NetworkIdentifier const &, class SetCommandsEnabledPacket const &); + MCVAPI void handle(class NetworkIdentifier const &, class ClientboundMapItemDataPacket const &); + MCVAPI void handle(class NetworkIdentifier const &, class NpcRequestPacket const &); + MCVAPI void handle(class NetworkIdentifier const &, class PositionTrackingDBServerBroadcastPacket const &); + MCVAPI void handle(class NetworkIdentifier const &, class SetDefaultGameTypePacket const &); + MCVAPI void handle(class NetworkIdentifier const &, class ShowCreditsPacket const &); + MCVAPI void handle(class NetworkIdentifier const &, class LecternUpdatePacket const &); + MCVAPI void handle(class NetworkIdentifier const &, class BlockPickRequestPacket const &); + MCVAPI void handle(class NetworkIdentifier const &, class LevelEventGenericPacket const &); + MCVAPI void handle(class NetworkIdentifier const &, class BookSwapPagesPacket const &); + MCVAPI void handle(class NetworkIdentifier const &, class MultiplayerSettingsPacket const &); + MCVAPI void handle(class NetworkIdentifier const &, class ActorPickRequestPacket const &); + MCVAPI void handle(class NetworkIdentifier const &, class MovePlayerPacket const &); + MCVAPI void handle(class NetworkIdentifier const &, class ItemStackRequestPacket const &); + MCVAPI void handle(class NetworkIdentifier const &, class UpdateEquipPacket const &); + MCVAPI void handle(class NetworkIdentifier const &, class CommandBlockUpdatePacket const &); + MCVAPI void handle(class NetworkIdentifier const &, class MobEffectPacket const &); + MCVAPI void handle(class NetworkIdentifier const &, class InteractPacket const &); + MCVAPI void handle(class NetworkIdentifier const &, class ResourcePackDataInfoPacket const &); + MCVAPI void handle(class NetworkIdentifier const &, class BookDeletePagePacket const &); + MCVAPI void handle(class NetworkIdentifier const &, class AnimatePacket const &); + MCVAPI void handle(class NetworkIdentifier const &, class StartGamePacket const &); + MCVAPI void handle(class NetworkIdentifier const &, class CameraPacket const &); + MCVAPI void handle(class NetworkIdentifier const &, class ClientToServerHandshakePacket const &); + MCVAPI void handle(class NetworkIdentifier const &, class ServerToClientHandshakePacket const &); + MCVAPI void handle(class NetworkIdentifier const &, class AvailableActorIdentifiersPacket const &); + MCVAPI void handle(class NetworkIdentifier const &, class AdventureSettingsPacket const &); + MCVAPI void handle(class NetworkIdentifier const &, class SetScorePacket const &); + MCVAPI void handle(class NetworkIdentifier const &, class HurtArmorPacket const &); + MCVAPI void handle(class NetworkIdentifier const &, class NetworkStackLatencyPacket const &); + MCVAPI void handle(class NetworkIdentifier const &, class SubClientLoginPacket const &); + MCVAPI void handle(class NetworkIdentifier const &, class PlayerInputPacket const &); + MCVAPI void handle(class NetworkIdentifier const &, class StructureTemplateDataRequestPacket const &); + MCVAPI void handle(class NetworkIdentifier const &, class LevelSoundEventPacketV1 const &); + MCVAPI void handle(class NetworkIdentifier const &, class LevelSoundEventPacketV2 const &); + MCVAPI void handle(class NetworkIdentifier const &, class StructureBlockUpdatePacket const &); + MCVAPI void handle(class NetworkIdentifier const &, class SetPlayerGameTypePacket const &); + MCVAPI void handle(class NetworkIdentifier const &, class DebugInfoPacket const &); + MCVAPI void handle(class NetworkIdentifier const &, class MoveActorAbsolutePacket const &); + MCVAPI void handle(class NetworkIdentifier const &, class AddBehaviorTreePacket const &); + MCVAPI void handle(class NetworkIdentifier const &, class InventoryActionPacket const &); + MCVAPI void handle(class NetworkIdentifier const &, class BiomeDefinitionListPacket const &); + MCVAPI void handle(class NetworkIdentifier const &, class LoginPacket const &); + MCVAPI void handle(class NetworkIdentifier const &, class CompletedUsingItemPacket const &); + MCVAPI void handle(class NetworkIdentifier const &, class PurchaseReceiptPacket const &); + MCVAPI void handle(class NetworkIdentifier const &, class PlayerListPacket const &); + MCVAPI void handle(class NetworkIdentifier const &, class MobArmorEquipmentPacket const &); + MCVAPI void handle(class NetworkIdentifier const &, class SetLastHurtByPacket const &); + MCVAPI void handle(class NetworkIdentifier const &, class PositionTrackingDBClientRequestPacket const &); + MCVAPI void handle(class NetworkIdentifier const &, class TransferPacket const &); + MCVAPI void handle(class NetworkIdentifier const &, class ResourcePacksInfoPacket const &); + MCVAPI void handle(class NetworkIdentifier const &, class TickSyncPacket const &); + MCVAPI void handle(class NetworkIdentifier const &, class SetSpawnPositionPacket const &); + MCVAPI void handle(class NetworkIdentifier const &, class AutomationClientConnectPacket const &); + MCVAPI void handle(class NetworkIdentifier const &, class ShowStoreOfferPacket const &); + MCVAPI void handle(class NetworkIdentifier const &, class RiderJumpPacket const &); + MCVAPI void handle(class NetworkIdentifier const &, class SetActorDataPacket const &); + MCVAPI void handle(class NetworkIdentifier const &, class BlockEventPacket const &); + MCVAPI void handle(class NetworkIdentifier const &, class TakeItemActorPacket const &); + MCVAPI void handle(class NetworkIdentifier const &, class ActorEventPacket const &); + MCVAPI void handle(class NetworkIdentifier const &, class PlayerAuthInputPacket const &); + MCVAPI void handle(class NetworkIdentifier const &, class ServerSettingsResponsePacket const &); + MCVAPI void handle(class NetworkIdentifier const &, class SettingsCommandPacket const &); + MCVAPI void handle(class NetworkIdentifier const &, class SpawnExperienceOrbPacket const &); + MCVAPI void handle(class NetworkIdentifier const &, class ChangeDimensionPacket const &); + MCVAPI void handle(class NetworkIdentifier const &, class InventorySlotPacket const &); + MCVAPI void handle(class NetworkIdentifier const &, class RespawnPacket const &); + MCVAPI void handle(class NetworkIdentifier const &, class AvailableCommandsPacket const &); + MCVAPI void handle(class NetworkIdentifier const &, class SetHealthPacket const &); + MCVAPI void handle(class NetworkIdentifier const &, class UpdateBlockPropertiesPacket const &); + MCVAPI void handle(class NetworkIdentifier const &, class AnvilDamagePacket const &); + MCVAPI void handle(class NetworkIdentifier const &, class ResourcePackChunkDataPacket const &); + MCVAPI void handle(class NetworkIdentifier const &, class CraftingEventPacket const &); + MCVAPI void handle(class NetworkIdentifier const &, class ModalFormRequestPacket const &); + MCVAPI void handle(class NetworkIdentifier const &, class PlayerActionPacket const &); + MCVAPI void handle(class NetworkIdentifier const &, class RemoveEntityPacket const &); + MCVAPI void handle(class NetworkIdentifier const &, class CommandOutputPacket const &); + MCVAPI void handle(class NetworkIdentifier const &, class MapCreateLockedCopyPacket const &); + MCVAPI void handle(class NetworkIdentifier const &, class OnScreenTextureAnimationPacket const &); + MCVAPI void handle(class NetworkIdentifier const &, class ScriptCustomEventPacket const &); + MCVAPI void handle(class NetworkIdentifier const &, class SetActorLinkPacket const &); + MCVAPI void handle(class NetworkIdentifier const &, class TextPacket const &); + MCVAPI void handle(class NetworkIdentifier const &, class std::shared_ptr); + MCVAPI void handle(class NetworkIdentifier const &, class std::shared_ptr); + MCVAPI void handle(class NetworkIdentifier const &, class std::shared_ptr); + MCVAPI void handle(class NetworkIdentifier const &, class std::shared_ptr); + MCVAPI void handle(class NetworkIdentifier const &, class std::shared_ptr); + MCVAPI void onConnect(class NetworkIdentifier const &); + MCVAPI void onDisconnect(class NetworkIdentifier const &, std::string const &, bool, std::string const &); + MCVAPI void onPlayerReady(class Player &); + MCVAPI void onStoreOfferReceive(bool, std::string const &); + MCVAPI void onTick(); + MCVAPI void onTransferRequest(class NetworkIdentifier const &, std::string const &, int); + MCVAPI void onUnableToConnect(); + MCVAPI void sendPacketViolationDetectedTelemetryData(struct ExtendedStreamReadResult const &, enum PacketViolationResponse, enum MinecraftPacketIds, class NetworkIdentifier const &); +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/NetherBrightnessRamp.hpp b/LiteLoader/Header/MC/NetherBrightnessRamp.hpp new file mode 100644 index 0000000..804a229 --- /dev/null +++ b/LiteLoader/Header/MC/NetherBrightnessRamp.hpp @@ -0,0 +1,29 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "DimensionBrightnessRamp.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class NetherBrightnessRamp : public DimensionBrightnessRamp { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_NETHERBRIGHTNESSRAMP +public: + class NetherBrightnessRamp& operator=(class NetherBrightnessRamp const &) = delete; + NetherBrightnessRamp(class NetherBrightnessRamp const &) = delete; + NetherBrightnessRamp() = delete; +#endif + +public: + /*0*/ virtual ~NetherBrightnessRamp(); + /*2*/ virtual float getBaseAmbientValue() const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_NETHERBRIGHTNESSRAMP +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/NetherDimension.hpp b/LiteLoader/Header/MC/NetherDimension.hpp new file mode 100644 index 0000000..015a816 --- /dev/null +++ b/LiteLoader/Header/MC/NetherDimension.hpp @@ -0,0 +1,38 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class NetherDimension { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_NETHERDIMENSION +public: + class NetherDimension& operator=(class NetherDimension const &) = delete; + NetherDimension(class NetherDimension const &) = delete; + NetherDimension() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_NETHERDIMENSION + MCVAPI class std::tuple, class WorldGenerator *> createGenerator(); + MCVAPI bool forceCheckAllNeighChunkSavedStat() const; + MCVAPI float getMaxFogEnd() const; + MCVAPI float getMaxFogStart() const; + MCVAPI float getTimeOfDay(int, float) const; + MCVAPI void init(); + MCVAPI bool isFoggyAt(int, int) const; + MCVAPI bool isNaturalDimension() const; + MCVAPI bool isValidSpawn(int, int) const; + MCVAPI bool mayRespawnViaBed() const; + MCVAPI bool showSky() const; + MCVAPI class Vec3 translatePosAcrossDimension(class Vec3 const &, class AutomaticID) const; +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/NetherFortressFeature.hpp b/LiteLoader/Header/MC/NetherFortressFeature.hpp new file mode 100644 index 0000000..f7651e4 --- /dev/null +++ b/LiteLoader/Header/MC/NetherFortressFeature.hpp @@ -0,0 +1,32 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "StructureFeature.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class NetherFortressFeature : public StructureFeature { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_NETHERFORTRESSFEATURE +public: + class NetherFortressFeature& operator=(class NetherFortressFeature const &) = delete; + NetherFortressFeature(class NetherFortressFeature const &) = delete; + NetherFortressFeature() = delete; +#endif + +public: + /*0*/ virtual ~NetherFortressFeature(); + /*1*/ virtual void initMobSpawnTypes(class HardcodedSpawnAreaRegistry &); + /*4*/ virtual bool isFeatureChunk(class BiomeSource const &, class Random &, class ChunkPos const &, unsigned int); + /*5*/ virtual std::unique_ptr createStructureStart(class Dimension &, class BiomeSource &, class Random &, class ChunkPos const &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_NETHERFORTRESSFEATURE +#endif + MCAPI NetherFortressFeature(unsigned int &, class BaseGameVersion const &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/NetherFortressPiece.hpp b/LiteLoader/Header/MC/NetherFortressPiece.hpp new file mode 100644 index 0000000..65e7ad6 --- /dev/null +++ b/LiteLoader/Header/MC/NetherFortressPiece.hpp @@ -0,0 +1,34 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class NetherFortressPiece { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_NETHERFORTRESSPIECE +public: + class NetherFortressPiece& operator=(class NetherFortressPiece const &) = delete; + NetherFortressPiece(class NetherFortressPiece const &) = delete; + NetherFortressPiece() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_NETHERFORTRESSPIECE + MCVAPI void addHardcodedSpawnAreas(class LevelChunk &) const; + MCVAPI bool postProcess(class BlockSource &, class Random &, class BoundingBox const &); +#endif + MCAPI std::unique_ptr findAndCreateBridgePieceFactory(std::string const &, std::vector> &, class Random &, int, int, int, int, int); + MCAPI class StructurePiece * generateAndAddPiece(class NBStartPiece &, std::vector> &, class Random &, int, int, int, int, int, bool); + MCAPI class StructurePiece * generateChildForward(class NBStartPiece &, std::vector> &, class Random &, int, int, bool); + MCAPI class StructurePiece * generateChildLeft(class NBStartPiece &, std::vector> &, class Random &, int, int, bool); + MCAPI class StructurePiece * generateChildRight(class NBStartPiece &, std::vector> &, class Random &, int, int, bool); + MCAPI std::unique_ptr generatePiece(class NBStartPiece &, std::vector &, std::vector> &, class Random &, int, int, int, int, int); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/NetherFortressStart.hpp b/LiteLoader/Header/MC/NetherFortressStart.hpp new file mode 100644 index 0000000..971663a --- /dev/null +++ b/LiteLoader/Header/MC/NetherFortressStart.hpp @@ -0,0 +1,30 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "StructureStart.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class NetherFortressStart : public StructureStart { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_NETHERFORTRESSSTART +public: + class NetherFortressStart& operator=(class NetherFortressStart const &) = delete; + NetherFortressStart(class NetherFortressStart const &) = delete; + NetherFortressStart() = delete; +#endif + +public: + /*0*/ virtual ~NetherFortressStart(); + /*3*/ virtual enum StructureFeatureType getType() const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_NETHERFORTRESSSTART +#endif + MCAPI NetherFortressStart(class Random &, int, int); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/NetherFossilFeature.hpp b/LiteLoader/Header/MC/NetherFossilFeature.hpp new file mode 100644 index 0000000..962a6d5 --- /dev/null +++ b/LiteLoader/Header/MC/NetherFossilFeature.hpp @@ -0,0 +1,34 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Feature.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class NetherFossilFeature : public Feature { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_NETHERFOSSILFEATURE +public: + class NetherFossilFeature& operator=(class NetherFossilFeature const &) = delete; + NetherFossilFeature(class NetherFossilFeature const &) = delete; + NetherFossilFeature() = delete; +#endif + +public: + /*0*/ virtual ~NetherFossilFeature(); + /*1*/ virtual bool place(class BlockSource &, class BlockPos const &, class Random &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_NETHERFOSSILFEATURE +#endif + +//private: + +private: + MCAPI static std::string const STRUCTURE_LOCATION_FOSSIL[]; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/NetherFungusBlock.hpp b/LiteLoader/Header/MC/NetherFungusBlock.hpp new file mode 100644 index 0000000..fc32281 --- /dev/null +++ b/LiteLoader/Header/MC/NetherFungusBlock.hpp @@ -0,0 +1,69 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "BlockLegacy.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class NetherFungusBlock : public BlockLegacy { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_NETHERFUNGUSBLOCK +public: + class NetherFungusBlock& operator=(class NetherFungusBlock const &) = delete; + NetherFungusBlock(class NetherFungusBlock const &) = delete; + NetherFungusBlock() = delete; +#endif + +public: + /*0*/ virtual ~NetherFungusBlock(); + /*1*/ virtual void tick(class BlockSource &, class BlockPos const &, class Random &) const; + /*10*/ virtual class AABB const & getAABB(class BlockSource &, class BlockPos const &, class Block const &, class AABB &, bool) const; + /*18*/ virtual void __unk_vfn_18(); + /*24*/ virtual void __unk_vfn_24(); + /*25*/ virtual void __unk_vfn_25(); + /*26*/ virtual void __unk_vfn_26(); + /*27*/ virtual void __unk_vfn_27(); + /*28*/ virtual void __unk_vfn_28(); + /*30*/ virtual void __unk_vfn_30(); + /*31*/ virtual void __unk_vfn_31(); + /*32*/ virtual void __unk_vfn_32(); + /*33*/ virtual void __unk_vfn_33(); + /*34*/ virtual void __unk_vfn_34(); + /*35*/ virtual void __unk_vfn_35(); + /*36*/ virtual void __unk_vfn_36(); + /*38*/ virtual void __unk_vfn_38(); + /*39*/ virtual void __unk_vfn_39(); + /*40*/ virtual void __unk_vfn_40(); + /*42*/ virtual void __unk_vfn_42(); + /*43*/ virtual void __unk_vfn_43(); + /*49*/ virtual void __unk_vfn_49(); + /*50*/ virtual bool canContainLiquid() const; + /*52*/ virtual void __unk_vfn_52(); + /*67*/ virtual void __unk_vfn_67(); + /*73*/ virtual void __unk_vfn_73(); + /*75*/ virtual bool onFertilized(class BlockSource &, class BlockPos const &, class Actor *, enum FertilizerType) const; + /*77*/ virtual bool canBeFertilized(class BlockSource &, class BlockPos const &, class Block const &) const; + /*80*/ virtual bool mayPlace(class BlockSource &, class BlockPos const &, unsigned char) const; + /*82*/ virtual bool mayPlaceOn(class BlockSource &, class BlockPos const &) const; + /*87*/ virtual void __unk_vfn_87(); + /*88*/ virtual void neighborChanged(class BlockSource &, class BlockPos const &, class BlockPos const &) const; + /*95*/ virtual void __unk_vfn_95(); + /*106*/ virtual bool canSurvive(class BlockSource &, class BlockPos const &) const; + /*109*/ virtual void __unk_vfn_109(); + /*116*/ virtual void __unk_vfn_116(); + /*118*/ virtual void __unk_vfn_118(); + /*119*/ virtual void __unk_vfn_119(); + /*142*/ virtual void __unk_vfn_142(); + /*158*/ virtual void __unk_vfn_158(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_NETHERFUNGUSBLOCK + MCVAPI bool waterSpreadCausesSpawn() const; +#endif + MCAPI NetherFungusBlock(std::string const &, int); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/NetherGenerator.hpp b/LiteLoader/Header/MC/NetherGenerator.hpp new file mode 100644 index 0000000..12e3bc1 --- /dev/null +++ b/LiteLoader/Header/MC/NetherGenerator.hpp @@ -0,0 +1,46 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class NetherGenerator { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_NETHERGENERATOR +public: + class NetherGenerator& operator=(class NetherGenerator const &) = delete; + NetherGenerator(class NetherGenerator const &) = delete; + NetherGenerator() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_NETHERGENERATOR + MCVAPI void addHardcodedSpawnAreas(class LevelChunk &); + MCVAPI void debugRender(); + MCVAPI bool findNearestFeature(enum StructureFeatureType, class BlockPos const &, class BlockPos &); + MCVAPI class BlockPos findSpawnPosition() const; + MCVAPI void garbageCollectBlueprints(class buffer_span); + MCVAPI class BiomeArea getBiomeArea(class BoundingBox const &, unsigned int) const; + MCVAPI enum StructureFeatureType getFeatureTypeAt(class BlockPos const &); + MCVAPI void loadChunk(class LevelChunk &, bool); + MCVAPI bool postProcess(class ChunkViewSource &); + MCVAPI void postProcessMobsAt(class BlockSource &, int, int, class Random &); + MCVAPI void prepareHeights(class BlockVolume &, class ChunkPos const &, bool); + MCVAPI ~NetherGenerator(); +#endif + MCAPI NetherGenerator(class Dimension &, unsigned int); + MCAPI void buildSurfaces(class BlockVolume &, class LevelChunk &, class ChunkPos const &); + +//private: + MCAPI void _makeLayers(class LevelData const &, class BiomeRegistry const &); + MCAPI void getHeights(class std::array &, int, int, int); + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/NetherReactorBlock.hpp b/LiteLoader/Header/MC/NetherReactorBlock.hpp new file mode 100644 index 0000000..ec32cc3 --- /dev/null +++ b/LiteLoader/Header/MC/NetherReactorBlock.hpp @@ -0,0 +1,193 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "ActorBlock.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class NetherReactorBlock : public ActorBlock { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_NETHERREACTORBLOCK +public: + class NetherReactorBlock& operator=(class NetherReactorBlock const &) = delete; + NetherReactorBlock(class NetherReactorBlock const &) = delete; + NetherReactorBlock() = delete; +#endif + +public: + /*0*/ virtual ~NetherReactorBlock(); + /*1*/ virtual void __unk_vfn_1(); + /*2*/ virtual class Block const & getStateFromLegacyData(unsigned short) const; + /*3*/ virtual class std::shared_ptr newBlockEntity(class BlockPos const &, class Block const &) const; + /*4*/ virtual class Block const * getNextBlockPermutation(class Block const &) const; + /*5*/ virtual bool getCollisionShape(class AABB &, class Block const &, class BlockSource &, class BlockPos const &, class Actor *) const; + /*6*/ virtual bool isObstructingChests(class BlockSource &, class BlockPos const &) const; + /*7*/ virtual void __unk_vfn_7(); + /*8*/ virtual class Vec3 randomlyModifyPosition(class BlockPos const &, int &) const; + /*9*/ virtual void addAABBs(class Block const &, class BlockSource &, class BlockPos const &, class AABB const *, std::vector &) const; + /*10*/ virtual class AABB const & getAABB(class BlockSource &, class BlockPos const &, class Block const &, class AABB &, bool) const; + /*11*/ virtual bool addCollisionShapes(class Block const &, class BlockSource &, class BlockPos const &, class AABB const *, std::vector &, class Actor *) const; + /*12*/ virtual class AABB const & getOutline(class BlockSource &, class BlockPos const &, class AABB &) const; + /*13*/ virtual bool getLiquidClipVolume(class BlockSource &, class BlockPos const &, class AABB &) const; + /*14*/ virtual void __unk_vfn_14(); + /*15*/ virtual void __unk_vfn_15(); + /*16*/ virtual struct Brightness getLightEmission(class Block const &) const; + /*17*/ virtual bool shouldRandomTick() const; + /*18*/ virtual void __unk_vfn_18(); + /*19*/ virtual void __unk_vfn_19(); + /*20*/ virtual void __unk_vfn_20(); + /*21*/ virtual bool canProvideSupport(class Block const &, unsigned char, enum BlockSupportType) const; + /*22*/ virtual bool canConnect(class Block const &, unsigned char, class Block const &) const; + /*23*/ virtual void getConnectedDirections(class Block const &, class BlockPos const &, class BlockSource &, bool &, bool &, bool &, bool &) const; + /*24*/ virtual void __unk_vfn_24(); + /*25*/ virtual void __unk_vfn_25(); + /*26*/ virtual void __unk_vfn_26(); + /*27*/ virtual void __unk_vfn_27(); + /*28*/ virtual void __unk_vfn_28(); + /*29*/ virtual bool isWaterBlocking() const; + /*30*/ virtual void __unk_vfn_30(); + /*31*/ virtual void __unk_vfn_31(); + /*32*/ virtual void __unk_vfn_32(); + /*33*/ virtual void __unk_vfn_33(); + /*34*/ virtual void __unk_vfn_34(); + /*35*/ virtual void __unk_vfn_35(); + /*36*/ virtual void __unk_vfn_36(); + /*37*/ virtual void __unk_vfn_37(); + /*38*/ virtual void __unk_vfn_38(); + /*39*/ virtual void __unk_vfn_39(); + /*40*/ virtual void __unk_vfn_40(); + /*41*/ virtual bool canHurtAndBreakItem() const; + /*42*/ virtual void __unk_vfn_42(); + /*43*/ virtual void __unk_vfn_43(); + /*44*/ virtual void __unk_vfn_44(); + /*45*/ virtual void __unk_vfn_45(); + /*46*/ virtual class Block const & sanitizeFillBlock(class BlockSource &, class BlockPos const &, class Block const &) const; + /*47*/ virtual void __unk_vfn_47(); + /*48*/ virtual void __unk_vfn_48(); + /*49*/ virtual void __unk_vfn_49(); + /*50*/ virtual bool canContainLiquid() const; + /*51*/ virtual void __unk_vfn_51(); + /*52*/ virtual void __unk_vfn_52(); + /*53*/ virtual bool canBeUsedInCommands(bool, class BaseGameVersion const &) const; + /*54*/ virtual float getThickness() const; + /*55*/ virtual void __unk_vfn_55(); + /*56*/ virtual bool checkIsPathable(class Actor &, class BlockPos const &, class BlockPos const &) const; + /*57*/ virtual void __unk_vfn_57(); + /*58*/ virtual void __unk_vfn_58(); + /*59*/ virtual void __unk_vfn_59(); + /*60*/ virtual void __unk_vfn_60(); + /*61*/ virtual void __unk_vfn_61(); + /*62*/ virtual void __unk_vfn_62(); + /*63*/ virtual void onFallOn(class BlockSource &, class BlockPos const &, class Actor &, float) const; + /*64*/ virtual void __unk_vfn_64(); + /*65*/ virtual void __unk_vfn_65(); + /*66*/ virtual void __unk_vfn_66(); + /*67*/ virtual void __unk_vfn_67(); + /*68*/ virtual void __unk_vfn_68(); + /*69*/ virtual void __unk_vfn_69(); + /*70*/ virtual void __unk_vfn_70(); + /*71*/ virtual enum BlockProperty getRedstoneProperty(class BlockSource &, class BlockPos const &) const; + /*72*/ virtual void updateEntityAfterFallOn(class BlockSource &, class BlockPos const &, class Actor &) const; + /*73*/ virtual void __unk_vfn_73(); + /*74*/ virtual void __unk_vfn_74(); + /*75*/ virtual void __unk_vfn_75(); + /*76*/ virtual void __unk_vfn_76(); + /*77*/ virtual void __unk_vfn_77(); + /*78*/ virtual bool mayPick(class BlockSource &, class Block const &, bool) const; + /*79*/ virtual void __unk_vfn_79(); + /*80*/ virtual bool mayPlace(class BlockSource &, class BlockPos const &) const; + /*81*/ virtual void __unk_vfn_81(); + /*82*/ virtual void __unk_vfn_82(); + /*83*/ virtual bool tryToPlace(class BlockSource &, class BlockPos const &, class Block const &, struct ActorBlockSyncMessage const *) const; + /*84*/ virtual bool breaksFallingBlocks(class Block const &) const; + /*85*/ virtual void __unk_vfn_85(); + /*86*/ virtual bool playerWillDestroy(class Player &, class BlockPos const &, class Block const &) const; + /*87*/ virtual void __unk_vfn_87(); + /*88*/ virtual void neighborChanged(class BlockSource &, class BlockPos const &, class BlockPos const &) const; + /*89*/ virtual void __unk_vfn_89(); + /*90*/ virtual void __unk_vfn_90(); + /*91*/ virtual void __unk_vfn_91(); + /*92*/ virtual void __unk_vfn_92(); + /*93*/ virtual void spawnResources(class BlockSource &, class BlockPos const &, class Block const &, std::vector *, float, int, bool) const; + /*94*/ virtual void trySpawnResourcesOnExplosion(class BlockSource &, class BlockPos const &, class Block const &, std::vector *, float, int, bool) const; + /*95*/ virtual void __unk_vfn_95(); + /*96*/ virtual void __unk_vfn_96(); + /*97*/ virtual class HitResult clip(class BlockSource &, class BlockPos const &, class Vec3 const &, class Vec3 const &, bool) const; + /*98*/ virtual void __unk_vfn_98(); + /*99*/ virtual class Block const & getPlacementBlock(class Actor &, class BlockPos const &, unsigned char, class Vec3 const &, int) const; + /*100*/ virtual int calcVariant(class BlockSource &, class BlockPos const &) const; + /*101*/ virtual void __unk_vfn_101(); + /*102*/ virtual void __unk_vfn_102(); + /*103*/ virtual void __unk_vfn_103(); + /*104*/ virtual void __unk_vfn_104(); + /*105*/ virtual void playerDestroy(class Player &, class BlockPos const &, class Block const &) const; + /*106*/ virtual void __unk_vfn_106(); + /*107*/ virtual void __unk_vfn_107(); + /*108*/ virtual bool canBeBuiltOver(class BlockSource &, class BlockPos const &) const; + /*109*/ virtual void triggerEvent(class BlockSource &, class BlockPos const &, int, int) const; + /*110*/ virtual void __unk_vfn_110(); + /*111*/ virtual void __unk_vfn_111(); + /*112*/ virtual class MobSpawnerData const * getMobToSpawn(class SpawnConditions const &, class BlockSource &) const; + /*113*/ virtual void __unk_vfn_113(); + /*114*/ virtual void __unk_vfn_114(); + /*115*/ virtual bool shouldStopFalling(class Actor &) const; + /*116*/ virtual void __unk_vfn_116(); + /*117*/ virtual float calcGroundFriction(class Mob &, class BlockPos const &) const; + /*118*/ virtual void __unk_vfn_118(); + /*119*/ virtual void __unk_vfn_119(); + /*120*/ virtual void __unk_vfn_120(); + /*121*/ virtual bool canSlide(class BlockSource &, class BlockPos const &) const; + /*122*/ virtual void __unk_vfn_122(); + /*123*/ virtual void __unk_vfn_123(); + /*124*/ virtual void __unk_vfn_124(); + /*125*/ virtual void __unk_vfn_125(); + /*126*/ virtual void __unk_vfn_126(); + /*127*/ virtual void __unk_vfn_127(); + /*128*/ virtual void __unk_vfn_128(); + /*129*/ virtual void __unk_vfn_129(); + /*130*/ virtual void __unk_vfn_130(); + /*131*/ virtual void __unk_vfn_131(); + /*132*/ virtual int getColorForParticle(class BlockSource &, class BlockPos const &, class Block const &) const; + /*133*/ virtual void __unk_vfn_133(); + /*134*/ virtual void onGraphicsModeChanged(bool, bool, bool); + /*135*/ virtual void __unk_vfn_135(); + /*136*/ virtual float getShadeBrightness() const; + /*137*/ virtual class AABB const & getVisualShapeInWorld(class Block const &, class BlockSource &, class BlockPos const &, class AABB &, bool) const; + /*138*/ virtual class AABB const & getVisualShape(class Block const &, class AABB &, bool) const; + /*139*/ virtual class AABB const & getUIShape(class Block const &, class AABB &) const; + /*140*/ virtual int telemetryVariant(class BlockSource &, class BlockPos const &) const; + /*141*/ virtual int getVariant(class Block const &) const; + /*142*/ virtual void __unk_vfn_142(); + /*143*/ virtual class Block const & getRenderBlock() const; + /*144*/ virtual void __unk_vfn_144(); + /*145*/ virtual void __unk_vfn_145(); + /*146*/ virtual void __unk_vfn_146(); + /*147*/ virtual class BlockLegacy & init(); + /*148*/ virtual class BlockLegacy & setLightBlock(struct Brightness); + /*149*/ virtual class BlockLegacy & setLightEmission(float); + /*150*/ virtual class BlockLegacy & setExplodeable(float); + /*151*/ virtual class BlockLegacy & setDestroyTime(float); + /*152*/ virtual class BlockLegacy & setFriction(float); + /*153*/ virtual class BlockLegacy & addProperty(enum BlockProperty); + /*154*/ virtual class BlockLegacy & addState(class ItemState const &); + /*155*/ virtual class BlockLegacy & addState(class ItemState const &, unsigned __int64); + /*156*/ virtual class BlockLegacy & setAllowsRunes(bool); + /*157*/ virtual class BlockLegacy & setMapColor(class Color const &); + /*158*/ virtual void __unk_vfn_158(); + /*159*/ virtual void __unk_vfn_159(); + /*160*/ virtual void setVisualShape(class AABB const &); + /*161*/ virtual void setVisualShape(class Vec3 const &, class Vec3 const &); + /*162*/ virtual void __unk_vfn_162(); + /*163*/ virtual void __unk_vfn_163(); + /*164*/ virtual class ItemInstance getEntityResourceItem(class Random &, class BlockActor const &, int) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_NETHERREACTORBLOCK + MCVAPI int getResourceCount(class Random &, class Block const &, int, bool) const; +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/NetherReactorBlockActor.hpp b/LiteLoader/Header/MC/NetherReactorBlockActor.hpp new file mode 100644 index 0000000..498de6e --- /dev/null +++ b/LiteLoader/Header/MC/NetherReactorBlockActor.hpp @@ -0,0 +1,36 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "BlockActor.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class NetherReactorBlockActor : public BlockActor { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_NETHERREACTORBLOCKACTOR +public: + class NetherReactorBlockActor& operator=(class NetherReactorBlockActor const &) = delete; + NetherReactorBlockActor(class NetherReactorBlockActor const &) = delete; + NetherReactorBlockActor() = delete; +#endif + +public: + /*0*/ virtual ~NetherReactorBlockActor(); + /*1*/ virtual void load(class Level &, class CompoundTag const &, class DataLoadHelper &); + /*2*/ virtual bool save(class CompoundTag &) const; + /*13*/ virtual void __unk_vfn_13(); + /*17*/ virtual void __unk_vfn_17(); + /*29*/ virtual void __unk_vfn_29(); + /*30*/ virtual void __unk_vfn_30(); + /*32*/ virtual void __unk_vfn_32(); + /*33*/ virtual void __unk_vfn_33(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_NETHERREACTORBLOCKACTOR +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/NetherSprouts.hpp b/LiteLoader/Header/MC/NetherSprouts.hpp new file mode 100644 index 0000000..4426af7 --- /dev/null +++ b/LiteLoader/Header/MC/NetherSprouts.hpp @@ -0,0 +1,70 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "BlockLegacy.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class NetherSprouts : public BlockLegacy { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_NETHERSPROUTS +public: + class NetherSprouts& operator=(class NetherSprouts const &) = delete; + NetherSprouts(class NetherSprouts const &) = delete; + NetherSprouts() = delete; +#endif + +public: + /*0*/ virtual ~NetherSprouts(); + /*1*/ virtual void tick(class BlockSource &, class BlockPos const &, class Random &) const; + /*8*/ virtual class Vec3 randomlyModifyPosition(class BlockPos const &) const; + /*10*/ virtual class AABB const & getAABB(class BlockSource &, class BlockPos const &, class Block const &, class AABB &, bool) const; + /*18*/ virtual void __unk_vfn_18(); + /*24*/ virtual void __unk_vfn_24(); + /*25*/ virtual void __unk_vfn_25(); + /*26*/ virtual void __unk_vfn_26(); + /*27*/ virtual void __unk_vfn_27(); + /*28*/ virtual void __unk_vfn_28(); + /*30*/ virtual void __unk_vfn_30(); + /*31*/ virtual void __unk_vfn_31(); + /*32*/ virtual void __unk_vfn_32(); + /*33*/ virtual void __unk_vfn_33(); + /*34*/ virtual void __unk_vfn_34(); + /*35*/ virtual void __unk_vfn_35(); + /*36*/ virtual void __unk_vfn_36(); + /*38*/ virtual void __unk_vfn_38(); + /*39*/ virtual void __unk_vfn_39(); + /*40*/ virtual void __unk_vfn_40(); + /*42*/ virtual void __unk_vfn_42(); + /*43*/ virtual void __unk_vfn_43(); + /*49*/ virtual void __unk_vfn_49(); + /*50*/ virtual bool canContainLiquid() const; + /*52*/ virtual void __unk_vfn_52(); + /*67*/ virtual void __unk_vfn_67(); + /*73*/ virtual void __unk_vfn_73(); + /*81*/ virtual bool mayPlace(class BlockSource &, class BlockPos const &) const; + /*82*/ virtual bool mayPlaceOn(class BlockSource &, class BlockPos const &) const; + /*87*/ virtual void __unk_vfn_87(); + /*88*/ virtual void neighborChanged(class BlockSource &, class BlockPos const &, class BlockPos const &) const; + /*91*/ virtual class ItemInstance getResourceItem(class Random &, class Block const &, int) const; + /*92*/ virtual class ItemInstance asItemInstance(class BlockSource &, class BlockPos const &, class Block const &) const; + /*95*/ virtual void __unk_vfn_95(); + /*105*/ virtual void playerDestroy(class Player &, class BlockPos const &, class Block const &) const; + /*106*/ virtual bool canSurvive(class BlockSource &, class BlockPos const &) const; + /*109*/ virtual void __unk_vfn_109(); + /*116*/ virtual void __unk_vfn_116(); + /*118*/ virtual void __unk_vfn_118(); + /*119*/ virtual void __unk_vfn_119(); + /*142*/ virtual void __unk_vfn_142(); + /*158*/ virtual void __unk_vfn_158(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_NETHERSPROUTS + MCVAPI bool canBeSilkTouched() const; +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/NetherStructureFeatureHelper.hpp b/LiteLoader/Header/MC/NetherStructureFeatureHelper.hpp new file mode 100644 index 0000000..087cc22 --- /dev/null +++ b/LiteLoader/Header/MC/NetherStructureFeatureHelper.hpp @@ -0,0 +1,17 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +namespace NetherStructureFeatureHelper { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA + MCAPI enum StructureFeatureType getStructureFeatureTypeForChunk(class BiomeSource const &, class Random &, class ChunkPos const &, unsigned int, std::vector const &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/NetherWartBlock.hpp b/LiteLoader/Header/MC/NetherWartBlock.hpp new file mode 100644 index 0000000..b9b53e7 --- /dev/null +++ b/LiteLoader/Header/MC/NetherWartBlock.hpp @@ -0,0 +1,67 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "BushBlock.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class NetherWartBlock : public BushBlock { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_NETHERWARTBLOCK +public: + class NetherWartBlock& operator=(class NetherWartBlock const &) = delete; + NetherWartBlock(class NetherWartBlock const &) = delete; + NetherWartBlock() = delete; +#endif + +public: + /*0*/ virtual ~NetherWartBlock(); + /*1*/ virtual void tick(class BlockSource &, class BlockPos const &, class Random &) const; + /*10*/ virtual class AABB const & getAABB(class BlockSource &, class BlockPos const &, class Block const &, class AABB &, bool) const; + /*18*/ virtual void __unk_vfn_18(); + /*24*/ virtual void __unk_vfn_24(); + /*25*/ virtual void __unk_vfn_25(); + /*26*/ virtual void __unk_vfn_26(); + /*27*/ virtual void __unk_vfn_27(); + /*28*/ virtual void __unk_vfn_28(); + /*30*/ virtual void __unk_vfn_30(); + /*31*/ virtual void __unk_vfn_31(); + /*32*/ virtual void __unk_vfn_32(); + /*33*/ virtual void __unk_vfn_33(); + /*34*/ virtual void __unk_vfn_34(); + /*35*/ virtual void __unk_vfn_35(); + /*36*/ virtual void __unk_vfn_36(); + /*38*/ virtual void __unk_vfn_38(); + /*39*/ virtual void __unk_vfn_39(); + /*40*/ virtual void __unk_vfn_40(); + /*42*/ virtual void __unk_vfn_42(); + /*43*/ virtual void __unk_vfn_43(); + /*49*/ virtual void __unk_vfn_49(); + /*50*/ virtual bool canContainLiquid() const; + /*52*/ virtual void __unk_vfn_52(); + /*67*/ virtual void __unk_vfn_67(); + /*73*/ virtual void __unk_vfn_73(); + /*82*/ virtual bool mayPlaceOn(class BlockSource &, class BlockPos const &) const; + /*87*/ virtual void __unk_vfn_87(); + /*90*/ virtual int getResourceCount(class Random &, class Block const &, int, bool) const; + /*91*/ virtual class ItemInstance getResourceItem(class Random &, class Block const &, int) const; + /*92*/ virtual class ItemInstance asItemInstance(class BlockSource &, class BlockPos const &, class Block const &) const; + /*95*/ virtual void __unk_vfn_95(); + /*106*/ virtual bool canSurvive(class BlockSource &, class BlockPos const &) const; + /*109*/ virtual void __unk_vfn_109(); + /*116*/ virtual void __unk_vfn_116(); + /*118*/ virtual void __unk_vfn_118(); + /*119*/ virtual void __unk_vfn_119(); + /*142*/ virtual void __unk_vfn_142(); + /*158*/ virtual void __unk_vfn_158(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_NETHERWARTBLOCK + MCVAPI bool canBeSilkTouched() const; +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/NetheriteArmorEquippedListener.hpp b/LiteLoader/Header/MC/NetheriteArmorEquippedListener.hpp new file mode 100644 index 0000000..b62d140 --- /dev/null +++ b/LiteLoader/Header/MC/NetheriteArmorEquippedListener.hpp @@ -0,0 +1,47 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class NetheriteArmorEquippedListener { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_NETHERITEARMOREQUIPPEDLISTENER +public: + class NetheriteArmorEquippedListener& operator=(class NetheriteArmorEquippedListener const &) = delete; + NetheriteArmorEquippedListener(class NetheriteArmorEquippedListener const &) = delete; + NetheriteArmorEquippedListener() = delete; +#endif + +public: + /*0*/ virtual ~NetheriteArmorEquippedListener(); + /*1*/ virtual void __unk_vfn_1(); + /*2*/ virtual void __unk_vfn_2(); + /*3*/ virtual void __unk_vfn_3(); + /*4*/ virtual void __unk_vfn_4(); + /*5*/ virtual void __unk_vfn_5(); + /*6*/ virtual void __unk_vfn_6(); + /*7*/ virtual void __unk_vfn_7(); + /*8*/ virtual void __unk_vfn_8(); + /*9*/ virtual void __unk_vfn_9(); + /*10*/ virtual void __unk_vfn_10(); + /*11*/ virtual void __unk_vfn_11(); + /*12*/ virtual void __unk_vfn_12(); + /*13*/ virtual void __unk_vfn_13(); + /*14*/ virtual void __unk_vfn_14(); + /*15*/ virtual void __unk_vfn_15(); + /*16*/ virtual void __unk_vfn_16(); + /*17*/ virtual void __unk_vfn_17(); + /*18*/ virtual void __unk_vfn_18(); + /*19*/ virtual void __unk_vfn_19(); + /*20*/ virtual enum EventResult onActorEquippedArmor(class Actor &, class ItemInstance const &, enum ArmorSlot); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_NETHERITEARMOREQUIPPEDLISTENER +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/NetherrackBlock.hpp b/LiteLoader/Header/MC/NetherrackBlock.hpp new file mode 100644 index 0000000..d8b7604 --- /dev/null +++ b/LiteLoader/Header/MC/NetherrackBlock.hpp @@ -0,0 +1,60 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "BlockLegacy.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class NetherrackBlock : public BlockLegacy { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_NETHERRACKBLOCK +public: + class NetherrackBlock& operator=(class NetherrackBlock const &) = delete; + NetherrackBlock(class NetherrackBlock const &) = delete; + NetherrackBlock() = delete; +#endif + +public: + /*0*/ virtual ~NetherrackBlock(); + /*18*/ virtual void __unk_vfn_18(); + /*24*/ virtual void __unk_vfn_24(); + /*25*/ virtual void __unk_vfn_25(); + /*26*/ virtual void __unk_vfn_26(); + /*27*/ virtual void __unk_vfn_27(); + /*28*/ virtual void __unk_vfn_28(); + /*30*/ virtual void __unk_vfn_30(); + /*31*/ virtual void __unk_vfn_31(); + /*32*/ virtual void __unk_vfn_32(); + /*33*/ virtual void __unk_vfn_33(); + /*34*/ virtual void __unk_vfn_34(); + /*35*/ virtual void __unk_vfn_35(); + /*36*/ virtual void __unk_vfn_36(); + /*38*/ virtual void __unk_vfn_38(); + /*39*/ virtual void __unk_vfn_39(); + /*40*/ virtual void __unk_vfn_40(); + /*42*/ virtual void __unk_vfn_42(); + /*43*/ virtual void __unk_vfn_43(); + /*49*/ virtual void __unk_vfn_49(); + /*52*/ virtual void __unk_vfn_52(); + /*67*/ virtual void __unk_vfn_67(); + /*73*/ virtual void __unk_vfn_73(); + /*75*/ virtual bool onFertilized(class BlockSource &, class BlockPos const &, class Actor *, enum FertilizerType) const; + /*77*/ virtual bool canBeFertilized(class BlockSource &, class BlockPos const &, class Block const &) const; + /*87*/ virtual void __unk_vfn_87(); + /*95*/ virtual void __unk_vfn_95(); + /*109*/ virtual void __unk_vfn_109(); + /*116*/ virtual void __unk_vfn_116(); + /*118*/ virtual void __unk_vfn_118(); + /*119*/ virtual void __unk_vfn_119(); + /*142*/ virtual void __unk_vfn_142(); + /*158*/ virtual void __unk_vfn_158(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_NETHERRACKBLOCK +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/NetworkAddress.hpp b/LiteLoader/Header/MC/NetworkAddress.hpp new file mode 100644 index 0000000..9900482 --- /dev/null +++ b/LiteLoader/Header/MC/NetworkAddress.hpp @@ -0,0 +1,27 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +struct NetworkAddress { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_NETWORKADDRESS +public: + struct NetworkAddress& operator=(struct NetworkAddress const &) = delete; + NetworkAddress(struct NetworkAddress const &) = delete; + NetworkAddress() = delete; +#endif +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_NETWORKADDRESS +#endif + MCAPI bool isValid() const; + MCAPI ~NetworkAddress(); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/NetworkChunkPublisher.hpp b/LiteLoader/Header/MC/NetworkChunkPublisher.hpp new file mode 100644 index 0000000..97a102a --- /dev/null +++ b/LiteLoader/Header/MC/NetworkChunkPublisher.hpp @@ -0,0 +1,35 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class NetworkChunkPublisher { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_NETWORKCHUNKPUBLISHER +public: + class NetworkChunkPublisher& operator=(class NetworkChunkPublisher const &) = delete; + NetworkChunkPublisher(class NetworkChunkPublisher const &) = delete; + NetworkChunkPublisher() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_NETWORKCHUNKPUBLISHER +#endif + MCAPI void moveRegion(class BlockPos const &, unsigned int, float); + MCAPI void prepareRegion(class ChunkSource &, class ChunkPos &); + MCAPI void sendQueuedChunks(); + +//private: + MCAPI bool _sendQueuedChunk(class ChunkPos const &, class ClientBlobCache::Server::TransferBuilder *); + MCAPI void _serializeAndCache(class LevelChunkPacket &, class ClientBlobCache::Server::TransferBuilder &, class std::function &&); + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/NetworkChunkPublisherUpdatePacket.hpp b/LiteLoader/Header/MC/NetworkChunkPublisherUpdatePacket.hpp new file mode 100644 index 0000000..61556a7 --- /dev/null +++ b/LiteLoader/Header/MC/NetworkChunkPublisherUpdatePacket.hpp @@ -0,0 +1,32 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Packet.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class NetworkChunkPublisherUpdatePacket : public Packet { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_NETWORKCHUNKPUBLISHERUPDATEPACKET +public: + class NetworkChunkPublisherUpdatePacket& operator=(class NetworkChunkPublisherUpdatePacket const &) = delete; + NetworkChunkPublisherUpdatePacket(class NetworkChunkPublisherUpdatePacket const &) = delete; + NetworkChunkPublisherUpdatePacket() = delete; +#endif + +public: + /*0*/ virtual ~NetworkChunkPublisherUpdatePacket(); + /*1*/ virtual enum MinecraftPacketIds getId() const; + /*2*/ virtual std::string getName() const; + /*3*/ virtual void write(class BinaryStream &) const; + /*4*/ virtual enum StreamReadResult read(class ReadOnlyBinaryStream &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_NETWORKCHUNKPUBLISHERUPDATEPACKET +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/NetworkChunkSource.hpp b/LiteLoader/Header/MC/NetworkChunkSource.hpp new file mode 100644 index 0000000..938a6a5 --- /dev/null +++ b/LiteLoader/Header/MC/NetworkChunkSource.hpp @@ -0,0 +1,34 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "ChunkSource.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class NetworkChunkSource : public ChunkSource { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_NETWORKCHUNKSOURCE +public: + class NetworkChunkSource& operator=(class NetworkChunkSource const &) = delete; + NetworkChunkSource(class NetworkChunkSource const &) = delete; + NetworkChunkSource() = delete; +#endif + +public: + /*0*/ virtual ~NetworkChunkSource(); + /*3*/ virtual class std::shared_ptr getExistingChunk(class ChunkPos const &); + /*5*/ virtual class std::shared_ptr createNewChunk(class ChunkPos const &, enum ChunkSource::LoadMode); + /*6*/ virtual class std::shared_ptr getOrLoadChunk(class ChunkPos const &, enum ChunkSource::LoadMode); + /*14*/ virtual void acquireDiscarded(class std::unique_ptr); + /*19*/ virtual class std::unordered_map, struct std::hash, struct std::equal_to, class std::allocator>>> const & getStorage() const; + /*21*/ virtual bool canCreateViews() const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_NETWORKCHUNKSOURCE +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/NetworkDebugManager.hpp b/LiteLoader/Header/MC/NetworkDebugManager.hpp new file mode 100644 index 0000000..fb881f4 --- /dev/null +++ b/LiteLoader/Header/MC/NetworkDebugManager.hpp @@ -0,0 +1,27 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class NetworkDebugManager { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_NETWORKDEBUGMANAGER +public: + class NetworkDebugManager& operator=(class NetworkDebugManager const &) = delete; + NetworkDebugManager(class NetworkDebugManager const &) = delete; + NetworkDebugManager() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_NETWORKDEBUGMANAGER +#endif + MCAPI static int const UPDATE_INTERVAL_MILLISECONDS; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/NetworkHandler.hpp b/LiteLoader/Header/MC/NetworkHandler.hpp new file mode 100644 index 0000000..2a694f3 --- /dev/null +++ b/LiteLoader/Header/MC/NetworkHandler.hpp @@ -0,0 +1,55 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class NetworkHandler { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_NETWORKHANDLER +public: + class NetworkHandler& operator=(class NetworkHandler const &) = delete; + NetworkHandler(class NetworkHandler const &) = delete; + NetworkHandler() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_NETWORKHANDLER + MCVAPI unsigned short getDefaultGamePort() const; + MCVAPI unsigned short getDefaultGamePortv6() const; + MCVAPI void onAllConnectionsClosed(std::string const &, bool); + MCVAPI void onConnectionClosed(class NetworkIdentifier const &, std::string const &, bool); + MCVAPI void onNewIncomingConnection(class NetworkIdentifier const &, class std::shared_ptr); + MCVAPI void onNewIncomingLocalConnection(class NetworkIdentifier const &, class std::shared_ptr); + MCVAPI void onNewOutgoingConnection(class NetworkIdentifier const &, class std::shared_ptr); + MCVAPI void onNewOutgoingLocalConnection(class NetworkIdentifier const &, class std::shared_ptr); + MCVAPI void onOutgoingConnectionFailed(); + MCVAPI void onWebsocketRequest(std::string const &, std::string const &, class std::function); + MCVAPI bool useIPv4Only() const; + MCVAPI bool useIPv6Only() const; + MCVAPI ~NetworkHandler(); +#endif + MCAPI NetworkHandler(class Scheduler &, enum NetworkHandler::NetworkStatisticsConfig); + MCAPI void disconnect(); + MCAPI class std::weak_ptr getEncryptedPeerForUser(class NetworkIdentifier const &); + MCAPI class NetworkIdentifier getLocalNetworkId() const; + MCAPI class NetworkPeer * getPeerForUser(class NetworkIdentifier const &); + MCAPI class NetworkIdentifier getServerId() const; + MCAPI void runEvents(bool); + MCAPI void send(class NetworkIdentifier const &, class Packet const &, unsigned char); + MCAPI void update(std::vector const *); + +//private: + MCAPI class NetworkHandler::Connection * _getConnectionFromId(class NetworkIdentifier const &) const; + MCAPI void _sendInternal(class NetworkIdentifier const &, class Packet const &, std::string const &); + MCAPI bool _sortAndPacketizeEvents(class NetworkHandler::Connection &, class std::chrono::time_point>>); + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/NetworkIdentifier.hpp b/LiteLoader/Header/MC/NetworkIdentifier.hpp new file mode 100644 index 0000000..7ee65cb --- /dev/null +++ b/LiteLoader/Header/MC/NetworkIdentifier.hpp @@ -0,0 +1,35 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class NetworkIdentifier { + +#define AFTER_EXTRA +// Add Member There + char filler[160]; +public: + LIAPI std::string getIP(); + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_NETWORKIDENTIFIER +public: + class NetworkIdentifier& operator=(class NetworkIdentifier const &) = delete; + NetworkIdentifier(class NetworkIdentifier const &) = delete; + NetworkIdentifier() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_NETWORKIDENTIFIER +#endif + MCAPI std::string getAddress() const; + MCAPI unsigned __int64 getHash() const; + MCAPI bool isUnassigned() const; + MCAPI bool operator==(class NetworkIdentifier const &) const; + MCAPI std::string toString() const; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/NetworkPacketEventListener.hpp b/LiteLoader/Header/MC/NetworkPacketEventListener.hpp new file mode 100644 index 0000000..2f4f192 --- /dev/null +++ b/LiteLoader/Header/MC/NetworkPacketEventListener.hpp @@ -0,0 +1,28 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class NetworkPacketEventListener { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_NETWORKPACKETEVENTLISTENER +public: + class NetworkPacketEventListener& operator=(class NetworkPacketEventListener const &) = delete; + NetworkPacketEventListener(class NetworkPacketEventListener const &) = delete; + NetworkPacketEventListener() = delete; +#endif + +public: + /*0*/ virtual ~NetworkPacketEventListener(); + /*1*/ virtual enum EventResult onPacketReceivedFrom(class PacketHeader const &, class Packet const &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_NETWORKPACKETEVENTLISTENER +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/NetworkPeer.hpp b/LiteLoader/Header/MC/NetworkPeer.hpp new file mode 100644 index 0000000..94e3dde --- /dev/null +++ b/LiteLoader/Header/MC/NetworkPeer.hpp @@ -0,0 +1,32 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class NetworkPeer { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_NETWORKPEER +public: + class NetworkPeer& operator=(class NetworkPeer const &) = delete; + NetworkPeer(class NetworkPeer const &) = delete; + NetworkPeer() = delete; +#endif + +public: + /*0*/ virtual ~NetworkPeer(); + /*1*/ virtual void sendPacket(std::string const &, enum NetworkPeer::Reliability, int, unsigned short, enum Compressibility) = 0; + /*2*/ virtual enum NetworkPeer::DataStatus receivePacket(std::string &) = 0; + /*3*/ virtual struct NetworkPeer::NetworkStatus getNetworkStatus() = 0; + /*4*/ virtual void update(); + /*5*/ virtual void flush(class std::function &&); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_NETWORKPEER +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/NetworkSettingsPacket.hpp b/LiteLoader/Header/MC/NetworkSettingsPacket.hpp new file mode 100644 index 0000000..65fc628 --- /dev/null +++ b/LiteLoader/Header/MC/NetworkSettingsPacket.hpp @@ -0,0 +1,32 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Packet.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class NetworkSettingsPacket : public Packet { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_NETWORKSETTINGSPACKET +public: + class NetworkSettingsPacket& operator=(class NetworkSettingsPacket const &) = delete; + NetworkSettingsPacket(class NetworkSettingsPacket const &) = delete; + NetworkSettingsPacket() = delete; +#endif + +public: + /*0*/ virtual ~NetworkSettingsPacket(); + /*1*/ virtual enum MinecraftPacketIds getId() const; + /*2*/ virtual std::string getName() const; + /*3*/ virtual void write(class BinaryStream &) const; + /*4*/ virtual enum StreamReadResult read(class ReadOnlyBinaryStream &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_NETWORKSETTINGSPACKET +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/NetworkStackLatencyPacket.hpp b/LiteLoader/Header/MC/NetworkStackLatencyPacket.hpp new file mode 100644 index 0000000..29b68b6 --- /dev/null +++ b/LiteLoader/Header/MC/NetworkStackLatencyPacket.hpp @@ -0,0 +1,32 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Packet.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class NetworkStackLatencyPacket : public Packet { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_NETWORKSTACKLATENCYPACKET +public: + class NetworkStackLatencyPacket& operator=(class NetworkStackLatencyPacket const &) = delete; + NetworkStackLatencyPacket(class NetworkStackLatencyPacket const &) = delete; +#endif + +public: + /*0*/ virtual ~NetworkStackLatencyPacket(); + /*1*/ virtual enum MinecraftPacketIds getId() const; + /*2*/ virtual std::string getName() const; + /*3*/ virtual void write(class BinaryStream &) const; + /*4*/ virtual enum StreamReadResult read(class ReadOnlyBinaryStream &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_NETWORKSTACKLATENCYPACKET +#endif + MCAPI NetworkStackLatencyPacket(); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/NetworkStatistics.hpp b/LiteLoader/Header/MC/NetworkStatistics.hpp new file mode 100644 index 0000000..8dc3735 --- /dev/null +++ b/LiteLoader/Header/MC/NetworkStatistics.hpp @@ -0,0 +1,27 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class NetworkStatistics { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_NETWORKSTATISTICS +public: + class NetworkStatistics& operator=(class NetworkStatistics const &) = delete; + NetworkStatistics(class NetworkStatistics const &) = delete; + NetworkStatistics() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_NETWORKSTATISTICS +#endif + MCAPI std::string getVerboseInfo() const; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/NewLeafBlock.hpp b/LiteLoader/Header/MC/NewLeafBlock.hpp new file mode 100644 index 0000000..5521d8f --- /dev/null +++ b/LiteLoader/Header/MC/NewLeafBlock.hpp @@ -0,0 +1,65 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "LeafBlock.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class NewLeafBlock : public LeafBlock { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_NEWLEAFBLOCK +public: + class NewLeafBlock& operator=(class NewLeafBlock const &) = delete; + NewLeafBlock(class NewLeafBlock const &) = delete; + NewLeafBlock() = delete; +#endif + +public: + /*0*/ virtual ~NewLeafBlock(); + /*18*/ virtual void __unk_vfn_18(); + /*24*/ virtual void __unk_vfn_24(); + /*25*/ virtual void __unk_vfn_25(); + /*26*/ virtual void __unk_vfn_26(); + /*27*/ virtual void __unk_vfn_27(); + /*28*/ virtual void __unk_vfn_28(); + /*30*/ virtual void __unk_vfn_30(); + /*31*/ virtual void __unk_vfn_31(); + /*32*/ virtual void __unk_vfn_32(); + /*33*/ virtual void __unk_vfn_33(); + /*34*/ virtual void __unk_vfn_34(); + /*35*/ virtual void __unk_vfn_35(); + /*36*/ virtual void __unk_vfn_36(); + /*38*/ virtual void __unk_vfn_38(); + /*39*/ virtual void __unk_vfn_39(); + /*40*/ virtual void __unk_vfn_40(); + /*42*/ virtual void __unk_vfn_42(); + /*43*/ virtual void __unk_vfn_43(); + /*49*/ virtual void __unk_vfn_49(); + /*52*/ virtual void __unk_vfn_52(); + /*67*/ virtual void __unk_vfn_67(); + /*73*/ virtual void __unk_vfn_73(); + /*87*/ virtual void __unk_vfn_87(); + /*91*/ virtual class ItemInstance getResourceItem(class Random &, class Block const &, int) const; + /*92*/ virtual class ItemInstance asItemInstance(class BlockSource &, class BlockPos const &, class Block const &) const; + /*95*/ virtual void __unk_vfn_95(); + /*105*/ virtual void playerDestroy(class Player &, class BlockPos const &, class Block const &) const; + /*109*/ virtual void __unk_vfn_109(); + /*116*/ virtual void __unk_vfn_116(); + /*118*/ virtual void __unk_vfn_118(); + /*119*/ virtual void __unk_vfn_119(); + /*127*/ virtual std::string buildDescriptionId(class Block const &) const; + /*141*/ virtual int getVariant(class Block const &) const; + /*142*/ virtual void __unk_vfn_142(); + /*158*/ virtual void __unk_vfn_158(); + /*159*/ virtual class ItemInstance getSilkTouchItemInstance(class Block const &) const; + /*164*/ virtual class ItemInstance getExtraResourceItem(class Block const &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_NEWLEAFBLOCK +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/NewLogBlock.hpp b/LiteLoader/Header/MC/NewLogBlock.hpp new file mode 100644 index 0000000..4fd4774 --- /dev/null +++ b/LiteLoader/Header/MC/NewLogBlock.hpp @@ -0,0 +1,65 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "RotatedPillarBlock.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class NewLogBlock : public RotatedPillarBlock { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_NEWLOGBLOCK +public: + class NewLogBlock& operator=(class NewLogBlock const &) = delete; + NewLogBlock(class NewLogBlock const &) = delete; + NewLogBlock() = delete; +#endif + +public: + /*0*/ virtual ~NewLogBlock(); + /*18*/ virtual void __unk_vfn_18(); + /*19*/ virtual bool isStrippable(class Block const &) const; + /*20*/ virtual class Block const & getStrippedBlock(class Block const &) const; + /*24*/ virtual void __unk_vfn_24(); + /*25*/ virtual void __unk_vfn_25(); + /*26*/ virtual void __unk_vfn_26(); + /*27*/ virtual void __unk_vfn_27(); + /*28*/ virtual void __unk_vfn_28(); + /*30*/ virtual void __unk_vfn_30(); + /*31*/ virtual void __unk_vfn_31(); + /*32*/ virtual void __unk_vfn_32(); + /*33*/ virtual void __unk_vfn_33(); + /*34*/ virtual void __unk_vfn_34(); + /*35*/ virtual void __unk_vfn_35(); + /*36*/ virtual void __unk_vfn_36(); + /*38*/ virtual void __unk_vfn_38(); + /*39*/ virtual void __unk_vfn_39(); + /*40*/ virtual void __unk_vfn_40(); + /*42*/ virtual void __unk_vfn_42(); + /*43*/ virtual void __unk_vfn_43(); + /*49*/ virtual void __unk_vfn_49(); + /*52*/ virtual void __unk_vfn_52(); + /*67*/ virtual void __unk_vfn_67(); + /*73*/ virtual void __unk_vfn_73(); + /*87*/ virtual void __unk_vfn_87(); + /*91*/ virtual class ItemInstance getResourceItem(class Random &, class Block const &, int) const; + /*92*/ virtual class ItemInstance asItemInstance(class BlockSource &, class BlockPos const &, class Block const &) const; + /*95*/ virtual void __unk_vfn_95(); + /*109*/ virtual void __unk_vfn_109(); + /*116*/ virtual void __unk_vfn_116(); + /*118*/ virtual void __unk_vfn_118(); + /*119*/ virtual void __unk_vfn_119(); + /*127*/ virtual std::string buildDescriptionId(class Block const &) const; + /*141*/ virtual int getVariant(class Block const &) const; + /*142*/ virtual void __unk_vfn_142(); + /*158*/ virtual void __unk_vfn_158(); + /*159*/ virtual class ItemInstance getSilkTouchItemInstance(class Block const &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_NEWLOGBLOCK +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/NoSurfaceOreFeature.hpp b/LiteLoader/Header/MC/NoSurfaceOreFeature.hpp new file mode 100644 index 0000000..f45abe9 --- /dev/null +++ b/LiteLoader/Header/MC/NoSurfaceOreFeature.hpp @@ -0,0 +1,28 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class NoSurfaceOreFeature { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_NOSURFACEOREFEATURE +public: + class NoSurfaceOreFeature& operator=(class NoSurfaceOreFeature const &) = delete; + NoSurfaceOreFeature(class NoSurfaceOreFeature const &) = delete; + NoSurfaceOreFeature() = delete; +#endif + +public: + /*0*/ virtual ~NoSurfaceOreFeature(); + /*1*/ virtual class std::optional place(class IBlockPlacementTarget &, class BlockPos const &, class Random &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_NOSURFACEOREFEATURE +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/NormalNoiseLayer.hpp b/LiteLoader/Header/MC/NormalNoiseLayer.hpp new file mode 100644 index 0000000..7423007 --- /dev/null +++ b/LiteLoader/Header/MC/NormalNoiseLayer.hpp @@ -0,0 +1,30 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class NormalNoiseLayer { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_NORMALNOISELAYER +public: + class NormalNoiseLayer& operator=(class NormalNoiseLayer const &) = delete; + NormalNoiseLayer(class NormalNoiseLayer const &) = delete; + NormalNoiseLayer() = delete; +#endif + +public: + /*0*/ virtual ~NormalNoiseLayer(); + /*1*/ virtual void init(__int64); + /*2*/ virtual class LayerDetails::TransferData _allocateAndFill(unsigned __int64, int, int, unsigned int, unsigned int) const; + /*3*/ virtual void _fillArea(class LayerDetails::WorkingData &, int, int, int, int) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_NORMALNOISELAYER +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/NoteBlock.hpp b/LiteLoader/Header/MC/NoteBlock.hpp new file mode 100644 index 0000000..f1df956 --- /dev/null +++ b/LiteLoader/Header/MC/NoteBlock.hpp @@ -0,0 +1,193 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "ActorBlock.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class NoteBlock : public ActorBlock { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_NOTEBLOCK +public: + class NoteBlock& operator=(class NoteBlock const &) = delete; + NoteBlock(class NoteBlock const &) = delete; + NoteBlock() = delete; +#endif + +public: + /*0*/ virtual ~NoteBlock(); + /*1*/ virtual void __unk_vfn_1(); + /*2*/ virtual class Block const & getStateFromLegacyData(unsigned short) const; + /*3*/ virtual class std::shared_ptr newBlockEntity(class BlockPos const &, class Block const &) const; + /*4*/ virtual class Block const * getNextBlockPermutation(class Block const &) const; + /*5*/ virtual bool getCollisionShape(class AABB &, class Block const &, class BlockSource &, class BlockPos const &, class Actor *) const; + /*6*/ virtual bool isObstructingChests(class BlockSource &, class BlockPos const &) const; + /*7*/ virtual void __unk_vfn_7(); + /*8*/ virtual class Vec3 randomlyModifyPosition(class BlockPos const &, int &) const; + /*9*/ virtual void addAABBs(class Block const &, class BlockSource &, class BlockPos const &, class AABB const *, std::vector &) const; + /*10*/ virtual class AABB const & getAABB(class BlockSource &, class BlockPos const &, class Block const &, class AABB &, bool) const; + /*11*/ virtual bool addCollisionShapes(class Block const &, class BlockSource &, class BlockPos const &, class AABB const *, std::vector &, class Actor *) const; + /*12*/ virtual class AABB const & getOutline(class BlockSource &, class BlockPos const &, class AABB &) const; + /*13*/ virtual bool getLiquidClipVolume(class BlockSource &, class BlockPos const &, class AABB &) const; + /*14*/ virtual void __unk_vfn_14(); + /*15*/ virtual void __unk_vfn_15(); + /*16*/ virtual struct Brightness getLightEmission(class Block const &) const; + /*17*/ virtual bool shouldRandomTick() const; + /*18*/ virtual void __unk_vfn_18(); + /*19*/ virtual void __unk_vfn_19(); + /*20*/ virtual void __unk_vfn_20(); + /*21*/ virtual bool canProvideSupport(class Block const &, unsigned char, enum BlockSupportType) const; + /*22*/ virtual bool canConnect(class Block const &, unsigned char, class Block const &) const; + /*23*/ virtual void getConnectedDirections(class Block const &, class BlockPos const &, class BlockSource &, bool &, bool &, bool &, bool &) const; + /*24*/ virtual void __unk_vfn_24(); + /*25*/ virtual void __unk_vfn_25(); + /*26*/ virtual void __unk_vfn_26(); + /*27*/ virtual void __unk_vfn_27(); + /*28*/ virtual void __unk_vfn_28(); + /*29*/ virtual bool isWaterBlocking() const; + /*30*/ virtual void __unk_vfn_30(); + /*31*/ virtual void __unk_vfn_31(); + /*32*/ virtual void __unk_vfn_32(); + /*33*/ virtual void __unk_vfn_33(); + /*34*/ virtual void __unk_vfn_34(); + /*35*/ virtual void __unk_vfn_35(); + /*36*/ virtual void __unk_vfn_36(); + /*37*/ virtual void __unk_vfn_37(); + /*38*/ virtual void __unk_vfn_38(); + /*39*/ virtual void __unk_vfn_39(); + /*40*/ virtual void __unk_vfn_40(); + /*41*/ virtual bool canHurtAndBreakItem() const; + /*42*/ virtual void __unk_vfn_42(); + /*43*/ virtual void __unk_vfn_43(); + /*44*/ virtual void __unk_vfn_44(); + /*45*/ virtual void __unk_vfn_45(); + /*46*/ virtual class Block const & sanitizeFillBlock(class BlockSource &, class BlockPos const &, class Block const &) const; + /*47*/ virtual void __unk_vfn_47(); + /*48*/ virtual void __unk_vfn_48(); + /*49*/ virtual void __unk_vfn_49(); + /*50*/ virtual bool canContainLiquid() const; + /*51*/ virtual void __unk_vfn_51(); + /*52*/ virtual void __unk_vfn_52(); + /*53*/ virtual bool canBeUsedInCommands(bool, class BaseGameVersion const &) const; + /*54*/ virtual float getThickness() const; + /*55*/ virtual void __unk_vfn_55(); + /*56*/ virtual bool checkIsPathable(class Actor &, class BlockPos const &, class BlockPos const &) const; + /*57*/ virtual void __unk_vfn_57(); + /*58*/ virtual void __unk_vfn_58(); + /*59*/ virtual void onPlace(class BlockSource &, class BlockPos const &) const; + /*60*/ virtual void __unk_vfn_60(); + /*61*/ virtual void __unk_vfn_61(); + /*62*/ virtual void __unk_vfn_62(); + /*63*/ virtual void onFallOn(class BlockSource &, class BlockPos const &, class Actor &, float) const; + /*64*/ virtual void __unk_vfn_64(); + /*65*/ virtual void onRedstoneUpdate(class BlockSource &, class BlockPos const &, int, bool) const; + /*66*/ virtual void __unk_vfn_66(); + /*67*/ virtual void __unk_vfn_67(); + /*68*/ virtual void __unk_vfn_68(); + /*69*/ virtual void __unk_vfn_69(); + /*70*/ virtual void setupRedstoneComponent(class BlockSource &, class BlockPos const &) const; + /*71*/ virtual enum BlockProperty getRedstoneProperty(class BlockSource &, class BlockPos const &) const; + /*72*/ virtual void updateEntityAfterFallOn(class BlockSource &, class BlockPos const &, class Actor &) const; + /*73*/ virtual void __unk_vfn_73(); + /*74*/ virtual void __unk_vfn_74(); + /*75*/ virtual void __unk_vfn_75(); + /*76*/ virtual void __unk_vfn_76(); + /*77*/ virtual void __unk_vfn_77(); + /*78*/ virtual bool mayPick(class BlockSource &, class Block const &, bool) const; + /*79*/ virtual void __unk_vfn_79(); + /*80*/ virtual bool mayPlace(class BlockSource &, class BlockPos const &) const; + /*81*/ virtual void __unk_vfn_81(); + /*82*/ virtual void __unk_vfn_82(); + /*83*/ virtual bool tryToPlace(class BlockSource &, class BlockPos const &, class Block const &, struct ActorBlockSyncMessage const *) const; + /*84*/ virtual bool breaksFallingBlocks(class Block const &) const; + /*85*/ virtual void __unk_vfn_85(); + /*86*/ virtual bool playerWillDestroy(class Player &, class BlockPos const &, class Block const &) const; + /*87*/ virtual void __unk_vfn_87(); + /*88*/ virtual void neighborChanged(class BlockSource &, class BlockPos const &, class BlockPos const &) const; + /*89*/ virtual void __unk_vfn_89(); + /*90*/ virtual void __unk_vfn_90(); + /*91*/ virtual void __unk_vfn_91(); + /*92*/ virtual void __unk_vfn_92(); + /*93*/ virtual void spawnResources(class BlockSource &, class BlockPos const &, class Block const &, std::vector *, float, int, bool) const; + /*94*/ virtual void trySpawnResourcesOnExplosion(class BlockSource &, class BlockPos const &, class Block const &, std::vector *, float, int, bool) const; + /*95*/ virtual void __unk_vfn_95(); + /*96*/ virtual void __unk_vfn_96(); + /*97*/ virtual class HitResult clip(class BlockSource &, class BlockPos const &, class Vec3 const &, class Vec3 const &, bool) const; + /*98*/ virtual bool use(class Player &, class BlockPos const &) const; + /*99*/ virtual class Block const & getPlacementBlock(class Actor &, class BlockPos const &, unsigned char, class Vec3 const &, int) const; + /*100*/ virtual int calcVariant(class BlockSource &, class BlockPos const &) const; + /*101*/ virtual void __unk_vfn_101(); + /*102*/ virtual bool attack(class Player *, class BlockPos const &) const; + /*103*/ virtual void __unk_vfn_103(); + /*104*/ virtual void __unk_vfn_104(); + /*105*/ virtual void playerDestroy(class Player &, class BlockPos const &, class Block const &) const; + /*106*/ virtual void __unk_vfn_106(); + /*107*/ virtual void __unk_vfn_107(); + /*108*/ virtual bool canBeBuiltOver(class BlockSource &, class BlockPos const &) const; + /*109*/ virtual void triggerEvent(class BlockSource &, class BlockPos const &, int, int) const; + /*110*/ virtual void __unk_vfn_110(); + /*111*/ virtual void __unk_vfn_111(); + /*112*/ virtual class MobSpawnerData const * getMobToSpawn(class SpawnConditions const &, class BlockSource &) const; + /*113*/ virtual void __unk_vfn_113(); + /*114*/ virtual void __unk_vfn_114(); + /*115*/ virtual bool shouldStopFalling(class Actor &) const; + /*116*/ virtual void __unk_vfn_116(); + /*117*/ virtual float calcGroundFriction(class Mob &, class BlockPos const &) const; + /*118*/ virtual void __unk_vfn_118(); + /*119*/ virtual void __unk_vfn_119(); + /*120*/ virtual void __unk_vfn_120(); + /*121*/ virtual bool canSlide(class BlockSource &, class BlockPos const &) const; + /*122*/ virtual void __unk_vfn_122(); + /*123*/ virtual void __unk_vfn_123(); + /*124*/ virtual void __unk_vfn_124(); + /*125*/ virtual void __unk_vfn_125(); + /*126*/ virtual void __unk_vfn_126(); + /*127*/ virtual void __unk_vfn_127(); + /*128*/ virtual void __unk_vfn_128(); + /*129*/ virtual void __unk_vfn_129(); + /*130*/ virtual void __unk_vfn_130(); + /*131*/ virtual void __unk_vfn_131(); + /*132*/ virtual int getColorForParticle(class BlockSource &, class BlockPos const &, class Block const &) const; + /*133*/ virtual void __unk_vfn_133(); + /*134*/ virtual void onGraphicsModeChanged(bool, bool, bool); + /*135*/ virtual void __unk_vfn_135(); + /*136*/ virtual float getShadeBrightness() const; + /*137*/ virtual class AABB const & getVisualShapeInWorld(class Block const &, class BlockSource &, class BlockPos const &, class AABB &, bool) const; + /*138*/ virtual class AABB const & getVisualShape(class Block const &, class AABB &, bool) const; + /*139*/ virtual class AABB const & getUIShape(class Block const &, class AABB &) const; + /*140*/ virtual int telemetryVariant(class BlockSource &, class BlockPos const &) const; + /*141*/ virtual int getVariant(class Block const &) const; + /*142*/ virtual void __unk_vfn_142(); + /*143*/ virtual class Block const & getRenderBlock() const; + /*144*/ virtual void __unk_vfn_144(); + /*145*/ virtual void __unk_vfn_145(); + /*146*/ virtual void __unk_vfn_146(); + /*147*/ virtual class BlockLegacy & init(); + /*148*/ virtual class BlockLegacy & setLightBlock(struct Brightness); + /*149*/ virtual class BlockLegacy & setLightEmission(float); + /*150*/ virtual class BlockLegacy & setExplodeable(float); + /*151*/ virtual class BlockLegacy & setDestroyTime(float); + /*152*/ virtual class BlockLegacy & setFriction(float); + /*153*/ virtual class BlockLegacy & addProperty(enum BlockProperty); + /*154*/ virtual class BlockLegacy & addState(class ItemState const &); + /*155*/ virtual class BlockLegacy & addState(class ItemState const &, unsigned __int64); + /*156*/ virtual class BlockLegacy & setAllowsRunes(bool); + /*157*/ virtual class BlockLegacy & setMapColor(class Color const &); + /*158*/ virtual void __unk_vfn_158(); + /*159*/ virtual void __unk_vfn_159(); + /*160*/ virtual void setVisualShape(class AABB const &); + /*161*/ virtual void setVisualShape(class Vec3 const &, class Vec3 const &); + /*162*/ virtual void __unk_vfn_162(); + /*163*/ virtual void __unk_vfn_163(); + /*164*/ virtual class ItemInstance getEntityResourceItem(class Random &, class BlockActor const &, int) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_NOTEBLOCK + MCVAPI bool isInteractiveBlock() const; +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/Npc.hpp b/LiteLoader/Header/MC/Npc.hpp new file mode 100644 index 0000000..9d6a885 --- /dev/null +++ b/LiteLoader/Header/MC/Npc.hpp @@ -0,0 +1,72 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Actor.hpp" +#include "Mob.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class Npc : public Mob { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_NPC +public: + class Npc& operator=(class Npc const &) = delete; + Npc(class Npc const &) = delete; + Npc() = delete; +#endif + +public: + /*1*/ virtual void reloadHardcoded(enum Actor::InitializationMethod, class VariantParameterList const &); + /*3*/ virtual void initializeComponents(enum Actor::InitializationMethod, class VariantParameterList const &); + /*7*/ virtual ~Npc(); + /*30*/ virtual void __unk_vfn_30(); + /*53*/ virtual bool canShowNameTag() const; + /*54*/ virtual void __unk_vfn_54(); + /*58*/ virtual std::string getFormattedNameTag() const; + /*61*/ virtual void __unk_vfn_61(); + /*76*/ virtual void __unk_vfn_76(); + /*81*/ virtual void __unk_vfn_81(); + /*88*/ virtual void __unk_vfn_88(); + /*90*/ virtual void __unk_vfn_90(); + /*98*/ virtual void __unk_vfn_98(); + /*100*/ virtual void __unk_vfn_100(); + /*121*/ virtual void __unk_vfn_121(); + /*169*/ virtual void __unk_vfn_169(); + /*180*/ virtual bool canBePulledIntoVehicle() const; + /*182*/ virtual void __unk_vfn_182(); + /*189*/ virtual void buildDebugInfo(std::string &) const; + /*197*/ virtual bool canBeAffected(class MobEffectInstance const &) const; + /*206*/ virtual void __unk_vfn_206(); + /*207*/ virtual void __unk_vfn_207(); + /*228*/ virtual void __unk_vfn_228(); + /*231*/ virtual void __unk_vfn_231(); + /*233*/ virtual void die(class ActorDamageSource const &); + /*238*/ virtual void __unk_vfn_238(); + /*240*/ virtual bool _hurt(class ActorDamageSource const &, int, bool, bool); + /*246*/ virtual void __unk_vfn_246(); + /*256*/ virtual void _onSizeUpdated(); + /*257*/ virtual void __unk_vfn_257(); + /*258*/ virtual void knockback(class Actor *, int, float, float, float, float, float); + /*290*/ virtual void __unk_vfn_290(); + /*300*/ virtual void __unk_vfn_300(); + /*331*/ virtual bool canExistWhenDisallowMob() const; + /*332*/ virtual void __unk_vfn_332(); + /*339*/ virtual void newServerAiStep(); + /*340*/ virtual void _serverAiMobStep(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_NPC + MCVAPI bool breaksFallingBlocks() const; + MCVAPI bool interactPreventDefault(); + MCVAPI bool isFishable() const; + MCVAPI bool isTargetable() const; + MCVAPI bool useNewAi() const; +#endif + MCAPI static std::string const SKIN_ID_TAG; + MCAPI static std::vector> const Skins; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/NpcAction.hpp b/LiteLoader/Header/MC/NpcAction.hpp new file mode 100644 index 0000000..edc191e --- /dev/null +++ b/LiteLoader/Header/MC/NpcAction.hpp @@ -0,0 +1,48 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Json.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class NpcAction { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_NPCACTION +public: + class NpcAction& operator=(class NpcAction const &) = delete; + NpcAction(class NpcAction const &) = delete; + NpcAction() = delete; +#endif + +public: + /*0*/ virtual ~NpcAction(); + /*1*/ virtual void __unk_vfn_1() = 0; + /*2*/ virtual bool fromJson(class Json::Value const &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_NPCACTION +#endif + MCAPI bool operator==(class NpcAction const &) const; + MCAPI void setButtonName(std::string const &); + MCAPI void setText(std::string const &); + MCAPI static std::unique_ptr read(class Json::Value const &); + +//protected: + MCAPI class Json::Value toJsonBase(class Json::Value &); + +//private: + +protected: + +private: + MCAPI static std::string const BUTTON_NAME_KEY; + MCAPI static std::string const DATA_KEY; + MCAPI static std::string const MODE_KEY; + MCAPI static std::string const TEXT_KEY; + MCAPI static std::string const TYPE_KEY; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/NpcCommandAction.hpp b/LiteLoader/Header/MC/NpcCommandAction.hpp new file mode 100644 index 0000000..a791d9e --- /dev/null +++ b/LiteLoader/Header/MC/NpcCommandAction.hpp @@ -0,0 +1,37 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Json.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class NpcCommandAction { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_NPCCOMMANDACTION +public: + class NpcCommandAction& operator=(class NpcCommandAction const &) = delete; + NpcCommandAction(class NpcCommandAction const &) = delete; + NpcCommandAction() = delete; +#endif + +public: + /*0*/ virtual ~NpcCommandAction(); + /*1*/ virtual class Json::Value toJson(); + /*2*/ virtual bool fromJson(class Json::Value const &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_NPCCOMMANDACTION +#endif + MCAPI static char const COMMAND_DELIMITER; + +//private: + +private: + MCAPI static std::string const COMMAND_LINE_KEY; + MCAPI static std::string const COMMAND_VERSION_KEY; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/NpcComponent.hpp b/LiteLoader/Header/MC/NpcComponent.hpp new file mode 100644 index 0000000..fc8e803 --- /dev/null +++ b/LiteLoader/Header/MC/NpcComponent.hpp @@ -0,0 +1,56 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class NpcComponent { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_NPCCOMPONENT +public: + class NpcComponent& operator=(class NpcComponent const &) = delete; + NpcComponent(class NpcComponent const &) = delete; + NpcComponent() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_NPCCOMPONENT +#endif + MCAPI NpcComponent(class NpcComponent &&); + MCAPI void addAdditionalSaveData(class Actor &, class CompoundTag &) const; + MCAPI void executeCommandAction(class Actor &, int); + MCAPI std::vector getButtonCounts() const; + MCAPI void getUpdatedActions(std::string const &, std::vector> &, bool &, bool &); + MCAPI void handleNpcRequest(class Actor &, class Player const &, class NpcRequestPacket const &); + MCAPI void initClientOnlyData(class Actor &); + MCAPI void initFromDefinition(class Actor &); + MCAPI void loadActions(class Actor &); + MCAPI void loadInteractiveRawText(class Actor &); + MCAPI void loadNameRawText(class Actor &); + MCAPI class NpcComponent & operator=(class NpcComponent &&); + MCAPI void readAdditionalSaveData(class Actor &, class CompoundTag const &, class DataLoadHelper &); + MCAPI void setInteractiveText(class Actor &, std::string const &, bool); + MCAPI void setName(class Actor &, std::string const &, bool); + MCAPI void setSkinIndex(class Actor &, int, bool); + +//private: + MCAPI void _defineEntityDataString(class Actor &, enum ActorDataIDs); + MCAPI void _deserializeData(); + MCAPI void _loadActions(std::vector> &, std::string const &) const; + MCAPI void _loadData(class Actor &); + MCAPI void _sendNpcRequest(class Actor &, class NpcRequestPacket) const; + MCAPI std::string _serializeActions() const; + +private: + MCAPI static std::string const ACTIONS_TAG; + MCAPI static std::string const INTERACTIVE_TAG; + MCAPI static std::string const NAME_RAW_TEXT_TAG; + MCAPI static std::string const URL_TAG; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/NpcGUIOffset.hpp b/LiteLoader/Header/MC/NpcGUIOffset.hpp new file mode 100644 index 0000000..8f8a257 --- /dev/null +++ b/LiteLoader/Header/MC/NpcGUIOffset.hpp @@ -0,0 +1,28 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Json.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class NpcGUIOffset { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_NPCGUIOFFSET +public: + class NpcGUIOffset& operator=(class NpcGUIOffset const &) = delete; + NpcGUIOffset(class NpcGUIOffset const &) = delete; + NpcGUIOffset() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_NPCGUIOFFSET +#endif + MCAPI NpcGUIOffset(class Json::Value const &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/NpcI18nObserver.hpp b/LiteLoader/Header/MC/NpcI18nObserver.hpp new file mode 100644 index 0000000..d0a4e69 --- /dev/null +++ b/LiteLoader/Header/MC/NpcI18nObserver.hpp @@ -0,0 +1,35 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class NpcI18nObserver { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_NPCI18NOBSERVER +public: + class NpcI18nObserver& operator=(class NpcI18nObserver const &) = delete; + NpcI18nObserver(class NpcI18nObserver const &) = delete; + NpcI18nObserver() = delete; +#endif + +public: + /*0*/ virtual ~NpcI18nObserver(); + /*1*/ virtual void onLanguageChanged(std::string const &, bool); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_NPCI18NOBSERVER + MCVAPI void onLanguageKeywordsLoadedFromPack(class PackManifest const &); + MCVAPI void onLanguagesLoaded(); +#endif + +//private: + MCAPI void _loadNpcData(); + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/NpcRequestPacket.hpp b/LiteLoader/Header/MC/NpcRequestPacket.hpp new file mode 100644 index 0000000..1e79aeb --- /dev/null +++ b/LiteLoader/Header/MC/NpcRequestPacket.hpp @@ -0,0 +1,37 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Packet.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class NpcRequestPacket : public Packet { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_NPCREQUESTPACKET +public: + class NpcRequestPacket& operator=(class NpcRequestPacket const &) = delete; + NpcRequestPacket(class NpcRequestPacket const &) = delete; + NpcRequestPacket() = delete; +#endif + +public: + /*0*/ virtual ~NpcRequestPacket(); + /*1*/ virtual enum MinecraftPacketIds getId() const; + /*2*/ virtual std::string getName() const; + /*3*/ virtual void write(class BinaryStream &) const; + /*4*/ virtual enum StreamReadResult read(class ReadOnlyBinaryStream &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_NPCREQUESTPACKET +#endif + +//private: + MCAPI NpcRequestPacket(class ActorRuntimeID, enum NpcRequestPacket::RequestType, std::string, unsigned char); + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/NpcUrlAction.hpp b/LiteLoader/Header/MC/NpcUrlAction.hpp new file mode 100644 index 0000000..7a8d5c4 --- /dev/null +++ b/LiteLoader/Header/MC/NpcUrlAction.hpp @@ -0,0 +1,29 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Json.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class NpcUrlAction { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_NPCURLACTION +public: + class NpcUrlAction& operator=(class NpcUrlAction const &) = delete; + NpcUrlAction(class NpcUrlAction const &) = delete; + NpcUrlAction() = delete; +#endif + +public: + /*0*/ virtual ~NpcUrlAction(); + /*1*/ virtual class Json::Value toJson(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_NPCURLACTION +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/NullLogger.hpp b/LiteLoader/Header/MC/NullLogger.hpp new file mode 100644 index 0000000..ab7fc80 --- /dev/null +++ b/LiteLoader/Header/MC/NullLogger.hpp @@ -0,0 +1,29 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class NullLogger { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_NULLLOGGER +public: + class NullLogger& operator=(class NullLogger const &) = delete; + NullLogger(class NullLogger const &) = delete; + NullLogger() = delete; +#endif + +public: + /*0*/ virtual ~NullLogger(); + /*1*/ virtual void Logv(char const *, char *); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_NULLLOGGER +#endif + MCAPI static class NullLogger instance; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/NullSecureStorage.hpp b/LiteLoader/Header/MC/NullSecureStorage.hpp new file mode 100644 index 0000000..fdbc9ec --- /dev/null +++ b/LiteLoader/Header/MC/NullSecureStorage.hpp @@ -0,0 +1,30 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class NullSecureStorage { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_NULLSECURESTORAGE +public: + class NullSecureStorage& operator=(class NullSecureStorage const &) = delete; + NullSecureStorage(class NullSecureStorage const &) = delete; + NullSecureStorage() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_NULLSECURESTORAGE + MCVAPI bool add(std::string const &, std::string const &); + MCVAPI bool addOrUpdate(std::string const &, std::string const &); + MCVAPI bool get(std::string const &, std::string &); + MCVAPI bool remove(std::string const &); +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/NullSoundPlayer.hpp b/LiteLoader/Header/MC/NullSoundPlayer.hpp new file mode 100644 index 0000000..395fe6d --- /dev/null +++ b/LiteLoader/Header/MC/NullSoundPlayer.hpp @@ -0,0 +1,62 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Core.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class NullSoundPlayer { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_NULLSOUNDPLAYER +public: + class NullSoundPlayer& operator=(class NullSoundPlayer const &) = delete; + NullSoundPlayer(class NullSoundPlayer const &) = delete; + NullSoundPlayer() = delete; +#endif + +public: + /*0*/ virtual ~NullSoundPlayer(); + /*1*/ virtual void __unk_vfn_1(); + /*2*/ virtual void __unk_vfn_2(); + /*3*/ virtual void __unk_vfn_3(); + /*4*/ virtual void __unk_vfn_4(); + /*5*/ virtual void __unk_vfn_5(); + /*6*/ virtual void __unk_vfn_6(); + /*7*/ virtual void __unk_vfn_7(); + /*8*/ virtual void __unk_vfn_8(); + /*9*/ virtual void __unk_vfn_9(); + /*10*/ virtual void __unk_vfn_10(); + /*11*/ virtual void __unk_vfn_11(); + /*12*/ virtual void __unk_vfn_12(); + /*13*/ virtual void __unk_vfn_13(); + /*14*/ virtual class Core::PathBuffer const getCurrentlyPlayingMusicName(); + /*15*/ virtual void __unk_vfn_15(); + /*16*/ virtual unsigned __int64 registerLoop(std::string const &, class std::function); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_NULLSOUNDPLAYER + MCVAPI void fadeOut(unsigned __int64, float); + MCVAPI void fadeToStopMusic(); + MCVAPI bool getItem(std::string const &, class Core::Path const &, class SoundItem &) const; + MCVAPI bool isLoadingMusic() const; + MCVAPI bool isPlayingMusic(class Core::Path const &) const; + MCVAPI bool isPlayingMusicEvent(std::string const &) const; + MCVAPI bool isPlayingSound(unsigned __int64) const; + MCVAPI unsigned __int64 play(std::string const &, class Vec3 const &, float, float); + MCVAPI unsigned __int64 playAttached(std::string const &, class std::function &&); + MCVAPI void playMusic(std::string const &, float, unsigned int &); + MCVAPI void playMusic(std::string const &, float); + MCVAPI unsigned __int64 playUI(std::string const &, float, float); + MCVAPI void stop(std::string const &); + MCVAPI void stop(unsigned __int64); + MCVAPI void stopAllDelayedSoundActions(); + MCVAPI void stopAllSounds(); + MCVAPI void stopMusic(); + MCVAPI void unregisterLoop(unsigned __int64); +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/NyliumBlock.hpp b/LiteLoader/Header/MC/NyliumBlock.hpp new file mode 100644 index 0000000..64da25a --- /dev/null +++ b/LiteLoader/Header/MC/NyliumBlock.hpp @@ -0,0 +1,72 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "BlockLegacy.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class NyliumBlock : public BlockLegacy { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_NYLIUMBLOCK +public: + class NyliumBlock& operator=(class NyliumBlock const &) = delete; + NyliumBlock(class NyliumBlock const &) = delete; + NyliumBlock() = delete; +#endif + +public: + /*0*/ virtual ~NyliumBlock(); + /*1*/ virtual void tick(class BlockSource &, class BlockPos const &, class Random &) const; + /*18*/ virtual void __unk_vfn_18(); + /*24*/ virtual void __unk_vfn_24(); + /*25*/ virtual void __unk_vfn_25(); + /*26*/ virtual void __unk_vfn_26(); + /*27*/ virtual void __unk_vfn_27(); + /*28*/ virtual void __unk_vfn_28(); + /*30*/ virtual void __unk_vfn_30(); + /*31*/ virtual void __unk_vfn_31(); + /*32*/ virtual void __unk_vfn_32(); + /*33*/ virtual void __unk_vfn_33(); + /*34*/ virtual void __unk_vfn_34(); + /*35*/ virtual void __unk_vfn_35(); + /*36*/ virtual void __unk_vfn_36(); + /*38*/ virtual void __unk_vfn_38(); + /*39*/ virtual void __unk_vfn_39(); + /*40*/ virtual void __unk_vfn_40(); + /*42*/ virtual void __unk_vfn_42(); + /*43*/ virtual void __unk_vfn_43(); + /*49*/ virtual void __unk_vfn_49(); + /*52*/ virtual void __unk_vfn_52(); + /*59*/ virtual void onPlace(class BlockSource &, class BlockPos const &) const; + /*67*/ virtual void __unk_vfn_67(); + /*73*/ virtual void __unk_vfn_73(); + /*75*/ virtual bool onFertilized(class BlockSource &, class BlockPos const &, class Actor *, enum FertilizerType) const; + /*77*/ virtual bool canBeFertilized(class BlockSource &, class BlockPos const &, class Block const &) const; + /*87*/ virtual void __unk_vfn_87(); + /*88*/ virtual void neighborChanged(class BlockSource &, class BlockPos const &, class BlockPos const &) const; + /*91*/ virtual class ItemInstance getResourceItem(class Random &, class Block const &, int) const; + /*95*/ virtual void __unk_vfn_95(); + /*109*/ virtual void __unk_vfn_109(); + /*116*/ virtual void __unk_vfn_116(); + /*118*/ virtual void __unk_vfn_118(); + /*119*/ virtual void __unk_vfn_119(); + /*142*/ virtual void __unk_vfn_142(); + /*158*/ virtual void __unk_vfn_158(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_NYLIUMBLOCK + MCVAPI bool canBeSilkTouched() const; +#endif + MCAPI bool canBeNylium(class BlockSource const &, class BlockPos const &) const; + +//private: + MCAPI void _addToTickingQueue(class BlockSource &, class BlockPos const &) const; + MCAPI bool _randomWalk(class BlockSource &, class BlockPos &, int) const; + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/OSInformation.hpp b/LiteLoader/Header/MC/OSInformation.hpp new file mode 100644 index 0000000..537b62a --- /dev/null +++ b/LiteLoader/Header/MC/OSInformation.hpp @@ -0,0 +1,26 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +struct OSInformation { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_OSINFORMATION +public: + struct OSInformation& operator=(struct OSInformation const &) = delete; + OSInformation(struct OSInformation const &) = delete; + OSInformation() = delete; +#endif +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_OSINFORMATION +#endif + MCAPI ~OSInformation(); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/Objective.hpp b/LiteLoader/Header/MC/Objective.hpp new file mode 100644 index 0000000..337a4f7 --- /dev/null +++ b/LiteLoader/Header/MC/Objective.hpp @@ -0,0 +1,33 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class Objective { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_OBJECTIVE +public: + class Objective& operator=(class Objective const &) = delete; + Objective(class Objective const &) = delete; + Objective() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_OBJECTIVE +#endif + MCAPI Objective(std::string const &, class ObjectiveCriteria const &); + MCAPI struct ScoreInfo getPlayerScore(struct ScoreboardId const &) const; + MCAPI bool getPlayerScoreRef(struct ScoreboardId const &, struct ScoreInfoRef &); + MCAPI std::vector getPlayers() const; + MCAPI bool hasScore(struct ScoreboardId const &) const; + MCAPI static std::unique_ptr deserialize(class CompoundTag const &, class Scoreboard &); + MCAPI static std::unique_ptr serialize(class Objective const &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ObjectiveCriteria.hpp b/LiteLoader/Header/MC/ObjectiveCriteria.hpp new file mode 100644 index 0000000..3ce357e --- /dev/null +++ b/LiteLoader/Header/MC/ObjectiveCriteria.hpp @@ -0,0 +1,27 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ObjectiveCriteria { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_OBJECTIVECRITERIA +public: + class ObjectiveCriteria& operator=(class ObjectiveCriteria const &) = delete; + ObjectiveCriteria(class ObjectiveCriteria const &) = delete; + ObjectiveCriteria() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_OBJECTIVECRITERIA +#endif + MCAPI static std::unique_ptr deserialize(class CompoundTag const &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ObserverBlock.hpp b/LiteLoader/Header/MC/ObserverBlock.hpp new file mode 100644 index 0000000..7347325 --- /dev/null +++ b/LiteLoader/Header/MC/ObserverBlock.hpp @@ -0,0 +1,79 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "BlockLegacy.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ObserverBlock : public BlockLegacy { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_OBSERVERBLOCK +public: + class ObserverBlock& operator=(class ObserverBlock const &) = delete; + ObserverBlock(class ObserverBlock const &) = delete; + ObserverBlock() = delete; +#endif + +public: + /*0*/ virtual ~ObserverBlock(); + /*1*/ virtual void tick(class BlockSource &, class BlockPos const &, class Random &) const; + /*18*/ virtual void __unk_vfn_18(); + /*24*/ virtual void __unk_vfn_24(); + /*25*/ virtual void __unk_vfn_25(); + /*26*/ virtual void __unk_vfn_26(); + /*27*/ virtual void __unk_vfn_27(); + /*28*/ virtual void __unk_vfn_28(); + /*30*/ virtual void __unk_vfn_30(); + /*31*/ virtual void __unk_vfn_31(); + /*32*/ virtual void __unk_vfn_32(); + /*33*/ virtual void __unk_vfn_33(); + /*34*/ virtual void __unk_vfn_34(); + /*35*/ virtual void __unk_vfn_35(); + /*36*/ virtual void __unk_vfn_36(); + /*38*/ virtual void __unk_vfn_38(); + /*39*/ virtual void __unk_vfn_39(); + /*40*/ virtual void __unk_vfn_40(); + /*42*/ virtual void __unk_vfn_42(); + /*43*/ virtual void __unk_vfn_43(); + /*44*/ virtual bool isValidAuxValue(int) const; + /*49*/ virtual void __unk_vfn_49(); + /*51*/ virtual bool shouldConnectToRedstone(class BlockSource &, class BlockPos const &, int) const; + /*52*/ virtual void __unk_vfn_52(); + /*59*/ virtual void onPlace(class BlockSource &, class BlockPos const &) const; + /*65*/ virtual void onRedstoneUpdate(class BlockSource &, class BlockPos const &, int, bool) const; + /*67*/ virtual void __unk_vfn_67(); + /*68*/ virtual void movedByPiston(class BlockSource &, class BlockPos const &) const; + /*70*/ virtual void setupRedstoneComponent(class BlockSource &, class BlockPos const &) const; + /*73*/ virtual void __unk_vfn_73(); + /*87*/ virtual void __unk_vfn_87(); + /*88*/ virtual void neighborChanged(class BlockSource &, class BlockPos const &, class BlockPos const &) const; + /*92*/ virtual class ItemInstance asItemInstance(class BlockSource &, class BlockPos const &, class Block const &) const; + /*95*/ virtual void __unk_vfn_95(); + /*99*/ virtual class Block const & getPlacementBlock(class Actor &, class BlockPos const &, unsigned char, class Vec3 const &, int) const; + /*109*/ virtual void __unk_vfn_109(); + /*116*/ virtual void __unk_vfn_116(); + /*118*/ virtual void __unk_vfn_118(); + /*119*/ virtual void __unk_vfn_119(); + /*141*/ virtual int getVariant(class Block const &) const; + /*142*/ virtual void __unk_vfn_142(); + /*144*/ virtual unsigned char getMappedFace(unsigned char, class Block const &) const; + /*145*/ virtual enum Flip getFaceFlip(unsigned char, class Block const &) const; + /*158*/ virtual void __unk_vfn_158(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_OBSERVERBLOCK + MCVAPI bool isSignalSource() const; +#endif + +//private: + MCAPI unsigned char _getPoweredDirection(class BlockSource &, class BlockPos const &) const; + MCAPI void _installCircuit(class BlockSource &, class BlockPos const &, bool, bool) const; + MCAPI void _updateState(class BlockSource &, class BlockPos const &, class PulseCapacitor &, bool) const; + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ObsidianBlock.hpp b/LiteLoader/Header/MC/ObsidianBlock.hpp new file mode 100644 index 0000000..13f1af3 --- /dev/null +++ b/LiteLoader/Header/MC/ObsidianBlock.hpp @@ -0,0 +1,60 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "BlockLegacy.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ObsidianBlock : public BlockLegacy { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_OBSIDIANBLOCK +public: + class ObsidianBlock& operator=(class ObsidianBlock const &) = delete; + ObsidianBlock(class ObsidianBlock const &) = delete; + ObsidianBlock() = delete; +#endif + +public: + /*0*/ virtual ~ObsidianBlock(); + /*18*/ virtual void __unk_vfn_18(); + /*24*/ virtual void __unk_vfn_24(); + /*25*/ virtual void __unk_vfn_25(); + /*26*/ virtual void __unk_vfn_26(); + /*27*/ virtual void __unk_vfn_27(); + /*28*/ virtual void __unk_vfn_28(); + /*30*/ virtual void __unk_vfn_30(); + /*31*/ virtual void __unk_vfn_31(); + /*32*/ virtual void __unk_vfn_32(); + /*33*/ virtual void __unk_vfn_33(); + /*34*/ virtual void __unk_vfn_34(); + /*35*/ virtual void __unk_vfn_35(); + /*36*/ virtual void __unk_vfn_36(); + /*38*/ virtual void __unk_vfn_38(); + /*39*/ virtual void __unk_vfn_39(); + /*40*/ virtual void __unk_vfn_40(); + /*42*/ virtual void __unk_vfn_42(); + /*43*/ virtual void __unk_vfn_43(); + /*49*/ virtual void __unk_vfn_49(); + /*52*/ virtual void __unk_vfn_52(); + /*67*/ virtual void __unk_vfn_67(); + /*73*/ virtual void __unk_vfn_73(); + /*87*/ virtual void __unk_vfn_87(); + /*95*/ virtual void __unk_vfn_95(); + /*109*/ virtual void __unk_vfn_109(); + /*116*/ virtual void __unk_vfn_116(); + /*118*/ virtual void __unk_vfn_118(); + /*119*/ virtual void __unk_vfn_119(); + /*142*/ virtual void __unk_vfn_142(); + /*146*/ virtual void animateTick(class BlockSource &, class BlockPos const &, class Random &) const; + /*158*/ virtual void __unk_vfn_158(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_OBSIDIANBLOCK +#endif + MCAPI void poofParticles(class BlockSource &, class BlockPos const &) const; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/OceanMixerLayer.hpp b/LiteLoader/Header/MC/OceanMixerLayer.hpp new file mode 100644 index 0000000..3620e7f --- /dev/null +++ b/LiteLoader/Header/MC/OceanMixerLayer.hpp @@ -0,0 +1,31 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class OceanMixerLayer { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_OCEANMIXERLAYER +public: + class OceanMixerLayer& operator=(class OceanMixerLayer const &) = delete; + OceanMixerLayer(class OceanMixerLayer const &) = delete; + OceanMixerLayer() = delete; +#endif + +public: + /*0*/ virtual ~OceanMixerLayer(); + /*1*/ virtual void __unk_vfn_1(); + /*2*/ virtual void __unk_vfn_2(); + /*3*/ virtual void _fillArea(class LayerDetails::WorkingData &, int, int, int, int, int, class LayerResult) const; + /*4*/ virtual class std::tuple _getAreaRead(int, int, unsigned int, unsigned int) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_OCEANMIXERLAYER +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/OceanMonumentCoreRoom.hpp b/LiteLoader/Header/MC/OceanMonumentCoreRoom.hpp new file mode 100644 index 0000000..8b55394 --- /dev/null +++ b/LiteLoader/Header/MC/OceanMonumentCoreRoom.hpp @@ -0,0 +1,30 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "OceanMonumentPiece.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class OceanMonumentCoreRoom : public OceanMonumentPiece { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_OCEANMONUMENTCOREROOM +public: + class OceanMonumentCoreRoom& operator=(class OceanMonumentCoreRoom const &) = delete; + OceanMonumentCoreRoom(class OceanMonumentCoreRoom const &) = delete; + OceanMonumentCoreRoom() = delete; +#endif + +public: + /*0*/ virtual ~OceanMonumentCoreRoom(); + /*3*/ virtual enum StructurePieceType getType() const; + /*5*/ virtual bool postProcess(class BlockSource &, class Random &, class BoundingBox const &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_OCEANMONUMENTCOREROOM +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/OceanMonumentDoubleXRoom.hpp b/LiteLoader/Header/MC/OceanMonumentDoubleXRoom.hpp new file mode 100644 index 0000000..a51d35f --- /dev/null +++ b/LiteLoader/Header/MC/OceanMonumentDoubleXRoom.hpp @@ -0,0 +1,30 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "OceanMonumentPiece.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class OceanMonumentDoubleXRoom : public OceanMonumentPiece { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_OCEANMONUMENTDOUBLEXROOM +public: + class OceanMonumentDoubleXRoom& operator=(class OceanMonumentDoubleXRoom const &) = delete; + OceanMonumentDoubleXRoom(class OceanMonumentDoubleXRoom const &) = delete; + OceanMonumentDoubleXRoom() = delete; +#endif + +public: + /*0*/ virtual ~OceanMonumentDoubleXRoom(); + /*3*/ virtual enum StructurePieceType getType() const; + /*5*/ virtual bool postProcess(class BlockSource &, class Random &, class BoundingBox const &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_OCEANMONUMENTDOUBLEXROOM +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/OceanMonumentDoubleXYRoom.hpp b/LiteLoader/Header/MC/OceanMonumentDoubleXYRoom.hpp new file mode 100644 index 0000000..1baacbd --- /dev/null +++ b/LiteLoader/Header/MC/OceanMonumentDoubleXYRoom.hpp @@ -0,0 +1,30 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "OceanMonumentPiece.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class OceanMonumentDoubleXYRoom : public OceanMonumentPiece { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_OCEANMONUMENTDOUBLEXYROOM +public: + class OceanMonumentDoubleXYRoom& operator=(class OceanMonumentDoubleXYRoom const &) = delete; + OceanMonumentDoubleXYRoom(class OceanMonumentDoubleXYRoom const &) = delete; + OceanMonumentDoubleXYRoom() = delete; +#endif + +public: + /*0*/ virtual ~OceanMonumentDoubleXYRoom(); + /*3*/ virtual enum StructurePieceType getType() const; + /*5*/ virtual bool postProcess(class BlockSource &, class Random &, class BoundingBox const &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_OCEANMONUMENTDOUBLEXYROOM +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/OceanMonumentDoubleYRoom.hpp b/LiteLoader/Header/MC/OceanMonumentDoubleYRoom.hpp new file mode 100644 index 0000000..4ad1429 --- /dev/null +++ b/LiteLoader/Header/MC/OceanMonumentDoubleYRoom.hpp @@ -0,0 +1,30 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "OceanMonumentPiece.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class OceanMonumentDoubleYRoom : public OceanMonumentPiece { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_OCEANMONUMENTDOUBLEYROOM +public: + class OceanMonumentDoubleYRoom& operator=(class OceanMonumentDoubleYRoom const &) = delete; + OceanMonumentDoubleYRoom(class OceanMonumentDoubleYRoom const &) = delete; + OceanMonumentDoubleYRoom() = delete; +#endif + +public: + /*0*/ virtual ~OceanMonumentDoubleYRoom(); + /*3*/ virtual enum StructurePieceType getType() const; + /*5*/ virtual bool postProcess(class BlockSource &, class Random &, class BoundingBox const &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_OCEANMONUMENTDOUBLEYROOM +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/OceanMonumentDoubleYZRoom.hpp b/LiteLoader/Header/MC/OceanMonumentDoubleYZRoom.hpp new file mode 100644 index 0000000..d47db54 --- /dev/null +++ b/LiteLoader/Header/MC/OceanMonumentDoubleYZRoom.hpp @@ -0,0 +1,30 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "OceanMonumentPiece.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class OceanMonumentDoubleYZRoom : public OceanMonumentPiece { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_OCEANMONUMENTDOUBLEYZROOM +public: + class OceanMonumentDoubleYZRoom& operator=(class OceanMonumentDoubleYZRoom const &) = delete; + OceanMonumentDoubleYZRoom(class OceanMonumentDoubleYZRoom const &) = delete; + OceanMonumentDoubleYZRoom() = delete; +#endif + +public: + /*0*/ virtual ~OceanMonumentDoubleYZRoom(); + /*3*/ virtual enum StructurePieceType getType() const; + /*5*/ virtual bool postProcess(class BlockSource &, class Random &, class BoundingBox const &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_OCEANMONUMENTDOUBLEYZROOM +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/OceanMonumentDoubleZRoom.hpp b/LiteLoader/Header/MC/OceanMonumentDoubleZRoom.hpp new file mode 100644 index 0000000..8f2df80 --- /dev/null +++ b/LiteLoader/Header/MC/OceanMonumentDoubleZRoom.hpp @@ -0,0 +1,30 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "OceanMonumentPiece.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class OceanMonumentDoubleZRoom : public OceanMonumentPiece { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_OCEANMONUMENTDOUBLEZROOM +public: + class OceanMonumentDoubleZRoom& operator=(class OceanMonumentDoubleZRoom const &) = delete; + OceanMonumentDoubleZRoom(class OceanMonumentDoubleZRoom const &) = delete; + OceanMonumentDoubleZRoom() = delete; +#endif + +public: + /*0*/ virtual ~OceanMonumentDoubleZRoom(); + /*3*/ virtual enum StructurePieceType getType() const; + /*5*/ virtual bool postProcess(class BlockSource &, class Random &, class BoundingBox const &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_OCEANMONUMENTDOUBLEZROOM +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/OceanMonumentEntryRoom.hpp b/LiteLoader/Header/MC/OceanMonumentEntryRoom.hpp new file mode 100644 index 0000000..79aa60f --- /dev/null +++ b/LiteLoader/Header/MC/OceanMonumentEntryRoom.hpp @@ -0,0 +1,30 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "OceanMonumentPiece.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class OceanMonumentEntryRoom : public OceanMonumentPiece { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_OCEANMONUMENTENTRYROOM +public: + class OceanMonumentEntryRoom& operator=(class OceanMonumentEntryRoom const &) = delete; + OceanMonumentEntryRoom(class OceanMonumentEntryRoom const &) = delete; + OceanMonumentEntryRoom() = delete; +#endif + +public: + /*0*/ virtual ~OceanMonumentEntryRoom(); + /*3*/ virtual enum StructurePieceType getType() const; + /*5*/ virtual bool postProcess(class BlockSource &, class Random &, class BoundingBox const &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_OCEANMONUMENTENTRYROOM +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/OceanMonumentFeature.hpp b/LiteLoader/Header/MC/OceanMonumentFeature.hpp new file mode 100644 index 0000000..aa392d1 --- /dev/null +++ b/LiteLoader/Header/MC/OceanMonumentFeature.hpp @@ -0,0 +1,33 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "StructureFeature.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class OceanMonumentFeature : public StructureFeature { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_OCEANMONUMENTFEATURE +public: + class OceanMonumentFeature& operator=(class OceanMonumentFeature const &) = delete; + OceanMonumentFeature(class OceanMonumentFeature const &) = delete; + OceanMonumentFeature() = delete; +#endif + +public: + /*0*/ virtual ~OceanMonumentFeature(); + /*1*/ virtual void initMobSpawnTypes(class HardcodedSpawnAreaRegistry &); + /*3*/ virtual bool getNearestGeneratedFeature(class Dimension &, class BiomeSource &, class BlockPos const &, class BlockPos &); + /*4*/ virtual bool isFeatureChunk(class BiomeSource const &, class Random &, class ChunkPos const &, unsigned int); + /*5*/ virtual std::unique_ptr createStructureStart(class Dimension &, class BiomeSource &, class Random &, class ChunkPos const &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_OCEANMONUMENTFEATURE +#endif + MCAPI OceanMonumentFeature(unsigned int); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/OceanMonumentPenthouse.hpp b/LiteLoader/Header/MC/OceanMonumentPenthouse.hpp new file mode 100644 index 0000000..c2a1c82 --- /dev/null +++ b/LiteLoader/Header/MC/OceanMonumentPenthouse.hpp @@ -0,0 +1,31 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "OceanMonumentPiece.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class OceanMonumentPenthouse : public OceanMonumentPiece { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_OCEANMONUMENTPENTHOUSE +public: + class OceanMonumentPenthouse& operator=(class OceanMonumentPenthouse const &) = delete; + OceanMonumentPenthouse(class OceanMonumentPenthouse const &) = delete; + OceanMonumentPenthouse() = delete; +#endif + +public: + /*0*/ virtual ~OceanMonumentPenthouse(); + /*3*/ virtual enum StructurePieceType getType() const; + /*5*/ virtual bool postProcess(class BlockSource &, class Random &, class BoundingBox const &); + /*6*/ virtual void postProcessMobsAt(class BlockSource &, class Random &, class BoundingBox const &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_OCEANMONUMENTPENTHOUSE +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/OceanMonumentPiece.hpp b/LiteLoader/Header/MC/OceanMonumentPiece.hpp new file mode 100644 index 0000000..0d6cac5 --- /dev/null +++ b/LiteLoader/Header/MC/OceanMonumentPiece.hpp @@ -0,0 +1,50 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "StructurePiece.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class OceanMonumentPiece : public StructurePiece { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_OCEANMONUMENTPIECE +public: + class OceanMonumentPiece& operator=(class OceanMonumentPiece const &) = delete; + OceanMonumentPiece(class OceanMonumentPiece const &) = delete; + OceanMonumentPiece() = delete; +#endif + +public: + /*0*/ virtual ~OceanMonumentPiece(); + /*6*/ virtual void postProcessMobsAt(class BlockSource &, class Random &, class BoundingBox const &); + /*7*/ virtual int getWorldX(int, int); + /*8*/ virtual int getWorldZ(int, int); + /*11*/ virtual void addHardcodedSpawnAreas(class LevelChunk &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_OCEANMONUMENTPIECE +#endif + MCAPI OceanMonumentPiece(int &, class BoundingBox &); + +//protected: + MCAPI OceanMonumentPiece(int, int &, class std::shared_ptr, int, int, int); + MCAPI bool chunkIntersects(class BoundingBox const &, int, int, int, int); + MCAPI void generateBoxOnFillOnly(class BlockSource &, class BoundingBox const &, int, int, int, int, int, int, class Block const &); + MCAPI void generateDefaultFloor(class BlockSource &, class BoundingBox const &, int, int, bool); + MCAPI void generateWaterBox(class BlockSource &, class BoundingBox const &, int, int, int, int, int, int, bool); + MCAPI void spawnElder(class BlockSource &, class BoundingBox const &, int, int, int); + +protected: + MCAPI static int mGridroomLeftWingConnectIndex; + MCAPI static int mGridroomRightWingConnectIndex; + MCAPI static int mGridroomSourceIndex; + MCAPI static int mGridroomTopConnectIndex; + MCAPI static int const mLeftWingIndex; + MCAPI static int const mPenthouseIndex; + MCAPI static int const mRightWingIndex; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/OceanMonumentSimpleRoom.hpp b/LiteLoader/Header/MC/OceanMonumentSimpleRoom.hpp new file mode 100644 index 0000000..4b2a01f --- /dev/null +++ b/LiteLoader/Header/MC/OceanMonumentSimpleRoom.hpp @@ -0,0 +1,30 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "OceanMonumentPiece.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class OceanMonumentSimpleRoom : public OceanMonumentPiece { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_OCEANMONUMENTSIMPLEROOM +public: + class OceanMonumentSimpleRoom& operator=(class OceanMonumentSimpleRoom const &) = delete; + OceanMonumentSimpleRoom(class OceanMonumentSimpleRoom const &) = delete; + OceanMonumentSimpleRoom() = delete; +#endif + +public: + /*0*/ virtual ~OceanMonumentSimpleRoom(); + /*3*/ virtual enum StructurePieceType getType() const; + /*5*/ virtual bool postProcess(class BlockSource &, class Random &, class BoundingBox const &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_OCEANMONUMENTSIMPLEROOM +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/OceanMonumentSimpleTopRoom.hpp b/LiteLoader/Header/MC/OceanMonumentSimpleTopRoom.hpp new file mode 100644 index 0000000..6a08c0c --- /dev/null +++ b/LiteLoader/Header/MC/OceanMonumentSimpleTopRoom.hpp @@ -0,0 +1,30 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "OceanMonumentPiece.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class OceanMonumentSimpleTopRoom : public OceanMonumentPiece { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_OCEANMONUMENTSIMPLETOPROOM +public: + class OceanMonumentSimpleTopRoom& operator=(class OceanMonumentSimpleTopRoom const &) = delete; + OceanMonumentSimpleTopRoom(class OceanMonumentSimpleTopRoom const &) = delete; + OceanMonumentSimpleTopRoom() = delete; +#endif + +public: + /*0*/ virtual ~OceanMonumentSimpleTopRoom(); + /*3*/ virtual enum StructurePieceType getType() const; + /*5*/ virtual bool postProcess(class BlockSource &, class Random &, class BoundingBox const &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_OCEANMONUMENTSIMPLETOPROOM +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/OceanMonumentStart.hpp b/LiteLoader/Header/MC/OceanMonumentStart.hpp new file mode 100644 index 0000000..5440300 --- /dev/null +++ b/LiteLoader/Header/MC/OceanMonumentStart.hpp @@ -0,0 +1,31 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class OceanMonumentStart { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_OCEANMONUMENTSTART +public: + class OceanMonumentStart& operator=(class OceanMonumentStart const &) = delete; + OceanMonumentStart(class OceanMonumentStart const &) = delete; + OceanMonumentStart() = delete; +#endif + +public: + /*0*/ virtual ~OceanMonumentStart(); + /*1*/ virtual bool postProcess(class BlockSource &, class Random &, class BoundingBox const &); + /*2*/ virtual void __unk_vfn_2(); + /*3*/ virtual enum StructureFeatureType getType() const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_OCEANMONUMENTSTART +#endif + MCAPI void createMonument(class Dimension &, class Random &, int, int); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/OceanMonumentWingRoom.hpp b/LiteLoader/Header/MC/OceanMonumentWingRoom.hpp new file mode 100644 index 0000000..be32983 --- /dev/null +++ b/LiteLoader/Header/MC/OceanMonumentWingRoom.hpp @@ -0,0 +1,31 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "OceanMonumentPiece.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class OceanMonumentWingRoom : public OceanMonumentPiece { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_OCEANMONUMENTWINGROOM +public: + class OceanMonumentWingRoom& operator=(class OceanMonumentWingRoom const &) = delete; + OceanMonumentWingRoom(class OceanMonumentWingRoom const &) = delete; + OceanMonumentWingRoom() = delete; +#endif + +public: + /*0*/ virtual ~OceanMonumentWingRoom(); + /*3*/ virtual enum StructurePieceType getType() const; + /*5*/ virtual bool postProcess(class BlockSource &, class Random &, class BoundingBox const &); + /*6*/ virtual void postProcessMobsAt(class BlockSource &, class Random &, class BoundingBox const &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_OCEANMONUMENTWINGROOM +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/OceanRuinFeature.hpp b/LiteLoader/Header/MC/OceanRuinFeature.hpp new file mode 100644 index 0000000..745ddcd --- /dev/null +++ b/LiteLoader/Header/MC/OceanRuinFeature.hpp @@ -0,0 +1,32 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "StructureFeature.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class OceanRuinFeature : public StructureFeature { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_OCEANRUINFEATURE +public: + class OceanRuinFeature& operator=(class OceanRuinFeature const &) = delete; + OceanRuinFeature(class OceanRuinFeature const &) = delete; + OceanRuinFeature() = delete; +#endif + +public: + /*0*/ virtual ~OceanRuinFeature(); + /*3*/ virtual bool getNearestGeneratedFeature(class Dimension &, class BiomeSource &, class BlockPos const &, class BlockPos &); + /*4*/ virtual bool isFeatureChunk(class BiomeSource const &, class Random &, class ChunkPos const &, unsigned int); + /*5*/ virtual std::unique_ptr createStructureStart(class Dimension &, class BiomeSource &, class Random &, class ChunkPos const &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_OCEANRUINFEATURE +#endif + MCAPI OceanRuinFeature(class OverworldGenerator &, class OceanMonumentFeature &, unsigned int); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/OceanRuinPieces.hpp b/LiteLoader/Header/MC/OceanRuinPieces.hpp new file mode 100644 index 0000000..de5f717 --- /dev/null +++ b/LiteLoader/Header/MC/OceanRuinPieces.hpp @@ -0,0 +1,48 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class OceanRuinPieces { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_OCEANRUINPIECES +public: + class OceanRuinPieces& operator=(class OceanRuinPieces const &) = delete; + OceanRuinPieces(class OceanRuinPieces const &) = delete; + OceanRuinPieces() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_OCEANRUINPIECES +#endif + +//private: + MCAPI static void _addClusterRuins(class StructureManager &, class Random &, enum Rotation const &, class BlockPos const &, struct OceanRuinConfiguration const &, std::vector> &); + MCAPI static void _addPiece(class StructureManager &, class BlockPos const &, enum Rotation const &, std::vector> &, class Random &, struct OceanRuinConfiguration const &, bool, float); + MCAPI static std::vector _allPositions(class Random &, int, int, int); + +private: + MCAPI static class gsl::basic_string_span BIG_RUIN_LOOT; + MCAPI static class gsl::basic_string_span RUIN_LOOT; + MCAPI static class gsl::basic_string_span STRUCTURE_BIG_RUIN1_BRICK; + MCAPI static class gsl::basic_string_span STRUCTURE_BIG_RUIN8_BRICK; + MCAPI static class gsl::basic_string_span STRUCTURE_RUIN_2_BRICK; + MCAPI static class gsl::basic_string_span STRUCTURE_RUIN_3_BRICK; + MCAPI static class gsl::basic_string_span bigRuinsBrick[]; + MCAPI static class gsl::basic_string_span bigRuinsCracked[]; + MCAPI static class gsl::basic_string_span bigRuinsMossy[]; + MCAPI static class gsl::basic_string_span bigWarmRuins[]; + MCAPI static class LegacyStructureSettings mSettings; + MCAPI static class gsl::basic_string_span ruinsBrick[]; + MCAPI static class gsl::basic_string_span ruinsCracked[]; + MCAPI static class gsl::basic_string_span ruinsMossy[]; + MCAPI static class gsl::basic_string_span warmRuins[]; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/OceanRuinStart.hpp b/LiteLoader/Header/MC/OceanRuinStart.hpp new file mode 100644 index 0000000..63ce243 --- /dev/null +++ b/LiteLoader/Header/MC/OceanRuinStart.hpp @@ -0,0 +1,31 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class OceanRuinStart { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_OCEANRUINSTART +public: + class OceanRuinStart& operator=(class OceanRuinStart const &) = delete; + OceanRuinStart(class OceanRuinStart const &) = delete; + OceanRuinStart() = delete; +#endif + +public: + /*0*/ virtual ~OceanRuinStart(); + /*1*/ virtual bool postProcess(class BlockSource &, class Random &, class BoundingBox const &); + /*2*/ virtual void __unk_vfn_2(); + /*3*/ virtual enum StructureFeatureType getType() const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_OCEANRUINSTART +#endif + MCAPI void createRuin(class Dimension &, class OverworldGenerator &, class Random &, int, int); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/Ocelot.hpp b/LiteLoader/Header/MC/Ocelot.hpp new file mode 100644 index 0000000..0cc85f4 --- /dev/null +++ b/LiteLoader/Header/MC/Ocelot.hpp @@ -0,0 +1,57 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Actor.hpp" +#include "Animal.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class Ocelot : public Animal { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_OCELOT +public: + class Ocelot& operator=(class Ocelot const &) = delete; + Ocelot(class Ocelot const &) = delete; + Ocelot() = delete; +#endif + +public: + /*1*/ virtual void reloadHardcoded(enum Actor::InitializationMethod, class VariantParameterList const &); + /*7*/ virtual ~Ocelot(); + /*30*/ virtual void __unk_vfn_30(); + /*54*/ virtual void __unk_vfn_54(); + /*61*/ virtual void __unk_vfn_61(); + /*76*/ virtual void __unk_vfn_76(); + /*81*/ virtual void __unk_vfn_81(); + /*88*/ virtual void __unk_vfn_88(); + /*90*/ virtual void __unk_vfn_90(); + /*98*/ virtual void __unk_vfn_98(); + /*100*/ virtual void __unk_vfn_100(); + /*121*/ virtual void __unk_vfn_121(); + /*169*/ virtual void __unk_vfn_169(); + /*182*/ virtual void __unk_vfn_182(); + /*206*/ virtual void __unk_vfn_206(); + /*207*/ virtual void __unk_vfn_207(); + /*228*/ virtual void __unk_vfn_228(); + /*231*/ virtual void __unk_vfn_231(); + /*235*/ virtual void updateEntitySpecificMolangVariables(class RenderParams &); + /*238*/ virtual void __unk_vfn_238(); + /*246*/ virtual void __unk_vfn_246(); + /*257*/ virtual void __unk_vfn_257(); + /*290*/ virtual void __unk_vfn_290(); + /*299*/ virtual bool doHurtTarget(class Actor *); + /*300*/ virtual void __unk_vfn_300(); + /*332*/ virtual void __unk_vfn_332(); + /*340*/ virtual void _serverAiMobStep(); + /*348*/ virtual void __unk_vfn_348(); + /*349*/ virtual bool isDarkEnoughToSpawn() const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_OCELOT +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/OcelotAttackDefinition.hpp b/LiteLoader/Header/MC/OcelotAttackDefinition.hpp new file mode 100644 index 0000000..e07f113 --- /dev/null +++ b/LiteLoader/Header/MC/OcelotAttackDefinition.hpp @@ -0,0 +1,28 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "JsonUtil.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class OcelotAttackDefinition { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_OCELOTATTACKDEFINITION +public: + class OcelotAttackDefinition& operator=(class OcelotAttackDefinition const &) = delete; + OcelotAttackDefinition(class OcelotAttackDefinition const &) = delete; + OcelotAttackDefinition() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_OCELOTATTACKDEFINITION +#endif + MCAPI static void buildSchema(std::string const &, class std::shared_ptr> &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/OcelotAttackGoal.hpp b/LiteLoader/Header/MC/OcelotAttackGoal.hpp new file mode 100644 index 0000000..d1a96dc --- /dev/null +++ b/LiteLoader/Header/MC/OcelotAttackGoal.hpp @@ -0,0 +1,34 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class OcelotAttackGoal { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_OCELOTATTACKGOAL +public: + class OcelotAttackGoal& operator=(class OcelotAttackGoal const &) = delete; + OcelotAttackGoal(class OcelotAttackGoal const &) = delete; + OcelotAttackGoal() = delete; +#endif + +public: + /*0*/ virtual ~OcelotAttackGoal(); + /*1*/ virtual bool canUse(); + /*2*/ virtual bool canContinueToUse(); + /*3*/ virtual void __unk_vfn_3(); + /*4*/ virtual void __unk_vfn_4(); + /*5*/ virtual void stop(); + /*6*/ virtual void tick(); + /*7*/ virtual void appendDebugInfo(std::string &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_OCELOTATTACKGOAL +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/OcelotSitOnBlockGoal.hpp b/LiteLoader/Header/MC/OcelotSitOnBlockGoal.hpp new file mode 100644 index 0000000..bba23c1 --- /dev/null +++ b/LiteLoader/Header/MC/OcelotSitOnBlockGoal.hpp @@ -0,0 +1,45 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "BaseMoveToBlockGoal.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class OcelotSitOnBlockGoal : public BaseMoveToBlockGoal { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_OCELOTSITONBLOCKGOAL +public: + class OcelotSitOnBlockGoal& operator=(class OcelotSitOnBlockGoal const &) = delete; + OcelotSitOnBlockGoal(class OcelotSitOnBlockGoal const &) = delete; + OcelotSitOnBlockGoal() = delete; +#endif + +public: + /*0*/ virtual ~OcelotSitOnBlockGoal(); + /*1*/ virtual bool canUse(); + /*2*/ virtual bool canContinueToUse(); + /*3*/ virtual void __unk_vfn_3(); + /*4*/ virtual void start(); + /*5*/ virtual void stop(); + /*6*/ virtual void tick(); + /*7*/ virtual void appendDebugInfo(std::string &) const; + /*8*/ virtual void __unk_vfn_8(); + /*9*/ virtual void __unk_vfn_9(); + /*10*/ virtual bool hasReachedTarget() const; + /*11*/ virtual bool isValidTarget(class BlockSource &, class BlockPos const &); + /*12*/ virtual int _nextStartTick(); + /*13*/ virtual bool _canReach(class BlockPos const &); + /*14*/ virtual void _moveToBlock(); + /*15*/ virtual class Vec3 _getTargetPosition() const; + /*16*/ virtual void __unk_vfn_16(); + /*17*/ virtual bool findTargetBlock(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_OCELOTSITONBLOCKGOAL +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/OculusPlatformMessagePump.hpp b/LiteLoader/Header/MC/OculusPlatformMessagePump.hpp new file mode 100644 index 0000000..d0d029a --- /dev/null +++ b/LiteLoader/Header/MC/OculusPlatformMessagePump.hpp @@ -0,0 +1,27 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class OculusPlatformMessagePump { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_OCULUSPLATFORMMESSAGEPUMP +public: + class OculusPlatformMessagePump& operator=(class OculusPlatformMessagePump const &) = delete; + OculusPlatformMessagePump(class OculusPlatformMessagePump const &) = delete; + OculusPlatformMessagePump() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_OCULUSPLATFORMMESSAGEPUMP +#endif + MCAPI static std::string const mOculusAppId; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/OfferFlowerGoal.hpp b/LiteLoader/Header/MC/OfferFlowerGoal.hpp new file mode 100644 index 0000000..51bfbc6 --- /dev/null +++ b/LiteLoader/Header/MC/OfferFlowerGoal.hpp @@ -0,0 +1,34 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class OfferFlowerGoal { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_OFFERFLOWERGOAL +public: + class OfferFlowerGoal& operator=(class OfferFlowerGoal const &) = delete; + OfferFlowerGoal(class OfferFlowerGoal const &) = delete; + OfferFlowerGoal() = delete; +#endif + +public: + /*0*/ virtual ~OfferFlowerGoal(); + /*1*/ virtual bool canUse(); + /*2*/ virtual bool canContinueToUse(); + /*3*/ virtual void __unk_vfn_3(); + /*4*/ virtual void start(); + /*5*/ virtual void stop(); + /*6*/ virtual void tick(); + /*7*/ virtual void appendDebugInfo(std::string &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_OFFERFLOWERGOAL +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/OldLeafBlock.hpp b/LiteLoader/Header/MC/OldLeafBlock.hpp new file mode 100644 index 0000000..18ef347 --- /dev/null +++ b/LiteLoader/Header/MC/OldLeafBlock.hpp @@ -0,0 +1,69 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "LeafBlock.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class OldLeafBlock : public LeafBlock { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_OLDLEAFBLOCK +public: + class OldLeafBlock& operator=(class OldLeafBlock const &) = delete; + OldLeafBlock(class OldLeafBlock const &) = delete; + OldLeafBlock() = delete; +#endif + +public: + /*0*/ virtual ~OldLeafBlock(); + /*18*/ virtual void __unk_vfn_18(); + /*24*/ virtual void __unk_vfn_24(); + /*25*/ virtual void __unk_vfn_25(); + /*26*/ virtual void __unk_vfn_26(); + /*27*/ virtual void __unk_vfn_27(); + /*28*/ virtual void __unk_vfn_28(); + /*30*/ virtual void __unk_vfn_30(); + /*31*/ virtual void __unk_vfn_31(); + /*32*/ virtual void __unk_vfn_32(); + /*33*/ virtual void __unk_vfn_33(); + /*34*/ virtual void __unk_vfn_34(); + /*35*/ virtual void __unk_vfn_35(); + /*36*/ virtual void __unk_vfn_36(); + /*38*/ virtual void __unk_vfn_38(); + /*39*/ virtual void __unk_vfn_39(); + /*40*/ virtual void __unk_vfn_40(); + /*42*/ virtual void __unk_vfn_42(); + /*43*/ virtual void __unk_vfn_43(); + /*49*/ virtual void __unk_vfn_49(); + /*52*/ virtual void __unk_vfn_52(); + /*67*/ virtual void __unk_vfn_67(); + /*73*/ virtual void __unk_vfn_73(); + /*87*/ virtual void __unk_vfn_87(); + /*91*/ virtual class ItemInstance getResourceItem(class Random &, class Block const &, int) const; + /*92*/ virtual class ItemInstance asItemInstance(class BlockSource &, class BlockPos const &, class Block const &) const; + /*95*/ virtual void __unk_vfn_95(); + /*105*/ virtual void playerDestroy(class Player &, class BlockPos const &, class Block const &) const; + /*109*/ virtual void __unk_vfn_109(); + /*113*/ virtual class Color getMapColor(class BlockSource &, class BlockPos const &) const; + /*116*/ virtual void __unk_vfn_116(); + /*118*/ virtual void __unk_vfn_118(); + /*119*/ virtual void __unk_vfn_119(); + /*126*/ virtual enum BlockRenderLayer getRenderLayer(class Block const &, class BlockSource &, class BlockPos const &) const; + /*127*/ virtual std::string buildDescriptionId(class Block const &) const; + /*128*/ virtual bool isAuxValueRelevantForPicking() const; + /*130*/ virtual int getColor(class BlockSource &, class BlockPos const &, class Block const &) const; + /*141*/ virtual int getVariant(class Block const &) const; + /*142*/ virtual void __unk_vfn_142(); + /*158*/ virtual void __unk_vfn_158(); + /*159*/ virtual class ItemInstance getSilkTouchItemInstance(class Block const &) const; + /*164*/ virtual class ItemInstance getExtraResourceItem(class Block const &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_OLDLEAFBLOCK +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/OldLogBlock.hpp b/LiteLoader/Header/MC/OldLogBlock.hpp new file mode 100644 index 0000000..38df93b --- /dev/null +++ b/LiteLoader/Header/MC/OldLogBlock.hpp @@ -0,0 +1,67 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "RotatedPillarBlock.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class OldLogBlock : public RotatedPillarBlock { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_OLDLOGBLOCK +public: + class OldLogBlock& operator=(class OldLogBlock const &) = delete; + OldLogBlock(class OldLogBlock const &) = delete; + OldLogBlock() = delete; +#endif + +public: + /*0*/ virtual ~OldLogBlock(); + /*18*/ virtual void __unk_vfn_18(); + /*19*/ virtual bool isStrippable(class Block const &) const; + /*20*/ virtual class Block const & getStrippedBlock(class Block const &) const; + /*24*/ virtual void __unk_vfn_24(); + /*25*/ virtual void __unk_vfn_25(); + /*26*/ virtual void __unk_vfn_26(); + /*27*/ virtual void __unk_vfn_27(); + /*28*/ virtual void __unk_vfn_28(); + /*30*/ virtual void __unk_vfn_30(); + /*31*/ virtual void __unk_vfn_31(); + /*32*/ virtual void __unk_vfn_32(); + /*33*/ virtual void __unk_vfn_33(); + /*34*/ virtual void __unk_vfn_34(); + /*35*/ virtual void __unk_vfn_35(); + /*36*/ virtual void __unk_vfn_36(); + /*38*/ virtual void __unk_vfn_38(); + /*39*/ virtual void __unk_vfn_39(); + /*40*/ virtual void __unk_vfn_40(); + /*42*/ virtual void __unk_vfn_42(); + /*43*/ virtual void __unk_vfn_43(); + /*49*/ virtual void __unk_vfn_49(); + /*52*/ virtual void __unk_vfn_52(); + /*67*/ virtual void __unk_vfn_67(); + /*73*/ virtual void __unk_vfn_73(); + /*87*/ virtual void __unk_vfn_87(); + /*91*/ virtual class ItemInstance getResourceItem(class Random &, class Block const &, int) const; + /*92*/ virtual class ItemInstance asItemInstance(class BlockSource &, class BlockPos const &, class Block const &) const; + /*95*/ virtual void __unk_vfn_95(); + /*109*/ virtual void __unk_vfn_109(); + /*116*/ virtual void __unk_vfn_116(); + /*118*/ virtual void __unk_vfn_118(); + /*119*/ virtual void __unk_vfn_119(); + /*127*/ virtual std::string buildDescriptionId(class Block const &) const; + /*128*/ virtual bool isAuxValueRelevantForPicking() const; + /*141*/ virtual int getVariant(class Block const &) const; + /*142*/ virtual void __unk_vfn_142(); + /*158*/ virtual void __unk_vfn_158(); + /*159*/ virtual class ItemInstance getSilkTouchItemInstance(class Block const &) const; + /*164*/ virtual class Color getDustColor(class Block const &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_OLDLOGBLOCK +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/OnDeathDescription.hpp b/LiteLoader/Header/MC/OnDeathDescription.hpp new file mode 100644 index 0000000..67899e5 --- /dev/null +++ b/LiteLoader/Header/MC/OnDeathDescription.hpp @@ -0,0 +1,30 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Json.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +struct OnDeathDescription { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ONDEATHDESCRIPTION +public: + struct OnDeathDescription& operator=(struct OnDeathDescription const &) = delete; + OnDeathDescription(struct OnDeathDescription const &) = delete; + OnDeathDescription() = delete; +#endif +public: + /*0*/ virtual char const * getJsonName() const; + /*1*/ virtual ~OnDeathDescription(); + /*2*/ virtual void deserializeData(class Json::Value &); + /*3*/ virtual void serializeData(class Json::Value &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ONDEATHDESCRIPTION +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/OnFriendlyAngerDescription.hpp b/LiteLoader/Header/MC/OnFriendlyAngerDescription.hpp new file mode 100644 index 0000000..c09585b --- /dev/null +++ b/LiteLoader/Header/MC/OnFriendlyAngerDescription.hpp @@ -0,0 +1,30 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Json.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +struct OnFriendlyAngerDescription { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ONFRIENDLYANGERDESCRIPTION +public: + struct OnFriendlyAngerDescription& operator=(struct OnFriendlyAngerDescription const &) = delete; + OnFriendlyAngerDescription(struct OnFriendlyAngerDescription const &) = delete; + OnFriendlyAngerDescription() = delete; +#endif +public: + /*0*/ virtual char const * getJsonName() const; + /*1*/ virtual ~OnFriendlyAngerDescription(); + /*2*/ virtual void deserializeData(class Json::Value &); + /*3*/ virtual void serializeData(class Json::Value &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ONFRIENDLYANGERDESCRIPTION +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/OnHitSubcomponent.hpp b/LiteLoader/Header/MC/OnHitSubcomponent.hpp new file mode 100644 index 0000000..6a234c0 --- /dev/null +++ b/LiteLoader/Header/MC/OnHitSubcomponent.hpp @@ -0,0 +1,31 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class OnHitSubcomponent { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ONHITSUBCOMPONENT +public: + class OnHitSubcomponent& operator=(class OnHitSubcomponent const &) = delete; + OnHitSubcomponent(class OnHitSubcomponent const &) = delete; + OnHitSubcomponent() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ONHITSUBCOMPONENT +#endif + +//protected: + MCAPI bool _canAttack(class Actor *, class Actor *) const; + +protected: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/OnHurtByPlayerDescription.hpp b/LiteLoader/Header/MC/OnHurtByPlayerDescription.hpp new file mode 100644 index 0000000..f51898a --- /dev/null +++ b/LiteLoader/Header/MC/OnHurtByPlayerDescription.hpp @@ -0,0 +1,30 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Json.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +struct OnHurtByPlayerDescription { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ONHURTBYPLAYERDESCRIPTION +public: + struct OnHurtByPlayerDescription& operator=(struct OnHurtByPlayerDescription const &) = delete; + OnHurtByPlayerDescription(struct OnHurtByPlayerDescription const &) = delete; + OnHurtByPlayerDescription() = delete; +#endif +public: + /*0*/ virtual char const * getJsonName() const; + /*1*/ virtual ~OnHurtByPlayerDescription(); + /*2*/ virtual void deserializeData(class Json::Value &); + /*3*/ virtual void serializeData(class Json::Value &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ONHURTBYPLAYERDESCRIPTION +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/OnHurtDescription.hpp b/LiteLoader/Header/MC/OnHurtDescription.hpp new file mode 100644 index 0000000..71e9512 --- /dev/null +++ b/LiteLoader/Header/MC/OnHurtDescription.hpp @@ -0,0 +1,30 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Json.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +struct OnHurtDescription { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ONHURTDESCRIPTION +public: + struct OnHurtDescription& operator=(struct OnHurtDescription const &) = delete; + OnHurtDescription(struct OnHurtDescription const &) = delete; + OnHurtDescription() = delete; +#endif +public: + /*0*/ virtual char const * getJsonName() const; + /*1*/ virtual ~OnHurtDescription(); + /*2*/ virtual void deserializeData(class Json::Value &); + /*3*/ virtual void serializeData(class Json::Value &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ONHURTDESCRIPTION +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/OnIgniteDescription.hpp b/LiteLoader/Header/MC/OnIgniteDescription.hpp new file mode 100644 index 0000000..1ab0d5c --- /dev/null +++ b/LiteLoader/Header/MC/OnIgniteDescription.hpp @@ -0,0 +1,30 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Json.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +struct OnIgniteDescription { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ONIGNITEDESCRIPTION +public: + struct OnIgniteDescription& operator=(struct OnIgniteDescription const &) = delete; + OnIgniteDescription(struct OnIgniteDescription const &) = delete; + OnIgniteDescription() = delete; +#endif +public: + /*0*/ virtual char const * getJsonName() const; + /*1*/ virtual ~OnIgniteDescription(); + /*2*/ virtual void deserializeData(class Json::Value &); + /*3*/ virtual void serializeData(class Json::Value &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ONIGNITEDESCRIPTION +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/OnScreenTextureAnimationPacket.hpp b/LiteLoader/Header/MC/OnScreenTextureAnimationPacket.hpp new file mode 100644 index 0000000..ac51784 --- /dev/null +++ b/LiteLoader/Header/MC/OnScreenTextureAnimationPacket.hpp @@ -0,0 +1,32 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Packet.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class OnScreenTextureAnimationPacket : public Packet { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ONSCREENTEXTUREANIMATIONPACKET +public: + class OnScreenTextureAnimationPacket& operator=(class OnScreenTextureAnimationPacket const &) = delete; + OnScreenTextureAnimationPacket(class OnScreenTextureAnimationPacket const &) = delete; + OnScreenTextureAnimationPacket() = delete; +#endif + +public: + /*0*/ virtual ~OnScreenTextureAnimationPacket(); + /*1*/ virtual enum MinecraftPacketIds getId() const; + /*2*/ virtual std::string getName() const; + /*3*/ virtual void write(class BinaryStream &) const; + /*4*/ virtual enum StreamReadResult read(class ReadOnlyBinaryStream &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ONSCREENTEXTUREANIMATIONPACKET +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/OnStartLandingDescription.hpp b/LiteLoader/Header/MC/OnStartLandingDescription.hpp new file mode 100644 index 0000000..b19be07 --- /dev/null +++ b/LiteLoader/Header/MC/OnStartLandingDescription.hpp @@ -0,0 +1,30 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Json.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +struct OnStartLandingDescription { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ONSTARTLANDINGDESCRIPTION +public: + struct OnStartLandingDescription& operator=(struct OnStartLandingDescription const &) = delete; + OnStartLandingDescription(struct OnStartLandingDescription const &) = delete; + OnStartLandingDescription() = delete; +#endif +public: + /*0*/ virtual char const * getJsonName() const; + /*1*/ virtual ~OnStartLandingDescription(); + /*2*/ virtual void deserializeData(class Json::Value &); + /*3*/ virtual void serializeData(class Json::Value &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ONSTARTLANDINGDESCRIPTION +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/OnStartTakeoffDescription.hpp b/LiteLoader/Header/MC/OnStartTakeoffDescription.hpp new file mode 100644 index 0000000..1eb2d36 --- /dev/null +++ b/LiteLoader/Header/MC/OnStartTakeoffDescription.hpp @@ -0,0 +1,30 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Json.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +struct OnStartTakeoffDescription { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ONSTARTTAKEOFFDESCRIPTION +public: + struct OnStartTakeoffDescription& operator=(struct OnStartTakeoffDescription const &) = delete; + OnStartTakeoffDescription(struct OnStartTakeoffDescription const &) = delete; + OnStartTakeoffDescription() = delete; +#endif +public: + /*0*/ virtual char const * getJsonName() const; + /*1*/ virtual ~OnStartTakeoffDescription(); + /*2*/ virtual void deserializeData(class Json::Value &); + /*3*/ virtual void serializeData(class Json::Value &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ONSTARTTAKEOFFDESCRIPTION +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/OnTargetAcquiredDescription.hpp b/LiteLoader/Header/MC/OnTargetAcquiredDescription.hpp new file mode 100644 index 0000000..f93bf12 --- /dev/null +++ b/LiteLoader/Header/MC/OnTargetAcquiredDescription.hpp @@ -0,0 +1,30 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Json.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +struct OnTargetAcquiredDescription { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ONTARGETACQUIREDDESCRIPTION +public: + struct OnTargetAcquiredDescription& operator=(struct OnTargetAcquiredDescription const &) = delete; + OnTargetAcquiredDescription(struct OnTargetAcquiredDescription const &) = delete; + OnTargetAcquiredDescription() = delete; +#endif +public: + /*0*/ virtual char const * getJsonName() const; + /*1*/ virtual ~OnTargetAcquiredDescription(); + /*2*/ virtual void deserializeData(class Json::Value &); + /*3*/ virtual void serializeData(class Json::Value &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ONTARGETACQUIREDDESCRIPTION +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/OnTargetEscapeDescription.hpp b/LiteLoader/Header/MC/OnTargetEscapeDescription.hpp new file mode 100644 index 0000000..594fd4c --- /dev/null +++ b/LiteLoader/Header/MC/OnTargetEscapeDescription.hpp @@ -0,0 +1,30 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Json.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +struct OnTargetEscapeDescription { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ONTARGETESCAPEDESCRIPTION +public: + struct OnTargetEscapeDescription& operator=(struct OnTargetEscapeDescription const &) = delete; + OnTargetEscapeDescription(struct OnTargetEscapeDescription const &) = delete; + OnTargetEscapeDescription() = delete; +#endif +public: + /*0*/ virtual char const * getJsonName() const; + /*1*/ virtual ~OnTargetEscapeDescription(); + /*2*/ virtual void deserializeData(class Json::Value &); + /*3*/ virtual void serializeData(class Json::Value &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ONTARGETESCAPEDESCRIPTION +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/OnWakeWithOwnerDescription.hpp b/LiteLoader/Header/MC/OnWakeWithOwnerDescription.hpp new file mode 100644 index 0000000..5877163 --- /dev/null +++ b/LiteLoader/Header/MC/OnWakeWithOwnerDescription.hpp @@ -0,0 +1,30 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Json.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +struct OnWakeWithOwnerDescription { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ONWAKEWITHOWNERDESCRIPTION +public: + struct OnWakeWithOwnerDescription& operator=(struct OnWakeWithOwnerDescription const &) = delete; + OnWakeWithOwnerDescription(struct OnWakeWithOwnerDescription const &) = delete; + OnWakeWithOwnerDescription() = delete; +#endif +public: + /*0*/ virtual char const * getJsonName() const; + /*1*/ virtual ~OnWakeWithOwnerDescription(); + /*2*/ virtual void deserializeData(class Json::Value &); + /*3*/ virtual void serializeData(class Json::Value &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ONWAKEWITHOWNERDESCRIPTION +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/OpCommand.hpp b/LiteLoader/Header/MC/OpCommand.hpp new file mode 100644 index 0000000..ba2d32f --- /dev/null +++ b/LiteLoader/Header/MC/OpCommand.hpp @@ -0,0 +1,30 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Command.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class OpCommand : public Command { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_OPCOMMAND +public: + class OpCommand& operator=(class OpCommand const &) = delete; + OpCommand(class OpCommand const &) = delete; + OpCommand() = delete; +#endif + +public: + /*0*/ virtual ~OpCommand(); + /*1*/ virtual void execute(class CommandOrigin const &, class CommandOutput &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_OPCOMMAND +#endif + MCAPI static void setup(class CommandRegistry &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/OpenDoorAnnotationComponent.hpp b/LiteLoader/Header/MC/OpenDoorAnnotationComponent.hpp new file mode 100644 index 0000000..d9f72db --- /dev/null +++ b/LiteLoader/Header/MC/OpenDoorAnnotationComponent.hpp @@ -0,0 +1,34 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class OpenDoorAnnotationComponent { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_OPENDOORANNOTATIONCOMPONENT +public: + class OpenDoorAnnotationComponent& operator=(class OpenDoorAnnotationComponent const &) = delete; + OpenDoorAnnotationComponent(class OpenDoorAnnotationComponent const &) = delete; + OpenDoorAnnotationComponent() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_OPENDOORANNOTATIONCOMPONENT +#endif + MCAPI OpenDoorAnnotationComponent(class OpenDoorAnnotationComponent &&); + MCAPI void checkPath(class Mob &); + +//private: + MCAPI void _cleanUp(class Mob const &); + MCAPI void _tryToggleDoorState(class Block const &, class Mob const &, class BlockPos) const; + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/OpenDoorAnnotationDescription.hpp b/LiteLoader/Header/MC/OpenDoorAnnotationDescription.hpp new file mode 100644 index 0000000..4576caf --- /dev/null +++ b/LiteLoader/Header/MC/OpenDoorAnnotationDescription.hpp @@ -0,0 +1,28 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +struct OpenDoorAnnotationDescription { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_OPENDOORANNOTATIONDESCRIPTION +public: + struct OpenDoorAnnotationDescription& operator=(struct OpenDoorAnnotationDescription const &) = delete; + OpenDoorAnnotationDescription(struct OpenDoorAnnotationDescription const &) = delete; + OpenDoorAnnotationDescription() = delete; +#endif +public: + /*0*/ virtual char const * getJsonName() const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_OPENDOORANNOTATIONDESCRIPTION + MCVAPI void deserializeData(class Json::Value &); + MCVAPI void serializeData(class Json::Value &) const; +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/OpenDoorAnnotationSystem.hpp b/LiteLoader/Header/MC/OpenDoorAnnotationSystem.hpp new file mode 100644 index 0000000..633db0c --- /dev/null +++ b/LiteLoader/Header/MC/OpenDoorAnnotationSystem.hpp @@ -0,0 +1,28 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class OpenDoorAnnotationSystem { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_OPENDOORANNOTATIONSYSTEM +public: + class OpenDoorAnnotationSystem& operator=(class OpenDoorAnnotationSystem const &) = delete; + OpenDoorAnnotationSystem(class OpenDoorAnnotationSystem const &) = delete; + OpenDoorAnnotationSystem() = delete; +#endif + +public: + /*0*/ virtual ~OpenDoorAnnotationSystem(); + /*1*/ virtual void tick(class EntityRegistry &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_OPENDOORANNOTATIONSYSTEM +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/OpenDoorGoal.hpp b/LiteLoader/Header/MC/OpenDoorGoal.hpp new file mode 100644 index 0000000..ed925cd --- /dev/null +++ b/LiteLoader/Header/MC/OpenDoorGoal.hpp @@ -0,0 +1,34 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class OpenDoorGoal { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_OPENDOORGOAL +public: + class OpenDoorGoal& operator=(class OpenDoorGoal const &) = delete; + OpenDoorGoal(class OpenDoorGoal const &) = delete; + OpenDoorGoal() = delete; +#endif + +public: + /*0*/ virtual ~OpenDoorGoal(); + /*1*/ virtual bool canUse(); + /*2*/ virtual bool canContinueToUse(); + /*3*/ virtual void __unk_vfn_3(); + /*4*/ virtual void start(); + /*5*/ virtual void stop(); + /*6*/ virtual void tick(); + /*7*/ virtual void appendDebugInfo(std::string &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_OPENDOORGOAL +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/Option.hpp b/LiteLoader/Header/MC/Option.hpp new file mode 100644 index 0000000..3773f8b --- /dev/null +++ b/LiteLoader/Header/MC/Option.hpp @@ -0,0 +1,43 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Json.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class Option { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_OPTION +public: + class Option& operator=(class Option const &) = delete; + Option(class Option const &) = delete; + Option() = delete; +#endif + +public: + /*0*/ virtual ~Option(); + /*1*/ virtual void save(std::vector> &) = 0; + /*2*/ virtual void load(std::string const &) = 0; + /*3*/ virtual void load(class std::map, class std::allocator>> &); + /*4*/ virtual void load(class Json::Value const &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_OPTION +#endif + MCAPI Option(enum OptionID, enum OptionOwnerType, enum OptionResetFlags, std::string const &, std::string const &, enum OptionType); + MCAPI bool getBool() const; + MCAPI void notifyOptionValueChanged(bool); + MCAPI void registerLock(void *, class std::function); + MCAPI bool unregisterObserver(void *); + MCAPI static bool read(std::string const &, bool &); + +//private: + MCAPI void _updatePropertyVector(std::vector> &, std::string const &); + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/OptionalString.hpp b/LiteLoader/Header/MC/OptionalString.hpp new file mode 100644 index 0000000..5acc5b3 --- /dev/null +++ b/LiteLoader/Header/MC/OptionalString.hpp @@ -0,0 +1,26 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +struct OptionalString { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_OPTIONALSTRING +public: + struct OptionalString& operator=(struct OptionalString const &) = delete; + OptionalString(struct OptionalString const &) = delete; + OptionalString() = delete; +#endif +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_OPTIONALSTRING +#endif + MCAPI ~OptionalString(); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/OreBlock.hpp b/LiteLoader/Header/MC/OreBlock.hpp new file mode 100644 index 0000000..da0480c --- /dev/null +++ b/LiteLoader/Header/MC/OreBlock.hpp @@ -0,0 +1,62 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "BlockLegacy.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class OreBlock : public BlockLegacy { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_OREBLOCK +public: + class OreBlock& operator=(class OreBlock const &) = delete; + OreBlock(class OreBlock const &) = delete; + OreBlock() = delete; +#endif + +public: + /*0*/ virtual ~OreBlock(); + /*18*/ virtual void __unk_vfn_18(); + /*24*/ virtual void __unk_vfn_24(); + /*25*/ virtual void __unk_vfn_25(); + /*26*/ virtual void __unk_vfn_26(); + /*27*/ virtual void __unk_vfn_27(); + /*28*/ virtual void __unk_vfn_28(); + /*30*/ virtual void __unk_vfn_30(); + /*31*/ virtual void __unk_vfn_31(); + /*32*/ virtual void __unk_vfn_32(); + /*33*/ virtual void __unk_vfn_33(); + /*34*/ virtual void __unk_vfn_34(); + /*35*/ virtual void __unk_vfn_35(); + /*36*/ virtual void __unk_vfn_36(); + /*38*/ virtual void __unk_vfn_38(); + /*39*/ virtual void __unk_vfn_39(); + /*40*/ virtual void __unk_vfn_40(); + /*42*/ virtual void __unk_vfn_42(); + /*43*/ virtual void __unk_vfn_43(); + /*49*/ virtual void __unk_vfn_49(); + /*52*/ virtual void __unk_vfn_52(); + /*67*/ virtual void __unk_vfn_67(); + /*73*/ virtual void __unk_vfn_73(); + /*87*/ virtual void __unk_vfn_87(); + /*90*/ virtual int getResourceCount(class Random &, class Block const &, int, bool) const; + /*91*/ virtual class ItemInstance getResourceItem(class Random &, class Block const &, int) const; + /*95*/ virtual void __unk_vfn_95(); + /*107*/ virtual int getExperienceDrop(class Random &) const; + /*109*/ virtual void __unk_vfn_109(); + /*116*/ virtual void __unk_vfn_116(); + /*118*/ virtual void __unk_vfn_118(); + /*119*/ virtual void __unk_vfn_119(); + /*142*/ virtual void __unk_vfn_142(); + /*158*/ virtual void __unk_vfn_158(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_OREBLOCK + MCVAPI bool canBeOriginalSurface() const; +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/OreFeature.hpp b/LiteLoader/Header/MC/OreFeature.hpp new file mode 100644 index 0000000..0d31c90 --- /dev/null +++ b/LiteLoader/Header/MC/OreFeature.hpp @@ -0,0 +1,28 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class OreFeature { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_OREFEATURE +public: + class OreFeature& operator=(class OreFeature const &) = delete; + OreFeature(class OreFeature const &) = delete; + OreFeature() = delete; +#endif + +public: + /*0*/ virtual ~OreFeature(); + /*1*/ virtual class std::optional place(class IBlockPlacementTarget &, class BlockPos const &, class Random &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_OREFEATURE +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/OverworldBrightnessRamp.hpp b/LiteLoader/Header/MC/OverworldBrightnessRamp.hpp new file mode 100644 index 0000000..8aabdff --- /dev/null +++ b/LiteLoader/Header/MC/OverworldBrightnessRamp.hpp @@ -0,0 +1,28 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "DimensionBrightnessRamp.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class OverworldBrightnessRamp : public DimensionBrightnessRamp { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_OVERWORLDBRIGHTNESSRAMP +public: + class OverworldBrightnessRamp& operator=(class OverworldBrightnessRamp const &) = delete; + OverworldBrightnessRamp(class OverworldBrightnessRamp const &) = delete; + OverworldBrightnessRamp() = delete; +#endif + +public: + /*0*/ virtual ~OverworldBrightnessRamp(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_OVERWORLDBRIGHTNESSRAMP +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/OverworldDimension.hpp b/LiteLoader/Header/MC/OverworldDimension.hpp new file mode 100644 index 0000000..222a5d4 --- /dev/null +++ b/LiteLoader/Header/MC/OverworldDimension.hpp @@ -0,0 +1,30 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class OverworldDimension { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_OVERWORLDDIMENSION +public: + class OverworldDimension& operator=(class OverworldDimension const &) = delete; + OverworldDimension(class OverworldDimension const &) = delete; + OverworldDimension() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_OVERWORLDDIMENSION + MCVAPI class std::tuple, class WorldGenerator *> createGenerator(); + MCVAPI class Color getBrightnessDependentFogColor(class Color const &, float) const; + MCVAPI class Vec3 translatePosAcrossDimension(class Vec3 const &, class AutomaticID) const; +#endif + MCAPI OverworldDimension(class Level &, class Scheduler &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/OverworldGenerator.hpp b/LiteLoader/Header/MC/OverworldGenerator.hpp new file mode 100644 index 0000000..8d25728 --- /dev/null +++ b/LiteLoader/Header/MC/OverworldGenerator.hpp @@ -0,0 +1,49 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class OverworldGenerator { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_OVERWORLDGENERATOR +public: + class OverworldGenerator& operator=(class OverworldGenerator const &) = delete; + OverworldGenerator(class OverworldGenerator const &) = delete; + OverworldGenerator() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_OVERWORLDGENERATOR + MCVAPI void addHardcodedSpawnAreas(class LevelChunk &); + MCVAPI void debugRender(); + MCVAPI bool findNearestFeature(enum StructureFeatureType, class BlockPos const &, class BlockPos &); + MCVAPI class BlockPos findSpawnPosition() const; + MCVAPI void garbageCollectBlueprints(class buffer_span); + MCVAPI class BiomeArea getBiomeArea(class BoundingBox const &, unsigned int) const; + MCVAPI enum StructureFeatureType getFeatureTypeAt(class BlockPos const &); + MCVAPI void loadChunk(class LevelChunk &, bool); + MCVAPI bool postProcess(class ChunkViewSource &); + MCVAPI void postProcessMobsAt(class BlockSource &, int, int, class Random &); + MCVAPI void prepareHeights(class BlockVolume &, class ChunkPos const &, bool); + MCVAPI ~OverworldGenerator(); +#endif + MCAPI OverworldGenerator(class Dimension &, unsigned int, bool, class Biome const *); + MCAPI void _fixWaterAlongEdges(class LevelChunk &, class BlockSource &, class BlockTickingQueue &); + MCAPI void buildSurfaces(struct OverworldGenerator::ThreadData &, class BlockVolume &, class LevelChunk &, class ChunkPos const &); + +//private: + MCAPI void _makeLayers(class LevelData const &, class BiomeRegistry const &); + MCAPI void _prepareHeights(class BlockVolume &, class ChunkPos const &, class BiomeSource const &, bool); + MCAPI void _prepareStructureBlueprints(class ChunkPos const &, class BiomeSource &); + MCAPI void getHeights(class std::array &, class BiomeArea const &, int, int, int); + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/OwnerHurtByTargetGoal.hpp b/LiteLoader/Header/MC/OwnerHurtByTargetGoal.hpp new file mode 100644 index 0000000..0967544 --- /dev/null +++ b/LiteLoader/Header/MC/OwnerHurtByTargetGoal.hpp @@ -0,0 +1,32 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "TargetGoal.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class OwnerHurtByTargetGoal : public TargetGoal { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_OWNERHURTBYTARGETGOAL +public: + class OwnerHurtByTargetGoal& operator=(class OwnerHurtByTargetGoal const &) = delete; + OwnerHurtByTargetGoal(class OwnerHurtByTargetGoal const &) = delete; + OwnerHurtByTargetGoal() = delete; +#endif + +public: + /*0*/ virtual ~OwnerHurtByTargetGoal(); + /*1*/ virtual bool canUse(); + /*4*/ virtual void start(); + /*8*/ virtual void __unk_vfn_8(); + /*9*/ virtual void __unk_vfn_9(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_OWNERHURTBYTARGETGOAL +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/OwnerHurtTargetGoal.hpp b/LiteLoader/Header/MC/OwnerHurtTargetGoal.hpp new file mode 100644 index 0000000..12192a7 --- /dev/null +++ b/LiteLoader/Header/MC/OwnerHurtTargetGoal.hpp @@ -0,0 +1,32 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "TargetGoal.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class OwnerHurtTargetGoal : public TargetGoal { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_OWNERHURTTARGETGOAL +public: + class OwnerHurtTargetGoal& operator=(class OwnerHurtTargetGoal const &) = delete; + OwnerHurtTargetGoal(class OwnerHurtTargetGoal const &) = delete; + OwnerHurtTargetGoal() = delete; +#endif + +public: + /*0*/ virtual ~OwnerHurtTargetGoal(); + /*1*/ virtual bool canUse(); + /*4*/ virtual void start(); + /*8*/ virtual void __unk_vfn_8(); + /*9*/ virtual void __unk_vfn_9(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_OWNERHURTTARGETGOAL +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/OwnerStorageEntity.hpp b/LiteLoader/Header/MC/OwnerStorageEntity.hpp new file mode 100644 index 0000000..e475860 --- /dev/null +++ b/LiteLoader/Header/MC/OwnerStorageEntity.hpp @@ -0,0 +1,31 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class OwnerStorageEntity { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_OWNERSTORAGEENTITY +public: + class OwnerStorageEntity& operator=(class OwnerStorageEntity const &) = delete; + OwnerStorageEntity(class OwnerStorageEntity const &) = delete; + OwnerStorageEntity() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_OWNERSTORAGEENTITY +#endif + +//protected: + MCAPI void _reset(); + +protected: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/POIBlueprint.hpp b/LiteLoader/Header/MC/POIBlueprint.hpp new file mode 100644 index 0000000..8dd3aad --- /dev/null +++ b/LiteLoader/Header/MC/POIBlueprint.hpp @@ -0,0 +1,27 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class POIBlueprint { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_POIBLUEPRINT +public: + class POIBlueprint& operator=(class POIBlueprint const &) = delete; + POIBlueprint(class POIBlueprint const &) = delete; + POIBlueprint() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_POIBLUEPRINT +#endif + MCAPI POIBlueprint(std::string, enum POIType, float, bool, unsigned __int64, unsigned __int64, std::string, std::string, std::string); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/POIInstance.hpp b/LiteLoader/Header/MC/POIInstance.hpp new file mode 100644 index 0000000..f814805 --- /dev/null +++ b/LiteLoader/Header/MC/POIInstance.hpp @@ -0,0 +1,29 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class POIInstance { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_POIINSTANCE +public: + class POIInstance& operator=(class POIInstance const &) = delete; + POIInstance(class POIInstance const &) = delete; + POIInstance() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_POIINSTANCE +#endif + MCAPI POIInstance(class BlockPos const &, bool, std::string, enum POIType, float, unsigned __int64, unsigned __int64, std::string, std::string, std::string); + MCAPI class AABB getSecondBlockFullAABB(class BlockSource &); + MCAPI void trySpawnParticles(class BlockSource &, class Random &, int) const; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/Pack.hpp b/LiteLoader/Header/MC/Pack.hpp new file mode 100644 index 0000000..86c850e --- /dev/null +++ b/LiteLoader/Header/MC/Pack.hpp @@ -0,0 +1,37 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Core.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class Pack { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_PACK +public: + class Pack& operator=(class Pack const &) = delete; + Pack(class Pack const &) = delete; + Pack() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_PACK +#endif + MCAPI Pack(std::unique_ptr, std::unique_ptr, std::unique_ptr, std::unique_ptr); + MCAPI void move(class Pack &&); + MCAPI void notifyDeleted(); + MCAPI static std::unique_ptr createPack(class ResourceLocation const &, enum PackType, enum PackOrigin, class PackManifestFactory &, class IContentKeyProvider const &, class PackSourceReport *); + MCAPI static std::unique_ptr createPackMetadata(enum PackType, class PackManifest &, class PackAccessStrategy const &, class PackReport &); + +//private: + +private: + MCAPI static class Core::PathBuffer const EDUCATION_METADATA_FILE; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/PackAccessStrategy.hpp b/LiteLoader/Header/MC/PackAccessStrategy.hpp new file mode 100644 index 0000000..df103ad --- /dev/null +++ b/LiteLoader/Header/MC/PackAccessStrategy.hpp @@ -0,0 +1,56 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Core.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class PackAccessStrategy { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_PACKACCESSSTRATEGY +public: + class PackAccessStrategy& operator=(class PackAccessStrategy const &) = delete; + PackAccessStrategy(class PackAccessStrategy const &) = delete; + PackAccessStrategy() = delete; +#endif + +public: + /*0*/ virtual ~PackAccessStrategy(); + /*1*/ virtual unsigned __int64 getPackSize() const = 0; + /*2*/ virtual class ResourceLocation const & getPackLocation() const = 0; + /*3*/ virtual std::string const & getPackName() const = 0; + /*4*/ virtual bool isWritable() const = 0; + /*5*/ virtual void setIsTrusted(bool) = 0; + /*6*/ virtual bool isTrusted() const = 0; + /*7*/ virtual bool hasAsset(class Core::Path const &, bool) const = 0; + /*8*/ virtual bool hasFolder(class Core::Path const &) const = 0; + /*9*/ virtual bool getAsset(class Core::Path const &, std::string &, bool) const = 0; + /*10*/ virtual bool deleteAsset(class Core::PathBuffer const &) = 0; + /*11*/ virtual bool writeAsset(class Core::Path const &, std::string const &) = 0; + /*12*/ virtual void forEachIn(class Core::Path const &, class std::function, bool) const = 0; + /*13*/ virtual void forEachInAssetSet(class Core::Path const &, class std::function) const; + /*14*/ virtual enum PackAccessStrategyType getStrategyType() const = 0; + /*15*/ virtual class Core::PathBuffer const & getSubPath() const; + /*16*/ virtual std::unique_ptr createSubPack(class Core::Path const &) const = 0; + /*17*/ virtual enum PackAccessAssetGenerationResult generateAssetSet(); + /*18*/ virtual bool canRecurse() const; + /*19*/ virtual void unload() = 0; + /*20*/ virtual bool hasUpgradeFiles() const; + /*21*/ virtual class ContentIdentity readContentIdentity() const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_PACKACCESSSTRATEGY +#endif + MCAPI static class Core::PathBuffer const PACK_IMPORT_LOCK_FILE; + +//protected: + MCAPI void _addToAssetSet(class Core::Path const &); + MCAPI bool _isInAssetSet(class Core::Path const &) const; + +protected: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/PackAccessStrategyFactory.hpp b/LiteLoader/Header/MC/PackAccessStrategyFactory.hpp new file mode 100644 index 0000000..55588c2 --- /dev/null +++ b/LiteLoader/Header/MC/PackAccessStrategyFactory.hpp @@ -0,0 +1,31 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class PackAccessStrategyFactory { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_PACKACCESSSTRATEGYFACTORY +public: + class PackAccessStrategyFactory& operator=(class PackAccessStrategyFactory const &) = delete; + PackAccessStrategyFactory(class PackAccessStrategyFactory const &) = delete; + PackAccessStrategyFactory() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_PACKACCESSSTRATEGYFACTORY +#endif + MCAPI static std::unique_ptr create(class ResourceLocation &, class IContentKeyProvider const &, class PackReport &, bool); + MCAPI static std::unique_ptr createForDirectory(class ResourceLocation const &, bool); + MCAPI static std::unique_ptr createForEncrypted(class ResourceLocation const &, class ContentIdentity const &, class IContentKeyProvider const &, bool); + MCAPI static std::unique_ptr createForEncryptedZip(class ResourceLocation const &, class IContentKeyProvider const &); + MCAPI static std::unique_ptr createForZip(class ResourceLocation const &, bool); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/PackDependencyManager.hpp b/LiteLoader/Header/MC/PackDependencyManager.hpp new file mode 100644 index 0000000..d716c1f --- /dev/null +++ b/LiteLoader/Header/MC/PackDependencyManager.hpp @@ -0,0 +1,17 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +namespace PackDependencyManager { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA + MCAPI std::vector getMissingDependencyIdentities(class gsl::not_null, class PackManifest const &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/PackDiscoveryError.hpp b/LiteLoader/Header/MC/PackDiscoveryError.hpp new file mode 100644 index 0000000..a1d79b9 --- /dev/null +++ b/LiteLoader/Header/MC/PackDiscoveryError.hpp @@ -0,0 +1,30 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "PackError.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class PackDiscoveryError : public PackError { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_PACKDISCOVERYERROR +public: + class PackDiscoveryError& operator=(class PackDiscoveryError const &) = delete; + PackDiscoveryError(class PackDiscoveryError const &) = delete; + PackDiscoveryError() = delete; +#endif + +public: + /*0*/ virtual ~PackDiscoveryError(); + /*2*/ virtual class std::unordered_map, struct std::equal_to, class std::allocator>> const & getLocErrorMessageMap() const; + /*3*/ virtual class std::unordered_map, struct std::equal_to, class std::allocator>> const & getEventErrorMessageMap() const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_PACKDISCOVERYERROR +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/PackError.hpp b/LiteLoader/Header/MC/PackError.hpp new file mode 100644 index 0000000..c097bc0 --- /dev/null +++ b/LiteLoader/Header/MC/PackError.hpp @@ -0,0 +1,33 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Json.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class PackError { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_PACKERROR +public: + class PackError& operator=(class PackError const &) = delete; + PackError() = delete; +#endif + +public: + /*0*/ virtual ~PackError(); + /*1*/ virtual std::string getLocErrorMessage() const; + /*2*/ virtual class std::unordered_map, struct std::equal_to, class std::allocator>> const & getLocErrorMessageMap() const = 0; + /*3*/ virtual class std::unordered_map, struct std::equal_to, class std::allocator>> const & getEventErrorMessageMap() const = 0; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_PACKERROR +#endif + MCAPI PackError(class PackError const &); + MCAPI std::string getEventErrorMessage() const; + MCAPI void serialize(class Json::Value &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/PackIdVersion.hpp b/LiteLoader/Header/MC/PackIdVersion.hpp new file mode 100644 index 0000000..119f590 --- /dev/null +++ b/LiteLoader/Header/MC/PackIdVersion.hpp @@ -0,0 +1,29 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +struct PackIdVersion { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_PACKIDVERSION +public: + PackIdVersion(struct PackIdVersion const &) = delete; + PackIdVersion() = delete; +#endif +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_PACKIDVERSION +#endif + MCAPI bool operator<(struct PackIdVersion const &) const; + MCAPI struct PackIdVersion & operator=(struct PackIdVersion const &); + MCAPI struct PackIdVersion & operator=(struct PackIdVersion &&); + MCAPI bool operator==(struct PackIdVersion const &) const; + MCAPI ~PackIdVersion(); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/PackInstance.hpp b/LiteLoader/Header/MC/PackInstance.hpp new file mode 100644 index 0000000..39c01db --- /dev/null +++ b/LiteLoader/Header/MC/PackInstance.hpp @@ -0,0 +1,31 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Core.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class PackInstance { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_PACKINSTANCE +public: + class PackInstance& operator=(class PackInstance const &) = delete; + PackInstance(class PackInstance const &) = delete; + PackInstance() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_PACKINSTANCE +#endif + MCAPI PackInstance(class ResourcePack *, int, bool, class PackSettings *); + MCAPI void forEachIn(class Core::Path const &, class std::function, bool) const; + MCAPI std::string const & getSubpackFolderName() const; + MCAPI ~PackInstance(); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/PackInstanceId.hpp b/LiteLoader/Header/MC/PackInstanceId.hpp new file mode 100644 index 0000000..94325fa --- /dev/null +++ b/LiteLoader/Header/MC/PackInstanceId.hpp @@ -0,0 +1,28 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +struct PackInstanceId { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_PACKINSTANCEID +public: + struct PackInstanceId& operator=(struct PackInstanceId const &) = delete; + PackInstanceId(struct PackInstanceId const &) = delete; + PackInstanceId() = delete; +#endif +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_PACKINSTANCEID +#endif + MCAPI PackInstanceId(struct PackIdVersion const &, std::string const &); + MCAPI PackInstanceId(struct PackInstanceId &&); + MCAPI ~PackInstanceId(); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/PackLoadError.hpp b/LiteLoader/Header/MC/PackLoadError.hpp new file mode 100644 index 0000000..62d180a --- /dev/null +++ b/LiteLoader/Header/MC/PackLoadError.hpp @@ -0,0 +1,30 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "PackError.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class PackLoadError : public PackError { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_PACKLOADERROR +public: + class PackLoadError& operator=(class PackLoadError const &) = delete; + PackLoadError(class PackLoadError const &) = delete; + PackLoadError() = delete; +#endif + +public: + /*0*/ virtual ~PackLoadError(); + /*2*/ virtual class std::unordered_map, struct std::equal_to, class std::allocator>> const & getLocErrorMessageMap() const; + /*3*/ virtual class std::unordered_map, struct std::equal_to, class std::allocator>> const & getEventErrorMessageMap() const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_PACKLOADERROR +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/PackManifest.hpp b/LiteLoader/Header/MC/PackManifest.hpp new file mode 100644 index 0000000..9decc8b --- /dev/null +++ b/LiteLoader/Header/MC/PackManifest.hpp @@ -0,0 +1,52 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Json.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class PackManifest { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_PACKMANIFEST +public: + class PackManifest& operator=(class PackManifest const &) = delete; + PackManifest() = delete; +#endif + +public: + /*0*/ virtual ~PackManifest(); + /*1*/ virtual std::unique_ptr clone() const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_PACKMANIFEST +#endif + MCAPI PackManifest(enum ManifestType); + MCAPI PackManifest(class PackManifest const &); + MCAPI void addModule(class ResourceInformation const &); + MCAPI void addPackCapability(class gsl::basic_string_span); + MCAPI std::string getDescription() const; + MCAPI std::string getName() const; + MCAPI std::string getNameForTelemetry() const; + MCAPI bool hasModule(struct PackIdVersion const &) const; + MCAPI bool hasPackCapability(class gsl::basic_string_span) const; + MCAPI void serialize(enum PackManifestFormat, class Json::Value &) const; + MCAPI void setLastModifiedDate(__int64); + MCAPI void setLocalizedNameKeywords(class std::unordered_map, struct std::equal_to, class std::allocator>> const &); + MCAPI static std::string const MarioPackId; + +//private: + MCAPI void _serailizeLegacyModuleDependencies(class Json::Value &) const; + MCAPI void _serializeDependencies(class Json::Value &) const; + MCAPI void _serializeHeader(class Json::Value &) const; + MCAPI void _serializeMeta(class Json::Value &) const; + MCAPI void _serializeModules(class Json::Value &) const; + MCAPI void _serializeVersion(class Json::Value &, class SemVersion const &) const; + +private: + MCAPI static class std::unordered_map, struct std::equal_to, class std::allocator>> const STRING_TO_PACK_SCOPE; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/PackManifestFactory.hpp b/LiteLoader/Header/MC/PackManifestFactory.hpp new file mode 100644 index 0000000..3de026b --- /dev/null +++ b/LiteLoader/Header/MC/PackManifestFactory.hpp @@ -0,0 +1,36 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Core.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class PackManifestFactory { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_PACKMANIFESTFACTORY +public: + class PackManifestFactory& operator=(class PackManifestFactory const &) = delete; + PackManifestFactory(class PackManifestFactory const &) = delete; + PackManifestFactory() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_PACKMANIFESTFACTORY +#endif + MCAPI std::unique_ptr create(class PackAccessStrategy &, class ResourceLocation const &, class PackReport &, class SubpackInfoCollection *); + MCAPI static class Core::PathBuffer const MANIFEST_LOG_PATH; + MCAPI static std::string const MANIFEST_PACK_UUID_UPGRADE_SALT; + MCAPI static class Core::PathBuffer const MANIFEST_PATH; + MCAPI static class Core::PathBuffer const MANIFEST_PATH_OLD; + MCAPI static class Core::PathBuffer const MANIFEST_PATH_OLD_BACKUP; + MCAPI static class SemVersion const REQUIRED_VANILLA_FOR_OLD_PACKS; + MCAPI static class std::unordered_map const, struct std::hash, struct std::equal_to, class std::allocator const>>> mAlternateContentKeys; + MCAPI static class std::unordered_map const, struct std::hash, struct std::equal_to, class std::allocator const>>> mContentKeys; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/PackReport.hpp b/LiteLoader/Header/MC/PackReport.hpp new file mode 100644 index 0000000..4d16a49 --- /dev/null +++ b/LiteLoader/Header/MC/PackReport.hpp @@ -0,0 +1,31 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Json.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class PackReport { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_PACKREPORT +public: + class PackReport& operator=(class PackReport const &) = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_PACKREPORT +#endif + MCAPI PackReport(); + MCAPI PackReport(class PackReport const &); + MCAPI PackReport(class PackReport &&); + MCAPI class PackReport & operator=(class PackReport &&); + MCAPI void serialize(class Json::Value &); + MCAPI ~PackReport(); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/PackSetting.hpp b/LiteLoader/Header/MC/PackSetting.hpp new file mode 100644 index 0000000..78e3e1e --- /dev/null +++ b/LiteLoader/Header/MC/PackSetting.hpp @@ -0,0 +1,29 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Json.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class PackSetting { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_PACKSETTING +public: + class PackSetting& operator=(class PackSetting const &) = delete; + PackSetting(class PackSetting const &) = delete; + PackSetting() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_PACKSETTING +#endif + MCAPI void set(class Json::Value const &); + MCAPI ~PackSetting(); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/PackSettings.hpp b/LiteLoader/Header/MC/PackSettings.hpp new file mode 100644 index 0000000..0936323 --- /dev/null +++ b/LiteLoader/Header/MC/PackSettings.hpp @@ -0,0 +1,34 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Json.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class PackSettings { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_PACKSETTINGS +public: + class PackSettings& operator=(class PackSettings const &) = delete; + PackSettings(class PackSettings const &) = delete; + PackSettings() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_PACKSETTINGS +#endif + MCAPI class Json::Value const & getSetting(std::string const &) const; + MCAPI void loadPackSettings(struct PackIdVersion const &, class Json::Value const &); + +//private: + MCAPI void _initPackSetting(std::string const &, class Json::Value const &); + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/PackSettingsError.hpp b/LiteLoader/Header/MC/PackSettingsError.hpp new file mode 100644 index 0000000..b444de9 --- /dev/null +++ b/LiteLoader/Header/MC/PackSettingsError.hpp @@ -0,0 +1,30 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class PackSettingsError { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_PACKSETTINGSERROR +public: + class PackSettingsError& operator=(class PackSettingsError const &) = delete; + PackSettingsError(class PackSettingsError const &) = delete; + PackSettingsError() = delete; +#endif + +public: + /*0*/ virtual ~PackSettingsError(); + /*1*/ virtual std::string getLocErrorMessage() const; + /*2*/ virtual class std::unordered_map, struct std::equal_to, class std::allocator>> const & getLocErrorMessageMap() const; + /*3*/ virtual class std::unordered_map, struct std::equal_to, class std::allocator>> const & getEventErrorMessageMap() const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_PACKSETTINGSERROR +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/PackSettingsFactory.hpp b/LiteLoader/Header/MC/PackSettingsFactory.hpp new file mode 100644 index 0000000..ad9438b --- /dev/null +++ b/LiteLoader/Header/MC/PackSettingsFactory.hpp @@ -0,0 +1,29 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Json.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class PackSettingsFactory { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_PACKSETTINGSFACTORY +public: + class PackSettingsFactory& operator=(class PackSettingsFactory const &) = delete; + PackSettingsFactory(class PackSettingsFactory const &) = delete; + PackSettingsFactory() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_PACKSETTINGSFACTORY +#endif + MCAPI class PackSettings * getPackSettings(class PackManifest const &); + MCAPI class PackSettings * loadPackSettings(struct PackIdVersion const &, class Json::Value const &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/PackSettingsJsonValidator.hpp b/LiteLoader/Header/MC/PackSettingsJsonValidator.hpp new file mode 100644 index 0000000..ab42b7a --- /dev/null +++ b/LiteLoader/Header/MC/PackSettingsJsonValidator.hpp @@ -0,0 +1,28 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "JsonValidator.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class PackSettingsJsonValidator { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_PACKSETTINGSJSONVALIDATOR +public: + class PackSettingsJsonValidator& operator=(class PackSettingsJsonValidator const &) = delete; + PackSettingsJsonValidator(class PackSettingsJsonValidator const &) = delete; + PackSettingsJsonValidator() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_PACKSETTINGSJSONVALIDATOR +#endif + MCAPI static class JsonValidator::Property getValidator(); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/PackSource.hpp b/LiteLoader/Header/MC/PackSource.hpp new file mode 100644 index 0000000..5e31f1c --- /dev/null +++ b/LiteLoader/Header/MC/PackSource.hpp @@ -0,0 +1,34 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class PackSource { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_PACKSOURCE +public: + class PackSource& operator=(class PackSource const &) = delete; + PackSource(class PackSource const &) = delete; + PackSource() = delete; +#endif + +public: + /*0*/ virtual void __unk_vfn_0() = 0; + /*1*/ virtual void __unk_vfn_1() = 0; + /*2*/ virtual void __unk_vfn_2() = 0; + /*3*/ virtual enum PackOrigin getPackOrigin() const; + /*4*/ virtual enum PackType getPackType() const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_PACKSOURCE + MCVAPI ~PackSource(); +#endif + MCAPI class Pack * fetchPack(struct PackIdVersion const &); + MCAPI void resolveUpgradeDependencies(class Pack &, class IContentKeyProvider const &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/PackSourceFactory.hpp b/LiteLoader/Header/MC/PackSourceFactory.hpp new file mode 100644 index 0000000..b560d80 --- /dev/null +++ b/LiteLoader/Header/MC/PackSourceFactory.hpp @@ -0,0 +1,43 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Core.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class PackSourceFactory { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_PACKSOURCEFACTORY +public: + class PackSourceFactory& operator=(class PackSourceFactory const &) = delete; + PackSourceFactory(class PackSourceFactory const &) = delete; + PackSourceFactory() = delete; +#endif + +public: + /*0*/ virtual ~PackSourceFactory(); + /*1*/ virtual class WorldTemplatePackSource & createWorldTemplatePackSource(class WorldTemplateManager const &, class mce::UUID const &, enum PackType, enum PackOrigin); + /*2*/ virtual class WorldTemplatePackSource * getWorldTemplatePackSource(class mce::UUID const &, enum PackType) const; + /*3*/ virtual class DirectoryPackSource & createDirectoryPackSource(class Core::Path const &, enum PackType, enum PackOrigin, bool); + /*4*/ virtual class DirectoryPackSource * getDirectoryPackSource(class Core::Path const &, enum PackType) const; + /*5*/ virtual class InPackagePackSource & createInPackagePackSource(enum PackType); + /*6*/ virtual class InPackagePackSource * getInPackagePackSource(enum PackType); + /*7*/ virtual class WorldHistoryPackSource & createWorldHistoryPackSource(class Core::Path const &, enum PackType); + /*8*/ virtual class WorldHistoryPackSource * getWorldHistoryPackSource(class Core::Path const &, enum PackType) const; + /*9*/ virtual class DirectoryPackSource * getDirectoryPackSourceContaining(struct PackIdVersion const &) const; + /*10*/ virtual void removeFromDirectoryPackSource(class Core::Path const &); + /*11*/ virtual class InPackagePackSource & createDynamicPackagePackSource(enum PackType); + /*12*/ virtual class InPackagePackSource * getDynamicPackagePackSource(enum PackType); + /*13*/ virtual void setDynamicPackagePacks(class std::shared_ptr const &); + /*14*/ virtual void setDynamicPackageRoot(class Core::PathBuffer); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_PACKSOURCEFACTORY +#endif + MCAPI PackSourceFactory(class std::shared_ptr const &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/PackSourceReport.hpp b/LiteLoader/Header/MC/PackSourceReport.hpp new file mode 100644 index 0000000..5f994ac --- /dev/null +++ b/LiteLoader/Header/MC/PackSourceReport.hpp @@ -0,0 +1,27 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class PackSourceReport { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_PACKSOURCEREPORT +public: + PackSourceReport() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_PACKSOURCEREPORT +#endif + MCAPI PackSourceReport(class PackSourceReport const &); + MCAPI class PackSourceReport & operator=(class PackSourceReport const &); + MCAPI ~PackSourceReport(); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/PackUploadContent.hpp b/LiteLoader/Header/MC/PackUploadContent.hpp new file mode 100644 index 0000000..ea2ee2e --- /dev/null +++ b/LiteLoader/Header/MC/PackUploadContent.hpp @@ -0,0 +1,17 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +namespace PackUploadContent { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA + MCAPI std::vector const & getClientDataPaths(); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/Packet.hpp b/LiteLoader/Header/MC/Packet.hpp new file mode 100644 index 0000000..4088761 --- /dev/null +++ b/LiteLoader/Header/MC/Packet.hpp @@ -0,0 +1,33 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class Packet { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_PACKET +public: + class Packet& operator=(class Packet const &) = delete; + Packet(class Packet const &) = delete; + Packet() = delete; +#endif + +public: + /*0*/ virtual ~Packet(); + /*1*/ virtual enum MinecraftPacketIds getId() const = 0; + /*2*/ virtual std::string getName() const = 0; + /*3*/ virtual void write(class BinaryStream &) const = 0; + /*4*/ virtual enum StreamReadResult read(class ReadOnlyBinaryStream &) = 0; + /*5*/ virtual struct ExtendedStreamReadResult readExtended(class ReadOnlyBinaryStream &); + /*6*/ virtual bool disallowBatching() const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_PACKET +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/PacketSender.hpp b/LiteLoader/Header/MC/PacketSender.hpp new file mode 100644 index 0000000..12039dd --- /dev/null +++ b/LiteLoader/Header/MC/PacketSender.hpp @@ -0,0 +1,26 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class PacketSender { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_PACKETSENDER +public: + class PacketSender& operator=(class PacketSender const &) = delete; + PacketSender(class PacketSender const &) = delete; + PacketSender() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_PACKETSENDER +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/PacketViolationDetectedTelemetryData.hpp b/LiteLoader/Header/MC/PacketViolationDetectedTelemetryData.hpp new file mode 100644 index 0000000..683cdaf --- /dev/null +++ b/LiteLoader/Header/MC/PacketViolationDetectedTelemetryData.hpp @@ -0,0 +1,34 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Social.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class PacketViolationDetectedTelemetryData { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_PACKETVIOLATIONDETECTEDTELEMETRYDATA +public: + class PacketViolationDetectedTelemetryData& operator=(class PacketViolationDetectedTelemetryData const &) = delete; + PacketViolationDetectedTelemetryData(class PacketViolationDetectedTelemetryData const &) = delete; + PacketViolationDetectedTelemetryData() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_PACKETVIOLATIONDETECTEDTELEMETRYDATA +#endif + MCAPI void WriteEventData(class Social::Events::Event &) const; + MCAPI ~PacketViolationDetectedTelemetryData(); + +//private: + +private: + MCAPI static std::string const mEventName; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/PacketViolationHandler.hpp b/LiteLoader/Header/MC/PacketViolationHandler.hpp new file mode 100644 index 0000000..1ae9d36 --- /dev/null +++ b/LiteLoader/Header/MC/PacketViolationHandler.hpp @@ -0,0 +1,32 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class PacketViolationHandler { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_PACKETVIOLATIONHANDLER +public: + class PacketViolationHandler& operator=(class PacketViolationHandler const &) = delete; + PacketViolationHandler(class PacketViolationHandler const &) = delete; + PacketViolationHandler() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_PACKETVIOLATIONHANDLER +#endif + +//private: + MCAPI struct PacketViolationHandler::PacketViolation * _getViolationData(class NetworkIdentifier const &); + MCAPI enum PacketViolationResponse _handleViolation(enum MinecraftPacketIds, enum StreamReadResult, class NetworkIdentifier const &, bool *); + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/PacketViolationWarningPacket.hpp b/LiteLoader/Header/MC/PacketViolationWarningPacket.hpp new file mode 100644 index 0000000..451e83e --- /dev/null +++ b/LiteLoader/Header/MC/PacketViolationWarningPacket.hpp @@ -0,0 +1,32 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Packet.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class PacketViolationWarningPacket : public Packet { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_PACKETVIOLATIONWARNINGPACKET +public: + class PacketViolationWarningPacket& operator=(class PacketViolationWarningPacket const &) = delete; + PacketViolationWarningPacket(class PacketViolationWarningPacket const &) = delete; + PacketViolationWarningPacket() = delete; +#endif + +public: + /*0*/ virtual ~PacketViolationWarningPacket(); + /*1*/ virtual enum MinecraftPacketIds getId() const; + /*2*/ virtual std::string getName() const; + /*3*/ virtual void write(class BinaryStream &) const; + /*4*/ virtual enum StreamReadResult read(class ReadOnlyBinaryStream &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_PACKETVIOLATIONWARNINGPACKET +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/PageContent.hpp b/LiteLoader/Header/MC/PageContent.hpp new file mode 100644 index 0000000..d4566f1 --- /dev/null +++ b/LiteLoader/Header/MC/PageContent.hpp @@ -0,0 +1,29 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +struct PageContent { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_PAGECONTENT +public: + struct PageContent& operator=(struct PageContent const &) = delete; + PageContent(struct PageContent const &) = delete; + PageContent() = delete; +#endif +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_PAGECONTENT +#endif + MCAPI ~PageContent(); + MCAPI static struct PageContent const BLANK_PAGE; + MCAPI static struct PageContent read(class CompoundTag const &); + MCAPI static void write(struct PageContent const &, class CompoundTag &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/Painting.hpp b/LiteLoader/Header/MC/Painting.hpp new file mode 100644 index 0000000..d493a05 --- /dev/null +++ b/LiteLoader/Header/MC/Painting.hpp @@ -0,0 +1,60 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Actor.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class Painting : public Actor { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_PAINTING +public: + class Painting& operator=(class Painting const &) = delete; + Painting(class Painting const &) = delete; + Painting() = delete; +#endif + +public: + /*7*/ virtual ~Painting(); + /*11*/ virtual void remove(); + /*12*/ virtual void setPos(class Vec3 const &); + /*30*/ virtual void __unk_vfn_30(); + /*38*/ virtual std::unique_ptr getAddPacket(); + /*54*/ virtual void __unk_vfn_54(); + /*61*/ virtual void __unk_vfn_61(); + /*74*/ virtual float getShadowRadius() const; + /*76*/ virtual void __unk_vfn_76(); + /*81*/ virtual void __unk_vfn_81(); + /*87*/ virtual bool isPickable(); + /*88*/ virtual void __unk_vfn_88(); + /*90*/ virtual void __unk_vfn_90(); + /*98*/ virtual void __unk_vfn_98(); + /*100*/ virtual void __unk_vfn_100(); + /*121*/ virtual void __unk_vfn_121(); + /*169*/ virtual void __unk_vfn_169(); + /*182*/ virtual void __unk_vfn_182(); + /*206*/ virtual void __unk_vfn_206(); + /*207*/ virtual void __unk_vfn_207(); + /*228*/ virtual void __unk_vfn_228(); + /*231*/ virtual void __unk_vfn_231(); + /*238*/ virtual void __unk_vfn_238(); + /*242*/ virtual void readAdditionalSaveData(class CompoundTag const &, class DataLoadHelper &); + /*243*/ virtual void addAdditionalSaveData(class CompoundTag &); + /*246*/ virtual void __unk_vfn_246(); + /*257*/ virtual void __unk_vfn_257(); + /*258*/ virtual void setDir(int); + /*259*/ virtual int getWidth() const; + /*260*/ virtual int getHeight() const; + /*261*/ virtual void dropItem(); + /*262*/ virtual bool placeHangingEntity(class BlockSource &, int); + /*263*/ virtual bool wouldSurvive(class BlockSource &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_PAINTING +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/Palette.hpp b/LiteLoader/Header/MC/Palette.hpp new file mode 100644 index 0000000..19175e2 --- /dev/null +++ b/LiteLoader/Header/MC/Palette.hpp @@ -0,0 +1,43 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class Palette { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_PALETTE +public: + class Palette& operator=(class Palette const &) = delete; + Palette(class Palette const &) = delete; + Palette() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_PALETTE +#endif + MCAPI static class Color const BLACK; + MCAPI static class Color const BLUE; + MCAPI static class Color const BROWN; + MCAPI static class Color const CYAN; + MCAPI static class Color const GRAY; + MCAPI static class Color const GREEN; + MCAPI static class Color const LIGHT_BLUE; + MCAPI static class Color const LIGHT_GREEN; + MCAPI static class Color const MAGENTA; + MCAPI static class Color const ORANGE; + MCAPI static class Color const PINK; + MCAPI static class Color const PURPLE; + MCAPI static class Color const RED; + MCAPI static class Color const SILVER; + MCAPI static class Color const WHITE; + MCAPI static class Color const YELLOW; + MCAPI static class Color const & getColor(enum PaletteColor); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/Panda.hpp b/LiteLoader/Header/MC/Panda.hpp new file mode 100644 index 0000000..5e6ed13 --- /dev/null +++ b/LiteLoader/Header/MC/Panda.hpp @@ -0,0 +1,61 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Actor.hpp" +#include "Animal.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class Panda : public Animal { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_PANDA +public: + class Panda& operator=(class Panda const &) = delete; + Panda(class Panda const &) = delete; + Panda() = delete; +#endif + +public: + /*7*/ virtual ~Panda(); + /*30*/ virtual void __unk_vfn_30(); + /*39*/ virtual void normalTick(); + /*54*/ virtual void __unk_vfn_54(); + /*61*/ virtual void __unk_vfn_61(); + /*76*/ virtual void __unk_vfn_76(); + /*81*/ virtual void __unk_vfn_81(); + /*88*/ virtual void __unk_vfn_88(); + /*90*/ virtual void __unk_vfn_90(); + /*98*/ virtual void __unk_vfn_98(); + /*100*/ virtual void __unk_vfn_100(); + /*121*/ virtual void __unk_vfn_121(); + /*169*/ virtual void __unk_vfn_169(); + /*182*/ virtual void __unk_vfn_182(); + /*206*/ virtual void __unk_vfn_206(); + /*207*/ virtual void __unk_vfn_207(); + /*228*/ virtual void __unk_vfn_228(); + /*231*/ virtual void __unk_vfn_231(); + /*238*/ virtual void __unk_vfn_238(); + /*242*/ virtual void readAdditionalSaveData(class CompoundTag const &, class DataLoadHelper &); + /*246*/ virtual void __unk_vfn_246(); + /*256*/ virtual void _onSizeUpdated(); + /*257*/ virtual void __unk_vfn_257(); + /*265*/ virtual enum LevelSoundEvent getAmbientSound(); + /*290*/ virtual void __unk_vfn_290(); + /*300*/ virtual void __unk_vfn_300(); + /*327*/ virtual void setTransitioningSitting(bool); + /*332*/ virtual void __unk_vfn_332(); + /*348*/ virtual void __unk_vfn_348(); + /*349*/ virtual bool isDarkEnoughToSpawn() const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_PANDA +#endif + MCAPI float getSitAmount(float) const; + MCAPI void updateLaying(); + MCAPI void updateSitting(); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/PanicGoal.hpp b/LiteLoader/Header/MC/PanicGoal.hpp new file mode 100644 index 0000000..4a260f9 --- /dev/null +++ b/LiteLoader/Header/MC/PanicGoal.hpp @@ -0,0 +1,41 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class PanicGoal { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_PANICGOAL +public: + class PanicGoal& operator=(class PanicGoal const &) = delete; + PanicGoal(class PanicGoal const &) = delete; + PanicGoal() = delete; +#endif + +public: + /*0*/ virtual ~PanicGoal(); + /*1*/ virtual bool canUse(); + /*2*/ virtual bool canContinueToUse(); + /*3*/ virtual void __unk_vfn_3(); + /*4*/ virtual void start(); + /*5*/ virtual void stop(); + /*6*/ virtual void tick(); + /*7*/ virtual void appendDebugInfo(std::string &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_PANICGOAL +#endif + MCAPI PanicGoal(class Mob &, float, bool, enum LevelSoundEvent, struct FloatRange, bool, bool, std::vector); + +//private: + MCAPI bool _findWaterPos(class Vec3 &, int, int); + MCAPI bool _tryGeneratePathEnd(); + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/Parrot.hpp b/LiteLoader/Header/MC/Parrot.hpp new file mode 100644 index 0000000..b121d9b --- /dev/null +++ b/LiteLoader/Header/MC/Parrot.hpp @@ -0,0 +1,73 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Actor.hpp" +#include "Animal.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class Parrot : public Animal { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_PARROT +public: + class Parrot& operator=(class Parrot const &) = delete; + Parrot(class Parrot const &) = delete; + Parrot() = delete; +#endif + +public: + /*2*/ virtual void reloadHardcodedClient(enum Actor::InitializationMethod, class VariantParameterList const &); + /*7*/ virtual ~Parrot(); + /*20*/ virtual class Vec3 getInterpolatedRidingPosition(float) const; + /*30*/ virtual void __unk_vfn_30(); + /*54*/ virtual void __unk_vfn_54(); + /*61*/ virtual void __unk_vfn_61(); + /*74*/ virtual float getShadowRadius() const; + /*76*/ virtual void __unk_vfn_76(); + /*81*/ virtual void __unk_vfn_81(); + /*88*/ virtual void __unk_vfn_88(); + /*90*/ virtual void __unk_vfn_90(); + /*98*/ virtual void __unk_vfn_98(); + /*100*/ virtual void __unk_vfn_100(); + /*110*/ virtual void setSitting(bool); + /*121*/ virtual void __unk_vfn_121(); + /*122*/ virtual void rideLanded(class Vec3 const &, class Vec3 const &); + /*124*/ virtual bool isInvulnerableTo(class ActorDamageSource const &) const; + /*169*/ virtual void __unk_vfn_169(); + /*180*/ virtual bool canBePulledIntoVehicle() const; + /*182*/ virtual void __unk_vfn_182(); + /*206*/ virtual void __unk_vfn_206(); + /*207*/ virtual void __unk_vfn_207(); + /*228*/ virtual void __unk_vfn_228(); + /*231*/ virtual void __unk_vfn_231(); + /*238*/ virtual void __unk_vfn_238(); + /*244*/ virtual void _playStepSound(class BlockPos const &, class Block const &); + /*246*/ virtual void __unk_vfn_246(); + /*257*/ virtual void __unk_vfn_257(); + /*264*/ virtual void playAmbientSound(); + /*265*/ virtual enum LevelSoundEvent getAmbientSound(); + /*278*/ virtual void aiStep(); + /*290*/ virtual void __unk_vfn_290(); + /*300*/ virtual void __unk_vfn_300(); + /*330*/ virtual float _getWalkTargetValue(class BlockPos const &); + /*332*/ virtual void __unk_vfn_332(); + /*348*/ virtual void __unk_vfn_348(); + /*349*/ virtual bool isDarkEnoughToSpawn() const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_PARROT + MCVAPI bool _makeFlySound() const; + MCVAPI bool useNewAi() const; +#endif + +//private: + MCAPI void _calculateFlapping(); + MCAPI bool _imitateNearbyMobs(); + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/Parser.hpp b/LiteLoader/Header/MC/Parser.hpp new file mode 100644 index 0000000..67c0f12 --- /dev/null +++ b/LiteLoader/Header/MC/Parser.hpp @@ -0,0 +1,69 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Json.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class Parser { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_PARSER +public: + class Parser& operator=(class Parser const &) = delete; + Parser(class Parser const &) = delete; + Parser() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_PARSER +#endif + MCAPI static void parse(class Json::Value const &, class MobEffectInstance &, char const *); + MCAPI static void parse(class Json::Value const &, int &, char const *, int); + MCAPI static void parse(class Json::Value const &, float &, char const *, float); + MCAPI static void parse(class Json::Value const &, class Vec3 &, char const *, class Vec3 const &); + MCAPI static void parse(class Json::Value const &, bool &, char const *, bool); + MCAPI static void parse(class Json::Value const &, enum Difficulty &, char const *, char const *); + MCAPI static void parse(class Json::Value const &, std::string &, char const *, char const *); + MCAPI static void parse(class Json::Value const &, enum ActorDamageCause &, char const *, char const *); + MCAPI static void parse(class Json::Value const &, struct ActorDefinitionIdentifier &, char const *, char const *); + MCAPI static void parse(class Json::Value const &, enum ActorType &, char const *, char const *); + MCAPI static void parse(class Json::Value const &, class std::set, class std::allocator> &, char const *); + MCAPI static void parse(class Json::Value const &, std::vector &, char const *, char const *); + MCAPI static void parse(class Json::Value const &, std::vector &, char const *, char const *); + MCAPI static void parse(class Json::Value const &, class Item const *&, char const *, char const *); + MCAPI static void parse(class Json::Value const &, struct ItemDefinition &, char const *, char const *); + MCAPI static bool parse(class Json::Value const &, class ItemDescriptor &); + MCAPI static bool parse(class Json::Value const &, std::vector &); + MCAPI static bool parse(class Json::Value const &, class DefinitionTrigger &, char const *); + MCAPI static void parse(class Json::Value const &, std::vector &, char const *); + MCAPI static void parse(class Json::Value &, class WeightedChoices &, char const *); + MCAPI static bool parse(class Json::Value const &, class DefinitionTrigger &, bool); + MCAPI static bool parse(class Json::Value const &, std::vector &); + MCAPI static void serialize(class Item const *, class Json::Value &, char const *); + MCAPI static void serialize(struct ItemDefinition const &, class Json::Value &, char const *); + MCAPI static void serialize(class DefinitionTrigger const &, class Json::Value &, char const *); + MCAPI static void serialize(class MobEffectInstance const &, class Json::Value &, char const *); + MCAPI static void serialize(struct FloatRange const &, class Json::Value &, char const *); + MCAPI static void serialize(struct IntRange const &, class Json::Value &, char const *); + MCAPI static void serialize(class Vec3 const &, class Json::Value &, char const *); + MCAPI static void serialize(enum ParticleType const &, class Json::Value &, char const *); + MCAPI static void serialize(enum Difficulty const &, class Json::Value &, char const *); + MCAPI static void serialize(enum ActorDamageCause const &, class Json::Value &, char const *); + MCAPI static void serialize(struct ActorDefinitionIdentifier const &, class Json::Value &, char const *); + MCAPI static void serialize(enum ActorType const &, class Json::Value &, char const *); + MCAPI static void serialize(class std::set, class std::allocator> const &, class Json::Value &, char const *); + MCAPI static void serialize(class std::set, class std::allocator> const &, class Json::Value &, char const *); + MCAPI static void serialize(std::vector const &, class Json::Value &, char const *); + MCAPI static void serialize(std::vector const &, class Json::Value &, char const *); + MCAPI static void serialize(std::vector const &, class Json::Value &, char const *); + MCAPI static void serialize(std::vector const &, class Json::Value &, char const *); + MCAPI static void serialize(std::vector const &, class Json::Value &, char const *); + MCAPI static void serialize(std::vector const &, class Json::Value &, char const *); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ParticleCommand.hpp b/LiteLoader/Header/MC/ParticleCommand.hpp new file mode 100644 index 0000000..7a084fe --- /dev/null +++ b/LiteLoader/Header/MC/ParticleCommand.hpp @@ -0,0 +1,30 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Command.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ParticleCommand : public Command { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_PARTICLECOMMAND +public: + class ParticleCommand& operator=(class ParticleCommand const &) = delete; + ParticleCommand(class ParticleCommand const &) = delete; + ParticleCommand() = delete; +#endif + +public: + /*0*/ virtual ~ParticleCommand(); + /*1*/ virtual void execute(class CommandOrigin const &, class CommandOutput &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_PARTICLECOMMAND +#endif + MCAPI static void setup(class CommandRegistry &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ParticleOnHitSubcomponent.hpp b/LiteLoader/Header/MC/ParticleOnHitSubcomponent.hpp new file mode 100644 index 0000000..432438f --- /dev/null +++ b/LiteLoader/Header/MC/ParticleOnHitSubcomponent.hpp @@ -0,0 +1,36 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Json.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ParticleOnHitSubcomponent { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_PARTICLEONHITSUBCOMPONENT +public: + class ParticleOnHitSubcomponent& operator=(class ParticleOnHitSubcomponent const &) = delete; + ParticleOnHitSubcomponent(class ParticleOnHitSubcomponent const &) = delete; + ParticleOnHitSubcomponent() = delete; +#endif + +public: + /*0*/ virtual ~ParticleOnHitSubcomponent(); + /*1*/ virtual void readfromJSON(class Json::Value &); + /*2*/ virtual void writetoJSON(class Json::Value &) const; + /*3*/ virtual void doOnHitEffect(class Actor &, class ProjectileComponent &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_PARTICLEONHITSUBCOMPONENT +#endif + +//private: + MCAPI bool isParticleTypeIconBreak() const; + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ParticleTypeMap.hpp b/LiteLoader/Header/MC/ParticleTypeMap.hpp new file mode 100644 index 0000000..ce53b58 --- /dev/null +++ b/LiteLoader/Header/MC/ParticleTypeMap.hpp @@ -0,0 +1,33 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ParticleTypeMap { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_PARTICLETYPEMAP +public: + class ParticleTypeMap& operator=(class ParticleTypeMap const &) = delete; + ParticleTypeMap(class ParticleTypeMap const &) = delete; + ParticleTypeMap() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_PARTICLETYPEMAP +#endif + MCAPI static std::string const & getParticleName(enum ParticleType); + MCAPI static enum ParticleType getParticleTypeId(std::string const &); + +//private: + +private: + MCAPI static class BidirectionalUnorderedMap const map; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ParticlesBlockExplosionEvent.hpp b/LiteLoader/Header/MC/ParticlesBlockExplosionEvent.hpp new file mode 100644 index 0000000..18358fb --- /dev/null +++ b/LiteLoader/Header/MC/ParticlesBlockExplosionEvent.hpp @@ -0,0 +1,28 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ParticlesBlockExplosionEvent { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_PARTICLESBLOCKEXPLOSIONEVENT +public: + class ParticlesBlockExplosionEvent& operator=(class ParticlesBlockExplosionEvent const &) = delete; + ParticlesBlockExplosionEvent(class ParticlesBlockExplosionEvent const &) = delete; + ParticlesBlockExplosionEvent() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_PARTICLESBLOCKEXPLOSIONEVENT +#endif + MCAPI std::unique_ptr save() const; + MCAPI ~ParticlesBlockExplosionEvent(); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ParticlesTeleportTrailEvent.hpp b/LiteLoader/Header/MC/ParticlesTeleportTrailEvent.hpp new file mode 100644 index 0000000..3253be8 --- /dev/null +++ b/LiteLoader/Header/MC/ParticlesTeleportTrailEvent.hpp @@ -0,0 +1,27 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ParticlesTeleportTrailEvent { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_PARTICLESTELEPORTTRAILEVENT +public: + class ParticlesTeleportTrailEvent& operator=(class ParticlesTeleportTrailEvent const &) = delete; + ParticlesTeleportTrailEvent(class ParticlesTeleportTrailEvent const &) = delete; + ParticlesTeleportTrailEvent() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_PARTICLESTELEPORTTRAILEVENT +#endif + MCAPI std::unique_ptr save() const; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/Path.hpp b/LiteLoader/Header/MC/Path.hpp new file mode 100644 index 0000000..f86d538 --- /dev/null +++ b/LiteLoader/Header/MC/Path.hpp @@ -0,0 +1,28 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class Path { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_PATH +public: + class Path& operator=(class Path const &) = delete; + Path(class Path const &) = delete; + Path() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_PATH +#endif + MCAPI bool endsInXZ(class Vec3 const &); + MCAPI class Vec3 getPos(class Actor const *, unsigned __int64) const; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/PathFinder.hpp b/LiteLoader/Header/MC/PathFinder.hpp new file mode 100644 index 0000000..8d4bf30 --- /dev/null +++ b/LiteLoader/Header/MC/PathFinder.hpp @@ -0,0 +1,49 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class PathFinder { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_PATHFINDER +public: + class PathFinder& operator=(class PathFinder const &) = delete; + PathFinder(class PathFinder const &) = delete; + PathFinder() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_PATHFINDER +#endif + MCAPI PathFinder(class BlockSource *, class NavigationComponent const &); + MCAPI enum NodeType isFree(class Actor &, class BlockPos const &, class BlockPos const &, class PathfinderNode const &, bool); + MCAPI ~PathFinder(); + +//private: + MCAPI void _addNeighbor(class PathfinderNode *, class PathfinderNode const &, unsigned int, unsigned __int64 &); + MCAPI bool _checkBlockAndNeighborsProperty(class Actor &, class BlockPos const &, class Block const &, enum BlockProperty, int, class BreakBlocksComponent const *, class std::function); + MCAPI bool _checkForDamagingBlock(class Actor &, class BlockPos const &, class Block const &, int, class BreakBlocksComponent const *); + MCAPI enum NodeType _classifyDoorNode(class Actor &, class Block const &, class BlockPos const &, class BlockPos const &); + MCAPI enum NodeType _classifyNode(class Actor &, class BlockPos const &, class BlockPos const &); + MCAPI enum NodeType _classifyNode(class Actor &, class BlockPos const &, class Block const &, class BlockPos const &, bool); + MCAPI bool _findNearestPathableNeighbor(class BlockPos &, class Actor &, class BlockPos const &); + MCAPI std::unique_ptr _findPath(class Actor &, float, float, float, float); + MCAPI std::unique_ptr _findPath(class Actor &, class PathfinderNode *, class PathfinderNode *, class PathfinderNode const &, float); + MCAPI class PathfinderNode * _getNode(class Actor &, class BlockPos const &, class BlockPos const &, class PathfinderNode const &, int); + MCAPI class PathfinderNode * _getNode(class BlockPos const &, enum NodeType); + MCAPI float _getPathfindingMalus(class Actor &, enum NodeType, class BlockPos const &); + MCAPI class PathfinderNode * _getWaterNode(class Actor &, class BlockPos const &); + MCAPI enum NodeType _isFreeWaterNode(class Actor &, class BlockPos const &); + MCAPI std::unique_ptr _reconstructPath(class PathfinderNode *, enum PathCompletionType, struct ActorUniqueID); + MCAPI float calculateMoveCost(class PathfinderNode &, class BlockPos const &, class BlockSource &); + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/PathNavigation.hpp b/LiteLoader/Header/MC/PathNavigation.hpp new file mode 100644 index 0000000..182cfd2 --- /dev/null +++ b/LiteLoader/Header/MC/PathNavigation.hpp @@ -0,0 +1,45 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class PathNavigation { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_PATHNAVIGATION +public: + class PathNavigation& operator=(class PathNavigation const &) = delete; + PathNavigation(class PathNavigation const &) = delete; + PathNavigation() = delete; +#endif + +public: + /*0*/ virtual ~PathNavigation(); + /*1*/ virtual void initializeInternal(class Mob &, struct NavigationDescription *); + /*2*/ virtual void tick(class NavigationComponent &, class Mob &); + /*3*/ virtual class Vec3 getTempMobPos(class Mob const &) const; + /*4*/ virtual std::unique_ptr createPath(class NavigationComponent &, class Mob &, class Vec3 const &); + /*5*/ virtual std::unique_ptr createPath(class NavigationComponent &, class Mob &, class Actor &); + /*6*/ virtual bool moveTo(class NavigationComponent &, class Mob &, class Vec3 const &, float); + /*7*/ virtual bool moveTo(class NavigationComponent &, class Mob &, class Actor &, float); + /*8*/ virtual bool moveTo(class NavigationComponent &, class Mob &, std::unique_ptr, float); + /*9*/ virtual void stop(class NavigationComponent &, class Mob &); + /*10*/ virtual bool travel(class NavigationComponent &, class Mob &, float &, float &, float &); + /*11*/ virtual bool canUpdatePath(class Mob const &) const; + /*12*/ virtual void updatePath(class NavigationComponent &, class Mob &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_PATHNAVIGATION +#endif + +//protected: + MCAPI float _getHighestBlockHeight(class BlockSource &, class Mob &, class Vec3 const &, class Vec2 const &) const; + MCAPI bool _isPositionOnlyInAir(class BlockSource const &, class Vec3 const &, class Vec2 const &) const; + +protected: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/PauseScreenCapabilities.hpp b/LiteLoader/Header/MC/PauseScreenCapabilities.hpp new file mode 100644 index 0000000..c646339 --- /dev/null +++ b/LiteLoader/Header/MC/PauseScreenCapabilities.hpp @@ -0,0 +1,27 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +struct PauseScreenCapabilities { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_PAUSESCREENCAPABILITIES +public: + struct PauseScreenCapabilities& operator=(struct PauseScreenCapabilities const &) = delete; + PauseScreenCapabilities(struct PauseScreenCapabilities const &) = delete; + PauseScreenCapabilities() = delete; +#endif +public: + /*0*/ virtual ~PauseScreenCapabilities(); + /*1*/ virtual bool isOfType(class typeid_t) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_PAUSESCREENCAPABILITIES +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/PeekSystem.hpp b/LiteLoader/Header/MC/PeekSystem.hpp new file mode 100644 index 0000000..46aca3a --- /dev/null +++ b/LiteLoader/Header/MC/PeekSystem.hpp @@ -0,0 +1,28 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class PeekSystem { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_PEEKSYSTEM +public: + class PeekSystem& operator=(class PeekSystem const &) = delete; + PeekSystem(class PeekSystem const &) = delete; + PeekSystem() = delete; +#endif + +public: + /*0*/ virtual ~PeekSystem(); + /*1*/ virtual void tick(class EntityRegistry &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_PEEKSYSTEM +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/PendingArea.hpp b/LiteLoader/Header/MC/PendingArea.hpp new file mode 100644 index 0000000..7584bcc --- /dev/null +++ b/LiteLoader/Header/MC/PendingArea.hpp @@ -0,0 +1,34 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +struct PendingArea { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_PENDINGAREA +public: + struct PendingArea& operator=(struct PendingArea const &) = delete; + PendingArea(struct PendingArea const &) = delete; + PendingArea() = delete; +#endif +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_PENDINGAREA +#endif + MCAPI struct PendingArea & operator=(struct PendingArea &&); + MCAPI class CompoundTag serialize(class AutomaticID) const; + MCAPI ~PendingArea(); + MCAPI static struct PendingArea createEntityTickingArea(class mce::UUID, struct ActorUniqueID, struct Bounds const &, bool, float); + MCAPI static struct PendingArea load(std::string const &, class CompoundTag const &); + MCAPI static bool validTag(class CompoundTag const &); + +//private: + MCAPI PendingArea(class mce::UUID, std::string const &, struct Bounds const &, bool); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/PerfContextTracker.hpp b/LiteLoader/Header/MC/PerfContextTracker.hpp new file mode 100644 index 0000000..e48e154 --- /dev/null +++ b/LiteLoader/Header/MC/PerfContextTracker.hpp @@ -0,0 +1,32 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class PerfContextTracker { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_PERFCONTEXTTRACKER +public: + class PerfContextTracker& operator=(class PerfContextTracker const &) = delete; + PerfContextTracker(class PerfContextTracker const &) = delete; + PerfContextTracker() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_PERFCONTEXTTRACKER +#endif + MCAPI static class PerfContextTracker & getInstance(); + +//private: + MCAPI void _resetStats(); + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/PerfContextTrackerReport.hpp b/LiteLoader/Header/MC/PerfContextTrackerReport.hpp new file mode 100644 index 0000000..8933cfd --- /dev/null +++ b/LiteLoader/Header/MC/PerfContextTrackerReport.hpp @@ -0,0 +1,27 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class PerfContextTrackerReport { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_PERFCONTEXTTRACKERREPORT +public: + class PerfContextTrackerReport& operator=(class PerfContextTrackerReport const &) = delete; + PerfContextTrackerReport(class PerfContextTrackerReport const &) = delete; + PerfContextTrackerReport() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_PERFCONTEXTTRACKERREPORT +#endif + MCAPI void reset(); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/PerfTimer.hpp b/LiteLoader/Header/MC/PerfTimer.hpp new file mode 100644 index 0000000..07df1a7 --- /dev/null +++ b/LiteLoader/Header/MC/PerfTimer.hpp @@ -0,0 +1,36 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Bedrock.hpp" +#include "Core.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class PerfTimer { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_PERFTIMER +public: + class PerfTimer& operator=(class PerfTimer const &) = delete; + PerfTimer(class PerfTimer const &) = delete; + PerfTimer() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_PERFTIMER +#endif + MCAPI PerfTimer(class std::thread::id); + MCAPI ~PerfTimer(); + MCAPI static class Bedrock::Threading::ThreadLocalObject> test; + +//protected: + +protected: + MCAPI static class Core::PathBuffer mPath; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/Performance.hpp b/LiteLoader/Header/MC/Performance.hpp new file mode 100644 index 0000000..40a822c --- /dev/null +++ b/LiteLoader/Header/MC/Performance.hpp @@ -0,0 +1,27 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class Performance { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_PERFORMANCE +public: + class Performance& operator=(class Performance const &) = delete; + Performance(class Performance const &) = delete; + Performance() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_PERFORMANCE +#endif + MCAPI static class StopwatchHandler watches; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/PerlinNoise.hpp b/LiteLoader/Header/MC/PerlinNoise.hpp new file mode 100644 index 0000000..09a3b17 --- /dev/null +++ b/LiteLoader/Header/MC/PerlinNoise.hpp @@ -0,0 +1,33 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class PerlinNoise { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_PERLINNOISE +public: + class PerlinNoise& operator=(class PerlinNoise const &) = delete; + PerlinNoise(class PerlinNoise const &) = delete; + PerlinNoise() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_PERLINNOISE +#endif + MCAPI void getRegion(float *, class Vec3 const &, int, int, int, class Vec3 const &) const; + MCAPI float getValue(class Vec3 const &) const; + +//private: + MCAPI void _init(class Random &); + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/PerlinSimplexNoise.hpp b/LiteLoader/Header/MC/PerlinSimplexNoise.hpp new file mode 100644 index 0000000..90e2f82 --- /dev/null +++ b/LiteLoader/Header/MC/PerlinSimplexNoise.hpp @@ -0,0 +1,36 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class PerlinSimplexNoise { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_PERLINSIMPLEXNOISE +public: + class PerlinSimplexNoise& operator=(class PerlinSimplexNoise const &) = delete; + PerlinSimplexNoise(class PerlinSimplexNoise const &) = delete; + PerlinSimplexNoise() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_PERLINSIMPLEXNOISE +#endif + MCAPI PerlinSimplexNoise(unsigned int, int); + MCAPI float * getRegion(float *, class Vec2 const &, int, int, class Vec2 const &, float, float) const; + MCAPI float getValue(float, float) const; + MCAPI float getValue(class Vec3 const &) const; + MCAPI ~PerlinSimplexNoise(); + +//private: + MCAPI void _init(class Random &); + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/PermissionCommand.hpp b/LiteLoader/Header/MC/PermissionCommand.hpp new file mode 100644 index 0000000..f284362 --- /dev/null +++ b/LiteLoader/Header/MC/PermissionCommand.hpp @@ -0,0 +1,38 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Command.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class PermissionCommand : public Command { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_PERMISSIONCOMMAND +public: + class PermissionCommand& operator=(class PermissionCommand const &) = delete; + PermissionCommand(class PermissionCommand const &) = delete; + PermissionCommand() = delete; +#endif + +public: + /*0*/ virtual ~PermissionCommand(); + /*1*/ virtual void execute(class CommandOrigin const &, class CommandOutput &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_PERMISSIONCOMMAND +#endif + MCAPI static void setup(class CommandRegistry &, class PermissionsFile *); + +//private: + MCAPI void list(class CommandOrigin const &, class CommandOutput &) const; + MCAPI void reload(class CommandOrigin const &, class CommandOutput &) const; + MCAPI void set(class CommandOrigin const &, class CommandOutput &) const; + +private: + MCAPI static class PermissionsFile * mPermissionsFile; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/PermissionsFile.hpp b/LiteLoader/Header/MC/PermissionsFile.hpp new file mode 100644 index 0000000..e3fe146 --- /dev/null +++ b/LiteLoader/Header/MC/PermissionsFile.hpp @@ -0,0 +1,39 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Json.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class PermissionsFile { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_PERMISSIONSFILE +public: + class PermissionsFile& operator=(class PermissionsFile const &) = delete; + PermissionsFile(class PermissionsFile const &) = delete; + PermissionsFile() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_PERMISSIONSFILE +#endif + MCAPI void applyPlayerPermissionsFromDisk(class Player &, enum CommandPermissionLevel); + MCAPI std::vector getXUIDsByPermission(enum PlayerPermissionLevel) const; + MCAPI bool isPermissionsSet(std::string const &, enum PlayerPermissionLevel) const; + MCAPI void persistPlayerPermissionsToDisk(class Player const &, enum PlayerPermissionLevel); + MCAPI void persistPlayerPermissionsToDisk(std::string const &, enum PlayerPermissionLevel); + MCAPI enum FileReadResult reload(); + +//private: + MCAPI class std::tuple readPermissionFile(); + MCAPI void setDefaultPlayerPermission(class Player &, enum CommandPermissionLevel); + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/PermissionsHandler.hpp b/LiteLoader/Header/MC/PermissionsHandler.hpp new file mode 100644 index 0000000..f8e4c45 --- /dev/null +++ b/LiteLoader/Header/MC/PermissionsHandler.hpp @@ -0,0 +1,29 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class PermissionsHandler { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_PERMISSIONSHANDLER +public: + class PermissionsHandler& operator=(class PermissionsHandler const &) = delete; + PermissionsHandler(class PermissionsHandler const &) = delete; + PermissionsHandler() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_PERMISSIONSHANDLER +#endif + MCAPI bool loadSaveData(class CompoundTag const &); + MCAPI static enum PlayerPermissionLevel playerPermissionLevelFromString(std::string const &); + MCAPI static std::string playerPermissionLevelToString(enum PlayerPermissionLevel const &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/PersistentDescription.hpp b/LiteLoader/Header/MC/PersistentDescription.hpp new file mode 100644 index 0000000..80eea83 --- /dev/null +++ b/LiteLoader/Header/MC/PersistentDescription.hpp @@ -0,0 +1,28 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +struct PersistentDescription { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_PERSISTENTDESCRIPTION +public: + struct PersistentDescription& operator=(struct PersistentDescription const &) = delete; + PersistentDescription(struct PersistentDescription const &) = delete; + PersistentDescription() = delete; +#endif +public: + /*0*/ virtual char const * getJsonName() const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_PERSISTENTDESCRIPTION + MCVAPI void deserializeData(class Json::Value &); + MCVAPI void serializeData(class Json::Value &) const; +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/PetSleepWithOwnerGoal.hpp b/LiteLoader/Header/MC/PetSleepWithOwnerGoal.hpp new file mode 100644 index 0000000..cd99f5e --- /dev/null +++ b/LiteLoader/Header/MC/PetSleepWithOwnerGoal.hpp @@ -0,0 +1,35 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class PetSleepWithOwnerGoal { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_PETSLEEPWITHOWNERGOAL +public: + class PetSleepWithOwnerGoal& operator=(class PetSleepWithOwnerGoal const &) = delete; + PetSleepWithOwnerGoal(class PetSleepWithOwnerGoal const &) = delete; + PetSleepWithOwnerGoal() = delete; +#endif + +public: + /*0*/ virtual ~PetSleepWithOwnerGoal(); + /*1*/ virtual bool canUse(); + /*2*/ virtual bool canContinueToUse(); + /*3*/ virtual void __unk_vfn_3(); + /*4*/ virtual void start(); + /*5*/ virtual void stop(); + /*6*/ virtual void tick(); + /*7*/ virtual void appendDebugInfo(std::string &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_PETSLEEPWITHOWNERGOAL +#endif + MCAPI void setState(std::unique_ptr); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/PetSleepWithOwnerState.hpp b/LiteLoader/Header/MC/PetSleepWithOwnerState.hpp new file mode 100644 index 0000000..4599501 --- /dev/null +++ b/LiteLoader/Header/MC/PetSleepWithOwnerState.hpp @@ -0,0 +1,33 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class PetSleepWithOwnerState { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_PETSLEEPWITHOWNERSTATE +public: + class PetSleepWithOwnerState& operator=(class PetSleepWithOwnerState const &) = delete; + PetSleepWithOwnerState(class PetSleepWithOwnerState const &) = delete; + PetSleepWithOwnerState() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_PETSLEEPWITHOWNERSTATE + MCVAPI void start(); + MCVAPI void stop(); +#endif + +//protected: + MCAPI void dampenSpeed(); + +protected: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/Phantom.hpp b/LiteLoader/Header/MC/Phantom.hpp new file mode 100644 index 0000000..ab78f88 --- /dev/null +++ b/LiteLoader/Header/MC/Phantom.hpp @@ -0,0 +1,56 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Actor.hpp" +#include "Monster.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class Phantom : public Monster { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_PHANTOM +public: + class Phantom& operator=(class Phantom const &) = delete; + Phantom(class Phantom const &) = delete; + Phantom() = delete; +#endif + +public: + /*7*/ virtual ~Phantom(); + /*30*/ virtual void __unk_vfn_30(); + /*39*/ virtual void normalTick(); + /*54*/ virtual void __unk_vfn_54(); + /*61*/ virtual void __unk_vfn_61(); + /*76*/ virtual void __unk_vfn_76(); + /*81*/ virtual void __unk_vfn_81(); + /*88*/ virtual void __unk_vfn_88(); + /*90*/ virtual void __unk_vfn_90(); + /*98*/ virtual void __unk_vfn_98(); + /*100*/ virtual void __unk_vfn_100(); + /*121*/ virtual void __unk_vfn_121(); + /*123*/ virtual bool shouldRender() const; + /*169*/ virtual void __unk_vfn_169(); + /*182*/ virtual void __unk_vfn_182(); + /*206*/ virtual void __unk_vfn_206(); + /*207*/ virtual void __unk_vfn_207(); + /*228*/ virtual void __unk_vfn_228(); + /*231*/ virtual void __unk_vfn_231(); + /*235*/ virtual void updateEntitySpecificMolangVariables(class RenderParams &); + /*238*/ virtual void __unk_vfn_238(); + /*246*/ virtual void __unk_vfn_246(); + /*257*/ virtual void __unk_vfn_257(); + /*282*/ virtual bool checkSpawnRules(bool); + /*290*/ virtual void __unk_vfn_290(); + /*300*/ virtual void __unk_vfn_300(); + /*332*/ virtual void __unk_vfn_332(); + /*348*/ virtual void __unk_vfn_348(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_PHANTOM +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/PhotoStorage.hpp b/LiteLoader/Header/MC/PhotoStorage.hpp new file mode 100644 index 0000000..76385fe --- /dev/null +++ b/LiteLoader/Header/MC/PhotoStorage.hpp @@ -0,0 +1,34 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class PhotoStorage { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_PHOTOSTORAGE +public: + class PhotoStorage& operator=(class PhotoStorage const &) = delete; + PhotoStorage(class PhotoStorage const &) = delete; + PhotoStorage() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_PHOTOSTORAGE +#endif + MCAPI static std::string const BOOKS_DIR; + MCAPI static std::string const MANIFEST_NAME; + MCAPI static std::string const PHOTO_DIR; + +//private: + MCAPI void _readManifest(); + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/PhotoTransferPacket.hpp b/LiteLoader/Header/MC/PhotoTransferPacket.hpp new file mode 100644 index 0000000..7bc0b29 --- /dev/null +++ b/LiteLoader/Header/MC/PhotoTransferPacket.hpp @@ -0,0 +1,32 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Packet.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class PhotoTransferPacket : public Packet { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_PHOTOTRANSFERPACKET +public: + class PhotoTransferPacket& operator=(class PhotoTransferPacket const &) = delete; + PhotoTransferPacket(class PhotoTransferPacket const &) = delete; + PhotoTransferPacket() = delete; +#endif + +public: + /*0*/ virtual ~PhotoTransferPacket(); + /*1*/ virtual enum MinecraftPacketIds getId() const; + /*2*/ virtual std::string getName() const; + /*3*/ virtual void write(class BinaryStream &) const; + /*4*/ virtual enum StreamReadResult read(class ReadOnlyBinaryStream &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_PHOTOTRANSFERPACKET +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/PickaxeItem.hpp b/LiteLoader/Header/MC/PickaxeItem.hpp new file mode 100644 index 0000000..3cbfe1e --- /dev/null +++ b/LiteLoader/Header/MC/PickaxeItem.hpp @@ -0,0 +1,49 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Item.hpp" +#include "DiggerItem.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class PickaxeItem : public DiggerItem { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_PICKAXEITEM +public: + class PickaxeItem& operator=(class PickaxeItem const &) = delete; + PickaxeItem(class PickaxeItem const &) = delete; + PickaxeItem() = delete; +#endif + +public: + /*0*/ virtual ~PickaxeItem(); + /*5*/ virtual void __unk_vfn_5(); + /*20*/ virtual bool canDestroySpecial(class Block const &) const; + /*26*/ virtual void __unk_vfn_26(); + /*27*/ virtual void __unk_vfn_27(); + /*31*/ virtual void __unk_vfn_31(); + /*32*/ virtual void __unk_vfn_32(); + /*34*/ virtual void __unk_vfn_34(); + /*37*/ virtual void __unk_vfn_37(); + /*40*/ virtual int getEnchantSlot() const; + /*43*/ virtual void __unk_vfn_43(); + /*46*/ virtual void __unk_vfn_46(); + /*47*/ virtual void __unk_vfn_47(); + /*49*/ virtual void __unk_vfn_49(); + /*50*/ virtual void __unk_vfn_50(); + /*60*/ virtual float getDestroySpeed(class ItemInstance const &, class Block const &) const; + /*79*/ virtual void __unk_vfn_79(); + /*80*/ virtual void __unk_vfn_80(); + /*90*/ virtual void __unk_vfn_90(); + /*97*/ virtual void __unk_vfn_97(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_PICKAXEITEM +#endif + MCAPI PickaxeItem(std::string const &, int, class Item::Tier const &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/PickupItemsGoal.hpp b/LiteLoader/Header/MC/PickupItemsGoal.hpp new file mode 100644 index 0000000..1639b37 --- /dev/null +++ b/LiteLoader/Header/MC/PickupItemsGoal.hpp @@ -0,0 +1,40 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class PickupItemsGoal { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_PICKUPITEMSGOAL +public: + class PickupItemsGoal& operator=(class PickupItemsGoal const &) = delete; + PickupItemsGoal(class PickupItemsGoal const &) = delete; + PickupItemsGoal() = delete; +#endif + +public: + /*0*/ virtual ~PickupItemsGoal(); + /*1*/ virtual bool canUse(); + /*2*/ virtual bool canContinueToUse(); + /*3*/ virtual void __unk_vfn_3(); + /*4*/ virtual void start(); + /*5*/ virtual void stop(); + /*6*/ virtual void tick(); + /*7*/ virtual void appendDebugInfo(std::string &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_PICKUPITEMSGOAL +#endif + +//private: + MCAPI std::vector> _filterValidTargets(std::vector const &) const; + MCAPI struct Shareable const * _getShareableItem(class ItemStack const &) const; + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/PieceWeight.hpp b/LiteLoader/Header/MC/PieceWeight.hpp new file mode 100644 index 0000000..f19dee2 --- /dev/null +++ b/LiteLoader/Header/MC/PieceWeight.hpp @@ -0,0 +1,27 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class PieceWeight { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_PIECEWEIGHT +public: + class PieceWeight& operator=(class PieceWeight const &) = delete; + PieceWeight(class PieceWeight const &) = delete; + PieceWeight() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_PIECEWEIGHT +#endif + MCAPI ~PieceWeight(); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/Pig.hpp b/LiteLoader/Header/MC/Pig.hpp new file mode 100644 index 0000000..117bd65 --- /dev/null +++ b/LiteLoader/Header/MC/Pig.hpp @@ -0,0 +1,57 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Actor.hpp" +#include "Animal.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class Pig : public Animal { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_PIG +public: + class Pig& operator=(class Pig const &) = delete; + Pig(class Pig const &) = delete; + Pig() = delete; +#endif + +public: + /*7*/ virtual ~Pig(); + /*30*/ virtual void __unk_vfn_30(); + /*39*/ virtual void normalTick(); + /*54*/ virtual void __unk_vfn_54(); + /*61*/ virtual void __unk_vfn_61(); + /*76*/ virtual void __unk_vfn_76(); + /*81*/ virtual void __unk_vfn_81(); + /*88*/ virtual void __unk_vfn_88(); + /*90*/ virtual void __unk_vfn_90(); + /*98*/ virtual void __unk_vfn_98(); + /*100*/ virtual void __unk_vfn_100(); + /*121*/ virtual void __unk_vfn_121(); + /*169*/ virtual void __unk_vfn_169(); + /*182*/ virtual void __unk_vfn_182(); + /*206*/ virtual void __unk_vfn_206(); + /*207*/ virtual void __unk_vfn_207(); + /*228*/ virtual void __unk_vfn_228(); + /*231*/ virtual void __unk_vfn_231(); + /*238*/ virtual void __unk_vfn_238(); + /*240*/ virtual bool _hurt(class ActorDamageSource const &, int, bool, bool); + /*244*/ virtual void _playStepSound(class BlockPos const &, class Block const &); + /*246*/ virtual void __unk_vfn_246(); + /*257*/ virtual void __unk_vfn_257(); + /*290*/ virtual void __unk_vfn_290(); + /*300*/ virtual void __unk_vfn_300(); + /*332*/ virtual void __unk_vfn_332(); + /*348*/ virtual void __unk_vfn_348(); + /*349*/ virtual bool isDarkEnoughToSpawn() const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_PIG + MCVAPI bool useNewAi() const; +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/PigZombie.hpp b/LiteLoader/Header/MC/PigZombie.hpp new file mode 100644 index 0000000..3c045ad --- /dev/null +++ b/LiteLoader/Header/MC/PigZombie.hpp @@ -0,0 +1,64 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Actor.hpp" +#include "Zombie.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class PigZombie : public Zombie { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_PIGZOMBIE +public: + class PigZombie& operator=(class PigZombie const &) = delete; + PigZombie(class PigZombie const &) = delete; + PigZombie() = delete; +#endif + +public: + /*7*/ virtual ~PigZombie(); + /*30*/ virtual void __unk_vfn_30(); + /*39*/ virtual void normalTick(); + /*54*/ virtual void __unk_vfn_54(); + /*61*/ virtual void __unk_vfn_61(); + /*76*/ virtual void __unk_vfn_76(); + /*81*/ virtual void __unk_vfn_81(); + /*88*/ virtual void __unk_vfn_88(); + /*90*/ virtual void __unk_vfn_90(); + /*98*/ virtual void __unk_vfn_98(); + /*100*/ virtual void __unk_vfn_100(); + /*103*/ virtual class Actor * findAttackTarget(); + /*121*/ virtual void __unk_vfn_121(); + /*169*/ virtual void __unk_vfn_169(); + /*182*/ virtual void __unk_vfn_182(); + /*206*/ virtual void __unk_vfn_206(); + /*207*/ virtual void __unk_vfn_207(); + /*228*/ virtual void __unk_vfn_228(); + /*231*/ virtual void __unk_vfn_231(); + /*238*/ virtual void __unk_vfn_238(); + /*240*/ virtual bool _hurt(class ActorDamageSource const &, int, bool, bool); + /*242*/ virtual void readAdditionalSaveData(class CompoundTag const &, class DataLoadHelper &); + /*243*/ virtual void addAdditionalSaveData(class CompoundTag &); + /*246*/ virtual void __unk_vfn_246(); + /*257*/ virtual void __unk_vfn_257(); + /*282*/ virtual bool checkSpawnRules(bool); + /*290*/ virtual void __unk_vfn_290(); + /*300*/ virtual void __unk_vfn_300(); + /*329*/ virtual int getAttackTime(); + /*332*/ virtual void __unk_vfn_332(); + /*348*/ virtual void __unk_vfn_348(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_PIGZOMBIE +#endif + +//private: + +private: + MCAPI static class mce::UUID const SPEED_MODIFIER_ATTACK_UUID; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/Piglin.hpp b/LiteLoader/Header/MC/Piglin.hpp new file mode 100644 index 0000000..f2be4c9 --- /dev/null +++ b/LiteLoader/Header/MC/Piglin.hpp @@ -0,0 +1,56 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Actor.hpp" +#include "HumanoidMonster.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class Piglin : public HumanoidMonster { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_PIGLIN +public: + class Piglin& operator=(class Piglin const &) = delete; + Piglin(class Piglin const &) = delete; + Piglin() = delete; +#endif + +public: + /*7*/ virtual ~Piglin(); + /*30*/ virtual void __unk_vfn_30(); + /*43*/ virtual float getRidingHeight(); + /*54*/ virtual void __unk_vfn_54(); + /*61*/ virtual void __unk_vfn_61(); + /*76*/ virtual void __unk_vfn_76(); + /*81*/ virtual void __unk_vfn_81(); + /*88*/ virtual void __unk_vfn_88(); + /*90*/ virtual void __unk_vfn_90(); + /*98*/ virtual void __unk_vfn_98(); + /*100*/ virtual void __unk_vfn_100(); + /*121*/ virtual void __unk_vfn_121(); + /*169*/ virtual void __unk_vfn_169(); + /*182*/ virtual void __unk_vfn_182(); + /*206*/ virtual void __unk_vfn_206(); + /*207*/ virtual void __unk_vfn_207(); + /*217*/ virtual bool getInteraction(class Player &, class ActorInteraction &, class Vec3 const &); + /*228*/ virtual void __unk_vfn_228(); + /*231*/ virtual void __unk_vfn_231(); + /*235*/ virtual void updateEntitySpecificMolangVariables(class RenderParams &); + /*238*/ virtual void __unk_vfn_238(); + /*246*/ virtual void __unk_vfn_246(); + /*257*/ virtual void __unk_vfn_257(); + /*290*/ virtual void __unk_vfn_290(); + /*300*/ virtual void __unk_vfn_300(); + /*332*/ virtual void __unk_vfn_332(); + /*348*/ virtual void __unk_vfn_348(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_PIGLIN + MCVAPI bool canExistInPeaceful() const; +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/Pillager.hpp b/LiteLoader/Header/MC/Pillager.hpp new file mode 100644 index 0000000..7cb3d65 --- /dev/null +++ b/LiteLoader/Header/MC/Pillager.hpp @@ -0,0 +1,56 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Actor.hpp" +#include "HumanoidMonster.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class Pillager : public HumanoidMonster { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_PILLAGER +public: + class Pillager& operator=(class Pillager const &) = delete; + Pillager(class Pillager const &) = delete; + Pillager() = delete; +#endif + +public: + /*7*/ virtual ~Pillager(); + /*30*/ virtual void __unk_vfn_30(); + /*43*/ virtual float getRidingHeight(); + /*54*/ virtual void __unk_vfn_54(); + /*61*/ virtual void __unk_vfn_61(); + /*76*/ virtual void __unk_vfn_76(); + /*81*/ virtual void __unk_vfn_81(); + /*88*/ virtual void __unk_vfn_88(); + /*90*/ virtual void __unk_vfn_90(); + /*98*/ virtual void __unk_vfn_98(); + /*100*/ virtual void __unk_vfn_100(); + /*121*/ virtual void __unk_vfn_121(); + /*169*/ virtual void __unk_vfn_169(); + /*182*/ virtual void __unk_vfn_182(); + /*206*/ virtual void __unk_vfn_206(); + /*207*/ virtual void __unk_vfn_207(); + /*228*/ virtual void __unk_vfn_228(); + /*231*/ virtual void __unk_vfn_231(); + /*235*/ virtual void updateEntitySpecificMolangVariables(class RenderParams &); + /*238*/ virtual void __unk_vfn_238(); + /*242*/ virtual void readAdditionalSaveData(class CompoundTag const &, class DataLoadHelper &); + /*246*/ virtual void __unk_vfn_246(); + /*257*/ virtual void __unk_vfn_257(); + /*290*/ virtual void __unk_vfn_290(); + /*300*/ virtual void __unk_vfn_300(); + /*332*/ virtual void __unk_vfn_332(); + /*348*/ virtual void __unk_vfn_348(); + /*349*/ virtual bool isDarkEnoughToSpawn() const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_PILLAGER +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/PillagerOutpostFeature.hpp b/LiteLoader/Header/MC/PillagerOutpostFeature.hpp new file mode 100644 index 0000000..f0caabc --- /dev/null +++ b/LiteLoader/Header/MC/PillagerOutpostFeature.hpp @@ -0,0 +1,33 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "StructureFeature.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class PillagerOutpostFeature : public StructureFeature { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_PILLAGEROUTPOSTFEATURE +public: + class PillagerOutpostFeature& operator=(class PillagerOutpostFeature const &) = delete; + PillagerOutpostFeature(class PillagerOutpostFeature const &) = delete; + PillagerOutpostFeature() = delete; +#endif + +public: + /*0*/ virtual ~PillagerOutpostFeature(); + /*1*/ virtual void initMobSpawnTypes(class HardcodedSpawnAreaRegistry &); + /*3*/ virtual bool getNearestGeneratedFeature(class Dimension &, class BiomeSource &, class BlockPos const &, class BlockPos &); + /*4*/ virtual bool isFeatureChunk(class BiomeSource const &, class Random &, class ChunkPos const &, unsigned int); + /*5*/ virtual std::unique_ptr createStructureStart(class Dimension &, class BiomeSource &, class Random &, class ChunkPos const &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_PILLAGEROUTPOSTFEATURE +#endif + MCAPI PillagerOutpostFeature(unsigned int); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/PillagerOutpostPieces.hpp b/LiteLoader/Header/MC/PillagerOutpostPieces.hpp new file mode 100644 index 0000000..ba3ada1 --- /dev/null +++ b/LiteLoader/Header/MC/PillagerOutpostPieces.hpp @@ -0,0 +1,36 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class PillagerOutpostPieces { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_PILLAGEROUTPOSTPIECES +public: + class PillagerOutpostPieces& operator=(class PillagerOutpostPieces const &) = delete; + PillagerOutpostPieces(class PillagerOutpostPieces const &) = delete; + PillagerOutpostPieces() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_PILLAGEROUTPOSTPIECES +#endif + +//private: + MCAPI static void _addPiece(class StructureManager &, class BlockPos const &, enum Rotation const &, std::vector> &, class Random &, class Dimension &); + MCAPI static void _addScatteredPieces(class StructureManager &, class Random &, enum Rotation const &, class BlockPos const &, std::vector> &, class Dimension &); + +private: + MCAPI static class std::array, 6> MSC_FEATURES; + MCAPI static class gsl::basic_string_span PILLAGER_LOOT; + MCAPI static class gsl::basic_string_span STRUCTURE_WATCHTOWER; + MCAPI static class gsl::basic_string_span STRUCTURE_WATCHTOWER_OVERGROWN; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/PillagerOutpostStart.hpp b/LiteLoader/Header/MC/PillagerOutpostStart.hpp new file mode 100644 index 0000000..fb818d6 --- /dev/null +++ b/LiteLoader/Header/MC/PillagerOutpostStart.hpp @@ -0,0 +1,35 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class PillagerOutpostStart { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_PILLAGEROUTPOSTSTART +public: + class PillagerOutpostStart& operator=(class PillagerOutpostStart const &) = delete; + PillagerOutpostStart(class PillagerOutpostStart const &) = delete; + PillagerOutpostStart() = delete; +#endif + +public: + /*0*/ virtual ~PillagerOutpostStart(); + /*1*/ virtual bool postProcess(class BlockSource &, class Random &, class BoundingBox const &); + /*2*/ virtual void __unk_vfn_2(); + /*3*/ virtual enum StructureFeatureType getType() const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_PILLAGEROUTPOSTSTART +#endif + +//private: + MCAPI void _fillWithSupportBlock(class BlockPos const &, class BlockSource &, class BoundingBox const &, class Block const &); + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/PineTreeCanopy.hpp b/LiteLoader/Header/MC/PineTreeCanopy.hpp new file mode 100644 index 0000000..a5b9455 --- /dev/null +++ b/LiteLoader/Header/MC/PineTreeCanopy.hpp @@ -0,0 +1,29 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "TreeHelper.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class PineTreeCanopy { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_PINETREECANOPY +public: + class PineTreeCanopy& operator=(class PineTreeCanopy const &) = delete; + PineTreeCanopy(class PineTreeCanopy const &) = delete; + PineTreeCanopy() = delete; +#endif + +public: + /*0*/ virtual ~PineTreeCanopy(); + /*1*/ virtual class std::optional placeCanopy(class IBlockPlacementTarget &, class BlockPos const &, class Random &, struct TreeHelper::TreeParams const &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_PINETREECANOPY +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/PingedCompatibleServer.hpp b/LiteLoader/Header/MC/PingedCompatibleServer.hpp new file mode 100644 index 0000000..9639e4a --- /dev/null +++ b/LiteLoader/Header/MC/PingedCompatibleServer.hpp @@ -0,0 +1,27 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +struct PingedCompatibleServer { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_PINGEDCOMPATIBLESERVER +public: + struct PingedCompatibleServer& operator=(struct PingedCompatibleServer const &) = delete; + PingedCompatibleServer() = delete; +#endif +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_PINGEDCOMPATIBLESERVER +#endif + MCAPI PingedCompatibleServer(struct PingedCompatibleServer const &); + MCAPI struct PingedCompatibleServer & operator=(struct PingedCompatibleServer &&); + MCAPI ~PingedCompatibleServer(); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/PistonArmBlock.hpp b/LiteLoader/Header/MC/PistonArmBlock.hpp new file mode 100644 index 0000000..694c2b4 --- /dev/null +++ b/LiteLoader/Header/MC/PistonArmBlock.hpp @@ -0,0 +1,77 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "PistonBlock.hpp" +#include "BlockLegacy.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class PistonArmBlock : public BlockLegacy { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_PISTONARMBLOCK +public: + class PistonArmBlock& operator=(class PistonArmBlock const &) = delete; + PistonArmBlock(class PistonArmBlock const &) = delete; + PistonArmBlock() = delete; +#endif + +public: + /*0*/ virtual ~PistonArmBlock(); + /*5*/ virtual bool getCollisionShape(class AABB &, class Block const &, class BlockSource &, class BlockPos const &, class Actor *) const; + /*11*/ virtual bool addCollisionShapes(class Block const &, class BlockSource &, class BlockPos const &, class AABB const *, std::vector &, class Actor *) const; + /*18*/ virtual void __unk_vfn_18(); + /*21*/ virtual bool canProvideSupport(class Block const &, unsigned char, enum BlockSupportType) const; + /*24*/ virtual void __unk_vfn_24(); + /*25*/ virtual void __unk_vfn_25(); + /*26*/ virtual void __unk_vfn_26(); + /*27*/ virtual void __unk_vfn_27(); + /*28*/ virtual void __unk_vfn_28(); + /*30*/ virtual void __unk_vfn_30(); + /*31*/ virtual void __unk_vfn_31(); + /*32*/ virtual void __unk_vfn_32(); + /*33*/ virtual void __unk_vfn_33(); + /*34*/ virtual void __unk_vfn_34(); + /*35*/ virtual void __unk_vfn_35(); + /*36*/ virtual void __unk_vfn_36(); + /*38*/ virtual void __unk_vfn_38(); + /*39*/ virtual void __unk_vfn_39(); + /*40*/ virtual void __unk_vfn_40(); + /*42*/ virtual void __unk_vfn_42(); + /*43*/ virtual void __unk_vfn_43(); + /*49*/ virtual void __unk_vfn_49(); + /*50*/ virtual bool canContainLiquid() const; + /*52*/ virtual void __unk_vfn_52(); + /*67*/ virtual void __unk_vfn_67(); + /*73*/ virtual void __unk_vfn_73(); + /*84*/ virtual bool breaksFallingBlocks(class Block const &) const; + /*86*/ virtual bool playerWillDestroy(class Player &, class BlockPos const &, class Block const &) const; + /*87*/ virtual void __unk_vfn_87(); + /*88*/ virtual void neighborChanged(class BlockSource &, class BlockPos const &, class BlockPos const &) const; + /*89*/ virtual bool getSecondPart(class BlockSource &, class BlockPos const &, class BlockPos &) const; + /*91*/ virtual class ItemInstance getResourceItem(class Random &, class Block const &, int) const; + /*92*/ virtual class ItemInstance asItemInstance(class BlockSource &, class BlockPos const &, class Block const &) const; + /*95*/ virtual void __unk_vfn_95(); + /*97*/ virtual class HitResult clip(class BlockSource &, class BlockPos const &, class Vec3 const &, class Vec3 const &, bool) const; + /*109*/ virtual void __unk_vfn_109(); + /*116*/ virtual void __unk_vfn_116(); + /*118*/ virtual void __unk_vfn_118(); + /*119*/ virtual void __unk_vfn_119(); + /*142*/ virtual void __unk_vfn_142(); + /*158*/ virtual void __unk_vfn_158(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_PISTONARMBLOCK + MCVAPI bool canBeSilkTouched() const; +#endif + MCAPI PistonArmBlock(std::string const &, int, enum PistonBlock::Type); + +//private: + MCAPI void _getCollisions(class AABB &, class AABB &, class AABB &, unsigned char) const; + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/PistonBlock.hpp b/LiteLoader/Header/MC/PistonBlock.hpp new file mode 100644 index 0000000..ccb98b3 --- /dev/null +++ b/LiteLoader/Header/MC/PistonBlock.hpp @@ -0,0 +1,203 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "ActorBlock.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class PistonBlock : public ActorBlock { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_PISTONBLOCK +public: + class PistonBlock& operator=(class PistonBlock const &) = delete; + PistonBlock(class PistonBlock const &) = delete; + PistonBlock() = delete; +#endif + +public: + /*0*/ virtual ~PistonBlock(); + /*1*/ virtual void onRedstoneUpdate(class BlockSource &, class BlockPos const &, int, bool) const; + /*2*/ virtual class Block const & getStateFromLegacyData(unsigned short) const; + /*3*/ virtual class std::shared_ptr newBlockEntity(class BlockPos const &, class Block const &) const; + /*4*/ virtual class Block const * getNextBlockPermutation(class Block const &) const; + /*5*/ virtual bool getCollisionShape(class AABB &, class Block const &, class BlockSource &, class BlockPos const &, class Actor *) const; + /*6*/ virtual bool isObstructingChests(class BlockSource &, class BlockPos const &) const; + /*7*/ virtual void __unk_vfn_7(); + /*8*/ virtual class Vec3 randomlyModifyPosition(class BlockPos const &, int &) const; + /*9*/ virtual void addAABBs(class Block const &, class BlockSource &, class BlockPos const &, class AABB const *, std::vector &) const; + /*10*/ virtual class AABB const & getAABB(class BlockSource &, class BlockPos const &, class Block const &, class AABB &, bool) const; + /*11*/ virtual bool addCollisionShapes(class Block const &, class BlockSource &, class BlockPos const &, class AABB const *, std::vector &, class Actor *) const; + /*12*/ virtual class AABB const & getOutline(class BlockSource &, class BlockPos const &, class AABB &) const; + /*13*/ virtual bool getLiquidClipVolume(class BlockSource &, class BlockPos const &, class AABB &) const; + /*14*/ virtual void __unk_vfn_14(); + /*15*/ virtual void __unk_vfn_15(); + /*16*/ virtual struct Brightness getLightEmission(class Block const &) const; + /*17*/ virtual bool shouldRandomTick() const; + /*18*/ virtual void __unk_vfn_18(); + /*19*/ virtual void __unk_vfn_19(); + /*20*/ virtual void __unk_vfn_20(); + /*21*/ virtual void __unk_vfn_21(); + /*22*/ virtual bool canConnect(class Block const &, unsigned char, class Block const &) const; + /*23*/ virtual void getConnectedDirections(class Block const &, class BlockPos const &, class BlockSource &, bool &, bool &, bool &, bool &) const; + /*24*/ virtual void __unk_vfn_24(); + /*25*/ virtual void __unk_vfn_25(); + /*26*/ virtual void __unk_vfn_26(); + /*27*/ virtual void __unk_vfn_27(); + /*28*/ virtual void __unk_vfn_28(); + /*29*/ virtual bool isWaterBlocking() const; + /*30*/ virtual void __unk_vfn_30(); + /*31*/ virtual void __unk_vfn_31(); + /*32*/ virtual void __unk_vfn_32(); + /*33*/ virtual void __unk_vfn_33(); + /*34*/ virtual void __unk_vfn_34(); + /*35*/ virtual void __unk_vfn_35(); + /*36*/ virtual void __unk_vfn_36(); + /*37*/ virtual void __unk_vfn_37(); + /*38*/ virtual void __unk_vfn_38(); + /*39*/ virtual void __unk_vfn_39(); + /*40*/ virtual void __unk_vfn_40(); + /*41*/ virtual bool canHurtAndBreakItem() const; + /*42*/ virtual void __unk_vfn_42(); + /*43*/ virtual void __unk_vfn_43(); + /*44*/ virtual bool isValidAuxValue(int) const; + /*45*/ virtual void __unk_vfn_45(); + /*46*/ virtual class Block const & sanitizeFillBlock(class BlockSource &, class BlockPos const &, class Block const &) const; + /*47*/ virtual void __unk_vfn_47(); + /*48*/ virtual void __unk_vfn_48(); + /*49*/ virtual void __unk_vfn_49(); + /*50*/ virtual void __unk_vfn_50(); + /*51*/ virtual bool shouldConnectToRedstone(class BlockSource &, class BlockPos const &, int) const; + /*52*/ virtual void __unk_vfn_52(); + /*53*/ virtual bool canBeUsedInCommands(bool, class BaseGameVersion const &) const; + /*54*/ virtual float getThickness() const; + /*55*/ virtual void __unk_vfn_55(); + /*56*/ virtual bool checkIsPathable(class Actor &, class BlockPos const &, class BlockPos const &) const; + /*57*/ virtual void __unk_vfn_57(); + /*58*/ virtual void __unk_vfn_58(); + /*59*/ virtual void onPlace(class BlockSource &, class BlockPos const &) const; + /*60*/ virtual void __unk_vfn_60(); + /*61*/ virtual void __unk_vfn_61(); + /*62*/ virtual void __unk_vfn_62(); + /*63*/ virtual void onFallOn(class BlockSource &, class BlockPos const &, class Actor &, float) const; + /*64*/ virtual void __unk_vfn_64(); + /*65*/ virtual void __unk_vfn_65(); + /*66*/ virtual void __unk_vfn_66(); + /*67*/ virtual void __unk_vfn_67(); + /*68*/ virtual void __unk_vfn_68(); + /*69*/ virtual void __unk_vfn_69(); + /*70*/ virtual void setupRedstoneComponent(class BlockSource &, class BlockPos const &) const; + /*71*/ virtual enum BlockProperty getRedstoneProperty(class BlockSource &, class BlockPos const &) const; + /*72*/ virtual void updateEntityAfterFallOn(class BlockSource &, class BlockPos const &, class Actor &) const; + /*73*/ virtual void __unk_vfn_73(); + /*74*/ virtual void __unk_vfn_74(); + /*75*/ virtual void __unk_vfn_75(); + /*76*/ virtual void __unk_vfn_76(); + /*77*/ virtual void __unk_vfn_77(); + /*78*/ virtual bool mayPick(class BlockSource &, class Block const &, bool) const; + /*79*/ virtual void __unk_vfn_79(); + /*80*/ virtual bool mayPlace(class BlockSource &, class BlockPos const &) const; + /*81*/ virtual void __unk_vfn_81(); + /*82*/ virtual void __unk_vfn_82(); + /*83*/ virtual bool tryToPlace(class BlockSource &, class BlockPos const &, class Block const &, struct ActorBlockSyncMessage const *) const; + /*84*/ virtual void __unk_vfn_84(); + /*85*/ virtual void __unk_vfn_85(); + /*86*/ virtual bool playerWillDestroy(class Player &, class BlockPos const &, class Block const &) const; + /*87*/ virtual void __unk_vfn_87(); + /*88*/ virtual void neighborChanged(class BlockSource &, class BlockPos const &, class BlockPos const &) const; + /*89*/ virtual bool getSecondPart(class BlockSource &, class BlockPos const &, class BlockPos &) const; + /*90*/ virtual void __unk_vfn_90(); + /*91*/ virtual class ItemInstance getResourceItem(class Random &, class Block const &, int) const; + /*92*/ virtual class ItemInstance asItemInstance(class BlockSource &, class BlockPos const &, class Block const &) const; + /*93*/ virtual void spawnResources(class BlockSource &, class BlockPos const &, class Block const &, std::vector *, float, int, bool) const; + /*94*/ virtual void trySpawnResourcesOnExplosion(class BlockSource &, class BlockPos const &, class Block const &, std::vector *, float, int, bool) const; + /*95*/ virtual void __unk_vfn_95(); + /*96*/ virtual void __unk_vfn_96(); + /*97*/ virtual class HitResult clip(class BlockSource &, class BlockPos const &, class Vec3 const &, class Vec3 const &, bool) const; + /*98*/ virtual void __unk_vfn_98(); + /*99*/ virtual class Block const & getPlacementBlock(class Actor &, class BlockPos const &, unsigned char, class Vec3 const &, int) const; + /*100*/ virtual int calcVariant(class BlockSource &, class BlockPos const &) const; + /*101*/ virtual void __unk_vfn_101(); + /*102*/ virtual void __unk_vfn_102(); + /*103*/ virtual void __unk_vfn_103(); + /*104*/ virtual void __unk_vfn_104(); + /*105*/ virtual void playerDestroy(class Player &, class BlockPos const &, class Block const &) const; + /*106*/ virtual void __unk_vfn_106(); + /*107*/ virtual void __unk_vfn_107(); + /*108*/ virtual bool canBeBuiltOver(class BlockSource &, class BlockPos const &) const; + /*109*/ virtual void triggerEvent(class BlockSource &, class BlockPos const &, int, int) const; + /*110*/ virtual void __unk_vfn_110(); + /*111*/ virtual void __unk_vfn_111(); + /*112*/ virtual class MobSpawnerData const * getMobToSpawn(class SpawnConditions const &, class BlockSource &) const; + /*113*/ virtual void __unk_vfn_113(); + /*114*/ virtual void __unk_vfn_114(); + /*115*/ virtual bool shouldStopFalling(class Actor &) const; + /*116*/ virtual void __unk_vfn_116(); + /*117*/ virtual float calcGroundFriction(class Mob &, class BlockPos const &) const; + /*118*/ virtual void __unk_vfn_118(); + /*119*/ virtual void __unk_vfn_119(); + /*120*/ virtual void __unk_vfn_120(); + /*121*/ virtual bool canSlide(class BlockSource &, class BlockPos const &) const; + /*122*/ virtual void __unk_vfn_122(); + /*123*/ virtual void __unk_vfn_123(); + /*124*/ virtual void __unk_vfn_124(); + /*125*/ virtual void __unk_vfn_125(); + /*126*/ virtual void __unk_vfn_126(); + /*127*/ virtual void __unk_vfn_127(); + /*128*/ virtual void __unk_vfn_128(); + /*129*/ virtual void __unk_vfn_129(); + /*130*/ virtual void __unk_vfn_130(); + /*131*/ virtual void __unk_vfn_131(); + /*132*/ virtual int getColorForParticle(class BlockSource &, class BlockPos const &, class Block const &) const; + /*133*/ virtual void __unk_vfn_133(); + /*134*/ virtual void onGraphicsModeChanged(bool, bool, bool); + /*135*/ virtual void __unk_vfn_135(); + /*136*/ virtual float getShadeBrightness() const; + /*137*/ virtual class AABB const & getVisualShapeInWorld(class Block const &, class BlockSource &, class BlockPos const &, class AABB &, bool) const; + /*138*/ virtual class AABB const & getVisualShape(class Block const &, class AABB &, bool) const; + /*139*/ virtual class AABB const & getUIShape(class Block const &, class AABB &) const; + /*140*/ virtual int telemetryVariant(class BlockSource &, class BlockPos const &) const; + /*141*/ virtual void __unk_vfn_141(); + /*142*/ virtual void __unk_vfn_142(); + /*143*/ virtual class Block const & getRenderBlock() const; + /*144*/ virtual unsigned char getMappedFace(unsigned char, class Block const &) const; + /*145*/ virtual void __unk_vfn_145(); + /*146*/ virtual void __unk_vfn_146(); + /*147*/ virtual class BlockLegacy & init(); + /*148*/ virtual class BlockLegacy & setLightBlock(struct Brightness); + /*149*/ virtual class BlockLegacy & setLightEmission(float); + /*150*/ virtual class BlockLegacy & setExplodeable(float); + /*151*/ virtual class BlockLegacy & setDestroyTime(float); + /*152*/ virtual class BlockLegacy & setFriction(float); + /*153*/ virtual class BlockLegacy & addProperty(enum BlockProperty); + /*154*/ virtual class BlockLegacy & addState(class ItemState const &); + /*155*/ virtual class BlockLegacy & addState(class ItemState const &, unsigned __int64); + /*156*/ virtual class BlockLegacy & setAllowsRunes(bool); + /*157*/ virtual class BlockLegacy & setMapColor(class Color const &); + /*158*/ virtual void __unk_vfn_158(); + /*159*/ virtual void __unk_vfn_159(); + /*160*/ virtual void setVisualShape(class AABB const &); + /*161*/ virtual void setVisualShape(class Vec3 const &, class Vec3 const &); + /*162*/ virtual void __unk_vfn_162(); + /*163*/ virtual void __unk_vfn_163(); + /*164*/ virtual class ItemInstance getEntityResourceItem(class Random &, class BlockActor const &, int) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_PISTONBLOCK + MCVAPI bool breaksFallingBlocks(class Block const &) const; + MCVAPI bool canContainLiquid() const; + MCVAPI bool canProvideSupport(class Block const &, unsigned char, enum BlockSupportType) const; + MCVAPI int getVariant(class Block const &) const; + MCVAPI bool pushesUpFallingBlocks() const; +#endif + MCAPI PistonBlock(std::string const &, int, enum PistonBlock::Type); + +//private: + +private: + MCAPI static class BlockPos const ARM_DIRECTION_OFFSETS[]; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/PistonBlockActor.hpp b/LiteLoader/Header/MC/PistonBlockActor.hpp new file mode 100644 index 0000000..bb0cdee --- /dev/null +++ b/LiteLoader/Header/MC/PistonBlockActor.hpp @@ -0,0 +1,62 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "BlockActor.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class PistonBlockActor : public BlockActor { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_PISTONBLOCKACTOR +public: + class PistonBlockActor& operator=(class PistonBlockActor const &) = delete; + PistonBlockActor(class PistonBlockActor const &) = delete; + PistonBlockActor() = delete; +#endif + +public: + /*0*/ virtual ~PistonBlockActor(); + /*1*/ virtual void load(class Level &, class CompoundTag const &, class DataLoadHelper &); + /*2*/ virtual bool save(class CompoundTag &) const; + /*7*/ virtual void tick(class BlockSource &); + /*13*/ virtual void __unk_vfn_13(); + /*14*/ virtual void onRemoved(class BlockSource &); + /*17*/ virtual void __unk_vfn_17(); + /*28*/ virtual class PistonBlockActor * getOwningPiston(class BlockSource &); + /*29*/ virtual void __unk_vfn_29(); + /*30*/ virtual void __unk_vfn_30(); + /*31*/ virtual float getDeletionDelayTimeSeconds() const; + /*32*/ virtual void __unk_vfn_32(); + /*33*/ virtual void __unk_vfn_33(); + /*34*/ virtual std::unique_ptr _getUpdatePacket(class BlockSource &); + /*35*/ virtual void _onUpdatePacket(class CompoundTag const &, class BlockSource &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_PISTONBLOCKACTOR +#endif + MCAPI void moveEntityLastProgress(class Actor &, class Vec3); + +//protected: + MCAPI bool _shouldWaterlogAttachedBlock(class BlockSource &, class BlockPos const &, class Block const &, class Block const &) const; + +//private: + MCAPI bool _attachedBlockWalker(class BlockSource &, class BlockPos const &, unsigned char, unsigned char); + MCAPI bool _checkAttachedBlocks(class BlockSource &); + MCAPI void _checkInceptionAchievement(class BlockActor &, class BlockSource &, class BlockPos const &); + MCAPI bool _handleSlimeConnections(class BlockSource &, class BlockPos const &, unsigned char, unsigned char); + MCAPI bool _hasBlockAttached(class BlockPos const &); + MCAPI void _moveCollidedEntities(class BlockSource &); + MCAPI void _moveCollidedEntitiesHelper(class BlockSource &, class AABB const &, class BlockPos const &, class Actor *, unsigned int); + MCAPI void _sortAttachedBlocks(class BlockSource &); + MCAPI void _spawnBlocks(class BlockSource &); + MCAPI void _spawnMovingBlocks(class BlockSource &); + +protected: + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/PistonConsumer.hpp b/LiteLoader/Header/MC/PistonConsumer.hpp new file mode 100644 index 0000000..ad711b8 --- /dev/null +++ b/LiteLoader/Header/MC/PistonConsumer.hpp @@ -0,0 +1,35 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "ConsumerComponent.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class PistonConsumer : public ConsumerComponent { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_PISTONCONSUMER +public: + class PistonConsumer& operator=(class PistonConsumer const &) = delete; + PistonConsumer(class PistonConsumer const &) = delete; + PistonConsumer() = delete; +#endif + +public: + /*0*/ virtual ~PistonConsumer(); + /*5*/ virtual void __unk_vfn_5(); + /*10*/ virtual unsigned __int64 getInstanceType() const; + /*12*/ virtual bool addSource(class CircuitSceneGraph &, class CircuitTrackingInfo const &, int &, bool &); + /*13*/ virtual bool allowConnection(class CircuitSceneGraph &, class CircuitTrackingInfo const &, bool &); + /*18*/ virtual void __unk_vfn_18(); + /*21*/ virtual void __unk_vfn_21(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_PISTONCONSUMER + MCVAPI bool consumePowerAnyDirection(); +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/PlaceBlockDefinition.hpp b/LiteLoader/Header/MC/PlaceBlockDefinition.hpp new file mode 100644 index 0000000..69530f7 --- /dev/null +++ b/LiteLoader/Header/MC/PlaceBlockDefinition.hpp @@ -0,0 +1,29 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Json.hpp" +#include "BehaviorDefinition.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class PlaceBlockDefinition : public BehaviorDefinition { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_PLACEBLOCKDEFINITION +public: + class PlaceBlockDefinition& operator=(class PlaceBlockDefinition const &) = delete; + PlaceBlockDefinition(class PlaceBlockDefinition const &) = delete; + PlaceBlockDefinition() = delete; +#endif + +public: + /*0*/ virtual ~PlaceBlockDefinition(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_PLACEBLOCKDEFINITION +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/PlaceBlockNode.hpp b/LiteLoader/Header/MC/PlaceBlockNode.hpp new file mode 100644 index 0000000..1807089 --- /dev/null +++ b/LiteLoader/Header/MC/PlaceBlockNode.hpp @@ -0,0 +1,28 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class PlaceBlockNode { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_PLACEBLOCKNODE +public: + class PlaceBlockNode& operator=(class PlaceBlockNode const &) = delete; + PlaceBlockNode(class PlaceBlockNode const &) = delete; + PlaceBlockNode() = delete; +#endif + +public: + /*0*/ virtual ~PlaceBlockNode(); + /*1*/ virtual enum BehaviorStatus tick(class Actor &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_PLACEBLOCKNODE +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/PlanksBlock.hpp b/LiteLoader/Header/MC/PlanksBlock.hpp new file mode 100644 index 0000000..ba2b410 --- /dev/null +++ b/LiteLoader/Header/MC/PlanksBlock.hpp @@ -0,0 +1,64 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "BlockLegacy.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class PlanksBlock : public BlockLegacy { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_PLANKSBLOCK +public: + class PlanksBlock& operator=(class PlanksBlock const &) = delete; + PlanksBlock(class PlanksBlock const &) = delete; + PlanksBlock() = delete; +#endif + +public: + /*0*/ virtual ~PlanksBlock(); + /*18*/ virtual void __unk_vfn_18(); + /*24*/ virtual void __unk_vfn_24(); + /*25*/ virtual void __unk_vfn_25(); + /*26*/ virtual void __unk_vfn_26(); + /*27*/ virtual void __unk_vfn_27(); + /*28*/ virtual void __unk_vfn_28(); + /*30*/ virtual void __unk_vfn_30(); + /*31*/ virtual void __unk_vfn_31(); + /*32*/ virtual void __unk_vfn_32(); + /*33*/ virtual void __unk_vfn_33(); + /*34*/ virtual void __unk_vfn_34(); + /*35*/ virtual void __unk_vfn_35(); + /*36*/ virtual void __unk_vfn_36(); + /*38*/ virtual void __unk_vfn_38(); + /*39*/ virtual void __unk_vfn_39(); + /*40*/ virtual void __unk_vfn_40(); + /*42*/ virtual void __unk_vfn_42(); + /*43*/ virtual void __unk_vfn_43(); + /*49*/ virtual void __unk_vfn_49(); + /*52*/ virtual void __unk_vfn_52(); + /*67*/ virtual void __unk_vfn_67(); + /*73*/ virtual void __unk_vfn_73(); + /*87*/ virtual void __unk_vfn_87(); + /*91*/ virtual class ItemInstance getResourceItem(class Random &, class Block const &, int) const; + /*95*/ virtual void __unk_vfn_95(); + /*109*/ virtual void __unk_vfn_109(); + /*116*/ virtual void __unk_vfn_116(); + /*118*/ virtual void __unk_vfn_118(); + /*119*/ virtual void __unk_vfn_119(); + /*127*/ virtual std::string buildDescriptionId(class Block const &) const; + /*128*/ virtual bool isAuxValueRelevantForPicking() const; + /*142*/ virtual void __unk_vfn_142(); + /*158*/ virtual void __unk_vfn_158(); + /*159*/ virtual class ItemInstance getSilkTouchItemInstance(class Block const &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_PLANKSBLOCK +#endif + MCAPI static class std::array const WOOD_NAMES; + MCAPI static class Color const getWoodMaterialColor(enum WoodType); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/PlayGoal.hpp b/LiteLoader/Header/MC/PlayGoal.hpp new file mode 100644 index 0000000..f6cd8dd --- /dev/null +++ b/LiteLoader/Header/MC/PlayGoal.hpp @@ -0,0 +1,34 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class PlayGoal { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_PLAYGOAL +public: + class PlayGoal& operator=(class PlayGoal const &) = delete; + PlayGoal(class PlayGoal const &) = delete; + PlayGoal() = delete; +#endif + +public: + /*0*/ virtual ~PlayGoal(); + /*1*/ virtual bool canUse(); + /*2*/ virtual bool canContinueToUse(); + /*3*/ virtual void __unk_vfn_3(); + /*4*/ virtual void start(); + /*5*/ virtual void stop(); + /*6*/ virtual void tick(); + /*7*/ virtual void appendDebugInfo(std::string &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_PLAYGOAL +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/PlaySoundCommand.hpp b/LiteLoader/Header/MC/PlaySoundCommand.hpp new file mode 100644 index 0000000..780339e --- /dev/null +++ b/LiteLoader/Header/MC/PlaySoundCommand.hpp @@ -0,0 +1,30 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Command.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class PlaySoundCommand : public Command { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_PLAYSOUNDCOMMAND +public: + class PlaySoundCommand& operator=(class PlaySoundCommand const &) = delete; + PlaySoundCommand(class PlaySoundCommand const &) = delete; + PlaySoundCommand() = delete; +#endif + +public: + /*0*/ virtual ~PlaySoundCommand(); + /*1*/ virtual void execute(class CommandOrigin const &, class CommandOutput &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_PLAYSOUNDCOMMAND +#endif + MCAPI static void setup(class CommandRegistry &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/PlaySoundPacket.hpp b/LiteLoader/Header/MC/PlaySoundPacket.hpp new file mode 100644 index 0000000..3a99ef4 --- /dev/null +++ b/LiteLoader/Header/MC/PlaySoundPacket.hpp @@ -0,0 +1,33 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Packet.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class PlaySoundPacket : public Packet { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_PLAYSOUNDPACKET +public: + class PlaySoundPacket& operator=(class PlaySoundPacket const &) = delete; + PlaySoundPacket(class PlaySoundPacket const &) = delete; + PlaySoundPacket() = delete; +#endif + +public: + /*0*/ virtual ~PlaySoundPacket(); + /*1*/ virtual enum MinecraftPacketIds getId() const; + /*2*/ virtual std::string getName() const; + /*3*/ virtual void write(class BinaryStream &) const; + /*4*/ virtual enum StreamReadResult read(class ReadOnlyBinaryStream &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_PLAYSOUNDPACKET +#endif + MCAPI PlaySoundPacket(std::string, class Vec3 const &, float, float); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/PlaySoundReactionComponent.hpp b/LiteLoader/Header/MC/PlaySoundReactionComponent.hpp new file mode 100644 index 0000000..d1542d5 --- /dev/null +++ b/LiteLoader/Header/MC/PlaySoundReactionComponent.hpp @@ -0,0 +1,30 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class PlaySoundReactionComponent { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_PLAYSOUNDREACTIONCOMPONENT +public: + class PlaySoundReactionComponent& operator=(class PlaySoundReactionComponent const &) = delete; + PlaySoundReactionComponent(class PlaySoundReactionComponent const &) = delete; + PlaySoundReactionComponent() = delete; +#endif + +public: + /*0*/ virtual ~PlaySoundReactionComponent(); + /*1*/ virtual void __unk_vfn_1(); + /*2*/ virtual void __unk_vfn_2(); + /*3*/ virtual void _onEnd(class LabTableReaction &, class BlockSource &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_PLAYSOUNDREACTIONCOMPONENT +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/PlayStatusPacket.hpp b/LiteLoader/Header/MC/PlayStatusPacket.hpp new file mode 100644 index 0000000..cf21718 --- /dev/null +++ b/LiteLoader/Header/MC/PlayStatusPacket.hpp @@ -0,0 +1,32 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Packet.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class PlayStatusPacket : public Packet { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_PLAYSTATUSPACKET +public: + class PlayStatusPacket& operator=(class PlayStatusPacket const &) = delete; + PlayStatusPacket(class PlayStatusPacket const &) = delete; + PlayStatusPacket() = delete; +#endif + +public: + /*0*/ virtual ~PlayStatusPacket(); + /*1*/ virtual enum MinecraftPacketIds getId() const; + /*2*/ virtual std::string getName() const; + /*3*/ virtual void write(class BinaryStream &) const; + /*4*/ virtual enum StreamReadResult read(class ReadOnlyBinaryStream &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_PLAYSTATUSPACKET +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/Player.hpp b/LiteLoader/Header/MC/Player.hpp new file mode 100644 index 0000000..79a68df --- /dev/null +++ b/LiteLoader/Header/MC/Player.hpp @@ -0,0 +1,474 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Actor.hpp" +#include "Mob.hpp" + +#define BEFORE_EXTRA +// Add include headers & pre-declares +class ServerPlayer; +class Player; +class NetworkIdentifier; +class Certificate; +class Container; +class CompoundTag; +//#include "UserEntityIdentifierComponent.hpp" +#include "ScorePacketInfo.hpp" +#include "DataItem.hpp" +#include "../I18nAPI.h" +#undef BEFORE_EXTRA + +class Player : public Mob { + +#define AFTER_EXTRA + // Add new members to class +public: + enum PositionMode : char { + NORMAL, + RESPAWN, + TELEPORT, + HEAD_ROTATION, + }; + + LIAPI std::string getName(); + LIAPI std::string getRealName(); + LIAPI std::string getUuid(); + LIAPI std::string getXuid(); + LIAPI unsigned char getClientSubId(); + LIAPI string getDeviceTypeName(); + LIAPI int getAvgPing(); + LIAPI int getLastPing(); + LIAPI std::string getIP(); + LIAPI string getLanguageCode(); + LIAPI string getServerAddress(); + LIAPI NetworkIdentifier* getNetworkIdentifier(); + LIAPI Certificate* getCertificate(); + LIAPI Container* getEnderChestContainer(); + LIAPI std::pair getRespawnPosition(); + LIAPI float getAvgPacketLoss(); + LIAPI float getLastPacketLoss(); + LIAPI string getClientId(); + LIAPI int getDeviceType(); + LIAPI bool isOperator(); + LIAPI bool isOP(); + + LIAPI int getCurrentExperience(); + LIAPI bool setCurrentExperience(int exp); + LIAPI size_t getTotalExperience(); + LIAPI bool setTotalExperience(size_t exp); + LIAPI bool reduceExperience(size_t exp); + + // Experience required to upgrade to level from (level-1) + LIAPI static int getXpNeededForLevel(int level); + + // Experience required to upgrade to level from level 0 + LIAPI static size_t getTotalXpNeededForLevel(int level); + + /** + * @brief Translate(localize) a text for the player with provided plugin handle. + * + * @param hPlugin The plugin handle + * @param format The str to translate and format + * @param args The format arguments + * @return std::string The translated str + */ + template + inline std::string trImpl(HMODULE hPlugin, const std::string& format, Args&&... args) { + return Translation::trlImpl(hPlugin, this->getLanguageCode(), format, std::forward(args)...); + } + + /** + * @brief Translate(localize) a text for the player(convenience func). + * + * @param format The str to translate and format + * @param args The format arguments + * @return std::string The translated str + */ + template + inline std::string tr(const std::string& format, Args&&... args) { + return trImpl(GetCurrentModule(), format, std::forward(args)...); + } + + LIAPI bool sendText(const std::string& text, TextType type = TextType::RAW); + /** + * @brief Translate(localize) and send a text to the player(convenience func). + * + * @tparam ttype The text type(default RAW) + * @tparam Args ... + * @param text The str to translate and format + * @param args The format arguments + * @return bool Success or not + */ + template + inline bool sendText(const std::string& text, Args&&... args) { + return sendText(this->tr(text, std::forward(args)...), ttype); + } + template + inline bool sendFormattedText(const std::string& text, Args&&... args) { + if constexpr (0 == sizeof...(args)) { + // Avoid fmt if only one argument + return sendText(text); + } else { + return sendText(fmt::format(text, std::forward(args)...)); + } + } + + LIAPI bool kick(const string& msg); + LIAPI bool crashClient(); + LIAPI bool talkAs(const string& msg); + LIAPI bool giveItem(ItemStack* item); + LIAPI int clearItem(string typeName); + LIAPI bool runcmd(const string& cmd); + LIAPI bool transferServer(const string& address, unsigned short port); + LIAPI bool setSidebar(const std::string& title, const std::vector>& data, ObjectiveSortOrder sortOrder); + LIAPI bool removeSidebar(); + LIAPI std::unique_ptr getNbt(); + LIAPI bool setNbt(CompoundTag* nbt); + LIAPI bool refreshAttribute(class Attribute const& attribute); + LIAPI bool refreshAttributes(std::vector const& attributes); + //LIAPI void addBossEvent(int64_t uid, string name, float percent, BossEventColour colour, int overlay = 0); + LIAPI void removeBossEvent(int64_t uid); + LIAPI void updateBossEvent(int64_t uid, string name, float percent, BossEventColour colour, int overlay = 0); + + LIAPI int getScore(const string& key); + LIAPI bool setScore(const string& key, int value); + LIAPI bool addScore(const string& key, int value); + LIAPI bool reduceScore(const string& key, int value); + LIAPI bool deleteScore(const string& key); + + // Form + LIAPI bool sendSimpleForm(const string& title, const string& content, const vector& buttons, const std::vector& images, std::function callback) const; + LIAPI bool sendModalForm(const string& title, const string& content, const string& confirmButton, const string& cancelButton, std::function callback) const; + LIAPI bool sendCustomForm(const std::string& data, std::function callback) const; + + // Packet + LIAPI bool sendTextPacket(string text, TextType Type = TextType::RAW) const; + LIAPI bool sendTitlePacket(string text, TitleType Type, int FadeInDuration, int RemainDuration, int FadeOutDuration) const; + LIAPI bool sendNotePacket(unsigned int tone); + LIAPI bool sendSpawnParticleEffectPacket(Vec3 spawnPos, int dimid, string ParticleName, int64_t EntityUniqueID = -1) const; + /*bad*/ LIAPI bool sendPlaySoundPacket(string SoundName, Vec3 Position, float Volume, float Pitch) const; + //LIAPI bool sendAddItemEntityPacket(unsigned long long runtimeID, class Item const& item, int stackSize, short aux, Vec3 pos, vector> dataItems = {}) const; + //LIAPI bool sendAddEntityPacket(unsigned long long runtimeID, string entityType, Vec3 pos, Vec2 rotation, float headYaw, vector> dataItems = {}); + LIAPI bool sendUpdateBlockPacket(BlockPos const& blockPos, unsigned int runtimeId, UpdateBlockFlags flag = UpdateBlockFlags::BlockUpdateAll, UpdateBlockLayer layer = UpdateBlockLayer::UpdateBlockDefault); + LIAPI bool sendUpdateBlockPacket(BlockPos const& blockPos, const Block& block, UpdateBlockFlags flag = UpdateBlockFlags::BlockUpdateAll, UpdateBlockLayer layer = UpdateBlockLayer::UpdateBlockDefault); + //LIAPI bool sendTransferPacket(const string& address, short port) const; + LIAPI bool sendSetDisplayObjectivePacket(const string& title, const string& name, char sortOrder) const; + LIAPI bool sendSetScorePacket(char type, const vector& data); + //LIAPI bool sendBossEventPacket(BossEvent type, string name, float percent, BossEventColour colour, int overlay = 0); + LIAPI bool sendCommandRequestPacket(const string& cmd); + LIAPI bool sendTextTalkPacket(const string& msg); + LIAPI bool sendTextTalkPacket(const string& msg, Player* target /* = nullptr*/); + + LIAPI bool sendRawFormPacket(unsigned formId, const string& data) const; + LIAPI bool sendToastPacket(string title, string msg); + + LIAPI static bool isValid(Player* player); + + // For compatibility + inline string getDeviceName() { + return getDeviceTypeName(); + } + LIAPI bool sendSimpleFormPacket(const string& title, const string& content, const vector& buttons, const std::vector& images, std::function callback) const; + LIAPI bool sendModalFormPacket(const string& title, const string& content, const string& button1, const string& button2, std::function callback); + LIAPI bool sendCustomFormPacket(const std::string& data, std::function callback); + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_PLAYER +public: + class Player& operator=(class Player const &) = delete; + Player(class Player const &) = delete; + Player() = delete; +#endif + +public: + /*1*/ virtual void reloadHardcoded(enum Actor::InitializationMethod, class VariantParameterList const &); + /*3*/ virtual void initializeComponents(enum Actor::InitializationMethod, class VariantParameterList const &); + /*5*/ virtual void _serverInitItemStackIds(); + /*7*/ virtual ~Player(); + /*11*/ virtual void remove(); + /*16*/ virtual class Vec3 getAttachPos(enum ActorLocation, float) const; + /*19*/ virtual void move(class Vec3 const &); + /*30*/ virtual void __unk_vfn_30(); + /*33*/ virtual void teleportTo(class Vec3 const &, bool, int, int, struct ActorUniqueID const &); + /*38*/ virtual std::unique_ptr getAddPacket(); + /*39*/ virtual void normalTick(); + /*41*/ virtual void rideTick(); + /*43*/ virtual float getRidingHeight(); + /*54*/ virtual void __unk_vfn_54(); + /*58*/ virtual std::string getFormattedNameTag() const; + /*61*/ virtual void __unk_vfn_61(); + /*72*/ virtual float getCameraOffset() const; + /*76*/ virtual void __unk_vfn_76(); + /*81*/ virtual void __unk_vfn_81(); + /*85*/ virtual bool isImmobile() const; + /*88*/ virtual void __unk_vfn_88(); + /*89*/ virtual bool isSleeping() const; + /*90*/ virtual void __unk_vfn_90(); + /*93*/ virtual bool isBlocking() const; + /*94*/ virtual bool isDamageBlocked(class ActorDamageSource const &) const; + /*98*/ virtual void __unk_vfn_98(); + /*100*/ virtual void __unk_vfn_100(); + /*105*/ virtual bool attack(class Actor &); + /*107*/ virtual void adjustDamageAmount(int &) const; + /*119*/ virtual bool isJumping() const; + /*121*/ virtual void __unk_vfn_121(); + /*124*/ virtual bool isInvulnerableTo(class ActorDamageSource const &) const; + /*126*/ virtual void actuallyHurt(int, class ActorDamageSource const &, bool); + /*130*/ virtual void onBounceStarted(class BlockPos const &, class Block const &); + /*131*/ virtual void feed(int); + /*132*/ virtual void handleEntityEvent(enum ActorEvent, int); + /*134*/ virtual class HashedString const & getActorRendererId() const; + /*142*/ virtual void awardKillScore(class Actor &, int); + /*143*/ virtual void setArmor(enum ArmorSlot, class ItemStack const &); + /*150*/ virtual class ItemStack const & getCarriedItem() const; + /*151*/ virtual void setCarriedItem(class ItemStack const &); + /*152*/ virtual void setOffhandSlot(class ItemStack const &); + /*153*/ virtual class ItemStack const & getEquippedTotem() const; + /*154*/ virtual bool consumeTotem(); + /*159*/ virtual enum ActorType getEntityTypeId() const; + /*165*/ virtual int getPortalCooldown() const; + /*166*/ virtual int getPortalWaitTime() const; + /*169*/ virtual void __unk_vfn_169(); + /*177*/ virtual void onSynchedDataUpdate(int); + /*178*/ virtual bool canAddRider(class Actor &) const; + /*180*/ virtual bool canBePulledIntoVehicle() const; + /*182*/ virtual void __unk_vfn_182(); + /*184*/ virtual void sendMotionPacketIfNeeded(); + /*187*/ virtual void startSwimming(); + /*188*/ virtual void stopSwimming(); + /*190*/ virtual enum CommandPermissionLevel getCommandPermissionLevel() const; + /*202*/ virtual class AnimationComponent & getAnimationComponent(); + /*205*/ virtual void useItem(class ItemStack &, enum ItemUseMethod, bool); + /*206*/ virtual void __unk_vfn_206(); + /*207*/ virtual void __unk_vfn_207(); + /*209*/ virtual float getMapDecorationRotation() const; + /*212*/ virtual bool isWorldBuilder(); + /*213*/ virtual bool isCreative() const; + /*214*/ virtual bool isAdventure() const; + /*215*/ virtual bool add(class ItemStack &); + /*216*/ virtual bool drop(class ItemStack const &, bool); + /*225*/ virtual void startSpinAttack(); + /*226*/ virtual void stopSpinAttack(); + /*228*/ virtual void __unk_vfn_228(); + /*231*/ virtual void __unk_vfn_231(); + /*233*/ virtual void die(class ActorDamageSource const &); + /*238*/ virtual void __unk_vfn_238(); + /*240*/ virtual bool _hurt(class ActorDamageSource const &, int, bool, bool); + /*242*/ virtual void readAdditionalSaveData(class CompoundTag const &, class DataLoadHelper &); + /*243*/ virtual void addAdditionalSaveData(class CompoundTag &); + /*246*/ virtual void __unk_vfn_246(); + /*256*/ virtual void _onSizeUpdated(); + /*257*/ virtual void __unk_vfn_257(); + /*261*/ virtual void setSleeping(bool); + /*269*/ virtual float getSpeed() const; + /*270*/ virtual void setSpeed(float); + /*275*/ virtual void travel(float, float, float); + /*278*/ virtual void aiStep(); + /*285*/ virtual int getItemUseDuration(); + /*286*/ virtual float getItemUseStartupProgress(); + /*287*/ virtual float getItemUseIntervalProgress(); + /*290*/ virtual void __unk_vfn_290(); + /*300*/ virtual void __unk_vfn_300(); + /*316*/ virtual std::vector getAllHand() const; + /*317*/ virtual std::vector getAllEquipment() const; + /*319*/ virtual void dropEquipment(class ActorDamageSource const &, int); + /*320*/ virtual void dropEquipment(); + /*321*/ virtual void clearVanishEnchantedItems(); + /*322*/ virtual void sendInventory(bool); + /*331*/ virtual bool canExistWhenDisallowMob() const; + /*332*/ virtual void __unk_vfn_332(); + /*336*/ virtual std::unique_ptr initBodyControl(); + /*337*/ virtual void jumpFromGround(); + /*338*/ virtual void updateAi(); + /*347*/ virtual void updateGliding(); + /*348*/ virtual void __unk_vfn_348(); + /*349*/ virtual void prepareRegion(class ChunkSource &); + /*350*/ virtual void destroyRegion(); + /*351*/ virtual void suspendRegion(); + /*352*/ virtual void _fireWillChangeDimension(); + /*353*/ virtual void _fireDimensionChanged(); + /*354*/ virtual void changeDimensionWithCredits(class AutomaticID); + /*355*/ virtual int tickWorld(struct Tick const &); + /*356*/ virtual void __unk_vfn_356() = 0; + /*357*/ virtual std::vector const & getTickingOffsets() const; + /*358*/ virtual void moveView(); + /*359*/ virtual void setName(std::string const &); + /*360*/ virtual void checkMovementStats(class Vec3 const &); + /*361*/ virtual void __unk_vfn_361(); + /*362*/ virtual void __unk_vfn_362(); + /*363*/ virtual void respawn(); + /*364*/ virtual void __unk_vfn_364(); + /*365*/ virtual void resetPos(bool); + /*366*/ virtual void __unk_vfn_366(); + /*367*/ virtual bool hasResource(int); + /*368*/ virtual void completeUsingItem(); + /*369*/ virtual void setPermissions(enum CommandPermissionLevel); + /*370*/ virtual void startDestroying(); + /*371*/ virtual void stopDestroying(); + /*372*/ virtual void __unk_vfn_372(); + /*373*/ virtual void __unk_vfn_373(); + /*374*/ virtual void openTrading(struct ActorUniqueID const &, bool); + /*375*/ virtual bool canOpenContainerScreen(); + /*376*/ virtual void __unk_vfn_376(); + /*377*/ virtual void __unk_vfn_377(); + /*378*/ virtual void openInventory(); + /*379*/ virtual void __unk_vfn_379(); + /*380*/ virtual void __unk_vfn_380(); + /*381*/ virtual void displayTextObjectMessage(class TextObjectRoot const &); + /*382*/ virtual void displayTextObjectWhisperMessage(class TextObjectRoot const &, std::string const &, std::string const &); + /*383*/ virtual void displayWhisperMessage(std::string const &, std::string const &, std::string const &, std::string const &); + /*384*/ virtual enum BedSleepingResult startSleepInBed(class BlockPos const &); + /*385*/ virtual void stopSleepInBed(bool, bool); + /*386*/ virtual bool canStartSleepInBed(); + /*387*/ virtual int getSleepTimer() const; + /*388*/ virtual int getPreviousTickSleepTimer() const; + /*389*/ virtual void __unk_vfn_389(); + /*390*/ virtual void __unk_vfn_390(); + /*391*/ virtual void __unk_vfn_391(); + /*392*/ virtual bool isHostingPlayer() const; + /*393*/ virtual bool isLoading() const; + /*394*/ virtual bool isPlayerInitialized() const; + /*395*/ virtual void __unk_vfn_395(); + /*396*/ virtual void registerTrackedBoss(struct ActorUniqueID); + /*397*/ virtual void unRegisterTrackedBoss(struct ActorUniqueID); + /*398*/ virtual void setPlayerGameType(enum GameType); + /*399*/ virtual void _crit(class Actor &); + /*400*/ virtual class IMinecraftEventing * getEventing() const; + /*401*/ virtual void __unk_vfn_401(); + /*402*/ virtual void sendEventPacket(class EventPacket &) const; + /*403*/ virtual void addExperience(int); + /*404*/ virtual void addLevels(int); + /*405*/ virtual void setContainerData(class IContainerManager &, int, int) = 0; + /*406*/ virtual void slotChanged(class IContainerManager &, class Container &, int, class ItemStack const &, class ItemStack const &, bool) = 0; + /*407*/ virtual void inventoryChanged(class Container &, int, class ItemStack const &, class ItemStack const &, bool); + /*408*/ virtual void refreshContainer(class IContainerManager &) = 0; + /*409*/ virtual void deleteContainerManager(); + /*410*/ virtual void setFieldOfViewModifier(float); + /*411*/ virtual bool isPositionRelevant(class AutomaticID, class BlockPos const &); + /*412*/ virtual bool isEntityRelevant(class Actor const &); + /*413*/ virtual bool isTeacher() const = 0; + /*414*/ virtual void onSuspension(); + /*415*/ virtual void onLinkedSlotsChanged(); + /*416*/ virtual void startCooldown(class Item const *); + /*417*/ virtual int getItemCooldownLeft(enum CooldownType) const; + /*418*/ virtual bool isItemInCooldown(enum CooldownType) const; + /*419*/ virtual void sendInventoryTransaction(class InventoryTransaction const &) const = 0; + /*420*/ virtual void sendComplexInventoryTransaction(std::unique_ptr) const = 0; + /*421*/ virtual void sendNetworkPacket(class Packet &) const; + /*422*/ virtual class PlayerEventCoordinator & getPlayerEventCoordinator() = 0; + /*423*/ virtual class MoveInputHandler * getMoveInputHandler() = 0; + /*424*/ virtual enum InputMode getInputMode() const = 0; + /*425*/ virtual enum ClientPlayMode getPlayMode() const = 0; + /*426*/ virtual void reportMovementTelemetry(enum MovementEventType); + /*427*/ virtual void onMovePlayerPacketNormal(class Vec3 const &, class Vec2 const &, float); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_PLAYER + MCVAPI void displayChatMessage(std::string const &, std::string const &); + MCVAPI void displayClientMessage(std::string const &); + MCVAPI bool getAlwaysShowNameTag() const; + MCVAPI enum StructureFeatureType getCurrentStructureFeature() const; + MCVAPI unsigned int getUserId() const; + MCVAPI bool isAutoJumpEnabled() const; + MCVAPI bool isCreativeModeAllowed(); + MCVAPI bool isInTrialMode(); + MCVAPI bool isLocalPlayer() const; + MCVAPI bool isShootable(); + MCVAPI void openBook(int, bool, int, class BlockActor *); + MCVAPI void openChalkboard(class ChalkboardBlockActor &, bool); + MCVAPI void openNpcInteractScreen(class Actor &); + MCVAPI void openPortfolio(); + MCVAPI void openSign(class BlockPos const &); + MCVAPI void playEmote(std::string const &); + MCVAPI void resetRot(); + MCVAPI void stopLoading(); + MCVAPI bool useNewAi() const; +#endif + MCAPI Player(class Level &, class PacketSender &, enum GameType, class NetworkIdentifier const &, unsigned char, class mce::UUID, std::string const &, std::unique_ptr, std::string const &, std::string const &); + MCAPI bool canBeSeenOnMap() const; + MCAPI bool canDestroy(class Block const &) const; + MCAPI bool canUseAbility(enum AbilitiesIndex) const; + MCAPI bool canUseOperatorBlocks() const; + MCAPI void causeFoodExhaustion(float); + MCAPI bool checkNeedAutoJump(float, float); + MCAPI void eat(int, float); + MCAPI void fireDimensionChangedEvent(class AutomaticID); + MCAPI class Agent * getAgent() const; + MCAPI class ItemStack const & getCurrentActiveShield() const; + MCAPI float getDestroyProgress(class Block const &) const; + MCAPI float getDestroySpeed(class Block const &) const; + MCAPI int getDirection() const; + MCAPI class EnderChestContainer * getEnderChestContainer(); + MCAPI class AutomaticID getExpectedSpawnDimensionId() const; + MCAPI class BlockPos const & getExpectedSpawnPosition() const; + MCAPI class ItemStack const & getSelectedItem() const; + MCAPI class PlayerInventory & getSupplies(); + MCAPI int getXpNeededForNextLevel() const; + MCAPI void handleJumpEffects(); + MCAPI bool isForcedRespawn() const; + MCAPI bool isHiddenFrom(class Mob &) const; + MCAPI bool isInCreativeMode() const; + MCAPI bool isInRaid() const; + MCAPI bool isSurvival() const; + MCAPI void moveSpawnView(class Vec3 const &, class AutomaticID); + MCAPI void recheckSpawnPosition(); + MCAPI void releaseUsingItem(); + MCAPI void resetPlayerLevel(); + MCAPI void setAgent(class Agent *); + MCAPI void setBedRespawnPosition(class BlockPos const &); + MCAPI void setContainerManager(class std::shared_ptr); + MCAPI void setPlayerUIItem(enum PlayerUISlot, class ItemStack const &); + MCAPI void setRespawnPosition(class BlockPos const &, class AutomaticID); + MCAPI void setRespawnPositionCandidate(); + MCAPI void setSelectedItem(class ItemStack const &); + MCAPI void setSpawnBlockRespawnPosition(class BlockPos const &, class AutomaticID); + MCAPI void startUsingItem(class ItemStack const &, int); + MCAPI void stopGliding(); + MCAPI void stopUsingItem(); + MCAPI bool take(class Actor &, int, int); + MCAPI void updateInventoryTransactions(); + MCAPI void updateSkin(class SerializedSkin const &, int); + MCAPI void updateSpawnChunkView(); + MCAPI void updateTrackedBosses(); + MCAPI void useSelectedItem(enum ItemUseMethod, bool); + MCAPI static float const DISTANCE_TO_TRANSFORM_EVENT; + MCAPI static class Attribute const EXHAUSTION; + MCAPI static class Attribute const EXPERIENCE; + MCAPI static int const GLIDE_STOP_DELAY; + MCAPI static class Attribute const HUNGER; + MCAPI static class Vec3 const INVALID_SPAWN_POS; + MCAPI static class Attribute const LEVEL; + MCAPI static float const PLAYER_DOWN_SWIM_SPEED; + MCAPI static float const PLAYER_SWIMMING_CAMERA_OFFSET; + MCAPI static float const PLAYER_SWIM_FLY_MULTI; + MCAPI static float const PLAYER_UP_SWIM_SPEED; + MCAPI static class Attribute const SATURATION; + MCAPI static bool checkAndFixSpawnPosition(class Vec3 &, std::vector>, class AABB, bool, bool, bool, bool, bool, bool, short); + +//protected: + MCAPI bool _checkAndFixSpawnPosition(class Vec3 &, std::vector>, bool, bool, bool, bool, bool) const; + MCAPI void _chooseSpawnArea(); + MCAPI bool _chooseSpawnPositionWithinArea(); + MCAPI class std::optional _findValidPosWithVerticalSpace(class BlockPos); + MCAPI void _preSpawnBuildSpawnDataCache(); + MCAPI void _registerPlayerAttributes(); + MCAPI void _updateInteraction(); + MCAPI bool _validateSpawnPositionAvailability(class Vec3 const &, class BlockSource *, class Vec3 const *const) const; + MCAPI bool checkBed(class BlockSource *, class Vec3 const *const); + MCAPI bool checkSpawnBlock(class BlockSource const &) const; + MCAPI static bool _isDangerousSpawn(class BlockSource &, class AABB const &); + +//private: + MCAPI void _addLevels(int); + MCAPI bool _blockUsingShield(class ActorDamageSource const &, float); + MCAPI void _ensureSafeSpawnPosition(class Vec3 &); + MCAPI bool _findFallbackSpawnPosition(class Vec3 &, std::vector>, unsigned int); + MCAPI void _handleCarriedItemInteractText(); + MCAPI bool _isChunkSourceLoaded(class Vec3 const &, class BlockSource const &) const; + MCAPI void _registerElytraLoopSound(); + MCAPI void _sendShieldUpdatePacket(class ShieldItem const &, class ItemStack const &, class ItemStack const &, enum ContainerID, int); + +protected: + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/PlayerActionPacket.hpp b/LiteLoader/Header/MC/PlayerActionPacket.hpp new file mode 100644 index 0000000..8880703 --- /dev/null +++ b/LiteLoader/Header/MC/PlayerActionPacket.hpp @@ -0,0 +1,32 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Packet.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class PlayerActionPacket : public Packet { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_PLAYERACTIONPACKET +public: + class PlayerActionPacket& operator=(class PlayerActionPacket const &) = delete; + PlayerActionPacket(class PlayerActionPacket const &) = delete; + PlayerActionPacket() = delete; +#endif + +public: + /*0*/ virtual ~PlayerActionPacket(); + /*1*/ virtual enum MinecraftPacketIds getId() const; + /*2*/ virtual std::string getName() const; + /*3*/ virtual void write(class BinaryStream &) const; + /*4*/ virtual enum StreamReadResult read(class ReadOnlyBinaryStream &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_PLAYERACTIONPACKET +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/PlayerArmorDamagePacket.hpp b/LiteLoader/Header/MC/PlayerArmorDamagePacket.hpp new file mode 100644 index 0000000..c8c125b --- /dev/null +++ b/LiteLoader/Header/MC/PlayerArmorDamagePacket.hpp @@ -0,0 +1,32 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Packet.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class PlayerArmorDamagePacket : public Packet { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_PLAYERARMORDAMAGEPACKET +public: + class PlayerArmorDamagePacket& operator=(class PlayerArmorDamagePacket const &) = delete; + PlayerArmorDamagePacket(class PlayerArmorDamagePacket const &) = delete; + PlayerArmorDamagePacket() = delete; +#endif + +public: + /*0*/ virtual ~PlayerArmorDamagePacket(); + /*1*/ virtual enum MinecraftPacketIds getId() const; + /*2*/ virtual std::string getName() const; + /*3*/ virtual void write(class BinaryStream &) const; + /*4*/ virtual enum StreamReadResult read(class ReadOnlyBinaryStream &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_PLAYERARMORDAMAGEPACKET +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/PlayerAuthInputPacket.hpp b/LiteLoader/Header/MC/PlayerAuthInputPacket.hpp new file mode 100644 index 0000000..afd8188 --- /dev/null +++ b/LiteLoader/Header/MC/PlayerAuthInputPacket.hpp @@ -0,0 +1,32 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Packet.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class PlayerAuthInputPacket : public Packet { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_PLAYERAUTHINPUTPACKET +public: + class PlayerAuthInputPacket& operator=(class PlayerAuthInputPacket const &) = delete; + PlayerAuthInputPacket(class PlayerAuthInputPacket const &) = delete; + PlayerAuthInputPacket() = delete; +#endif + +public: + /*0*/ virtual ~PlayerAuthInputPacket(); + /*1*/ virtual enum MinecraftPacketIds getId() const; + /*2*/ virtual std::string getName() const; + /*3*/ virtual void write(class BinaryStream &) const; + /*4*/ virtual enum StreamReadResult read(class ReadOnlyBinaryStream &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_PLAYERAUTHINPUTPACKET +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/PlayerCommandOrigin.hpp b/LiteLoader/Header/MC/PlayerCommandOrigin.hpp new file mode 100644 index 0000000..f71ad39 --- /dev/null +++ b/LiteLoader/Header/MC/PlayerCommandOrigin.hpp @@ -0,0 +1,46 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Json.hpp" +#include "CommandOrigin.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class PlayerCommandOrigin : public CommandOrigin { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_PLAYERCOMMANDORIGIN +public: + class PlayerCommandOrigin& operator=(class PlayerCommandOrigin const &) = delete; + PlayerCommandOrigin(class PlayerCommandOrigin const &) = delete; + PlayerCommandOrigin() = delete; +#endif + +public: + /*0*/ virtual ~PlayerCommandOrigin(); + /*1*/ virtual std::string const & getRequestId() const; + /*2*/ virtual std::string getName() const; + /*3*/ virtual class BlockPos getBlockPosition() const; + /*4*/ virtual class Vec3 getWorldPosition() const; + /*5*/ virtual class Level * getLevel() const; + /*6*/ virtual class Dimension * getDimension() const; + /*7*/ virtual class Actor * getEntity() const; + /*8*/ virtual enum CommandPermissionLevel getPermissionsLevel() const; + /*9*/ virtual std::unique_ptr clone() const; + /*10*/ virtual class std::optional getCursorHitBlockPos() const; + /*11*/ virtual class std::optional getCursorHitPos() const; + /*14*/ virtual bool canUseAbility(enum AbilitiesIndex) const; + /*17*/ virtual bool isSelectorExpansionAllowed() const; + /*18*/ virtual class NetworkIdentifier const & getSourceId() const; + /*19*/ virtual unsigned char getSourceSubId() const; + /*21*/ virtual enum CommandOriginType getOriginType() const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_PLAYERCOMMANDORIGIN +#endif + MCAPI PlayerCommandOrigin(class Player &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/PlayerDataSystem.hpp b/LiteLoader/Header/MC/PlayerDataSystem.hpp new file mode 100644 index 0000000..c86a71d --- /dev/null +++ b/LiteLoader/Header/MC/PlayerDataSystem.hpp @@ -0,0 +1,28 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Core.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +namespace PlayerDataSystem { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA + MCAPI void forEachIdByPrecedence(struct PlayerStorageIds const &, class std::function); + MCAPI class Core::PathBuffer getPlayerFilename(class Core::Path const &, std::string const &); + MCAPI std::string getServerId(class LevelStorage &, struct PlayerStorageIds const &); + MCAPI std::unique_ptr legacyLoadClientPlayer(std::string const &, class Core::Path const &); + MCAPI std::unique_ptr legacyLoadPlayer(class LevelStorage &, std::string const &); + MCAPI std::unique_ptr loadLostData(class LevelStorage &, struct PlayerStorageIds const &, bool); + MCAPI std::unique_ptr loadPlayerData(class LevelStorage &, struct PlayerStorageIds const &, bool); + MCAPI std::unique_ptr loadPlayerDataFromTag(class LevelStorage &, class gsl::basic_string_span); + MCAPI std::string playerKey(class gsl::basic_string_span); + MCAPI std::string serverKey(class LevelStorage &, class gsl::basic_string_span); + MCAPI std::string serverKey(class LevelStorage &, class Player const &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/PlayerEnchantOptionsPacket.hpp b/LiteLoader/Header/MC/PlayerEnchantOptionsPacket.hpp new file mode 100644 index 0000000..3f56bfa --- /dev/null +++ b/LiteLoader/Header/MC/PlayerEnchantOptionsPacket.hpp @@ -0,0 +1,32 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Packet.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class PlayerEnchantOptionsPacket : public Packet { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_PLAYERENCHANTOPTIONSPACKET +public: + class PlayerEnchantOptionsPacket& operator=(class PlayerEnchantOptionsPacket const &) = delete; + PlayerEnchantOptionsPacket(class PlayerEnchantOptionsPacket const &) = delete; + PlayerEnchantOptionsPacket() = delete; +#endif + +public: + /*0*/ virtual ~PlayerEnchantOptionsPacket(); + /*1*/ virtual enum MinecraftPacketIds getId() const; + /*2*/ virtual std::string getName() const; + /*3*/ virtual void write(class BinaryStream &) const; + /*4*/ virtual enum StreamReadResult read(class ReadOnlyBinaryStream &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_PLAYERENCHANTOPTIONSPACKET +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/PlayerEventCoordinator.hpp b/LiteLoader/Header/MC/PlayerEventCoordinator.hpp new file mode 100644 index 0000000..060f26d --- /dev/null +++ b/LiteLoader/Header/MC/PlayerEventCoordinator.hpp @@ -0,0 +1,27 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class PlayerEventCoordinator { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_PLAYEREVENTCOORDINATOR +public: + class PlayerEventCoordinator& operator=(class PlayerEventCoordinator const &) = delete; + PlayerEventCoordinator(class PlayerEventCoordinator const &) = delete; + PlayerEventCoordinator() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_PLAYEREVENTCOORDINATOR +#endif + MCAPI void sendPlayerOpenContainer(class Player &, enum ContainerType, class BlockPos const &, struct ActorUniqueID); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/PlayerEventListener.hpp b/LiteLoader/Header/MC/PlayerEventListener.hpp new file mode 100644 index 0000000..983c81c --- /dev/null +++ b/LiteLoader/Header/MC/PlayerEventListener.hpp @@ -0,0 +1,61 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class PlayerEventListener { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_PLAYEREVENTLISTENER +public: + class PlayerEventListener& operator=(class PlayerEventListener const &) = delete; + PlayerEventListener(class PlayerEventListener const &) = delete; + PlayerEventListener() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_PLAYEREVENTLISTENER + MCVAPI enum EventResult onLocalPlayerDeath(class IClientInstance &, class LocalPlayer &); + MCVAPI enum EventResult onLocalPlayerRespawn(class IClientInstance &, class LocalPlayer &); + MCVAPI enum EventResult onPlayerAction(class Player &, enum PlayerActionType, class BlockPos const &, int); + MCVAPI enum EventResult onPlayerAttackedActor(class Player &, class Actor &); + MCVAPI enum EventResult onPlayerAwardAchievement(class Player &, enum MinecraftEventing::AchievementIds); + MCVAPI enum EventResult onPlayerCaravanChanged(class Actor const &, int); + MCVAPI enum EventResult onPlayerCraftedItem(class Player &, class ItemInstance const &, bool, bool, bool, int, int, int, bool, bool, std::vector const &); + MCVAPI enum EventResult onPlayerCreated(class LocalPlayer &, std::string const &, std::string const &, bool); + MCVAPI enum EventResult onPlayerDestroyedBlock(class Player &, class BlockLegacy const &); + MCVAPI enum EventResult onPlayerDestroyedBlock(class Player &, int, int, int); + MCVAPI enum EventResult onPlayerEnchantedItem(class Player &, class ItemStack const &, class ItemEnchants const &); + MCVAPI enum EventResult onPlayerEquippedArmor(class Player &, class ItemDescriptor const &); + MCVAPI enum EventResult onPlayerHurt(class Player &, class ActorDamageSource &); + MCVAPI enum EventResult onPlayerInput(class Player &, class MoveInputHandler &); + MCVAPI enum EventResult onPlayerItemEquipped(class Player &, class ItemInstance const &, int); + MCVAPI enum EventResult onPlayerItemPlaceInteraction(class Player &, class ItemInstance const &); + MCVAPI enum EventResult onPlayerItemUseInteraction(class Player &, class ItemInstance const &); + MCVAPI enum EventResult onPlayerMove(class Player &); + MCVAPI enum EventResult onPlayerMovementAnomaly(class Player &, class Vec3 const &, float, float); + MCVAPI enum EventResult onPlayerMovementCorrected(class Player &, class Vec3 const &, float, float); + MCVAPI enum EventResult onPlayerNamedItem(class Player &, class ItemDescriptor const &); + MCVAPI enum EventResult onPlayerOnGround(class Player &); + MCVAPI enum EventResult onPlayerOpenContainer(class Player &, enum ContainerType, class BlockPos const &, struct ActorUniqueID); + MCVAPI enum EventResult onPlayerPiglinBarter(class Player &, std::string const &, bool); + MCVAPI enum EventResult onPlayerPortalBuilt(class Player &, class AutomaticID); + MCVAPI enum EventResult onPlayerPortalUsed(class Player &, class AutomaticID, class AutomaticID); + MCVAPI enum EventResult onPlayerSaved(class Player &); + MCVAPI enum EventResult onPlayerSlide(class Player &); + MCVAPI enum EventResult onPlayerStartRiding(class Player &, class Actor &); + MCVAPI enum EventResult onPlayerStopRiding(class Player &, bool, bool, bool); + MCVAPI enum EventResult onPlayerTargetBlockHit(class Player &, int); + MCVAPI enum EventResult onPlayerTeleported(class Player &); + MCVAPI enum EventResult onPlayerTick(class Player &); + MCVAPI enum EventResult onPlayerTurn(class Player &, class Vec2 &); + MCVAPI enum EventResult onStartDestroyBlock(class Player &, class BlockPos const &, unsigned char &); +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/PlayerHotbarPacket.hpp b/LiteLoader/Header/MC/PlayerHotbarPacket.hpp new file mode 100644 index 0000000..5f1cdc9 --- /dev/null +++ b/LiteLoader/Header/MC/PlayerHotbarPacket.hpp @@ -0,0 +1,32 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Packet.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class PlayerHotbarPacket : public Packet { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_PLAYERHOTBARPACKET +public: + class PlayerHotbarPacket& operator=(class PlayerHotbarPacket const &) = delete; + PlayerHotbarPacket(class PlayerHotbarPacket const &) = delete; + PlayerHotbarPacket() = delete; +#endif + +public: + /*0*/ virtual ~PlayerHotbarPacket(); + /*1*/ virtual enum MinecraftPacketIds getId() const; + /*2*/ virtual std::string getName() const; + /*3*/ virtual void write(class BinaryStream &) const; + /*4*/ virtual enum StreamReadResult read(class ReadOnlyBinaryStream &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_PLAYERHOTBARPACKET +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/PlayerInputPacket.hpp b/LiteLoader/Header/MC/PlayerInputPacket.hpp new file mode 100644 index 0000000..3ad5b35 --- /dev/null +++ b/LiteLoader/Header/MC/PlayerInputPacket.hpp @@ -0,0 +1,32 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Packet.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class PlayerInputPacket : public Packet { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_PLAYERINPUTPACKET +public: + class PlayerInputPacket& operator=(class PlayerInputPacket const &) = delete; + PlayerInputPacket(class PlayerInputPacket const &) = delete; + PlayerInputPacket() = delete; +#endif + +public: + /*0*/ virtual ~PlayerInputPacket(); + /*1*/ virtual enum MinecraftPacketIds getId() const; + /*2*/ virtual std::string getName() const; + /*3*/ virtual void write(class BinaryStream &) const; + /*4*/ virtual enum StreamReadResult read(class ReadOnlyBinaryStream &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_PLAYERINPUTPACKET +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/PlayerInteractionSystem.hpp b/LiteLoader/Header/MC/PlayerInteractionSystem.hpp new file mode 100644 index 0000000..73b4083 --- /dev/null +++ b/LiteLoader/Header/MC/PlayerInteractionSystem.hpp @@ -0,0 +1,27 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class PlayerInteractionSystem { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_PLAYERINTERACTIONSYSTEM +public: + class PlayerInteractionSystem& operator=(class PlayerInteractionSystem const &) = delete; + PlayerInteractionSystem(class PlayerInteractionSystem const &) = delete; + PlayerInteractionSystem() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_PLAYERINTERACTIONSYSTEM +#endif + MCAPI bool getInteraction(class Actor &, class Player &, class ActorInteraction &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/PlayerInventory.hpp b/LiteLoader/Header/MC/PlayerInventory.hpp new file mode 100644 index 0000000..853f225 --- /dev/null +++ b/LiteLoader/Header/MC/PlayerInventory.hpp @@ -0,0 +1,36 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class PlayerInventory { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_PLAYERINVENTORY +public: + class PlayerInventory& operator=(class PlayerInventory const &) = delete; + PlayerInventory(class PlayerInventory const &) = delete; + PlayerInventory() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_PLAYERINVENTORY + MCVAPI void containerContentChanged(int); + MCVAPI void containerSizeChanged(int); + MCVAPI void createTransactionContext(class std::function, class std::function); +#endif + MCAPI int getContainerSize(enum ContainerID) const; + MCAPI int getHotbarSize() const; + MCAPI class ItemStack const & getItem(int, enum ContainerID) const; + MCAPI int getItemCount(class std::function); + MCAPI struct PlayerInventory::SlotData getSelectedSlot() const; + MCAPI void serverInitItemStackIds(int, int, class std::function); + MCAPI void setItem(int, class ItemStack const &, enum ContainerID, bool); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/PlayerListEntry.hpp b/LiteLoader/Header/MC/PlayerListEntry.hpp new file mode 100644 index 0000000..bc1d761 --- /dev/null +++ b/LiteLoader/Header/MC/PlayerListEntry.hpp @@ -0,0 +1,29 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class PlayerListEntry { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_PLAYERLISTENTRY +public: + class PlayerListEntry& operator=(class PlayerListEntry const &) = delete; + PlayerListEntry() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_PLAYERLISTENTRY +#endif + MCAPI PlayerListEntry(class PlayerListEntry const &); + MCAPI bool read(class ReadOnlyBinaryStream &); + MCAPI void write(class BinaryStream &) const; + MCAPI ~PlayerListEntry(); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/PlayerListPacket.hpp b/LiteLoader/Header/MC/PlayerListPacket.hpp new file mode 100644 index 0000000..7f18685 --- /dev/null +++ b/LiteLoader/Header/MC/PlayerListPacket.hpp @@ -0,0 +1,33 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Packet.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class PlayerListPacket : public Packet { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_PLAYERLISTPACKET +public: + class PlayerListPacket& operator=(class PlayerListPacket const &) = delete; + PlayerListPacket(class PlayerListPacket const &) = delete; + PlayerListPacket() = delete; +#endif + +public: + /*0*/ virtual ~PlayerListPacket(); + /*1*/ virtual enum MinecraftPacketIds getId() const; + /*2*/ virtual std::string getName() const; + /*3*/ virtual void write(class BinaryStream &) const; + /*4*/ virtual enum StreamReadResult read(class ReadOnlyBinaryStream &); + /*5*/ virtual struct ExtendedStreamReadResult readExtended(class ReadOnlyBinaryStream &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_PLAYERLISTPACKET +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/PlayerMovement.hpp b/LiteLoader/Header/MC/PlayerMovement.hpp new file mode 100644 index 0000000..2849e80 --- /dev/null +++ b/LiteLoader/Header/MC/PlayerMovement.hpp @@ -0,0 +1,19 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +namespace PlayerMovement { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA + MCAPI void updatePlayerOnInput(class Player &, class MoveInputHandler &, class Vec3 &); + MCAPI void updatePlayerRiding(class Player &, class MoveInputHandler &); + MCAPI void updateSwimTravel(class Player &, class MoveInputHandler &, class Vec3 &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/PlayerRespawnBlockRadiusRandomizer.hpp b/LiteLoader/Header/MC/PlayerRespawnBlockRadiusRandomizer.hpp new file mode 100644 index 0000000..4d9d185 --- /dev/null +++ b/LiteLoader/Header/MC/PlayerRespawnBlockRadiusRandomizer.hpp @@ -0,0 +1,27 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class PlayerRespawnBlockRadiusRandomizer { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_PLAYERRESPAWNBLOCKRADIUSRANDOMIZER +public: + class PlayerRespawnBlockRadiusRandomizer& operator=(class PlayerRespawnBlockRadiusRandomizer const &) = delete; + PlayerRespawnBlockRadiusRandomizer(class PlayerRespawnBlockRadiusRandomizer const &) = delete; + PlayerRespawnBlockRadiusRandomizer() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_PLAYERRESPAWNBLOCKRADIUSRANDOMIZER +#endif + MCAPI void init(unsigned int, class Random &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/PlayerRespawnTelemetryData.hpp b/LiteLoader/Header/MC/PlayerRespawnTelemetryData.hpp new file mode 100644 index 0000000..def6626 --- /dev/null +++ b/LiteLoader/Header/MC/PlayerRespawnTelemetryData.hpp @@ -0,0 +1,33 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Social.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class PlayerRespawnTelemetryData { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_PLAYERRESPAWNTELEMETRYDATA +public: + class PlayerRespawnTelemetryData& operator=(class PlayerRespawnTelemetryData const &) = delete; + PlayerRespawnTelemetryData(class PlayerRespawnTelemetryData const &) = delete; + PlayerRespawnTelemetryData() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_PLAYERRESPAWNTELEMETRYDATA +#endif + MCAPI void WriteEventData(class Social::Events::Event &) const; + +//private: + +private: + MCAPI static std::string const mEventName; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/PlayerRideTamedGoal.hpp b/LiteLoader/Header/MC/PlayerRideTamedGoal.hpp new file mode 100644 index 0000000..9997985 --- /dev/null +++ b/LiteLoader/Header/MC/PlayerRideTamedGoal.hpp @@ -0,0 +1,34 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class PlayerRideTamedGoal { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_PLAYERRIDETAMEDGOAL +public: + class PlayerRideTamedGoal& operator=(class PlayerRideTamedGoal const &) = delete; + PlayerRideTamedGoal(class PlayerRideTamedGoal const &) = delete; + PlayerRideTamedGoal() = delete; +#endif + +public: + /*0*/ virtual ~PlayerRideTamedGoal(); + /*1*/ virtual bool canUse(); + /*2*/ virtual bool canContinueToUse(); + /*3*/ virtual void __unk_vfn_3(); + /*4*/ virtual void start(); + /*5*/ virtual void __unk_vfn_5(); + /*6*/ virtual void tick(); + /*7*/ virtual void appendDebugInfo(std::string &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_PLAYERRIDETAMEDGOAL +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/PlayerScoreboardId.hpp b/LiteLoader/Header/MC/PlayerScoreboardId.hpp new file mode 100644 index 0000000..9bee4a9 --- /dev/null +++ b/LiteLoader/Header/MC/PlayerScoreboardId.hpp @@ -0,0 +1,26 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +struct PlayerScoreboardId { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_PLAYERSCOREBOARDID +public: + struct PlayerScoreboardId& operator=(struct PlayerScoreboardId const &) = delete; + PlayerScoreboardId(struct PlayerScoreboardId const &) = delete; + PlayerScoreboardId() = delete; +#endif +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_PLAYERSCOREBOARDID +#endif + MCAPI static struct PlayerScoreboardId const INVALID; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/PlayerSkinPacket.hpp b/LiteLoader/Header/MC/PlayerSkinPacket.hpp new file mode 100644 index 0000000..dfc74c8 --- /dev/null +++ b/LiteLoader/Header/MC/PlayerSkinPacket.hpp @@ -0,0 +1,33 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Packet.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class PlayerSkinPacket : public Packet { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_PLAYERSKINPACKET +public: + class PlayerSkinPacket& operator=(class PlayerSkinPacket const &) = delete; + PlayerSkinPacket(class PlayerSkinPacket const &) = delete; + PlayerSkinPacket() = delete; +#endif + +public: + /*0*/ virtual ~PlayerSkinPacket(); + /*1*/ virtual enum MinecraftPacketIds getId() const; + /*2*/ virtual std::string getName() const; + /*3*/ virtual void write(class BinaryStream &) const; + /*4*/ virtual enum StreamReadResult read(class ReadOnlyBinaryStream &); + /*5*/ virtual struct ExtendedStreamReadResult readExtended(class ReadOnlyBinaryStream &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_PLAYERSKINPACKET +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/PlayerStorageIds.hpp b/LiteLoader/Header/MC/PlayerStorageIds.hpp new file mode 100644 index 0000000..4a629ae --- /dev/null +++ b/LiteLoader/Header/MC/PlayerStorageIds.hpp @@ -0,0 +1,26 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +struct PlayerStorageIds { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_PLAYERSTORAGEIDS +public: + struct PlayerStorageIds& operator=(struct PlayerStorageIds const &) = delete; + PlayerStorageIds(struct PlayerStorageIds const &) = delete; + PlayerStorageIds() = delete; +#endif +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_PLAYERSTORAGEIDS +#endif + MCAPI ~PlayerStorageIds(); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/PlayerUIContainer.hpp b/LiteLoader/Header/MC/PlayerUIContainer.hpp new file mode 100644 index 0000000..095a63e --- /dev/null +++ b/LiteLoader/Header/MC/PlayerUIContainer.hpp @@ -0,0 +1,32 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "SimpleContainer.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class PlayerUIContainer : public SimpleContainer { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_PLAYERUICONTAINER +public: + class PlayerUIContainer& operator=(class PlayerUIContainer const &) = delete; + PlayerUIContainer(class PlayerUIContainer const &) = delete; + PlayerUIContainer() = delete; +#endif + +public: + /*0*/ virtual ~PlayerUIContainer(); + /*22*/ virtual void __unk_vfn_22(); + /*23*/ virtual void __unk_vfn_23(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_PLAYERUICONTAINER +#endif + MCAPI void load(class ListTag const &, class SemVersion const &); + MCAPI std::unique_ptr save(); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/PlayerUIContainerModel.hpp b/LiteLoader/Header/MC/PlayerUIContainerModel.hpp new file mode 100644 index 0000000..cd94153 --- /dev/null +++ b/LiteLoader/Header/MC/PlayerUIContainerModel.hpp @@ -0,0 +1,34 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "PlayerUIContainerModelBase.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class PlayerUIContainerModel : public PlayerUIContainerModelBase { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_PLAYERUICONTAINERMODEL +public: + class PlayerUIContainerModel& operator=(class PlayerUIContainerModel const &) = delete; + PlayerUIContainerModel(class PlayerUIContainerModel const &) = delete; + PlayerUIContainerModel() = delete; +#endif + +public: + /*1*/ virtual ~PlayerUIContainerModel(); + /*6*/ virtual void __unk_vfn_6(); + /*12*/ virtual void __unk_vfn_12(); + /*15*/ virtual void __unk_vfn_15(); + /*16*/ virtual void __unk_vfn_16(); + /*19*/ virtual void __unk_vfn_19(); + /*21*/ virtual int _getContainerOffset() const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_PLAYERUICONTAINERMODEL +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/PlayerUIContainerModelBase.hpp b/LiteLoader/Header/MC/PlayerUIContainerModelBase.hpp new file mode 100644 index 0000000..502a53a --- /dev/null +++ b/LiteLoader/Header/MC/PlayerUIContainerModelBase.hpp @@ -0,0 +1,47 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "ContainerModel.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class PlayerUIContainerModelBase : public ContainerModel { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_PLAYERUICONTAINERMODELBASE +public: + class PlayerUIContainerModelBase& operator=(class PlayerUIContainerModelBase const &) = delete; + PlayerUIContainerModelBase(class PlayerUIContainerModelBase const &) = delete; + PlayerUIContainerModelBase() = delete; +#endif + +public: + /*0*/ virtual void containerContentChanged(int); + /*1*/ virtual ~PlayerUIContainerModelBase(); + /*2*/ virtual void postInit(); + /*3*/ virtual void releaseResources(); + /*6*/ virtual void __unk_vfn_6(); + /*7*/ virtual class ContainerWeakRef getContainerWeakRef() const; + /*12*/ virtual void __unk_vfn_12(); + /*14*/ virtual bool isValid(); + /*15*/ virtual void __unk_vfn_15(); + /*16*/ virtual void __unk_vfn_16(); + /*19*/ virtual void __unk_vfn_19(); + /*20*/ virtual class Container * _getContainer() const; + /*21*/ virtual int _getContainerOffset() const; + /*22*/ virtual void _onItemChanged(int, class ItemStack const &, class ItemStack const &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_PLAYERUICONTAINERMODELBASE +#endif + MCAPI PlayerUIContainerModelBase(enum ContainerEnumName, class Player &, int, enum ContainerCategory); + +//protected: + MCAPI void _refreshContainer(bool); + +protected: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/PodzolAreaFeature.hpp b/LiteLoader/Header/MC/PodzolAreaFeature.hpp new file mode 100644 index 0000000..28f9cea --- /dev/null +++ b/LiteLoader/Header/MC/PodzolAreaFeature.hpp @@ -0,0 +1,29 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Feature.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class PodzolAreaFeature : public Feature { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_PODZOLAREAFEATURE +public: + class PodzolAreaFeature& operator=(class PodzolAreaFeature const &) = delete; + PodzolAreaFeature(class PodzolAreaFeature const &) = delete; + PodzolAreaFeature() = delete; +#endif + +public: + /*0*/ virtual ~PodzolAreaFeature(); + /*1*/ virtual bool place(class BlockSource &, class BlockPos const &, class Random &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_PODZOLAREAFEATURE +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/PodzolBlock.hpp b/LiteLoader/Header/MC/PodzolBlock.hpp new file mode 100644 index 0000000..3de039d --- /dev/null +++ b/LiteLoader/Header/MC/PodzolBlock.hpp @@ -0,0 +1,60 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "BlockLegacy.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class PodzolBlock : public BlockLegacy { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_PODZOLBLOCK +public: + class PodzolBlock& operator=(class PodzolBlock const &) = delete; + PodzolBlock(class PodzolBlock const &) = delete; + PodzolBlock() = delete; +#endif + +public: + /*0*/ virtual ~PodzolBlock(); + /*18*/ virtual void __unk_vfn_18(); + /*24*/ virtual void __unk_vfn_24(); + /*25*/ virtual void __unk_vfn_25(); + /*26*/ virtual void __unk_vfn_26(); + /*27*/ virtual void __unk_vfn_27(); + /*28*/ virtual void __unk_vfn_28(); + /*30*/ virtual void __unk_vfn_30(); + /*31*/ virtual void __unk_vfn_31(); + /*32*/ virtual void __unk_vfn_32(); + /*33*/ virtual void __unk_vfn_33(); + /*34*/ virtual void __unk_vfn_34(); + /*35*/ virtual void __unk_vfn_35(); + /*36*/ virtual void __unk_vfn_36(); + /*38*/ virtual void __unk_vfn_38(); + /*39*/ virtual void __unk_vfn_39(); + /*40*/ virtual void __unk_vfn_40(); + /*42*/ virtual void __unk_vfn_42(); + /*43*/ virtual void __unk_vfn_43(); + /*49*/ virtual void __unk_vfn_49(); + /*52*/ virtual void __unk_vfn_52(); + /*67*/ virtual void __unk_vfn_67(); + /*73*/ virtual void __unk_vfn_73(); + /*87*/ virtual void __unk_vfn_87(); + /*88*/ virtual void neighborChanged(class BlockSource &, class BlockPos const &, class BlockPos const &) const; + /*91*/ virtual class ItemInstance getResourceItem(class Random &, class Block const &, int) const; + /*95*/ virtual void __unk_vfn_95(); + /*109*/ virtual void __unk_vfn_109(); + /*116*/ virtual void __unk_vfn_116(); + /*118*/ virtual void __unk_vfn_118(); + /*119*/ virtual void __unk_vfn_119(); + /*142*/ virtual void __unk_vfn_142(); + /*158*/ virtual void __unk_vfn_158(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_PODZOLBLOCK +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/PolarBear.hpp b/LiteLoader/Header/MC/PolarBear.hpp new file mode 100644 index 0000000..dd76925 --- /dev/null +++ b/LiteLoader/Header/MC/PolarBear.hpp @@ -0,0 +1,52 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Actor.hpp" +#include "Animal.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class PolarBear : public Animal { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_POLARBEAR +public: + class PolarBear& operator=(class PolarBear const &) = delete; + PolarBear(class PolarBear const &) = delete; + PolarBear() = delete; +#endif + +public: + /*7*/ virtual ~PolarBear(); + /*30*/ virtual void __unk_vfn_30(); + /*39*/ virtual void normalTick(); + /*54*/ virtual void __unk_vfn_54(); + /*61*/ virtual void __unk_vfn_61(); + /*76*/ virtual void __unk_vfn_76(); + /*81*/ virtual void __unk_vfn_81(); + /*88*/ virtual void __unk_vfn_88(); + /*90*/ virtual void __unk_vfn_90(); + /*98*/ virtual void __unk_vfn_98(); + /*100*/ virtual void __unk_vfn_100(); + /*121*/ virtual void __unk_vfn_121(); + /*169*/ virtual void __unk_vfn_169(); + /*182*/ virtual void __unk_vfn_182(); + /*206*/ virtual void __unk_vfn_206(); + /*207*/ virtual void __unk_vfn_207(); + /*228*/ virtual void __unk_vfn_228(); + /*231*/ virtual void __unk_vfn_231(); + /*238*/ virtual void __unk_vfn_238(); + /*246*/ virtual void __unk_vfn_246(); + /*257*/ virtual void __unk_vfn_257(); + /*290*/ virtual void __unk_vfn_290(); + /*300*/ virtual void __unk_vfn_300(); + /*332*/ virtual void __unk_vfn_332(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_POLARBEAR +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/PoolElementStructurePiece.hpp b/LiteLoader/Header/MC/PoolElementStructurePiece.hpp new file mode 100644 index 0000000..734c586 --- /dev/null +++ b/LiteLoader/Header/MC/PoolElementStructurePiece.hpp @@ -0,0 +1,42 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "StructurePiece.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class PoolElementStructurePiece : public StructurePiece { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_POOLELEMENTSTRUCTUREPIECE +public: + class PoolElementStructurePiece& operator=(class PoolElementStructurePiece const &) = delete; + PoolElementStructurePiece(class PoolElementStructurePiece const &) = delete; + PoolElementStructurePiece() = delete; +#endif + +public: + /*0*/ virtual ~PoolElementStructurePiece(); + /*1*/ virtual void moveBoundingBox(int, int, int); + /*2*/ virtual class PoolElementStructurePiece * asPoolElement(); + /*5*/ virtual bool postProcess(class BlockSource &, class Random &, class BoundingBox const &); + /*6*/ virtual void postProcessMobsAt(class BlockSource &, class Random &, class BoundingBox const &); + /*13*/ virtual class Block const * getSupportBlock(class BlockSource &, class BlockPos const &, class Block const &) const = 0; + /*14*/ virtual class Block const & getBeardStabilizeBlock(class Block const &) const = 0; + /*15*/ virtual bool _needsPostProcessing(class BlockSource &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_POOLELEMENTSTRUCTUREPIECE +#endif + MCAPI PoolElementStructurePiece(class StructurePoolElement const &, class BlockPos, enum Rotation, int, struct JigsawJunction &, class BoundingBox const &, class BlockPos); + +//private: + MCAPI void _fillWithSupportBlock(class BlockPos const &, class BlockSource &, class BoundingBox const &, class Block const &, class Random &); + MCAPI void _stabilizeBeard(class BlockPos const &, class BlockSource &, class Block const &); + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/PortalBlock.hpp b/LiteLoader/Header/MC/PortalBlock.hpp new file mode 100644 index 0000000..bccdae3 --- /dev/null +++ b/LiteLoader/Header/MC/PortalBlock.hpp @@ -0,0 +1,73 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "BlockLegacy.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class PortalBlock : public BlockLegacy { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_PORTALBLOCK +public: + class PortalBlock& operator=(class PortalBlock const &) = delete; + PortalBlock(class PortalBlock const &) = delete; + PortalBlock() = delete; +#endif + +public: + /*0*/ virtual ~PortalBlock(); + /*1*/ virtual void tick(class BlockSource &, class BlockPos const &, class Random &) const; + /*10*/ virtual class AABB const & getAABB(class BlockSource &, class BlockPos const &, class Block const &, class AABB &, bool) const; + /*18*/ virtual void __unk_vfn_18(); + /*24*/ virtual void __unk_vfn_24(); + /*25*/ virtual void __unk_vfn_25(); + /*26*/ virtual void __unk_vfn_26(); + /*27*/ virtual void __unk_vfn_27(); + /*28*/ virtual void __unk_vfn_28(); + /*29*/ virtual bool isWaterBlocking() const; + /*30*/ virtual void __unk_vfn_30(); + /*31*/ virtual void __unk_vfn_31(); + /*32*/ virtual void __unk_vfn_32(); + /*33*/ virtual void __unk_vfn_33(); + /*34*/ virtual void __unk_vfn_34(); + /*35*/ virtual void __unk_vfn_35(); + /*36*/ virtual void __unk_vfn_36(); + /*38*/ virtual void __unk_vfn_38(); + /*39*/ virtual void __unk_vfn_39(); + /*40*/ virtual void __unk_vfn_40(); + /*42*/ virtual void __unk_vfn_42(); + /*43*/ virtual void __unk_vfn_43(); + /*49*/ virtual void __unk_vfn_49(); + /*50*/ virtual bool canContainLiquid() const; + /*52*/ virtual void __unk_vfn_52(); + /*59*/ virtual void onPlace(class BlockSource &, class BlockPos const &) const; + /*60*/ virtual void onRemove(class BlockSource &, class BlockPos const &) const; + /*67*/ virtual void __unk_vfn_67(); + /*73*/ virtual void __unk_vfn_73(); + /*79*/ virtual bool mayPick(class BlockSource &, class Block const &, bool) const; + /*87*/ virtual void __unk_vfn_87(); + /*88*/ virtual void neighborChanged(class BlockSource &, class BlockPos const &, class BlockPos const &) const; + /*90*/ virtual int getResourceCount(class Random &, class Block const &, int, bool) const; + /*92*/ virtual class ItemInstance asItemInstance(class BlockSource &, class BlockPos const &, class Block const &) const; + /*95*/ virtual void __unk_vfn_95(); + /*104*/ virtual void entityInside(class BlockSource &, class BlockPos const &, class Actor &) const; + /*109*/ virtual void __unk_vfn_109(); + /*116*/ virtual void __unk_vfn_116(); + /*118*/ virtual void __unk_vfn_118(); + /*119*/ virtual void __unk_vfn_119(); + /*137*/ virtual class AABB const & getVisualShapeInWorld(class Block const &, class BlockSource &, class BlockPos const &, class AABB &, bool) const; + /*142*/ virtual void __unk_vfn_142(); + /*146*/ virtual void animateTick(class BlockSource &, class BlockPos const &, class Random &) const; + /*158*/ virtual void __unk_vfn_158(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_PORTALBLOCK + MCVAPI bool waterSpreadCausesSpawn() const; +#endif + MCAPI bool trySpawnPortal(class BlockSource &, class BlockPos const &) const; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/PortalForcer.hpp b/LiteLoader/Header/MC/PortalForcer.hpp new file mode 100644 index 0000000..6f3253f --- /dev/null +++ b/LiteLoader/Header/MC/PortalForcer.hpp @@ -0,0 +1,35 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class PortalForcer { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_PORTALFORCER +public: + class PortalForcer& operator=(class PortalForcer const &) = delete; + PortalForcer(class PortalForcer const &) = delete; + PortalForcer() = delete; +#endif + +public: + /*0*/ virtual ~PortalForcer(); + /*1*/ virtual void deserialize(class CompoundTag const &); + /*2*/ virtual void serialize(class CompoundTag &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_PORTALFORCER +#endif + MCAPI class PortalRecord const & addPortalRecord(class AutomaticID, class PortalRecord); + MCAPI class PortalRecord const & createPortal(class Actor const &, int); + MCAPI bool findPortal(class AutomaticID, class BlockPos const &, int, class BlockPos &) const; + MCAPI void force(class Actor &); + MCAPI void travelPortal(class Actor &, class BlockPos const &, class AutomaticID) const; + MCAPI static std::string const PORTAL_FILE_ID; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/PortalShape.hpp b/LiteLoader/Header/MC/PortalShape.hpp new file mode 100644 index 0000000..c3053f4 --- /dev/null +++ b/LiteLoader/Header/MC/PortalShape.hpp @@ -0,0 +1,36 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Facing.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class PortalShape { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_PORTALSHAPE +public: + class PortalShape& operator=(class PortalShape const &) = delete; + PortalShape(class PortalShape const &) = delete; + PortalShape() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_PORTALSHAPE +#endif + MCAPI void createPortalBlocks(class WorldChangeTransaction &) const; + MCAPI void evaluate(class BlockPos const &, class BlockSource const &); + MCAPI void updateNeighboringBlocks(class BlockSource &, class Vec3 const &) const; + +//private: + MCAPI int _calculatePortalHeight(class BlockSource const &); + MCAPI int _getDistanceUntilEdge(class BlockPos const &, enum Facing::Name, class BlockSource const &) const; + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/PosibleTransformation.hpp b/LiteLoader/Header/MC/PosibleTransformation.hpp new file mode 100644 index 0000000..727fb1b --- /dev/null +++ b/LiteLoader/Header/MC/PosibleTransformation.hpp @@ -0,0 +1,27 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class PosibleTransformation { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_POSIBLETRANSFORMATION +public: + class PosibleTransformation& operator=(class PosibleTransformation const &) = delete; + PosibleTransformation(class PosibleTransformation const &) = delete; + PosibleTransformation() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_POSIBLETRANSFORMATION +#endif + MCAPI ~PosibleTransformation(); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/PositionTrackingDBClientRequestPacket.hpp b/LiteLoader/Header/MC/PositionTrackingDBClientRequestPacket.hpp new file mode 100644 index 0000000..241447f --- /dev/null +++ b/LiteLoader/Header/MC/PositionTrackingDBClientRequestPacket.hpp @@ -0,0 +1,32 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Packet.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class PositionTrackingDBClientRequestPacket : public Packet { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_POSITIONTRACKINGDBCLIENTREQUESTPACKET +public: + class PositionTrackingDBClientRequestPacket& operator=(class PositionTrackingDBClientRequestPacket const &) = delete; + PositionTrackingDBClientRequestPacket(class PositionTrackingDBClientRequestPacket const &) = delete; + PositionTrackingDBClientRequestPacket() = delete; +#endif + +public: + /*0*/ virtual ~PositionTrackingDBClientRequestPacket(); + /*1*/ virtual enum MinecraftPacketIds getId() const; + /*2*/ virtual std::string getName() const; + /*3*/ virtual void write(class BinaryStream &) const; + /*4*/ virtual enum StreamReadResult read(class ReadOnlyBinaryStream &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_POSITIONTRACKINGDBCLIENTREQUESTPACKET +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/PositionTrackingDBServerBroadcastPacket.hpp b/LiteLoader/Header/MC/PositionTrackingDBServerBroadcastPacket.hpp new file mode 100644 index 0000000..854f5e5 --- /dev/null +++ b/LiteLoader/Header/MC/PositionTrackingDBServerBroadcastPacket.hpp @@ -0,0 +1,32 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Packet.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class PositionTrackingDBServerBroadcastPacket : public Packet { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_POSITIONTRACKINGDBSERVERBROADCASTPACKET +public: + class PositionTrackingDBServerBroadcastPacket& operator=(class PositionTrackingDBServerBroadcastPacket const &) = delete; + PositionTrackingDBServerBroadcastPacket(class PositionTrackingDBServerBroadcastPacket const &) = delete; +#endif + +public: + /*0*/ virtual ~PositionTrackingDBServerBroadcastPacket(); + /*1*/ virtual enum MinecraftPacketIds getId() const; + /*2*/ virtual std::string getName() const; + /*3*/ virtual void write(class BinaryStream &) const; + /*4*/ virtual enum StreamReadResult read(class ReadOnlyBinaryStream &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_POSITIONTRACKINGDBSERVERBROADCASTPACKET +#endif + MCAPI PositionTrackingDBServerBroadcastPacket(); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/PositionTrackingId.hpp b/LiteLoader/Header/MC/PositionTrackingId.hpp new file mode 100644 index 0000000..94f4eef --- /dev/null +++ b/LiteLoader/Header/MC/PositionTrackingId.hpp @@ -0,0 +1,33 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class PositionTrackingId { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_POSITIONTRACKINGID +public: + class PositionTrackingId& operator=(class PositionTrackingId const &) = delete; + PositionTrackingId(class PositionTrackingId const &) = delete; + PositionTrackingId() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_POSITIONTRACKINGID +#endif + MCAPI std::string const toString() const; + MCAPI static class PositionTrackingId const INVALID_ID; + +//protected: + +protected: + MCAPI static unsigned int sNextId; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/PostprocessingManager.hpp b/LiteLoader/Header/MC/PostprocessingManager.hpp new file mode 100644 index 0000000..3f4dcf1 --- /dev/null +++ b/LiteLoader/Header/MC/PostprocessingManager.hpp @@ -0,0 +1,32 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class PostprocessingManager { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_POSTPROCESSINGMANAGER +public: + class PostprocessingManager& operator=(class PostprocessingManager const &) = delete; + PostprocessingManager(class PostprocessingManager const &) = delete; + PostprocessingManager() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_POSTPROCESSINGMANAGER +#endif + MCAPI struct PostprocessingManager::Owns tryLock(class ChunkPos const &); + +//private: + MCAPI void _release(class ChunkPos const &); + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/PotatoBlock.hpp b/LiteLoader/Header/MC/PotatoBlock.hpp new file mode 100644 index 0000000..b50d6d6 --- /dev/null +++ b/LiteLoader/Header/MC/PotatoBlock.hpp @@ -0,0 +1,64 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "CropBlock.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class PotatoBlock : public CropBlock { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_POTATOBLOCK +public: + class PotatoBlock& operator=(class PotatoBlock const &) = delete; + PotatoBlock(class PotatoBlock const &) = delete; + PotatoBlock() = delete; +#endif + +public: + /*0*/ virtual ~PotatoBlock(); + /*10*/ virtual class AABB const & getAABB(class BlockSource &, class BlockPos const &, class Block const &, class AABB &, bool) const; + /*18*/ virtual void __unk_vfn_18(); + /*24*/ virtual void __unk_vfn_24(); + /*25*/ virtual void __unk_vfn_25(); + /*26*/ virtual void __unk_vfn_26(); + /*27*/ virtual void __unk_vfn_27(); + /*28*/ virtual void __unk_vfn_28(); + /*30*/ virtual void __unk_vfn_30(); + /*31*/ virtual void __unk_vfn_31(); + /*32*/ virtual void __unk_vfn_32(); + /*33*/ virtual void __unk_vfn_33(); + /*34*/ virtual void __unk_vfn_34(); + /*35*/ virtual void __unk_vfn_35(); + /*36*/ virtual void __unk_vfn_36(); + /*38*/ virtual void __unk_vfn_38(); + /*39*/ virtual void __unk_vfn_39(); + /*40*/ virtual void __unk_vfn_40(); + /*42*/ virtual void __unk_vfn_42(); + /*43*/ virtual void __unk_vfn_43(); + /*49*/ virtual void __unk_vfn_49(); + /*52*/ virtual void __unk_vfn_52(); + /*67*/ virtual void __unk_vfn_67(); + /*73*/ virtual void __unk_vfn_73(); + /*87*/ virtual void __unk_vfn_87(); + /*93*/ virtual void spawnResources(class BlockSource &, class BlockPos const &, class Block const &, std::vector *, float, int, bool) const; + /*95*/ virtual void __unk_vfn_95(); + /*109*/ virtual void __unk_vfn_109(); + /*116*/ virtual void __unk_vfn_116(); + /*118*/ virtual void __unk_vfn_118(); + /*119*/ virtual void __unk_vfn_119(); + /*141*/ virtual int getVariant(class Block const &) const; + /*142*/ virtual void __unk_vfn_142(); + /*158*/ virtual void __unk_vfn_158(); + /*165*/ virtual class Item const & getBaseSeed() const; + /*166*/ virtual class Item const & getBaseCrop() const; + /*168*/ virtual int getCropNum(class Random &, int, int, bool) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_POTATOBLOCK +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/Potion.hpp b/LiteLoader/Header/MC/Potion.hpp new file mode 100644 index 0000000..b69b00d --- /dev/null +++ b/LiteLoader/Header/MC/Potion.hpp @@ -0,0 +1,89 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class Potion { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_POTION +public: + class Potion& operator=(class Potion const &) = delete; + Potion(class Potion const &) = delete; + Potion() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_POTION +#endif + MCAPI void appendFormattedPotionText(std::string &, enum Potion::PotionType, float) const; + MCAPI std::string effectDurationToString(enum Potion::PotionType, float, class MobEffectInstance const &) const; + MCAPI std::string effectPotencyToString(class MobEffectInstance const &) const; + MCAPI std::string getDescriptionId(enum Potion::PotionType) const; + MCAPI std::string getPotentencyDescription(enum Potion::PotionType, float) const; + MCAPI std::string getPotentencyDescription(enum Potion::PotionType, float, std::string const &, class MobEffectInstance const &) const; + MCAPI int getPotionId() const; + MCAPI ~Potion(); + MCAPI static class std::shared_ptr const Awkward; + MCAPI static class std::shared_ptr const FireResistance; + MCAPI static class std::shared_ptr const Harming; + MCAPI static class std::shared_ptr const Healing; + MCAPI static class std::shared_ptr const Invisibility; + MCAPI static class std::shared_ptr const Leaping; + MCAPI static class std::shared_ptr const LongFireResistance; + MCAPI static class std::shared_ptr const LongInvisibility; + MCAPI static class std::shared_ptr const LongLeaping; + MCAPI static class std::shared_ptr const LongMundane; + MCAPI static class std::shared_ptr const LongNightvision; + MCAPI static class std::shared_ptr const LongPoison; + MCAPI static class std::shared_ptr const LongRegeneration; + MCAPI static class std::shared_ptr const LongSlowFalling; + MCAPI static class std::shared_ptr const LongSlowness; + MCAPI static class std::shared_ptr const LongStrength; + MCAPI static class std::shared_ptr const LongSwiftness; + MCAPI static class std::shared_ptr const LongTurtleMaster; + MCAPI static class std::shared_ptr const LongWaterBreathing; + MCAPI static class std::shared_ptr const LongWeakness; + MCAPI static class std::shared_ptr const Mundane; + MCAPI static class std::shared_ptr const Nightvision; + MCAPI static class std::shared_ptr const Poison; + MCAPI static class std::shared_ptr const Regeneration; + MCAPI static class std::shared_ptr const SlowFalling; + MCAPI static class std::shared_ptr const Slowness; + MCAPI static class std::shared_ptr const Strength; + MCAPI static class std::shared_ptr const StrongHarming; + MCAPI static class std::shared_ptr const StrongHealing; + MCAPI static class std::shared_ptr const StrongLeaping; + MCAPI static class std::shared_ptr const StrongPoison; + MCAPI static class std::shared_ptr const StrongRegeneration; + MCAPI static class std::shared_ptr const StrongSlowness; + MCAPI static class std::shared_ptr const StrongStrength; + MCAPI static class std::shared_ptr const StrongSwiftness; + MCAPI static class std::shared_ptr const StrongTurtleMaster; + MCAPI static class std::shared_ptr const Swiftness; + MCAPI static class std::shared_ptr const Thick; + MCAPI static class std::shared_ptr const TurtleMaster; + MCAPI static class std::shared_ptr const Water; + MCAPI static class std::shared_ptr const WaterBreathing; + MCAPI static class std::shared_ptr const Weakness; + MCAPI static class std::shared_ptr const Wither; + MCAPI static class std::shared_ptr getPotion(int); + MCAPI static class std::shared_ptr getPotion(std::string const &); + MCAPI static void initPotions(); + +//private: + MCAPI Potion(std::string const &, std::vector, std::vector, enum Potion::PotionVariant); + MCAPI static void addPotion(class std::shared_ptr); + +private: + MCAPI static int mLastId; + MCAPI static class std::shared_ptr mPotionsById[]; + MCAPI static class std::unordered_map, struct std::equal_to, class std::allocator>> mPotionsByName; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/PotionBrewing.hpp b/LiteLoader/Header/MC/PotionBrewing.hpp new file mode 100644 index 0000000..8751e16 --- /dev/null +++ b/LiteLoader/Header/MC/PotionBrewing.hpp @@ -0,0 +1,42 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class PotionBrewing { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_POTIONBREWING +public: + class PotionBrewing& operator=(class PotionBrewing const &) = delete; + PotionBrewing(class PotionBrewing const &) = delete; + PotionBrewing() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_POTIONBREWING +#endif + MCAPI static void addPotionMix(class ItemDescriptor const &, class PotionBrewing::Ingredient const &, class ItemDescriptor const &); + MCAPI static bool hasMix(class ItemInstance const &, class ItemDescriptor const &); + MCAPI static void initPotionBrewing(); + MCAPI static bool isIngredient(class ItemDescriptor const &); + MCAPI static class ItemInstance mix(class ItemDescriptor const &, class ItemInstance const &); + +//private: + MCAPI static class ItemInstance getChemistryMix(class ItemDescriptor const &, class ItemDescriptor const &); + +private: + MCAPI static std::vector> mChemistryMixes; + MCAPI static std::vector> mContainerMixes; + MCAPI static std::vector> mPotionMixes; + MCAPI static std::vector mValidContainers; + MCAPI static class std::unordered_set, struct std::equal_to, class std::allocator> mValidIngredients; + MCAPI static class std::unordered_set, struct std::equal_to, class std::allocator> mValidRecipeInputs; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/PotionItem.hpp b/LiteLoader/Header/MC/PotionItem.hpp new file mode 100644 index 0000000..6817431 --- /dev/null +++ b/LiteLoader/Header/MC/PotionItem.hpp @@ -0,0 +1,59 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Potion.hpp" +#include "Item.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class PotionItem : public Item { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_POTIONITEM +public: + class PotionItem& operator=(class PotionItem const &) = delete; + PotionItem(class PotionItem const &) = delete; + PotionItem() = delete; +#endif + +public: + /*0*/ virtual ~PotionItem(); + /*5*/ virtual void __unk_vfn_5(); + /*26*/ virtual void __unk_vfn_26(); + /*27*/ virtual void __unk_vfn_27(); + /*29*/ virtual bool isGlint(class ItemStackBase const &) const; + /*31*/ virtual void __unk_vfn_31(); + /*32*/ virtual void __unk_vfn_32(); + /*34*/ virtual void __unk_vfn_34(); + /*35*/ virtual bool isDestructive(int) const; + /*37*/ virtual void __unk_vfn_37(); + /*38*/ virtual void appendFormattedHovertext(class ItemStackBase const &, class Level &, std::string &, bool) const; + /*43*/ virtual void __unk_vfn_43(); + /*44*/ virtual bool isValidAuxValue(int) const; + /*46*/ virtual void __unk_vfn_46(); + /*47*/ virtual void __unk_vfn_47(); + /*49*/ virtual void __unk_vfn_49(); + /*50*/ virtual void __unk_vfn_50(); + /*56*/ virtual class ItemStack & use(class ItemStack &, class Player &) const; + /*58*/ virtual enum ItemUseMethod useTimeDepleted(class ItemStack &, class Level *, class Player *) const; + /*65*/ virtual std::string buildDescriptionId(class ItemDescriptor const &, class CompoundTag const *) const; + /*66*/ virtual std::string buildEffectDescriptionName(class ItemStackBase const &) const; + /*79*/ virtual void __unk_vfn_79(); + /*80*/ virtual void __unk_vfn_80(); + /*85*/ virtual struct TextureUVCoordinateSet const & getIcon(class ItemStackBase const &, int, bool) const; + /*87*/ virtual class Item & setIcon(std::string const &, int); + /*90*/ virtual void __unk_vfn_90(); + /*97*/ virtual void __unk_vfn_97(); + /*100*/ virtual enum Potion::PotionType getPotionType() const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_POTIONITEM + MCVAPI bool uniqueAuxValues() const; +#endif + MCAPI PotionItem(std::string const &, int); + MCAPI void applyEffect(class ThrownPotion *, class ItemStack const &) const; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/PoweredBlockComponent.hpp b/LiteLoader/Header/MC/PoweredBlockComponent.hpp new file mode 100644 index 0000000..238ec25 --- /dev/null +++ b/LiteLoader/Header/MC/PoweredBlockComponent.hpp @@ -0,0 +1,39 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "BaseCircuitComponent.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class PoweredBlockComponent : public BaseCircuitComponent { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_POWEREDBLOCKCOMPONENT +public: + class PoweredBlockComponent& operator=(class PoweredBlockComponent const &) = delete; + PoweredBlockComponent(class PoweredBlockComponent const &) = delete; + PoweredBlockComponent() = delete; +#endif + +public: + /*0*/ virtual ~PoweredBlockComponent(); + /*1*/ virtual int getStrength() const; + /*5*/ virtual void __unk_vfn_5(); + /*6*/ virtual bool canConsumerPower(); + /*9*/ virtual unsigned __int64 getBaseType() const; + /*10*/ virtual unsigned __int64 getInstanceType() const; + /*12*/ virtual bool addSource(class CircuitSceneGraph &, class CircuitTrackingInfo const &, int &, bool &); + /*13*/ virtual bool allowConnection(class CircuitSceneGraph &, class CircuitTrackingInfo const &, bool &); + /*15*/ virtual bool evaluate(class CircuitSystem &, class BlockPos const &); + /*18*/ virtual void __unk_vfn_18(); + /*21*/ virtual void __unk_vfn_21(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_POWEREDBLOCKCOMPONENT + MCVAPI bool hasChildrenSource(); +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/PoweredRailBlock.hpp b/LiteLoader/Header/MC/PoweredRailBlock.hpp new file mode 100644 index 0000000..39afa6f --- /dev/null +++ b/LiteLoader/Header/MC/PoweredRailBlock.hpp @@ -0,0 +1,60 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "BaseRailBlock.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class PoweredRailBlock : public BaseRailBlock { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_POWEREDRAILBLOCK +public: + class PoweredRailBlock& operator=(class PoweredRailBlock const &) = delete; + PoweredRailBlock(class PoweredRailBlock const &) = delete; + PoweredRailBlock() = delete; +#endif + +public: + /*0*/ virtual ~PoweredRailBlock(); + /*18*/ virtual void __unk_vfn_18(); + /*24*/ virtual void __unk_vfn_24(); + /*25*/ virtual void __unk_vfn_25(); + /*26*/ virtual void __unk_vfn_26(); + /*27*/ virtual void __unk_vfn_27(); + /*28*/ virtual void __unk_vfn_28(); + /*30*/ virtual void __unk_vfn_30(); + /*31*/ virtual void __unk_vfn_31(); + /*32*/ virtual void __unk_vfn_32(); + /*33*/ virtual void __unk_vfn_33(); + /*34*/ virtual void __unk_vfn_34(); + /*35*/ virtual void __unk_vfn_35(); + /*36*/ virtual void __unk_vfn_36(); + /*38*/ virtual void __unk_vfn_38(); + /*39*/ virtual void __unk_vfn_39(); + /*40*/ virtual void __unk_vfn_40(); + /*42*/ virtual void __unk_vfn_42(); + /*43*/ virtual void __unk_vfn_43(); + /*49*/ virtual void __unk_vfn_49(); + /*52*/ virtual void __unk_vfn_52(); + /*65*/ virtual void onRedstoneUpdate(class BlockSource &, class BlockPos const &, int, bool) const; + /*67*/ virtual void __unk_vfn_67(); + /*73*/ virtual void __unk_vfn_73(); + /*87*/ virtual void __unk_vfn_87(); + /*95*/ virtual void __unk_vfn_95(); + /*109*/ virtual void __unk_vfn_109(); + /*116*/ virtual void __unk_vfn_116(); + /*118*/ virtual void __unk_vfn_118(); + /*119*/ virtual void __unk_vfn_119(); + /*141*/ virtual int getVariant(class Block const &) const; + /*142*/ virtual void __unk_vfn_142(); + /*158*/ virtual void __unk_vfn_158(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_POWEREDRAILBLOCK +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/PrecompiledCommandOrigin.hpp b/LiteLoader/Header/MC/PrecompiledCommandOrigin.hpp new file mode 100644 index 0000000..99a7ed2 --- /dev/null +++ b/LiteLoader/Header/MC/PrecompiledCommandOrigin.hpp @@ -0,0 +1,45 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Json.hpp" +#include "CommandOrigin.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class PrecompiledCommandOrigin : public CommandOrigin { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_PRECOMPILEDCOMMANDORIGIN +public: + class PrecompiledCommandOrigin& operator=(class PrecompiledCommandOrigin const &) = delete; + PrecompiledCommandOrigin(class PrecompiledCommandOrigin const &) = delete; + PrecompiledCommandOrigin() = delete; +#endif + +public: + /*0*/ virtual ~PrecompiledCommandOrigin(); + /*1*/ virtual std::string const & getRequestId() const; + /*2*/ virtual std::string getName() const; + /*3*/ virtual class BlockPos getBlockPosition() const; + /*4*/ virtual class Vec3 getWorldPosition() const; + /*5*/ virtual class Level * getLevel() const; + /*6*/ virtual class Dimension * getDimension() const; + /*7*/ virtual class Actor * getEntity() const; + /*8*/ virtual enum CommandPermissionLevel getPermissionsLevel() const; + /*9*/ virtual std::unique_ptr clone() const; + /*12*/ virtual bool hasChatPerms() const; + /*13*/ virtual bool hasTellPerms() const; + /*14*/ virtual bool canUseAbility(enum AbilitiesIndex) const; + /*15*/ virtual bool isWorldBuilder() const; + /*16*/ virtual bool canUseCommandsWithoutCheatsEnabled() const; + /*17*/ virtual bool isSelectorExpansionAllowed() const; + /*21*/ virtual enum CommandOriginType getOriginType() const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_PRECOMPILEDCOMMANDORIGIN +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/Predicate.hpp b/LiteLoader/Header/MC/Predicate.hpp new file mode 100644 index 0000000..964dc84 --- /dev/null +++ b/LiteLoader/Header/MC/Predicate.hpp @@ -0,0 +1,17 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +namespace Predicate { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA + MCAPI bool _calulatePositionalChance(float, float, int, int, int, float); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/PreferredPathDescription.hpp b/LiteLoader/Header/MC/PreferredPathDescription.hpp new file mode 100644 index 0000000..213feca --- /dev/null +++ b/LiteLoader/Header/MC/PreferredPathDescription.hpp @@ -0,0 +1,30 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Json.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +struct PreferredPathDescription { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_PREFERREDPATHDESCRIPTION +public: + struct PreferredPathDescription& operator=(struct PreferredPathDescription const &) = delete; + PreferredPathDescription(struct PreferredPathDescription const &) = delete; + PreferredPathDescription() = delete; +#endif +public: + /*0*/ virtual char const * getJsonName() const; + /*1*/ virtual ~PreferredPathDescription(); + /*2*/ virtual void deserializeData(class Json::Value &); + /*3*/ virtual void serializeData(class Json::Value &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_PREFERREDPATHDESCRIPTION +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/PressurePlateBlock.hpp b/LiteLoader/Header/MC/PressurePlateBlock.hpp new file mode 100644 index 0000000..8102cbb --- /dev/null +++ b/LiteLoader/Header/MC/PressurePlateBlock.hpp @@ -0,0 +1,63 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "BasePressurePlateBlock.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class PressurePlateBlock : public BasePressurePlateBlock { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_PRESSUREPLATEBLOCK +public: + class PressurePlateBlock& operator=(class PressurePlateBlock const &) = delete; + PressurePlateBlock(class PressurePlateBlock const &) = delete; + PressurePlateBlock() = delete; +#endif + +public: + /*0*/ virtual ~PressurePlateBlock(); + /*18*/ virtual void __unk_vfn_18(); + /*24*/ virtual void __unk_vfn_24(); + /*25*/ virtual void __unk_vfn_25(); + /*26*/ virtual void __unk_vfn_26(); + /*27*/ virtual void __unk_vfn_27(); + /*28*/ virtual void __unk_vfn_28(); + /*30*/ virtual void __unk_vfn_30(); + /*31*/ virtual void __unk_vfn_31(); + /*32*/ virtual void __unk_vfn_32(); + /*33*/ virtual void __unk_vfn_33(); + /*34*/ virtual void __unk_vfn_34(); + /*35*/ virtual void __unk_vfn_35(); + /*36*/ virtual void __unk_vfn_36(); + /*38*/ virtual void __unk_vfn_38(); + /*39*/ virtual void __unk_vfn_39(); + /*40*/ virtual void __unk_vfn_40(); + /*42*/ virtual void __unk_vfn_42(); + /*43*/ virtual void __unk_vfn_43(); + /*49*/ virtual void __unk_vfn_49(); + /*52*/ virtual void __unk_vfn_52(); + /*67*/ virtual void __unk_vfn_67(); + /*73*/ virtual void __unk_vfn_73(); + /*87*/ virtual void __unk_vfn_87(); + /*91*/ virtual class ItemInstance getResourceItem(class Random &, class Block const &, int) const; + /*92*/ virtual class ItemInstance asItemInstance(class BlockSource &, class BlockPos const &, class Block const &) const; + /*95*/ virtual void __unk_vfn_95(); + /*109*/ virtual void __unk_vfn_109(); + /*116*/ virtual void __unk_vfn_116(); + /*118*/ virtual void __unk_vfn_118(); + /*119*/ virtual void __unk_vfn_119(); + /*142*/ virtual void __unk_vfn_142(); + /*158*/ virtual void __unk_vfn_158(); + /*165*/ virtual int getSignalStrength(class BlockSource &, class BlockPos const &) const; + /*166*/ virtual int getSignalForData(int) const; + /*167*/ virtual int getRedstoneSignal(int) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_PRESSUREPLATEBLOCK +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/PrimedTnt.hpp b/LiteLoader/Header/MC/PrimedTnt.hpp new file mode 100644 index 0000000..2bdd6e6 --- /dev/null +++ b/LiteLoader/Header/MC/PrimedTnt.hpp @@ -0,0 +1,58 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Actor.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class PrimedTnt : public Actor { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_PRIMEDTNT +public: + class PrimedTnt& operator=(class PrimedTnt const &) = delete; + PrimedTnt(class PrimedTnt const &) = delete; + PrimedTnt() = delete; +#endif + +public: + /*1*/ virtual void reloadHardcoded(enum Actor::InitializationMethod, class VariantParameterList const &); + /*2*/ virtual void reloadHardcodedClient(enum Actor::InitializationMethod, class VariantParameterList const &); + /*7*/ virtual ~PrimedTnt(); + /*10*/ virtual enum ActorType getOwnerEntityType(); + /*30*/ virtual void __unk_vfn_30(); + /*33*/ virtual void teleportTo(class Vec3 const &, bool, int, int, struct ActorUniqueID const &); + /*39*/ virtual void normalTick(); + /*54*/ virtual void __unk_vfn_54(); + /*61*/ virtual void __unk_vfn_61(); + /*73*/ virtual float getShadowHeightOffs(); + /*74*/ virtual float getShadowRadius() const; + /*76*/ virtual void __unk_vfn_76(); + /*81*/ virtual void __unk_vfn_81(); + /*87*/ virtual bool isPickable(); + /*88*/ virtual void __unk_vfn_88(); + /*90*/ virtual void __unk_vfn_90(); + /*98*/ virtual void __unk_vfn_98(); + /*100*/ virtual void __unk_vfn_100(); + /*121*/ virtual void __unk_vfn_121(); + /*161*/ virtual struct ActorUniqueID getSourceUniqueID() const; + /*169*/ virtual void __unk_vfn_169(); + /*182*/ virtual void __unk_vfn_182(); + /*206*/ virtual void __unk_vfn_206(); + /*207*/ virtual void __unk_vfn_207(); + /*228*/ virtual void __unk_vfn_228(); + /*231*/ virtual void __unk_vfn_231(); + /*238*/ virtual void __unk_vfn_238(); + /*240*/ virtual bool _hurt(class ActorDamageSource const &, int, bool, bool); + /*242*/ virtual void readAdditionalSaveData(class CompoundTag const &, class DataLoadHelper &); + /*243*/ virtual void addAdditionalSaveData(class CompoundTag &); + /*246*/ virtual void __unk_vfn_246(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_PRIMEDTNT +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/PrintStream.hpp b/LiteLoader/Header/MC/PrintStream.hpp new file mode 100644 index 0000000..9286c15 --- /dev/null +++ b/LiteLoader/Header/MC/PrintStream.hpp @@ -0,0 +1,27 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class PrintStream { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_PRINTSTREAM +public: + class PrintStream& operator=(class PrintStream const &) = delete; + PrintStream(class PrintStream const &) = delete; + PrintStream() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_PRINTSTREAM +#endif + MCAPI void println(std::string const &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/PrioritizedGoal.hpp b/LiteLoader/Header/MC/PrioritizedGoal.hpp new file mode 100644 index 0000000..8e76d70 --- /dev/null +++ b/LiteLoader/Header/MC/PrioritizedGoal.hpp @@ -0,0 +1,27 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class PrioritizedGoal { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_PRIORITIZEDGOAL +public: + class PrioritizedGoal& operator=(class PrioritizedGoal const &) = delete; + PrioritizedGoal(class PrioritizedGoal const &) = delete; + PrioritizedGoal() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_PRIORITIZEDGOAL +#endif + MCAPI ~PrioritizedGoal(); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/PrismarineBlock.hpp b/LiteLoader/Header/MC/PrismarineBlock.hpp new file mode 100644 index 0000000..acb7246 --- /dev/null +++ b/LiteLoader/Header/MC/PrismarineBlock.hpp @@ -0,0 +1,62 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "BlockLegacy.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class PrismarineBlock : public BlockLegacy { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_PRISMARINEBLOCK +public: + class PrismarineBlock& operator=(class PrismarineBlock const &) = delete; + PrismarineBlock(class PrismarineBlock const &) = delete; + PrismarineBlock() = delete; +#endif + +public: + /*0*/ virtual ~PrismarineBlock(); + /*18*/ virtual void __unk_vfn_18(); + /*24*/ virtual void __unk_vfn_24(); + /*25*/ virtual void __unk_vfn_25(); + /*26*/ virtual void __unk_vfn_26(); + /*27*/ virtual void __unk_vfn_27(); + /*28*/ virtual void __unk_vfn_28(); + /*30*/ virtual void __unk_vfn_30(); + /*31*/ virtual void __unk_vfn_31(); + /*32*/ virtual void __unk_vfn_32(); + /*33*/ virtual void __unk_vfn_33(); + /*34*/ virtual void __unk_vfn_34(); + /*35*/ virtual void __unk_vfn_35(); + /*36*/ virtual void __unk_vfn_36(); + /*38*/ virtual void __unk_vfn_38(); + /*39*/ virtual void __unk_vfn_39(); + /*40*/ virtual void __unk_vfn_40(); + /*42*/ virtual void __unk_vfn_42(); + /*43*/ virtual void __unk_vfn_43(); + /*49*/ virtual void __unk_vfn_49(); + /*52*/ virtual void __unk_vfn_52(); + /*67*/ virtual void __unk_vfn_67(); + /*73*/ virtual void __unk_vfn_73(); + /*87*/ virtual void __unk_vfn_87(); + /*91*/ virtual class ItemInstance getResourceItem(class Random &, class Block const &, int) const; + /*95*/ virtual void __unk_vfn_95(); + /*109*/ virtual void __unk_vfn_109(); + /*113*/ virtual class Color getMapColor(class BlockSource &, class BlockPos const &) const; + /*116*/ virtual void __unk_vfn_116(); + /*118*/ virtual void __unk_vfn_118(); + /*119*/ virtual void __unk_vfn_119(); + /*127*/ virtual std::string buildDescriptionId(class Block const &) const; + /*128*/ virtual bool isAuxValueRelevantForPicking() const; + /*142*/ virtual void __unk_vfn_142(); + /*158*/ virtual void __unk_vfn_158(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_PRISMARINEBLOCK +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/PrivateKeyManager.hpp b/LiteLoader/Header/MC/PrivateKeyManager.hpp new file mode 100644 index 0000000..f2f3dca --- /dev/null +++ b/LiteLoader/Header/MC/PrivateKeyManager.hpp @@ -0,0 +1,30 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class PrivateKeyManager { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_PRIVATEKEYMANAGER +public: + class PrivateKeyManager& operator=(class PrivateKeyManager const &) = delete; + PrivateKeyManager(class PrivateKeyManager const &) = delete; + PrivateKeyManager() = delete; +#endif + +public: + /*0*/ virtual ~PrivateKeyManager(); + /*1*/ virtual bool isValid() const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_PRIVATEKEYMANAGER +#endif + MCAPI PrivateKeyManager(enum Crypto::Asymmetric::System); + MCAPI std::string computeSecret(class KeyManager const &) const; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ProducerComponent.hpp b/LiteLoader/Header/MC/ProducerComponent.hpp new file mode 100644 index 0000000..fe5cb23 --- /dev/null +++ b/LiteLoader/Header/MC/ProducerComponent.hpp @@ -0,0 +1,38 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "BaseCircuitComponent.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ProducerComponent : public BaseCircuitComponent { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_PRODUCERCOMPONENT +public: + class ProducerComponent& operator=(class ProducerComponent const &) = delete; + ProducerComponent(class ProducerComponent const &) = delete; + ProducerComponent() = delete; +#endif + +public: + /*0*/ virtual ~ProducerComponent(); + /*3*/ virtual void setStrength(int); + /*5*/ virtual void __unk_vfn_5(); + /*7*/ virtual bool canStopPower(); + /*8*/ virtual void setStopPower(bool); + /*9*/ virtual unsigned __int64 getBaseType() const; + /*10*/ virtual unsigned __int64 getInstanceType() const; + /*13*/ virtual bool allowConnection(class CircuitSceneGraph &, class CircuitTrackingInfo const &, bool &); + /*15*/ virtual bool evaluate(class CircuitSystem &, class BlockPos const &); + /*18*/ virtual void __unk_vfn_18(); + /*21*/ virtual void __unk_vfn_21(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_PRODUCERCOMPONENT +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ProfilerLite.hpp b/LiteLoader/Header/MC/ProfilerLite.hpp new file mode 100644 index 0000000..7713d64 --- /dev/null +++ b/LiteLoader/Header/MC/ProfilerLite.hpp @@ -0,0 +1,32 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ProfilerLite { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_PROFILERLITE +public: + class ProfilerLite& operator=(class ProfilerLite const &) = delete; + ProfilerLite(class ProfilerLite const &) = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_PROFILERLITE +#endif + MCAPI ProfilerLite(); + MCAPI static class std::thread::id sEmptyThreadID; + +//private: + +private: + MCAPI static class ProfilerLite gProfilerLiteInstance; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ProjectileComponent.hpp b/LiteLoader/Header/MC/ProjectileComponent.hpp new file mode 100644 index 0000000..cb92693 --- /dev/null +++ b/LiteLoader/Header/MC/ProjectileComponent.hpp @@ -0,0 +1,49 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ProjectileComponent { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_PROJECTILECOMPONENT +public: + class ProjectileComponent& operator=(class ProjectileComponent const &) = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_PROJECTILECOMPONENT +#endif + MCAPI ProjectileComponent(); + MCAPI ProjectileComponent(class ProjectileComponent &&); + MCAPI ProjectileComponent(class ProjectileComponent const &); + MCAPI void addAdditionalSaveData(class CompoundTag &); + MCAPI class Vec3 getShooterAngle(class Actor &) const; + MCAPI void handleMovementGravity(class Actor &); + MCAPI void handleMovementHoming(class Actor &); + MCAPI void hurt(class Actor &, class ActorDamageSource const &); + MCAPI void initFromDefinition(class Actor &); + MCAPI void lerpMotion(class Actor &, class Vec3 const &); + MCAPI void onHit(class Actor &, class HitResult const &); + MCAPI class ProjectileComponent & operator=(class ProjectileComponent &&); + MCAPI void readAdditionalSaveData(class Actor &, class CompoundTag const &, class DataLoadHelper &); + MCAPI void setHitResult(class HitResult); + MCAPI void shoot(class Actor &, class Actor &); + MCAPI void shoot(class Actor &, class Vec3 const &, float, float, class Vec3 const &, class Actor *); + MCAPI ~ProjectileComponent(); + MCAPI static unsigned int const DELAY_ON_HIT; + +//private: + MCAPI void _handleLightningOnHit(class Actor &); + MCAPI bool _isLoyaltyTrident(class Actor const &) const; + MCAPI void _selectNextMoveDirection(class Actor &, enum ProjectileComponent::EAxis); + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ProjectileDescription.hpp b/LiteLoader/Header/MC/ProjectileDescription.hpp new file mode 100644 index 0000000..43f2c5d --- /dev/null +++ b/LiteLoader/Header/MC/ProjectileDescription.hpp @@ -0,0 +1,30 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Json.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +struct ProjectileDescription { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_PROJECTILEDESCRIPTION +public: + struct ProjectileDescription& operator=(struct ProjectileDescription const &) = delete; + ProjectileDescription(struct ProjectileDescription const &) = delete; + ProjectileDescription() = delete; +#endif +public: + /*0*/ virtual char const * getJsonName() const; + /*1*/ virtual ~ProjectileDescription(); + /*2*/ virtual void deserializeData(class Json::Value &); + /*3*/ virtual void serializeData(class Json::Value &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_PROJECTILEDESCRIPTION +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ProjectileFactory.hpp b/LiteLoader/Header/MC/ProjectileFactory.hpp new file mode 100644 index 0000000..0e1bb58 --- /dev/null +++ b/LiteLoader/Header/MC/ProjectileFactory.hpp @@ -0,0 +1,35 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Json.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ProjectileFactory { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_PROJECTILEFACTORY +public: + class ProjectileFactory& operator=(class ProjectileFactory const &) = delete; + ProjectileFactory(class ProjectileFactory const &) = delete; + ProjectileFactory() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_PROJECTILEFACTORY +#endif + MCAPI bool shootProjectileFromDefinition(struct ActorDefinitionIdentifier const &, class Mob *, class Vec3); + MCAPI static std::unique_ptr createSubcomponent(class Json::Value &, std::string const &); + MCAPI static void initFactory(); + +//private: + +private: + MCAPI static class std::unordered_map (void)>, struct std::hash, struct std::equal_to, class std::allocator (void)>>>> mSubcomponentMap; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ProjectileSystem.hpp b/LiteLoader/Header/MC/ProjectileSystem.hpp new file mode 100644 index 0000000..172b9f8 --- /dev/null +++ b/LiteLoader/Header/MC/ProjectileSystem.hpp @@ -0,0 +1,28 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ProjectileSystem { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_PROJECTILESYSTEM +public: + class ProjectileSystem& operator=(class ProjectileSystem const &) = delete; + ProjectileSystem(class ProjectileSystem const &) = delete; + ProjectileSystem() = delete; +#endif + +public: + /*0*/ virtual ~ProjectileSystem(); + /*1*/ virtual void tick(class EntityRegistry &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_PROJECTILESYSTEM +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/PropertiesSettings.hpp b/LiteLoader/Header/MC/PropertiesSettings.hpp new file mode 100644 index 0000000..4c50493 --- /dev/null +++ b/LiteLoader/Header/MC/PropertiesSettings.hpp @@ -0,0 +1,32 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class PropertiesSettings { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_PROPERTIESSETTINGS +public: + class PropertiesSettings& operator=(class PropertiesSettings const &) = delete; + PropertiesSettings(class PropertiesSettings const &) = delete; + PropertiesSettings() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_PROPERTIESSETTINGS +#endif + MCAPI PropertiesSettings(std::string const &); + MCAPI enum CommandPermissionLevel getOpPermissionLevel() const; + MCAPI struct NetworkAddress getRemoteServerCommunicationEndpoint() const; + MCAPI float websocketRetryTime() const; + MCAPI ~PropertiesSettings(); + MCAPI static bool parseBoolValue(std::string const &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/PropertyBag.hpp b/LiteLoader/Header/MC/PropertyBag.hpp new file mode 100644 index 0000000..2cee5e9 --- /dev/null +++ b/LiteLoader/Header/MC/PropertyBag.hpp @@ -0,0 +1,27 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class PropertyBag { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_PROPERTYBAG +public: + class PropertyBag& operator=(class PropertyBag const &) = delete; + PropertyBag(class PropertyBag const &) = delete; + PropertyBag() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_PROPERTYBAG +#endif + MCAPI static class PropertyBag EMPTY; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/PropertyDescription.hpp b/LiteLoader/Header/MC/PropertyDescription.hpp new file mode 100644 index 0000000..8b2b68c --- /dev/null +++ b/LiteLoader/Header/MC/PropertyDescription.hpp @@ -0,0 +1,26 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +struct PropertyDescription { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_PROPERTYDESCRIPTION +public: + struct PropertyDescription& operator=(struct PropertyDescription const &) = delete; + PropertyDescription(struct PropertyDescription const &) = delete; + PropertyDescription() = delete; +#endif +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_PROPERTYDESCRIPTION + MCVAPI ~PropertyDescription(); +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ProtectionEnchant.hpp b/LiteLoader/Header/MC/ProtectionEnchant.hpp new file mode 100644 index 0000000..f40619f --- /dev/null +++ b/LiteLoader/Header/MC/ProtectionEnchant.hpp @@ -0,0 +1,34 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Enchant.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ProtectionEnchant : public Enchant { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_PROTECTIONENCHANT +public: + class ProtectionEnchant& operator=(class ProtectionEnchant const &) = delete; + ProtectionEnchant(class ProtectionEnchant const &) = delete; + ProtectionEnchant() = delete; +#endif + +public: + /*0*/ virtual ~ProtectionEnchant(); + /*2*/ virtual int getMinCost(int) const; + /*3*/ virtual int getMaxCost(int) const; + /*5*/ virtual int getMaxLevel() const; + /*6*/ virtual int getDamageProtection(int, class ActorDamageSource const &) const; + /*9*/ virtual void doPostHurt(class ItemInstance &, class Actor &, class Actor &, int) const; + /*11*/ virtual bool isProtectionEnchant() const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_PROTECTIONENCHANT +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/Pufferfish.hpp b/LiteLoader/Header/MC/Pufferfish.hpp new file mode 100644 index 0000000..a28ef47 --- /dev/null +++ b/LiteLoader/Header/MC/Pufferfish.hpp @@ -0,0 +1,57 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Actor.hpp" +#include "Fish.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class Pufferfish : public Fish { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_PUFFERFISH +public: + class Pufferfish& operator=(class Pufferfish const &) = delete; + Pufferfish(class Pufferfish const &) = delete; + Pufferfish() = delete; +#endif + +public: + /*7*/ virtual ~Pufferfish(); + /*30*/ virtual void __unk_vfn_30(); + /*39*/ virtual void normalTick(); + /*44*/ virtual bool startRiding(class Actor &); + /*54*/ virtual void __unk_vfn_54(); + /*61*/ virtual void __unk_vfn_61(); + /*76*/ virtual void __unk_vfn_76(); + /*81*/ virtual void __unk_vfn_81(); + /*82*/ virtual void playerTouch(class Player &); + /*88*/ virtual void __unk_vfn_88(); + /*90*/ virtual void __unk_vfn_90(); + /*98*/ virtual void __unk_vfn_98(); + /*100*/ virtual void __unk_vfn_100(); + /*121*/ virtual void __unk_vfn_121(); + /*169*/ virtual void __unk_vfn_169(); + /*182*/ virtual void __unk_vfn_182(); + /*206*/ virtual void __unk_vfn_206(); + /*207*/ virtual void __unk_vfn_207(); + /*228*/ virtual void __unk_vfn_228(); + /*231*/ virtual void __unk_vfn_231(); + /*235*/ virtual void updateEntitySpecificMolangVariables(class RenderParams &); + /*238*/ virtual void __unk_vfn_238(); + /*240*/ virtual bool _hurt(class ActorDamageSource const &, int, bool, bool); + /*246*/ virtual void __unk_vfn_246(); + /*256*/ virtual void _onSizeUpdated(); + /*257*/ virtual void __unk_vfn_257(); + /*290*/ virtual void __unk_vfn_290(); + /*300*/ virtual void __unk_vfn_300(); + /*332*/ virtual void __unk_vfn_332(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_PUFFERFISH +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/PulseCapacitor.hpp b/LiteLoader/Header/MC/PulseCapacitor.hpp new file mode 100644 index 0000000..c18c611 --- /dev/null +++ b/LiteLoader/Header/MC/PulseCapacitor.hpp @@ -0,0 +1,39 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "ProducerComponent.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class PulseCapacitor : public ProducerComponent { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_PULSECAPACITOR +public: + class PulseCapacitor& operator=(class PulseCapacitor const &) = delete; + PulseCapacitor(class PulseCapacitor const &) = delete; + PulseCapacitor() = delete; +#endif + +public: + /*0*/ virtual ~PulseCapacitor(); + /*1*/ virtual int getStrength() const; + /*3*/ virtual void setStrength(int); + /*5*/ virtual void __unk_vfn_5(); + /*6*/ virtual bool canConsumerPower(); + /*10*/ virtual unsigned __int64 getInstanceType() const; + /*13*/ virtual bool allowConnection(class CircuitSceneGraph &, class CircuitTrackingInfo const &, bool &); + /*15*/ virtual bool evaluate(class CircuitSystem &, class BlockPos const &); + /*18*/ virtual void __unk_vfn_18(); + /*21*/ virtual void __unk_vfn_21(); + /*23*/ virtual unsigned char getPoweroutDirection() const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_PULSECAPACITOR + MCVAPI bool consumePowerAnyDirection(); +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/PumpkinBlock.hpp b/LiteLoader/Header/MC/PumpkinBlock.hpp new file mode 100644 index 0000000..58c67fb --- /dev/null +++ b/LiteLoader/Header/MC/PumpkinBlock.hpp @@ -0,0 +1,72 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "BlockLegacy.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class PumpkinBlock : public BlockLegacy { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_PUMPKINBLOCK +public: + class PumpkinBlock& operator=(class PumpkinBlock const &) = delete; + PumpkinBlock(class PumpkinBlock const &) = delete; + PumpkinBlock() = delete; +#endif + +public: + /*0*/ virtual ~PumpkinBlock(); + /*18*/ virtual void __unk_vfn_18(); + /*22*/ virtual bool canConnect(class Block const &, unsigned char, class Block const &) const; + /*24*/ virtual void __unk_vfn_24(); + /*25*/ virtual void __unk_vfn_25(); + /*26*/ virtual void __unk_vfn_26(); + /*27*/ virtual void __unk_vfn_27(); + /*28*/ virtual void __unk_vfn_28(); + /*30*/ virtual void __unk_vfn_30(); + /*31*/ virtual void __unk_vfn_31(); + /*32*/ virtual void __unk_vfn_32(); + /*33*/ virtual void __unk_vfn_33(); + /*34*/ virtual void __unk_vfn_34(); + /*35*/ virtual void __unk_vfn_35(); + /*36*/ virtual void __unk_vfn_36(); + /*38*/ virtual void __unk_vfn_38(); + /*39*/ virtual void __unk_vfn_39(); + /*40*/ virtual void __unk_vfn_40(); + /*42*/ virtual void __unk_vfn_42(); + /*43*/ virtual void __unk_vfn_43(); + /*49*/ virtual void __unk_vfn_49(); + /*52*/ virtual void __unk_vfn_52(); + /*58*/ virtual bool dispense(class BlockSource &, class Container &, int, class Vec3 const &, unsigned char) const; + /*59*/ virtual void onPlace(class BlockSource &, class BlockPos const &) const; + /*67*/ virtual void __unk_vfn_67(); + /*73*/ virtual void __unk_vfn_73(); + /*81*/ virtual bool mayPlace(class BlockSource &, class BlockPos const &) const; + /*87*/ virtual void __unk_vfn_87(); + /*92*/ virtual class ItemInstance asItemInstance(class BlockSource &, class BlockPos const &, class Block const &) const; + /*95*/ virtual void __unk_vfn_95(); + /*99*/ virtual class Block const & getPlacementBlock(class Actor &, class BlockPos const &, unsigned char, class Vec3 const &, int) const; + /*109*/ virtual void __unk_vfn_109(); + /*116*/ virtual void __unk_vfn_116(); + /*118*/ virtual void __unk_vfn_118(); + /*119*/ virtual void __unk_vfn_119(); + /*141*/ virtual int getVariant(class Block const &) const; + /*142*/ virtual void __unk_vfn_142(); + /*144*/ virtual unsigned char getMappedFace(unsigned char, class Block const &) const; + /*158*/ virtual void __unk_vfn_158(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_PUMPKINBLOCK +#endif + +//private: + MCAPI bool _canDispense(class BlockSource &, class Vec3 const &, unsigned char) const; + MCAPI bool _canSpawnGolem(class BlockSource &, class BlockPos const &) const; + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/PumpkinBlockItem.hpp b/LiteLoader/Header/MC/PumpkinBlockItem.hpp new file mode 100644 index 0000000..fcb81ee --- /dev/null +++ b/LiteLoader/Header/MC/PumpkinBlockItem.hpp @@ -0,0 +1,45 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "BlockItem.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class PumpkinBlockItem : public BlockItem { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_PUMPKINBLOCKITEM +public: + class PumpkinBlockItem& operator=(class PumpkinBlockItem const &) = delete; + PumpkinBlockItem(class PumpkinBlockItem const &) = delete; + PumpkinBlockItem() = delete; +#endif + +public: + /*0*/ virtual ~PumpkinBlockItem(); + /*5*/ virtual void __unk_vfn_5(); + /*26*/ virtual void __unk_vfn_26(); + /*27*/ virtual void __unk_vfn_27(); + /*31*/ virtual void __unk_vfn_31(); + /*32*/ virtual void __unk_vfn_32(); + /*34*/ virtual void __unk_vfn_34(); + /*37*/ virtual void __unk_vfn_37(); + /*40*/ virtual int getEnchantSlot() const; + /*43*/ virtual void __unk_vfn_43(); + /*46*/ virtual void __unk_vfn_46(); + /*47*/ virtual void __unk_vfn_47(); + /*49*/ virtual void __unk_vfn_49(); + /*50*/ virtual void __unk_vfn_50(); + /*79*/ virtual void __unk_vfn_79(); + /*80*/ virtual void __unk_vfn_80(); + /*90*/ virtual void __unk_vfn_90(); + /*97*/ virtual void __unk_vfn_97(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_PUMPKINBLOCKITEM +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/PurchaseReceiptPacket.hpp b/LiteLoader/Header/MC/PurchaseReceiptPacket.hpp new file mode 100644 index 0000000..45f8a91 --- /dev/null +++ b/LiteLoader/Header/MC/PurchaseReceiptPacket.hpp @@ -0,0 +1,32 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Packet.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class PurchaseReceiptPacket : public Packet { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_PURCHASERECEIPTPACKET +public: + class PurchaseReceiptPacket& operator=(class PurchaseReceiptPacket const &) = delete; + PurchaseReceiptPacket(class PurchaseReceiptPacket const &) = delete; + PurchaseReceiptPacket() = delete; +#endif + +public: + /*0*/ virtual ~PurchaseReceiptPacket(); + /*1*/ virtual enum MinecraftPacketIds getId() const; + /*2*/ virtual std::string getName() const; + /*3*/ virtual void write(class BinaryStream &) const; + /*4*/ virtual enum StreamReadResult read(class ReadOnlyBinaryStream &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_PURCHASERECEIPTPACKET +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/PushThroughDescription.hpp b/LiteLoader/Header/MC/PushThroughDescription.hpp new file mode 100644 index 0000000..e0ef9b8 --- /dev/null +++ b/LiteLoader/Header/MC/PushThroughDescription.hpp @@ -0,0 +1,30 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Json.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +struct PushThroughDescription { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_PUSHTHROUGHDESCRIPTION +public: + struct PushThroughDescription& operator=(struct PushThroughDescription const &) = delete; + PushThroughDescription(struct PushThroughDescription const &) = delete; + PushThroughDescription() = delete; +#endif +public: + /*0*/ virtual char const * getJsonName() const; + /*1*/ virtual ~PushThroughDescription(); + /*2*/ virtual void deserializeData(class Json::Value &); + /*3*/ virtual void serializeData(class Json::Value &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_PUSHTHROUGHDESCRIPTION +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/PushableComponent.hpp b/LiteLoader/Header/MC/PushableComponent.hpp new file mode 100644 index 0000000..19bbd17 --- /dev/null +++ b/LiteLoader/Header/MC/PushableComponent.hpp @@ -0,0 +1,33 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class PushableComponent { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_PUSHABLECOMPONENT +public: + class PushableComponent& operator=(class PushableComponent const &) = delete; + PushableComponent(class PushableComponent const &) = delete; + PushableComponent() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_PUSHABLECOMPONENT +#endif + MCAPI void push(class Actor &, class Actor &, bool); + MCAPI void push(class Actor &, class Vec3 const &); + +//private: + MCAPI struct std::pair _calculatePushVectorMinecart(class Actor &, class Actor &, bool); + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/PushableDescription.hpp b/LiteLoader/Header/MC/PushableDescription.hpp new file mode 100644 index 0000000..80d64ea --- /dev/null +++ b/LiteLoader/Header/MC/PushableDescription.hpp @@ -0,0 +1,30 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Json.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +struct PushableDescription { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_PUSHABLEDESCRIPTION +public: + struct PushableDescription& operator=(struct PushableDescription const &) = delete; + PushableDescription(struct PushableDescription const &) = delete; + PushableDescription() = delete; +#endif +public: + /*0*/ virtual char const * getJsonName() const; + /*1*/ virtual ~PushableDescription(); + /*2*/ virtual void deserializeData(class Json::Value &); + /*3*/ virtual void serializeData(class Json::Value &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_PUSHABLEDESCRIPTION +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/QuartzBlockBlock.hpp b/LiteLoader/Header/MC/QuartzBlockBlock.hpp new file mode 100644 index 0000000..bb75ca3 --- /dev/null +++ b/LiteLoader/Header/MC/QuartzBlockBlock.hpp @@ -0,0 +1,66 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "BlockLegacy.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class QuartzBlockBlock : public BlockLegacy { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_QUARTZBLOCKBLOCK +public: + class QuartzBlockBlock& operator=(class QuartzBlockBlock const &) = delete; + QuartzBlockBlock(class QuartzBlockBlock const &) = delete; + QuartzBlockBlock() = delete; +#endif + +public: + /*0*/ virtual ~QuartzBlockBlock(); + /*18*/ virtual void __unk_vfn_18(); + /*24*/ virtual void __unk_vfn_24(); + /*25*/ virtual void __unk_vfn_25(); + /*26*/ virtual void __unk_vfn_26(); + /*27*/ virtual void __unk_vfn_27(); + /*28*/ virtual void __unk_vfn_28(); + /*30*/ virtual void __unk_vfn_30(); + /*31*/ virtual void __unk_vfn_31(); + /*32*/ virtual void __unk_vfn_32(); + /*33*/ virtual void __unk_vfn_33(); + /*34*/ virtual void __unk_vfn_34(); + /*35*/ virtual void __unk_vfn_35(); + /*36*/ virtual void __unk_vfn_36(); + /*38*/ virtual void __unk_vfn_38(); + /*39*/ virtual void __unk_vfn_39(); + /*40*/ virtual void __unk_vfn_40(); + /*42*/ virtual void __unk_vfn_42(); + /*43*/ virtual void __unk_vfn_43(); + /*49*/ virtual void __unk_vfn_49(); + /*52*/ virtual void __unk_vfn_52(); + /*67*/ virtual void __unk_vfn_67(); + /*73*/ virtual void __unk_vfn_73(); + /*87*/ virtual void __unk_vfn_87(); + /*91*/ virtual class ItemInstance getResourceItem(class Random &, class Block const &, int) const; + /*92*/ virtual class ItemInstance asItemInstance(class BlockSource &, class BlockPos const &, class Block const &) const; + /*95*/ virtual void __unk_vfn_95(); + /*99*/ virtual class Block const & getPlacementBlock(class Actor &, class BlockPos const &, unsigned char, class Vec3 const &, int) const; + /*109*/ virtual void __unk_vfn_109(); + /*116*/ virtual void __unk_vfn_116(); + /*118*/ virtual void __unk_vfn_118(); + /*119*/ virtual void __unk_vfn_119(); + /*127*/ virtual std::string buildDescriptionId(class Block const &) const; + /*128*/ virtual bool isAuxValueRelevantForPicking() const; + /*141*/ virtual int getVariant(class Block const &) const; + /*142*/ virtual void __unk_vfn_142(); + /*144*/ virtual unsigned char getMappedFace(unsigned char, class Block const &) const; + /*158*/ virtual void __unk_vfn_158(); + /*159*/ virtual class ItemInstance getSilkTouchItemInstance(class Block const &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_QUARTZBLOCKBLOCK +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/QueryTargetCommand.hpp b/LiteLoader/Header/MC/QueryTargetCommand.hpp new file mode 100644 index 0000000..9123ea3 --- /dev/null +++ b/LiteLoader/Header/MC/QueryTargetCommand.hpp @@ -0,0 +1,30 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Command.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class QueryTargetCommand : public Command { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_QUERYTARGETCOMMAND +public: + class QueryTargetCommand& operator=(class QueryTargetCommand const &) = delete; + QueryTargetCommand(class QueryTargetCommand const &) = delete; + QueryTargetCommand() = delete; +#endif + +public: + /*0*/ virtual ~QueryTargetCommand(); + /*1*/ virtual void execute(class CommandOrigin const &, class CommandOutput &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_QUERYTARGETCOMMAND +#endif + MCAPI static void setup(class CommandRegistry &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/Rabbit.hpp b/LiteLoader/Header/MC/Rabbit.hpp new file mode 100644 index 0000000..3c0ab6b --- /dev/null +++ b/LiteLoader/Header/MC/Rabbit.hpp @@ -0,0 +1,56 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Actor.hpp" +#include "Animal.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class Rabbit : public Animal { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_RABBIT +public: + class Rabbit& operator=(class Rabbit const &) = delete; + Rabbit(class Rabbit const &) = delete; + Rabbit() = delete; +#endif + +public: + /*7*/ virtual ~Rabbit(); + /*30*/ virtual void __unk_vfn_30(); + /*54*/ virtual void __unk_vfn_54(); + /*61*/ virtual void __unk_vfn_61(); + /*76*/ virtual void __unk_vfn_76(); + /*81*/ virtual void __unk_vfn_81(); + /*88*/ virtual void __unk_vfn_88(); + /*90*/ virtual void __unk_vfn_90(); + /*98*/ virtual void __unk_vfn_98(); + /*100*/ virtual void __unk_vfn_100(); + /*121*/ virtual void __unk_vfn_121(); + /*169*/ virtual void __unk_vfn_169(); + /*177*/ virtual void onSynchedDataUpdate(int); + /*182*/ virtual void __unk_vfn_182(); + /*206*/ virtual void __unk_vfn_206(); + /*207*/ virtual void __unk_vfn_207(); + /*228*/ virtual void __unk_vfn_228(); + /*231*/ virtual void __unk_vfn_231(); + /*235*/ virtual void updateEntitySpecificMolangVariables(class RenderParams &); + /*238*/ virtual void __unk_vfn_238(); + /*242*/ virtual void readAdditionalSaveData(class CompoundTag const &, class DataLoadHelper &); + /*243*/ virtual void addAdditionalSaveData(class CompoundTag &); + /*246*/ virtual void __unk_vfn_246(); + /*257*/ virtual void __unk_vfn_257(); + /*290*/ virtual void __unk_vfn_290(); + /*300*/ virtual void __unk_vfn_300(); + /*332*/ virtual void __unk_vfn_332(); + /*339*/ virtual void newServerAiStep(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_RABBIT +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/RabbitPanicGoal.hpp b/LiteLoader/Header/MC/RabbitPanicGoal.hpp new file mode 100644 index 0000000..1ccd09e --- /dev/null +++ b/LiteLoader/Header/MC/RabbitPanicGoal.hpp @@ -0,0 +1,29 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "PanicGoal.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class RabbitPanicGoal : public PanicGoal { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_RABBITPANICGOAL +public: + class RabbitPanicGoal& operator=(class RabbitPanicGoal const &) = delete; + RabbitPanicGoal(class RabbitPanicGoal const &) = delete; + RabbitPanicGoal() = delete; +#endif + +public: + /*0*/ virtual ~RabbitPanicGoal(); + /*3*/ virtual void __unk_vfn_3(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_RABBITPANICGOAL +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/Raid.hpp b/LiteLoader/Header/MC/Raid.hpp new file mode 100644 index 0000000..78cf3ba --- /dev/null +++ b/LiteLoader/Header/MC/Raid.hpp @@ -0,0 +1,37 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class Raid { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_RAID +public: + class Raid& operator=(class Raid const &) = delete; + Raid(class Raid const &) = delete; + Raid() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_RAID +#endif + MCAPI void addAdditionalSaveData(class CompoundTag &) const; + MCAPI float getBossBarFilledFraction() const; + MCAPI void readAdditionalSaveData(class CompoundTag const &); + MCAPI void tick(); + MCAPI ~Raid(); + MCAPI static class Vec3 const INVALID_SPAWN_POINT; + +//private: + MCAPI void _tickGroupInPlay(); + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/RaidBossComponent.hpp b/LiteLoader/Header/MC/RaidBossComponent.hpp new file mode 100644 index 0000000..d0c784b --- /dev/null +++ b/LiteLoader/Header/MC/RaidBossComponent.hpp @@ -0,0 +1,38 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class RaidBossComponent { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_RAIDBOSSCOMPONENT +public: + class RaidBossComponent& operator=(class RaidBossComponent const &) = delete; + RaidBossComponent(class RaidBossComponent const &) = delete; + RaidBossComponent() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_RAIDBOSSCOMPONENT +#endif + MCAPI RaidBossComponent(class RaidBossComponent &&); + MCAPI std::string getName(); + MCAPI bool isWithinRange(class Mob const &); + MCAPI void removeBossBar(class Actor &); + MCAPI void sendRegistryMessages(class Actor &); + MCAPI void updateBossBarStats(class Actor &, class Raid const &); + +//private: + MCAPI void _broadcastBossEvent(enum BossEventUpdateType, class Actor &); + MCAPI void _sendBossEvent(enum BossEventUpdateType, class Player &); + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/RaidBossSystem.hpp b/LiteLoader/Header/MC/RaidBossSystem.hpp new file mode 100644 index 0000000..2b0339a --- /dev/null +++ b/LiteLoader/Header/MC/RaidBossSystem.hpp @@ -0,0 +1,28 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class RaidBossSystem { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_RAIDBOSSSYSTEM +public: + class RaidBossSystem& operator=(class RaidBossSystem const &) = delete; + RaidBossSystem(class RaidBossSystem const &) = delete; + RaidBossSystem() = delete; +#endif + +public: + /*0*/ virtual ~RaidBossSystem(); + /*1*/ virtual void tick(class EntityRegistry &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_RAIDBOSSSYSTEM +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/RaidGardenGoal.hpp b/LiteLoader/Header/MC/RaidGardenGoal.hpp new file mode 100644 index 0000000..b743531 --- /dev/null +++ b/LiteLoader/Header/MC/RaidGardenGoal.hpp @@ -0,0 +1,45 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "BaseMoveToBlockGoal.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class RaidGardenGoal : public BaseMoveToBlockGoal { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_RAIDGARDENGOAL +public: + class RaidGardenGoal& operator=(class RaidGardenGoal const &) = delete; + RaidGardenGoal(class RaidGardenGoal const &) = delete; + RaidGardenGoal() = delete; +#endif + +public: + /*0*/ virtual ~RaidGardenGoal(); + /*1*/ virtual bool canUse(); + /*2*/ virtual bool canContinueToUse(); + /*3*/ virtual void __unk_vfn_3(); + /*4*/ virtual void start(); + /*5*/ virtual void __unk_vfn_5(); + /*6*/ virtual void tick(); + /*7*/ virtual void appendDebugInfo(std::string &) const; + /*8*/ virtual void __unk_vfn_8(); + /*9*/ virtual void __unk_vfn_9(); + /*10*/ virtual bool hasReachedTarget() const; + /*11*/ virtual bool isValidTarget(class BlockSource &, class BlockPos const &); + /*12*/ virtual int _nextStartTick(); + /*13*/ virtual bool _canReach(class BlockPos const &); + /*14*/ virtual void _moveToBlock(); + /*15*/ virtual class Vec3 _getTargetPosition() const; + /*16*/ virtual void __unk_vfn_16(); + /*17*/ virtual bool findTargetBlock(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_RAIDGARDENGOAL +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/RaidTriggerComponent.hpp b/LiteLoader/Header/MC/RaidTriggerComponent.hpp new file mode 100644 index 0000000..76f0b86 --- /dev/null +++ b/LiteLoader/Header/MC/RaidTriggerComponent.hpp @@ -0,0 +1,31 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class RaidTriggerComponent { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_RAIDTRIGGERCOMPONENT +public: + class RaidTriggerComponent& operator=(class RaidTriggerComponent const &) = delete; + RaidTriggerComponent(class RaidTriggerComponent const &) = delete; + RaidTriggerComponent() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_RAIDTRIGGERCOMPONENT +#endif + +//private: + MCAPI void triggerRaid(class Actor &); + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/RaidTriggerDescription.hpp b/LiteLoader/Header/MC/RaidTriggerDescription.hpp new file mode 100644 index 0000000..a0d4a29 --- /dev/null +++ b/LiteLoader/Header/MC/RaidTriggerDescription.hpp @@ -0,0 +1,30 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Json.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +struct RaidTriggerDescription { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_RAIDTRIGGERDESCRIPTION +public: + struct RaidTriggerDescription& operator=(struct RaidTriggerDescription const &) = delete; + RaidTriggerDescription(struct RaidTriggerDescription const &) = delete; + RaidTriggerDescription() = delete; +#endif +public: + /*0*/ virtual char const * getJsonName() const; + /*1*/ virtual ~RaidTriggerDescription(); + /*2*/ virtual void deserializeData(class Json::Value &); + /*3*/ virtual void serializeData(class Json::Value &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_RAIDTRIGGERDESCRIPTION +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/RaiderCelebrationGoal.hpp b/LiteLoader/Header/MC/RaiderCelebrationGoal.hpp new file mode 100644 index 0000000..9bb1960 --- /dev/null +++ b/LiteLoader/Header/MC/RaiderCelebrationGoal.hpp @@ -0,0 +1,34 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class RaiderCelebrationGoal { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_RAIDERCELEBRATIONGOAL +public: + class RaiderCelebrationGoal& operator=(class RaiderCelebrationGoal const &) = delete; + RaiderCelebrationGoal(class RaiderCelebrationGoal const &) = delete; + RaiderCelebrationGoal() = delete; +#endif + +public: + /*0*/ virtual ~RaiderCelebrationGoal(); + /*1*/ virtual bool canUse(); + /*2*/ virtual bool canContinueToUse(); + /*3*/ virtual void __unk_vfn_3(); + /*4*/ virtual void start(); + /*5*/ virtual void stop(); + /*6*/ virtual void tick(); + /*7*/ virtual void appendDebugInfo(std::string &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_RAIDERCELEBRATIONGOAL +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/RailActivatorComponent.hpp b/LiteLoader/Header/MC/RailActivatorComponent.hpp new file mode 100644 index 0000000..76f8276 --- /dev/null +++ b/LiteLoader/Header/MC/RailActivatorComponent.hpp @@ -0,0 +1,32 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class RailActivatorComponent { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_RAILACTIVATORCOMPONENT +public: + class RailActivatorComponent& operator=(class RailActivatorComponent const &) = delete; + RailActivatorComponent(class RailActivatorComponent const &) = delete; + RailActivatorComponent() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_RAILACTIVATORCOMPONENT +#endif + MCAPI void ejectAllRiders(class Actor &); + +//private: + MCAPI bool _tryEjectRiderAtPosition(class Actor const &, class Actor &, class Vec3 const &) const; + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/RailActivatorDefinition.hpp b/LiteLoader/Header/MC/RailActivatorDefinition.hpp new file mode 100644 index 0000000..036e7fc --- /dev/null +++ b/LiteLoader/Header/MC/RailActivatorDefinition.hpp @@ -0,0 +1,28 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "JsonUtil.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class RailActivatorDefinition { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_RAILACTIVATORDEFINITION +public: + class RailActivatorDefinition& operator=(class RailActivatorDefinition const &) = delete; + RailActivatorDefinition(class RailActivatorDefinition const &) = delete; + RailActivatorDefinition() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_RAILACTIVATORDEFINITION +#endif + MCAPI static void buildSchema(class std::shared_ptr> &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/RailActivatorSystem.hpp b/LiteLoader/Header/MC/RailActivatorSystem.hpp new file mode 100644 index 0000000..7faa69a --- /dev/null +++ b/LiteLoader/Header/MC/RailActivatorSystem.hpp @@ -0,0 +1,33 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class RailActivatorSystem { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_RAILACTIVATORSYSTEM +public: + class RailActivatorSystem& operator=(class RailActivatorSystem const &) = delete; + RailActivatorSystem(class RailActivatorSystem const &) = delete; + RailActivatorSystem() = delete; +#endif + +public: + /*0*/ virtual ~RailActivatorSystem(); + /*1*/ virtual void tick(class EntityRegistry &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_RAILACTIVATORSYSTEM +#endif + +//private: + MCAPI void _tickComponent(class ViewedEntityContextT, class ActorComponent, class RailActivatorComponent> &); + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/RailBlock.hpp b/LiteLoader/Header/MC/RailBlock.hpp new file mode 100644 index 0000000..623e77b --- /dev/null +++ b/LiteLoader/Header/MC/RailBlock.hpp @@ -0,0 +1,59 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "BaseRailBlock.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class RailBlock : public BaseRailBlock { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_RAILBLOCK +public: + class RailBlock& operator=(class RailBlock const &) = delete; + RailBlock(class RailBlock const &) = delete; + RailBlock() = delete; +#endif + +public: + /*0*/ virtual ~RailBlock(); + /*18*/ virtual void __unk_vfn_18(); + /*24*/ virtual void __unk_vfn_24(); + /*25*/ virtual void __unk_vfn_25(); + /*26*/ virtual void __unk_vfn_26(); + /*27*/ virtual void __unk_vfn_27(); + /*28*/ virtual void __unk_vfn_28(); + /*30*/ virtual void __unk_vfn_30(); + /*31*/ virtual void __unk_vfn_31(); + /*32*/ virtual void __unk_vfn_32(); + /*33*/ virtual void __unk_vfn_33(); + /*34*/ virtual void __unk_vfn_34(); + /*35*/ virtual void __unk_vfn_35(); + /*36*/ virtual void __unk_vfn_36(); + /*38*/ virtual void __unk_vfn_38(); + /*39*/ virtual void __unk_vfn_39(); + /*40*/ virtual void __unk_vfn_40(); + /*42*/ virtual void __unk_vfn_42(); + /*43*/ virtual void __unk_vfn_43(); + /*49*/ virtual void __unk_vfn_49(); + /*52*/ virtual void __unk_vfn_52(); + /*67*/ virtual void __unk_vfn_67(); + /*73*/ virtual void __unk_vfn_73(); + /*87*/ virtual void __unk_vfn_87(); + /*95*/ virtual void __unk_vfn_95(); + /*109*/ virtual void __unk_vfn_109(); + /*116*/ virtual void __unk_vfn_116(); + /*118*/ virtual void __unk_vfn_118(); + /*119*/ virtual void __unk_vfn_119(); + /*141*/ virtual int getVariant(class Block const &) const; + /*142*/ virtual void __unk_vfn_142(); + /*158*/ virtual void __unk_vfn_158(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_RAILBLOCK +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/RailMovement.hpp b/LiteLoader/Header/MC/RailMovement.hpp new file mode 100644 index 0000000..859b7eb --- /dev/null +++ b/LiteLoader/Header/MC/RailMovement.hpp @@ -0,0 +1,27 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class RailMovement { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_RAILMOVEMENT +public: + class RailMovement& operator=(class RailMovement const &) = delete; + RailMovement(class RailMovement const &) = delete; + RailMovement() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_RAILMOVEMENT +#endif + MCAPI static bool getPos(class Actor &, class Vec3 &, class Vec3); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/RailMovementComponent.hpp b/LiteLoader/Header/MC/RailMovementComponent.hpp new file mode 100644 index 0000000..cc413a5 --- /dev/null +++ b/LiteLoader/Header/MC/RailMovementComponent.hpp @@ -0,0 +1,28 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class RailMovementComponent { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_RAILMOVEMENTCOMPONENT +public: + class RailMovementComponent& operator=(class RailMovementComponent const &) = delete; + RailMovementComponent(class RailMovementComponent const &) = delete; + RailMovementComponent() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_RAILMOVEMENTCOMPONENT +#endif + MCAPI bool canSnapOnRail(class Actor const &, class BlockPos &); + MCAPI void moveAlongTrack(class Actor &, class Block const &, class BlockPos const &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/RakDataInput.hpp b/LiteLoader/Header/MC/RakDataInput.hpp new file mode 100644 index 0000000..b9bc1dd --- /dev/null +++ b/LiteLoader/Header/MC/RakDataInput.hpp @@ -0,0 +1,38 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "BytesDataInput.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class RakDataInput : public BytesDataInput { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_RAKDATAINPUT +public: + class RakDataInput& operator=(class RakDataInput const &) = delete; + RakDataInput(class RakDataInput const &) = delete; + RakDataInput() = delete; +#endif + +public: + /*0*/ virtual ~RakDataInput(); + /*1*/ virtual std::string readString(); + /*2*/ virtual std::string readLongString(); + /*3*/ virtual float readFloat(); + /*4*/ virtual double readDouble(); + /*5*/ virtual char readByte(); + /*6*/ virtual short readShort(); + /*7*/ virtual int readInt(); + /*8*/ virtual __int64 readLongLong(); + /*9*/ virtual bool readBytes(void *, unsigned __int64); + /*10*/ virtual unsigned __int64 numBytesLeft() const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_RAKDATAINPUT +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/RakDataOutput.hpp b/LiteLoader/Header/MC/RakDataOutput.hpp new file mode 100644 index 0000000..9892f85 --- /dev/null +++ b/LiteLoader/Header/MC/RakDataOutput.hpp @@ -0,0 +1,37 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "BytesDataOutput.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class RakDataOutput : public BytesDataOutput { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_RAKDATAOUTPUT +public: + class RakDataOutput& operator=(class RakDataOutput const &) = delete; + RakDataOutput(class RakDataOutput const &) = delete; + RakDataOutput() = delete; +#endif + +public: + /*0*/ virtual ~RakDataOutput(); + /*1*/ virtual void writeString(class gsl::basic_string_span); + /*2*/ virtual void writeLongString(class gsl::basic_string_span); + /*3*/ virtual void writeFloat(float); + /*4*/ virtual void writeDouble(double); + /*5*/ virtual void writeByte(char); + /*6*/ virtual void writeShort(short); + /*7*/ virtual void writeInt(int); + /*8*/ virtual void writeLongLong(__int64); + /*9*/ virtual void writeBytes(void const *, unsigned __int64); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_RAKDATAOUTPUT +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/RakNet.hpp b/LiteLoader/Header/MC/RakNet.hpp new file mode 100644 index 0000000..af30007 --- /dev/null +++ b/LiteLoader/Header/MC/RakNet.hpp @@ -0,0 +1,65 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA +// Include Headers or Declare Types Here +class NetworkIdentifier; +#undef BEFORE_EXTRA + +namespace RakNet { + +#define AFTER_EXTRA +// Add Member There + enum StartupResult; + class RakNetSocket2; + struct SplitPacketChannel; + class BitStream; + struct Packet; + class RakNetSocket2; + class RakPeerInterface; + class SimpleMutex; + struct SocketDescriptor; + struct SplitPacketChannel; + + struct SystemAddress { + char filler[17 * 8]; // uncertain? + MCAPI const char* ToString(bool, char) const; + }; + struct RakNetGUID { + uint64_t unk; + short unk8; + }; + struct AddressOrGUID { + RakNetGUID guid; + SystemAddress adr; + }; + + class RakPeer { + public: + RakPeer(RakPeer const&) = delete; + RakPeer(RakPeer&&) = delete; + SystemAddress getAdr(NetworkIdentifier const& ni) { + RakNetGUID const& guid = dAccess(&ni, 8); + return RakPeer::GetSystemAddressFromGuid(guid); + } + MCAPI virtual SystemAddress GetSystemAddressFromGuid(struct RakNet::RakNetGUID) const; + MCAPI virtual int GetAveragePing(struct RakNet::AddressOrGUID); + MCAPI virtual int GetLastPing(struct RakNet::AddressOrGUID) const; + MCAPI virtual int GetLowestPing(struct RakNet::AddressOrGUID) const; + }; +#undef AFTER_EXTRA + MCAPI unsigned int ConnectionAttemptLoop(void *); + MCAPI void ProcessNetworkPacket(struct RakNet::SystemAddress, char const *, int, class RakNet::RakPeer *, class RakNet::RakNetSocket2 *, unsigned __int64, class RakNet::BitStream &); + MCAPI bool ProcessOfflineNetworkPacket(struct RakNet::SystemAddress, char const *, int, class RakNet::RakPeer *, class RakNet::RakNetSocket2 *, bool *, unsigned __int64); + MCAPI int SplitPacketChannelComp(unsigned short const &, struct RakNet::SplitPacketChannel *const &); + MCAPI extern struct RakNet::RakNetGUID const UNASSIGNED_RAKNET_GUID; + MCAPI extern struct RakNet::SystemAddress const UNASSIGNED_SYSTEM_ADDRESS; + MCAPI unsigned int UpdateNetworkLoop(void *); + MCAPI unsigned int UpdateTCPInterfaceLoop(void *); + MCAPI void _RakFree_Ex(void *, char const *, unsigned int); + MCAPI void * _RakMalloc_Ex(unsigned __int64, char const *, unsigned int); + MCAPI void * _RakRealloc_Ex(void *, unsigned __int64, char const *, unsigned int); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/RakNetInstance.hpp b/LiteLoader/Header/MC/RakNetInstance.hpp new file mode 100644 index 0000000..51328b1 --- /dev/null +++ b/LiteLoader/Header/MC/RakNetInstance.hpp @@ -0,0 +1,63 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "RakNet.hpp" +#include "Social.hpp" +#include "Connector.hpp" +#include "RakPeerHelper.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class RakNetInstance { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_RAKNETINSTANCE +public: + class RakNetInstance& operator=(class RakNetInstance const &) = delete; + RakNetInstance(class RakNetInstance const &) = delete; + RakNetInstance() = delete; +#endif + +public: + /*0*/ virtual ~RakNetInstance(); + /*1*/ virtual void onAppResumed(); + /*2*/ virtual void onAppSuspended(); + /*3*/ virtual std::vector getLocalIps() const; + /*4*/ virtual std::string getLocalIp(); + /*5*/ virtual unsigned short getPort() const; + /*6*/ virtual std::vector getRefinedLocalIps() const; + /*7*/ virtual class Social::GameConnectionInfo const & getConnectedGameInfo() const; + /*8*/ virtual void setupNatPunch(bool); + /*9*/ virtual struct Connector::NatPunchInfo getNatPunchInfo() const; + /*10*/ virtual void startNatPunchingClient(class Social::GameConnectionInfo); + /*11*/ virtual void addConnectionStateListener(class Connector::ConnectionStateListener *); + /*12*/ virtual void removeConnectionStateListener(class Connector::ConnectionStateListener *); + /*13*/ virtual bool isIPv4Supported() const; + /*14*/ virtual bool isIPv6Supported() const; + /*15*/ virtual unsigned short getIPv4Port() const; + /*16*/ virtual unsigned short getIPv6Port() const; + /*17*/ virtual struct RakNet::RakNetGUID getGUID() const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_RAKNETINSTANCE +#endif + MCAPI RakNetInstance(class RakNetInstance::ConnectionCallbacks &, class RakPeerHelper::IPSupportInterface &); + MCAPI bool connect(class Social::GameConnectionInfo, class Social::GameConnectionInfo); + MCAPI void disconnect(); + MCAPI bool host(struct ConnectionDefinition const &); + MCAPI void runEvents(); + MCAPI void tick(); + +//private: + MCAPI void _changeNatState(enum RakNetInstance::NATState, int, std::string const &); + MCAPI class std::shared_ptr _createPeer(class NetworkIdentifier const &); + MCAPI void _openNatConnection(struct RakNet::SystemAddress const &); + MCAPI void _pingNatService(bool); + MCAPI void _storeLocalIP(); + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/RakNetServerLocator.hpp b/LiteLoader/Header/MC/RakNetServerLocator.hpp new file mode 100644 index 0000000..5f06515 --- /dev/null +++ b/LiteLoader/Header/MC/RakNetServerLocator.hpp @@ -0,0 +1,60 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "RakNet.hpp" +#include "RakPeerHelper.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class RakNetServerLocator { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_RAKNETSERVERLOCATOR +public: + class RakNetServerLocator& operator=(class RakNetServerLocator const &) = delete; + RakNetServerLocator(class RakNetServerLocator const &) = delete; + RakNetServerLocator() = delete; +#endif + +public: + /*0*/ virtual ~RakNetServerLocator(); + /*1*/ virtual void announceServer(std::string const &, std::string const &, enum GameType, int, int, bool); + /*2*/ virtual void stopAnnouncingServer(); + /*3*/ virtual void findServers(int, int); + /*4*/ virtual void addCustomServer(class AsynchronousIPResolver const &, int); + /*5*/ virtual void addCustomServer(std::string const &, int); + /*6*/ virtual void stopFindingServers(); + /*7*/ virtual std::vector getServerList() const; + /*8*/ virtual void clearServerList(); + /*9*/ virtual bool isIPv4Supported() const; + /*10*/ virtual bool isIPv6Supported() const; + /*11*/ virtual void setHostGUID(class std::function); + /*12*/ virtual float getPingTimeForGUID(std::string const &); + /*13*/ virtual void checkCanConnectToCustomServerAsync(std::string, int, class std::function); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_RAKNETSERVERLOCATOR +#endif + MCAPI RakNetServerLocator(class RakNetInstance &, class RakPeerHelper::IPSupportInterface &, bool); + MCAPI void update(); + +//private: + MCAPI void _addCustomServerFromIpResolver(class AsynchronousIPResolver const &, int); + MCAPI bool _addCustomServerV4(class AsynchronousIPResolver const &, int); + MCAPI bool _addCustomServerV6(class AsynchronousIPResolver const &, int); + MCAPI std::string _getHostGuid(std::string const &, int); + MCAPI void _getServerOriginalAddress(std::string &, std::string const &); + MCAPI void _onPingSend(std::string const &, std::string const &, int); + MCAPI bool _onPongReceive(float &, struct RakNet::RakNetGUID const &, unsigned int const &, int); + MCAPI bool _pingServerV6(std::string const &, int); + MCAPI bool _updateQueuedPings(); + MCAPI bool _validateServerVersion(std::vector const &); + MCAPI void activate(); + MCAPI bool handleUnconnectedPong(std::string const &, struct RakNet::Packet const *, bool, unsigned __int64); + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/RakPeerHelper.hpp b/LiteLoader/Header/MC/RakPeerHelper.hpp new file mode 100644 index 0000000..4790a08 --- /dev/null +++ b/LiteLoader/Header/MC/RakPeerHelper.hpp @@ -0,0 +1,35 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "RakNet.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class RakPeerHelper { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_RAKPEERHELPER +public: + class RakPeerHelper& operator=(class RakPeerHelper const &) = delete; + RakPeerHelper(class RakPeerHelper const &) = delete; + RakPeerHelper() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_RAKPEERHELPER +#endif + MCAPI enum RakNet::StartupResult peerStartup(class RakNet::RakPeerInterface *, struct ConnectionDefinition const &); + +//private: + MCAPI void LogIPSupport(); + MCAPI void _resetToIPv6Only(class gsl::span, int &); + MCAPI enum RakNet::StartupResult _startupInternal(class gsl::not_null, struct ConnectionDefinition const &, struct RakNet::SocketDescriptor *, int &, int); + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/RakTcpProxy.hpp b/LiteLoader/Header/MC/RakTcpProxy.hpp new file mode 100644 index 0000000..4601cf3 --- /dev/null +++ b/LiteLoader/Header/MC/RakTcpProxy.hpp @@ -0,0 +1,38 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "RakNet.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class RakTcpProxy { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_RAKTCPPROXY +public: + class RakTcpProxy& operator=(class RakTcpProxy const &) = delete; + RakTcpProxy(class RakTcpProxy const &) = delete; + RakTcpProxy() = delete; +#endif + +public: + /*0*/ virtual ~RakTcpProxy(); + /*1*/ virtual bool start(unsigned short, unsigned short, unsigned short); + /*2*/ virtual struct RakNet::SystemAddress connect(std::string const &, unsigned short); + /*3*/ virtual void send(char const *, unsigned int, struct RakNet::SystemAddress); + /*4*/ virtual void close(struct RakNet::SystemAddress); + /*5*/ virtual bool packetsAvailable(); + /*6*/ virtual struct RakNet::Packet * nextPacket(); + /*7*/ virtual void deallocatePacket(struct RakNet::Packet *); + /*8*/ virtual struct RakNet::SystemAddress nextCompletedConnectionAttempt(); + /*9*/ virtual struct RakNet::SystemAddress nextFailedConnectionAttempt(); + /*10*/ virtual struct RakNet::SystemAddress nextLostConnection(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_RAKTCPPROXY +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/RakWebSocket.hpp b/LiteLoader/Header/MC/RakWebSocket.hpp new file mode 100644 index 0000000..9e34ff2 --- /dev/null +++ b/LiteLoader/Header/MC/RakWebSocket.hpp @@ -0,0 +1,56 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "RakNet.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class RakWebSocket { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_RAKWEBSOCKET +public: + class RakWebSocket& operator=(class RakWebSocket const &) = delete; + RakWebSocket(class RakWebSocket const &) = delete; + RakWebSocket() = delete; +#endif + +public: + /*0*/ virtual ~RakWebSocket(); + /*1*/ virtual enum WSConnectionResult connect(std::string const &, std::vector const &); + /*2*/ virtual enum WSConnectionResult connect(std::string const &); + /*3*/ virtual void setOnMessageReceivedHandler(class std::function const &); + /*4*/ virtual void setOnCloseHandler(class std::function const &); + /*5*/ virtual void setOnConnectedHandler(class std::function const &); + /*6*/ virtual void tick(); + /*7*/ virtual void _updateState() = 0; + /*8*/ virtual unsigned int _genMaskingKey() = 0; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_RAKWEBSOCKET +#endif + MCAPI RakWebSocket(std::unique_ptr, bool); + +//protected: + MCAPI void _close(enum CloseStatusCode); + MCAPI void _createWebSocketKey(); + MCAPI void _fail(std::string const &, enum CloseStatusCode); + MCAPI std::string _generateBase64SHA1Key(std::string const &); + MCAPI void _processClosingHandshake(bool); + MCAPI void _processDataFrames(class RakNet::BitStream &); + MCAPI bool _processPacket(class std::function const &, bool); + MCAPI void _reset(); + MCAPI bool _sendControlFrame(unsigned char const *, unsigned __int64, enum OpCode); + MCAPI bool _sendDataFrame(unsigned char const *, unsigned int, enum OpCode, bool); + MCAPI bool _sendNonControlFrame(unsigned char const *, unsigned __int64, enum OpCode); + MCAPI void _splitWebSocketURI(std::string const &, std::string &, std::string &, std::string &); + MCAPI void _subProcessHttpResponse(class RakNet::BitStream &); + MCAPI void _validateFields(); + MCAPI bool _validateWebSocketURI(); + +protected: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/RakWebSocketClient.hpp b/LiteLoader/Header/MC/RakWebSocketClient.hpp new file mode 100644 index 0000000..3e4024b --- /dev/null +++ b/LiteLoader/Header/MC/RakWebSocketClient.hpp @@ -0,0 +1,31 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "RakWebSocket.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class RakWebSocketClient : public RakWebSocket { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_RAKWEBSOCKETCLIENT +public: + class RakWebSocketClient& operator=(class RakWebSocketClient const &) = delete; + RakWebSocketClient(class RakWebSocketClient const &) = delete; + RakWebSocketClient() = delete; +#endif + +public: + /*0*/ virtual ~RakWebSocketClient(); + /*7*/ virtual void _updateState(); + /*8*/ virtual unsigned int _genMaskingKey(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_RAKWEBSOCKETCLIENT +#endif + MCAPI RakWebSocketClient(std::unique_ptr); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/RakWebSocketDataFrame.hpp b/LiteLoader/Header/MC/RakWebSocketDataFrame.hpp new file mode 100644 index 0000000..56d3c87 --- /dev/null +++ b/LiteLoader/Header/MC/RakWebSocketDataFrame.hpp @@ -0,0 +1,28 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "RakNet.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class RakWebSocketDataFrame { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_RAKWEBSOCKETDATAFRAME +public: + class RakWebSocketDataFrame& operator=(class RakWebSocketDataFrame const &) = delete; + RakWebSocketDataFrame(class RakWebSocketDataFrame const &) = delete; + RakWebSocketDataFrame() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_RAKWEBSOCKETDATAFRAME +#endif + MCAPI static void writeFrameToStream(class RakNet::BitStream &, unsigned char const *, unsigned int, enum OpCode, bool, unsigned int); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/RakWebSocketDataFrameParser.hpp b/LiteLoader/Header/MC/RakWebSocketDataFrameParser.hpp new file mode 100644 index 0000000..0a43431 --- /dev/null +++ b/LiteLoader/Header/MC/RakWebSocketDataFrameParser.hpp @@ -0,0 +1,35 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "RakNet.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class RakWebSocketDataFrameParser { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_RAKWEBSOCKETDATAFRAMEPARSER +public: + class RakWebSocketDataFrameParser& operator=(class RakWebSocketDataFrameParser const &) = delete; + RakWebSocketDataFrameParser(class RakWebSocketDataFrameParser const &) = delete; + RakWebSocketDataFrameParser() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_RAKWEBSOCKETDATAFRAMEPARSER +#endif + MCAPI class std::shared_ptr readFrame(class RakNet::BitStream &); + MCAPI void setOnFailHandler(class std::function); + MCAPI ~RakWebSocketDataFrameParser(); + +//private: + MCAPI class std::shared_ptr _failReadFrame(std::string const &, enum CloseStatusCode); + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/Random.hpp b/LiteLoader/Header/MC/Random.hpp new file mode 100644 index 0000000..4f71efd --- /dev/null +++ b/LiteLoader/Header/MC/Random.hpp @@ -0,0 +1,36 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Bedrock.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class Random { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_RANDOM +public: + class Random& operator=(class Random const &) = delete; + Random(class Random const &) = delete; + Random() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_RANDOM +#endif + MCAPI float nextFloat(); + MCAPI float nextGaussianFloat(); + MCAPI int nextGaussianInt(int); + MCAPI int nextInt(int, int); + +//private: + +private: + MCAPI static class Bedrock::Threading::ThreadLocalObject> mThreadLocalRandom; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/RandomAuxValueFunction.hpp b/LiteLoader/Header/MC/RandomAuxValueFunction.hpp new file mode 100644 index 0000000..44474bc --- /dev/null +++ b/LiteLoader/Header/MC/RandomAuxValueFunction.hpp @@ -0,0 +1,30 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "LootItemFunction.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class RandomAuxValueFunction : public LootItemFunction { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_RANDOMAUXVALUEFUNCTION +public: + class RandomAuxValueFunction& operator=(class RandomAuxValueFunction const &) = delete; + RandomAuxValueFunction(class RandomAuxValueFunction const &) = delete; + RandomAuxValueFunction() = delete; +#endif + +public: + /*0*/ virtual ~RandomAuxValueFunction(); + /*1*/ virtual void apply(class ItemStack &, class Random &, class LootTableContext &); + /*3*/ virtual void apply(class ItemInstance &, class Random &, class LootTableContext &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_RANDOMAUXVALUEFUNCTION +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/RandomBlockStateFunction.hpp b/LiteLoader/Header/MC/RandomBlockStateFunction.hpp new file mode 100644 index 0000000..0721c33 --- /dev/null +++ b/LiteLoader/Header/MC/RandomBlockStateFunction.hpp @@ -0,0 +1,32 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Json.hpp" +#include "LootItemFunction.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class RandomBlockStateFunction : public LootItemFunction { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_RANDOMBLOCKSTATEFUNCTION +public: + class RandomBlockStateFunction& operator=(class RandomBlockStateFunction const &) = delete; + RandomBlockStateFunction(class RandomBlockStateFunction const &) = delete; + RandomBlockStateFunction() = delete; +#endif + +public: + /*0*/ virtual ~RandomBlockStateFunction(); + /*1*/ virtual void apply(class ItemStack &, class Random &, class LootTableContext &); + /*3*/ virtual void apply(class ItemInstance &, class Random &, class LootTableContext &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_RANDOMBLOCKSTATEFUNCTION +#endif + MCAPI static std::unique_ptr deserialize(class Json::Value, std::vector> &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/RandomBreachingGoal.hpp b/LiteLoader/Header/MC/RandomBreachingGoal.hpp new file mode 100644 index 0000000..2c5a15c --- /dev/null +++ b/LiteLoader/Header/MC/RandomBreachingGoal.hpp @@ -0,0 +1,37 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "RandomStrollGoal.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class RandomBreachingGoal : public RandomStrollGoal { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_RANDOMBREACHINGGOAL +public: + class RandomBreachingGoal& operator=(class RandomBreachingGoal const &) = delete; + RandomBreachingGoal(class RandomBreachingGoal const &) = delete; + RandomBreachingGoal() = delete; +#endif + +public: + /*0*/ virtual ~RandomBreachingGoal(); + /*1*/ virtual bool canUse(); + /*2*/ virtual bool canContinueToUse(); + /*3*/ virtual bool canBeInterrupted(); + /*4*/ virtual void start(); + /*5*/ virtual void stop(); + /*7*/ virtual void appendDebugInfo(std::string &) const; + /*8*/ virtual void __unk_vfn_8(); + /*9*/ virtual void __unk_vfn_9(); + /*10*/ virtual bool _setWantedPosition(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_RANDOMBREACHINGGOAL +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/RandomDyeFunction.hpp b/LiteLoader/Header/MC/RandomDyeFunction.hpp new file mode 100644 index 0000000..660bd9a --- /dev/null +++ b/LiteLoader/Header/MC/RandomDyeFunction.hpp @@ -0,0 +1,37 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "LootItemFunction.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class RandomDyeFunction : public LootItemFunction { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_RANDOMDYEFUNCTION +public: + class RandomDyeFunction& operator=(class RandomDyeFunction const &) = delete; + RandomDyeFunction(class RandomDyeFunction const &) = delete; + RandomDyeFunction() = delete; +#endif + +public: + /*0*/ virtual ~RandomDyeFunction(); + /*1*/ virtual void apply(class ItemStack &, class Random &, class LootTableContext &); + /*3*/ virtual void apply(class ItemInstance &, class Random &, class LootTableContext &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_RANDOMDYEFUNCTION +#endif + +//private: + MCAPI void _applyBase(class ItemStackBase &, class Random &) const; + MCAPI class Color _getRandomArmorColor(class Random &) const; + MCAPI class Color _getRandomDyeColor(class Random &) const; + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/RandomFlyingGoal.hpp b/LiteLoader/Header/MC/RandomFlyingGoal.hpp new file mode 100644 index 0000000..2237ef8 --- /dev/null +++ b/LiteLoader/Header/MC/RandomFlyingGoal.hpp @@ -0,0 +1,38 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "RandomStrollGoal.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class RandomFlyingGoal : public RandomStrollGoal { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_RANDOMFLYINGGOAL +public: + class RandomFlyingGoal& operator=(class RandomFlyingGoal const &) = delete; + RandomFlyingGoal(class RandomFlyingGoal const &) = delete; + RandomFlyingGoal() = delete; +#endif + +public: + /*0*/ virtual ~RandomFlyingGoal(); + /*1*/ virtual bool canUse(); + /*7*/ virtual void appendDebugInfo(std::string &) const; + /*8*/ virtual void __unk_vfn_8(); + /*9*/ virtual void __unk_vfn_9(); + /*10*/ virtual bool _setWantedPosition(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_RANDOMFLYINGGOAL +#endif + +//private: + MCAPI bool _getTreePos(class Vec3 &) const; + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/RandomHoverGoal.hpp b/LiteLoader/Header/MC/RandomHoverGoal.hpp new file mode 100644 index 0000000..1da17fe --- /dev/null +++ b/LiteLoader/Header/MC/RandomHoverGoal.hpp @@ -0,0 +1,42 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class RandomHoverGoal { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_RANDOMHOVERGOAL +public: + class RandomHoverGoal& operator=(class RandomHoverGoal const &) = delete; + RandomHoverGoal(class RandomHoverGoal const &) = delete; + RandomHoverGoal() = delete; +#endif + +public: + /*0*/ virtual ~RandomHoverGoal(); + /*1*/ virtual bool canUse(); + /*2*/ virtual bool canContinueToUse(); + /*3*/ virtual void __unk_vfn_3(); + /*4*/ virtual void start(); + /*5*/ virtual void __unk_vfn_5(); + /*6*/ virtual void tick(); + /*7*/ virtual void appendDebugInfo(std::string &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_RANDOMHOVERGOAL +#endif + +//protected: + MCAPI bool _computeNewTarget(); + MCAPI std::unique_ptr _findNewTarget() const; + MCAPI bool _mobMeetsPreconditions() const; + MCAPI void _moveToTarget(); + +protected: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/RandomLookAroundAndSitGoal.hpp b/LiteLoader/Header/MC/RandomLookAroundAndSitGoal.hpp new file mode 100644 index 0000000..9ee4a2c --- /dev/null +++ b/LiteLoader/Header/MC/RandomLookAroundAndSitGoal.hpp @@ -0,0 +1,39 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class RandomLookAroundAndSitGoal { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_RANDOMLOOKAROUNDANDSITGOAL +public: + class RandomLookAroundAndSitGoal& operator=(class RandomLookAroundAndSitGoal const &) = delete; + RandomLookAroundAndSitGoal(class RandomLookAroundAndSitGoal const &) = delete; + RandomLookAroundAndSitGoal() = delete; +#endif + +public: + /*0*/ virtual ~RandomLookAroundAndSitGoal(); + /*1*/ virtual bool canUse(); + /*2*/ virtual bool canContinueToUse(); + /*3*/ virtual void __unk_vfn_3(); + /*4*/ virtual void start(); + /*5*/ virtual void stop(); + /*6*/ virtual void tick(); + /*7*/ virtual void appendDebugInfo(std::string &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_RANDOMLOOKAROUNDANDSITGOAL +#endif + +//private: + MCAPI bool _areMobConditionsMet(); + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/RandomLookAroundGoal.hpp b/LiteLoader/Header/MC/RandomLookAroundGoal.hpp new file mode 100644 index 0000000..a1ecd5f --- /dev/null +++ b/LiteLoader/Header/MC/RandomLookAroundGoal.hpp @@ -0,0 +1,34 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class RandomLookAroundGoal { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_RANDOMLOOKAROUNDGOAL +public: + class RandomLookAroundGoal& operator=(class RandomLookAroundGoal const &) = delete; + RandomLookAroundGoal(class RandomLookAroundGoal const &) = delete; + RandomLookAroundGoal() = delete; +#endif + +public: + /*0*/ virtual ~RandomLookAroundGoal(); + /*1*/ virtual bool canUse(); + /*2*/ virtual bool canContinueToUse(); + /*3*/ virtual void __unk_vfn_3(); + /*4*/ virtual void start(); + /*5*/ virtual void __unk_vfn_5(); + /*6*/ virtual void tick(); + /*7*/ virtual void appendDebugInfo(std::string &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_RANDOMLOOKAROUNDGOAL +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/RandomPos.hpp b/LiteLoader/Header/MC/RandomPos.hpp new file mode 100644 index 0000000..29d1b4d --- /dev/null +++ b/LiteLoader/Header/MC/RandomPos.hpp @@ -0,0 +1,39 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class RandomPos { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_RANDOMPOS +public: + class RandomPos& operator=(class RandomPos const &) = delete; + RandomPos(class RandomPos const &) = delete; + RandomPos() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_RANDOMPOS +#endif + MCAPI static bool getPos(class Vec3 &, class Mob &, int, int, int, enum SolidityCheckType); + MCAPI static bool getPosAvoid(class Vec3 &, class Mob &, int, int, class Vec3 const &); + MCAPI static bool getPosTowards(class Vec3 &, class Mob &, int, int, class Vec3 const &); + MCAPI static bool getSpawnPos(class BlockSource &, class Random &, class Vec3 &, int, int, int); + +//private: + MCAPI static bool generateRandomPos(class Vec3 &, class Mob &, int, int, int, class Vec3 *, bool, bool, struct IntRange const &, int, enum SolidityCheckType); + MCAPI static bool snapToGround(class BlockPos &, class Mob &, int, struct IntRange const &, enum SolidityCheckType); + MCAPI static bool snapToGround(class BlockPos &, int, int, int, class std::function); + MCAPI static bool snapToGround(class BlockPos &, int, int, class std::function); + MCAPI static bool spawnSnapToGround(class BlockSource &, class BlockPos &, float, int); + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/RandomScatteredLargeFeature.hpp b/LiteLoader/Header/MC/RandomScatteredLargeFeature.hpp new file mode 100644 index 0000000..11ff2d3 --- /dev/null +++ b/LiteLoader/Header/MC/RandomScatteredLargeFeature.hpp @@ -0,0 +1,33 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "StructureFeature.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class RandomScatteredLargeFeature : public StructureFeature { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_RANDOMSCATTEREDLARGEFEATURE +public: + class RandomScatteredLargeFeature& operator=(class RandomScatteredLargeFeature const &) = delete; + RandomScatteredLargeFeature(class RandomScatteredLargeFeature const &) = delete; + RandomScatteredLargeFeature() = delete; +#endif + +public: + /*0*/ virtual ~RandomScatteredLargeFeature(); + /*1*/ virtual void initMobSpawnTypes(class HardcodedSpawnAreaRegistry &); + /*3*/ virtual bool getNearestGeneratedFeature(class Dimension &, class BiomeSource &, class BlockPos const &, class BlockPos &); + /*4*/ virtual bool isFeatureChunk(class BiomeSource const &, class Random &, class ChunkPos const &, unsigned int); + /*5*/ virtual std::unique_ptr createStructureStart(class Dimension &, class BiomeSource &, class Random &, class ChunkPos const &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_RANDOMSCATTEREDLARGEFEATURE +#endif + MCAPI RandomScatteredLargeFeature(unsigned int); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/RandomSitGoal.hpp b/LiteLoader/Header/MC/RandomSitGoal.hpp new file mode 100644 index 0000000..34ce837 --- /dev/null +++ b/LiteLoader/Header/MC/RandomSitGoal.hpp @@ -0,0 +1,34 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class RandomSitGoal { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_RANDOMSITGOAL +public: + class RandomSitGoal& operator=(class RandomSitGoal const &) = delete; + RandomSitGoal(class RandomSitGoal const &) = delete; + RandomSitGoal() = delete; +#endif + +public: + /*0*/ virtual ~RandomSitGoal(); + /*1*/ virtual bool canUse(); + /*2*/ virtual bool canContinueToUse(); + /*3*/ virtual void __unk_vfn_3(); + /*4*/ virtual void start(); + /*5*/ virtual void stop(); + /*6*/ virtual void __unk_vfn_6(); + /*7*/ virtual void appendDebugInfo(std::string &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_RANDOMSITGOAL +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/RandomStrollGoal.hpp b/LiteLoader/Header/MC/RandomStrollGoal.hpp new file mode 100644 index 0000000..125ef88 --- /dev/null +++ b/LiteLoader/Header/MC/RandomStrollGoal.hpp @@ -0,0 +1,37 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class RandomStrollGoal { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_RANDOMSTROLLGOAL +public: + class RandomStrollGoal& operator=(class RandomStrollGoal const &) = delete; + RandomStrollGoal(class RandomStrollGoal const &) = delete; + RandomStrollGoal() = delete; +#endif + +public: + /*0*/ virtual ~RandomStrollGoal(); + /*1*/ virtual bool canUse(); + /*2*/ virtual bool canContinueToUse(); + /*3*/ virtual bool canBeInterrupted(); + /*4*/ virtual void start(); + /*5*/ virtual void stop(); + /*6*/ virtual void tick(); + /*7*/ virtual void appendDebugInfo(std::string &) const; + /*8*/ virtual void __unk_vfn_8(); + /*9*/ virtual void __unk_vfn_9(); + /*10*/ virtual bool _setWantedPosition(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_RANDOMSTROLLGOAL +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/RandomSwimmingGoal.hpp b/LiteLoader/Header/MC/RandomSwimmingGoal.hpp new file mode 100644 index 0000000..b537e0c --- /dev/null +++ b/LiteLoader/Header/MC/RandomSwimmingGoal.hpp @@ -0,0 +1,39 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "RandomStrollGoal.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class RandomSwimmingGoal : public RandomStrollGoal { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_RANDOMSWIMMINGGOAL +public: + class RandomSwimmingGoal& operator=(class RandomSwimmingGoal const &) = delete; + RandomSwimmingGoal(class RandomSwimmingGoal const &) = delete; + RandomSwimmingGoal() = delete; +#endif + +public: + /*0*/ virtual ~RandomSwimmingGoal(); + /*1*/ virtual bool canUse(); + /*2*/ virtual bool canContinueToUse(); + /*7*/ virtual void appendDebugInfo(std::string &) const; + /*8*/ virtual void __unk_vfn_8(); + /*9*/ virtual void __unk_vfn_9(); + /*10*/ virtual bool _setWantedPosition(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_RANDOMSWIMMINGGOAL +#endif + +//protected: + MCAPI void _getWaterHeights(class BlockPos, short &, float &, float &, float &); + +protected: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/RandomThreadCheckManager.hpp b/LiteLoader/Header/MC/RandomThreadCheckManager.hpp new file mode 100644 index 0000000..b6b4b15 --- /dev/null +++ b/LiteLoader/Header/MC/RandomThreadCheckManager.hpp @@ -0,0 +1,40 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class RandomThreadCheckManager { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_RANDOMTHREADCHECKMANAGER +public: + class RandomThreadCheckManager& operator=(class RandomThreadCheckManager const &) = delete; + RandomThreadCheckManager(class RandomThreadCheckManager const &) = delete; + RandomThreadCheckManager() = delete; +#endif + +public: + /*0*/ virtual ~RandomThreadCheckManager(); + /*1*/ virtual void __unk_vfn_1(); + /*2*/ virtual void __unk_vfn_2(); + /*3*/ virtual void __unk_vfn_3(); + /*4*/ virtual void __unk_vfn_4(); + /*5*/ virtual void __unk_vfn_5(); + /*6*/ virtual void onAppResumed(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_RANDOMTHREADCHECKMANAGER +#endif + +//private: + MCAPI static void _tryCreateInstance(); + +private: + MCAPI static std::unique_ptr mInstance; + MCAPI static class std::recursive_mutex mMutex; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/RandomValueBounds.hpp b/LiteLoader/Header/MC/RandomValueBounds.hpp new file mode 100644 index 0000000..2e15aab --- /dev/null +++ b/LiteLoader/Header/MC/RandomValueBounds.hpp @@ -0,0 +1,30 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Json.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class RandomValueBounds { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_RANDOMVALUEBOUNDS +public: + class RandomValueBounds& operator=(class RandomValueBounds const &) = delete; + RandomValueBounds(class RandomValueBounds const &) = delete; + RandomValueBounds() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_RANDOMVALUEBOUNDS +#endif + MCAPI void deserialize(class Json::Value); + MCAPI float getFloat(class Random &) const; + MCAPI int getInt(class Random &) const; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/RandomizableBlockActorContainer.hpp b/LiteLoader/Header/MC/RandomizableBlockActorContainer.hpp new file mode 100644 index 0000000..1a649ef --- /dev/null +++ b/LiteLoader/Header/MC/RandomizableBlockActorContainer.hpp @@ -0,0 +1,31 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class RandomizableBlockActorContainer { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_RANDOMIZABLEBLOCKACTORCONTAINER +public: + class RandomizableBlockActorContainer& operator=(class RandomizableBlockActorContainer const &) = delete; + RandomizableBlockActorContainer(class RandomizableBlockActorContainer const &) = delete; + RandomizableBlockActorContainer() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_RANDOMIZABLEBLOCKACTORCONTAINER + MCVAPI void dropContents(class BlockSource &, class Vec3 const &, bool); + MCVAPI void initializeContainerContents(class BlockSource &); + MCVAPI void setContainerChanged(int); + MCVAPI void startOpen(class Player &); + MCVAPI ~RandomizableBlockActorContainer(); +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/RandomizableBlockActorContainerBase.hpp b/LiteLoader/Header/MC/RandomizableBlockActorContainerBase.hpp new file mode 100644 index 0000000..217f5f1 --- /dev/null +++ b/LiteLoader/Header/MC/RandomizableBlockActorContainerBase.hpp @@ -0,0 +1,38 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "BlockActor.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class RandomizableBlockActorContainerBase : public BlockActor { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_RANDOMIZABLEBLOCKACTORCONTAINERBASE +public: + class RandomizableBlockActorContainerBase& operator=(class RandomizableBlockActorContainerBase const &) = delete; + RandomizableBlockActorContainerBase(class RandomizableBlockActorContainerBase const &) = delete; + RandomizableBlockActorContainerBase() = delete; +#endif + +public: + /*0*/ virtual ~RandomizableBlockActorContainerBase(); + /*1*/ virtual void load(class Level &, class CompoundTag const &, class DataLoadHelper &); + /*2*/ virtual bool save(class CompoundTag &) const; + /*13*/ virtual void __unk_vfn_13(); + /*17*/ virtual void __unk_vfn_17(); + /*29*/ virtual void __unk_vfn_29(); + /*30*/ virtual void __unk_vfn_30(); + /*32*/ virtual void __unk_vfn_32(); + /*33*/ virtual void __unk_vfn_33(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_RANDOMIZABLEBLOCKACTORCONTAINERBASE +#endif + MCAPI void setLootTable(std::string, int); + MCAPI void unPackLootTable(class Level &, class Container &, class Actor *); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/RandomizableBlockActorFillingContainer.hpp b/LiteLoader/Header/MC/RandomizableBlockActorFillingContainer.hpp new file mode 100644 index 0000000..8ef2601 --- /dev/null +++ b/LiteLoader/Header/MC/RandomizableBlockActorFillingContainer.hpp @@ -0,0 +1,35 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "RandomizableBlockActorContainerBase.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class RandomizableBlockActorFillingContainer : public RandomizableBlockActorContainerBase { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_RANDOMIZABLEBLOCKACTORFILLINGCONTAINER +public: + class RandomizableBlockActorFillingContainer& operator=(class RandomizableBlockActorFillingContainer const &) = delete; + RandomizableBlockActorFillingContainer(class RandomizableBlockActorFillingContainer const &) = delete; + RandomizableBlockActorFillingContainer() = delete; +#endif + +public: + /*0*/ virtual ~RandomizableBlockActorFillingContainer(); + /*13*/ virtual void __unk_vfn_13(); + /*17*/ virtual void __unk_vfn_17(); + /*29*/ virtual void __unk_vfn_29(); + /*30*/ virtual void __unk_vfn_30(); + /*32*/ virtual void __unk_vfn_32(); + /*33*/ virtual void __unk_vfn_33(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_RANDOMIZABLEBLOCKACTORFILLINGCONTAINER + MCVAPI void dropContents(class BlockSource &, class Vec3 const &, bool); +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/RangedAttackDefinition.hpp b/LiteLoader/Header/MC/RangedAttackDefinition.hpp new file mode 100644 index 0000000..4b2b4c9 --- /dev/null +++ b/LiteLoader/Header/MC/RangedAttackDefinition.hpp @@ -0,0 +1,28 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "JsonUtil.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class RangedAttackDefinition { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_RANGEDATTACKDEFINITION +public: + class RangedAttackDefinition& operator=(class RangedAttackDefinition const &) = delete; + RangedAttackDefinition(class RangedAttackDefinition const &) = delete; + RangedAttackDefinition() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_RANGEDATTACKDEFINITION +#endif + MCAPI static void buildSchema(std::string const &, class std::shared_ptr> &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/RangedAttackGoal.hpp b/LiteLoader/Header/MC/RangedAttackGoal.hpp new file mode 100644 index 0000000..ce8bd56 --- /dev/null +++ b/LiteLoader/Header/MC/RangedAttackGoal.hpp @@ -0,0 +1,41 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class RangedAttackGoal { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_RANGEDATTACKGOAL +public: + class RangedAttackGoal& operator=(class RangedAttackGoal const &) = delete; + RangedAttackGoal(class RangedAttackGoal const &) = delete; + RangedAttackGoal() = delete; +#endif + +public: + /*0*/ virtual ~RangedAttackGoal(); + /*1*/ virtual bool canUse(); + /*2*/ virtual bool canContinueToUse(); + /*3*/ virtual void __unk_vfn_3(); + /*4*/ virtual void start(); + /*5*/ virtual void stop(); + /*6*/ virtual void tick(); + /*7*/ virtual void appendDebugInfo(std::string &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_RANGEDATTACKGOAL +#endif + MCAPI void handleAttackBehavior(class Actor *, class Vec3 const &, float, bool); + MCAPI void handleChargeData(); + +//private: + MCAPI void _dischargeCarriedItem(); + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/RangedWeaponItem.hpp b/LiteLoader/Header/MC/RangedWeaponItem.hpp new file mode 100644 index 0000000..6cd20e9 --- /dev/null +++ b/LiteLoader/Header/MC/RangedWeaponItem.hpp @@ -0,0 +1,33 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class RangedWeaponItem { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_RANGEDWEAPONITEM +public: + class RangedWeaponItem& operator=(class RangedWeaponItem const &) = delete; + RangedWeaponItem(class RangedWeaponItem const &) = delete; + RangedWeaponItem() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_RANGEDWEAPONITEM + MCVAPI int getAnimationFrameFor(class Mob *, bool, class ItemStack const *, bool) const; + MCVAPI int getEnchantValue() const; + MCVAPI void hurtEnemy(class ItemStack &, class Mob *, class Mob *) const; + MCVAPI bool mineBlock(class ItemStack &, class Block const &, int, int, int, class Actor *) const; + MCVAPI void releaseUsing(class ItemStack &, class Player *, int) const; + MCVAPI class ItemStack & use(class ItemStack &, class Player &) const; + MCVAPI ~RangedWeaponItem(); +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/RapidFertilizerItem.hpp b/LiteLoader/Header/MC/RapidFertilizerItem.hpp new file mode 100644 index 0000000..0f6c392 --- /dev/null +++ b/LiteLoader/Header/MC/RapidFertilizerItem.hpp @@ -0,0 +1,127 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "FertilizerItem.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class RapidFertilizerItem : public FertilizerItem { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_RAPIDFERTILIZERITEM +public: + class RapidFertilizerItem& operator=(class RapidFertilizerItem const &) = delete; + RapidFertilizerItem(class RapidFertilizerItem const &) = delete; + RapidFertilizerItem() = delete; +#endif + +public: + /*0*/ virtual ~RapidFertilizerItem(); + /*1*/ virtual void __unk_vfn_1(); + /*2*/ virtual void __unk_vfn_2(); + /*3*/ virtual void __unk_vfn_3(); + /*4*/ virtual bool isExperimental(class ItemDescriptor const *) const; + /*5*/ virtual void __unk_vfn_5(); + /*6*/ virtual class Item & setMaxStackSize(unsigned char); + /*7*/ virtual class Item & setCategory(enum CreativeItemCategory); + /*8*/ virtual class Item & setStackedByData(bool); + /*9*/ virtual class Item & setMaxDamage(int); + /*10*/ virtual class Item & setHandEquipped(); + /*11*/ virtual class Item & setUseAnimation(enum UseAnimation); + /*12*/ virtual class Item & setMaxUseDuration(int); + /*13*/ virtual class Item & setRequiresWorldBuilder(bool); + /*14*/ virtual class Item & setExplodable(bool); + /*15*/ virtual class Item & setFireResistant(bool); + /*16*/ virtual class Item & setIsGlint(bool); + /*17*/ virtual class Item & setShouldDespawn(bool); + /*18*/ virtual void __unk_vfn_18(); + /*19*/ virtual bool canBeDepleted() const; + /*20*/ virtual void __unk_vfn_20(); + /*21*/ virtual void __unk_vfn_21(); + /*22*/ virtual bool isStackedByData() const; + /*23*/ virtual void __unk_vfn_23(); + /*24*/ virtual void __unk_vfn_24(); + /*25*/ virtual bool isHandEquipped() const; + /*26*/ virtual void __unk_vfn_26(); + /*27*/ virtual void __unk_vfn_27(); + /*28*/ virtual bool isFertilizer(int) const; + /*29*/ virtual bool isGlint(class ItemStackBase const &) const; + /*30*/ virtual void __unk_vfn_30(); + /*31*/ virtual void __unk_vfn_31(); + /*32*/ virtual void __unk_vfn_32(); + /*33*/ virtual void __unk_vfn_33(); + /*34*/ virtual void __unk_vfn_34(); + /*35*/ virtual void __unk_vfn_35(); + /*36*/ virtual void __unk_vfn_36(); + /*37*/ virtual void __unk_vfn_37(); + /*38*/ virtual void appendFormattedHovertext(class ItemStackBase const &, class Level &, std::string &, bool) const; + /*39*/ virtual void __unk_vfn_39(); + /*40*/ virtual void __unk_vfn_40(); + /*41*/ virtual void __unk_vfn_41(); + /*42*/ virtual void __unk_vfn_42(); + /*43*/ virtual void __unk_vfn_43(); + /*44*/ virtual void __unk_vfn_44(); + /*45*/ virtual int getDamageChance(int) const; + /*46*/ virtual void __unk_vfn_46(); + /*47*/ virtual void __unk_vfn_47(); + /*48*/ virtual void __unk_vfn_48(); + /*49*/ virtual void __unk_vfn_49(); + /*50*/ virtual void __unk_vfn_50(); + /*51*/ virtual void __unk_vfn_51(); + /*52*/ virtual void __unk_vfn_52(); + /*53*/ virtual void __unk_vfn_53(); + /*54*/ virtual int buildIdAux(short, class CompoundTag const *) const; + /*55*/ virtual class ItemDescriptor buildDescriptor(short, class CompoundTag const *) const; + /*56*/ virtual class ItemStack & use(class ItemStack &, class Player &) const; + /*57*/ virtual bool dispense(class BlockSource &, class Container &, int, class Vec3 const &, unsigned char) const; + /*58*/ virtual enum ItemUseMethod useTimeDepleted(class ItemStack &, class Level *, class Player *) const; + /*59*/ virtual void __unk_vfn_59(); + /*60*/ virtual void __unk_vfn_60(); + /*61*/ virtual void __unk_vfn_61(); + /*62*/ virtual void __unk_vfn_62(); + /*63*/ virtual void __unk_vfn_63(); + /*64*/ virtual void __unk_vfn_64(); + /*65*/ virtual std::string buildDescriptionId(class ItemDescriptor const &, class CompoundTag const *) const; + /*66*/ virtual std::string buildEffectDescriptionName(class ItemStackBase const &) const; + /*67*/ virtual std::string buildCategoryDescriptionName() const; + /*68*/ virtual void readUserData(class ItemStackBase &, class IDataInput &, class ReadOnlyBinaryStream &) const; + /*69*/ virtual void writeUserData(class ItemStackBase const &, class IDataOutput &) const; + /*70*/ virtual void __unk_vfn_70(); + /*71*/ virtual void __unk_vfn_71(); + /*72*/ virtual void __unk_vfn_72(); + /*73*/ virtual enum CooldownType getCooldownType() const; + /*74*/ virtual int getCooldownTime() const; + /*75*/ virtual void __unk_vfn_75(); + /*76*/ virtual void fixupOnLoad(class ItemStackBase &) const; + /*77*/ virtual short getDamageValue(class CompoundTag const *) const; + /*78*/ virtual void setDamageValue(class ItemStackBase &, short) const; + /*79*/ virtual void __unk_vfn_79(); + /*80*/ virtual void __unk_vfn_80(); + /*81*/ virtual bool isSameItem(class ItemStackBase const &, class ItemStackBase const &) const; + /*82*/ virtual std::string getInteractText(class Player const &) const; + /*83*/ virtual void __unk_vfn_83(); + /*84*/ virtual struct Brightness getLightEmission(int) const; + /*85*/ virtual struct TextureUVCoordinateSet const & getIcon(class ItemStackBase const &, int, bool) const; + /*86*/ virtual void __unk_vfn_86(); + /*87*/ virtual class Item & setIcon(std::string const &, int); + /*88*/ virtual class Item & setIcon(struct TextureUVCoordinateSet const &); + /*89*/ virtual class Item & setIconAtlas(std::string const &, int); + /*90*/ virtual void __unk_vfn_90(); + /*91*/ virtual void __unk_vfn_91(); + /*92*/ virtual void __unk_vfn_92(); + /*93*/ virtual void __unk_vfn_93(); + /*94*/ virtual bool _checkUseOnPermissions(class Actor &, class ItemInstance &, unsigned char const &, class BlockPos const &) const; + /*95*/ virtual bool _checkUseOnPermissions(class Actor &, class ItemStack &, unsigned char const &, class BlockPos const &) const; + /*96*/ virtual void __unk_vfn_96(); + /*97*/ virtual void __unk_vfn_97(); + /*98*/ virtual bool _useOn(class ItemInstance &, class Actor &, class BlockPos, unsigned char, float, float, float) const; + /*99*/ virtual bool _useOn(class ItemStack &, class Actor &, class BlockPos, unsigned char, float, float, float) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_RAPIDFERTILIZERITEM +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ReadOnlyBinaryStream.hpp b/LiteLoader/Header/MC/ReadOnlyBinaryStream.hpp new file mode 100644 index 0000000..25c5a10 --- /dev/null +++ b/LiteLoader/Header/MC/ReadOnlyBinaryStream.hpp @@ -0,0 +1,41 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ReadOnlyBinaryStream { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_READONLYBINARYSTREAM +public: + class ReadOnlyBinaryStream& operator=(class ReadOnlyBinaryStream const &) = delete; + ReadOnlyBinaryStream(class ReadOnlyBinaryStream const &) = delete; + ReadOnlyBinaryStream() = delete; +#endif + +public: + /*0*/ virtual ~ReadOnlyBinaryStream(); + /*1*/ virtual bool read(void *, unsigned __int64); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_READONLYBINARYSTREAM +#endif + MCAPI ReadOnlyBinaryStream(std::string const &, bool); + MCAPI bool canReadBool() const; + MCAPI unsigned char getByte(); + MCAPI float getFloat(); + MCAPI int getSignedBigEndianInt(); + MCAPI short getSignedShort(); + MCAPI void getString(std::string &); + MCAPI std::string getString(); + MCAPI unsigned char getUnsignedChar(); + MCAPI unsigned int getUnsignedInt(); + MCAPI unsigned short getUnsignedShort(); + MCAPI unsigned int getUnsignedVarInt(); + MCAPI unsigned __int64 getUnsignedVarInt64(); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/RealmsUnknownPackSource.hpp b/LiteLoader/Header/MC/RealmsUnknownPackSource.hpp new file mode 100644 index 0000000..6c26a30 --- /dev/null +++ b/LiteLoader/Header/MC/RealmsUnknownPackSource.hpp @@ -0,0 +1,34 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class RealmsUnknownPackSource { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_REALMSUNKNOWNPACKSOURCE +public: + class RealmsUnknownPackSource& operator=(class RealmsUnknownPackSource const &) = delete; + RealmsUnknownPackSource(class RealmsUnknownPackSource const &) = delete; + RealmsUnknownPackSource() = delete; +#endif + +public: + /*0*/ virtual ~RealmsUnknownPackSource(); + /*1*/ virtual void __unk_vfn_1(); + /*2*/ virtual void __unk_vfn_2(); + /*3*/ virtual enum PackOrigin getPackOrigin() const; + /*4*/ virtual enum PackType getPackType() const; + /*5*/ virtual class PackSourceReport load(class PackManifestFactory &, class IContentKeyProvider const &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_REALMSUNKNOWNPACKSOURCE + MCVAPI void forEachPack(class std::function); + MCVAPI void forEachPackConst(class std::function) const; +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ReceiveLoveGoal.hpp b/LiteLoader/Header/MC/ReceiveLoveGoal.hpp new file mode 100644 index 0000000..fc53ab1 --- /dev/null +++ b/LiteLoader/Header/MC/ReceiveLoveGoal.hpp @@ -0,0 +1,36 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ReceiveLoveGoal { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_RECEIVELOVEGOAL +public: + class ReceiveLoveGoal& operator=(class ReceiveLoveGoal const &) = delete; + ReceiveLoveGoal(class ReceiveLoveGoal const &) = delete; + ReceiveLoveGoal() = delete; +#endif + +public: + /*0*/ virtual ~ReceiveLoveGoal(); + /*1*/ virtual void __unk_vfn_1(); + /*2*/ virtual void __unk_vfn_2(); + /*3*/ virtual void __unk_vfn_3(); + /*4*/ virtual void __unk_vfn_4(); + /*5*/ virtual void __unk_vfn_5(); + /*6*/ virtual void tick(); + /*7*/ virtual void appendDebugInfo(std::string &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_RECEIVELOVEGOAL + MCVAPI bool canContinueToUse(); + MCVAPI bool canUse(); +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/Recipe.hpp b/LiteLoader/Header/MC/Recipe.hpp new file mode 100644 index 0000000..6f80906 --- /dev/null +++ b/LiteLoader/Header/MC/Recipe.hpp @@ -0,0 +1,50 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class Recipe { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_RECIPE +public: + class Recipe& operator=(class Recipe const &) = delete; + Recipe(class Recipe const &) = delete; + Recipe() = delete; +#endif + +public: + /*0*/ virtual ~Recipe(); + /*1*/ virtual std::vector const & assemble(class CraftingContainer &) const = 0; + /*2*/ virtual int getCraftingSize() const = 0; + /*3*/ virtual class RecipeIngredient const & getIngredient(int, int) const = 0; + /*4*/ virtual std::vector const & getResultItem() const = 0; + /*5*/ virtual bool isShapeless() const = 0; + /*6*/ virtual bool matches(class CraftingContainer &, class Level &) const = 0; + /*7*/ virtual int size() const = 0; + /*8*/ virtual bool isExperimental() const = 0; + /*9*/ virtual class mce::UUID const & getId() const; + /*10*/ virtual class ItemPack const & getItemPack() const; + /*11*/ virtual bool isMultiRecipe() const; + /*12*/ virtual bool itemValidForRecipe(class ItemDescriptor const &, class ItemStack const &) const; + /*13*/ virtual bool itemsMatch(class ItemDescriptor const &, class ItemDescriptor const &) const; + /*14*/ virtual bool itemsMatch(class ItemDescriptor const &, class ItemDescriptor const &, class CompoundTag const *) const; + /*15*/ virtual bool itemsMatch(class ItemDescriptor const &, int, int, class CompoundTag const *) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_RECIPE +#endif + MCAPI Recipe(class Recipe &&); + MCAPI int countQuantityOfIngredient(class ItemInstance const &) const; + MCAPI static bool isAnyAuxValue(class ItemDescriptor const &); + +//protected: + MCAPI Recipe(std::string, class HashedString); + +protected: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/RecipeIngredient.hpp b/LiteLoader/Header/MC/RecipeIngredient.hpp new file mode 100644 index 0000000..7e32d26 --- /dev/null +++ b/LiteLoader/Header/MC/RecipeIngredient.hpp @@ -0,0 +1,30 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class RecipeIngredient { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_RECIPEINGREDIENT +public: + class RecipeIngredient& operator=(class RecipeIngredient const &) = delete; + RecipeIngredient() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_RECIPEINGREDIENT +#endif + MCAPI RecipeIngredient(class RecipeIngredient const &); + MCAPI RecipeIngredient(class Block const &, unsigned short); + MCAPI RecipeIngredient(class Item const &, int, unsigned short); + MCAPI ~RecipeIngredient(); + MCAPI static class RecipeIngredient EMPTY_INGREDIENT; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/Recipes.hpp b/LiteLoader/Header/MC/Recipes.hpp new file mode 100644 index 0000000..a1efa75 --- /dev/null +++ b/LiteLoader/Header/MC/Recipes.hpp @@ -0,0 +1,57 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Json.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class Recipes { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_RECIPES +public: + class Recipes& operator=(class Recipes const &) = delete; + Recipes(class Recipes const &) = delete; + Recipes() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_RECIPES +#endif + MCAPI void addFurnaceRecipeAuxData(class ItemInstance const &, class ItemInstance const &, std::vector const &); + MCAPI void addShapedRecipe(std::string, std::vector const &, std::vector const &, std::vector const &, std::vector const &, int, class std::function (std::string, int, int, std::vector const &, std::vector const &, class HashedString)>); + MCAPI void addShapedRecipe(std::string, class ItemInstance const &, std::vector const &, std::vector const &, std::vector const &, int, class std::function (std::string, int, int, std::vector const &, std::vector const &, class HashedString)>); + MCAPI void addShapedRecipe(std::string, class ItemInstance const &, std::string const &, std::vector const &, std::vector const &, int, class std::function (std::string, int, int, std::vector const &, std::vector const &, class HashedString)>); + MCAPI void addShapedRecipe(std::string, class ItemInstance const &, std::string const &, std::string const &, std::vector const &, std::vector const &, int, class std::function (std::string, int, int, std::vector const &, std::vector const &, class HashedString)>); + MCAPI void addShapedRecipe(std::string, class ItemInstance const &, std::string const &, std::string const &, std::string const &, std::vector const &, std::vector const &, int, class std::function (std::string, int, int, std::vector const &, std::vector const &, class HashedString)>); + MCAPI void addShapelessRecipe(std::string, class ItemInstance const &, std::vector const &, std::vector const &, int, class std::function (std::string, std::vector const &, std::vector const &, class HashedString)>); + MCAPI void addShulkerBoxRecipe(std::string &, class ItemInstance const &, std::vector const &, std::vector const &); + MCAPI void clearRecipes(); + MCAPI struct std::pair extractRecipeObjInfo(class Json::Value const &); + MCAPI class ItemInstance getFurnaceRecipeResult(class ItemStackBase const &, class HashedString const &) const; + MCAPI class Recipe * getRecipeFor(class ItemInstance const &, class HashedString const &) const; + MCAPI void init(class ResourcePackManager &); + MCAPI bool loadRecipe(struct std::pair const &); + MCAPI bool loadRecipes(class ResourcePackManager &); + MCAPI static std::vector Shape(std::string const &, std::string const &, std::string const &); + +//protected: + MCAPI void _loadDataDrivenRecipes(std::vector); + +//private: + MCAPI void _addItemRecipe(std::unique_ptr); + MCAPI void _addMapRecipes(); + MCAPI class ItemInstance _itemInstanceFromIngredient(class RecipeIngredient const &) const; + MCAPI bool _loadBrewingMix(class Json::Value const &); + MCAPI class RecipeIngredient const _loadIngredientFromJson(class Json::Value const &) const; + +protected: + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/RecordItem.hpp b/LiteLoader/Header/MC/RecordItem.hpp new file mode 100644 index 0000000..7f411ab --- /dev/null +++ b/LiteLoader/Header/MC/RecordItem.hpp @@ -0,0 +1,47 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Item.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class RecordItem : public Item { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_RECORDITEM +public: + class RecordItem& operator=(class RecordItem const &) = delete; + RecordItem(class RecordItem const &) = delete; + RecordItem() = delete; +#endif + +public: + /*0*/ virtual ~RecordItem(); + /*5*/ virtual void __unk_vfn_5(); + /*26*/ virtual void __unk_vfn_26(); + /*27*/ virtual void __unk_vfn_27(); + /*31*/ virtual void __unk_vfn_31(); + /*32*/ virtual void __unk_vfn_32(); + /*34*/ virtual void __unk_vfn_34(); + /*37*/ virtual void __unk_vfn_37(); + /*38*/ virtual void appendFormattedHovertext(class ItemStackBase const &, class Level &, std::string &, bool) const; + /*43*/ virtual void __unk_vfn_43(); + /*46*/ virtual void __unk_vfn_46(); + /*47*/ virtual void __unk_vfn_47(); + /*49*/ virtual void __unk_vfn_49(); + /*50*/ virtual void __unk_vfn_50(); + /*65*/ virtual std::string buildDescriptionId(class ItemDescriptor const &, class CompoundTag const *) const; + /*79*/ virtual void __unk_vfn_79(); + /*80*/ virtual void __unk_vfn_80(); + /*90*/ virtual void __unk_vfn_90(); + /*97*/ virtual void __unk_vfn_97(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_RECORDITEM + MCVAPI bool isMusicDisk() const; +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/RedStoneDustItem.hpp b/LiteLoader/Header/MC/RedStoneDustItem.hpp new file mode 100644 index 0000000..41d8367 --- /dev/null +++ b/LiteLoader/Header/MC/RedStoneDustItem.hpp @@ -0,0 +1,46 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Item.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class RedStoneDustItem : public Item { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_REDSTONEDUSTITEM +public: + class RedStoneDustItem& operator=(class RedStoneDustItem const &) = delete; + RedStoneDustItem(class RedStoneDustItem const &) = delete; + RedStoneDustItem() = delete; +#endif + +public: + /*0*/ virtual ~RedStoneDustItem(); + /*5*/ virtual void __unk_vfn_5(); + /*26*/ virtual void __unk_vfn_26(); + /*27*/ virtual void __unk_vfn_27(); + /*31*/ virtual void __unk_vfn_31(); + /*32*/ virtual void __unk_vfn_32(); + /*34*/ virtual void __unk_vfn_34(); + /*37*/ virtual void __unk_vfn_37(); + /*43*/ virtual void __unk_vfn_43(); + /*46*/ virtual void __unk_vfn_46(); + /*47*/ virtual void __unk_vfn_47(); + /*49*/ virtual void __unk_vfn_49(); + /*50*/ virtual void __unk_vfn_50(); + /*79*/ virtual void __unk_vfn_79(); + /*80*/ virtual void __unk_vfn_80(); + /*90*/ virtual void __unk_vfn_90(); + /*96*/ virtual bool _calculatePlacePos(class ItemStack &, class Actor &, unsigned char &, class BlockPos &) const; + /*97*/ virtual void __unk_vfn_97(); + /*99*/ virtual bool _useOn(class ItemStack &, class Actor &, class BlockPos, unsigned char, float, float, float) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_REDSTONEDUSTITEM +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/RedStoneOreBlock.hpp b/LiteLoader/Header/MC/RedStoneOreBlock.hpp new file mode 100644 index 0000000..dbad38f --- /dev/null +++ b/LiteLoader/Header/MC/RedStoneOreBlock.hpp @@ -0,0 +1,74 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "BlockLegacy.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class RedStoneOreBlock : public BlockLegacy { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_REDSTONEOREBLOCK +public: + class RedStoneOreBlock& operator=(class RedStoneOreBlock const &) = delete; + RedStoneOreBlock(class RedStoneOreBlock const &) = delete; + RedStoneOreBlock() = delete; +#endif + +public: + /*0*/ virtual ~RedStoneOreBlock(); + /*1*/ virtual void tick(class BlockSource &, class BlockPos const &, class Random &) const; + /*18*/ virtual void __unk_vfn_18(); + /*24*/ virtual void __unk_vfn_24(); + /*25*/ virtual void __unk_vfn_25(); + /*26*/ virtual void __unk_vfn_26(); + /*27*/ virtual void __unk_vfn_27(); + /*28*/ virtual void __unk_vfn_28(); + /*30*/ virtual void __unk_vfn_30(); + /*31*/ virtual void __unk_vfn_31(); + /*32*/ virtual void __unk_vfn_32(); + /*33*/ virtual void __unk_vfn_33(); + /*34*/ virtual void __unk_vfn_34(); + /*35*/ virtual void __unk_vfn_35(); + /*36*/ virtual void __unk_vfn_36(); + /*38*/ virtual void __unk_vfn_38(); + /*39*/ virtual void __unk_vfn_39(); + /*40*/ virtual void __unk_vfn_40(); + /*42*/ virtual void __unk_vfn_42(); + /*43*/ virtual void __unk_vfn_43(); + /*49*/ virtual void __unk_vfn_49(); + /*52*/ virtual void __unk_vfn_52(); + /*62*/ virtual void onStepOn(class Actor &, class BlockPos const &) const; + /*67*/ virtual void __unk_vfn_67(); + /*73*/ virtual void __unk_vfn_73(); + /*87*/ virtual void __unk_vfn_87(); + /*90*/ virtual int getResourceCount(class Random &, class Block const &, int, bool) const; + /*91*/ virtual class ItemInstance getResourceItem(class Random &, class Block const &, int) const; + /*92*/ virtual class ItemInstance asItemInstance(class BlockSource &, class BlockPos const &, class Block const &) const; + /*95*/ virtual void __unk_vfn_95(); + /*98*/ virtual bool use(class Player &, class BlockPos const &) const; + /*102*/ virtual bool attack(class Player *, class BlockPos const &) const; + /*107*/ virtual int getExperienceDrop(class Random &) const; + /*109*/ virtual void __unk_vfn_109(); + /*116*/ virtual void __unk_vfn_116(); + /*118*/ virtual void __unk_vfn_118(); + /*119*/ virtual void __unk_vfn_119(); + /*142*/ virtual void __unk_vfn_142(); + /*146*/ virtual void animateTick(class BlockSource &, class BlockPos const &, class Random &) const; + /*158*/ virtual void __unk_vfn_158(); + /*159*/ virtual class ItemInstance getSilkTouchItemInstance(class Block const &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_REDSTONEOREBLOCK +#endif + +//private: + MCAPI void _interact(class BlockSource &, class BlockPos const &) const; + MCAPI void _poofParticles(class BlockSource &, class BlockPos const &) const; + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/RedStoneWireBlock.hpp b/LiteLoader/Header/MC/RedStoneWireBlock.hpp new file mode 100644 index 0000000..c5cc03f --- /dev/null +++ b/LiteLoader/Header/MC/RedStoneWireBlock.hpp @@ -0,0 +1,76 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "BlockLegacy.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class RedStoneWireBlock : public BlockLegacy { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_REDSTONEWIREBLOCK +public: + class RedStoneWireBlock& operator=(class RedStoneWireBlock const &) = delete; + RedStoneWireBlock(class RedStoneWireBlock const &) = delete; + RedStoneWireBlock() = delete; +#endif + +public: + /*0*/ virtual ~RedStoneWireBlock(); + /*1*/ virtual void tick(class BlockSource &, class BlockPos const &, class Random &) const; + /*10*/ virtual class AABB const & getAABB(class BlockSource &, class BlockPos const &, class Block const &, class AABB &, bool) const; + /*18*/ virtual void __unk_vfn_18(); + /*24*/ virtual void __unk_vfn_24(); + /*25*/ virtual void __unk_vfn_25(); + /*26*/ virtual void __unk_vfn_26(); + /*27*/ virtual void __unk_vfn_27(); + /*28*/ virtual void __unk_vfn_28(); + /*30*/ virtual void __unk_vfn_30(); + /*31*/ virtual void __unk_vfn_31(); + /*32*/ virtual void __unk_vfn_32(); + /*33*/ virtual void __unk_vfn_33(); + /*34*/ virtual void __unk_vfn_34(); + /*35*/ virtual void __unk_vfn_35(); + /*36*/ virtual void __unk_vfn_36(); + /*38*/ virtual void __unk_vfn_38(); + /*39*/ virtual void __unk_vfn_39(); + /*40*/ virtual void __unk_vfn_40(); + /*42*/ virtual void __unk_vfn_42(); + /*43*/ virtual void __unk_vfn_43(); + /*49*/ virtual void __unk_vfn_49(); + /*50*/ virtual bool canContainLiquid() const; + /*51*/ virtual bool shouldConnectToRedstone(class BlockSource &, class BlockPos const &, int) const; + /*52*/ virtual void __unk_vfn_52(); + /*59*/ virtual void onPlace(class BlockSource &, class BlockPos const &) const; + /*65*/ virtual void onRedstoneUpdate(class BlockSource &, class BlockPos const &, int, bool) const; + /*67*/ virtual void __unk_vfn_67(); + /*70*/ virtual void setupRedstoneComponent(class BlockSource &, class BlockPos const &) const; + /*73*/ virtual void __unk_vfn_73(); + /*81*/ virtual bool mayPlace(class BlockSource &, class BlockPos const &) const; + /*87*/ virtual void __unk_vfn_87(); + /*88*/ virtual void neighborChanged(class BlockSource &, class BlockPos const &, class BlockPos const &) const; + /*91*/ virtual class ItemInstance getResourceItem(class Random &, class Block const &, int) const; + /*92*/ virtual class ItemInstance asItemInstance(class BlockSource &, class BlockPos const &, class Block const &) const; + /*95*/ virtual void __unk_vfn_95(); + /*106*/ virtual bool canSurvive(class BlockSource &, class BlockPos const &) const; + /*109*/ virtual void __unk_vfn_109(); + /*116*/ virtual void __unk_vfn_116(); + /*118*/ virtual void __unk_vfn_118(); + /*119*/ virtual void __unk_vfn_119(); + /*129*/ virtual int getColor(class Block const &) const; + /*130*/ virtual int getColor(class BlockSource &, class BlockPos const &, class Block const &) const; + /*142*/ virtual void __unk_vfn_142(); + /*146*/ virtual void animateTick(class BlockSource &, class BlockPos const &, class Random &) const; + /*158*/ virtual void __unk_vfn_158(); + /*159*/ virtual class ItemInstance getSilkTouchItemInstance(class Block const &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_REDSTONEWIREBLOCK + MCVAPI bool canSpawnOn() const; + MCVAPI bool waterSpreadCausesSpawn() const; +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/RedstoneBlock.hpp b/LiteLoader/Header/MC/RedstoneBlock.hpp new file mode 100644 index 0000000..7da1fcd --- /dev/null +++ b/LiteLoader/Header/MC/RedstoneBlock.hpp @@ -0,0 +1,63 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "BlockLegacy.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class RedstoneBlock : public BlockLegacy { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_REDSTONEBLOCK +public: + class RedstoneBlock& operator=(class RedstoneBlock const &) = delete; + RedstoneBlock(class RedstoneBlock const &) = delete; + RedstoneBlock() = delete; +#endif + +public: + /*0*/ virtual ~RedstoneBlock(); + /*18*/ virtual void __unk_vfn_18(); + /*24*/ virtual void __unk_vfn_24(); + /*25*/ virtual void __unk_vfn_25(); + /*26*/ virtual void __unk_vfn_26(); + /*27*/ virtual void __unk_vfn_27(); + /*28*/ virtual void __unk_vfn_28(); + /*30*/ virtual void __unk_vfn_30(); + /*31*/ virtual void __unk_vfn_31(); + /*32*/ virtual void __unk_vfn_32(); + /*33*/ virtual void __unk_vfn_33(); + /*34*/ virtual void __unk_vfn_34(); + /*35*/ virtual void __unk_vfn_35(); + /*36*/ virtual void __unk_vfn_36(); + /*38*/ virtual void __unk_vfn_38(); + /*39*/ virtual void __unk_vfn_39(); + /*40*/ virtual void __unk_vfn_40(); + /*42*/ virtual void __unk_vfn_42(); + /*43*/ virtual void __unk_vfn_43(); + /*49*/ virtual void __unk_vfn_49(); + /*51*/ virtual bool shouldConnectToRedstone(class BlockSource &, class BlockPos const &, int) const; + /*52*/ virtual void __unk_vfn_52(); + /*59*/ virtual void onPlace(class BlockSource &, class BlockPos const &) const; + /*67*/ virtual void __unk_vfn_67(); + /*70*/ virtual void setupRedstoneComponent(class BlockSource &, class BlockPos const &) const; + /*73*/ virtual void __unk_vfn_73(); + /*87*/ virtual void __unk_vfn_87(); + /*95*/ virtual void __unk_vfn_95(); + /*109*/ virtual void __unk_vfn_109(); + /*116*/ virtual void __unk_vfn_116(); + /*118*/ virtual void __unk_vfn_118(); + /*119*/ virtual void __unk_vfn_119(); + /*142*/ virtual void __unk_vfn_142(); + /*158*/ virtual void __unk_vfn_158(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_REDSTONEBLOCK + MCVAPI bool canSpawnOn() const; + MCVAPI bool isSignalSource() const; +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/RedstoneLampBlock.hpp b/LiteLoader/Header/MC/RedstoneLampBlock.hpp new file mode 100644 index 0000000..33046f4 --- /dev/null +++ b/LiteLoader/Header/MC/RedstoneLampBlock.hpp @@ -0,0 +1,66 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "BlockLegacy.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class RedstoneLampBlock : public BlockLegacy { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_REDSTONELAMPBLOCK +public: + class RedstoneLampBlock& operator=(class RedstoneLampBlock const &) = delete; + RedstoneLampBlock(class RedstoneLampBlock const &) = delete; + RedstoneLampBlock() = delete; +#endif + +public: + /*0*/ virtual ~RedstoneLampBlock(); + /*1*/ virtual void tick(class BlockSource &, class BlockPos const &, class Random &) const; + /*18*/ virtual void __unk_vfn_18(); + /*24*/ virtual void __unk_vfn_24(); + /*25*/ virtual void __unk_vfn_25(); + /*26*/ virtual void __unk_vfn_26(); + /*27*/ virtual void __unk_vfn_27(); + /*28*/ virtual void __unk_vfn_28(); + /*30*/ virtual void __unk_vfn_30(); + /*31*/ virtual void __unk_vfn_31(); + /*32*/ virtual void __unk_vfn_32(); + /*33*/ virtual void __unk_vfn_33(); + /*34*/ virtual void __unk_vfn_34(); + /*35*/ virtual void __unk_vfn_35(); + /*36*/ virtual void __unk_vfn_36(); + /*38*/ virtual void __unk_vfn_38(); + /*39*/ virtual void __unk_vfn_39(); + /*40*/ virtual void __unk_vfn_40(); + /*42*/ virtual void __unk_vfn_42(); + /*43*/ virtual void __unk_vfn_43(); + /*49*/ virtual void __unk_vfn_49(); + /*51*/ virtual bool shouldConnectToRedstone(class BlockSource &, class BlockPos const &, int) const; + /*52*/ virtual void __unk_vfn_52(); + /*59*/ virtual void onPlace(class BlockSource &, class BlockPos const &) const; + /*65*/ virtual void onRedstoneUpdate(class BlockSource &, class BlockPos const &, int, bool) const; + /*67*/ virtual void __unk_vfn_67(); + /*70*/ virtual void setupRedstoneComponent(class BlockSource &, class BlockPos const &) const; + /*73*/ virtual void __unk_vfn_73(); + /*87*/ virtual void __unk_vfn_87(); + /*91*/ virtual class ItemInstance getResourceItem(class Random &, class Block const &, int) const; + /*92*/ virtual class ItemInstance asItemInstance(class BlockSource &, class BlockPos const &, class Block const &) const; + /*95*/ virtual void __unk_vfn_95(); + /*109*/ virtual void __unk_vfn_109(); + /*116*/ virtual void __unk_vfn_116(); + /*118*/ virtual void __unk_vfn_118(); + /*119*/ virtual void __unk_vfn_119(); + /*142*/ virtual void __unk_vfn_142(); + /*158*/ virtual void __unk_vfn_158(); + /*159*/ virtual class ItemInstance getSilkTouchItemInstance(class Block const &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_REDSTONELAMPBLOCK +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/RedstoneTorchBlock.hpp b/LiteLoader/Header/MC/RedstoneTorchBlock.hpp new file mode 100644 index 0000000..9953e01 --- /dev/null +++ b/LiteLoader/Header/MC/RedstoneTorchBlock.hpp @@ -0,0 +1,75 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "TorchBlock.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class RedstoneTorchBlock : public TorchBlock { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_REDSTONETORCHBLOCK +public: + class RedstoneTorchBlock& operator=(class RedstoneTorchBlock const &) = delete; + RedstoneTorchBlock(class RedstoneTorchBlock const &) = delete; + RedstoneTorchBlock() = delete; +#endif + +public: + /*0*/ virtual ~RedstoneTorchBlock(); + /*18*/ virtual void __unk_vfn_18(); + /*24*/ virtual void __unk_vfn_24(); + /*25*/ virtual void __unk_vfn_25(); + /*26*/ virtual void __unk_vfn_26(); + /*27*/ virtual void __unk_vfn_27(); + /*28*/ virtual void __unk_vfn_28(); + /*30*/ virtual void __unk_vfn_30(); + /*31*/ virtual void __unk_vfn_31(); + /*32*/ virtual void __unk_vfn_32(); + /*33*/ virtual void __unk_vfn_33(); + /*34*/ virtual void __unk_vfn_34(); + /*35*/ virtual void __unk_vfn_35(); + /*36*/ virtual void __unk_vfn_36(); + /*38*/ virtual void __unk_vfn_38(); + /*39*/ virtual void __unk_vfn_39(); + /*40*/ virtual void __unk_vfn_40(); + /*42*/ virtual void __unk_vfn_42(); + /*43*/ virtual void __unk_vfn_43(); + /*49*/ virtual void __unk_vfn_49(); + /*51*/ virtual bool shouldConnectToRedstone(class BlockSource &, class BlockPos const &, int) const; + /*52*/ virtual void __unk_vfn_52(); + /*59*/ virtual void onPlace(class BlockSource &, class BlockPos const &) const; + /*65*/ virtual void onRedstoneUpdate(class BlockSource &, class BlockPos const &, int, bool) const; + /*67*/ virtual void __unk_vfn_67(); + /*70*/ virtual void setupRedstoneComponent(class BlockSource &, class BlockPos const &) const; + /*73*/ virtual void __unk_vfn_73(); + /*87*/ virtual void __unk_vfn_87(); + /*88*/ virtual void neighborChanged(class BlockSource &, class BlockPos const &, class BlockPos const &) const; + /*91*/ virtual class ItemInstance getResourceItem(class Random &, class Block const &, int) const; + /*92*/ virtual class ItemInstance asItemInstance(class BlockSource &, class BlockPos const &, class Block const &) const; + /*95*/ virtual void __unk_vfn_95(); + /*109*/ virtual void __unk_vfn_109(); + /*116*/ virtual void __unk_vfn_116(); + /*118*/ virtual void __unk_vfn_118(); + /*119*/ virtual void __unk_vfn_119(); + /*142*/ virtual void __unk_vfn_142(); + /*146*/ virtual void animateTick(class BlockSource &, class BlockPos const &, class Random &) const; + /*158*/ virtual void __unk_vfn_158(); + /*159*/ virtual class ItemInstance getSilkTouchItemInstance(class Block const &) const; + /*164*/ virtual int getTickDelay(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_REDSTONETORCHBLOCK + MCVAPI bool canSpawnOn() const; + MCVAPI bool isSignalSource() const; +#endif + +//private: + MCAPI void _installCircuit(class BlockSource &, class BlockPos const &) const; + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/RedstoneTorchCapacitor.hpp b/LiteLoader/Header/MC/RedstoneTorchCapacitor.hpp new file mode 100644 index 0000000..5ac63b3 --- /dev/null +++ b/LiteLoader/Header/MC/RedstoneTorchCapacitor.hpp @@ -0,0 +1,46 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "ProducerComponent.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class RedstoneTorchCapacitor : public ProducerComponent { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_REDSTONETORCHCAPACITOR +public: + class RedstoneTorchCapacitor& operator=(class RedstoneTorchCapacitor const &) = delete; + RedstoneTorchCapacitor(class RedstoneTorchCapacitor const &) = delete; + RedstoneTorchCapacitor() = delete; +#endif + +public: + /*0*/ virtual ~RedstoneTorchCapacitor(); + /*1*/ virtual int getStrength() const; + /*5*/ virtual void __unk_vfn_5(); + /*10*/ virtual unsigned __int64 getInstanceType() const; + /*11*/ virtual bool removeSource(class BlockPos const &, class BaseCircuitComponent const *); + /*12*/ virtual bool addSource(class CircuitSceneGraph &, class CircuitTrackingInfo const &, int &, bool &); + /*13*/ virtual bool allowConnection(class CircuitSceneGraph &, class CircuitTrackingInfo const &, bool &); + /*15*/ virtual bool evaluate(class CircuitSystem &, class BlockPos const &); + /*16*/ virtual void cacheValues(class CircuitSystem &, class BlockPos const &); + /*17*/ virtual void updateDependencies(class CircuitSceneGraph &, class BlockPos const &); + /*18*/ virtual void __unk_vfn_18(); + /*19*/ virtual bool isHalfPulse(); + /*21*/ virtual void __unk_vfn_21(); + /*23*/ virtual unsigned char getPoweroutDirection() const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_REDSTONETORCHCAPACITOR +#endif + +//private: + MCAPI int FindStrongestStrength(class BlockPos const &, class CircuitSystem &, bool &); + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ReedBlock.hpp b/LiteLoader/Header/MC/ReedBlock.hpp new file mode 100644 index 0000000..5f246db --- /dev/null +++ b/LiteLoader/Header/MC/ReedBlock.hpp @@ -0,0 +1,79 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "BlockLegacy.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ReedBlock : public BlockLegacy { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_REEDBLOCK +public: + class ReedBlock& operator=(class ReedBlock const &) = delete; + ReedBlock(class ReedBlock const &) = delete; + ReedBlock() = delete; +#endif + +public: + /*0*/ virtual ~ReedBlock(); + /*1*/ virtual void tick(class BlockSource &, class BlockPos const &, class Random &) const; + /*10*/ virtual class AABB const & getAABB(class BlockSource &, class BlockPos const &, class Block const &, class AABB &, bool) const; + /*18*/ virtual void __unk_vfn_18(); + /*24*/ virtual void __unk_vfn_24(); + /*25*/ virtual void __unk_vfn_25(); + /*26*/ virtual void __unk_vfn_26(); + /*27*/ virtual void __unk_vfn_27(); + /*28*/ virtual void __unk_vfn_28(); + /*30*/ virtual void __unk_vfn_30(); + /*31*/ virtual void __unk_vfn_31(); + /*32*/ virtual void __unk_vfn_32(); + /*33*/ virtual void __unk_vfn_33(); + /*34*/ virtual void __unk_vfn_34(); + /*35*/ virtual void __unk_vfn_35(); + /*36*/ virtual void __unk_vfn_36(); + /*38*/ virtual void __unk_vfn_38(); + /*39*/ virtual void __unk_vfn_39(); + /*40*/ virtual void __unk_vfn_40(); + /*42*/ virtual void __unk_vfn_42(); + /*43*/ virtual void __unk_vfn_43(); + /*49*/ virtual void __unk_vfn_49(); + /*50*/ virtual bool canContainLiquid() const; + /*52*/ virtual void __unk_vfn_52(); + /*67*/ virtual void __unk_vfn_67(); + /*73*/ virtual void __unk_vfn_73(); + /*75*/ virtual bool onFertilized(class BlockSource &, class BlockPos const &, class Actor *, enum FertilizerType) const; + /*77*/ virtual bool canBeFertilized(class BlockSource &, class BlockPos const &, class Block const &) const; + /*81*/ virtual bool mayPlace(class BlockSource &, class BlockPos const &) const; + /*87*/ virtual void __unk_vfn_87(); + /*88*/ virtual void neighborChanged(class BlockSource &, class BlockPos const &, class BlockPos const &) const; + /*91*/ virtual class ItemInstance getResourceItem(class Random &, class Block const &, int) const; + /*92*/ virtual class ItemInstance asItemInstance(class BlockSource &, class BlockPos const &, class Block const &) const; + /*95*/ virtual void __unk_vfn_95(); + /*106*/ virtual bool canSurvive(class BlockSource &, class BlockPos const &) const; + /*109*/ virtual void __unk_vfn_109(); + /*116*/ virtual void __unk_vfn_116(); + /*118*/ virtual void __unk_vfn_118(); + /*119*/ virtual void __unk_vfn_119(); + /*129*/ virtual int getColor(class Block const &) const; + /*130*/ virtual int getColor(class BlockSource &, class BlockPos const &, class Block const &) const; + /*131*/ virtual int getColorAtPos(class BlockSource &, class BlockPos const &) const; + /*134*/ virtual void onGraphicsModeChanged(bool, bool, bool); + /*142*/ virtual void __unk_vfn_142(); + /*158*/ virtual void __unk_vfn_158(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_REEDBLOCK + MCVAPI bool canBeSilkTouched() const; + MCVAPI bool waterSpreadCausesSpawn() const; +#endif + +//private: + MCAPI void checkAlive(class BlockSource &, class BlockPos const &) const; + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ReedsFeature.hpp b/LiteLoader/Header/MC/ReedsFeature.hpp new file mode 100644 index 0000000..ff0f5fa --- /dev/null +++ b/LiteLoader/Header/MC/ReedsFeature.hpp @@ -0,0 +1,29 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Feature.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ReedsFeature : public Feature { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_REEDSFEATURE +public: + class ReedsFeature& operator=(class ReedsFeature const &) = delete; + ReedsFeature(class ReedsFeature const &) = delete; + ReedsFeature() = delete; +#endif + +public: + /*0*/ virtual ~ReedsFeature(); + /*1*/ virtual bool place(class BlockSource &, class BlockPos const &, class Random &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_REEDSFEATURE +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/RegionFile.hpp b/LiteLoader/Header/MC/RegionFile.hpp new file mode 100644 index 0000000..2cdffcb --- /dev/null +++ b/LiteLoader/Header/MC/RegionFile.hpp @@ -0,0 +1,27 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class RegionFile { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_REGIONFILE +public: + class RegionFile& operator=(class RegionFile const &) = delete; + RegionFile(class RegionFile const &) = delete; + RegionFile() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_REGIONFILE +#endif + MCAPI bool open(); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/RegionHillsLayer.hpp b/LiteLoader/Header/MC/RegionHillsLayer.hpp new file mode 100644 index 0000000..03aa1a9 --- /dev/null +++ b/LiteLoader/Header/MC/RegionHillsLayer.hpp @@ -0,0 +1,31 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class RegionHillsLayer { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_REGIONHILLSLAYER +public: + class RegionHillsLayer& operator=(class RegionHillsLayer const &) = delete; + RegionHillsLayer(class RegionHillsLayer const &) = delete; + RegionHillsLayer() = delete; +#endif + +public: + /*0*/ virtual ~RegionHillsLayer(); + /*1*/ virtual void init(__int64); + /*2*/ virtual class LayerDetails::TransferData _allocateAndFill(unsigned __int64, int, int, unsigned int, unsigned int) const; + /*3*/ virtual void _fillArea(class LayerDetails::WorkingData &, int, int, int, int, int) const; + /*4*/ virtual class std::tuple _getAreaRead(int, int, unsigned int, unsigned int) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_REGIONHILLSLAYER +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/RegistryKey.hpp b/LiteLoader/Header/MC/RegistryKey.hpp new file mode 100644 index 0000000..63c8d02 --- /dev/null +++ b/LiteLoader/Header/MC/RegistryKey.hpp @@ -0,0 +1,28 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class RegistryKey { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_REGISTRYKEY +public: + class RegistryKey& operator=(class RegistryKey const &) = delete; + RegistryKey(class RegistryKey const &) = delete; + RegistryKey() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_REGISTRYKEY +#endif + MCAPI bool readValue(char const *, std::string &) const; + MCAPI ~RegistryKey(); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ReloadCommand.hpp b/LiteLoader/Header/MC/ReloadCommand.hpp new file mode 100644 index 0000000..18e551a --- /dev/null +++ b/LiteLoader/Header/MC/ReloadCommand.hpp @@ -0,0 +1,30 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Command.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ReloadCommand : public Command { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_RELOADCOMMAND +public: + class ReloadCommand& operator=(class ReloadCommand const &) = delete; + ReloadCommand(class ReloadCommand const &) = delete; + ReloadCommand() = delete; +#endif + +public: + /*0*/ virtual ~ReloadCommand(); + /*1*/ virtual void execute(class CommandOrigin const &, class CommandOutput &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_RELOADCOMMAND +#endif + MCAPI static void setup(class CommandRegistry &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/RemoveActorPacket.hpp b/LiteLoader/Header/MC/RemoveActorPacket.hpp new file mode 100644 index 0000000..70b8ee7 --- /dev/null +++ b/LiteLoader/Header/MC/RemoveActorPacket.hpp @@ -0,0 +1,32 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Packet.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class RemoveActorPacket : public Packet { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_REMOVEACTORPACKET +public: + class RemoveActorPacket& operator=(class RemoveActorPacket const &) = delete; + RemoveActorPacket(class RemoveActorPacket const &) = delete; + RemoveActorPacket() = delete; +#endif + +public: + /*0*/ virtual ~RemoveActorPacket(); + /*1*/ virtual enum MinecraftPacketIds getId() const; + /*2*/ virtual std::string getName() const; + /*3*/ virtual void write(class BinaryStream &) const; + /*4*/ virtual enum StreamReadResult read(class ReadOnlyBinaryStream &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_REMOVEACTORPACKET +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/RemoveEntityPacket.hpp b/LiteLoader/Header/MC/RemoveEntityPacket.hpp new file mode 100644 index 0000000..9b59e6c --- /dev/null +++ b/LiteLoader/Header/MC/RemoveEntityPacket.hpp @@ -0,0 +1,30 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Packet.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class RemoveEntityPacket : public Packet { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_REMOVEENTITYPACKET +public: + class RemoveEntityPacket& operator=(class RemoveEntityPacket const &) = delete; + RemoveEntityPacket(class RemoveEntityPacket const &) = delete; + RemoveEntityPacket() = delete; +#endif + +public: + /*0*/ virtual ~RemoveEntityPacket(); + /*1*/ virtual enum MinecraftPacketIds getId() const; + /*2*/ virtual std::string getName() const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_REMOVEENTITYPACKET +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/RemoveObjectivePacket.hpp b/LiteLoader/Header/MC/RemoveObjectivePacket.hpp new file mode 100644 index 0000000..dc4cc3e --- /dev/null +++ b/LiteLoader/Header/MC/RemoveObjectivePacket.hpp @@ -0,0 +1,32 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Packet.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class RemoveObjectivePacket : public Packet { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_REMOVEOBJECTIVEPACKET +public: + class RemoveObjectivePacket& operator=(class RemoveObjectivePacket const &) = delete; + RemoveObjectivePacket(class RemoveObjectivePacket const &) = delete; + RemoveObjectivePacket() = delete; +#endif + +public: + /*0*/ virtual ~RemoveObjectivePacket(); + /*1*/ virtual enum MinecraftPacketIds getId() const; + /*2*/ virtual std::string getName() const; + /*3*/ virtual void write(class BinaryStream &) const; + /*4*/ virtual enum StreamReadResult read(class ReadOnlyBinaryStream &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_REMOVEOBJECTIVEPACKET +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/RemoveOnHitSubcomponent.hpp b/LiteLoader/Header/MC/RemoveOnHitSubcomponent.hpp new file mode 100644 index 0000000..f04ee6f --- /dev/null +++ b/LiteLoader/Header/MC/RemoveOnHitSubcomponent.hpp @@ -0,0 +1,32 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class RemoveOnHitSubcomponent { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_REMOVEONHITSUBCOMPONENT +public: + class RemoveOnHitSubcomponent& operator=(class RemoveOnHitSubcomponent const &) = delete; + RemoveOnHitSubcomponent(class RemoveOnHitSubcomponent const &) = delete; + RemoveOnHitSubcomponent() = delete; +#endif + +public: + /*0*/ virtual ~RemoveOnHitSubcomponent(); + /*1*/ virtual void __unk_vfn_1(); + /*2*/ virtual void __unk_vfn_2(); + /*3*/ virtual void doOnHitEffect(class Actor &, class ProjectileComponent &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_REMOVEONHITSUBCOMPONENT + MCVAPI void readfromJSON(class Json::Value &); + MCVAPI void writetoJSON(class Json::Value &) const; +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/RenderParams.hpp b/LiteLoader/Header/MC/RenderParams.hpp new file mode 100644 index 0000000..d281fe2 --- /dev/null +++ b/LiteLoader/Header/MC/RenderParams.hpp @@ -0,0 +1,28 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class RenderParams { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_RENDERPARAMS +public: + class RenderParams& operator=(class RenderParams const &) = delete; + RenderParams() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_RENDERPARAMS +#endif + MCAPI RenderParams(class RenderParams const &); + MCAPI class RenderParams & init(class BaseActorRenderContext *, class Actor *, class AnimationComponent *, class MolangVariableMap *, class DataDrivenModel *, float, float, int, bool, class std::function); + MCAPI ~RenderParams(); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/RepairItemRecipe.hpp b/LiteLoader/Header/MC/RepairItemRecipe.hpp new file mode 100644 index 0000000..e939946 --- /dev/null +++ b/LiteLoader/Header/MC/RepairItemRecipe.hpp @@ -0,0 +1,37 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Recipe.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class RepairItemRecipe : public Recipe { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_REPAIRITEMRECIPE +public: + class RepairItemRecipe& operator=(class RepairItemRecipe const &) = delete; + RepairItemRecipe(class RepairItemRecipe const &) = delete; + RepairItemRecipe() = delete; +#endif + +public: + /*0*/ virtual ~RepairItemRecipe(); + /*1*/ virtual std::vector const & assemble(class CraftingContainer &) const; + /*2*/ virtual int getCraftingSize() const; + /*3*/ virtual class RecipeIngredient const & getIngredient(int, int) const; + /*4*/ virtual std::vector const & getResultItem() const; + /*6*/ virtual bool matches(class CraftingContainer &, class Level &) const; + /*7*/ virtual int size() const; + /*8*/ virtual bool isExperimental() const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_REPAIRITEMRECIPE +#endif + MCAPI RepairItemRecipe(std::string, class mce::UUID const *); + MCAPI static class mce::UUID ID; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/RepeatUntilFailureDefinition.hpp b/LiteLoader/Header/MC/RepeatUntilFailureDefinition.hpp new file mode 100644 index 0000000..cdb25ff --- /dev/null +++ b/LiteLoader/Header/MC/RepeatUntilFailureDefinition.hpp @@ -0,0 +1,30 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Json.hpp" +#include "BehaviorDefinition.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class RepeatUntilFailureDefinition : public BehaviorDefinition { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_REPEATUNTILFAILUREDEFINITION +public: + class RepeatUntilFailureDefinition& operator=(class RepeatUntilFailureDefinition const &) = delete; + RepeatUntilFailureDefinition(class RepeatUntilFailureDefinition const &) = delete; + RepeatUntilFailureDefinition() = delete; +#endif + +public: + /*0*/ virtual ~RepeatUntilFailureDefinition(); + /*1*/ virtual void load(class Json::Value, class BehaviorFactory const &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_REPEATUNTILFAILUREDEFINITION +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/RepeatUntilFailureNode.hpp b/LiteLoader/Header/MC/RepeatUntilFailureNode.hpp new file mode 100644 index 0000000..c3f92d8 --- /dev/null +++ b/LiteLoader/Header/MC/RepeatUntilFailureNode.hpp @@ -0,0 +1,29 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class RepeatUntilFailureNode { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_REPEATUNTILFAILURENODE +public: + class RepeatUntilFailureNode& operator=(class RepeatUntilFailureNode const &) = delete; + RepeatUntilFailureNode(class RepeatUntilFailureNode const &) = delete; + RepeatUntilFailureNode() = delete; +#endif + +public: + /*0*/ virtual ~RepeatUntilFailureNode(); + /*1*/ virtual enum BehaviorStatus tick(class Actor &); + /*2*/ virtual void initializeFromDefinition(class Actor &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_REPEATUNTILFAILURENODE +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/RepeatUntilSuccessDefinition.hpp b/LiteLoader/Header/MC/RepeatUntilSuccessDefinition.hpp new file mode 100644 index 0000000..0f76c9a --- /dev/null +++ b/LiteLoader/Header/MC/RepeatUntilSuccessDefinition.hpp @@ -0,0 +1,30 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Json.hpp" +#include "BehaviorDefinition.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class RepeatUntilSuccessDefinition : public BehaviorDefinition { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_REPEATUNTILSUCCESSDEFINITION +public: + class RepeatUntilSuccessDefinition& operator=(class RepeatUntilSuccessDefinition const &) = delete; + RepeatUntilSuccessDefinition(class RepeatUntilSuccessDefinition const &) = delete; + RepeatUntilSuccessDefinition() = delete; +#endif + +public: + /*0*/ virtual ~RepeatUntilSuccessDefinition(); + /*1*/ virtual void load(class Json::Value, class BehaviorFactory const &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_REPEATUNTILSUCCESSDEFINITION +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/RepeatUntilSuccessNode.hpp b/LiteLoader/Header/MC/RepeatUntilSuccessNode.hpp new file mode 100644 index 0000000..9c6307c --- /dev/null +++ b/LiteLoader/Header/MC/RepeatUntilSuccessNode.hpp @@ -0,0 +1,29 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class RepeatUntilSuccessNode { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_REPEATUNTILSUCCESSNODE +public: + class RepeatUntilSuccessNode& operator=(class RepeatUntilSuccessNode const &) = delete; + RepeatUntilSuccessNode(class RepeatUntilSuccessNode const &) = delete; + RepeatUntilSuccessNode() = delete; +#endif + +public: + /*0*/ virtual ~RepeatUntilSuccessNode(); + /*1*/ virtual enum BehaviorStatus tick(class Actor &); + /*2*/ virtual void initializeFromDefinition(class Actor &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_REPEATUNTILSUCCESSNODE +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/RepeaterBlock.hpp b/LiteLoader/Header/MC/RepeaterBlock.hpp new file mode 100644 index 0000000..0c30c12 --- /dev/null +++ b/LiteLoader/Header/MC/RepeaterBlock.hpp @@ -0,0 +1,85 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "DiodeBlock.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class RepeaterBlock : public DiodeBlock { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_REPEATERBLOCK +public: + class RepeaterBlock& operator=(class RepeaterBlock const &) = delete; + RepeaterBlock(class RepeaterBlock const &) = delete; + RepeaterBlock() = delete; +#endif + +public: + /*0*/ virtual ~RepeaterBlock(); + /*1*/ virtual void tick(class BlockSource &, class BlockPos const &, class Random &) const; + /*18*/ virtual void __unk_vfn_18(); + /*24*/ virtual void __unk_vfn_24(); + /*25*/ virtual void __unk_vfn_25(); + /*26*/ virtual void __unk_vfn_26(); + /*27*/ virtual void __unk_vfn_27(); + /*28*/ virtual void __unk_vfn_28(); + /*30*/ virtual void __unk_vfn_30(); + /*31*/ virtual void __unk_vfn_31(); + /*32*/ virtual void __unk_vfn_32(); + /*33*/ virtual void __unk_vfn_33(); + /*34*/ virtual void __unk_vfn_34(); + /*35*/ virtual void __unk_vfn_35(); + /*36*/ virtual void __unk_vfn_36(); + /*38*/ virtual void __unk_vfn_38(); + /*39*/ virtual void __unk_vfn_39(); + /*40*/ virtual void __unk_vfn_40(); + /*42*/ virtual void __unk_vfn_42(); + /*43*/ virtual void __unk_vfn_43(); + /*49*/ virtual void __unk_vfn_49(); + /*51*/ virtual bool shouldConnectToRedstone(class BlockSource &, class BlockPos const &, int) const; + /*52*/ virtual void __unk_vfn_52(); + /*59*/ virtual void onPlace(class BlockSource &, class BlockPos const &) const; + /*60*/ virtual void onRemove(class BlockSource &, class BlockPos const &) const; + /*67*/ virtual void __unk_vfn_67(); + /*70*/ virtual void setupRedstoneComponent(class BlockSource &, class BlockPos const &) const; + /*73*/ virtual void __unk_vfn_73(); + /*81*/ virtual bool mayPlace(class BlockSource &, class BlockPos const &) const; + /*87*/ virtual void __unk_vfn_87(); + /*88*/ virtual void neighborChanged(class BlockSource &, class BlockPos const &, class BlockPos const &) const; + /*91*/ virtual class ItemInstance getResourceItem(class Random &, class Block const &, int) const; + /*92*/ virtual class ItemInstance asItemInstance(class BlockSource &, class BlockPos const &, class Block const &) const; + /*95*/ virtual void __unk_vfn_95(); + /*98*/ virtual bool use(class Player &, class BlockPos const &) const; + /*106*/ virtual bool canSurvive(class BlockSource &, class BlockPos const &) const; + /*109*/ virtual void __unk_vfn_109(); + /*116*/ virtual void __unk_vfn_116(); + /*118*/ virtual void __unk_vfn_118(); + /*119*/ virtual void __unk_vfn_119(); + /*142*/ virtual void __unk_vfn_142(); + /*146*/ virtual void animateTick(class BlockSource &, class BlockPos const &, class Random &) const; + /*158*/ virtual void __unk_vfn_158(); + /*165*/ virtual bool isLocked(class BlockSource &, class BlockPos const &) const; + /*171*/ virtual bool isAlternateInput(class Block const &) const; + /*175*/ virtual int getTurnOnDelay(class Block const &) const; + /*176*/ virtual class Block const * getOnBlock(class Block const *) const; + /*177*/ virtual class Block const * getOffBlock(class Block const *) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_REPEATERBLOCK + MCVAPI bool canBeSilkTouched() const; + MCVAPI bool isInteractiveBlock() const; +#endif + MCAPI RepeaterBlock(std::string const &, int, bool); + MCAPI void updateDelay(class BlockSource &, class BlockPos const &, bool) const; + MCAPI static float const DELAY_RENDER_OFFSETS[]; + +//private: + +private: + MCAPI static int const DELAYS[]; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/RepeaterCapacitor.hpp b/LiteLoader/Header/MC/RepeaterCapacitor.hpp new file mode 100644 index 0000000..3cba30b --- /dev/null +++ b/LiteLoader/Header/MC/RepeaterCapacitor.hpp @@ -0,0 +1,44 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "ProducerComponent.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class RepeaterCapacitor : public ProducerComponent { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_REPEATERCAPACITOR +public: + class RepeaterCapacitor& operator=(class RepeaterCapacitor const &) = delete; + RepeaterCapacitor(class RepeaterCapacitor const &) = delete; + RepeaterCapacitor() = delete; +#endif + +public: + /*0*/ virtual ~RepeaterCapacitor(); + /*1*/ virtual int getStrength() const; + /*3*/ virtual void setStrength(int); + /*5*/ virtual void __unk_vfn_5(); + /*6*/ virtual bool canConsumerPower(); + /*10*/ virtual unsigned __int64 getInstanceType() const; + /*11*/ virtual bool removeSource(class BlockPos const &, class BaseCircuitComponent const *); + /*12*/ virtual bool addSource(class CircuitSceneGraph &, class CircuitTrackingInfo const &, int &, bool &); + /*13*/ virtual bool allowConnection(class CircuitSceneGraph &, class CircuitTrackingInfo const &, bool &); + /*14*/ virtual void checkLock(class CircuitSystem &, class BlockPos const &); + /*15*/ virtual bool evaluate(class CircuitSystem &, class BlockPos const &); + /*16*/ virtual void cacheValues(class CircuitSystem &, class BlockPos const &); + /*17*/ virtual void updateDependencies(class CircuitSceneGraph &, class BlockPos const &); + /*18*/ virtual void __unk_vfn_18(); + /*21*/ virtual void __unk_vfn_21(); + /*23*/ virtual unsigned char getPoweroutDirection() const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_REPEATERCAPACITOR + MCVAPI bool consumePowerAnyDirection(); +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ReplaceItemCommand.hpp b/LiteLoader/Header/MC/ReplaceItemCommand.hpp new file mode 100644 index 0000000..ad159c9 --- /dev/null +++ b/LiteLoader/Header/MC/ReplaceItemCommand.hpp @@ -0,0 +1,30 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Command.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ReplaceItemCommand : public Command { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_REPLACEITEMCOMMAND +public: + class ReplaceItemCommand& operator=(class ReplaceItemCommand const &) = delete; + ReplaceItemCommand(class ReplaceItemCommand const &) = delete; + ReplaceItemCommand() = delete; +#endif + +public: + /*0*/ virtual ~ReplaceItemCommand(); + /*1*/ virtual void execute(class CommandOrigin const &, class CommandOutput &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_REPLACEITEMCOMMAND +#endif + MCAPI static void setup(class CommandRegistry &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/RequestChunkRadiusPacket.hpp b/LiteLoader/Header/MC/RequestChunkRadiusPacket.hpp new file mode 100644 index 0000000..0de51ce --- /dev/null +++ b/LiteLoader/Header/MC/RequestChunkRadiusPacket.hpp @@ -0,0 +1,32 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Packet.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class RequestChunkRadiusPacket : public Packet { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_REQUESTCHUNKRADIUSPACKET +public: + class RequestChunkRadiusPacket& operator=(class RequestChunkRadiusPacket const &) = delete; + RequestChunkRadiusPacket(class RequestChunkRadiusPacket const &) = delete; + RequestChunkRadiusPacket() = delete; +#endif + +public: + /*0*/ virtual ~RequestChunkRadiusPacket(); + /*1*/ virtual enum MinecraftPacketIds getId() const; + /*2*/ virtual std::string getName() const; + /*3*/ virtual void write(class BinaryStream &) const; + /*4*/ virtual enum StreamReadResult read(class ReadOnlyBinaryStream &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_REQUESTCHUNKRADIUSPACKET +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ResetEventObj.hpp b/LiteLoader/Header/MC/ResetEventObj.hpp new file mode 100644 index 0000000..967c7a0 --- /dev/null +++ b/LiteLoader/Header/MC/ResetEventObj.hpp @@ -0,0 +1,27 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ResetEventObj { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_RESETEVENTOBJ +public: + class ResetEventObj& operator=(class ResetEventObj const &) = delete; + ResetEventObj(class ResetEventObj const &) = delete; + ResetEventObj() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_RESETEVENTOBJ +#endif + MCAPI bool wait_until(class std::chrono::time_point>>); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ResourceDefinition.hpp b/LiteLoader/Header/MC/ResourceDefinition.hpp new file mode 100644 index 0000000..cfca358 --- /dev/null +++ b/LiteLoader/Header/MC/ResourceDefinition.hpp @@ -0,0 +1,17 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +namespace ResourceDefinition { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA + MCAPI extern std::string const VANILLA_NAMESPACE; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ResourceHelper.hpp b/LiteLoader/Header/MC/ResourceHelper.hpp new file mode 100644 index 0000000..ce4e94d --- /dev/null +++ b/LiteLoader/Header/MC/ResourceHelper.hpp @@ -0,0 +1,18 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Json.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +namespace ResourceHelper { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA + MCAPI bool deserializePackStackEntry(class Json::Value const &, struct PackInstanceId &, std::string const &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ResourceInformation.hpp b/LiteLoader/Header/MC/ResourceInformation.hpp new file mode 100644 index 0000000..ad22b51 --- /dev/null +++ b/LiteLoader/Header/MC/ResourceInformation.hpp @@ -0,0 +1,28 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ResourceInformation { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_RESOURCEINFORMATION +public: + class ResourceInformation& operator=(class ResourceInformation const &) = delete; + ResourceInformation() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_RESOURCEINFORMATION +#endif + MCAPI ResourceInformation(class ResourceInformation const &); + MCAPI ~ResourceInformation(); + MCAPI static std::string const & StringFromResourceType(enum ResourceInformation::ResourceType); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ResourceLoadManager.hpp b/LiteLoader/Header/MC/ResourceLoadManager.hpp new file mode 100644 index 0000000..cc49e07 --- /dev/null +++ b/LiteLoader/Header/MC/ResourceLoadManager.hpp @@ -0,0 +1,31 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ResourceLoadManager { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_RESOURCELOADMANAGER +public: + class ResourceLoadManager& operator=(class ResourceLoadManager const &) = delete; + ResourceLoadManager(class ResourceLoadManager const &) = delete; + ResourceLoadManager() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_RESOURCELOADMANAGER +#endif + +//private: + +private: + MCAPI static class ResourceLoadManager::ResourceLoadTaskGroup * CURRENT_RUNNING_GROUP; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ResourceLoader.hpp b/LiteLoader/Header/MC/ResourceLoader.hpp new file mode 100644 index 0000000..736839f --- /dev/null +++ b/LiteLoader/Header/MC/ResourceLoader.hpp @@ -0,0 +1,40 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Core.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ResourceLoader { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_RESOURCELOADER +public: + class ResourceLoader& operator=(class ResourceLoader const &) = delete; + ResourceLoader(class ResourceLoader const &) = delete; + ResourceLoader() = delete; +#endif + +public: + /*0*/ virtual ~ResourceLoader(); + /*1*/ virtual void __unk_vfn_1(); + /*2*/ virtual void __unk_vfn_2(); + /*3*/ virtual void __unk_vfn_3() = 0; + /*4*/ virtual void __unk_vfn_4() = 0; + /*5*/ virtual void __unk_vfn_5() = 0; + /*6*/ virtual class Core::PathBuffer getPath(class ResourceLocation const &) const; + /*7*/ virtual class Core::PathBuffer getPath(class ResourceLocation const &, std::vector const &) const; + /*8*/ virtual class Core::PathBuffer getPathContainingResource(class ResourceLocation const &) const; + /*9*/ virtual class Core::PathBuffer getPathContainingResource(class ResourceLocation const &, std::vector) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_RESOURCELOADER + MCVAPI bool isInStreamableLocation(class ResourceLocation const &) const; + MCVAPI bool isInStreamableLocation(class ResourceLocation const &, std::vector const &) const; +#endif + MCAPI ResourceLoader(class std::function (void)>); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ResourceLoaders.hpp b/LiteLoader/Header/MC/ResourceLoaders.hpp new file mode 100644 index 0000000..f07201f --- /dev/null +++ b/LiteLoader/Header/MC/ResourceLoaders.hpp @@ -0,0 +1,19 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +namespace ResourceLoaders { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA + MCAPI extern class BackwardsCompatTextureGroup backCompatGroup; + MCAPI extern class std::map, struct std::less, class std::allocator>>> loaders; + MCAPI extern std::vector const supportedImageExtensions; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ResourceLocation.hpp b/LiteLoader/Header/MC/ResourceLocation.hpp new file mode 100644 index 0000000..957a9d9 --- /dev/null +++ b/LiteLoader/Header/MC/ResourceLocation.hpp @@ -0,0 +1,38 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Json.hpp" +#include "Core.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ResourceLocation { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_RESOURCELOCATION +public: + class ResourceLocation& operator=(class ResourceLocation const &) = delete; + ResourceLocation(class ResourceLocation const &) = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_RESOURCELOCATION +#endif + MCAPI ResourceLocation(); + MCAPI class Core::PathBuffer getFullPath() const; + MCAPI class ResourceLocation & operator=(class ResourceLocation &&); + MCAPI bool operator==(class ResourceLocation const &) const; + MCAPI void serialize(class Json::Value &) const; + MCAPI ~ResourceLocation(); + +//private: + MCAPI void _computeHashes(); + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ResourceMetadata.hpp b/LiteLoader/Header/MC/ResourceMetadata.hpp new file mode 100644 index 0000000..3d95485 --- /dev/null +++ b/LiteLoader/Header/MC/ResourceMetadata.hpp @@ -0,0 +1,27 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ResourceMetadata { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_RESOURCEMETADATA +public: + class ResourceMetadata& operator=(class ResourceMetadata const &) = delete; + ResourceMetadata(class ResourceMetadata const &) = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_RESOURCEMETADATA +#endif + MCAPI ResourceMetadata(); + MCAPI ~ResourceMetadata(); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ResourcePack.hpp b/LiteLoader/Header/MC/ResourcePack.hpp new file mode 100644 index 0000000..6d50237 --- /dev/null +++ b/LiteLoader/Header/MC/ResourcePack.hpp @@ -0,0 +1,44 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Core.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ResourcePack { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_RESOURCEPACK +public: + class ResourcePack& operator=(class ResourcePack const &) = delete; + ResourcePack(class ResourcePack const &) = delete; + ResourcePack() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_RESOURCEPACK +#endif + MCAPI ResourcePack(class Pack &); + MCAPI bool areKnownFilesValid(); + MCAPI void forEachIn(class Core::Path const &, class std::function, int, bool) const; + MCAPI void generateAssetSet(); + MCAPI bool getResource(class Core::Path const &, std::string &, int) const; + MCAPI bool hasResource(class Core::Path const &, int) const; + MCAPI void setLocale(std::string const &); + MCAPI ~ResourcePack(); + MCAPI static class Core::PathBuffer const RESOURCE_PACK_BUG_ICON_PATH; + MCAPI static class Core::PathBuffer const RESOURCE_PACK_ICON_PATH; + MCAPI static class Core::PathBuffer const TEXTURES_LIST_PATH; + +//private: + MCAPI void _createSubpack(struct SubpackInfo const &); + MCAPI void _createSubpacks(); + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ResourcePackChunkDataPacket.hpp b/LiteLoader/Header/MC/ResourcePackChunkDataPacket.hpp new file mode 100644 index 0000000..5509e9a --- /dev/null +++ b/LiteLoader/Header/MC/ResourcePackChunkDataPacket.hpp @@ -0,0 +1,32 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Packet.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ResourcePackChunkDataPacket : public Packet { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_RESOURCEPACKCHUNKDATAPACKET +public: + class ResourcePackChunkDataPacket& operator=(class ResourcePackChunkDataPacket const &) = delete; + ResourcePackChunkDataPacket(class ResourcePackChunkDataPacket const &) = delete; + ResourcePackChunkDataPacket() = delete; +#endif + +public: + /*0*/ virtual ~ResourcePackChunkDataPacket(); + /*1*/ virtual enum MinecraftPacketIds getId() const; + /*2*/ virtual std::string getName() const; + /*3*/ virtual void write(class BinaryStream &) const; + /*4*/ virtual enum StreamReadResult read(class ReadOnlyBinaryStream &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_RESOURCEPACKCHUNKDATAPACKET +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ResourcePackChunkRequestPacket.hpp b/LiteLoader/Header/MC/ResourcePackChunkRequestPacket.hpp new file mode 100644 index 0000000..fef274a --- /dev/null +++ b/LiteLoader/Header/MC/ResourcePackChunkRequestPacket.hpp @@ -0,0 +1,32 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Packet.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ResourcePackChunkRequestPacket : public Packet { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_RESOURCEPACKCHUNKREQUESTPACKET +public: + class ResourcePackChunkRequestPacket& operator=(class ResourcePackChunkRequestPacket const &) = delete; + ResourcePackChunkRequestPacket(class ResourcePackChunkRequestPacket const &) = delete; + ResourcePackChunkRequestPacket() = delete; +#endif + +public: + /*0*/ virtual ~ResourcePackChunkRequestPacket(); + /*1*/ virtual enum MinecraftPacketIds getId() const; + /*2*/ virtual std::string getName() const; + /*3*/ virtual void write(class BinaryStream &) const; + /*4*/ virtual enum StreamReadResult read(class ReadOnlyBinaryStream &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_RESOURCEPACKCHUNKREQUESTPACKET +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ResourcePackClientResponsePacket.hpp b/LiteLoader/Header/MC/ResourcePackClientResponsePacket.hpp new file mode 100644 index 0000000..1dd33e7 --- /dev/null +++ b/LiteLoader/Header/MC/ResourcePackClientResponsePacket.hpp @@ -0,0 +1,32 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Packet.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ResourcePackClientResponsePacket : public Packet { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_RESOURCEPACKCLIENTRESPONSEPACKET +public: + class ResourcePackClientResponsePacket& operator=(class ResourcePackClientResponsePacket const &) = delete; + ResourcePackClientResponsePacket(class ResourcePackClientResponsePacket const &) = delete; + ResourcePackClientResponsePacket() = delete; +#endif + +public: + /*0*/ virtual ~ResourcePackClientResponsePacket(); + /*1*/ virtual enum MinecraftPacketIds getId() const; + /*2*/ virtual std::string getName() const; + /*3*/ virtual void write(class BinaryStream &) const; + /*4*/ virtual enum StreamReadResult read(class ReadOnlyBinaryStream &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_RESOURCEPACKCLIENTRESPONSEPACKET +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ResourcePackDataInfoPacket.hpp b/LiteLoader/Header/MC/ResourcePackDataInfoPacket.hpp new file mode 100644 index 0000000..b72510d --- /dev/null +++ b/LiteLoader/Header/MC/ResourcePackDataInfoPacket.hpp @@ -0,0 +1,32 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Packet.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ResourcePackDataInfoPacket : public Packet { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_RESOURCEPACKDATAINFOPACKET +public: + class ResourcePackDataInfoPacket& operator=(class ResourcePackDataInfoPacket const &) = delete; + ResourcePackDataInfoPacket(class ResourcePackDataInfoPacket const &) = delete; + ResourcePackDataInfoPacket() = delete; +#endif + +public: + /*0*/ virtual ~ResourcePackDataInfoPacket(); + /*1*/ virtual enum MinecraftPacketIds getId() const; + /*2*/ virtual std::string getName() const; + /*3*/ virtual void write(class BinaryStream &) const; + /*4*/ virtual enum StreamReadResult read(class ReadOnlyBinaryStream &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_RESOURCEPACKDATAINFOPACKET +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ResourcePackFileUploadManager.hpp b/LiteLoader/Header/MC/ResourcePackFileUploadManager.hpp new file mode 100644 index 0000000..37f64e4 --- /dev/null +++ b/LiteLoader/Header/MC/ResourcePackFileUploadManager.hpp @@ -0,0 +1,38 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Core.hpp" +#include "Json.hpp" +#include "FileUploadManager.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ResourcePackFileUploadManager : public FileUploadManager { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_RESOURCEPACKFILEUPLOADMANAGER +public: + class ResourcePackFileUploadManager& operator=(class ResourcePackFileUploadManager const &) = delete; + ResourcePackFileUploadManager(class ResourcePackFileUploadManager const &) = delete; + ResourcePackFileUploadManager() = delete; +#endif + +public: + /*0*/ virtual ~ResourcePackFileUploadManager(); + /*2*/ virtual void uploadFileToRealmStorage(std::string const &, class Core::Path const &, std::string const &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_RESOURCEPACKFILEUPLOADMANAGER +#endif + MCAPI void uploadResourcePack(std::string const &, class ResourceLocation const &, bool, bool, enum PackType, bool); + +//private: + MCAPI void _uploadPackToRealmStorage(std::string const &, class Core::Path const &, std::string const &); + MCAPI void _uploadResourcePackFolder(std::string const &, class ResourceLocation const &, class Core::Path const &, bool, class Json::Value const &); + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ResourcePackInfoData.hpp b/LiteLoader/Header/MC/ResourcePackInfoData.hpp new file mode 100644 index 0000000..1240d9f --- /dev/null +++ b/LiteLoader/Header/MC/ResourcePackInfoData.hpp @@ -0,0 +1,28 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ResourcePackInfoData { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_RESOURCEPACKINFODATA +public: + class ResourcePackInfoData& operator=(class ResourcePackInfoData const &) = delete; + ResourcePackInfoData(class ResourcePackInfoData const &) = delete; + ResourcePackInfoData() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_RESOURCEPACKINFODATA +#endif + MCAPI ResourcePackInfoData(class mce::UUID const &, class SemVersion const &, unsigned __int64, std::string const &, std::string const &, class ContentIdentity const &, bool); + MCAPI ~ResourcePackInfoData(); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ResourcePackListener.hpp b/LiteLoader/Header/MC/ResourcePackListener.hpp new file mode 100644 index 0000000..43be3ae --- /dev/null +++ b/LiteLoader/Header/MC/ResourcePackListener.hpp @@ -0,0 +1,30 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ResourcePackListener { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_RESOURCEPACKLISTENER +public: + class ResourcePackListener& operator=(class ResourcePackListener const &) = delete; + ResourcePackListener(class ResourcePackListener const &) = delete; + ResourcePackListener() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_RESOURCEPACKLISTENER + MCVAPI void onBaseGamePackDownloadComplete(); + MCVAPI void onFullPackStackInvalid(); + MCVAPI void onLanguageSubpacksChanged(); + MCVAPI void onResourceManagerDestroyed(class ResourcePackManager &); +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ResourcePackManager.hpp b/LiteLoader/Header/MC/ResourcePackManager.hpp new file mode 100644 index 0000000..fbf0113 --- /dev/null +++ b/LiteLoader/Header/MC/ResourcePackManager.hpp @@ -0,0 +1,50 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Core.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ResourcePackManager { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_RESOURCEPACKMANAGER +public: + class ResourcePackManager& operator=(class ResourcePackManager const &) = delete; + ResourcePackManager(class ResourcePackManager const &) = delete; + ResourcePackManager() = delete; +#endif + +public: + /*0*/ virtual ~ResourcePackManager(); + /*1*/ virtual bool load(class ResourceLocation const &, std::string &) const; + /*2*/ virtual bool load(class ResourceLocation const &, std::string &, std::vector const &) const; + /*3*/ virtual std::vector loadAllVersionsOf(class ResourceLocation const &) const; + /*4*/ virtual bool isInStreamableLocation(class ResourceLocation const &) const; + /*5*/ virtual bool isInStreamableLocation(class ResourceLocation const &, std::vector const &) const; + /*6*/ virtual class Core::PathBuffer getPath(class ResourceLocation const &) const; + /*7*/ virtual class Core::PathBuffer getPath(class ResourceLocation const &, std::vector const &) const; + /*8*/ virtual class Core::PathBuffer getPathContainingResource(class ResourceLocation const &) const; + /*9*/ virtual class Core::PathBuffer getPathContainingResource(class ResourceLocation const &, std::vector) const; + /*10*/ virtual bool hasCapability(class gsl::basic_string_span) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_RESOURCEPACKMANAGER +#endif + MCAPI ResourcePackManager(class std::function (void)>, class ContentTierManager const &, bool); + MCAPI int composeFullStack(class ResourcePackStack &, class ResourcePackStack const &, class ResourcePackStack const &, class ResourcePackStack const &) const; + MCAPI std::vector> getResourcesOfGroup(class PackInstance const &, std::string const &) const; + MCAPI bool setStack(std::unique_ptr, enum ResourcePackStackType, bool); + +//private: + MCAPI void _calculateMinEngineVersionFromFullStack(); + MCAPI void _composeFullStack(); + MCAPI void _getResourcesOfGroup(class PackInstance const &, std::string const &, std::vector> &) const; + MCAPI void _updateLanguageSubpacks(); + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ResourcePackRepository.hpp b/LiteLoader/Header/MC/ResourcePackRepository.hpp new file mode 100644 index 0000000..cf830ea --- /dev/null +++ b/LiteLoader/Header/MC/ResourcePackRepository.hpp @@ -0,0 +1,70 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Core.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ResourcePackRepository { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_RESOURCEPACKREPOSITORY +public: + class ResourcePackRepository& operator=(class ResourcePackRepository const &) = delete; + ResourcePackRepository(class ResourcePackRepository const &) = delete; + ResourcePackRepository() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_RESOURCEPACKREPOSITORY +#endif + MCAPI ResourcePackRepository(class IMinecraftEventing &, class PackManifestFactory &, class IContentAccessibilityProvider &, class Core::FilePathManager *, class PackSourceFactory &, bool); + MCAPI void addInvalidPack(class ResourceLocation const &, enum PackType); + MCAPI class Core::PathBuffer const getBehaviorPacksPath() const; + MCAPI class Core::PathBuffer const getDevelopmentBehaviorPacksPath() const; + MCAPI class Core::PathBuffer const getKnownPacksPath(enum KnownPackType) const; + MCAPI class ResourcePack * getResourcePackForPackId(struct PackIdVersion const &) const; + MCAPI class ResourcePack * getResourcePackInPath(class Core::Path const &) const; + MCAPI class ResourcePack * getResourcePackSatisfiesPackId(struct PackIdVersion const &, bool) const; + MCAPI class Core::PathBuffer const getTreatmentPacksPath() const; + MCAPI void refreshPacks(); + MCAPI void removePacksLoadedFromWorld(); + MCAPI ~ResourcePackRepository(); + MCAPI static std::string const BEHAVIOR_PACK_PATH; + MCAPI static class mce::UUID const CHEMISTRY_PACK_UUID; + MCAPI static class mce::UUID const CHEMISTRY_SERVER_PACK_UUID; + MCAPI static std::string const DEVELOPMENT_BEHAVIOR_PACKS_PATH; + MCAPI static std::string const DEVELOPMENT_RESOURCE_PACKS_PATH; + MCAPI static std::string const DEVELOPMENT_SKIN_PACKS_PATH; + MCAPI static std::vector const EXPECTED_EXTENSIONS; + MCAPI static class Core::PathBuffer const GLOBAL_RESOURCE_PACKS_FILENAME; + MCAPI static class Core::PathBuffer const KNOWN_INVALID_PACKS_FILE_NAME; + MCAPI static class Core::PathBuffer const KNOWN_VALID_PACKS_FILE_NAME; + MCAPI static std::string const RESOURCE_PACKS_PATH; + MCAPI static std::string const SKIN_PACKS_PATH; + MCAPI static std::string const TREATMENT_PACK_PATH; + MCAPI static class Core::PathBuffer getPremiumPackPath(); + +//private: + MCAPI void _detectKnownPacksChange(struct ResourcePackRepository::KnownPackContainer &, struct ResourcePackRepository::KnownPackContainer const &, enum KnownPackType); + MCAPI void _findVanillaPacks(); + MCAPI void _initialize(); + MCAPI void _initializePackSource(); + MCAPI void _initializeWorldPackSource(); + MCAPI void _loadLastKnownUserPacks(struct ResourcePackRepository::KnownPackContainer &, enum KnownPackType); + MCAPI void _loadPacks(bool); + MCAPI bool _packExists(class mce::UUID const &, class SemVersion const &, enum PackOrigin) const; + MCAPI void _reloadDynamicPackagePacks(); + MCAPI void _reloadUserPacks(); + MCAPI bool _removePack(class ResourceLocation const &, bool); + MCAPI void _saveKnownUserPacks(struct ResourcePackRepository::KnownPackContainer &, enum KnownPackType); + MCAPI void _triggerRemoveResourcePackCallback(class ResourcePack *); + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ResourcePackStack.hpp b/LiteLoader/Header/MC/ResourcePackStack.hpp new file mode 100644 index 0000000..fccbd35 --- /dev/null +++ b/LiteLoader/Header/MC/ResourcePackStack.hpp @@ -0,0 +1,40 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ResourcePackStack { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_RESOURCEPACKSTACK +public: + class ResourcePackStack& operator=(class ResourcePackStack const &) = delete; + ResourcePackStack(class ResourcePackStack const &) = delete; + ResourcePackStack() = delete; +#endif + +public: + /*0*/ virtual ~ResourcePackStack(); + /*1*/ virtual std::vector loadAllVersionsOf(class ResourceLocation const &) const; + /*2*/ virtual bool loadAllVersionsOf(class ResourceLocation const &, class ResourcePackMergeStrategy &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_RESOURCEPACKSTACK +#endif + MCAPI void add(class PackInstance, class ResourcePackRepository const &, bool); + MCAPI bool hasPlatformLockedContent() const; + MCAPI void removeDuplicates(); + MCAPI void removeIf(class std::function const &); + MCAPI void removeInvalidPacks(); + MCAPI static std::unique_ptr deserialize(class std::basic_istream> &, class ResourcePackRepository const &); + +//private: + MCAPI static void _populateDependencies(std::vector &, class PackInstance &, class ResourcePackRepository const &, bool); + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ResourcePackStackPacket.hpp b/LiteLoader/Header/MC/ResourcePackStackPacket.hpp new file mode 100644 index 0000000..a1d5350 --- /dev/null +++ b/LiteLoader/Header/MC/ResourcePackStackPacket.hpp @@ -0,0 +1,32 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Packet.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ResourcePackStackPacket : public Packet { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_RESOURCEPACKSTACKPACKET +public: + class ResourcePackStackPacket& operator=(class ResourcePackStackPacket const &) = delete; + ResourcePackStackPacket(class ResourcePackStackPacket const &) = delete; + ResourcePackStackPacket() = delete; +#endif + +public: + /*0*/ virtual ~ResourcePackStackPacket(); + /*1*/ virtual enum MinecraftPacketIds getId() const; + /*2*/ virtual std::string getName() const; + /*3*/ virtual void write(class BinaryStream &) const; + /*4*/ virtual enum StreamReadResult read(class ReadOnlyBinaryStream &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_RESOURCEPACKSTACKPACKET +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ResourcePackTransmissionManager.hpp b/LiteLoader/Header/MC/ResourcePackTransmissionManager.hpp new file mode 100644 index 0000000..f39e665 --- /dev/null +++ b/LiteLoader/Header/MC/ResourcePackTransmissionManager.hpp @@ -0,0 +1,30 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ResourcePackTransmissionManager { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_RESOURCEPACKTRANSMISSIONMANAGER +public: + class ResourcePackTransmissionManager& operator=(class ResourcePackTransmissionManager const &) = delete; + ResourcePackTransmissionManager(class ResourcePackTransmissionManager const &) = delete; + ResourcePackTransmissionManager() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_RESOURCEPACKTRANSMISSIONMANAGER +#endif + MCAPI ResourcePackTransmissionManager(class Scheduler &); + MCAPI void cleanupResourcePackManager(class NetworkIdentifier const &); + MCAPI class ResourcePackFileUploadManager & getResourcePackUploadManager(class PacketSender &, class NetworkIdentifier const &, std::string const &); + MCAPI void update(); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ResourcePacksInfoPacket.hpp b/LiteLoader/Header/MC/ResourcePacksInfoPacket.hpp new file mode 100644 index 0000000..13a5583 --- /dev/null +++ b/LiteLoader/Header/MC/ResourcePacksInfoPacket.hpp @@ -0,0 +1,32 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Packet.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ResourcePacksInfoPacket : public Packet { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_RESOURCEPACKSINFOPACKET +public: + class ResourcePacksInfoPacket& operator=(class ResourcePacksInfoPacket const &) = delete; + ResourcePacksInfoPacket(class ResourcePacksInfoPacket const &) = delete; + ResourcePacksInfoPacket() = delete; +#endif + +public: + /*0*/ virtual ~ResourcePacksInfoPacket(); + /*1*/ virtual enum MinecraftPacketIds getId() const; + /*2*/ virtual std::string getName() const; + /*3*/ virtual void write(class BinaryStream &) const; + /*4*/ virtual enum StreamReadResult read(class ReadOnlyBinaryStream &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_RESOURCEPACKSINFOPACKET +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ResourcePath.hpp b/LiteLoader/Header/MC/ResourcePath.hpp new file mode 100644 index 0000000..c65dd36 --- /dev/null +++ b/LiteLoader/Header/MC/ResourcePath.hpp @@ -0,0 +1,26 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +struct ResourcePath { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_RESOURCEPATH +public: + struct ResourcePath& operator=(struct ResourcePath const &) = delete; + ResourcePath(struct ResourcePath const &) = delete; + ResourcePath() = delete; +#endif +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_RESOURCEPATH +#endif + MCAPI ~ResourcePath(); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ResourceSignature.hpp b/LiteLoader/Header/MC/ResourceSignature.hpp new file mode 100644 index 0000000..142940a --- /dev/null +++ b/LiteLoader/Header/MC/ResourceSignature.hpp @@ -0,0 +1,36 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Core.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ResourceSignature { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_RESOURCESIGNATURE +public: + class ResourceSignature& operator=(class ResourceSignature const &) = delete; + ResourceSignature(class ResourceSignature const &) = delete; + ResourceSignature() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_RESOURCESIGNATURE +#endif + MCAPI ~ResourceSignature(); + MCAPI static class Core::PathBuffer const SIGNATURE_FILENAME; + +//private: + MCAPI bool _areKnownFilesValid(class PackAccessStrategy const &, bool); + MCAPI bool _checkSignedFiles(class PackAccessStrategy const &) const; + MCAPI void _loadSignaturesFile(class Core::Path const &, class PackAccessStrategy const &); + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/RespawnAnchorBlock.hpp b/LiteLoader/Header/MC/RespawnAnchorBlock.hpp new file mode 100644 index 0000000..abe3791 --- /dev/null +++ b/LiteLoader/Header/MC/RespawnAnchorBlock.hpp @@ -0,0 +1,81 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "BlockLegacy.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class RespawnAnchorBlock : public BlockLegacy { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_RESPAWNANCHORBLOCK +public: + class RespawnAnchorBlock& operator=(class RespawnAnchorBlock const &) = delete; + RespawnAnchorBlock(class RespawnAnchorBlock const &) = delete; + RespawnAnchorBlock() = delete; +#endif + +public: + /*0*/ virtual ~RespawnAnchorBlock(); + /*16*/ virtual struct Brightness getLightEmission(class Block const &) const; + /*18*/ virtual void __unk_vfn_18(); + /*24*/ virtual void __unk_vfn_24(); + /*25*/ virtual void __unk_vfn_25(); + /*26*/ virtual void __unk_vfn_26(); + /*27*/ virtual void __unk_vfn_27(); + /*28*/ virtual void __unk_vfn_28(); + /*30*/ virtual void __unk_vfn_30(); + /*31*/ virtual void __unk_vfn_31(); + /*32*/ virtual void __unk_vfn_32(); + /*33*/ virtual void __unk_vfn_33(); + /*34*/ virtual void __unk_vfn_34(); + /*35*/ virtual void __unk_vfn_35(); + /*36*/ virtual void __unk_vfn_36(); + /*38*/ virtual void __unk_vfn_38(); + /*39*/ virtual void __unk_vfn_39(); + /*40*/ virtual void __unk_vfn_40(); + /*42*/ virtual void __unk_vfn_42(); + /*43*/ virtual void __unk_vfn_43(); + /*49*/ virtual void __unk_vfn_49(); + /*52*/ virtual void __unk_vfn_52(); + /*59*/ virtual void onPlace(class BlockSource &, class BlockPos const &) const; + /*67*/ virtual void __unk_vfn_67(); + /*73*/ virtual void __unk_vfn_73(); + /*87*/ virtual void __unk_vfn_87(); + /*91*/ virtual class ItemInstance getResourceItem(class Random &, class Block const &, int) const; + /*95*/ virtual void __unk_vfn_95(); + /*98*/ virtual bool use(class Player &, class BlockPos const &) const; + /*105*/ virtual void playerDestroy(class Player &, class BlockPos const &, class Block const &) const; + /*109*/ virtual void __unk_vfn_109(); + /*116*/ virtual void __unk_vfn_116(); + /*118*/ virtual void __unk_vfn_118(); + /*119*/ virtual void __unk_vfn_119(); + /*120*/ virtual int getComparatorSignal(class BlockSource &, class BlockPos const &, class Block const &, unsigned char) const; + /*122*/ virtual bool canSpawnAt(class BlockSource const &, class BlockPos const &) const; + /*123*/ virtual void notifySpawnedAt(class BlockSource &, class BlockPos const &) const; + /*141*/ virtual int getVariant(class Block const &) const; + /*142*/ virtual void __unk_vfn_142(); + /*146*/ virtual void animateTick(class BlockSource &, class BlockPos const &, class Random &) const; + /*158*/ virtual void __unk_vfn_158(); + /*159*/ virtual class ItemInstance getSilkTouchItemInstance(class Block const &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_RESPAWNANCHORBLOCK + MCVAPI bool hasComparatorSignal() const; + MCVAPI bool isInteractiveBlock() const; +#endif + MCAPI static bool addItem(class ItemStack const &, class BlockSource &, class Block const &, class BlockPos const &); + MCAPI static bool isFullyCharged(class Block const &); + +//private: + MCAPI static bool _isInWater(class BlockSource const &, class BlockPos const &); + MCAPI static bool bumpCharge(class BlockSource &, class BlockPos const &, short); + MCAPI static bool tryCharge(class Player &, class BlockPos const &, class BlockSource &, class Level &); + MCAPI static bool trySetSpawn(class Player &, class BlockPos const &, class BlockSource &, class Level &); + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/RespawnPacket.hpp b/LiteLoader/Header/MC/RespawnPacket.hpp new file mode 100644 index 0000000..8822d39 --- /dev/null +++ b/LiteLoader/Header/MC/RespawnPacket.hpp @@ -0,0 +1,32 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Packet.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class RespawnPacket : public Packet { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_RESPAWNPACKET +public: + class RespawnPacket& operator=(class RespawnPacket const &) = delete; + RespawnPacket(class RespawnPacket const &) = delete; + RespawnPacket() = delete; +#endif + +public: + /*0*/ virtual ~RespawnPacket(); + /*1*/ virtual enum MinecraftPacketIds getId() const; + /*2*/ virtual std::string getName() const; + /*3*/ virtual void write(class BinaryStream &) const; + /*4*/ virtual enum StreamReadResult read(class ReadOnlyBinaryStream &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_RESPAWNPACKET +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/RestrictOpenDoorGoal.hpp b/LiteLoader/Header/MC/RestrictOpenDoorGoal.hpp new file mode 100644 index 0000000..14e73d6 --- /dev/null +++ b/LiteLoader/Header/MC/RestrictOpenDoorGoal.hpp @@ -0,0 +1,34 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class RestrictOpenDoorGoal { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_RESTRICTOPENDOORGOAL +public: + class RestrictOpenDoorGoal& operator=(class RestrictOpenDoorGoal const &) = delete; + RestrictOpenDoorGoal(class RestrictOpenDoorGoal const &) = delete; + RestrictOpenDoorGoal() = delete; +#endif + +public: + /*0*/ virtual ~RestrictOpenDoorGoal(); + /*1*/ virtual bool canUse(); + /*2*/ virtual bool canContinueToUse(); + /*3*/ virtual void __unk_vfn_3(); + /*4*/ virtual void start(); + /*5*/ virtual void stop(); + /*6*/ virtual void __unk_vfn_6(); + /*7*/ virtual void appendDebugInfo(std::string &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_RESTRICTOPENDOORGOAL +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/RestrictSunGoal.hpp b/LiteLoader/Header/MC/RestrictSunGoal.hpp new file mode 100644 index 0000000..bade7a1 --- /dev/null +++ b/LiteLoader/Header/MC/RestrictSunGoal.hpp @@ -0,0 +1,34 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class RestrictSunGoal { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_RESTRICTSUNGOAL +public: + class RestrictSunGoal& operator=(class RestrictSunGoal const &) = delete; + RestrictSunGoal(class RestrictSunGoal const &) = delete; + RestrictSunGoal() = delete; +#endif + +public: + /*0*/ virtual ~RestrictSunGoal(); + /*1*/ virtual bool canUse(); + /*2*/ virtual void __unk_vfn_2(); + /*3*/ virtual void __unk_vfn_3(); + /*4*/ virtual void start(); + /*5*/ virtual void stop(); + /*6*/ virtual void __unk_vfn_6(); + /*7*/ virtual void appendDebugInfo(std::string &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_RESTRICTSUNGOAL +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/RideableComponent.hpp b/LiteLoader/Header/MC/RideableComponent.hpp new file mode 100644 index 0000000..4af8a29 --- /dev/null +++ b/LiteLoader/Header/MC/RideableComponent.hpp @@ -0,0 +1,36 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class RideableComponent { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_RIDEABLECOMPONENT +public: + class RideableComponent& operator=(class RideableComponent const &) = delete; + RideableComponent(class RideableComponent const &) = delete; + RideableComponent() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_RIDEABLECOMPONENT +#endif + MCAPI bool canAddRider(class Actor const &, class Actor &) const; + MCAPI bool getFirstAvailableSeatPosition(class Actor const &, class Actor &, class Vec3 &) const; + MCAPI bool getInteraction(class Actor &, class Player &, class ActorInteraction &); + MCAPI void positionRider(class Actor &, class Actor &); + +//private: + MCAPI void _setCanPlayerRide(class Player &, bool); + MCAPI struct SeatDescription getValidSeat(class Actor const &, int) const; + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/RideableDefinition.hpp b/LiteLoader/Header/MC/RideableDefinition.hpp new file mode 100644 index 0000000..7106551 --- /dev/null +++ b/LiteLoader/Header/MC/RideableDefinition.hpp @@ -0,0 +1,29 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "JsonUtil.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class RideableDefinition { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_RIDEABLEDEFINITION +public: + class RideableDefinition& operator=(class RideableDefinition const &) = delete; + RideableDefinition(class RideableDefinition const &) = delete; + RideableDefinition() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_RIDEABLEDEFINITION +#endif + MCAPI void addFamilyTypeByName(std::string const &); + MCAPI static void buildSchema(class std::shared_ptr> &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/RiderJumpPacket.hpp b/LiteLoader/Header/MC/RiderJumpPacket.hpp new file mode 100644 index 0000000..c2b4b43 --- /dev/null +++ b/LiteLoader/Header/MC/RiderJumpPacket.hpp @@ -0,0 +1,32 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Packet.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class RiderJumpPacket : public Packet { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_RIDERJUMPPACKET +public: + class RiderJumpPacket& operator=(class RiderJumpPacket const &) = delete; + RiderJumpPacket(class RiderJumpPacket const &) = delete; + RiderJumpPacket() = delete; +#endif + +public: + /*0*/ virtual ~RiderJumpPacket(); + /*1*/ virtual enum MinecraftPacketIds getId() const; + /*2*/ virtual std::string getName() const; + /*3*/ virtual void write(class BinaryStream &) const; + /*4*/ virtual enum StreamReadResult read(class ReadOnlyBinaryStream &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_RIDERJUMPPACKET +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/RiseToLiquidLevelGoal.hpp b/LiteLoader/Header/MC/RiseToLiquidLevelGoal.hpp new file mode 100644 index 0000000..5d09b78 --- /dev/null +++ b/LiteLoader/Header/MC/RiseToLiquidLevelGoal.hpp @@ -0,0 +1,39 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class RiseToLiquidLevelGoal { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_RISETOLIQUIDLEVELGOAL +public: + class RiseToLiquidLevelGoal& operator=(class RiseToLiquidLevelGoal const &) = delete; + RiseToLiquidLevelGoal(class RiseToLiquidLevelGoal const &) = delete; + RiseToLiquidLevelGoal() = delete; +#endif + +public: + /*0*/ virtual ~RiseToLiquidLevelGoal(); + /*1*/ virtual bool canUse(); + /*2*/ virtual void __unk_vfn_2(); + /*3*/ virtual void __unk_vfn_3(); + /*4*/ virtual void __unk_vfn_4(); + /*5*/ virtual void __unk_vfn_5(); + /*6*/ virtual void tick(); + /*7*/ virtual void appendDebugInfo(std::string &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_RISETOLIQUIDLEVELGOAL +#endif + +//private: + MCAPI float findLiquidLevel(); + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/RiverFollowingGoal.hpp b/LiteLoader/Header/MC/RiverFollowingGoal.hpp new file mode 100644 index 0000000..ef42787 --- /dev/null +++ b/LiteLoader/Header/MC/RiverFollowingGoal.hpp @@ -0,0 +1,39 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class RiverFollowingGoal { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_RIVERFOLLOWINGGOAL +public: + class RiverFollowingGoal& operator=(class RiverFollowingGoal const &) = delete; + RiverFollowingGoal(class RiverFollowingGoal const &) = delete; + RiverFollowingGoal() = delete; +#endif + +public: + /*0*/ virtual ~RiverFollowingGoal(); + /*1*/ virtual bool canUse(); + /*2*/ virtual bool canContinueToUse(); + /*3*/ virtual void __unk_vfn_3(); + /*4*/ virtual void start(); + /*5*/ virtual void stop(); + /*6*/ virtual void tick(); + /*7*/ virtual void appendDebugInfo(std::string &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_RIVERFOLLOWINGGOAL +#endif + +//protected: + MCAPI void determineSteerDirection(); + +protected: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/RoleChecker.hpp b/LiteLoader/Header/MC/RoleChecker.hpp new file mode 100644 index 0000000..cf23afa --- /dev/null +++ b/LiteLoader/Header/MC/RoleChecker.hpp @@ -0,0 +1,27 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class RoleChecker { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ROLECHECKER +public: + class RoleChecker& operator=(class RoleChecker const &) = delete; + RoleChecker(class RoleChecker const &) = delete; + RoleChecker() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ROLECHECKER +#endif + MCAPI void checkRole(std::string const &, class std::function); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/RoleCheckerCallback.hpp b/LiteLoader/Header/MC/RoleCheckerCallback.hpp new file mode 100644 index 0000000..0aa8397 --- /dev/null +++ b/LiteLoader/Header/MC/RoleCheckerCallback.hpp @@ -0,0 +1,27 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class RoleCheckerCallback { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ROLECHECKERCALLBACK +public: + class RoleCheckerCallback& operator=(class RoleCheckerCallback const &) = delete; + RoleCheckerCallback(class RoleCheckerCallback const &) = delete; + RoleCheckerCallback() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ROLECHECKERCALLBACK +#endif + MCAPI ~RoleCheckerCallback(); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/RollGoal.hpp b/LiteLoader/Header/MC/RollGoal.hpp new file mode 100644 index 0000000..daa7ef8 --- /dev/null +++ b/LiteLoader/Header/MC/RollGoal.hpp @@ -0,0 +1,39 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class RollGoal { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ROLLGOAL +public: + class RollGoal& operator=(class RollGoal const &) = delete; + RollGoal(class RollGoal const &) = delete; + RollGoal() = delete; +#endif + +public: + /*0*/ virtual ~RollGoal(); + /*1*/ virtual bool canUse(); + /*2*/ virtual bool canContinueToUse(); + /*3*/ virtual bool canBeInterrupted(); + /*4*/ virtual void start(); + /*5*/ virtual void stop(); + /*6*/ virtual void tick(); + /*7*/ virtual void appendDebugInfo(std::string &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ROLLGOAL +#endif + +//private: + MCAPI void _handleRoll(int, class Vec3 &, float &, float &) const; + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/RoofedTreeCanopy.hpp b/LiteLoader/Header/MC/RoofedTreeCanopy.hpp new file mode 100644 index 0000000..6d33ca4 --- /dev/null +++ b/LiteLoader/Header/MC/RoofedTreeCanopy.hpp @@ -0,0 +1,29 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "TreeHelper.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class RoofedTreeCanopy { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ROOFEDTREECANOPY +public: + class RoofedTreeCanopy& operator=(class RoofedTreeCanopy const &) = delete; + RoofedTreeCanopy(class RoofedTreeCanopy const &) = delete; + RoofedTreeCanopy() = delete; +#endif + +public: + /*0*/ virtual ~RoofedTreeCanopy(); + /*1*/ virtual class std::optional placeCanopy(class IBlockPlacementTarget &, class BlockPos const &, class Random &, struct TreeHelper::TreeParams const &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ROOFEDTREECANOPY +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/RoomDefinition.hpp b/LiteLoader/Header/MC/RoomDefinition.hpp new file mode 100644 index 0000000..e0a3981 --- /dev/null +++ b/LiteLoader/Header/MC/RoomDefinition.hpp @@ -0,0 +1,30 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class RoomDefinition { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ROOMDEFINITION +public: + class RoomDefinition& operator=(class RoomDefinition const &) = delete; + RoomDefinition(class RoomDefinition const &) = delete; + RoomDefinition() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ROOMDEFINITION +#endif + MCAPI bool findSource(int); + MCAPI void setConnection(unsigned char const &, class std::shared_ptr); + MCAPI void updateOpenings(); + MCAPI ~RoomDefinition(); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/RopeAABB.hpp b/LiteLoader/Header/MC/RopeAABB.hpp new file mode 100644 index 0000000..555e43d --- /dev/null +++ b/LiteLoader/Header/MC/RopeAABB.hpp @@ -0,0 +1,27 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class RopeAABB { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ROPEAABB +public: + class RopeAABB& operator=(class RopeAABB const &) = delete; + RopeAABB(class RopeAABB const &) = delete; + RopeAABB() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ROPEAABB +#endif + MCAPI bool getContactPoint(class Vec3 const &, float, struct AABBContactPoint &) const; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/RopePoints.hpp b/LiteLoader/Header/MC/RopePoints.hpp new file mode 100644 index 0000000..21938a6 --- /dev/null +++ b/LiteLoader/Header/MC/RopePoints.hpp @@ -0,0 +1,27 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class RopePoints { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ROPEPOINTS +public: + class RopePoints& operator=(class RopePoints const &) = delete; + RopePoints(class RopePoints const &) = delete; + RopePoints() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ROPEPOINTS +#endif + MCAPI ~RopePoints(); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/RopeSystem.hpp b/LiteLoader/Header/MC/RopeSystem.hpp new file mode 100644 index 0000000..4e7dcf0 --- /dev/null +++ b/LiteLoader/Header/MC/RopeSystem.hpp @@ -0,0 +1,47 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class RopeSystem { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ROPESYSTEM +public: + class RopeSystem& operator=(class RopeSystem const &) = delete; + RopeSystem(class RopeSystem const &) = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ROPESYSTEM +#endif + MCAPI RopeSystem(); + MCAPI void queueTick(class BlockSource &, class std::shared_ptr &); + MCAPI ~RopeSystem(); + MCAPI static bool sEnabled; + +//private: + MCAPI void _finalizeBucket(struct AABBBucket &); + MCAPI void _initializePins(); + MCAPI void _integrate(); + MCAPI void _prepareAABBBuckets(); + MCAPI float _propagateDistanceConstraint(class Vec3 const &, class Vec3 &, float); + MCAPI void _pruneBlacklist(); + MCAPI void _pushRange(unsigned __int64, unsigned __int64); + MCAPI void _resizeRope(); + MCAPI float _solveCollisions(bool); + MCAPI float _solveDistanceConstraint(class Vec3 &, class Vec3 &, float); + MCAPI float _solveDistanceConstraintBlock(class Vec3 &, class Vec3 &, class Vec3 &, class Vec3 &, float); + MCAPI float _solveDistanceConstraints3(); + MCAPI void _tick(); + MCAPI void _tickWaves(); + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/RotateState.hpp b/LiteLoader/Header/MC/RotateState.hpp new file mode 100644 index 0000000..98ec1ab --- /dev/null +++ b/LiteLoader/Header/MC/RotateState.hpp @@ -0,0 +1,31 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "PetSleepWithOwnerState.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class RotateState : public PetSleepWithOwnerState { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ROTATESTATE +public: + class RotateState& operator=(class RotateState const &) = delete; + RotateState(class RotateState const &) = delete; + RotateState() = delete; +#endif + +public: + /*0*/ virtual ~RotateState(); + /*1*/ virtual void tick(); + /*2*/ virtual void start(); + /*3*/ virtual void stop(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ROTATESTATE +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/RotatedPillarBlock.hpp b/LiteLoader/Header/MC/RotatedPillarBlock.hpp new file mode 100644 index 0000000..96ed90a --- /dev/null +++ b/LiteLoader/Header/MC/RotatedPillarBlock.hpp @@ -0,0 +1,62 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "BlockLegacy.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class RotatedPillarBlock : public BlockLegacy { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ROTATEDPILLARBLOCK +public: + class RotatedPillarBlock& operator=(class RotatedPillarBlock const &) = delete; + RotatedPillarBlock(class RotatedPillarBlock const &) = delete; + RotatedPillarBlock() = delete; +#endif + +public: + /*0*/ virtual ~RotatedPillarBlock(); + /*18*/ virtual void __unk_vfn_18(); + /*24*/ virtual void __unk_vfn_24(); + /*25*/ virtual void __unk_vfn_25(); + /*26*/ virtual void __unk_vfn_26(); + /*27*/ virtual void __unk_vfn_27(); + /*28*/ virtual void __unk_vfn_28(); + /*30*/ virtual void __unk_vfn_30(); + /*31*/ virtual void __unk_vfn_31(); + /*32*/ virtual void __unk_vfn_32(); + /*33*/ virtual void __unk_vfn_33(); + /*34*/ virtual void __unk_vfn_34(); + /*35*/ virtual void __unk_vfn_35(); + /*36*/ virtual void __unk_vfn_36(); + /*38*/ virtual void __unk_vfn_38(); + /*39*/ virtual void __unk_vfn_39(); + /*40*/ virtual void __unk_vfn_40(); + /*42*/ virtual void __unk_vfn_42(); + /*43*/ virtual void __unk_vfn_43(); + /*49*/ virtual void __unk_vfn_49(); + /*52*/ virtual void __unk_vfn_52(); + /*67*/ virtual void __unk_vfn_67(); + /*73*/ virtual void __unk_vfn_73(); + /*87*/ virtual void __unk_vfn_87(); + /*91*/ virtual class ItemInstance getResourceItem(class Random &, class Block const &, int) const; + /*92*/ virtual class ItemInstance asItemInstance(class BlockSource &, class BlockPos const &, class Block const &) const; + /*95*/ virtual void __unk_vfn_95(); + /*99*/ virtual class Block const & getPlacementBlock(class Actor &, class BlockPos const &, unsigned char, class Vec3 const &, int) const; + /*109*/ virtual void __unk_vfn_109(); + /*116*/ virtual void __unk_vfn_116(); + /*118*/ virtual void __unk_vfn_118(); + /*119*/ virtual void __unk_vfn_119(); + /*142*/ virtual void __unk_vfn_142(); + /*144*/ virtual unsigned char getMappedFace(unsigned char, class Block const &) const; + /*158*/ virtual void __unk_vfn_158(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ROTATEDPILLARBLOCK +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/RotationDescription.hpp b/LiteLoader/Header/MC/RotationDescription.hpp new file mode 100644 index 0000000..efe5696 --- /dev/null +++ b/LiteLoader/Header/MC/RotationDescription.hpp @@ -0,0 +1,30 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Json.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +struct RotationDescription { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ROTATIONDESCRIPTION +public: + struct RotationDescription& operator=(struct RotationDescription const &) = delete; + RotationDescription(struct RotationDescription const &) = delete; + RotationDescription() = delete; +#endif +public: + /*0*/ virtual char const * getJsonName() const; + /*1*/ virtual ~RotationDescription(); + /*2*/ virtual void deserializeData(class Json::Value &); + /*3*/ virtual void serializeData(class Json::Value &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ROTATIONDESCRIPTION +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/RotationUtil.hpp b/LiteLoader/Header/MC/RotationUtil.hpp new file mode 100644 index 0000000..9c8e597 --- /dev/null +++ b/LiteLoader/Header/MC/RotationUtil.hpp @@ -0,0 +1,19 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +namespace RotationUtil { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA + MCAPI enum Rotation getRotated(enum Rotation, enum Rotation); + MCAPI std::vector getShuffledRotations(class Random &); + MCAPI unsigned char rotate(enum Rotation, unsigned char); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/RuinedPortalFeature.hpp b/LiteLoader/Header/MC/RuinedPortalFeature.hpp new file mode 100644 index 0000000..3b6e434 --- /dev/null +++ b/LiteLoader/Header/MC/RuinedPortalFeature.hpp @@ -0,0 +1,31 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "StructureFeature.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class RuinedPortalFeature : public StructureFeature { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_RUINEDPORTALFEATURE +public: + class RuinedPortalFeature& operator=(class RuinedPortalFeature const &) = delete; + RuinedPortalFeature(class RuinedPortalFeature const &) = delete; + RuinedPortalFeature() = delete; +#endif + +public: + /*0*/ virtual ~RuinedPortalFeature(); + /*3*/ virtual bool getNearestGeneratedFeature(class Dimension &, class BiomeSource &, class BlockPos const &, class BlockPos &); + /*4*/ virtual bool isFeatureChunk(class BiomeSource const &, class Random &, class ChunkPos const &, unsigned int); + /*5*/ virtual std::unique_ptr createStructureStart(class Dimension &, class BiomeSource &, class Random &, class ChunkPos const &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_RUINEDPORTALFEATURE +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/RuinedPortalPiece.hpp b/LiteLoader/Header/MC/RuinedPortalPiece.hpp new file mode 100644 index 0000000..6dd45b0 --- /dev/null +++ b/LiteLoader/Header/MC/RuinedPortalPiece.hpp @@ -0,0 +1,45 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "StructurePiece.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class RuinedPortalPiece : public StructurePiece { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_RUINEDPORTALPIECE +public: + class RuinedPortalPiece& operator=(class RuinedPortalPiece const &) = delete; + RuinedPortalPiece(class RuinedPortalPiece const &) = delete; + RuinedPortalPiece() = delete; +#endif + +public: + /*0*/ virtual ~RuinedPortalPiece(); + /*3*/ virtual enum StructurePieceType getType() const; + /*5*/ virtual bool postProcess(class BlockSource &, class Random &, class BoundingBox const &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_RUINEDPORTALPIECE +#endif + +//private: + MCAPI void _addNetherrackDripColumn(class Random &, class BlockSource &, class BlockPos); + MCAPI void _maybeReplaceBlock(class Random &, class BlockSource &, class BlockPos); + MCAPI void _maybeReplaceFullStoneBlock(class Random &, class BlockSource &, class BlockPos, class Block const &); + MCAPI void _maybeReplaceGoldBlock(class Random &, class BlockSource &, class BlockPos); + MCAPI void _maybeReplaceStairs(class Random &, class BlockSource &, class BlockPos); + MCAPI void _moveStructureBoundsToSuitableY(class Random &, class BlockSource &); + MCAPI void _spreadNetherrack(class Random &, class BlockSource &); + MCAPI bool _threeCornersOnSolidGround(class BlockSource &); + MCAPI static class Block const & _getRandomFacingStairs(class Random &, class Block const &); + MCAPI static bool _isLava(class BlockSource &, class BlockPos); + MCAPI static void _setNetherrackOrMagma(class Random &, class BlockSource &, class BlockPos); + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/RuinedPortalStart.hpp b/LiteLoader/Header/MC/RuinedPortalStart.hpp new file mode 100644 index 0000000..ecdbbd7 --- /dev/null +++ b/LiteLoader/Header/MC/RuinedPortalStart.hpp @@ -0,0 +1,30 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "StructureStart.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class RuinedPortalStart : public StructureStart { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_RUINEDPORTALSTART +public: + class RuinedPortalStart& operator=(class RuinedPortalStart const &) = delete; + RuinedPortalStart(class RuinedPortalStart const &) = delete; + RuinedPortalStart() = delete; +#endif + +public: + /*0*/ virtual ~RuinedPortalStart(); + /*3*/ virtual enum StructureFeatureType getType() const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_RUINEDPORTALSTART +#endif + MCAPI RuinedPortalStart(class BiomeSource const &, int, int); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/RunAroundLikeCrazyGoal.hpp b/LiteLoader/Header/MC/RunAroundLikeCrazyGoal.hpp new file mode 100644 index 0000000..982b888 --- /dev/null +++ b/LiteLoader/Header/MC/RunAroundLikeCrazyGoal.hpp @@ -0,0 +1,34 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class RunAroundLikeCrazyGoal { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_RUNAROUNDLIKECRAZYGOAL +public: + class RunAroundLikeCrazyGoal& operator=(class RunAroundLikeCrazyGoal const &) = delete; + RunAroundLikeCrazyGoal(class RunAroundLikeCrazyGoal const &) = delete; + RunAroundLikeCrazyGoal() = delete; +#endif + +public: + /*0*/ virtual ~RunAroundLikeCrazyGoal(); + /*1*/ virtual bool canUse(); + /*2*/ virtual bool canContinueToUse(); + /*3*/ virtual void __unk_vfn_3(); + /*4*/ virtual void start(); + /*5*/ virtual void __unk_vfn_5(); + /*6*/ virtual void __unk_vfn_6(); + /*7*/ virtual void appendDebugInfo(std::string &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_RUNAROUNDLIKECRAZYGOAL +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/RuntimeIdentifierDescription.hpp b/LiteLoader/Header/MC/RuntimeIdentifierDescription.hpp new file mode 100644 index 0000000..03e84cd --- /dev/null +++ b/LiteLoader/Header/MC/RuntimeIdentifierDescription.hpp @@ -0,0 +1,27 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +struct RuntimeIdentifierDescription { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_RUNTIMEIDENTIFIERDESCRIPTION +public: + struct RuntimeIdentifierDescription& operator=(struct RuntimeIdentifierDescription const &) = delete; + RuntimeIdentifierDescription(struct RuntimeIdentifierDescription const &) = delete; + RuntimeIdentifierDescription() = delete; +#endif +public: + /*0*/ virtual ~RuntimeIdentifierDescription(); + /*1*/ virtual char const * getJsonName() const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_RUNTIMEIDENTIFIERDESCRIPTION +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/RuntimeLightingManager.hpp b/LiteLoader/Header/MC/RuntimeLightingManager.hpp new file mode 100644 index 0000000..727fc2f --- /dev/null +++ b/LiteLoader/Header/MC/RuntimeLightingManager.hpp @@ -0,0 +1,34 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class RuntimeLightingManager { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_RUNTIMELIGHTINGMANAGER +public: + class RuntimeLightingManager& operator=(class RuntimeLightingManager const &) = delete; + RuntimeLightingManager(class RuntimeLightingManager const &) = delete; + RuntimeLightingManager() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_RUNTIMELIGHTINGMANAGER +#endif + MCAPI void updateBlockLight(class BlockPos const &, struct Brightness, struct Brightness, struct Brightness, struct Brightness, bool); + +//private: + MCAPI void _checkForRelightingTask(class std::chrono::duration<__int64, struct std::ratio<1, 1000000000>>); + MCAPI void _relightChunks(class std::chrono::duration<__int64, struct std::ratio<1, 1000000000>>); + MCAPI void _removeProcessedSubchunks(); + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/SHChestCorridor.hpp b/LiteLoader/Header/MC/SHChestCorridor.hpp new file mode 100644 index 0000000..1e98c97 --- /dev/null +++ b/LiteLoader/Header/MC/SHChestCorridor.hpp @@ -0,0 +1,32 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "StructurePiece.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class SHChestCorridor : public StructurePiece { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SHCHESTCORRIDOR +public: + class SHChestCorridor& operator=(class SHChestCorridor const &) = delete; + SHChestCorridor(class SHChestCorridor const &) = delete; + SHChestCorridor() = delete; +#endif + +public: + /*0*/ virtual ~SHChestCorridor(); + /*3*/ virtual enum StructurePieceType getType() const; + /*4*/ virtual void addChildren(class StructurePiece &, std::vector> &, class Random &); + /*5*/ virtual bool postProcess(class BlockSource &, class Random &, class BoundingBox const &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SHCHESTCORRIDOR +#endif + MCAPI static std::unique_ptr createPiece(std::vector> &, class Random &, int, int, int, int, int); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/SHFillerCorridor.hpp b/LiteLoader/Header/MC/SHFillerCorridor.hpp new file mode 100644 index 0000000..f7d71e2 --- /dev/null +++ b/LiteLoader/Header/MC/SHFillerCorridor.hpp @@ -0,0 +1,32 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "StructurePiece.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class SHFillerCorridor : public StructurePiece { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SHFILLERCORRIDOR +public: + class SHFillerCorridor& operator=(class SHFillerCorridor const &) = delete; + SHFillerCorridor(class SHFillerCorridor const &) = delete; + SHFillerCorridor() = delete; +#endif + +public: + /*0*/ virtual ~SHFillerCorridor(); + /*3*/ virtual enum StructurePieceType getType() const; + /*4*/ virtual void addChildren(class StructurePiece &, std::vector> &, class Random &); + /*5*/ virtual bool postProcess(class BlockSource &, class Random &, class BoundingBox const &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SHFILLERCORRIDOR +#endif + MCAPI static class BoundingBox findPieceBox(std::vector> &, class Random &, int, int, int, int); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/SHFiveCrossing.hpp b/LiteLoader/Header/MC/SHFiveCrossing.hpp new file mode 100644 index 0000000..5cba3a9 --- /dev/null +++ b/LiteLoader/Header/MC/SHFiveCrossing.hpp @@ -0,0 +1,32 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "StructurePiece.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class SHFiveCrossing : public StructurePiece { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SHFIVECROSSING +public: + class SHFiveCrossing& operator=(class SHFiveCrossing const &) = delete; + SHFiveCrossing(class SHFiveCrossing const &) = delete; + SHFiveCrossing() = delete; +#endif + +public: + /*0*/ virtual ~SHFiveCrossing(); + /*3*/ virtual enum StructurePieceType getType() const; + /*4*/ virtual void addChildren(class StructurePiece &, std::vector> &, class Random &); + /*5*/ virtual bool postProcess(class BlockSource &, class Random &, class BoundingBox const &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SHFIVECROSSING +#endif + MCAPI static std::unique_ptr createPiece(std::vector> &, class Random &, int, int, int, int, int); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/SHLeftTurn.hpp b/LiteLoader/Header/MC/SHLeftTurn.hpp new file mode 100644 index 0000000..68f914e --- /dev/null +++ b/LiteLoader/Header/MC/SHLeftTurn.hpp @@ -0,0 +1,32 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "StructurePiece.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class SHLeftTurn : public StructurePiece { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SHLEFTTURN +public: + class SHLeftTurn& operator=(class SHLeftTurn const &) = delete; + SHLeftTurn(class SHLeftTurn const &) = delete; + SHLeftTurn() = delete; +#endif + +public: + /*0*/ virtual ~SHLeftTurn(); + /*3*/ virtual enum StructurePieceType getType() const; + /*4*/ virtual void addChildren(class StructurePiece &, std::vector> &, class Random &); + /*5*/ virtual bool postProcess(class BlockSource &, class Random &, class BoundingBox const &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SHLEFTTURN +#endif + MCAPI static std::unique_ptr createPiece(std::vector> &, class Random &, int, int, int, int, int); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/SHLibrary.hpp b/LiteLoader/Header/MC/SHLibrary.hpp new file mode 100644 index 0000000..67d5549 --- /dev/null +++ b/LiteLoader/Header/MC/SHLibrary.hpp @@ -0,0 +1,32 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "StructurePiece.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class SHLibrary : public StructurePiece { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SHLIBRARY +public: + class SHLibrary& operator=(class SHLibrary const &) = delete; + SHLibrary(class SHLibrary const &) = delete; + SHLibrary() = delete; +#endif + +public: + /*0*/ virtual ~SHLibrary(); + /*3*/ virtual enum StructurePieceType getType() const; + /*4*/ virtual void addChildren(class StructurePiece &, std::vector> &, class Random &); + /*5*/ virtual bool postProcess(class BlockSource &, class Random &, class BoundingBox const &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SHLIBRARY +#endif + MCAPI static std::unique_ptr createPiece(std::vector> &, class Random &, int, int, int, int, int); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/SHPortalRoom.hpp b/LiteLoader/Header/MC/SHPortalRoom.hpp new file mode 100644 index 0000000..97cf2b5 --- /dev/null +++ b/LiteLoader/Header/MC/SHPortalRoom.hpp @@ -0,0 +1,31 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "StructurePiece.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class SHPortalRoom : public StructurePiece { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SHPORTALROOM +public: + class SHPortalRoom& operator=(class SHPortalRoom const &) = delete; + SHPortalRoom(class SHPortalRoom const &) = delete; + SHPortalRoom() = delete; +#endif + +public: + /*0*/ virtual ~SHPortalRoom(); + /*3*/ virtual enum StructurePieceType getType() const; + /*4*/ virtual void addChildren(class StructurePiece &, std::vector> &, class Random &); + /*5*/ virtual bool postProcess(class BlockSource &, class Random &, class BoundingBox const &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SHPORTALROOM +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/SHPrisonHall.hpp b/LiteLoader/Header/MC/SHPrisonHall.hpp new file mode 100644 index 0000000..eb28e74 --- /dev/null +++ b/LiteLoader/Header/MC/SHPrisonHall.hpp @@ -0,0 +1,32 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "StructurePiece.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class SHPrisonHall : public StructurePiece { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SHPRISONHALL +public: + class SHPrisonHall& operator=(class SHPrisonHall const &) = delete; + SHPrisonHall(class SHPrisonHall const &) = delete; + SHPrisonHall() = delete; +#endif + +public: + /*0*/ virtual ~SHPrisonHall(); + /*3*/ virtual enum StructurePieceType getType() const; + /*4*/ virtual void addChildren(class StructurePiece &, std::vector> &, class Random &); + /*5*/ virtual bool postProcess(class BlockSource &, class Random &, class BoundingBox const &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SHPRISONHALL +#endif + MCAPI static std::unique_ptr createPiece(std::vector> &, class Random &, int, int, int, int, int); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/SHRightTurn.hpp b/LiteLoader/Header/MC/SHRightTurn.hpp new file mode 100644 index 0000000..38f40de --- /dev/null +++ b/LiteLoader/Header/MC/SHRightTurn.hpp @@ -0,0 +1,32 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "StructurePiece.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class SHRightTurn : public StructurePiece { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SHRIGHTTURN +public: + class SHRightTurn& operator=(class SHRightTurn const &) = delete; + SHRightTurn(class SHRightTurn const &) = delete; + SHRightTurn() = delete; +#endif + +public: + /*0*/ virtual ~SHRightTurn(); + /*3*/ virtual enum StructurePieceType getType() const; + /*4*/ virtual void addChildren(class StructurePiece &, std::vector> &, class Random &); + /*5*/ virtual bool postProcess(class BlockSource &, class Random &, class BoundingBox const &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SHRIGHTTURN +#endif + MCAPI static std::unique_ptr createPiece(std::vector> &, class Random &, int, int, int, int, int); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/SHRoomCrossing.hpp b/LiteLoader/Header/MC/SHRoomCrossing.hpp new file mode 100644 index 0000000..5e45ad3 --- /dev/null +++ b/LiteLoader/Header/MC/SHRoomCrossing.hpp @@ -0,0 +1,32 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "StructurePiece.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class SHRoomCrossing : public StructurePiece { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SHROOMCROSSING +public: + class SHRoomCrossing& operator=(class SHRoomCrossing const &) = delete; + SHRoomCrossing(class SHRoomCrossing const &) = delete; + SHRoomCrossing() = delete; +#endif + +public: + /*0*/ virtual ~SHRoomCrossing(); + /*3*/ virtual enum StructurePieceType getType() const; + /*4*/ virtual void addChildren(class StructurePiece &, std::vector> &, class Random &); + /*5*/ virtual bool postProcess(class BlockSource &, class Random &, class BoundingBox const &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SHROOMCROSSING +#endif + MCAPI static std::unique_ptr createPiece(std::vector> &, class Random &, int, int, int, int, int); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/SHStairsDown.hpp b/LiteLoader/Header/MC/SHStairsDown.hpp new file mode 100644 index 0000000..7a77a71 --- /dev/null +++ b/LiteLoader/Header/MC/SHStairsDown.hpp @@ -0,0 +1,32 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "StructurePiece.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class SHStairsDown : public StructurePiece { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SHSTAIRSDOWN +public: + class SHStairsDown& operator=(class SHStairsDown const &) = delete; + SHStairsDown(class SHStairsDown const &) = delete; + SHStairsDown() = delete; +#endif + +public: + /*0*/ virtual ~SHStairsDown(); + /*3*/ virtual enum StructurePieceType getType() const; + /*4*/ virtual void addChildren(class StructurePiece &, std::vector> &, class Random &); + /*5*/ virtual bool postProcess(class BlockSource &, class Random &, class BoundingBox const &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SHSTAIRSDOWN +#endif + MCAPI static std::unique_ptr createPiece(std::vector> &, class Random &, int, int, int, int, int); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/SHStartPiece.hpp b/LiteLoader/Header/MC/SHStartPiece.hpp new file mode 100644 index 0000000..599f208 --- /dev/null +++ b/LiteLoader/Header/MC/SHStartPiece.hpp @@ -0,0 +1,29 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "SHStairsDown.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class SHStartPiece : public SHStairsDown { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SHSTARTPIECE +public: + class SHStartPiece& operator=(class SHStartPiece const &) = delete; + SHStartPiece(class SHStartPiece const &) = delete; + SHStartPiece() = delete; +#endif + +public: + /*0*/ virtual ~SHStartPiece(); + /*3*/ virtual enum StructurePieceType getType() const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SHSTARTPIECE +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/SHStraight.hpp b/LiteLoader/Header/MC/SHStraight.hpp new file mode 100644 index 0000000..8d15c2f --- /dev/null +++ b/LiteLoader/Header/MC/SHStraight.hpp @@ -0,0 +1,32 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "StructurePiece.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class SHStraight : public StructurePiece { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SHSTRAIGHT +public: + class SHStraight& operator=(class SHStraight const &) = delete; + SHStraight(class SHStraight const &) = delete; + SHStraight() = delete; +#endif + +public: + /*0*/ virtual ~SHStraight(); + /*3*/ virtual enum StructurePieceType getType() const; + /*4*/ virtual void addChildren(class StructurePiece &, std::vector> &, class Random &); + /*5*/ virtual bool postProcess(class BlockSource &, class Random &, class BoundingBox const &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SHSTRAIGHT +#endif + MCAPI static std::unique_ptr createPiece(std::vector> &, class Random &, int, int, int, int, int); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/SHStraightStairsDown.hpp b/LiteLoader/Header/MC/SHStraightStairsDown.hpp new file mode 100644 index 0000000..b62cba1 --- /dev/null +++ b/LiteLoader/Header/MC/SHStraightStairsDown.hpp @@ -0,0 +1,32 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "StructurePiece.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class SHStraightStairsDown : public StructurePiece { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SHSTRAIGHTSTAIRSDOWN +public: + class SHStraightStairsDown& operator=(class SHStraightStairsDown const &) = delete; + SHStraightStairsDown(class SHStraightStairsDown const &) = delete; + SHStraightStairsDown() = delete; +#endif + +public: + /*0*/ virtual ~SHStraightStairsDown(); + /*3*/ virtual enum StructurePieceType getType() const; + /*4*/ virtual void addChildren(class StructurePiece &, std::vector> &, class Random &); + /*5*/ virtual bool postProcess(class BlockSource &, class Random &, class BoundingBox const &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SHSTRAIGHTSTAIRSDOWN +#endif + MCAPI static std::unique_ptr createPiece(std::vector> &, class Random &, int, int, int, int, int); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/Salmon.hpp b/LiteLoader/Header/MC/Salmon.hpp new file mode 100644 index 0000000..40305bd --- /dev/null +++ b/LiteLoader/Header/MC/Salmon.hpp @@ -0,0 +1,55 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Actor.hpp" +#include "Fish.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class Salmon : public Fish { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SALMON +public: + class Salmon& operator=(class Salmon const &) = delete; + Salmon(class Salmon const &) = delete; + Salmon() = delete; +#endif + +public: + /*7*/ virtual ~Salmon(); + /*30*/ virtual void __unk_vfn_30(); + /*54*/ virtual void __unk_vfn_54(); + /*61*/ virtual void __unk_vfn_61(); + /*76*/ virtual void __unk_vfn_76(); + /*81*/ virtual void __unk_vfn_81(); + /*82*/ virtual void playerTouch(class Player &); + /*88*/ virtual void __unk_vfn_88(); + /*90*/ virtual void __unk_vfn_90(); + /*98*/ virtual void __unk_vfn_98(); + /*100*/ virtual void __unk_vfn_100(); + /*121*/ virtual void __unk_vfn_121(); + /*169*/ virtual void __unk_vfn_169(); + /*182*/ virtual void __unk_vfn_182(); + /*206*/ virtual void __unk_vfn_206(); + /*207*/ virtual void __unk_vfn_207(); + /*228*/ virtual void __unk_vfn_228(); + /*231*/ virtual void __unk_vfn_231(); + /*238*/ virtual void __unk_vfn_238(); + /*246*/ virtual void __unk_vfn_246(); + /*257*/ virtual void __unk_vfn_257(); + /*290*/ virtual void __unk_vfn_290(); + /*300*/ virtual void __unk_vfn_300(); + /*324*/ virtual bool createAIGoals(); + /*332*/ virtual void __unk_vfn_332(); + /*348*/ virtual void __unk_vfn_348(); + /*349*/ virtual bool isDarkEnoughToSpawn() const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SALMON +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/SandBlock.hpp b/LiteLoader/Header/MC/SandBlock.hpp new file mode 100644 index 0000000..3c4d677 --- /dev/null +++ b/LiteLoader/Header/MC/SandBlock.hpp @@ -0,0 +1,75 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "BlockLegacy.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class SandBlock : public BlockLegacy { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SANDBLOCK +public: + class SandBlock& operator=(class SandBlock const &) = delete; + SandBlock(class SandBlock const &) = delete; + SandBlock() = delete; +#endif + +public: + /*0*/ virtual ~SandBlock(); + /*18*/ virtual void __unk_vfn_18(); + /*24*/ virtual void __unk_vfn_24(); + /*25*/ virtual void __unk_vfn_25(); + /*26*/ virtual void __unk_vfn_26(); + /*27*/ virtual void __unk_vfn_27(); + /*28*/ virtual void __unk_vfn_28(); + /*30*/ virtual void __unk_vfn_30(); + /*31*/ virtual void __unk_vfn_31(); + /*32*/ virtual void __unk_vfn_32(); + /*33*/ virtual void __unk_vfn_33(); + /*34*/ virtual void __unk_vfn_34(); + /*35*/ virtual void __unk_vfn_35(); + /*36*/ virtual void __unk_vfn_36(); + /*38*/ virtual void __unk_vfn_38(); + /*39*/ virtual void __unk_vfn_39(); + /*40*/ virtual void __unk_vfn_40(); + /*42*/ virtual void __unk_vfn_42(); + /*43*/ virtual void __unk_vfn_43(); + /*49*/ virtual void __unk_vfn_49(); + /*52*/ virtual void __unk_vfn_52(); + /*67*/ virtual void __unk_vfn_67(); + /*73*/ virtual void __unk_vfn_73(); + /*75*/ virtual bool onFertilized(class BlockSource &, class BlockPos const &, class Actor *, enum FertilizerType) const; + /*76*/ virtual bool mayConsumeFertilizer(class BlockSource &) const; + /*77*/ virtual bool canBeFertilized(class BlockSource &, class BlockPos const &, class Block const &) const; + /*87*/ virtual void __unk_vfn_87(); + /*88*/ virtual void neighborChanged(class BlockSource &, class BlockPos const &, class BlockPos const &) const; + /*91*/ virtual class ItemInstance getResourceItem(class Random &, class Block const &, int) const; + /*95*/ virtual void __unk_vfn_95(); + /*109*/ virtual void __unk_vfn_109(); + /*113*/ virtual class Color getMapColor(class BlockSource &, class BlockPos const &) const; + /*116*/ virtual void __unk_vfn_116(); + /*118*/ virtual void __unk_vfn_118(); + /*119*/ virtual void __unk_vfn_119(); + /*127*/ virtual std::string buildDescriptionId(class Block const &) const; + /*128*/ virtual bool isAuxValueRelevantForPicking() const; + /*141*/ virtual int getVariant(class Block const &) const; + /*142*/ virtual void __unk_vfn_142(); + /*158*/ virtual void __unk_vfn_158(); + /*159*/ virtual class ItemInstance getSilkTouchItemInstance(class Block const &) const; + /*164*/ virtual class Color getDustColor(class Block const &) const; + /*165*/ virtual std::string getDustParticleName(class Block const &) const; + /*166*/ virtual void __unk_vfn_166(); + /*167*/ virtual void __unk_vfn_167(); + /*168*/ virtual bool isFreeToFall(class BlockSource &, class BlockPos const &) const; + /*169*/ virtual void startFalling(class BlockSource &, class BlockPos const &, class Block const &, bool) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SANDBLOCK + MCVAPI bool canBeOriginalSurface() const; +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/SandFeature.hpp b/LiteLoader/Header/MC/SandFeature.hpp new file mode 100644 index 0000000..5730204 --- /dev/null +++ b/LiteLoader/Header/MC/SandFeature.hpp @@ -0,0 +1,29 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Feature.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class SandFeature : public Feature { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SANDFEATURE +public: + class SandFeature& operator=(class SandFeature const &) = delete; + SandFeature(class SandFeature const &) = delete; + SandFeature() = delete; +#endif + +public: + /*0*/ virtual ~SandFeature(); + /*1*/ virtual bool place(class BlockSource &, class BlockPos const &, class Random &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SANDFEATURE +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/SandStoneBlock.hpp b/LiteLoader/Header/MC/SandStoneBlock.hpp new file mode 100644 index 0000000..7b34e21 --- /dev/null +++ b/LiteLoader/Header/MC/SandStoneBlock.hpp @@ -0,0 +1,63 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "BlockLegacy.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class SandStoneBlock : public BlockLegacy { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SANDSTONEBLOCK +public: + class SandStoneBlock& operator=(class SandStoneBlock const &) = delete; + SandStoneBlock(class SandStoneBlock const &) = delete; + SandStoneBlock() = delete; +#endif + +public: + /*0*/ virtual ~SandStoneBlock(); + /*18*/ virtual void __unk_vfn_18(); + /*24*/ virtual void __unk_vfn_24(); + /*25*/ virtual void __unk_vfn_25(); + /*26*/ virtual void __unk_vfn_26(); + /*27*/ virtual void __unk_vfn_27(); + /*28*/ virtual void __unk_vfn_28(); + /*30*/ virtual void __unk_vfn_30(); + /*31*/ virtual void __unk_vfn_31(); + /*32*/ virtual void __unk_vfn_32(); + /*33*/ virtual void __unk_vfn_33(); + /*34*/ virtual void __unk_vfn_34(); + /*35*/ virtual void __unk_vfn_35(); + /*36*/ virtual void __unk_vfn_36(); + /*38*/ virtual void __unk_vfn_38(); + /*39*/ virtual void __unk_vfn_39(); + /*40*/ virtual void __unk_vfn_40(); + /*42*/ virtual void __unk_vfn_42(); + /*43*/ virtual void __unk_vfn_43(); + /*49*/ virtual void __unk_vfn_49(); + /*52*/ virtual void __unk_vfn_52(); + /*67*/ virtual void __unk_vfn_67(); + /*73*/ virtual void __unk_vfn_73(); + /*87*/ virtual void __unk_vfn_87(); + /*91*/ virtual class ItemInstance getResourceItem(class Random &, class Block const &, int) const; + /*95*/ virtual void __unk_vfn_95(); + /*109*/ virtual void __unk_vfn_109(); + /*116*/ virtual void __unk_vfn_116(); + /*118*/ virtual void __unk_vfn_118(); + /*119*/ virtual void __unk_vfn_119(); + /*127*/ virtual std::string buildDescriptionId(class Block const &) const; + /*128*/ virtual bool isAuxValueRelevantForPicking() const; + /*142*/ virtual void __unk_vfn_142(); + /*158*/ virtual void __unk_vfn_158(); + /*159*/ virtual class ItemInstance getSilkTouchItemInstance(class Block const &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SANDSTONEBLOCK + MCVAPI bool canBeOriginalSurface() const; +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/Sapling.hpp b/LiteLoader/Header/MC/Sapling.hpp new file mode 100644 index 0000000..052aa96 --- /dev/null +++ b/LiteLoader/Header/MC/Sapling.hpp @@ -0,0 +1,87 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "BushBlock.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class Sapling : public BushBlock { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SAPLING +public: + class Sapling& operator=(class Sapling const &) = delete; + Sapling(class Sapling const &) = delete; + Sapling() = delete; +#endif + +public: + /*0*/ virtual ~Sapling(); + /*1*/ virtual void tick(class BlockSource &, class BlockPos const &, class Random &) const; + /*18*/ virtual void __unk_vfn_18(); + /*24*/ virtual void __unk_vfn_24(); + /*25*/ virtual void __unk_vfn_25(); + /*26*/ virtual void __unk_vfn_26(); + /*27*/ virtual void __unk_vfn_27(); + /*28*/ virtual void __unk_vfn_28(); + /*30*/ virtual void __unk_vfn_30(); + /*31*/ virtual void __unk_vfn_31(); + /*32*/ virtual void __unk_vfn_32(); + /*33*/ virtual void __unk_vfn_33(); + /*34*/ virtual void __unk_vfn_34(); + /*35*/ virtual void __unk_vfn_35(); + /*36*/ virtual void __unk_vfn_36(); + /*38*/ virtual void __unk_vfn_38(); + /*39*/ virtual void __unk_vfn_39(); + /*40*/ virtual void __unk_vfn_40(); + /*42*/ virtual void __unk_vfn_42(); + /*43*/ virtual void __unk_vfn_43(); + /*49*/ virtual void __unk_vfn_49(); + /*50*/ virtual bool canContainLiquid() const; + /*52*/ virtual void __unk_vfn_52(); + /*67*/ virtual void __unk_vfn_67(); + /*73*/ virtual void __unk_vfn_73(); + /*75*/ virtual bool onFertilized(class BlockSource &, class BlockPos const &, class Actor *, enum FertilizerType) const; + /*77*/ virtual bool canBeFertilized(class BlockSource &, class BlockPos const &, class Block const &) const; + /*81*/ virtual bool mayPlace(class BlockSource &, class BlockPos const &) const; + /*87*/ virtual void __unk_vfn_87(); + /*91*/ virtual class ItemInstance getResourceItem(class Random &, class Block const &, int) const; + /*95*/ virtual void __unk_vfn_95(); + /*109*/ virtual void __unk_vfn_109(); + /*116*/ virtual void __unk_vfn_116(); + /*118*/ virtual void __unk_vfn_118(); + /*119*/ virtual void __unk_vfn_119(); + /*125*/ virtual enum BlockRenderLayer getRenderLayer() const; + /*126*/ virtual enum BlockRenderLayer getRenderLayer(class Block const &, class BlockSource &, class BlockPos const &) const; + /*127*/ virtual std::string buildDescriptionId(class Block const &) const; + /*128*/ virtual bool isAuxValueRelevantForPicking() const; + /*141*/ virtual int getVariant(class Block const &) const; + /*142*/ virtual void __unk_vfn_142(); + /*158*/ virtual void __unk_vfn_158(); + /*159*/ virtual class ItemInstance getSilkTouchItemInstance(class Block const &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SAPLING +#endif + MCAPI Sapling(std::string const &, int); + +//protected: + MCAPI bool advanceTree(class BlockSource &, class BlockPos const &, class Random &, class Actor *) const; + +//private: + MCAPI class WeakRefT _generateJungleTree(int &, int &, bool &, class BlockPos const &, class BlockSource &, class FeatureRegistry const &) const; + MCAPI class WeakRefT _generateOakTree(class FeatureRegistry const &, class BlockPos const &, class BlockSource &, class Random &, bool) const; + MCAPI class WeakRefT _generateRedwoodTree(int &, int &, bool &, class BlockPos const &, class BlockSource &, class FeatureRegistry const &) const; + MCAPI class WeakRefT _generateRoofTree(int &, int &, bool &, class BlockPos const &, class BlockSource &, class FeatureRegistry const &) const; + MCAPI bool _growTree(class BlockSource &, class BlockPos const &, class Random &, bool) const; + MCAPI bool _isNearFlowerBlock(class BlockSource &, class BlockPos const &) const; + MCAPI void _setBlockNoUpdate(class BlockSource &, class BlockPos const &, bool, int, int, class Block const &) const; + +protected: + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/SaplingBlockItem.hpp b/LiteLoader/Header/MC/SaplingBlockItem.hpp new file mode 100644 index 0000000..468169e --- /dev/null +++ b/LiteLoader/Header/MC/SaplingBlockItem.hpp @@ -0,0 +1,46 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "BlockItem.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class SaplingBlockItem : public BlockItem { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SAPLINGBLOCKITEM +public: + class SaplingBlockItem& operator=(class SaplingBlockItem const &) = delete; + SaplingBlockItem(class SaplingBlockItem const &) = delete; + SaplingBlockItem() = delete; +#endif + +public: + /*0*/ virtual ~SaplingBlockItem(); + /*5*/ virtual void __unk_vfn_5(); + /*21*/ virtual int getLevelDataForAuxValue(int) const; + /*26*/ virtual void __unk_vfn_26(); + /*27*/ virtual void __unk_vfn_27(); + /*31*/ virtual void __unk_vfn_31(); + /*32*/ virtual void __unk_vfn_32(); + /*34*/ virtual void __unk_vfn_34(); + /*37*/ virtual void __unk_vfn_37(); + /*43*/ virtual void __unk_vfn_43(); + /*46*/ virtual void __unk_vfn_46(); + /*47*/ virtual void __unk_vfn_47(); + /*49*/ virtual void __unk_vfn_49(); + /*50*/ virtual void __unk_vfn_50(); + /*65*/ virtual std::string buildDescriptionId(class ItemDescriptor const &, class CompoundTag const *) const; + /*79*/ virtual void __unk_vfn_79(); + /*80*/ virtual void __unk_vfn_80(); + /*90*/ virtual void __unk_vfn_90(); + /*97*/ virtual void __unk_vfn_97(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SAPLINGBLOCKITEM +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/SaveCommand.hpp b/LiteLoader/Header/MC/SaveCommand.hpp new file mode 100644 index 0000000..8693bbf --- /dev/null +++ b/LiteLoader/Header/MC/SaveCommand.hpp @@ -0,0 +1,40 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Command.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class SaveCommand : public Command { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SAVECOMMAND +public: + class SaveCommand& operator=(class SaveCommand const &) = delete; + SaveCommand(class SaveCommand const &) = delete; + SaveCommand() = delete; +#endif + +public: + /*0*/ virtual ~SaveCommand(); + /*1*/ virtual void execute(class CommandOrigin const &, class CommandOutput &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SAVECOMMAND +#endif + MCAPI static void setup(class CommandRegistry &); + +//private: + MCAPI static void saveHold(class CommandOutput &); + MCAPI static void saveResume(class CommandOutput &); + MCAPI static void saveState(class CommandOutput &); + +private: + MCAPI static std::vector mSaveAllFileList; + MCAPI static class std::mutex mSaveAllMutex; + MCAPI static enum SaveCommand::State mState; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/SaveTransactionManager.hpp b/LiteLoader/Header/MC/SaveTransactionManager.hpp new file mode 100644 index 0000000..084d21b --- /dev/null +++ b/LiteLoader/Header/MC/SaveTransactionManager.hpp @@ -0,0 +1,32 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class SaveTransactionManager { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SAVETRANSACTIONMANAGER +public: + class SaveTransactionManager& operator=(class SaveTransactionManager const &) = delete; + SaveTransactionManager(class SaveTransactionManager const &) = delete; + SaveTransactionManager() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SAVETRANSACTIONMANAGER +#endif + +//private: + MCAPI void _hideGlobalSaveIcon(); + MCAPI void _showGlobalSaveIcon(); + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/SavedData.hpp b/LiteLoader/Header/MC/SavedData.hpp new file mode 100644 index 0000000..9ad9a7f --- /dev/null +++ b/LiteLoader/Header/MC/SavedData.hpp @@ -0,0 +1,26 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class SavedData { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SAVEDDATA +public: + class SavedData& operator=(class SavedData const &) = delete; + SavedData(class SavedData const &) = delete; + SavedData() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SAVEDDATA +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/SavedDataStorage.hpp b/LiteLoader/Header/MC/SavedDataStorage.hpp new file mode 100644 index 0000000..270ec0c --- /dev/null +++ b/LiteLoader/Header/MC/SavedDataStorage.hpp @@ -0,0 +1,32 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class SavedDataStorage { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SAVEDDATASTORAGE +public: + class SavedDataStorage& operator=(class SavedDataStorage const &) = delete; + SavedDataStorage(class SavedDataStorage const &) = delete; + SavedDataStorage() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SAVEDDATASTORAGE +#endif + MCAPI bool loadAndSet(class SavedData &, std::string const &); + +//private: + MCAPI void _save(class SavedData const &); + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/SayCommand.hpp b/LiteLoader/Header/MC/SayCommand.hpp new file mode 100644 index 0000000..31c1fee --- /dev/null +++ b/LiteLoader/Header/MC/SayCommand.hpp @@ -0,0 +1,30 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Command.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class SayCommand : public Command { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SAYCOMMAND +public: + class SayCommand& operator=(class SayCommand const &) = delete; + SayCommand(class SayCommand const &) = delete; + SayCommand() = delete; +#endif + +public: + /*0*/ virtual ~SayCommand(); + /*1*/ virtual void execute(class CommandOrigin const &, class CommandOutput &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SAYCOMMAND +#endif + MCAPI static void setup(class CommandRegistry &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ScaffoldingBlock.hpp b/LiteLoader/Header/MC/ScaffoldingBlock.hpp new file mode 100644 index 0000000..4e57831 --- /dev/null +++ b/LiteLoader/Header/MC/ScaffoldingBlock.hpp @@ -0,0 +1,91 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "BlockLegacy.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ScaffoldingBlock : public BlockLegacy { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SCAFFOLDINGBLOCK +public: + class ScaffoldingBlock& operator=(class ScaffoldingBlock const &) = delete; + ScaffoldingBlock(class ScaffoldingBlock const &) = delete; + ScaffoldingBlock() = delete; +#endif + +public: + /*0*/ virtual ~ScaffoldingBlock(); + /*1*/ virtual void tick(class BlockSource &, class BlockPos const &, class Random &) const; + /*5*/ virtual bool getCollisionShape(class AABB &, class Block const &, class BlockSource &, class BlockPos const &, class Actor *) const; + /*10*/ virtual class AABB const & getAABB(class BlockSource &, class BlockPos const &, class Block const &, class AABB &, bool) const; + /*18*/ virtual void __unk_vfn_18(); + /*24*/ virtual void __unk_vfn_24(); + /*25*/ virtual void __unk_vfn_25(); + /*26*/ virtual void __unk_vfn_26(); + /*27*/ virtual void __unk_vfn_27(); + /*28*/ virtual void __unk_vfn_28(); + /*29*/ virtual bool isWaterBlocking() const; + /*30*/ virtual void __unk_vfn_30(); + /*31*/ virtual void __unk_vfn_31(); + /*32*/ virtual void __unk_vfn_32(); + /*33*/ virtual void __unk_vfn_33(); + /*34*/ virtual void __unk_vfn_34(); + /*35*/ virtual void __unk_vfn_35(); + /*36*/ virtual void __unk_vfn_36(); + /*38*/ virtual void __unk_vfn_38(); + /*39*/ virtual void __unk_vfn_39(); + /*40*/ virtual void __unk_vfn_40(); + /*42*/ virtual void __unk_vfn_42(); + /*43*/ virtual void __unk_vfn_43(); + /*49*/ virtual void __unk_vfn_49(); + /*50*/ virtual bool canContainLiquid() const; + /*52*/ virtual void __unk_vfn_52(); + /*56*/ virtual bool checkIsPathable(class Actor &, class BlockPos const &, class BlockPos const &) const; + /*59*/ virtual void onPlace(class BlockSource &, class BlockPos const &) const; + /*67*/ virtual void __unk_vfn_67(); + /*73*/ virtual void __unk_vfn_73(); + /*81*/ virtual bool mayPlace(class BlockSource &, class BlockPos const &) const; + /*84*/ virtual bool breaksFallingBlocks(class Block const &) const; + /*87*/ virtual void __unk_vfn_87(); + /*88*/ virtual void neighborChanged(class BlockSource &, class BlockPos const &, class BlockPos const &) const; + /*95*/ virtual void __unk_vfn_95(); + /*97*/ virtual class HitResult clip(class BlockSource &, class BlockPos const &, class Vec3 const &, class Vec3 const &, bool) const; + /*99*/ virtual class Block const & getPlacementBlock(class Actor &, class BlockPos const &, unsigned char, class Vec3 const &, int) const; + /*109*/ virtual void __unk_vfn_109(); + /*116*/ virtual void __unk_vfn_116(); + /*118*/ virtual void __unk_vfn_118(); + /*119*/ virtual void __unk_vfn_119(); + /*121*/ virtual bool canSlide(class BlockSource &, class BlockPos const &) const; + /*142*/ virtual void __unk_vfn_142(); + /*146*/ virtual void animateTick(class BlockSource &, class BlockPos const &, class Random &) const; + /*158*/ virtual void __unk_vfn_158(); + /*164*/ virtual class Color getDustColor(class Block const &) const; + /*165*/ virtual std::string getDustParticleName(class Block const &) const; + /*166*/ virtual void __unk_vfn_166(); + /*167*/ virtual void __unk_vfn_167(); + /*168*/ virtual bool isFreeToFall(class BlockSource &, class BlockPos const &) const; + /*169*/ virtual void startFalling(class BlockSource &, class BlockPos const &, class Block const &, bool) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SCAFFOLDINGBLOCK + MCVAPI bool waterSpreadCausesSpawn() const; +#endif + MCAPI static int const MAX_STABILITY; + +//protected: + MCAPI int calculateStability(class BlockSource const &, class BlockPos const &) const; + +//private: + MCAPI bool _isAboveSupportingBlock(class BlockSource const &, class BlockPos const &) const; + MCAPI bool _updateBlockStability(class BlockSource &, class BlockPos const &) const; + +protected: + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ScaffoldingBlockItem.hpp b/LiteLoader/Header/MC/ScaffoldingBlockItem.hpp new file mode 100644 index 0000000..838373e --- /dev/null +++ b/LiteLoader/Header/MC/ScaffoldingBlockItem.hpp @@ -0,0 +1,45 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "BlockItem.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ScaffoldingBlockItem : public BlockItem { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SCAFFOLDINGBLOCKITEM +public: + class ScaffoldingBlockItem& operator=(class ScaffoldingBlockItem const &) = delete; + ScaffoldingBlockItem(class ScaffoldingBlockItem const &) = delete; + ScaffoldingBlockItem() = delete; +#endif + +public: + /*0*/ virtual ~ScaffoldingBlockItem(); + /*5*/ virtual void __unk_vfn_5(); + /*26*/ virtual void __unk_vfn_26(); + /*27*/ virtual void __unk_vfn_27(); + /*31*/ virtual void __unk_vfn_31(); + /*32*/ virtual void __unk_vfn_32(); + /*34*/ virtual void __unk_vfn_34(); + /*37*/ virtual void __unk_vfn_37(); + /*43*/ virtual void __unk_vfn_43(); + /*46*/ virtual void __unk_vfn_46(); + /*47*/ virtual void __unk_vfn_47(); + /*49*/ virtual void __unk_vfn_49(); + /*50*/ virtual void __unk_vfn_50(); + /*79*/ virtual void __unk_vfn_79(); + /*80*/ virtual void __unk_vfn_80(); + /*90*/ virtual void __unk_vfn_90(); + /*97*/ virtual void __unk_vfn_97(); + /*99*/ virtual bool _useOn(class ItemStack &, class Actor &, class BlockPos, unsigned char, float, float, float) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SCAFFOLDINGBLOCKITEM +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ScaffoldingClimberComponent.hpp b/LiteLoader/Header/MC/ScaffoldingClimberComponent.hpp new file mode 100644 index 0000000..a286d6e --- /dev/null +++ b/LiteLoader/Header/MC/ScaffoldingClimberComponent.hpp @@ -0,0 +1,27 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ScaffoldingClimberComponent { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SCAFFOLDINGCLIMBERCOMPONENT +public: + class ScaffoldingClimberComponent& operator=(class ScaffoldingClimberComponent const &) = delete; + ScaffoldingClimberComponent(class ScaffoldingClimberComponent const &) = delete; + ScaffoldingClimberComponent() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SCAFFOLDINGCLIMBERCOMPONENT +#endif + MCAPI bool isScaffoldingAtHeight(class Actor &, class AABB const &, int); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ScaffoldingClimberSystem.hpp b/LiteLoader/Header/MC/ScaffoldingClimberSystem.hpp new file mode 100644 index 0000000..21ae550 --- /dev/null +++ b/LiteLoader/Header/MC/ScaffoldingClimberSystem.hpp @@ -0,0 +1,28 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ScaffoldingClimberSystem { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SCAFFOLDINGCLIMBERSYSTEM +public: + class ScaffoldingClimberSystem& operator=(class ScaffoldingClimberSystem const &) = delete; + ScaffoldingClimberSystem(class ScaffoldingClimberSystem const &) = delete; + ScaffoldingClimberSystem() = delete; +#endif + +public: + /*0*/ virtual ~ScaffoldingClimberSystem(); + /*1*/ virtual void tick(class EntityRegistry &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SCAFFOLDINGCLIMBERSYSTEM +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ScaleByAgeComponent.hpp b/LiteLoader/Header/MC/ScaleByAgeComponent.hpp new file mode 100644 index 0000000..33eecc1 --- /dev/null +++ b/LiteLoader/Header/MC/ScaleByAgeComponent.hpp @@ -0,0 +1,27 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ScaleByAgeComponent { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SCALEBYAGECOMPONENT +public: + class ScaleByAgeComponent& operator=(class ScaleByAgeComponent const &) = delete; + ScaleByAgeComponent(class ScaleByAgeComponent const &) = delete; + ScaleByAgeComponent() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SCALEBYAGECOMPONENT +#endif + MCAPI void _initializeScale(class EntityContext &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ScaleByAgeSystem.hpp b/LiteLoader/Header/MC/ScaleByAgeSystem.hpp new file mode 100644 index 0000000..577b8ea --- /dev/null +++ b/LiteLoader/Header/MC/ScaleByAgeSystem.hpp @@ -0,0 +1,28 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ScaleByAgeSystem { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SCALEBYAGESYSTEM +public: + class ScaleByAgeSystem& operator=(class ScaleByAgeSystem const &) = delete; + ScaleByAgeSystem(class ScaleByAgeSystem const &) = delete; + ScaleByAgeSystem() = delete; +#endif + +public: + /*0*/ virtual ~ScaleByAgeSystem(); + /*1*/ virtual void tick(class EntityRegistry &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SCALEBYAGESYSTEM +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ScaleDescription.hpp b/LiteLoader/Header/MC/ScaleDescription.hpp new file mode 100644 index 0000000..2f5895a --- /dev/null +++ b/LiteLoader/Header/MC/ScaleDescription.hpp @@ -0,0 +1,30 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Json.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +struct ScaleDescription { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SCALEDESCRIPTION +public: + struct ScaleDescription& operator=(struct ScaleDescription const &) = delete; + ScaleDescription(struct ScaleDescription const &) = delete; + ScaleDescription() = delete; +#endif +public: + /*0*/ virtual char const * getJsonName() const; + /*1*/ virtual ~ScaleDescription(); + /*2*/ virtual void deserializeData(class Json::Value &); + /*3*/ virtual void serializeData(class Json::Value &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SCALEDESCRIPTION +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ScaredGoal.hpp b/LiteLoader/Header/MC/ScaredGoal.hpp new file mode 100644 index 0000000..d14b3ae --- /dev/null +++ b/LiteLoader/Header/MC/ScaredGoal.hpp @@ -0,0 +1,34 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ScaredGoal { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SCAREDGOAL +public: + class ScaredGoal& operator=(class ScaredGoal const &) = delete; + ScaredGoal(class ScaredGoal const &) = delete; + ScaredGoal() = delete; +#endif + +public: + /*0*/ virtual ~ScaredGoal(); + /*1*/ virtual bool canUse(); + /*2*/ virtual bool canContinueToUse(); + /*3*/ virtual void __unk_vfn_3(); + /*4*/ virtual void start(); + /*5*/ virtual void stop(); + /*6*/ virtual void tick(); + /*7*/ virtual void appendDebugInfo(std::string &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SCAREDGOAL +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ScatterFeature.hpp b/LiteLoader/Header/MC/ScatterFeature.hpp new file mode 100644 index 0000000..6b1f8b6 --- /dev/null +++ b/LiteLoader/Header/MC/ScatterFeature.hpp @@ -0,0 +1,28 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ScatterFeature { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SCATTERFEATURE +public: + class ScatterFeature& operator=(class ScatterFeature const &) = delete; + ScatterFeature(class ScatterFeature const &) = delete; + ScatterFeature() = delete; +#endif + +public: + /*0*/ virtual ~ScatterFeature(); + /*1*/ virtual class std::optional place(class IBlockPlacementTarget &, class BlockPos const &, class Random &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SCATTERFEATURE +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ScatterParams.hpp b/LiteLoader/Header/MC/ScatterParams.hpp new file mode 100644 index 0000000..bfc6f9b --- /dev/null +++ b/LiteLoader/Header/MC/ScatterParams.hpp @@ -0,0 +1,34 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ScatterParams { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SCATTERPARAMS +public: + class ScatterParams& operator=(class ScatterParams const &) = delete; + ScatterParams(class ScatterParams const &) = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SCATTERPARAMS +#endif + MCAPI ScatterParams(); + MCAPI class ScatterParams::ScatteredPositions scatter(class RenderParams &, class BlockPos const &, class Random &) const; + MCAPI ~ScatterParams(); + MCAPI static void initMolangParams(class RenderParams &, class BlockPos const &, class Random &); + +//private: + MCAPI class BlockPos _getPos(unsigned int, class BlockPos const &, class Random &, class RenderParams &) const; + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ScatteredFeaturePiece.hpp b/LiteLoader/Header/MC/ScatteredFeaturePiece.hpp new file mode 100644 index 0000000..5795f0e --- /dev/null +++ b/LiteLoader/Header/MC/ScatteredFeaturePiece.hpp @@ -0,0 +1,32 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ScatteredFeaturePiece { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SCATTEREDFEATUREPIECE +public: + class ScatteredFeaturePiece& operator=(class ScatteredFeaturePiece const &) = delete; + ScatteredFeaturePiece(class ScatteredFeaturePiece const &) = delete; + ScatteredFeaturePiece() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SCATTEREDFEATUREPIECE + MCVAPI ~ScatteredFeaturePiece(); +#endif + +//protected: + MCAPI bool updateAverageGroundHeight(class BlockSource &, class BoundingBox const &, int); + +protected: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ScatteredFeatureStart.hpp b/LiteLoader/Header/MC/ScatteredFeatureStart.hpp new file mode 100644 index 0000000..e9c6332 --- /dev/null +++ b/LiteLoader/Header/MC/ScatteredFeatureStart.hpp @@ -0,0 +1,30 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "StructureStart.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ScatteredFeatureStart : public StructureStart { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SCATTEREDFEATURESTART +public: + class ScatteredFeatureStart& operator=(class ScatteredFeatureStart const &) = delete; + ScatteredFeatureStart(class ScatteredFeatureStart const &) = delete; + ScatteredFeatureStart() = delete; +#endif + +public: + /*0*/ virtual ~ScatteredFeatureStart(); + /*3*/ virtual enum StructureFeatureType getType() const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SCATTEREDFEATURESTART +#endif + MCAPI ScatteredFeatureStart(class BiomeSource &, int, int); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/Scheduler.hpp b/LiteLoader/Header/MC/Scheduler.hpp new file mode 100644 index 0000000..476af65 --- /dev/null +++ b/LiteLoader/Header/MC/Scheduler.hpp @@ -0,0 +1,29 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class Scheduler { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SCHEDULER +public: + class Scheduler& operator=(class Scheduler const &) = delete; + Scheduler(class Scheduler const &) = delete; + Scheduler() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SCHEDULER +#endif + MCAPI Scheduler(std::string, unsigned int); + MCAPI void processCoroutines(class std::chrono::duration<__int64, struct std::ratio<1, 1000000000>>, class std::chrono::duration<__int64, struct std::ratio<1, 1000000000>>); + MCAPI void setTargetFPS(unsigned int); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/SchedulerDefinition.hpp b/LiteLoader/Header/MC/SchedulerDefinition.hpp new file mode 100644 index 0000000..12c372a --- /dev/null +++ b/LiteLoader/Header/MC/SchedulerDefinition.hpp @@ -0,0 +1,30 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "JsonUtil.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class SchedulerDefinition { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SCHEDULERDEFINITION +public: + class SchedulerDefinition& operator=(class SchedulerDefinition const &) = delete; + SchedulerDefinition(class SchedulerDefinition const &) = delete; + SchedulerDefinition() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SCHEDULERDEFINITION +#endif + MCAPI void setMaxDelayTicks(float const &); + MCAPI void setMinDelayTicks(float const &); + MCAPI static void buildSchema(class std::shared_ptr> &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/SchedulerSystem.hpp b/LiteLoader/Header/MC/SchedulerSystem.hpp new file mode 100644 index 0000000..d77e08c --- /dev/null +++ b/LiteLoader/Header/MC/SchedulerSystem.hpp @@ -0,0 +1,28 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class SchedulerSystem { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SCHEDULERSYSTEM +public: + class SchedulerSystem& operator=(class SchedulerSystem const &) = delete; + SchedulerSystem(class SchedulerSystem const &) = delete; + SchedulerSystem() = delete; +#endif + +public: + /*0*/ virtual ~SchedulerSystem(); + /*1*/ virtual void tick(class EntityRegistry &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SCHEDULERSYSTEM +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ScorePacketInfo.hpp b/LiteLoader/Header/MC/ScorePacketInfo.hpp new file mode 100644 index 0000000..22d3037 --- /dev/null +++ b/LiteLoader/Header/MC/ScorePacketInfo.hpp @@ -0,0 +1,26 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +struct ScorePacketInfo { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SCOREPACKETINFO +public: + struct ScorePacketInfo& operator=(struct ScorePacketInfo const &) = delete; + ScorePacketInfo() = delete; +#endif +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SCOREPACKETINFO +#endif + MCAPI ScorePacketInfo(struct ScorePacketInfo const &); + MCAPI ~ScorePacketInfo(); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/Scoreboard.hpp b/LiteLoader/Header/MC/Scoreboard.hpp new file mode 100644 index 0000000..964465b --- /dev/null +++ b/LiteLoader/Header/MC/Scoreboard.hpp @@ -0,0 +1,202 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA +// Add include headers & pre-declares +class Player; +class Objective; +struct PlayerScore; + +struct ScoreInfo { + Objective* mObjective; + bool mValid; + int mValue; + + Objective* getObjective() { + return mObjective; + } + int getCount() { + return mValue; + } +}; +#undef BEFORE_EXTRA + +class Scoreboard { + +#define AFTER_EXTRA +// Add new members to class +#define ENABLE_VIRTUAL_FAKESYMBOL_SCOREBOARD +public: + + LIAPI static Objective* newObjective(const std::string& objname, const std::string& displayName); + //LIAPI static bool setDisplayObjective(const std::string& objname, const std::string& slot, int sort); + //LIAPI static Objective* clearDisplayObjective(const std::string& slot); + //LIAPI static Objective* getDisplayObjective(const std::string& slot); + LIAPI static bool removeFromObjective(const std::string& objname, const std::string& id); + LIAPI static bool removeFromObjective(const std::string& objname, Player* player); + + LIAPI static struct ScoreboardId& getOrCreateScoreboardId(std::string const& id); + + /** + * Get the score of the id in the specified objective. + * + * @param objname Objective name + * @param id ScoreboardId name(string) + * @return int The score + * @throws std::invalid_argument if the objective is not found + * std::runtime_error if cannot get or create id/cannot get scores + * @note If there is not a ScoreboardId named `id`, it will create a new one + */ + LIAPI static int getScore(const std::string& objname, const std::string& id); + /** + * Get the score of the id in the specified objective. + * + * @param objname Objective name + * @param id ScoreboardId name(string) + * @param[out] score The score + * @return bool Success or not + * @note If there is not a ScoreboardId named `id`, it will create a new one + */ + LIAPI static bool getScore(const std::string& objname, const std::string& id, int& score); + LIAPI static std::optional setScore(const std::string& objname, const std::string& id, int score); + LIAPI static std::optional addScore(const std::string& objname, const std::string& id, int score); + LIAPI static std::optional reduceScore(const std::string& objname, const std::string& id, int score); + + /** + * Get the score of the player in the specified objective. + * + * @param objname Objective name + * @param player The player + * @return int The score + * @throws std::invalid_argument if the objective is not found + * std::runtime_error if cannot get or create id/cannot get scores + */ + LIAPI static int getScore(const std::string& objname, Player* player); + LIAPI static int getScore(Player* player, const std::string& objname); + /** + * Get the score of the player in the specified objective. + * + * @param objname Objective name + * @param player The player + * @param[out] score The score + * @return bool Success or not + */ + LIAPI static bool getScore(const std::string& objname, Player* player, int& score); + /** + * Set the score of the player in the specified objective. + * + * @param objname Objective name + * @param player The player + * @param value The score value to set + * @return bool Success or not + */ + LIAPI static bool setScore(const std::string& objname, Player* player, int value); + LIAPI static bool setScore(Player* player, const std::string& objname, int value); + /** + * Add the score of the player in the specified objective. + * + * @param objname Objective name + * @param player The player + * @param value The score value to add + * @return bool Success or not + */ + LIAPI static bool addScore(const std::string& objname, Player* player, int value); + LIAPI static bool addScore(Player* player, const std::string& objname, int value); + /** + * Reduce the score of the player in the specified objective. + * + * @param objname Objective name + * @param player The player + * @param value The score value to reduce + * @return bool Success or not + */ + LIAPI static bool reduceScore(const std::string& objname, Player* player, int value); + LIAPI static bool reduceScore(Player* player, const std::string& objname, int value); + /** + * Delete the score of the player from the specified objective. + * + * @param objname Objective name + * @param player The player + * @return bool Success or not + */ + LIAPI static bool deleteScore(const std::string& objname, Player* player); + LIAPI static bool deleteScore(Player* player, const std::string& objname); + + LIAPI static bool scoreboardIdIsValid(ScoreboardId* id); +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SCOREBOARD +public: + class Scoreboard& operator=(class Scoreboard const &) = delete; + Scoreboard(class Scoreboard const &) = delete; + Scoreboard() = delete; +#endif + +public: + /*0*/ virtual ~Scoreboard(); + /*1*/ virtual class DisplayObjective const * setDisplayObjective(std::string const &, class Objective const &, enum ObjectiveSortOrder); + /*2*/ virtual class Objective * clearDisplayObjective(std::string const &); + /*3*/ virtual void __unk_vfn_3(); + /*4*/ virtual void __unk_vfn_4(); + /*5*/ virtual void __unk_vfn_5(); + /*6*/ virtual void __unk_vfn_6(); + /*7*/ virtual void onObjectiveRemoved(class Objective &); + /*8*/ virtual void __unk_vfn_8(); + /*9*/ virtual void __unk_vfn_9(); + /*10*/ virtual void __unk_vfn_10(); + /*11*/ virtual void __unk_vfn_11(); + /*12*/ virtual void __unk_vfn_12(); + /*13*/ virtual void __unk_vfn_13(); + /*14*/ virtual void __unk_vfn_14(); + /*15*/ virtual bool isClientSide() const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SCOREBOARD + MCVAPI struct ScoreboardId const & createScoreboardId(class Actor const &); + MCVAPI struct ScoreboardId const & createScoreboardId(std::string const &); + MCVAPI struct ScoreboardId const & createScoreboardId(class Player const &); + MCVAPI void onObjectiveAdded(class Objective const &); + MCVAPI void onPlayerIdentityUpdated(struct PlayerScoreboardId const &); + MCVAPI void onPlayerJoined(class Player const &); + MCVAPI void onPlayerScoreRemoved(struct ScoreboardId const &, class Objective const &); + MCVAPI void onScoreChanged(struct ScoreboardId const &, class Objective const &); + MCVAPI void setPacketSender(class PacketSender *); + MCVAPI void tick(); + MCVAPI void writeToLevelStorage(); +#endif + MCAPI Scoreboard(class CommandSoftEnumRegistry); + MCAPI class Objective * addObjective(std::string const &, std::string const &, class ObjectiveCriteria const &); + MCAPI int applyPlayerOperation(bool &, std::vector &, struct ScoreboardId const &, class Objective &, std::vector &, class Objective &, enum CommandOperator); + MCAPI class ObjectiveCriteria * getCriteria(std::string const &) const; + MCAPI std::vector getDisplayInfoFiltered(std::string const &) const; + MCAPI class DisplayObjective const * getDisplayObjective(std::string const &) const; + MCAPI std::vector getDisplayObjectiveSlotNames() const; + MCAPI std::vector getIdScores(struct ScoreboardId const &) const; + MCAPI class Objective * getObjective(std::string const &) const; + MCAPI std::vector getObjectiveNames() const; + MCAPI std::vector getObjectives() const; + MCAPI struct ScoreboardId const & getScoreboardId(class Actor const &) const; + MCAPI struct ScoreboardId const & getScoreboardId(std::string const &) const; + MCAPI class ScoreboardIdentityRef * getScoreboardIdentityRef(struct ScoreboardId const &); + MCAPI std::vector getScoreboardIdentityRefs() const; + MCAPI std::vector getTrackedIds() const; + MCAPI bool hasIdentityFor(struct ScoreboardId const &) const; + MCAPI int modifyPlayerScore(bool &, struct ScoreboardId const &, class Objective &, int, enum PlayerScoreSetFunction); + MCAPI class ScoreboardIdentityRef const & registerScoreboardIdentity(struct ScoreboardId const &, struct PlayerScoreboardId const &); + MCAPI class ScoreboardIdentityRef const & registerScoreboardIdentity(struct ScoreboardId const &, struct ActorUniqueID const &); + MCAPI class ScoreboardIdentityRef const & registerScoreboardIdentity(struct ScoreboardId const &, std::string const &); + MCAPI class ScoreboardIdentityRef const & registerScoreboardIdentity(class CompoundTag const &); + MCAPI bool removeObjective(class Objective *); + MCAPI void resetPlayerScore(struct ScoreboardId const &, class Objective &); + MCAPI void resetPlayerScore(struct ScoreboardId const &); + MCAPI static std::string const DEFAULT_CRITERIA; + MCAPI static std::string const DISPLAY_SLOT_BELOWNAME; + MCAPI static std::string const DISPLAY_SLOT_LIST; + MCAPI static std::string const DISPLAY_SLOT_SIDEBAR; + MCAPI static char const * OBJECTIVES_ENUM; + +//private: + MCAPI void _initCriterias(); + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ScoreboardCommand.hpp b/LiteLoader/Header/MC/ScoreboardCommand.hpp new file mode 100644 index 0000000..bfbd0d5 --- /dev/null +++ b/LiteLoader/Header/MC/ScoreboardCommand.hpp @@ -0,0 +1,50 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Command.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ScoreboardCommand : public Command { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SCOREBOARDCOMMAND +public: + class ScoreboardCommand& operator=(class ScoreboardCommand const &) = delete; + ScoreboardCommand(class ScoreboardCommand const &) = delete; + ScoreboardCommand() = delete; +#endif + +public: + /*0*/ virtual ~ScoreboardCommand(); + /*1*/ virtual void execute(class CommandOrigin const &, class CommandOutput &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SCOREBOARDCOMMAND +#endif + MCAPI static void setup(class CommandRegistry &, struct ScoreboardCommand::InitProxy &&); + +//private: + MCAPI void _generateCumulativeOutput(struct ScoreboardCommand::SetScoreOutput const &, class Objective const &, class CommandOutput &) const; + MCAPI class Objective * _getObjective(class Scoreboard const &, std::string const &, bool, class CommandOutput &) const; + MCAPI std::vector _getScoreboardIdsForSelector(class Scoreboard &, class WildcardCommandSelector const &, class CommandOrigin const &, class CommandOutput &, bool) const; + MCAPI bool _getSelectorResultsForObjective(std::vector &, class Scoreboard &, class WildcardCommandSelector const &, class Objective &, class CommandOrigin const &, class CommandOutput &, bool) const; + MCAPI void addObjective(class Scoreboard &, std::string const &, std::string const &, std::string const &, class CommandOutput &) const; + MCAPI void addPlayerScore(class Scoreboard &, enum PlayerScoreSetFunction, struct ScoreboardId const &, class Objective &, class std::function const &, class CommandOutput &, struct ScoreboardCommand::SetScoreOutput &) const; + MCAPI bool applyPlayerOperation(class Scoreboard &, class std::function const &, struct ScoreboardId const &, class Objective &, class Objective &, class CommandOrigin const &, class CommandOutput &, struct ScoreboardCommand::SetScoreOutput &) const; + MCAPI void listObjectives(class Scoreboard const &, class CommandOutput &) const; + MCAPI void listPlayers(class Scoreboard &, struct ScoreboardId const &, class std::function const &, class CommandOutput &) const; + MCAPI void players(class Scoreboard &, class CommandOrigin const &, class CommandOutput &) const; + MCAPI void removeObjective(class Scoreboard &, std::string const &, class CommandOutput &) const; + MCAPI void resetPlayer(class Scoreboard &, struct ScoreboardId const &, class Objective *, class std::function const &, class CommandOutput &) const; + MCAPI void setDisplayObjective(class Scoreboard &, std::string const &, std::string const &, enum ObjectiveSortOrder, class CommandOutput &) const; + MCAPI bool setPlayerRandomScore(class Scoreboard &, struct ScoreboardId const &, class Objective &, class std::function const &, class CommandOutput &, struct ScoreboardCommand::SetScoreOutput &) const; + MCAPI void testPlayerScore(struct ScoreboardId const &, class Objective &, class std::function const &, class CommandOutput &) const; + MCAPI static std::vector _getNonSortableDisplaySlots(class Scoreboard &); + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ScoreboardId.hpp b/LiteLoader/Header/MC/ScoreboardId.hpp new file mode 100644 index 0000000..dd5e17d --- /dev/null +++ b/LiteLoader/Header/MC/ScoreboardId.hpp @@ -0,0 +1,26 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +struct ScoreboardId { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SCOREBOARDID +public: + struct ScoreboardId& operator=(struct ScoreboardId const &) = delete; + ScoreboardId(struct ScoreboardId const &) = delete; + ScoreboardId() = delete; +#endif +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SCOREBOARDID +#endif + MCAPI static struct ScoreboardId INVALID; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ScoreboardIdentityRef.hpp b/LiteLoader/Header/MC/ScoreboardIdentityRef.hpp new file mode 100644 index 0000000..671d8d7 --- /dev/null +++ b/LiteLoader/Header/MC/ScoreboardIdentityRef.hpp @@ -0,0 +1,31 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ScoreboardIdentityRef { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SCOREBOARDIDENTITYREF +public: + class ScoreboardIdentityRef& operator=(class ScoreboardIdentityRef const &) = delete; + ScoreboardIdentityRef(class ScoreboardIdentityRef const &) = delete; + ScoreboardIdentityRef() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SCOREBOARDIDENTITYREF +#endif + MCAPI std::string const & getName(class std::function const &) const; + MCAPI bool modifyScoreInObjective(int &, class Objective &, int, enum PlayerScoreSetFunction); + MCAPI bool removeFromObjective(class Scoreboard &, class Objective &); + MCAPI static class ScoreboardIdentityRef const Undefined; + MCAPI static std::unique_ptr serialize(class ScoreboardIdentityRef const &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ScreenCapabilitiesRepo.hpp b/LiteLoader/Header/MC/ScreenCapabilitiesRepo.hpp new file mode 100644 index 0000000..4d3c04a --- /dev/null +++ b/LiteLoader/Header/MC/ScreenCapabilitiesRepo.hpp @@ -0,0 +1,27 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ScreenCapabilitiesRepo { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SCREENCAPABILITIESREPO +public: + class ScreenCapabilitiesRepo& operator=(class ScreenCapabilitiesRepo const &) = delete; + ScreenCapabilitiesRepo(class ScreenCapabilitiesRepo const &) = delete; + ScreenCapabilitiesRepo() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SCREENCAPABILITIESREPO +#endif + MCAPI std::unique_ptr get(std::string const &) const; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ScreenHandlerBase.hpp b/LiteLoader/Header/MC/ScreenHandlerBase.hpp new file mode 100644 index 0000000..1e346b2 --- /dev/null +++ b/LiteLoader/Header/MC/ScreenHandlerBase.hpp @@ -0,0 +1,34 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ScreenHandlerBase { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SCREENHANDLERBASE +public: + class ScreenHandlerBase& operator=(class ScreenHandlerBase const &) = delete; + ScreenHandlerBase(class ScreenHandlerBase const &) = delete; + ScreenHandlerBase() = delete; +#endif + +public: + /*0*/ virtual ~ScreenHandlerBase(); + /*1*/ virtual void __unk_vfn_1(); + /*2*/ virtual void __unk_vfn_2(); + /*3*/ virtual bool endRequest(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SCREENHANDLERBASE + MCVAPI bool canDestroy(enum ContainerEnumName, unsigned char) const; + MCVAPI void endRequestBatch(); + MCVAPI bool handleAction(class ItemStackRequestAction const &); + MCVAPI void postRequest(bool); +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ScreenHandlerBeacon.hpp b/LiteLoader/Header/MC/ScreenHandlerBeacon.hpp new file mode 100644 index 0000000..ef385d8 --- /dev/null +++ b/LiteLoader/Header/MC/ScreenHandlerBeacon.hpp @@ -0,0 +1,32 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ScreenHandlerBeacon { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SCREENHANDLERBEACON +public: + class ScreenHandlerBeacon& operator=(class ScreenHandlerBeacon const &) = delete; + ScreenHandlerBeacon(class ScreenHandlerBeacon const &) = delete; + ScreenHandlerBeacon() = delete; +#endif + +public: + /*0*/ virtual ~ScreenHandlerBeacon(); + /*1*/ virtual bool canDestroy(enum ContainerEnumName, unsigned char) const; + /*2*/ virtual bool handleAction(class ItemStackRequestAction const &); + /*3*/ virtual bool endRequest(); + /*4*/ virtual void __unk_vfn_4(); + /*5*/ virtual void postRequest(bool); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SCREENHANDLERBEACON +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ScreenHandlerLabTable.hpp b/LiteLoader/Header/MC/ScreenHandlerLabTable.hpp new file mode 100644 index 0000000..f2b13fc --- /dev/null +++ b/LiteLoader/Header/MC/ScreenHandlerLabTable.hpp @@ -0,0 +1,32 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ScreenHandlerLabTable { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SCREENHANDLERLABTABLE +public: + class ScreenHandlerLabTable& operator=(class ScreenHandlerLabTable const &) = delete; + ScreenHandlerLabTable(class ScreenHandlerLabTable const &) = delete; + ScreenHandlerLabTable() = delete; +#endif + +public: + /*0*/ virtual ~ScreenHandlerLabTable(); + /*1*/ virtual bool canDestroy(enum ContainerEnumName, unsigned char) const; + /*2*/ virtual bool handleAction(class ItemStackRequestAction const &); + /*3*/ virtual bool endRequest(); + /*4*/ virtual void __unk_vfn_4(); + /*5*/ virtual void postRequest(bool); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SCREENHANDLERLABTABLE +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ScriptActorAreaBinderComponent.hpp b/LiteLoader/Header/MC/ScriptActorAreaBinderComponent.hpp new file mode 100644 index 0000000..57037e8 --- /dev/null +++ b/LiteLoader/Header/MC/ScriptActorAreaBinderComponent.hpp @@ -0,0 +1,31 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "ScriptApi.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ScriptActorAreaBinderComponent { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SCRIPTACTORAREABINDERCOMPONENT +public: + class ScriptActorAreaBinderComponent& operator=(class ScriptActorAreaBinderComponent const &) = delete; + ScriptActorAreaBinderComponent(class ScriptActorAreaBinderComponent const &) = delete; + ScriptActorAreaBinderComponent() = delete; +#endif + +public: + /*0*/ virtual ~ScriptActorAreaBinderComponent(); + /*1*/ virtual bool serialize(class ScriptEngine &, class ScriptApi::ScriptObjectHandle const &) const; + /*2*/ virtual bool deserialize(class ScriptEngine &, class ScriptApi::ScriptObjectHandle const &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SCRIPTACTORAREABINDERCOMPONENT +#endif + MCAPI static std::string const TAG; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ScriptActorUniqueIdBinderComponent.hpp b/LiteLoader/Header/MC/ScriptActorUniqueIdBinderComponent.hpp new file mode 100644 index 0000000..3a2bdcc --- /dev/null +++ b/LiteLoader/Header/MC/ScriptActorUniqueIdBinderComponent.hpp @@ -0,0 +1,31 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "ScriptApi.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ScriptActorUniqueIdBinderComponent { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SCRIPTACTORUNIQUEIDBINDERCOMPONENT +public: + class ScriptActorUniqueIdBinderComponent& operator=(class ScriptActorUniqueIdBinderComponent const &) = delete; + ScriptActorUniqueIdBinderComponent(class ScriptActorUniqueIdBinderComponent const &) = delete; + ScriptActorUniqueIdBinderComponent() = delete; +#endif + +public: + /*0*/ virtual ~ScriptActorUniqueIdBinderComponent(); + /*1*/ virtual bool serialize(class ScriptEngine &, class ScriptApi::ScriptObjectHandle const &) const; + /*2*/ virtual bool deserialize(class ScriptEngine &, class ScriptApi::ScriptObjectHandle const &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SCRIPTACTORUNIQUEIDBINDERCOMPONENT +#endif + MCAPI static std::string const TAG; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ScriptApi.hpp b/LiteLoader/Header/MC/ScriptApi.hpp new file mode 100644 index 0000000..bdd0d07 --- /dev/null +++ b/LiteLoader/Header/MC/ScriptApi.hpp @@ -0,0 +1,44 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +namespace ScriptApi { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA + MCAPI void * AddFilterToQueryChakraCallback(void *, bool, void **, unsigned short, void *); + MCAPI void * ApplyComponentChangesChakraCallback(void *, bool, void **, unsigned short, void *); + MCAPI void * BroadcastEventChakraCallback(void *, bool, void **, unsigned short, void *); + MCAPI void * CreateComponentChakraCallback(void *, bool, void **, unsigned short, void *); + MCAPI void * CreateEntityChakraCallback(void *, bool, void **, unsigned short, void *); + MCAPI void * CreateEventDataChakraCallback(void *, bool, void **, unsigned short, void *); + MCAPI enum _JsErrorCode DefineChakraCallback(void *, std::string const &, void * ( *)(void *, bool, void **, unsigned short, void *), void *, class ScriptApi::ScriptReport &); + MCAPI void * DestroyComponentChakraCallback(void *, bool, void **, unsigned short, void *); + MCAPI void * DestroyEntityChakraCallback(void *, bool, void **, unsigned short, void *); + MCAPI void * ErrorChakraCallback(void *, bool, void **, unsigned short, void *); + MCAPI void * ExecuteCommandChakraCallback(void *, bool, void **, unsigned short, void *); + MCAPI void * GetBlockChakraCallback(void *, bool, void **, unsigned short, void *); + MCAPI void * GetBlocksChakraCallback(void *, bool, void **, unsigned short, void *); + MCAPI void * GetComponentChakraCallback(void *, bool, void **, unsigned short, void *); + MCAPI void * GetEntitiesFromQueryChakraCallback(void *, bool, void **, unsigned short, void *); + MCAPI void * HasComponentChakraCallback(void *, bool, void **, unsigned short, void *); + MCAPI void * InfoChakraCallback(void *, bool, void **, unsigned short, void *); + MCAPI void * IsValidEntityChakraCallback(void *, bool, void **, unsigned short, void *); + MCAPI enum _JsErrorCode JsCreatePropertyIdHelper(std::string const &, void **); + MCAPI enum _JsErrorCode JsGetStringHelper(void *, std::string &); + MCAPI void * ListenForEventChakraCallback(void *, bool, void **, unsigned short, void *); + MCAPI void * LogChakraCallback(void *, bool, void **, unsigned short, void *); + MCAPI void * OnChakraEngineCall(void *, bool, void **, unsigned short, void *, class std::function const &, class ScriptApi::ScriptObjectHandle &)>); + MCAPI void * RegisterComponentChakraCallback(void *, bool, void **, unsigned short, void *); + MCAPI void * RegisterEventDataChakraCallback(void *, bool, void **, unsigned short, void *); + MCAPI void * RegisterQueryChakraCallback(void *, bool, void **, unsigned short, void *); + MCAPI void * RegisterSystemChakraCallback(void *, bool, void **, unsigned short, void *); + MCAPI void * WarningChakraCallback(void *, bool, void **, unsigned short, void *); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ScriptArmorContainerComponent.hpp b/LiteLoader/Header/MC/ScriptArmorContainerComponent.hpp new file mode 100644 index 0000000..c52ac18 --- /dev/null +++ b/LiteLoader/Header/MC/ScriptArmorContainerComponent.hpp @@ -0,0 +1,45 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "ScriptApi.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ScriptArmorContainerComponent { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SCRIPTARMORCONTAINERCOMPONENT +public: + class ScriptArmorContainerComponent& operator=(class ScriptArmorContainerComponent const &) = delete; + ScriptArmorContainerComponent(class ScriptArmorContainerComponent const &) = delete; + ScriptArmorContainerComponent() = delete; +#endif + +public: + /*0*/ virtual ~ScriptArmorContainerComponent(); + /*1*/ virtual bool applyComponentTo(class ScriptApi::ScriptVersionInfo const &, class ScriptEngine &, class ScriptServerContext &, class Actor &, class ScriptApi::ScriptObjectHandle const &) const; + /*2*/ virtual void __unk_vfn_2(); + /*3*/ virtual void __unk_vfn_3(); + /*4*/ virtual void __unk_vfn_4(); + /*5*/ virtual void __unk_vfn_5(); + /*6*/ virtual void __unk_vfn_6(); + /*7*/ virtual void __unk_vfn_7(); + /*8*/ virtual bool retrieveComponentFrom(class ScriptApi::ScriptVersionInfo const &, class ScriptEngine &, class ScriptServerContext &, class Actor &, class ScriptApi::ScriptObjectHandle &) const; + /*9*/ virtual void __unk_vfn_9(); + /*10*/ virtual void __unk_vfn_10(); + /*11*/ virtual void __unk_vfn_11(); + /*12*/ virtual bool hasComponent(class ScriptApi::ScriptVersionInfo const &, class ScriptEngine &, class ScriptServerContext &, class Actor &, bool &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SCRIPTARMORCONTAINERCOMPONENT +#endif + +//private: + +private: + MCAPI static class HashedString const mHash; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ScriptAttackComponent.hpp b/LiteLoader/Header/MC/ScriptAttackComponent.hpp new file mode 100644 index 0000000..33b3194 --- /dev/null +++ b/LiteLoader/Header/MC/ScriptAttackComponent.hpp @@ -0,0 +1,45 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "ScriptApi.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ScriptAttackComponent { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SCRIPTATTACKCOMPONENT +public: + class ScriptAttackComponent& operator=(class ScriptAttackComponent const &) = delete; + ScriptAttackComponent(class ScriptAttackComponent const &) = delete; + ScriptAttackComponent() = delete; +#endif + +public: + /*0*/ virtual ~ScriptAttackComponent(); + /*1*/ virtual void __unk_vfn_1(); + /*2*/ virtual void __unk_vfn_2(); + /*3*/ virtual void __unk_vfn_3(); + /*4*/ virtual bool applyComponentTo(class ScriptApi::ScriptVersionInfo const &, class ScriptEngine &, class ScriptServerContext &, class Actor &, class ScriptApi::ScriptObjectHandle const &) const; + /*5*/ virtual void __unk_vfn_5(); + /*6*/ virtual void __unk_vfn_6(); + /*7*/ virtual void __unk_vfn_7(); + /*8*/ virtual bool retrieveComponentFrom(class ScriptApi::ScriptVersionInfo const &, class ScriptEngine &, class ScriptServerContext &, class Actor &, class ScriptApi::ScriptObjectHandle &) const; + /*9*/ virtual void __unk_vfn_9(); + /*10*/ virtual void __unk_vfn_10(); + /*11*/ virtual void __unk_vfn_11(); + /*12*/ virtual bool hasComponent(class ScriptApi::ScriptVersionInfo const &, class ScriptEngine &, class ScriptServerContext &, class Actor &, bool &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SCRIPTATTACKCOMPONENT +#endif + +//private: + +private: + MCAPI static class HashedString const mHash; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ScriptBinderActorTemplate.hpp b/LiteLoader/Header/MC/ScriptBinderActorTemplate.hpp new file mode 100644 index 0000000..182abf4 --- /dev/null +++ b/LiteLoader/Header/MC/ScriptBinderActorTemplate.hpp @@ -0,0 +1,30 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ScriptBinderActorTemplate { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SCRIPTBINDERACTORTEMPLATE +public: + class ScriptBinderActorTemplate& operator=(class ScriptBinderActorTemplate const &) = delete; + ScriptBinderActorTemplate(class ScriptBinderActorTemplate const &) = delete; + ScriptBinderActorTemplate() = delete; +#endif + +public: + /*0*/ virtual ~ScriptBinderActorTemplate(); + /*1*/ virtual std::string const & getTemplateIdentifier() const; + /*2*/ virtual void applyTemplate(class ScriptObjectBinder &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SCRIPTBINDERACTORTEMPLATE +#endif + MCAPI static std::unique_ptr build(class entt::Registry &, class Actor const &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ScriptBinderActorTickingAreaTemplate.hpp b/LiteLoader/Header/MC/ScriptBinderActorTickingAreaTemplate.hpp new file mode 100644 index 0000000..aa0c758 --- /dev/null +++ b/LiteLoader/Header/MC/ScriptBinderActorTickingAreaTemplate.hpp @@ -0,0 +1,31 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ScriptBinderActorTickingAreaTemplate { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SCRIPTBINDERACTORTICKINGAREATEMPLATE +public: + class ScriptBinderActorTickingAreaTemplate& operator=(class ScriptBinderActorTickingAreaTemplate const &) = delete; + ScriptBinderActorTickingAreaTemplate(class ScriptBinderActorTickingAreaTemplate const &) = delete; + ScriptBinderActorTickingAreaTemplate() = delete; +#endif + +public: + /*0*/ virtual ~ScriptBinderActorTickingAreaTemplate(); + /*1*/ virtual std::string const & getTemplateIdentifier() const; + /*2*/ virtual void applyTemplate(class ScriptObjectBinder &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SCRIPTBINDERACTORTICKINGAREATEMPLATE +#endif + MCAPI static std::unique_ptr build(class ITickingArea const &); + MCAPI static std::unique_ptr build(struct ActorUniqueID const &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ScriptBinderBlockTemplate.hpp b/LiteLoader/Header/MC/ScriptBinderBlockTemplate.hpp new file mode 100644 index 0000000..d340559 --- /dev/null +++ b/LiteLoader/Header/MC/ScriptBinderBlockTemplate.hpp @@ -0,0 +1,31 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "ScriptApi.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ScriptBinderBlockTemplate { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SCRIPTBINDERBLOCKTEMPLATE +public: + class ScriptBinderBlockTemplate& operator=(class ScriptBinderBlockTemplate const &) = delete; + ScriptBinderBlockTemplate(class ScriptBinderBlockTemplate const &) = delete; + ScriptBinderBlockTemplate() = delete; +#endif + +public: + /*0*/ virtual ~ScriptBinderBlockTemplate(); + /*1*/ virtual std::string const & getTemplateIdentifier() const; + /*2*/ virtual void applyTemplate(class ScriptObjectBinder &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SCRIPTBINDERBLOCKTEMPLATE +#endif + MCAPI static std::unique_ptr build(class Block const &, class BlockPos const &, class ScriptApi::ScriptObjectHandle &&); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ScriptBinderComponent.hpp b/LiteLoader/Header/MC/ScriptBinderComponent.hpp new file mode 100644 index 0000000..29f7f31 --- /dev/null +++ b/LiteLoader/Header/MC/ScriptBinderComponent.hpp @@ -0,0 +1,26 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ScriptBinderComponent { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SCRIPTBINDERCOMPONENT +public: + class ScriptBinderComponent& operator=(class ScriptBinderComponent const &) = delete; + ScriptBinderComponent(class ScriptBinderComponent const &) = delete; + ScriptBinderComponent() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SCRIPTBINDERCOMPONENT +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ScriptBinderComponentTemplate.hpp b/LiteLoader/Header/MC/ScriptBinderComponentTemplate.hpp new file mode 100644 index 0000000..bd7b77c --- /dev/null +++ b/LiteLoader/Header/MC/ScriptBinderComponentTemplate.hpp @@ -0,0 +1,31 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "ScriptApi.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ScriptBinderComponentTemplate { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SCRIPTBINDERCOMPONENTTEMPLATE +public: + class ScriptBinderComponentTemplate& operator=(class ScriptBinderComponentTemplate const &) = delete; + ScriptBinderComponentTemplate(class ScriptBinderComponentTemplate const &) = delete; + ScriptBinderComponentTemplate() = delete; +#endif + +public: + /*0*/ virtual ~ScriptBinderComponentTemplate(); + /*1*/ virtual std::string const & getTemplateIdentifier() const; + /*2*/ virtual void applyTemplate(class ScriptObjectBinder &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SCRIPTBINDERCOMPONENTTEMPLATE +#endif + MCAPI static std::unique_ptr build(std::string const &, class ScriptApi::ScriptObjectHandle &&); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ScriptBinderEventDataTemplate.hpp b/LiteLoader/Header/MC/ScriptBinderEventDataTemplate.hpp new file mode 100644 index 0000000..9e7b0a2 --- /dev/null +++ b/LiteLoader/Header/MC/ScriptBinderEventDataTemplate.hpp @@ -0,0 +1,28 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "ScriptApi.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ScriptBinderEventDataTemplate { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SCRIPTBINDEREVENTDATATEMPLATE +public: + class ScriptBinderEventDataTemplate& operator=(class ScriptBinderEventDataTemplate const &) = delete; + ScriptBinderEventDataTemplate(class ScriptBinderEventDataTemplate const &) = delete; + ScriptBinderEventDataTemplate() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SCRIPTBINDEREVENTDATATEMPLATE +#endif + MCAPI static std::unique_ptr build(std::string const &, class ScriptApi::ScriptObjectHandle &&); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ScriptBinderItemActorTemplate.hpp b/LiteLoader/Header/MC/ScriptBinderItemActorTemplate.hpp new file mode 100644 index 0000000..3ea2dd7 --- /dev/null +++ b/LiteLoader/Header/MC/ScriptBinderItemActorTemplate.hpp @@ -0,0 +1,30 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ScriptBinderItemActorTemplate { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SCRIPTBINDERITEMACTORTEMPLATE +public: + class ScriptBinderItemActorTemplate& operator=(class ScriptBinderItemActorTemplate const &) = delete; + ScriptBinderItemActorTemplate(class ScriptBinderItemActorTemplate const &) = delete; + ScriptBinderItemActorTemplate() = delete; +#endif + +public: + /*0*/ virtual ~ScriptBinderItemActorTemplate(); + /*1*/ virtual std::string const & getTemplateIdentifier() const; + /*2*/ virtual void applyTemplate(class ScriptObjectBinder &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SCRIPTBINDERITEMACTORTEMPLATE +#endif + MCAPI static std::unique_ptr build(class entt::Registry &, class ItemActor const &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ScriptBinderItemStackTemplate.hpp b/LiteLoader/Header/MC/ScriptBinderItemStackTemplate.hpp new file mode 100644 index 0000000..88670a3 --- /dev/null +++ b/LiteLoader/Header/MC/ScriptBinderItemStackTemplate.hpp @@ -0,0 +1,27 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ScriptBinderItemStackTemplate { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SCRIPTBINDERITEMSTACKTEMPLATE +public: + class ScriptBinderItemStackTemplate& operator=(class ScriptBinderItemStackTemplate const &) = delete; + ScriptBinderItemStackTemplate(class ScriptBinderItemStackTemplate const &) = delete; + ScriptBinderItemStackTemplate() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SCRIPTBINDERITEMSTACKTEMPLATE +#endif + MCAPI static std::unique_ptr build(class entt::Registry &, class ItemInstance const &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ScriptBinderLevelTemplate.hpp b/LiteLoader/Header/MC/ScriptBinderLevelTemplate.hpp new file mode 100644 index 0000000..c485553 --- /dev/null +++ b/LiteLoader/Header/MC/ScriptBinderLevelTemplate.hpp @@ -0,0 +1,30 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ScriptBinderLevelTemplate { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SCRIPTBINDERLEVELTEMPLATE +public: + class ScriptBinderLevelTemplate& operator=(class ScriptBinderLevelTemplate const &) = delete; + ScriptBinderLevelTemplate(class ScriptBinderLevelTemplate const &) = delete; + ScriptBinderLevelTemplate() = delete; +#endif + +public: + /*0*/ virtual ~ScriptBinderLevelTemplate(); + /*1*/ virtual std::string const & getTemplateIdentifier() const; + /*2*/ virtual void applyTemplate(class ScriptObjectBinder &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SCRIPTBINDERLEVELTEMPLATE +#endif + MCAPI static std::unique_ptr build(class entt::Registry &, unsigned int); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ScriptBinderLevelTickingAreaTemplate.hpp b/LiteLoader/Header/MC/ScriptBinderLevelTickingAreaTemplate.hpp new file mode 100644 index 0000000..c5dcab3 --- /dev/null +++ b/LiteLoader/Header/MC/ScriptBinderLevelTickingAreaTemplate.hpp @@ -0,0 +1,30 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ScriptBinderLevelTickingAreaTemplate { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SCRIPTBINDERLEVELTICKINGAREATEMPLATE +public: + class ScriptBinderLevelTickingAreaTemplate& operator=(class ScriptBinderLevelTickingAreaTemplate const &) = delete; + ScriptBinderLevelTickingAreaTemplate(class ScriptBinderLevelTickingAreaTemplate const &) = delete; + ScriptBinderLevelTickingAreaTemplate() = delete; +#endif + +public: + /*0*/ virtual ~ScriptBinderLevelTickingAreaTemplate(); + /*1*/ virtual std::string const & getTemplateIdentifier() const; + /*2*/ virtual void applyTemplate(class ScriptObjectBinder &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SCRIPTBINDERLEVELTICKINGAREATEMPLATE +#endif + MCAPI static std::unique_ptr build(class ITickingArea const &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ScriptBinderPureEcsTemplate.hpp b/LiteLoader/Header/MC/ScriptBinderPureEcsTemplate.hpp new file mode 100644 index 0000000..728749b --- /dev/null +++ b/LiteLoader/Header/MC/ScriptBinderPureEcsTemplate.hpp @@ -0,0 +1,30 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ScriptBinderPureEcsTemplate { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SCRIPTBINDERPUREECSTEMPLATE +public: + class ScriptBinderPureEcsTemplate& operator=(class ScriptBinderPureEcsTemplate const &) = delete; + ScriptBinderPureEcsTemplate(class ScriptBinderPureEcsTemplate const &) = delete; + ScriptBinderPureEcsTemplate() = delete; +#endif + +public: + /*0*/ virtual ~ScriptBinderPureEcsTemplate(); + /*1*/ virtual std::string const & getTemplateIdentifier() const; + /*2*/ virtual void applyTemplate(class ScriptObjectBinder &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SCRIPTBINDERPUREECSTEMPLATE +#endif + MCAPI static std::unique_ptr build(class entt::Registry &, unsigned int); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ScriptBinderQueryTemplate.hpp b/LiteLoader/Header/MC/ScriptBinderQueryTemplate.hpp new file mode 100644 index 0000000..32712c3 --- /dev/null +++ b/LiteLoader/Header/MC/ScriptBinderQueryTemplate.hpp @@ -0,0 +1,30 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ScriptBinderQueryTemplate { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SCRIPTBINDERQUERYTEMPLATE +public: + class ScriptBinderQueryTemplate& operator=(class ScriptBinderQueryTemplate const &) = delete; + ScriptBinderQueryTemplate(class ScriptBinderQueryTemplate const &) = delete; + ScriptBinderQueryTemplate() = delete; +#endif + +public: + /*0*/ virtual ~ScriptBinderQueryTemplate(); + /*1*/ virtual std::string const & getTemplateIdentifier() const; + /*2*/ virtual void applyTemplate(class ScriptObjectBinder &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SCRIPTBINDERQUERYTEMPLATE +#endif + MCAPI static std::unique_ptr build(unsigned int); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ScriptBinderTemplate.hpp b/LiteLoader/Header/MC/ScriptBinderTemplate.hpp new file mode 100644 index 0000000..3f6dd64 --- /dev/null +++ b/LiteLoader/Header/MC/ScriptBinderTemplate.hpp @@ -0,0 +1,26 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ScriptBinderTemplate { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SCRIPTBINDERTEMPLATE +public: + class ScriptBinderTemplate& operator=(class ScriptBinderTemplate const &) = delete; + ScriptBinderTemplate(class ScriptBinderTemplate const &) = delete; + ScriptBinderTemplate() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SCRIPTBINDERTEMPLATE +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ScriptBinderTemplateController.hpp b/LiteLoader/Header/MC/ScriptBinderTemplateController.hpp new file mode 100644 index 0000000..1aab3ff --- /dev/null +++ b/LiteLoader/Header/MC/ScriptBinderTemplateController.hpp @@ -0,0 +1,28 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "ScriptApi.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ScriptBinderTemplateController { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SCRIPTBINDERTEMPLATECONTROLLER +public: + class ScriptBinderTemplateController& operator=(class ScriptBinderTemplateController const &) = delete; + ScriptBinderTemplateController(class ScriptBinderTemplateController const &) = delete; + ScriptBinderTemplateController() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SCRIPTBINDERTEMPLATECONTROLLER +#endif + MCAPI std::unique_ptr deserialize(class ScriptEngine &, class ScriptApi::ScriptObjectHandle const &) const; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ScriptBlockContainerComponent.hpp b/LiteLoader/Header/MC/ScriptBlockContainerComponent.hpp new file mode 100644 index 0000000..6f84810 --- /dev/null +++ b/LiteLoader/Header/MC/ScriptBlockContainerComponent.hpp @@ -0,0 +1,46 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "ScriptApi.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ScriptBlockContainerComponent { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SCRIPTBLOCKCONTAINERCOMPONENT +public: + class ScriptBlockContainerComponent& operator=(class ScriptBlockContainerComponent const &) = delete; + ScriptBlockContainerComponent(class ScriptBlockContainerComponent const &) = delete; + ScriptBlockContainerComponent() = delete; +#endif + +public: + /*0*/ virtual ~ScriptBlockContainerComponent(); + /*1*/ virtual void __unk_vfn_1(); + /*2*/ virtual void __unk_vfn_2(); + /*3*/ virtual bool applyComponentTo(class ScriptApi::ScriptVersionInfo const &, class ScriptEngine &, class ScriptServerContext &, class Level &, class ScriptApi::ScriptObjectHandle const &) const; + /*4*/ virtual void __unk_vfn_4(); + /*5*/ virtual bool retrieveComponentFrom(class ScriptApi::ScriptVersionInfo const &, class ScriptEngine &, class ScriptServerContext &, class Actor &, class ScriptApi::ScriptObjectHandle &) const; + /*6*/ virtual bool retrieveComponentFrom(class ScriptApi::ScriptVersionInfo const &, class ScriptEngine &, class ScriptServerContext &, class Level &, class ScriptApi::ScriptObjectHandle &) const; + /*7*/ virtual bool retrieveComponentFrom(class ScriptApi::ScriptVersionInfo const &, class ScriptEngine &, class ScriptServerContext &, class Block const &, class BlockSource &, class BlockPos const &, class ScriptApi::ScriptObjectHandle &) const; + /*8*/ virtual bool retrieveComponentFrom(class ScriptApi::ScriptVersionInfo const &, class ScriptEngine &, class ScriptServerContext &, class ITickingArea &, class ScriptApi::ScriptObjectHandle &) const; + /*9*/ virtual bool hasComponent(class ScriptApi::ScriptVersionInfo const &, class ScriptEngine &, class ScriptServerContext &, class Level &, bool &) const; + /*10*/ virtual bool hasComponent(class ScriptApi::ScriptVersionInfo const &, class ScriptEngine &, class ScriptServerContext &, class Block const &, class BlockSource &, class BlockPos const &, bool &) const; + /*11*/ virtual bool hasComponent(class ScriptApi::ScriptVersionInfo const &, class ScriptEngine &, class ScriptServerContext &, class ITickingArea const &, bool &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SCRIPTBLOCKCONTAINERCOMPONENT + MCVAPI bool applyComponentTo(class ScriptApi::ScriptVersionInfo const &, class ScriptEngine &, class ScriptServerContext &, class Block const &, class BlockSource &, class BlockPos const &, class ScriptApi::ScriptObjectHandle const &) const; + MCVAPI bool hasComponent(class ScriptApi::ScriptVersionInfo const &, class ScriptEngine &, class ScriptServerContext &, class Actor &, bool &) const; +#endif + +//private: + +private: + MCAPI static class HashedString const mHash; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ScriptBlockPositionBinderComponent.hpp b/LiteLoader/Header/MC/ScriptBlockPositionBinderComponent.hpp new file mode 100644 index 0000000..57857e0 --- /dev/null +++ b/LiteLoader/Header/MC/ScriptBlockPositionBinderComponent.hpp @@ -0,0 +1,31 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "ScriptApi.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ScriptBlockPositionBinderComponent { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SCRIPTBLOCKPOSITIONBINDERCOMPONENT +public: + class ScriptBlockPositionBinderComponent& operator=(class ScriptBlockPositionBinderComponent const &) = delete; + ScriptBlockPositionBinderComponent(class ScriptBlockPositionBinderComponent const &) = delete; + ScriptBlockPositionBinderComponent() = delete; +#endif + +public: + /*0*/ virtual ~ScriptBlockPositionBinderComponent(); + /*1*/ virtual bool serialize(class ScriptEngine &, class ScriptApi::ScriptObjectHandle const &) const; + /*2*/ virtual bool deserialize(class ScriptEngine &, class ScriptApi::ScriptObjectHandle const &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SCRIPTBLOCKPOSITIONBINDERCOMPONENT +#endif + MCAPI static std::string const TAG; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ScriptBlockStateComponent.hpp b/LiteLoader/Header/MC/ScriptBlockStateComponent.hpp new file mode 100644 index 0000000..12229d0 --- /dev/null +++ b/LiteLoader/Header/MC/ScriptBlockStateComponent.hpp @@ -0,0 +1,45 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "ScriptApi.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ScriptBlockStateComponent { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SCRIPTBLOCKSTATECOMPONENT +public: + class ScriptBlockStateComponent& operator=(class ScriptBlockStateComponent const &) = delete; + ScriptBlockStateComponent(class ScriptBlockStateComponent const &) = delete; + ScriptBlockStateComponent() = delete; +#endif + +public: + /*0*/ virtual ~ScriptBlockStateComponent(); + /*1*/ virtual void __unk_vfn_1(); + /*2*/ virtual bool applyComponentTo(class ScriptApi::ScriptVersionInfo const &, class ScriptEngine &, class ScriptServerContext &, class Block const &, class BlockSource &, class BlockPos const &, class ScriptApi::ScriptObjectHandle const &) const; + /*3*/ virtual void __unk_vfn_3(); + /*4*/ virtual void __unk_vfn_4(); + /*5*/ virtual void __unk_vfn_5(); + /*6*/ virtual bool retrieveComponentFrom(class ScriptApi::ScriptVersionInfo const &, class ScriptEngine &, class ScriptServerContext &, class Block const &, class BlockSource &, class BlockPos const &, class ScriptApi::ScriptObjectHandle &) const; + /*7*/ virtual void __unk_vfn_7(); + /*8*/ virtual void __unk_vfn_8(); + /*9*/ virtual void __unk_vfn_9(); + /*10*/ virtual bool hasComponent(class ScriptApi::ScriptVersionInfo const &, class ScriptEngine &, class ScriptServerContext &, class Block const &, class BlockSource &, class BlockPos const &, bool &) const; + /*11*/ virtual void __unk_vfn_11(); + /*12*/ virtual bool hasComponent(class ScriptApi::ScriptVersionInfo const &, class ScriptEngine &, class ScriptServerContext &, class Actor &, bool &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SCRIPTBLOCKSTATECOMPONENT +#endif + +//private: + +private: + MCAPI static class HashedString const mHash; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ScriptCollisionBoxComponent.hpp b/LiteLoader/Header/MC/ScriptCollisionBoxComponent.hpp new file mode 100644 index 0000000..b3bce05 --- /dev/null +++ b/LiteLoader/Header/MC/ScriptCollisionBoxComponent.hpp @@ -0,0 +1,45 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "ScriptApi.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ScriptCollisionBoxComponent { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SCRIPTCOLLISIONBOXCOMPONENT +public: + class ScriptCollisionBoxComponent& operator=(class ScriptCollisionBoxComponent const &) = delete; + ScriptCollisionBoxComponent(class ScriptCollisionBoxComponent const &) = delete; + ScriptCollisionBoxComponent() = delete; +#endif + +public: + /*0*/ virtual ~ScriptCollisionBoxComponent(); + /*1*/ virtual void __unk_vfn_1(); + /*2*/ virtual void __unk_vfn_2(); + /*3*/ virtual void __unk_vfn_3(); + /*4*/ virtual bool applyComponentTo(class ScriptApi::ScriptVersionInfo const &, class ScriptEngine &, class ScriptServerContext &, class Actor &, class ScriptApi::ScriptObjectHandle const &) const; + /*5*/ virtual void __unk_vfn_5(); + /*6*/ virtual void __unk_vfn_6(); + /*7*/ virtual void __unk_vfn_7(); + /*8*/ virtual bool retrieveComponentFrom(class ScriptApi::ScriptVersionInfo const &, class ScriptEngine &, class ScriptServerContext &, class Actor &, class ScriptApi::ScriptObjectHandle &) const; + /*9*/ virtual void __unk_vfn_9(); + /*10*/ virtual void __unk_vfn_10(); + /*11*/ virtual void __unk_vfn_11(); + /*12*/ virtual bool hasComponent(class ScriptApi::ScriptVersionInfo const &, class ScriptEngine &, class ScriptServerContext &, class Actor &, bool &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SCRIPTCOLLISIONBOXCOMPONENT +#endif + +//private: + +private: + MCAPI static class HashedString const mHash; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ScriptCommand.hpp b/LiteLoader/Header/MC/ScriptCommand.hpp new file mode 100644 index 0000000..8fdbaa9 --- /dev/null +++ b/LiteLoader/Header/MC/ScriptCommand.hpp @@ -0,0 +1,26 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +struct ScriptCommand { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SCRIPTCOMMAND +public: + struct ScriptCommand& operator=(struct ScriptCommand const &) = delete; + ScriptCommand(struct ScriptCommand const &) = delete; + ScriptCommand() = delete; +#endif +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SCRIPTCOMMAND +#endif + MCAPI ~ScriptCommand(); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ScriptCommandCallbackData.hpp b/LiteLoader/Header/MC/ScriptCommandCallbackData.hpp new file mode 100644 index 0000000..28bc578 --- /dev/null +++ b/LiteLoader/Header/MC/ScriptCommandCallbackData.hpp @@ -0,0 +1,26 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +struct ScriptCommandCallbackData { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SCRIPTCOMMANDCALLBACKDATA +public: + struct ScriptCommandCallbackData& operator=(struct ScriptCommandCallbackData const &) = delete; + ScriptCommandCallbackData(struct ScriptCommandCallbackData const &) = delete; + ScriptCommandCallbackData() = delete; +#endif +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SCRIPTCOMMANDCALLBACKDATA +#endif + MCAPI ~ScriptCommandCallbackData(); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ScriptCommandFactory.hpp b/LiteLoader/Header/MC/ScriptCommandFactory.hpp new file mode 100644 index 0000000..2655b2a --- /dev/null +++ b/LiteLoader/Header/MC/ScriptCommandFactory.hpp @@ -0,0 +1,32 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ScriptCommandFactory { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SCRIPTCOMMANDFACTORY +public: + class ScriptCommandFactory& operator=(class ScriptCommandFactory const &) = delete; + ScriptCommandFactory(class ScriptCommandFactory const &) = delete; + ScriptCommandFactory() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SCRIPTCOMMANDFACTORY +#endif + +//private: + +private: + MCAPI static unsigned int mCurrentId; + MCAPI static class std::mutex mIdMutex; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ScriptCommandOrigin.hpp b/LiteLoader/Header/MC/ScriptCommandOrigin.hpp new file mode 100644 index 0000000..a385ef0 --- /dev/null +++ b/LiteLoader/Header/MC/ScriptCommandOrigin.hpp @@ -0,0 +1,43 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Json.hpp" +#include "CommandOrigin.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ScriptCommandOrigin : public CommandOrigin { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SCRIPTCOMMANDORIGIN +public: + class ScriptCommandOrigin& operator=(class ScriptCommandOrigin const &) = delete; + ScriptCommandOrigin(class ScriptCommandOrigin const &) = delete; + ScriptCommandOrigin() = delete; +#endif + +public: + /*0*/ virtual ~ScriptCommandOrigin(); + /*1*/ virtual std::string const & getRequestId() const; + /*2*/ virtual std::string getName() const; + /*3*/ virtual class BlockPos getBlockPosition() const; + /*4*/ virtual class Vec3 getWorldPosition() const; + /*5*/ virtual class Level * getLevel() const; + /*6*/ virtual class Dimension * getDimension() const; + /*7*/ virtual class Actor * getEntity() const; + /*8*/ virtual enum CommandPermissionLevel getPermissionsLevel() const; + /*9*/ virtual std::unique_ptr clone() const; + /*16*/ virtual bool canUseCommandsWithoutCheatsEnabled() const; + /*17*/ virtual bool isSelectorExpansionAllowed() const; + /*21*/ virtual enum CommandOriginType getOriginType() const; + /*24*/ virtual void handleCommandOutputCallback(class Json::Value &&) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SCRIPTCOMMANDORIGIN +#endif + MCAPI ScriptCommandOrigin(class ServerLevel &, class ScriptEngine &, unsigned int); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ScriptComponentBinderComponent.hpp b/LiteLoader/Header/MC/ScriptComponentBinderComponent.hpp new file mode 100644 index 0000000..c34a571 --- /dev/null +++ b/LiteLoader/Header/MC/ScriptComponentBinderComponent.hpp @@ -0,0 +1,31 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "ScriptApi.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ScriptComponentBinderComponent { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SCRIPTCOMPONENTBINDERCOMPONENT +public: + class ScriptComponentBinderComponent& operator=(class ScriptComponentBinderComponent const &) = delete; + ScriptComponentBinderComponent(class ScriptComponentBinderComponent const &) = delete; + ScriptComponentBinderComponent() = delete; +#endif + +public: + /*0*/ virtual ~ScriptComponentBinderComponent(); + /*1*/ virtual bool serialize(class ScriptEngine &, class ScriptApi::ScriptObjectHandle const &) const; + /*2*/ virtual bool deserialize(class ScriptEngine &, class ScriptApi::ScriptObjectHandle const &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SCRIPTCOMPONENTBINDERCOMPONENT +#endif + MCAPI static std::string const TAG; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ScriptCustomEventPacket.hpp b/LiteLoader/Header/MC/ScriptCustomEventPacket.hpp new file mode 100644 index 0000000..488b8e3 --- /dev/null +++ b/LiteLoader/Header/MC/ScriptCustomEventPacket.hpp @@ -0,0 +1,32 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Packet.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ScriptCustomEventPacket : public Packet { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SCRIPTCUSTOMEVENTPACKET +public: + class ScriptCustomEventPacket& operator=(class ScriptCustomEventPacket const &) = delete; + ScriptCustomEventPacket(class ScriptCustomEventPacket const &) = delete; + ScriptCustomEventPacket() = delete; +#endif + +public: + /*0*/ virtual ~ScriptCustomEventPacket(); + /*1*/ virtual enum MinecraftPacketIds getId() const; + /*2*/ virtual std::string getName() const; + /*3*/ virtual void write(class BinaryStream &) const; + /*4*/ virtual enum StreamReadResult read(class ReadOnlyBinaryStream &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SCRIPTCUSTOMEVENTPACKET +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ScriptDamageSensorComponent.hpp b/LiteLoader/Header/MC/ScriptDamageSensorComponent.hpp new file mode 100644 index 0000000..94ef5de --- /dev/null +++ b/LiteLoader/Header/MC/ScriptDamageSensorComponent.hpp @@ -0,0 +1,45 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "ScriptApi.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ScriptDamageSensorComponent { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SCRIPTDAMAGESENSORCOMPONENT +public: + class ScriptDamageSensorComponent& operator=(class ScriptDamageSensorComponent const &) = delete; + ScriptDamageSensorComponent(class ScriptDamageSensorComponent const &) = delete; + ScriptDamageSensorComponent() = delete; +#endif + +public: + /*0*/ virtual ~ScriptDamageSensorComponent(); + /*1*/ virtual void __unk_vfn_1(); + /*2*/ virtual void __unk_vfn_2(); + /*3*/ virtual void __unk_vfn_3(); + /*4*/ virtual bool applyComponentTo(class ScriptApi::ScriptVersionInfo const &, class ScriptEngine &, class ScriptServerContext &, class Actor &, class ScriptApi::ScriptObjectHandle const &) const; + /*5*/ virtual void __unk_vfn_5(); + /*6*/ virtual void __unk_vfn_6(); + /*7*/ virtual void __unk_vfn_7(); + /*8*/ virtual bool retrieveComponentFrom(class ScriptApi::ScriptVersionInfo const &, class ScriptEngine &, class ScriptServerContext &, class Actor &, class ScriptApi::ScriptObjectHandle &) const; + /*9*/ virtual void __unk_vfn_9(); + /*10*/ virtual void __unk_vfn_10(); + /*11*/ virtual void __unk_vfn_11(); + /*12*/ virtual bool hasComponent(class ScriptApi::ScriptVersionInfo const &, class ScriptEngine &, class ScriptServerContext &, class Actor &, bool &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SCRIPTDAMAGESENSORCOMPONENT +#endif + +//private: + +private: + MCAPI static class HashedString const mHash; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ScriptDimensionBinderComponent.hpp b/LiteLoader/Header/MC/ScriptDimensionBinderComponent.hpp new file mode 100644 index 0000000..994e79c --- /dev/null +++ b/LiteLoader/Header/MC/ScriptDimensionBinderComponent.hpp @@ -0,0 +1,27 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ScriptDimensionBinderComponent { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SCRIPTDIMENSIONBINDERCOMPONENT +public: + class ScriptDimensionBinderComponent& operator=(class ScriptDimensionBinderComponent const &) = delete; + ScriptDimensionBinderComponent(class ScriptDimensionBinderComponent const &) = delete; + ScriptDimensionBinderComponent() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SCRIPTDIMENSIONBINDERCOMPONENT +#endif + MCAPI static std::string const TAG; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ScriptEcsBinderComponent.hpp b/LiteLoader/Header/MC/ScriptEcsBinderComponent.hpp new file mode 100644 index 0000000..483f3dc --- /dev/null +++ b/LiteLoader/Header/MC/ScriptEcsBinderComponent.hpp @@ -0,0 +1,31 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "ScriptApi.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ScriptEcsBinderComponent { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SCRIPTECSBINDERCOMPONENT +public: + class ScriptEcsBinderComponent& operator=(class ScriptEcsBinderComponent const &) = delete; + ScriptEcsBinderComponent(class ScriptEcsBinderComponent const &) = delete; + ScriptEcsBinderComponent() = delete; +#endif + +public: + /*0*/ virtual ~ScriptEcsBinderComponent(); + /*1*/ virtual bool serialize(class ScriptEngine &, class ScriptApi::ScriptObjectHandle const &) const; + /*2*/ virtual bool deserialize(class ScriptEngine &, class ScriptApi::ScriptObjectHandle const &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SCRIPTECSBINDERCOMPONENT +#endif + MCAPI static std::string const TAG; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ScriptEngine.hpp b/LiteLoader/Header/MC/ScriptEngine.hpp new file mode 100644 index 0000000..18379a6 --- /dev/null +++ b/LiteLoader/Header/MC/ScriptEngine.hpp @@ -0,0 +1,90 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "ScriptApi.hpp" +#include "Json.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ScriptEngine { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SCRIPTENGINE +public: + class ScriptEngine& operator=(class ScriptEngine const &) = delete; + ScriptEngine(class ScriptEngine const &) = delete; + ScriptEngine() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SCRIPTENGINE + MCVAPI bool _registerSystemObjects(class ScriptApi::ScriptObjectHandle const &); + MCVAPI bool initialize(); + MCVAPI void makeErrorResultObject(class ScriptApi::ScriptObjectHandle &); + MCVAPI bool onErrorReceived(std::string const &); + MCVAPI bool onInfoReceived(std::string const &); + MCVAPI bool onLogReceived(std::string const &); + MCVAPI bool onWarnReceived(std::string const &); + MCVAPI void processAddFilterToQueryCallback(std::vector const &, class ScriptApi::ScriptObjectHandle &); + MCVAPI void processApplyComponentChangesCallback(std::vector const &, class ScriptApi::ScriptObjectHandle &); + MCVAPI void processBroadcastEventCallback(std::vector const &, class ScriptApi::ScriptObjectHandle &); + MCVAPI void processCreateComponentCallback(std::vector const &, class ScriptApi::ScriptObjectHandle &); + MCVAPI void processCreateEntityCallback(std::vector const &, class ScriptApi::ScriptObjectHandle &); + MCVAPI void processCreateEventDataCallback(std::vector const &, class ScriptApi::ScriptObjectHandle &); + MCVAPI void processDestroyComponentCallback(std::vector const &, class ScriptApi::ScriptObjectHandle &); + MCVAPI void processDestroyEntityCallback(std::vector const &, class ScriptApi::ScriptObjectHandle &); + MCVAPI void processErrorCallback(std::vector const &, class ScriptApi::ScriptObjectHandle &); + MCVAPI void processExecuteCommandCallback(std::vector const &, class ScriptApi::ScriptObjectHandle &); + MCVAPI void processGetBlockCallback(std::vector const &, class ScriptApi::ScriptObjectHandle &); + MCVAPI void processGetBlocksCallback(std::vector const &, class ScriptApi::ScriptObjectHandle &); + MCVAPI void processGetComponentCallback(std::vector const &, class ScriptApi::ScriptObjectHandle &); + MCVAPI void processGetEntitiesFromQueryCallback(std::vector const &, class ScriptApi::ScriptObjectHandle &); + MCVAPI void processHasComponentCallback(std::vector const &, class ScriptApi::ScriptObjectHandle &); + MCVAPI void processInfoCallback(std::vector const &, class ScriptApi::ScriptObjectHandle &); + MCVAPI void processIsValidEntityCallback(std::vector const &, class ScriptApi::ScriptObjectHandle &); + MCVAPI void processListenForEventCallback(std::vector const &, class ScriptApi::ScriptObjectHandle &); + MCVAPI void processLogCallback(std::vector const &, class ScriptApi::ScriptObjectHandle &); + MCVAPI void processRegisterComponentCallback(std::vector const &, class ScriptApi::ScriptObjectHandle &); + MCVAPI void processRegisterEventDataCallback(std::vector const &, class ScriptApi::ScriptObjectHandle &); + MCVAPI void processRegisterQueryCallback(std::vector const &, class ScriptApi::ScriptObjectHandle &); + MCVAPI void processRegisterSystemCallback(std::vector const &, class ScriptApi::ScriptObjectHandle &); + MCVAPI void processWarningCallback(std::vector const &, class ScriptApi::ScriptObjectHandle &); + MCVAPI bool shutdown(); + MCVAPI ~ScriptEngine(); +#endif + MCAPI ScriptEngine(enum ScriptApi::ApiScriptType); + MCAPI bool deserializeScriptObjectHandleToJson(class ScriptApi::ScriptObjectHandle const &, class Json::Value &); + MCAPI bool fireEventToScript(class EventInfo const &, class ScriptApi::ScriptObjectHandle &&); + MCAPI bool helpDefinePosition(class BlockPos const &, class ScriptApi::ScriptObjectHandle &); + MCAPI bool helpDefineVec3(class ScriptApi::ScriptObjectHandle &, std::string const &, class Vec3 const &); + MCAPI bool helpGetPosition(class ScriptApi::ScriptObjectHandle const &, class Vec3 &); + MCAPI bool helpGetPosition(class ScriptApi::ScriptObjectHandle const &, class BlockPos &); + MCAPI bool helpGetVec3(class ScriptApi::ScriptObjectHandle const &, std::string const &, class Vec3 &); + MCAPI bool helpSetPosition(class Vec3 const &, class ScriptApi::ScriptObjectHandle const &); + MCAPI bool helpSetPosition(class BlockPos const &, class ScriptApi::ScriptObjectHandle const &); + MCAPI bool serializeJsonToScriptObjectHandle(class ScriptApi::ScriptObjectHandle &, class Json::Value const &); + MCAPI void startScriptLoading(); + MCAPI static bool isScriptingEnabled(); + +//protected: + MCAPI struct IdentifierResult _validateObjectIdentifier(std::string const &) const; + +//private: + MCAPI void _addScriptToQueue(struct ScriptEngine::ScriptQueueData const &); + MCAPI bool _getVersionInfo(class ScriptApi::ScriptObjectHandle const &, class ScriptApi::ScriptVersionInfo &); + MCAPI bool _processSystemInitialize(); + MCAPI bool _processSystemShutdown(); + MCAPI bool _processSystemUpdate(); + MCAPI bool _runScript(struct ScriptEngine::ScriptQueueData const &); + MCAPI bool _setVersionInfo(class ScriptApi::ScriptObjectHandle const &, class ScriptApi::ScriptVersionInfo const &); + +protected: + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ScriptEquipmentComponent.hpp b/LiteLoader/Header/MC/ScriptEquipmentComponent.hpp new file mode 100644 index 0000000..5743438 --- /dev/null +++ b/LiteLoader/Header/MC/ScriptEquipmentComponent.hpp @@ -0,0 +1,45 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "ScriptApi.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ScriptEquipmentComponent { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SCRIPTEQUIPMENTCOMPONENT +public: + class ScriptEquipmentComponent& operator=(class ScriptEquipmentComponent const &) = delete; + ScriptEquipmentComponent(class ScriptEquipmentComponent const &) = delete; + ScriptEquipmentComponent() = delete; +#endif + +public: + /*0*/ virtual ~ScriptEquipmentComponent(); + /*1*/ virtual void __unk_vfn_1(); + /*2*/ virtual void __unk_vfn_2(); + /*3*/ virtual void __unk_vfn_3(); + /*4*/ virtual bool applyComponentTo(class ScriptApi::ScriptVersionInfo const &, class ScriptEngine &, class ScriptServerContext &, class Actor &, class ScriptApi::ScriptObjectHandle const &) const; + /*5*/ virtual void __unk_vfn_5(); + /*6*/ virtual void __unk_vfn_6(); + /*7*/ virtual void __unk_vfn_7(); + /*8*/ virtual bool retrieveComponentFrom(class ScriptApi::ScriptVersionInfo const &, class ScriptEngine &, class ScriptServerContext &, class Actor &, class ScriptApi::ScriptObjectHandle &) const; + /*9*/ virtual void __unk_vfn_9(); + /*10*/ virtual void __unk_vfn_10(); + /*11*/ virtual void __unk_vfn_11(); + /*12*/ virtual bool hasComponent(class ScriptApi::ScriptVersionInfo const &, class ScriptEngine &, class ScriptServerContext &, class Actor &, bool &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SCRIPTEQUIPMENTCOMPONENT +#endif + +//private: + +private: + MCAPI static class HashedString const mHash; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ScriptEquippableComponent.hpp b/LiteLoader/Header/MC/ScriptEquippableComponent.hpp new file mode 100644 index 0000000..04f2e6b --- /dev/null +++ b/LiteLoader/Header/MC/ScriptEquippableComponent.hpp @@ -0,0 +1,45 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "ScriptApi.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ScriptEquippableComponent { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SCRIPTEQUIPPABLECOMPONENT +public: + class ScriptEquippableComponent& operator=(class ScriptEquippableComponent const &) = delete; + ScriptEquippableComponent(class ScriptEquippableComponent const &) = delete; + ScriptEquippableComponent() = delete; +#endif + +public: + /*0*/ virtual ~ScriptEquippableComponent(); + /*1*/ virtual void __unk_vfn_1(); + /*2*/ virtual void __unk_vfn_2(); + /*3*/ virtual void __unk_vfn_3(); + /*4*/ virtual bool applyComponentTo(class ScriptApi::ScriptVersionInfo const &, class ScriptEngine &, class ScriptServerContext &, class Actor &, class ScriptApi::ScriptObjectHandle const &) const; + /*5*/ virtual void __unk_vfn_5(); + /*6*/ virtual void __unk_vfn_6(); + /*7*/ virtual void __unk_vfn_7(); + /*8*/ virtual bool retrieveComponentFrom(class ScriptApi::ScriptVersionInfo const &, class ScriptEngine &, class ScriptServerContext &, class Actor &, class ScriptApi::ScriptObjectHandle &) const; + /*9*/ virtual void __unk_vfn_9(); + /*10*/ virtual void __unk_vfn_10(); + /*11*/ virtual void __unk_vfn_11(); + /*12*/ virtual bool hasComponent(class ScriptApi::ScriptVersionInfo const &, class ScriptEngine &, class ScriptServerContext &, class Actor &, bool &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SCRIPTEQUIPPABLECOMPONENT +#endif + +//private: + +private: + MCAPI static class HashedString const mHash; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ScriptEventCoordinator.hpp b/LiteLoader/Header/MC/ScriptEventCoordinator.hpp new file mode 100644 index 0000000..98dde30 --- /dev/null +++ b/LiteLoader/Header/MC/ScriptEventCoordinator.hpp @@ -0,0 +1,27 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ScriptEventCoordinator { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SCRIPTEVENTCOORDINATOR +public: + class ScriptEventCoordinator& operator=(class ScriptEventCoordinator const &) = delete; + ScriptEventCoordinator(class ScriptEventCoordinator const &) = delete; + ScriptEventCoordinator() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SCRIPTEVENTCOORDINATOR +#endif + MCAPI void sendScriptBroadcastEvent(std::string const &, enum RegistrationType, bool); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ScriptEventData.hpp b/LiteLoader/Header/MC/ScriptEventData.hpp new file mode 100644 index 0000000..10f35dd --- /dev/null +++ b/LiteLoader/Header/MC/ScriptEventData.hpp @@ -0,0 +1,25 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +struct ScriptEventData { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SCRIPTEVENTDATA +public: + struct ScriptEventData& operator=(struct ScriptEventData const &) = delete; + ScriptEventData(struct ScriptEventData const &) = delete; + ScriptEventData() = delete; +#endif +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SCRIPTEVENTDATA +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ScriptEventDataBinderComponent.hpp b/LiteLoader/Header/MC/ScriptEventDataBinderComponent.hpp new file mode 100644 index 0000000..f4e4a54 --- /dev/null +++ b/LiteLoader/Header/MC/ScriptEventDataBinderComponent.hpp @@ -0,0 +1,31 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "ScriptApi.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ScriptEventDataBinderComponent { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SCRIPTEVENTDATABINDERCOMPONENT +public: + class ScriptEventDataBinderComponent& operator=(class ScriptEventDataBinderComponent const &) = delete; + ScriptEventDataBinderComponent(class ScriptEventDataBinderComponent const &) = delete; + ScriptEventDataBinderComponent() = delete; +#endif + +public: + /*0*/ virtual ~ScriptEventDataBinderComponent(); + /*1*/ virtual bool serialize(class ScriptEngine &, class ScriptApi::ScriptObjectHandle const &) const; + /*2*/ virtual bool deserialize(class ScriptEngine &, class ScriptApi::ScriptObjectHandle const &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SCRIPTEVENTDATABINDERCOMPONENT +#endif + MCAPI static std::string const TAG; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ScriptEventListener.hpp b/LiteLoader/Header/MC/ScriptEventListener.hpp new file mode 100644 index 0000000..c9e23c4 --- /dev/null +++ b/LiteLoader/Header/MC/ScriptEventListener.hpp @@ -0,0 +1,36 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ScriptEventListener { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SCRIPTEVENTLISTENER +public: + class ScriptEventListener& operator=(class ScriptEventListener const &) = delete; + ScriptEventListener(class ScriptEventListener const &) = delete; + ScriptEventListener() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SCRIPTEVENTLISTENER + MCVAPI enum EventResult onScriptAddFilterToView(std::string const &); + MCVAPI enum EventResult onScriptBroadcastEvent(std::string const &, enum RegistrationType, bool); + MCVAPI enum EventResult onScriptError(std::string const &, std::string const &); + MCVAPI enum EventResult onScriptGetComponent(std::string const &, enum RegistrationType, bool); + MCVAPI enum EventResult onScriptInternalError(std::string const &); + MCVAPI enum EventResult onScriptListenForEvent(std::string const &); + MCVAPI enum EventResult onScriptLoaded(std::string const &, unsigned __int64); + MCVAPI enum EventResult onScriptRan(std::string const &, std::string const &, bool); + MCVAPI enum EventResult onScriptRegisterSpatialView(std::string const &); + MCVAPI enum EventResult onScriptRegisterView(); +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ScriptExplodeComponent.hpp b/LiteLoader/Header/MC/ScriptExplodeComponent.hpp new file mode 100644 index 0000000..07b09de --- /dev/null +++ b/LiteLoader/Header/MC/ScriptExplodeComponent.hpp @@ -0,0 +1,45 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "ScriptApi.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ScriptExplodeComponent { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SCRIPTEXPLODECOMPONENT +public: + class ScriptExplodeComponent& operator=(class ScriptExplodeComponent const &) = delete; + ScriptExplodeComponent(class ScriptExplodeComponent const &) = delete; + ScriptExplodeComponent() = delete; +#endif + +public: + /*0*/ virtual ~ScriptExplodeComponent(); + /*1*/ virtual void __unk_vfn_1(); + /*2*/ virtual void __unk_vfn_2(); + /*3*/ virtual void __unk_vfn_3(); + /*4*/ virtual bool applyComponentTo(class ScriptApi::ScriptVersionInfo const &, class ScriptEngine &, class ScriptServerContext &, class Actor &, class ScriptApi::ScriptObjectHandle const &) const; + /*5*/ virtual void __unk_vfn_5(); + /*6*/ virtual void __unk_vfn_6(); + /*7*/ virtual void __unk_vfn_7(); + /*8*/ virtual bool retrieveComponentFrom(class ScriptApi::ScriptVersionInfo const &, class ScriptEngine &, class ScriptServerContext &, class Actor &, class ScriptApi::ScriptObjectHandle &) const; + /*9*/ virtual void __unk_vfn_9(); + /*10*/ virtual void __unk_vfn_10(); + /*11*/ virtual void __unk_vfn_11(); + /*12*/ virtual bool hasComponent(class ScriptApi::ScriptVersionInfo const &, class ScriptEngine &, class ScriptServerContext &, class Actor &, bool &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SCRIPTEXPLODECOMPONENT +#endif + +//private: + +private: + MCAPI static class HashedString const mHash; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ScriptHandContainerComponent.hpp b/LiteLoader/Header/MC/ScriptHandContainerComponent.hpp new file mode 100644 index 0000000..aa8bf61 --- /dev/null +++ b/LiteLoader/Header/MC/ScriptHandContainerComponent.hpp @@ -0,0 +1,45 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "ScriptApi.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ScriptHandContainerComponent { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SCRIPTHANDCONTAINERCOMPONENT +public: + class ScriptHandContainerComponent& operator=(class ScriptHandContainerComponent const &) = delete; + ScriptHandContainerComponent(class ScriptHandContainerComponent const &) = delete; + ScriptHandContainerComponent() = delete; +#endif + +public: + /*0*/ virtual ~ScriptHandContainerComponent(); + /*1*/ virtual bool applyComponentTo(class ScriptApi::ScriptVersionInfo const &, class ScriptEngine &, class ScriptServerContext &, class Actor &, class ScriptApi::ScriptObjectHandle const &) const; + /*2*/ virtual void __unk_vfn_2(); + /*3*/ virtual void __unk_vfn_3(); + /*4*/ virtual void __unk_vfn_4(); + /*5*/ virtual void __unk_vfn_5(); + /*6*/ virtual void __unk_vfn_6(); + /*7*/ virtual void __unk_vfn_7(); + /*8*/ virtual bool retrieveComponentFrom(class ScriptApi::ScriptVersionInfo const &, class ScriptEngine &, class ScriptServerContext &, class Actor &, class ScriptApi::ScriptObjectHandle &) const; + /*9*/ virtual void __unk_vfn_9(); + /*10*/ virtual void __unk_vfn_10(); + /*11*/ virtual void __unk_vfn_11(); + /*12*/ virtual bool hasComponent(class ScriptApi::ScriptVersionInfo const &, class ScriptEngine &, class ScriptServerContext &, class Actor &, bool &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SCRIPTHANDCONTAINERCOMPONENT +#endif + +//private: + +private: + MCAPI static class HashedString const mHash; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ScriptHealableComponent.hpp b/LiteLoader/Header/MC/ScriptHealableComponent.hpp new file mode 100644 index 0000000..bb820ac --- /dev/null +++ b/LiteLoader/Header/MC/ScriptHealableComponent.hpp @@ -0,0 +1,45 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "ScriptApi.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ScriptHealableComponent { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SCRIPTHEALABLECOMPONENT +public: + class ScriptHealableComponent& operator=(class ScriptHealableComponent const &) = delete; + ScriptHealableComponent(class ScriptHealableComponent const &) = delete; + ScriptHealableComponent() = delete; +#endif + +public: + /*0*/ virtual ~ScriptHealableComponent(); + /*1*/ virtual void __unk_vfn_1(); + /*2*/ virtual void __unk_vfn_2(); + /*3*/ virtual void __unk_vfn_3(); + /*4*/ virtual bool applyComponentTo(class ScriptApi::ScriptVersionInfo const &, class ScriptEngine &, class ScriptServerContext &, class Actor &, class ScriptApi::ScriptObjectHandle const &) const; + /*5*/ virtual void __unk_vfn_5(); + /*6*/ virtual void __unk_vfn_6(); + /*7*/ virtual void __unk_vfn_7(); + /*8*/ virtual bool retrieveComponentFrom(class ScriptApi::ScriptVersionInfo const &, class ScriptEngine &, class ScriptServerContext &, class Actor &, class ScriptApi::ScriptObjectHandle &) const; + /*9*/ virtual void __unk_vfn_9(); + /*10*/ virtual void __unk_vfn_10(); + /*11*/ virtual void __unk_vfn_11(); + /*12*/ virtual bool hasComponent(class ScriptApi::ScriptVersionInfo const &, class ScriptEngine &, class ScriptServerContext &, class Actor &, bool &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SCRIPTHEALABLECOMPONENT +#endif + +//private: + +private: + MCAPI static class HashedString const mHash; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ScriptHealthComponent.hpp b/LiteLoader/Header/MC/ScriptHealthComponent.hpp new file mode 100644 index 0000000..c590180 --- /dev/null +++ b/LiteLoader/Header/MC/ScriptHealthComponent.hpp @@ -0,0 +1,45 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "ScriptApi.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ScriptHealthComponent { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SCRIPTHEALTHCOMPONENT +public: + class ScriptHealthComponent& operator=(class ScriptHealthComponent const &) = delete; + ScriptHealthComponent(class ScriptHealthComponent const &) = delete; + ScriptHealthComponent() = delete; +#endif + +public: + /*0*/ virtual ~ScriptHealthComponent(); + /*1*/ virtual void __unk_vfn_1(); + /*2*/ virtual void __unk_vfn_2(); + /*3*/ virtual void __unk_vfn_3(); + /*4*/ virtual bool applyComponentTo(class ScriptApi::ScriptVersionInfo const &, class ScriptEngine &, class ScriptServerContext &, class Actor &, class ScriptApi::ScriptObjectHandle const &) const; + /*5*/ virtual void __unk_vfn_5(); + /*6*/ virtual void __unk_vfn_6(); + /*7*/ virtual void __unk_vfn_7(); + /*8*/ virtual bool retrieveComponentFrom(class ScriptApi::ScriptVersionInfo const &, class ScriptEngine &, class ScriptServerContext &, class Actor &, class ScriptApi::ScriptObjectHandle &) const; + /*9*/ virtual void __unk_vfn_9(); + /*10*/ virtual void __unk_vfn_10(); + /*11*/ virtual void __unk_vfn_11(); + /*12*/ virtual bool hasComponent(class ScriptApi::ScriptVersionInfo const &, class ScriptEngine &, class ScriptServerContext &, class Actor &, bool &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SCRIPTHEALTHCOMPONENT +#endif + +//private: + +private: + MCAPI static class HashedString const mHash; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ScriptHotbarContainerComponent.hpp b/LiteLoader/Header/MC/ScriptHotbarContainerComponent.hpp new file mode 100644 index 0000000..d4c3298 --- /dev/null +++ b/LiteLoader/Header/MC/ScriptHotbarContainerComponent.hpp @@ -0,0 +1,45 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "ScriptApi.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ScriptHotbarContainerComponent { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SCRIPTHOTBARCONTAINERCOMPONENT +public: + class ScriptHotbarContainerComponent& operator=(class ScriptHotbarContainerComponent const &) = delete; + ScriptHotbarContainerComponent(class ScriptHotbarContainerComponent const &) = delete; + ScriptHotbarContainerComponent() = delete; +#endif + +public: + /*0*/ virtual ~ScriptHotbarContainerComponent(); + /*1*/ virtual bool applyComponentTo(class ScriptApi::ScriptVersionInfo const &, class ScriptEngine &, class ScriptServerContext &, class Actor &, class ScriptApi::ScriptObjectHandle const &) const; + /*2*/ virtual void __unk_vfn_2(); + /*3*/ virtual void __unk_vfn_3(); + /*4*/ virtual void __unk_vfn_4(); + /*5*/ virtual void __unk_vfn_5(); + /*6*/ virtual void __unk_vfn_6(); + /*7*/ virtual void __unk_vfn_7(); + /*8*/ virtual bool retrieveComponentFrom(class ScriptApi::ScriptVersionInfo const &, class ScriptEngine &, class ScriptServerContext &, class Actor &, class ScriptApi::ScriptObjectHandle &) const; + /*9*/ virtual void __unk_vfn_9(); + /*10*/ virtual void __unk_vfn_10(); + /*11*/ virtual void __unk_vfn_11(); + /*12*/ virtual bool hasComponent(class ScriptApi::ScriptVersionInfo const &, class ScriptEngine &, class ScriptServerContext &, class Actor &, bool &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SCRIPTHOTBARCONTAINERCOMPONENT +#endif + +//private: + +private: + MCAPI static class HashedString const mHash; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ScriptIdentifierBinderComponent.hpp b/LiteLoader/Header/MC/ScriptIdentifierBinderComponent.hpp new file mode 100644 index 0000000..9802870 --- /dev/null +++ b/LiteLoader/Header/MC/ScriptIdentifierBinderComponent.hpp @@ -0,0 +1,31 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "ScriptApi.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ScriptIdentifierBinderComponent { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SCRIPTIDENTIFIERBINDERCOMPONENT +public: + class ScriptIdentifierBinderComponent& operator=(class ScriptIdentifierBinderComponent const &) = delete; + ScriptIdentifierBinderComponent(class ScriptIdentifierBinderComponent const &) = delete; + ScriptIdentifierBinderComponent() = delete; +#endif + +public: + /*0*/ virtual ~ScriptIdentifierBinderComponent(); + /*1*/ virtual bool serialize(class ScriptEngine &, class ScriptApi::ScriptObjectHandle const &) const; + /*2*/ virtual bool deserialize(class ScriptEngine &, class ScriptApi::ScriptObjectHandle const &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SCRIPTIDENTIFIERBINDERCOMPONENT +#endif + MCAPI static std::string const TAG; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ScriptInteractComponent.hpp b/LiteLoader/Header/MC/ScriptInteractComponent.hpp new file mode 100644 index 0000000..3007f11 --- /dev/null +++ b/LiteLoader/Header/MC/ScriptInteractComponent.hpp @@ -0,0 +1,45 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "ScriptApi.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ScriptInteractComponent { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SCRIPTINTERACTCOMPONENT +public: + class ScriptInteractComponent& operator=(class ScriptInteractComponent const &) = delete; + ScriptInteractComponent(class ScriptInteractComponent const &) = delete; + ScriptInteractComponent() = delete; +#endif + +public: + /*0*/ virtual ~ScriptInteractComponent(); + /*1*/ virtual void __unk_vfn_1(); + /*2*/ virtual void __unk_vfn_2(); + /*3*/ virtual void __unk_vfn_3(); + /*4*/ virtual bool applyComponentTo(class ScriptApi::ScriptVersionInfo const &, class ScriptEngine &, class ScriptServerContext &, class Actor &, class ScriptApi::ScriptObjectHandle const &) const; + /*5*/ virtual void __unk_vfn_5(); + /*6*/ virtual void __unk_vfn_6(); + /*7*/ virtual void __unk_vfn_7(); + /*8*/ virtual bool retrieveComponentFrom(class ScriptApi::ScriptVersionInfo const &, class ScriptEngine &, class ScriptServerContext &, class Actor &, class ScriptApi::ScriptObjectHandle &) const; + /*9*/ virtual void __unk_vfn_9(); + /*10*/ virtual void __unk_vfn_10(); + /*11*/ virtual void __unk_vfn_11(); + /*12*/ virtual bool hasComponent(class ScriptApi::ScriptVersionInfo const &, class ScriptEngine &, class ScriptServerContext &, class Actor &, bool &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SCRIPTINTERACTCOMPONENT +#endif + +//private: + +private: + MCAPI static class HashedString const mHash; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ScriptInventoryComponent.hpp b/LiteLoader/Header/MC/ScriptInventoryComponent.hpp new file mode 100644 index 0000000..36bf21f --- /dev/null +++ b/LiteLoader/Header/MC/ScriptInventoryComponent.hpp @@ -0,0 +1,45 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "ScriptApi.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ScriptInventoryComponent { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SCRIPTINVENTORYCOMPONENT +public: + class ScriptInventoryComponent& operator=(class ScriptInventoryComponent const &) = delete; + ScriptInventoryComponent(class ScriptInventoryComponent const &) = delete; + ScriptInventoryComponent() = delete; +#endif + +public: + /*0*/ virtual ~ScriptInventoryComponent(); + /*1*/ virtual void __unk_vfn_1(); + /*2*/ virtual void __unk_vfn_2(); + /*3*/ virtual void __unk_vfn_3(); + /*4*/ virtual bool applyComponentTo(class ScriptApi::ScriptVersionInfo const &, class ScriptEngine &, class ScriptServerContext &, class Actor &, class ScriptApi::ScriptObjectHandle const &) const; + /*5*/ virtual void __unk_vfn_5(); + /*6*/ virtual void __unk_vfn_6(); + /*7*/ virtual void __unk_vfn_7(); + /*8*/ virtual bool retrieveComponentFrom(class ScriptApi::ScriptVersionInfo const &, class ScriptEngine &, class ScriptServerContext &, class Actor &, class ScriptApi::ScriptObjectHandle &) const; + /*9*/ virtual void __unk_vfn_9(); + /*10*/ virtual void __unk_vfn_10(); + /*11*/ virtual void __unk_vfn_11(); + /*12*/ virtual bool hasComponent(class ScriptApi::ScriptVersionInfo const &, class ScriptEngine &, class ScriptServerContext &, class Actor &, bool &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SCRIPTINVENTORYCOMPONENT +#endif + +//private: + +private: + MCAPI static class HashedString const mHash; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ScriptInventoryContainerComponent.hpp b/LiteLoader/Header/MC/ScriptInventoryContainerComponent.hpp new file mode 100644 index 0000000..b2b2467 --- /dev/null +++ b/LiteLoader/Header/MC/ScriptInventoryContainerComponent.hpp @@ -0,0 +1,41 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "ScriptApi.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ScriptInventoryContainerComponent { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SCRIPTINVENTORYCONTAINERCOMPONENT +public: + class ScriptInventoryContainerComponent& operator=(class ScriptInventoryContainerComponent const &) = delete; + ScriptInventoryContainerComponent(class ScriptInventoryContainerComponent const &) = delete; + ScriptInventoryContainerComponent() = delete; +#endif + +public: + /*0*/ virtual ~ScriptInventoryContainerComponent(); + /*1*/ virtual bool applyComponentTo(class ScriptApi::ScriptVersionInfo const &, class ScriptEngine &, class ScriptServerContext &, class Actor &, class ScriptApi::ScriptObjectHandle const &) const; + /*2*/ virtual void __unk_vfn_2(); + /*3*/ virtual void __unk_vfn_3(); + /*4*/ virtual void __unk_vfn_4(); + /*5*/ virtual void __unk_vfn_5(); + /*6*/ virtual void __unk_vfn_6(); + /*7*/ virtual void __unk_vfn_7(); + /*8*/ virtual bool retrieveComponentFrom(class ScriptApi::ScriptVersionInfo const &, class ScriptEngine &, class ScriptServerContext &, class Actor &, class ScriptApi::ScriptObjectHandle &) const; + /*9*/ virtual void __unk_vfn_9(); + /*10*/ virtual void __unk_vfn_10(); + /*11*/ virtual void __unk_vfn_11(); + /*12*/ virtual bool hasComponent(class ScriptApi::ScriptVersionInfo const &, class ScriptEngine &, class ScriptServerContext &, class Actor &, bool &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SCRIPTINVENTORYCONTAINERCOMPONENT +#endif + MCAPI static class HashedString const mHash; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ScriptItemStackBinderComponent.hpp b/LiteLoader/Header/MC/ScriptItemStackBinderComponent.hpp new file mode 100644 index 0000000..f872eae --- /dev/null +++ b/LiteLoader/Header/MC/ScriptItemStackBinderComponent.hpp @@ -0,0 +1,35 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "ScriptApi.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ScriptItemStackBinderComponent { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SCRIPTITEMSTACKBINDERCOMPONENT +public: + class ScriptItemStackBinderComponent& operator=(class ScriptItemStackBinderComponent const &) = delete; + ScriptItemStackBinderComponent(class ScriptItemStackBinderComponent const &) = delete; + ScriptItemStackBinderComponent() = delete; +#endif + +public: + /*0*/ virtual ~ScriptItemStackBinderComponent(); + /*1*/ virtual bool serialize(class ScriptEngine &, class ScriptApi::ScriptObjectHandle const &) const; + /*2*/ virtual bool deserialize(class ScriptEngine &, class ScriptApi::ScriptObjectHandle const &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SCRIPTITEMSTACKBINDERCOMPONENT +#endif + MCAPI ScriptItemStackBinderComponent(class entt::Registry &, class ItemInstance const &); + MCAPI static std::string const COUNT; + MCAPI static std::string const ITEM; + MCAPI static std::string const TAG; + MCAPI static std::string const UNDEFINED; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ScriptLevelAreaBinderComponent.hpp b/LiteLoader/Header/MC/ScriptLevelAreaBinderComponent.hpp new file mode 100644 index 0000000..b7433bb --- /dev/null +++ b/LiteLoader/Header/MC/ScriptLevelAreaBinderComponent.hpp @@ -0,0 +1,31 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "ScriptApi.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ScriptLevelAreaBinderComponent { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SCRIPTLEVELAREABINDERCOMPONENT +public: + class ScriptLevelAreaBinderComponent& operator=(class ScriptLevelAreaBinderComponent const &) = delete; + ScriptLevelAreaBinderComponent(class ScriptLevelAreaBinderComponent const &) = delete; + ScriptLevelAreaBinderComponent() = delete; +#endif + +public: + /*0*/ virtual ~ScriptLevelAreaBinderComponent(); + /*1*/ virtual bool serialize(class ScriptEngine &, class ScriptApi::ScriptObjectHandle const &) const; + /*2*/ virtual bool deserialize(class ScriptEngine &, class ScriptApi::ScriptObjectHandle const &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SCRIPTLEVELAREABINDERCOMPONENT +#endif + MCAPI static std::string const TAG; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ScriptLevelBinderComponent.hpp b/LiteLoader/Header/MC/ScriptLevelBinderComponent.hpp new file mode 100644 index 0000000..7da5e8d --- /dev/null +++ b/LiteLoader/Header/MC/ScriptLevelBinderComponent.hpp @@ -0,0 +1,31 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "ScriptApi.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ScriptLevelBinderComponent { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SCRIPTLEVELBINDERCOMPONENT +public: + class ScriptLevelBinderComponent& operator=(class ScriptLevelBinderComponent const &) = delete; + ScriptLevelBinderComponent(class ScriptLevelBinderComponent const &) = delete; + ScriptLevelBinderComponent() = delete; +#endif + +public: + /*0*/ virtual ~ScriptLevelBinderComponent(); + /*1*/ virtual bool serialize(class ScriptEngine &, class ScriptApi::ScriptObjectHandle const &) const; + /*2*/ virtual bool deserialize(class ScriptEngine &, class ScriptApi::ScriptObjectHandle const &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SCRIPTLEVELBINDERCOMPONENT +#endif + MCAPI static std::string const TAG; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ScriptLevelTickingAreasComponent.hpp b/LiteLoader/Header/MC/ScriptLevelTickingAreasComponent.hpp new file mode 100644 index 0000000..2f5b7f0 --- /dev/null +++ b/LiteLoader/Header/MC/ScriptLevelTickingAreasComponent.hpp @@ -0,0 +1,41 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "ScriptApi.hpp" +#include "ScriptBlockContainerComponent.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ScriptLevelTickingAreasComponent : public ScriptBlockContainerComponent { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SCRIPTLEVELTICKINGAREASCOMPONENT +public: + class ScriptLevelTickingAreasComponent& operator=(class ScriptLevelTickingAreasComponent const &) = delete; + ScriptLevelTickingAreasComponent(class ScriptLevelTickingAreasComponent const &) = delete; + ScriptLevelTickingAreasComponent() = delete; +#endif + +public: + /*0*/ virtual ~ScriptLevelTickingAreasComponent(); + /*1*/ virtual void __unk_vfn_1(); + /*2*/ virtual void __unk_vfn_2(); + /*3*/ virtual bool applyComponentTo(class ScriptApi::ScriptVersionInfo const &, class ScriptEngine &, class ScriptServerContext &, class Level &, class ScriptApi::ScriptObjectHandle const &) const; + /*4*/ virtual void __unk_vfn_4(); + /*6*/ virtual bool retrieveComponentFrom(class ScriptApi::ScriptVersionInfo const &, class ScriptEngine &, class ScriptServerContext &, class Level &, class ScriptApi::ScriptObjectHandle &) const; + /*9*/ virtual bool hasComponent(class ScriptApi::ScriptVersionInfo const &, class ScriptEngine &, class ScriptServerContext &, class Level &, bool &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SCRIPTLEVELTICKINGAREASCOMPONENT + MCVAPI bool hasComponent(class ScriptApi::ScriptVersionInfo const &, class ScriptEngine &, class ScriptServerContext &, class Actor &, bool &) const; +#endif + +//private: + +private: + MCAPI static class HashedString const mHash; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ScriptLevelWeatherComponent.hpp b/LiteLoader/Header/MC/ScriptLevelWeatherComponent.hpp new file mode 100644 index 0000000..7ca2dbe --- /dev/null +++ b/LiteLoader/Header/MC/ScriptLevelWeatherComponent.hpp @@ -0,0 +1,41 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "ScriptApi.hpp" +#include "ScriptBlockContainerComponent.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ScriptLevelWeatherComponent : public ScriptBlockContainerComponent { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SCRIPTLEVELWEATHERCOMPONENT +public: + class ScriptLevelWeatherComponent& operator=(class ScriptLevelWeatherComponent const &) = delete; + ScriptLevelWeatherComponent(class ScriptLevelWeatherComponent const &) = delete; + ScriptLevelWeatherComponent() = delete; +#endif + +public: + /*0*/ virtual ~ScriptLevelWeatherComponent(); + /*1*/ virtual void __unk_vfn_1(); + /*2*/ virtual void __unk_vfn_2(); + /*3*/ virtual bool applyComponentTo(class ScriptApi::ScriptVersionInfo const &, class ScriptEngine &, class ScriptServerContext &, class Level &, class ScriptApi::ScriptObjectHandle const &) const; + /*4*/ virtual void __unk_vfn_4(); + /*6*/ virtual bool retrieveComponentFrom(class ScriptApi::ScriptVersionInfo const &, class ScriptEngine &, class ScriptServerContext &, class Level &, class ScriptApi::ScriptObjectHandle &) const; + /*9*/ virtual bool hasComponent(class ScriptApi::ScriptVersionInfo const &, class ScriptEngine &, class ScriptServerContext &, class Level &, bool &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SCRIPTLEVELWEATHERCOMPONENT + MCVAPI bool hasComponent(class ScriptApi::ScriptVersionInfo const &, class ScriptEngine &, class ScriptServerContext &, class Actor &, bool &) const; +#endif + +//private: + +private: + MCAPI static class HashedString const mHash; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ScriptLevelWeatherEventListener.hpp b/LiteLoader/Header/MC/ScriptLevelWeatherEventListener.hpp new file mode 100644 index 0000000..264f95e --- /dev/null +++ b/LiteLoader/Header/MC/ScriptLevelWeatherEventListener.hpp @@ -0,0 +1,35 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ScriptLevelWeatherEventListener { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SCRIPTLEVELWEATHEREVENTLISTENER +public: + class ScriptLevelWeatherEventListener& operator=(class ScriptLevelWeatherEventListener const &) = delete; + ScriptLevelWeatherEventListener(class ScriptLevelWeatherEventListener const &) = delete; + ScriptLevelWeatherEventListener() = delete; +#endif + +public: + /*0*/ virtual ~ScriptLevelWeatherEventListener(); + /*1*/ virtual void __unk_vfn_1(); + /*2*/ virtual void __unk_vfn_2(); + /*3*/ virtual void __unk_vfn_3(); + /*4*/ virtual void __unk_vfn_4(); + /*5*/ virtual void __unk_vfn_5(); + /*6*/ virtual void __unk_vfn_6(); + /*7*/ virtual void __unk_vfn_7(); + /*8*/ virtual enum EventResult onLevelWeatherChange(std::string const &, bool, bool); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SCRIPTLEVELWEATHEREVENTLISTENER +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ScriptLookAtComponent.hpp b/LiteLoader/Header/MC/ScriptLookAtComponent.hpp new file mode 100644 index 0000000..b2cf503 --- /dev/null +++ b/LiteLoader/Header/MC/ScriptLookAtComponent.hpp @@ -0,0 +1,45 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "ScriptApi.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ScriptLookAtComponent { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SCRIPTLOOKATCOMPONENT +public: + class ScriptLookAtComponent& operator=(class ScriptLookAtComponent const &) = delete; + ScriptLookAtComponent(class ScriptLookAtComponent const &) = delete; + ScriptLookAtComponent() = delete; +#endif + +public: + /*0*/ virtual ~ScriptLookAtComponent(); + /*1*/ virtual void __unk_vfn_1(); + /*2*/ virtual void __unk_vfn_2(); + /*3*/ virtual void __unk_vfn_3(); + /*4*/ virtual bool applyComponentTo(class ScriptApi::ScriptVersionInfo const &, class ScriptEngine &, class ScriptServerContext &, class Actor &, class ScriptApi::ScriptObjectHandle const &) const; + /*5*/ virtual void __unk_vfn_5(); + /*6*/ virtual void __unk_vfn_6(); + /*7*/ virtual void __unk_vfn_7(); + /*8*/ virtual bool retrieveComponentFrom(class ScriptApi::ScriptVersionInfo const &, class ScriptEngine &, class ScriptServerContext &, class Actor &, class ScriptApi::ScriptObjectHandle &) const; + /*9*/ virtual void __unk_vfn_9(); + /*10*/ virtual void __unk_vfn_10(); + /*11*/ virtual void __unk_vfn_11(); + /*12*/ virtual bool hasComponent(class ScriptApi::ScriptVersionInfo const &, class ScriptEngine &, class ScriptServerContext &, class Actor &, bool &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SCRIPTLOOKATCOMPONENT +#endif + +//private: + +private: + MCAPI static class HashedString const mHash; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ScriptNameableComponent.hpp b/LiteLoader/Header/MC/ScriptNameableComponent.hpp new file mode 100644 index 0000000..bad9058 --- /dev/null +++ b/LiteLoader/Header/MC/ScriptNameableComponent.hpp @@ -0,0 +1,45 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "ScriptApi.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ScriptNameableComponent { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SCRIPTNAMEABLECOMPONENT +public: + class ScriptNameableComponent& operator=(class ScriptNameableComponent const &) = delete; + ScriptNameableComponent(class ScriptNameableComponent const &) = delete; + ScriptNameableComponent() = delete; +#endif + +public: + /*0*/ virtual ~ScriptNameableComponent(); + /*1*/ virtual void __unk_vfn_1(); + /*2*/ virtual void __unk_vfn_2(); + /*3*/ virtual void __unk_vfn_3(); + /*4*/ virtual bool applyComponentTo(class ScriptApi::ScriptVersionInfo const &, class ScriptEngine &, class ScriptServerContext &, class Actor &, class ScriptApi::ScriptObjectHandle const &) const; + /*5*/ virtual void __unk_vfn_5(); + /*6*/ virtual void __unk_vfn_6(); + /*7*/ virtual void __unk_vfn_7(); + /*8*/ virtual bool retrieveComponentFrom(class ScriptApi::ScriptVersionInfo const &, class ScriptEngine &, class ScriptServerContext &, class Actor &, class ScriptApi::ScriptObjectHandle &) const; + /*9*/ virtual void __unk_vfn_9(); + /*10*/ virtual void __unk_vfn_10(); + /*11*/ virtual void __unk_vfn_11(); + /*12*/ virtual bool hasComponent(class ScriptApi::ScriptVersionInfo const &, class ScriptEngine &, class ScriptServerContext &, class Actor &, bool &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SCRIPTNAMEABLECOMPONENT +#endif + +//private: + +private: + MCAPI static class HashedString const mHash; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ScriptObjectBinder.hpp b/LiteLoader/Header/MC/ScriptObjectBinder.hpp new file mode 100644 index 0000000..475dc7c --- /dev/null +++ b/LiteLoader/Header/MC/ScriptObjectBinder.hpp @@ -0,0 +1,30 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "ScriptApi.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ScriptObjectBinder { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SCRIPTOBJECTBINDER +public: + class ScriptObjectBinder& operator=(class ScriptObjectBinder const &) = delete; + ScriptObjectBinder(class ScriptObjectBinder const &) = delete; + ScriptObjectBinder() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SCRIPTOBJECTBINDER +#endif + MCAPI bool serialize(class ScriptEngine &, class ScriptApi::ScriptObjectHandle &) const; + MCAPI static std::string const TYPE_TAG; + MCAPI static std::unique_ptr extract(class ScriptEngine &, class ScriptApi::ScriptObjectHandle const &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ScriptPositionComponent.hpp b/LiteLoader/Header/MC/ScriptPositionComponent.hpp new file mode 100644 index 0000000..4e63d96 --- /dev/null +++ b/LiteLoader/Header/MC/ScriptPositionComponent.hpp @@ -0,0 +1,45 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "ScriptApi.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ScriptPositionComponent { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SCRIPTPOSITIONCOMPONENT +public: + class ScriptPositionComponent& operator=(class ScriptPositionComponent const &) = delete; + ScriptPositionComponent(class ScriptPositionComponent const &) = delete; + ScriptPositionComponent() = delete; +#endif + +public: + /*0*/ virtual ~ScriptPositionComponent(); + /*1*/ virtual void __unk_vfn_1(); + /*2*/ virtual void __unk_vfn_2(); + /*3*/ virtual void __unk_vfn_3(); + /*4*/ virtual bool applyComponentTo(class ScriptApi::ScriptVersionInfo const &, class ScriptEngine &, class ScriptServerContext &, class Actor &, class ScriptApi::ScriptObjectHandle const &) const; + /*5*/ virtual void __unk_vfn_5(); + /*6*/ virtual void __unk_vfn_6(); + /*7*/ virtual void __unk_vfn_7(); + /*8*/ virtual bool retrieveComponentFrom(class ScriptApi::ScriptVersionInfo const &, class ScriptEngine &, class ScriptServerContext &, class Actor &, class ScriptApi::ScriptObjectHandle &) const; + /*9*/ virtual void __unk_vfn_9(); + /*10*/ virtual void __unk_vfn_10(); + /*11*/ virtual void __unk_vfn_11(); + /*12*/ virtual bool hasComponent(class ScriptApi::ScriptVersionInfo const &, class ScriptEngine &, class ScriptServerContext &, class Actor &, bool &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SCRIPTPOSITIONCOMPONENT +#endif + +//private: + +private: + MCAPI static class HashedString const mHash; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ScriptQueries.hpp b/LiteLoader/Header/MC/ScriptQueries.hpp new file mode 100644 index 0000000..b9e61db --- /dev/null +++ b/LiteLoader/Header/MC/ScriptQueries.hpp @@ -0,0 +1,29 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "ScriptApi.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ScriptQueries { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SCRIPTQUERIES +public: + class ScriptQueries& operator=(class ScriptQueries const &) = delete; + ScriptQueries(class ScriptQueries const &) = delete; + ScriptQueries() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SCRIPTQUERIES +#endif + MCAPI bool getEntitiesFromQuery(class ScriptApi::ScriptVersionInfo const &, class ScriptEngine &, class entt::Registry &, unsigned int, std::vector &); + MCAPI bool getEntitiesFromQuery(class ScriptApi::ScriptVersionInfo const &, class ScriptEngine &, class entt::Registry &, unsigned int, double, double, double, double, double, double, std::vector &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ScriptQueryBinderComponent.hpp b/LiteLoader/Header/MC/ScriptQueryBinderComponent.hpp new file mode 100644 index 0000000..a5aa998 --- /dev/null +++ b/LiteLoader/Header/MC/ScriptQueryBinderComponent.hpp @@ -0,0 +1,31 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "ScriptApi.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ScriptQueryBinderComponent { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SCRIPTQUERYBINDERCOMPONENT +public: + class ScriptQueryBinderComponent& operator=(class ScriptQueryBinderComponent const &) = delete; + ScriptQueryBinderComponent(class ScriptQueryBinderComponent const &) = delete; + ScriptQueryBinderComponent() = delete; +#endif + +public: + /*0*/ virtual ~ScriptQueryBinderComponent(); + /*1*/ virtual bool serialize(class ScriptEngine &, class ScriptApi::ScriptObjectHandle const &) const; + /*2*/ virtual bool deserialize(class ScriptEngine &, class ScriptApi::ScriptObjectHandle const &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SCRIPTQUERYBINDERCOMPONENT +#endif + MCAPI static std::string const TAG; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ScriptQueryComponent.hpp b/LiteLoader/Header/MC/ScriptQueryComponent.hpp new file mode 100644 index 0000000..6d3bd38 --- /dev/null +++ b/LiteLoader/Header/MC/ScriptQueryComponent.hpp @@ -0,0 +1,27 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +struct ScriptQueryComponent { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SCRIPTQUERYCOMPONENT +public: + struct ScriptQueryComponent& operator=(struct ScriptQueryComponent const &) = delete; + ScriptQueryComponent(struct ScriptQueryComponent const &) = delete; + ScriptQueryComponent() = delete; +#endif +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SCRIPTQUERYCOMPONENT +#endif + MCAPI ScriptQueryComponent(struct ScriptQueryComponent &&); + MCAPI ~ScriptQueryComponent(); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ScriptRotationComponent.hpp b/LiteLoader/Header/MC/ScriptRotationComponent.hpp new file mode 100644 index 0000000..0955825 --- /dev/null +++ b/LiteLoader/Header/MC/ScriptRotationComponent.hpp @@ -0,0 +1,45 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "ScriptApi.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ScriptRotationComponent { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SCRIPTROTATIONCOMPONENT +public: + class ScriptRotationComponent& operator=(class ScriptRotationComponent const &) = delete; + ScriptRotationComponent(class ScriptRotationComponent const &) = delete; + ScriptRotationComponent() = delete; +#endif + +public: + /*0*/ virtual ~ScriptRotationComponent(); + /*1*/ virtual void __unk_vfn_1(); + /*2*/ virtual void __unk_vfn_2(); + /*3*/ virtual void __unk_vfn_3(); + /*4*/ virtual bool applyComponentTo(class ScriptApi::ScriptVersionInfo const &, class ScriptEngine &, class ScriptServerContext &, class Actor &, class ScriptApi::ScriptObjectHandle const &) const; + /*5*/ virtual void __unk_vfn_5(); + /*6*/ virtual void __unk_vfn_6(); + /*7*/ virtual void __unk_vfn_7(); + /*8*/ virtual bool retrieveComponentFrom(class ScriptApi::ScriptVersionInfo const &, class ScriptEngine &, class ScriptServerContext &, class Actor &, class ScriptApi::ScriptObjectHandle &) const; + /*9*/ virtual void __unk_vfn_9(); + /*10*/ virtual void __unk_vfn_10(); + /*11*/ virtual void __unk_vfn_11(); + /*12*/ virtual bool hasComponent(class ScriptApi::ScriptVersionInfo const &, class ScriptEngine &, class ScriptServerContext &, class Actor &, bool &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SCRIPTROTATIONCOMPONENT +#endif + +//private: + +private: + MCAPI static class HashedString const mHash; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ScriptServerActorAcquiredItemEvent.hpp b/LiteLoader/Header/MC/ScriptServerActorAcquiredItemEvent.hpp new file mode 100644 index 0000000..d66d179 --- /dev/null +++ b/LiteLoader/Header/MC/ScriptServerActorAcquiredItemEvent.hpp @@ -0,0 +1,30 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "ScriptApi.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +struct ScriptServerActorAcquiredItemEvent { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SCRIPTSERVERACTORACQUIREDITEMEVENT +public: + struct ScriptServerActorAcquiredItemEvent& operator=(struct ScriptServerActorAcquiredItemEvent const &) = delete; + ScriptServerActorAcquiredItemEvent(struct ScriptServerActorAcquiredItemEvent const &) = delete; + ScriptServerActorAcquiredItemEvent() = delete; +#endif +public: + /*0*/ virtual ~ScriptServerActorAcquiredItemEvent(); + /*1*/ virtual bool _serialize(class ScriptEngine &, class ScriptApi::ScriptObjectHandle &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SCRIPTSERVERACTORACQUIREDITEMEVENT +#endif + +//private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ScriptServerActorAttackEvent.hpp b/LiteLoader/Header/MC/ScriptServerActorAttackEvent.hpp new file mode 100644 index 0000000..2e563b9 --- /dev/null +++ b/LiteLoader/Header/MC/ScriptServerActorAttackEvent.hpp @@ -0,0 +1,30 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "ScriptApi.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +struct ScriptServerActorAttackEvent { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SCRIPTSERVERACTORATTACKEVENT +public: + struct ScriptServerActorAttackEvent& operator=(struct ScriptServerActorAttackEvent const &) = delete; + ScriptServerActorAttackEvent(struct ScriptServerActorAttackEvent const &) = delete; + ScriptServerActorAttackEvent() = delete; +#endif +public: + /*0*/ virtual ~ScriptServerActorAttackEvent(); + /*1*/ virtual bool _serialize(class ScriptEngine &, class ScriptApi::ScriptObjectHandle &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SCRIPTSERVERACTORATTACKEVENT +#endif + +//private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ScriptServerActorCarriedItemChangedEvent.hpp b/LiteLoader/Header/MC/ScriptServerActorCarriedItemChangedEvent.hpp new file mode 100644 index 0000000..c96e878 --- /dev/null +++ b/LiteLoader/Header/MC/ScriptServerActorCarriedItemChangedEvent.hpp @@ -0,0 +1,30 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "ScriptApi.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +struct ScriptServerActorCarriedItemChangedEvent { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SCRIPTSERVERACTORCARRIEDITEMCHANGEDEVENT +public: + struct ScriptServerActorCarriedItemChangedEvent& operator=(struct ScriptServerActorCarriedItemChangedEvent const &) = delete; + ScriptServerActorCarriedItemChangedEvent(struct ScriptServerActorCarriedItemChangedEvent const &) = delete; + ScriptServerActorCarriedItemChangedEvent() = delete; +#endif +public: + /*0*/ virtual ~ScriptServerActorCarriedItemChangedEvent(); + /*1*/ virtual bool _serialize(class ScriptEngine &, class ScriptApi::ScriptObjectHandle &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SCRIPTSERVERACTORCARRIEDITEMCHANGEDEVENT +#endif + +//private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ScriptServerActorCreatedEvent.hpp b/LiteLoader/Header/MC/ScriptServerActorCreatedEvent.hpp new file mode 100644 index 0000000..db4f98e --- /dev/null +++ b/LiteLoader/Header/MC/ScriptServerActorCreatedEvent.hpp @@ -0,0 +1,30 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "ScriptApi.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +struct ScriptServerActorCreatedEvent { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SCRIPTSERVERACTORCREATEDEVENT +public: + struct ScriptServerActorCreatedEvent& operator=(struct ScriptServerActorCreatedEvent const &) = delete; + ScriptServerActorCreatedEvent(struct ScriptServerActorCreatedEvent const &) = delete; + ScriptServerActorCreatedEvent() = delete; +#endif +public: + /*0*/ virtual ~ScriptServerActorCreatedEvent(); + /*1*/ virtual bool _serialize(class ScriptEngine &, class ScriptApi::ScriptObjectHandle &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SCRIPTSERVERACTORCREATEDEVENT +#endif + +//private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ScriptServerActorDeathEvent.hpp b/LiteLoader/Header/MC/ScriptServerActorDeathEvent.hpp new file mode 100644 index 0000000..b82b7f8 --- /dev/null +++ b/LiteLoader/Header/MC/ScriptServerActorDeathEvent.hpp @@ -0,0 +1,30 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "ScriptApi.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +struct ScriptServerActorDeathEvent { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SCRIPTSERVERACTORDEATHEVENT +public: + struct ScriptServerActorDeathEvent& operator=(struct ScriptServerActorDeathEvent const &) = delete; + ScriptServerActorDeathEvent(struct ScriptServerActorDeathEvent const &) = delete; + ScriptServerActorDeathEvent() = delete; +#endif +public: + /*0*/ virtual ~ScriptServerActorDeathEvent(); + /*1*/ virtual bool _serialize(class ScriptEngine &, class ScriptApi::ScriptObjectHandle &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SCRIPTSERVERACTORDEATHEVENT +#endif + +//private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ScriptServerActorDefinitionEventTriggeredEvent.hpp b/LiteLoader/Header/MC/ScriptServerActorDefinitionEventTriggeredEvent.hpp new file mode 100644 index 0000000..e2a119f --- /dev/null +++ b/LiteLoader/Header/MC/ScriptServerActorDefinitionEventTriggeredEvent.hpp @@ -0,0 +1,30 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "ScriptApi.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +struct ScriptServerActorDefinitionEventTriggeredEvent { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SCRIPTSERVERACTORDEFINITIONEVENTTRIGGEREDEVENT +public: + struct ScriptServerActorDefinitionEventTriggeredEvent& operator=(struct ScriptServerActorDefinitionEventTriggeredEvent const &) = delete; + ScriptServerActorDefinitionEventTriggeredEvent(struct ScriptServerActorDefinitionEventTriggeredEvent const &) = delete; + ScriptServerActorDefinitionEventTriggeredEvent() = delete; +#endif +public: + /*0*/ virtual ~ScriptServerActorDefinitionEventTriggeredEvent(); + /*1*/ virtual bool _serialize(class ScriptEngine &, class ScriptApi::ScriptObjectHandle &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SCRIPTSERVERACTORDEFINITIONEVENTTRIGGEREDEVENT +#endif + +//private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ScriptServerActorDroppedItemEvent.hpp b/LiteLoader/Header/MC/ScriptServerActorDroppedItemEvent.hpp new file mode 100644 index 0000000..d6b726a --- /dev/null +++ b/LiteLoader/Header/MC/ScriptServerActorDroppedItemEvent.hpp @@ -0,0 +1,30 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "ScriptApi.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +struct ScriptServerActorDroppedItemEvent { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SCRIPTSERVERACTORDROPPEDITEMEVENT +public: + struct ScriptServerActorDroppedItemEvent& operator=(struct ScriptServerActorDroppedItemEvent const &) = delete; + ScriptServerActorDroppedItemEvent(struct ScriptServerActorDroppedItemEvent const &) = delete; + ScriptServerActorDroppedItemEvent() = delete; +#endif +public: + /*0*/ virtual ~ScriptServerActorDroppedItemEvent(); + /*1*/ virtual bool _serialize(class ScriptEngine &, class ScriptApi::ScriptObjectHandle &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SCRIPTSERVERACTORDROPPEDITEMEVENT +#endif + +//private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ScriptServerActorEquippedArmorEvent.hpp b/LiteLoader/Header/MC/ScriptServerActorEquippedArmorEvent.hpp new file mode 100644 index 0000000..5a71e31 --- /dev/null +++ b/LiteLoader/Header/MC/ScriptServerActorEquippedArmorEvent.hpp @@ -0,0 +1,30 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "ScriptApi.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +struct ScriptServerActorEquippedArmorEvent { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SCRIPTSERVERACTOREQUIPPEDARMOREVENT +public: + struct ScriptServerActorEquippedArmorEvent& operator=(struct ScriptServerActorEquippedArmorEvent const &) = delete; + ScriptServerActorEquippedArmorEvent(struct ScriptServerActorEquippedArmorEvent const &) = delete; + ScriptServerActorEquippedArmorEvent() = delete; +#endif +public: + /*0*/ virtual ~ScriptServerActorEquippedArmorEvent(); + /*1*/ virtual bool _serialize(class ScriptEngine &, class ScriptApi::ScriptObjectHandle &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SCRIPTSERVERACTOREQUIPPEDARMOREVENT +#endif + +//private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ScriptServerActorEventListener.hpp b/LiteLoader/Header/MC/ScriptServerActorEventListener.hpp new file mode 100644 index 0000000..587a091 --- /dev/null +++ b/LiteLoader/Header/MC/ScriptServerActorEventListener.hpp @@ -0,0 +1,48 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ScriptServerActorEventListener { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SCRIPTSERVERACTOREVENTLISTENER +public: + class ScriptServerActorEventListener& operator=(class ScriptServerActorEventListener const &) = delete; + ScriptServerActorEventListener(class ScriptServerActorEventListener const &) = delete; + ScriptServerActorEventListener() = delete; +#endif + +public: + /*0*/ virtual ~ScriptServerActorEventListener(); + /*1*/ virtual enum EventResult onActorAttack(class Actor &, class Actor &); + /*2*/ virtual enum EventResult onActorHurt(class Actor &, class ActorDamageSource const &, int, int); + /*3*/ virtual enum EventResult onActorMove(class Actor &, class Vec3 const &); + /*4*/ virtual enum EventResult onActorTick(class Actor &); + /*5*/ virtual enum EventResult onActorSneakChanged(class Actor &, bool); + /*6*/ virtual enum EventResult onActorStartRiding(class Actor &, class Actor &); + /*7*/ virtual enum EventResult onActorStopRiding(class Actor &, bool, bool, bool); + /*8*/ virtual enum EventResult onActorDeath(class Actor &, class ActorDamageSource const &); + /*9*/ virtual enum EventResult onActorDefinitionEventTriggered(class Actor &, std::string const &); + /*10*/ virtual enum EventResult onActorUseItem(class Actor &, class ItemInstance const &, enum ItemUseMethod); + /*11*/ virtual void __unk_vfn_11(); + /*12*/ virtual enum EventResult onActorCreated(class Actor &); + /*13*/ virtual enum EventResult onProjectileHit(class Actor &, class HitResult const &); + /*14*/ virtual void __unk_vfn_14(); + /*15*/ virtual void __unk_vfn_15(); + /*16*/ virtual enum EventResult onActorAcquiredItem(class Actor &, class ItemInstance const &, unsigned int, enum ItemAcquisitionMethod, class Actor *); + /*17*/ virtual void __unk_vfn_17(); + /*18*/ virtual enum EventResult onActorDroppedItem(class Actor &, class ItemInstance const &); + /*19*/ virtual enum EventResult onActorCarriedItemChanged(class Actor &, class ItemInstance const &, class ItemInstance const &, enum HandSlot); + /*20*/ virtual enum EventResult onActorEquippedArmor(class Actor &, class ItemInstance const &, enum ArmorSlot); + /*21*/ virtual enum EventResult onActorRemoved(class Actor &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SCRIPTSERVERACTOREVENTLISTENER +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ScriptServerActorHurtEvent.hpp b/LiteLoader/Header/MC/ScriptServerActorHurtEvent.hpp new file mode 100644 index 0000000..4e14df3 --- /dev/null +++ b/LiteLoader/Header/MC/ScriptServerActorHurtEvent.hpp @@ -0,0 +1,30 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "ScriptApi.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +struct ScriptServerActorHurtEvent { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SCRIPTSERVERACTORHURTEVENT +public: + struct ScriptServerActorHurtEvent& operator=(struct ScriptServerActorHurtEvent const &) = delete; + ScriptServerActorHurtEvent(struct ScriptServerActorHurtEvent const &) = delete; + ScriptServerActorHurtEvent() = delete; +#endif +public: + /*0*/ virtual ~ScriptServerActorHurtEvent(); + /*1*/ virtual bool _serialize(class ScriptEngine &, class ScriptApi::ScriptObjectHandle &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SCRIPTSERVERACTORHURTEVENT +#endif + +//private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ScriptServerActorMoveEvent.hpp b/LiteLoader/Header/MC/ScriptServerActorMoveEvent.hpp new file mode 100644 index 0000000..847c7fe --- /dev/null +++ b/LiteLoader/Header/MC/ScriptServerActorMoveEvent.hpp @@ -0,0 +1,31 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ScriptServerActorMoveEvent { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SCRIPTSERVERACTORMOVEEVENT +public: + class ScriptServerActorMoveEvent& operator=(class ScriptServerActorMoveEvent const &) = delete; + ScriptServerActorMoveEvent(class ScriptServerActorMoveEvent const &) = delete; + ScriptServerActorMoveEvent() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SCRIPTSERVERACTORMOVEEVENT +#endif + +//private: + +private: + MCAPI static class HashedString const mHash; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ScriptServerActorRemovedEvent.hpp b/LiteLoader/Header/MC/ScriptServerActorRemovedEvent.hpp new file mode 100644 index 0000000..8b63cc1 --- /dev/null +++ b/LiteLoader/Header/MC/ScriptServerActorRemovedEvent.hpp @@ -0,0 +1,30 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "ScriptApi.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +struct ScriptServerActorRemovedEvent { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SCRIPTSERVERACTORREMOVEDEVENT +public: + struct ScriptServerActorRemovedEvent& operator=(struct ScriptServerActorRemovedEvent const &) = delete; + ScriptServerActorRemovedEvent(struct ScriptServerActorRemovedEvent const &) = delete; + ScriptServerActorRemovedEvent() = delete; +#endif +public: + /*0*/ virtual ~ScriptServerActorRemovedEvent(); + /*1*/ virtual bool _serialize(class ScriptEngine &, class ScriptApi::ScriptObjectHandle &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SCRIPTSERVERACTORREMOVEDEVENT +#endif + +//private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ScriptServerActorSneakChangedEvent.hpp b/LiteLoader/Header/MC/ScriptServerActorSneakChangedEvent.hpp new file mode 100644 index 0000000..c417bf4 --- /dev/null +++ b/LiteLoader/Header/MC/ScriptServerActorSneakChangedEvent.hpp @@ -0,0 +1,30 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "ScriptApi.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +struct ScriptServerActorSneakChangedEvent { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SCRIPTSERVERACTORSNEAKCHANGEDEVENT +public: + struct ScriptServerActorSneakChangedEvent& operator=(struct ScriptServerActorSneakChangedEvent const &) = delete; + ScriptServerActorSneakChangedEvent(struct ScriptServerActorSneakChangedEvent const &) = delete; + ScriptServerActorSneakChangedEvent() = delete; +#endif +public: + /*0*/ virtual ~ScriptServerActorSneakChangedEvent(); + /*1*/ virtual bool _serialize(class ScriptEngine &, class ScriptApi::ScriptObjectHandle &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SCRIPTSERVERACTORSNEAKCHANGEDEVENT +#endif + +//private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ScriptServerActorStartRidingEvent.hpp b/LiteLoader/Header/MC/ScriptServerActorStartRidingEvent.hpp new file mode 100644 index 0000000..8dff94d --- /dev/null +++ b/LiteLoader/Header/MC/ScriptServerActorStartRidingEvent.hpp @@ -0,0 +1,30 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "ScriptApi.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +struct ScriptServerActorStartRidingEvent { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SCRIPTSERVERACTORSTARTRIDINGEVENT +public: + struct ScriptServerActorStartRidingEvent& operator=(struct ScriptServerActorStartRidingEvent const &) = delete; + ScriptServerActorStartRidingEvent(struct ScriptServerActorStartRidingEvent const &) = delete; + ScriptServerActorStartRidingEvent() = delete; +#endif +public: + /*0*/ virtual ~ScriptServerActorStartRidingEvent(); + /*1*/ virtual bool _serialize(class ScriptEngine &, class ScriptApi::ScriptObjectHandle &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SCRIPTSERVERACTORSTARTRIDINGEVENT +#endif + +//private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ScriptServerActorStopRidingEvent.hpp b/LiteLoader/Header/MC/ScriptServerActorStopRidingEvent.hpp new file mode 100644 index 0000000..aba0cf0 --- /dev/null +++ b/LiteLoader/Header/MC/ScriptServerActorStopRidingEvent.hpp @@ -0,0 +1,30 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "ScriptApi.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +struct ScriptServerActorStopRidingEvent { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SCRIPTSERVERACTORSTOPRIDINGEVENT +public: + struct ScriptServerActorStopRidingEvent& operator=(struct ScriptServerActorStopRidingEvent const &) = delete; + ScriptServerActorStopRidingEvent(struct ScriptServerActorStopRidingEvent const &) = delete; + ScriptServerActorStopRidingEvent() = delete; +#endif +public: + /*0*/ virtual ~ScriptServerActorStopRidingEvent(); + /*1*/ virtual bool _serialize(class ScriptEngine &, class ScriptApi::ScriptObjectHandle &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SCRIPTSERVERACTORSTOPRIDINGEVENT +#endif + +//private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ScriptServerActorTickEvent.hpp b/LiteLoader/Header/MC/ScriptServerActorTickEvent.hpp new file mode 100644 index 0000000..01b79b4 --- /dev/null +++ b/LiteLoader/Header/MC/ScriptServerActorTickEvent.hpp @@ -0,0 +1,30 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "ScriptApi.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +struct ScriptServerActorTickEvent { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SCRIPTSERVERACTORTICKEVENT +public: + struct ScriptServerActorTickEvent& operator=(struct ScriptServerActorTickEvent const &) = delete; + ScriptServerActorTickEvent(struct ScriptServerActorTickEvent const &) = delete; + ScriptServerActorTickEvent() = delete; +#endif +public: + /*0*/ virtual ~ScriptServerActorTickEvent(); + /*1*/ virtual bool _serialize(class ScriptEngine &, class ScriptApi::ScriptObjectHandle &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SCRIPTSERVERACTORTICKEVENT +#endif + +//private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ScriptServerActorUseItemEvent.hpp b/LiteLoader/Header/MC/ScriptServerActorUseItemEvent.hpp new file mode 100644 index 0000000..c44390c --- /dev/null +++ b/LiteLoader/Header/MC/ScriptServerActorUseItemEvent.hpp @@ -0,0 +1,30 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "ScriptApi.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +struct ScriptServerActorUseItemEvent { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SCRIPTSERVERACTORUSEITEMEVENT +public: + struct ScriptServerActorUseItemEvent& operator=(struct ScriptServerActorUseItemEvent const &) = delete; + ScriptServerActorUseItemEvent(struct ScriptServerActorUseItemEvent const &) = delete; + ScriptServerActorUseItemEvent() = delete; +#endif +public: + /*0*/ virtual ~ScriptServerActorUseItemEvent(); + /*1*/ virtual bool _serialize(class ScriptEngine &, class ScriptApi::ScriptObjectHandle &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SCRIPTSERVERACTORUSEITEMEVENT +#endif + +//private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ScriptServerBlockDestructionStartedEvent.hpp b/LiteLoader/Header/MC/ScriptServerBlockDestructionStartedEvent.hpp new file mode 100644 index 0000000..3e36820 --- /dev/null +++ b/LiteLoader/Header/MC/ScriptServerBlockDestructionStartedEvent.hpp @@ -0,0 +1,30 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "ScriptApi.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +struct ScriptServerBlockDestructionStartedEvent { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SCRIPTSERVERBLOCKDESTRUCTIONSTARTEDEVENT +public: + struct ScriptServerBlockDestructionStartedEvent& operator=(struct ScriptServerBlockDestructionStartedEvent const &) = delete; + ScriptServerBlockDestructionStartedEvent(struct ScriptServerBlockDestructionStartedEvent const &) = delete; + ScriptServerBlockDestructionStartedEvent() = delete; +#endif +public: + /*0*/ virtual ~ScriptServerBlockDestructionStartedEvent(); + /*1*/ virtual bool _serialize(class ScriptEngine &, class ScriptApi::ScriptObjectHandle &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SCRIPTSERVERBLOCKDESTRUCTIONSTARTEDEVENT +#endif + +//private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ScriptServerBlockDestructionStoppedEvent.hpp b/LiteLoader/Header/MC/ScriptServerBlockDestructionStoppedEvent.hpp new file mode 100644 index 0000000..f400c45 --- /dev/null +++ b/LiteLoader/Header/MC/ScriptServerBlockDestructionStoppedEvent.hpp @@ -0,0 +1,30 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "ScriptApi.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +struct ScriptServerBlockDestructionStoppedEvent { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SCRIPTSERVERBLOCKDESTRUCTIONSTOPPEDEVENT +public: + struct ScriptServerBlockDestructionStoppedEvent& operator=(struct ScriptServerBlockDestructionStoppedEvent const &) = delete; + ScriptServerBlockDestructionStoppedEvent(struct ScriptServerBlockDestructionStoppedEvent const &) = delete; + ScriptServerBlockDestructionStoppedEvent() = delete; +#endif +public: + /*0*/ virtual ~ScriptServerBlockDestructionStoppedEvent(); + /*1*/ virtual bool _serialize(class ScriptEngine &, class ScriptApi::ScriptObjectHandle &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SCRIPTSERVERBLOCKDESTRUCTIONSTOPPEDEVENT +#endif + +//private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ScriptServerBlockEventListener.hpp b/LiteLoader/Header/MC/ScriptServerBlockEventListener.hpp new file mode 100644 index 0000000..e87deb9 --- /dev/null +++ b/LiteLoader/Header/MC/ScriptServerBlockEventListener.hpp @@ -0,0 +1,35 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "PistonBlockActor.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ScriptServerBlockEventListener { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SCRIPTSERVERBLOCKEVENTLISTENER +public: + class ScriptServerBlockEventListener& operator=(class ScriptServerBlockEventListener const &) = delete; + ScriptServerBlockEventListener(class ScriptServerBlockEventListener const &) = delete; + ScriptServerBlockEventListener() = delete; +#endif + +public: + /*0*/ virtual ~ScriptServerBlockEventListener(); + /*1*/ virtual enum EventResult onBlockPlacedByPlayer(class Player &, class Block const &, class BlockPos const &, bool); + /*2*/ virtual enum EventResult onBlockDestroyedByPlayer(class Player &, std::string, class BlockPos const &); + /*3*/ virtual enum EventResult onBlockMovedByPiston(class BlockPos const &, class BlockPos const &, enum PistonBlockActor::PistonState); + /*4*/ virtual enum EventResult onBlockDestructionStopped(class Player &, class BlockPos const &, int); + /*5*/ virtual enum EventResult onBlockDestructionStarted(class Player &, class BlockPos const &); + /*6*/ virtual enum EventResult onBlockInteractedWith(class Player &, class BlockPos const &); + /*7*/ virtual enum EventResult onBlockExploded(class BlockPos const &, class Block const &, class Actor *); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SCRIPTSERVERBLOCKEVENTLISTENER +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ScriptServerBlockExplodedEvent.hpp b/LiteLoader/Header/MC/ScriptServerBlockExplodedEvent.hpp new file mode 100644 index 0000000..f0453a0 --- /dev/null +++ b/LiteLoader/Header/MC/ScriptServerBlockExplodedEvent.hpp @@ -0,0 +1,30 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "ScriptApi.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +struct ScriptServerBlockExplodedEvent { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SCRIPTSERVERBLOCKEXPLODEDEVENT +public: + struct ScriptServerBlockExplodedEvent& operator=(struct ScriptServerBlockExplodedEvent const &) = delete; + ScriptServerBlockExplodedEvent(struct ScriptServerBlockExplodedEvent const &) = delete; + ScriptServerBlockExplodedEvent() = delete; +#endif +public: + /*0*/ virtual ~ScriptServerBlockExplodedEvent(); + /*1*/ virtual bool _serialize(class ScriptEngine &, class ScriptApi::ScriptObjectHandle &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SCRIPTSERVERBLOCKEXPLODEDEVENT +#endif + +//private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ScriptServerBlockInteractedWithEvent.hpp b/LiteLoader/Header/MC/ScriptServerBlockInteractedWithEvent.hpp new file mode 100644 index 0000000..798f9b1 --- /dev/null +++ b/LiteLoader/Header/MC/ScriptServerBlockInteractedWithEvent.hpp @@ -0,0 +1,30 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "ScriptApi.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +struct ScriptServerBlockInteractedWithEvent { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SCRIPTSERVERBLOCKINTERACTEDWITHEVENT +public: + struct ScriptServerBlockInteractedWithEvent& operator=(struct ScriptServerBlockInteractedWithEvent const &) = delete; + ScriptServerBlockInteractedWithEvent(struct ScriptServerBlockInteractedWithEvent const &) = delete; + ScriptServerBlockInteractedWithEvent() = delete; +#endif +public: + /*0*/ virtual ~ScriptServerBlockInteractedWithEvent(); + /*1*/ virtual bool _serialize(class ScriptEngine &, class ScriptApi::ScriptObjectHandle &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SCRIPTSERVERBLOCKINTERACTEDWITHEVENT +#endif + +//private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ScriptServerBlockMovedByPistonEvent.hpp b/LiteLoader/Header/MC/ScriptServerBlockMovedByPistonEvent.hpp new file mode 100644 index 0000000..f86f9f8 --- /dev/null +++ b/LiteLoader/Header/MC/ScriptServerBlockMovedByPistonEvent.hpp @@ -0,0 +1,30 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "ScriptApi.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +struct ScriptServerBlockMovedByPistonEvent { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SCRIPTSERVERBLOCKMOVEDBYPISTONEVENT +public: + struct ScriptServerBlockMovedByPistonEvent& operator=(struct ScriptServerBlockMovedByPistonEvent const &) = delete; + ScriptServerBlockMovedByPistonEvent(struct ScriptServerBlockMovedByPistonEvent const &) = delete; + ScriptServerBlockMovedByPistonEvent() = delete; +#endif +public: + /*0*/ virtual ~ScriptServerBlockMovedByPistonEvent(); + /*1*/ virtual bool _serialize(class ScriptEngine &, class ScriptApi::ScriptObjectHandle &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SCRIPTSERVERBLOCKMOVEDBYPISTONEVENT +#endif + +//private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ScriptServerBroadcastActorDefinitionEvent.hpp b/LiteLoader/Header/MC/ScriptServerBroadcastActorDefinitionEvent.hpp new file mode 100644 index 0000000..ff20cc6 --- /dev/null +++ b/LiteLoader/Header/MC/ScriptServerBroadcastActorDefinitionEvent.hpp @@ -0,0 +1,35 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "ScriptApi.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ScriptServerBroadcastActorDefinitionEvent { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SCRIPTSERVERBROADCASTACTORDEFINITIONEVENT +public: + class ScriptServerBroadcastActorDefinitionEvent& operator=(class ScriptServerBroadcastActorDefinitionEvent const &) = delete; + ScriptServerBroadcastActorDefinitionEvent(class ScriptServerBroadcastActorDefinitionEvent const &) = delete; + ScriptServerBroadcastActorDefinitionEvent() = delete; +#endif + +public: + /*0*/ virtual ~ScriptServerBroadcastActorDefinitionEvent(); + /*1*/ virtual bool receivedEvent(class ScriptApi::ScriptVersionInfo const &, class ScriptEngine &, class ScriptServerContext &, std::string const &, class ScriptApi::ScriptObjectHandle const &); + /*2*/ virtual bool getEventData(class ScriptApi::ScriptVersionInfo const &, class ScriptEngine &, class ScriptServerContext &, std::string const &, class ScriptApi::ScriptObjectHandle &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SCRIPTSERVERBROADCASTACTORDEFINITIONEVENT +#endif + +//private: + +private: + MCAPI static class HashedString const mHash; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ScriptServerBroadcastReceived.hpp b/LiteLoader/Header/MC/ScriptServerBroadcastReceived.hpp new file mode 100644 index 0000000..e7132c3 --- /dev/null +++ b/LiteLoader/Header/MC/ScriptServerBroadcastReceived.hpp @@ -0,0 +1,30 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "ScriptApi.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ScriptServerBroadcastReceived { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SCRIPTSERVERBROADCASTRECEIVED +public: + class ScriptServerBroadcastReceived& operator=(class ScriptServerBroadcastReceived const &) = delete; + ScriptServerBroadcastReceived(class ScriptServerBroadcastReceived const &) = delete; + ScriptServerBroadcastReceived() = delete; +#endif + +public: + /*0*/ virtual ~ScriptServerBroadcastReceived(); + /*1*/ virtual bool receivedEvent(class ScriptApi::ScriptVersionInfo const &, class ScriptEngine &, class ScriptServerContext &, std::string const &, class ScriptApi::ScriptObjectHandle const &); + /*2*/ virtual bool getEventData(class ScriptApi::ScriptVersionInfo const &, class ScriptEngine &, class ScriptServerContext &, std::string const &, class ScriptApi::ScriptObjectHandle &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SCRIPTSERVERBROADCASTRECEIVED +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ScriptServerChatReceived.hpp b/LiteLoader/Header/MC/ScriptServerChatReceived.hpp new file mode 100644 index 0000000..ff2f2e3 --- /dev/null +++ b/LiteLoader/Header/MC/ScriptServerChatReceived.hpp @@ -0,0 +1,35 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "ScriptApi.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ScriptServerChatReceived { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SCRIPTSERVERCHATRECEIVED +public: + class ScriptServerChatReceived& operator=(class ScriptServerChatReceived const &) = delete; + ScriptServerChatReceived(class ScriptServerChatReceived const &) = delete; + ScriptServerChatReceived() = delete; +#endif + +public: + /*0*/ virtual ~ScriptServerChatReceived(); + /*1*/ virtual bool receivedEvent(class ScriptApi::ScriptVersionInfo const &, class ScriptEngine &, class ScriptServerContext &, std::string const &, class ScriptApi::ScriptObjectHandle const &); + /*2*/ virtual bool getEventData(class ScriptApi::ScriptVersionInfo const &, class ScriptEngine &, class ScriptServerContext &, std::string const &, class ScriptApi::ScriptObjectHandle &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SCRIPTSERVERCHATRECEIVED +#endif + +//private: + +private: + MCAPI static class HashedString const mHash; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ScriptServerCommandReceived.hpp b/LiteLoader/Header/MC/ScriptServerCommandReceived.hpp new file mode 100644 index 0000000..50ae974 --- /dev/null +++ b/LiteLoader/Header/MC/ScriptServerCommandReceived.hpp @@ -0,0 +1,35 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "ScriptApi.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ScriptServerCommandReceived { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SCRIPTSERVERCOMMANDRECEIVED +public: + class ScriptServerCommandReceived& operator=(class ScriptServerCommandReceived const &) = delete; + ScriptServerCommandReceived(class ScriptServerCommandReceived const &) = delete; + ScriptServerCommandReceived() = delete; +#endif + +public: + /*0*/ virtual ~ScriptServerCommandReceived(); + /*1*/ virtual bool receivedEvent(class ScriptApi::ScriptVersionInfo const &, class ScriptEngine &, class ScriptServerContext &, std::string const &, class ScriptApi::ScriptObjectHandle const &); + /*2*/ virtual bool getEventData(class ScriptApi::ScriptVersionInfo const &, class ScriptEngine &, class ScriptServerContext &, std::string const &, class ScriptApi::ScriptObjectHandle &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SCRIPTSERVERCOMMANDRECEIVED +#endif + +//private: + +private: + MCAPI static class HashedString const mHash; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ScriptServerLevelEventListener.hpp b/LiteLoader/Header/MC/ScriptServerLevelEventListener.hpp new file mode 100644 index 0000000..a799abb --- /dev/null +++ b/LiteLoader/Header/MC/ScriptServerLevelEventListener.hpp @@ -0,0 +1,34 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ScriptServerLevelEventListener { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SCRIPTSERVERLEVELEVENTLISTENER +public: + class ScriptServerLevelEventListener& operator=(class ScriptServerLevelEventListener const &) = delete; + ScriptServerLevelEventListener(class ScriptServerLevelEventListener const &) = delete; + ScriptServerLevelEventListener() = delete; +#endif + +public: + /*0*/ virtual ~ScriptServerLevelEventListener(); + /*1*/ virtual void __unk_vfn_1(); + /*2*/ virtual void __unk_vfn_2(); + /*3*/ virtual void __unk_vfn_3(); + /*4*/ virtual void __unk_vfn_4(); + /*5*/ virtual void __unk_vfn_5(); + /*6*/ virtual void __unk_vfn_6(); + /*7*/ virtual enum EventResult onLevelTick(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SCRIPTSERVERLEVELEVENTLISTENER +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ScriptServerLoggerConfigReceivedEvent.hpp b/LiteLoader/Header/MC/ScriptServerLoggerConfigReceivedEvent.hpp new file mode 100644 index 0000000..b9bfb6f --- /dev/null +++ b/LiteLoader/Header/MC/ScriptServerLoggerConfigReceivedEvent.hpp @@ -0,0 +1,35 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "ScriptApi.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ScriptServerLoggerConfigReceivedEvent { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SCRIPTSERVERLOGGERCONFIGRECEIVEDEVENT +public: + class ScriptServerLoggerConfigReceivedEvent& operator=(class ScriptServerLoggerConfigReceivedEvent const &) = delete; + ScriptServerLoggerConfigReceivedEvent(class ScriptServerLoggerConfigReceivedEvent const &) = delete; + ScriptServerLoggerConfigReceivedEvent() = delete; +#endif + +public: + /*0*/ virtual ~ScriptServerLoggerConfigReceivedEvent(); + /*1*/ virtual bool receivedEvent(class ScriptApi::ScriptVersionInfo const &, class ScriptEngine &, class ScriptServerContext &, std::string const &, class ScriptApi::ScriptObjectHandle const &); + /*2*/ virtual bool getEventData(class ScriptApi::ScriptVersionInfo const &, class ScriptEngine &, class ScriptServerContext &, std::string const &, class ScriptApi::ScriptObjectHandle &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SCRIPTSERVERLOGGERCONFIGRECEIVEDEVENT +#endif + +//private: + +private: + MCAPI static class HashedString const mHash; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ScriptServerPacketEventListener.hpp b/LiteLoader/Header/MC/ScriptServerPacketEventListener.hpp new file mode 100644 index 0000000..611e755 --- /dev/null +++ b/LiteLoader/Header/MC/ScriptServerPacketEventListener.hpp @@ -0,0 +1,28 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ScriptServerPacketEventListener { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SCRIPTSERVERPACKETEVENTLISTENER +public: + class ScriptServerPacketEventListener& operator=(class ScriptServerPacketEventListener const &) = delete; + ScriptServerPacketEventListener(class ScriptServerPacketEventListener const &) = delete; + ScriptServerPacketEventListener() = delete; +#endif + +public: + /*0*/ virtual ~ScriptServerPacketEventListener(); + /*1*/ virtual enum EventResult onPacketReceivedFrom(class PacketHeader const &, class Packet const &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SCRIPTSERVERPACKETEVENTLISTENER +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ScriptServerPlaySoundEvent.hpp b/LiteLoader/Header/MC/ScriptServerPlaySoundEvent.hpp new file mode 100644 index 0000000..21a8a31 --- /dev/null +++ b/LiteLoader/Header/MC/ScriptServerPlaySoundEvent.hpp @@ -0,0 +1,35 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "ScriptApi.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ScriptServerPlaySoundEvent { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SCRIPTSERVERPLAYSOUNDEVENT +public: + class ScriptServerPlaySoundEvent& operator=(class ScriptServerPlaySoundEvent const &) = delete; + ScriptServerPlaySoundEvent(class ScriptServerPlaySoundEvent const &) = delete; + ScriptServerPlaySoundEvent() = delete; +#endif + +public: + /*0*/ virtual ~ScriptServerPlaySoundEvent(); + /*1*/ virtual bool receivedEvent(class ScriptApi::ScriptVersionInfo const &, class ScriptEngine &, class ScriptServerContext &, std::string const &, class ScriptApi::ScriptObjectHandle const &); + /*2*/ virtual bool getEventData(class ScriptApi::ScriptVersionInfo const &, class ScriptEngine &, class ScriptServerContext &, std::string const &, class ScriptApi::ScriptObjectHandle &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SCRIPTSERVERPLAYSOUNDEVENT +#endif + +//private: + +private: + MCAPI static class HashedString const mHash; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ScriptServerPlayerAttackedActorEvent.hpp b/LiteLoader/Header/MC/ScriptServerPlayerAttackedActorEvent.hpp new file mode 100644 index 0000000..bdcd731 --- /dev/null +++ b/LiteLoader/Header/MC/ScriptServerPlayerAttackedActorEvent.hpp @@ -0,0 +1,30 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "ScriptApi.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +struct ScriptServerPlayerAttackedActorEvent { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SCRIPTSERVERPLAYERATTACKEDACTOREVENT +public: + struct ScriptServerPlayerAttackedActorEvent& operator=(struct ScriptServerPlayerAttackedActorEvent const &) = delete; + ScriptServerPlayerAttackedActorEvent(struct ScriptServerPlayerAttackedActorEvent const &) = delete; + ScriptServerPlayerAttackedActorEvent() = delete; +#endif +public: + /*0*/ virtual ~ScriptServerPlayerAttackedActorEvent(); + /*1*/ virtual bool _serialize(class ScriptEngine &, class ScriptApi::ScriptObjectHandle &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SCRIPTSERVERPLAYERATTACKEDACTOREVENT +#endif + +//private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ScriptServerPlayerDestroyedBlockEvent.hpp b/LiteLoader/Header/MC/ScriptServerPlayerDestroyedBlockEvent.hpp new file mode 100644 index 0000000..cb27da7 --- /dev/null +++ b/LiteLoader/Header/MC/ScriptServerPlayerDestroyedBlockEvent.hpp @@ -0,0 +1,30 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "ScriptApi.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +struct ScriptServerPlayerDestroyedBlockEvent { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SCRIPTSERVERPLAYERDESTROYEDBLOCKEVENT +public: + struct ScriptServerPlayerDestroyedBlockEvent& operator=(struct ScriptServerPlayerDestroyedBlockEvent const &) = delete; + ScriptServerPlayerDestroyedBlockEvent(struct ScriptServerPlayerDestroyedBlockEvent const &) = delete; + ScriptServerPlayerDestroyedBlockEvent() = delete; +#endif +public: + /*0*/ virtual ~ScriptServerPlayerDestroyedBlockEvent(); + /*1*/ virtual bool _serialize(class ScriptEngine &, class ScriptApi::ScriptObjectHandle &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SCRIPTSERVERPLAYERDESTROYEDBLOCKEVENT +#endif + +//private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ScriptServerPlayerPlacedBlockEvent.hpp b/LiteLoader/Header/MC/ScriptServerPlayerPlacedBlockEvent.hpp new file mode 100644 index 0000000..87d5bc9 --- /dev/null +++ b/LiteLoader/Header/MC/ScriptServerPlayerPlacedBlockEvent.hpp @@ -0,0 +1,30 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "ScriptApi.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +struct ScriptServerPlayerPlacedBlockEvent { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SCRIPTSERVERPLAYERPLACEDBLOCKEVENT +public: + struct ScriptServerPlayerPlacedBlockEvent& operator=(struct ScriptServerPlayerPlacedBlockEvent const &) = delete; + ScriptServerPlayerPlacedBlockEvent(struct ScriptServerPlayerPlacedBlockEvent const &) = delete; + ScriptServerPlayerPlacedBlockEvent() = delete; +#endif +public: + /*0*/ virtual ~ScriptServerPlayerPlacedBlockEvent(); + /*1*/ virtual bool _serialize(class ScriptEngine &, class ScriptApi::ScriptObjectHandle &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SCRIPTSERVERPLAYERPLACEDBLOCKEVENT +#endif + +//private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ScriptServerProjectileHitEvent.hpp b/LiteLoader/Header/MC/ScriptServerProjectileHitEvent.hpp new file mode 100644 index 0000000..cd405ed --- /dev/null +++ b/LiteLoader/Header/MC/ScriptServerProjectileHitEvent.hpp @@ -0,0 +1,30 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "ScriptApi.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +struct ScriptServerProjectileHitEvent { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SCRIPTSERVERPROJECTILEHITEVENT +public: + struct ScriptServerProjectileHitEvent& operator=(struct ScriptServerProjectileHitEvent const &) = delete; + ScriptServerProjectileHitEvent(struct ScriptServerProjectileHitEvent const &) = delete; + ScriptServerProjectileHitEvent() = delete; +#endif +public: + /*0*/ virtual ~ScriptServerProjectileHitEvent(); + /*1*/ virtual bool _serialize(class ScriptEngine &, class ScriptApi::ScriptObjectHandle &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SCRIPTSERVERPROJECTILEHITEVENT +#endif + +//private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ScriptServerSpawnParticleAttachedToActor.hpp b/LiteLoader/Header/MC/ScriptServerSpawnParticleAttachedToActor.hpp new file mode 100644 index 0000000..21f5192 --- /dev/null +++ b/LiteLoader/Header/MC/ScriptServerSpawnParticleAttachedToActor.hpp @@ -0,0 +1,35 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "ScriptApi.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ScriptServerSpawnParticleAttachedToActor { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SCRIPTSERVERSPAWNPARTICLEATTACHEDTOACTOR +public: + class ScriptServerSpawnParticleAttachedToActor& operator=(class ScriptServerSpawnParticleAttachedToActor const &) = delete; + ScriptServerSpawnParticleAttachedToActor(class ScriptServerSpawnParticleAttachedToActor const &) = delete; + ScriptServerSpawnParticleAttachedToActor() = delete; +#endif + +public: + /*0*/ virtual ~ScriptServerSpawnParticleAttachedToActor(); + /*1*/ virtual bool receivedEvent(class ScriptApi::ScriptVersionInfo const &, class ScriptEngine &, class ScriptServerContext &, std::string const &, class ScriptApi::ScriptObjectHandle const &); + /*2*/ virtual bool getEventData(class ScriptApi::ScriptVersionInfo const &, class ScriptEngine &, class ScriptServerContext &, std::string const &, class ScriptApi::ScriptObjectHandle &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SCRIPTSERVERSPAWNPARTICLEATTACHEDTOACTOR +#endif + +//private: + +private: + MCAPI static class HashedString const mHash; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ScriptServerSpawnParticleInWorldEvent.hpp b/LiteLoader/Header/MC/ScriptServerSpawnParticleInWorldEvent.hpp new file mode 100644 index 0000000..94c113b --- /dev/null +++ b/LiteLoader/Header/MC/ScriptServerSpawnParticleInWorldEvent.hpp @@ -0,0 +1,35 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "ScriptApi.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ScriptServerSpawnParticleInWorldEvent { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SCRIPTSERVERSPAWNPARTICLEINWORLDEVENT +public: + class ScriptServerSpawnParticleInWorldEvent& operator=(class ScriptServerSpawnParticleInWorldEvent const &) = delete; + ScriptServerSpawnParticleInWorldEvent(class ScriptServerSpawnParticleInWorldEvent const &) = delete; + ScriptServerSpawnParticleInWorldEvent() = delete; +#endif + +public: + /*0*/ virtual ~ScriptServerSpawnParticleInWorldEvent(); + /*1*/ virtual bool receivedEvent(class ScriptApi::ScriptVersionInfo const &, class ScriptEngine &, class ScriptServerContext &, std::string const &, class ScriptApi::ScriptObjectHandle const &); + /*2*/ virtual bool getEventData(class ScriptApi::ScriptVersionInfo const &, class ScriptEngine &, class ScriptServerContext &, std::string const &, class ScriptApi::ScriptObjectHandle &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SCRIPTSERVERSPAWNPARTICLEINWORLDEVENT +#endif + +//private: + +private: + MCAPI static class HashedString const mHash; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ScriptServerWeatherEventData.hpp b/LiteLoader/Header/MC/ScriptServerWeatherEventData.hpp new file mode 100644 index 0000000..ae1ebdc --- /dev/null +++ b/LiteLoader/Header/MC/ScriptServerWeatherEventData.hpp @@ -0,0 +1,30 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "ScriptApi.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +struct ScriptServerWeatherEventData { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SCRIPTSERVERWEATHEREVENTDATA +public: + struct ScriptServerWeatherEventData& operator=(struct ScriptServerWeatherEventData const &) = delete; + ScriptServerWeatherEventData(struct ScriptServerWeatherEventData const &) = delete; + ScriptServerWeatherEventData() = delete; +#endif +public: + /*0*/ virtual ~ScriptServerWeatherEventData(); + /*1*/ virtual bool _serialize(class ScriptEngine &, class ScriptApi::ScriptObjectHandle &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SCRIPTSERVERWEATHEREVENTDATA +#endif + +//private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ScriptShooterComponent.hpp b/LiteLoader/Header/MC/ScriptShooterComponent.hpp new file mode 100644 index 0000000..12c6996 --- /dev/null +++ b/LiteLoader/Header/MC/ScriptShooterComponent.hpp @@ -0,0 +1,45 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "ScriptApi.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ScriptShooterComponent { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SCRIPTSHOOTERCOMPONENT +public: + class ScriptShooterComponent& operator=(class ScriptShooterComponent const &) = delete; + ScriptShooterComponent(class ScriptShooterComponent const &) = delete; + ScriptShooterComponent() = delete; +#endif + +public: + /*0*/ virtual ~ScriptShooterComponent(); + /*1*/ virtual void __unk_vfn_1(); + /*2*/ virtual void __unk_vfn_2(); + /*3*/ virtual void __unk_vfn_3(); + /*4*/ virtual bool applyComponentTo(class ScriptApi::ScriptVersionInfo const &, class ScriptEngine &, class ScriptServerContext &, class Actor &, class ScriptApi::ScriptObjectHandle const &) const; + /*5*/ virtual void __unk_vfn_5(); + /*6*/ virtual void __unk_vfn_6(); + /*7*/ virtual void __unk_vfn_7(); + /*8*/ virtual bool retrieveComponentFrom(class ScriptApi::ScriptVersionInfo const &, class ScriptEngine &, class ScriptServerContext &, class Actor &, class ScriptApi::ScriptObjectHandle &) const; + /*9*/ virtual void __unk_vfn_9(); + /*10*/ virtual void __unk_vfn_10(); + /*11*/ virtual void __unk_vfn_11(); + /*12*/ virtual bool hasComponent(class ScriptApi::ScriptVersionInfo const &, class ScriptEngine &, class ScriptServerContext &, class Actor &, bool &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SCRIPTSHOOTERCOMPONENT +#endif + +//private: + +private: + MCAPI static class HashedString const mHash; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ScriptSpawnActorComponent.hpp b/LiteLoader/Header/MC/ScriptSpawnActorComponent.hpp new file mode 100644 index 0000000..cb0cc4e --- /dev/null +++ b/LiteLoader/Header/MC/ScriptSpawnActorComponent.hpp @@ -0,0 +1,45 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "ScriptApi.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ScriptSpawnActorComponent { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SCRIPTSPAWNACTORCOMPONENT +public: + class ScriptSpawnActorComponent& operator=(class ScriptSpawnActorComponent const &) = delete; + ScriptSpawnActorComponent(class ScriptSpawnActorComponent const &) = delete; + ScriptSpawnActorComponent() = delete; +#endif + +public: + /*0*/ virtual ~ScriptSpawnActorComponent(); + /*1*/ virtual void __unk_vfn_1(); + /*2*/ virtual void __unk_vfn_2(); + /*3*/ virtual void __unk_vfn_3(); + /*4*/ virtual bool applyComponentTo(class ScriptApi::ScriptVersionInfo const &, class ScriptEngine &, class ScriptServerContext &, class Actor &, class ScriptApi::ScriptObjectHandle const &) const; + /*5*/ virtual void __unk_vfn_5(); + /*6*/ virtual void __unk_vfn_6(); + /*7*/ virtual void __unk_vfn_7(); + /*8*/ virtual bool retrieveComponentFrom(class ScriptApi::ScriptVersionInfo const &, class ScriptEngine &, class ScriptServerContext &, class Actor &, class ScriptApi::ScriptObjectHandle &) const; + /*9*/ virtual void __unk_vfn_9(); + /*10*/ virtual void __unk_vfn_10(); + /*11*/ virtual void __unk_vfn_11(); + /*12*/ virtual bool hasComponent(class ScriptApi::ScriptVersionInfo const &, class ScriptEngine &, class ScriptServerContext &, class Actor &, bool &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SCRIPTSPAWNACTORCOMPONENT +#endif + +//private: + +private: + MCAPI static class HashedString const mHash; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ScriptTagComponent.hpp b/LiteLoader/Header/MC/ScriptTagComponent.hpp new file mode 100644 index 0000000..c22e9d7 --- /dev/null +++ b/LiteLoader/Header/MC/ScriptTagComponent.hpp @@ -0,0 +1,45 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "ScriptApi.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ScriptTagComponent { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SCRIPTTAGCOMPONENT +public: + class ScriptTagComponent& operator=(class ScriptTagComponent const &) = delete; + ScriptTagComponent(class ScriptTagComponent const &) = delete; + ScriptTagComponent() = delete; +#endif + +public: + /*0*/ virtual ~ScriptTagComponent(); + /*1*/ virtual void __unk_vfn_1(); + /*2*/ virtual void __unk_vfn_2(); + /*3*/ virtual void __unk_vfn_3(); + /*4*/ virtual bool applyComponentTo(class ScriptApi::ScriptVersionInfo const &, class ScriptEngine &, class ScriptServerContext &, class Actor &, class ScriptApi::ScriptObjectHandle const &) const; + /*5*/ virtual void __unk_vfn_5(); + /*6*/ virtual void __unk_vfn_6(); + /*7*/ virtual void __unk_vfn_7(); + /*8*/ virtual bool retrieveComponentFrom(class ScriptApi::ScriptVersionInfo const &, class ScriptEngine &, class ScriptServerContext &, class Actor &, class ScriptApi::ScriptObjectHandle &) const; + /*9*/ virtual void __unk_vfn_9(); + /*10*/ virtual void __unk_vfn_10(); + /*11*/ virtual void __unk_vfn_11(); + /*12*/ virtual bool hasComponent(class ScriptApi::ScriptVersionInfo const &, class ScriptEngine &, class ScriptServerContext &, class Actor &, bool &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SCRIPTTAGCOMPONENT +#endif + +//private: + +private: + MCAPI static class HashedString const mHash; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ScriptTelemetryEventListener.hpp b/LiteLoader/Header/MC/ScriptTelemetryEventListener.hpp new file mode 100644 index 0000000..abadcd0 --- /dev/null +++ b/LiteLoader/Header/MC/ScriptTelemetryEventListener.hpp @@ -0,0 +1,35 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ScriptTelemetryEventListener { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SCRIPTTELEMETRYEVENTLISTENER +public: + class ScriptTelemetryEventListener& operator=(class ScriptTelemetryEventListener const &) = delete; + ScriptTelemetryEventListener(class ScriptTelemetryEventListener const &) = delete; + ScriptTelemetryEventListener() = delete; +#endif + +public: + /*0*/ virtual ~ScriptTelemetryEventListener(); + /*1*/ virtual void __unk_vfn_1(); + /*2*/ virtual void __unk_vfn_2(); + /*3*/ virtual void __unk_vfn_3(); + /*4*/ virtual void __unk_vfn_4(); + /*5*/ virtual void __unk_vfn_5(); + /*6*/ virtual void __unk_vfn_6(); + /*7*/ virtual enum EventResult onScriptLoaded(std::string const &, unsigned __int64); + /*8*/ virtual enum EventResult onScriptRan(std::string const &, std::string const &, bool); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SCRIPTTELEMETRYEVENTLISTENER +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ScriptTeleportComponent.hpp b/LiteLoader/Header/MC/ScriptTeleportComponent.hpp new file mode 100644 index 0000000..d80df11 --- /dev/null +++ b/LiteLoader/Header/MC/ScriptTeleportComponent.hpp @@ -0,0 +1,45 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "ScriptApi.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ScriptTeleportComponent { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SCRIPTTELEPORTCOMPONENT +public: + class ScriptTeleportComponent& operator=(class ScriptTeleportComponent const &) = delete; + ScriptTeleportComponent(class ScriptTeleportComponent const &) = delete; + ScriptTeleportComponent() = delete; +#endif + +public: + /*0*/ virtual ~ScriptTeleportComponent(); + /*1*/ virtual void __unk_vfn_1(); + /*2*/ virtual void __unk_vfn_2(); + /*3*/ virtual void __unk_vfn_3(); + /*4*/ virtual bool applyComponentTo(class ScriptApi::ScriptVersionInfo const &, class ScriptEngine &, class ScriptServerContext &, class Actor &, class ScriptApi::ScriptObjectHandle const &) const; + /*5*/ virtual void __unk_vfn_5(); + /*6*/ virtual void __unk_vfn_6(); + /*7*/ virtual void __unk_vfn_7(); + /*8*/ virtual bool retrieveComponentFrom(class ScriptApi::ScriptVersionInfo const &, class ScriptEngine &, class ScriptServerContext &, class Actor &, class ScriptApi::ScriptObjectHandle &) const; + /*9*/ virtual void __unk_vfn_9(); + /*10*/ virtual void __unk_vfn_10(); + /*11*/ virtual void __unk_vfn_11(); + /*12*/ virtual bool hasComponent(class ScriptApi::ScriptVersionInfo const &, class ScriptEngine &, class ScriptServerContext &, class Actor &, bool &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SCRIPTTELEPORTCOMPONENT +#endif + +//private: + +private: + MCAPI static class HashedString const mHash; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ScriptTickWorldComponent.hpp b/LiteLoader/Header/MC/ScriptTickWorldComponent.hpp new file mode 100644 index 0000000..0f6f0a0 --- /dev/null +++ b/LiteLoader/Header/MC/ScriptTickWorldComponent.hpp @@ -0,0 +1,45 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "ScriptApi.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ScriptTickWorldComponent { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SCRIPTTICKWORLDCOMPONENT +public: + class ScriptTickWorldComponent& operator=(class ScriptTickWorldComponent const &) = delete; + ScriptTickWorldComponent(class ScriptTickWorldComponent const &) = delete; + ScriptTickWorldComponent() = delete; +#endif + +public: + /*0*/ virtual ~ScriptTickWorldComponent(); + /*1*/ virtual void __unk_vfn_1(); + /*2*/ virtual void __unk_vfn_2(); + /*3*/ virtual void __unk_vfn_3(); + /*4*/ virtual bool applyComponentTo(class ScriptApi::ScriptVersionInfo const &, class ScriptEngine &, class ScriptServerContext &, class Actor &, class ScriptApi::ScriptObjectHandle const &) const; + /*5*/ virtual void __unk_vfn_5(); + /*6*/ virtual void __unk_vfn_6(); + /*7*/ virtual void __unk_vfn_7(); + /*8*/ virtual bool retrieveComponentFrom(class ScriptApi::ScriptVersionInfo const &, class ScriptEngine &, class ScriptServerContext &, class Actor &, class ScriptApi::ScriptObjectHandle &) const; + /*9*/ virtual void __unk_vfn_9(); + /*10*/ virtual void __unk_vfn_10(); + /*11*/ virtual void __unk_vfn_11(); + /*12*/ virtual bool hasComponent(class ScriptApi::ScriptVersionInfo const &, class ScriptEngine &, class ScriptServerContext &, class Actor &, bool &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SCRIPTTICKWORLDCOMPONENT +#endif + +//private: + +private: + MCAPI static class HashedString const mHash; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ScriptTickingAreaBinderComponent.hpp b/LiteLoader/Header/MC/ScriptTickingAreaBinderComponent.hpp new file mode 100644 index 0000000..6264561 --- /dev/null +++ b/LiteLoader/Header/MC/ScriptTickingAreaBinderComponent.hpp @@ -0,0 +1,31 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "ScriptApi.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ScriptTickingAreaBinderComponent { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SCRIPTTICKINGAREABINDERCOMPONENT +public: + class ScriptTickingAreaBinderComponent& operator=(class ScriptTickingAreaBinderComponent const &) = delete; + ScriptTickingAreaBinderComponent(class ScriptTickingAreaBinderComponent const &) = delete; + ScriptTickingAreaBinderComponent() = delete; +#endif + +public: + /*0*/ virtual ~ScriptTickingAreaBinderComponent(); + /*1*/ virtual bool serialize(class ScriptEngine &, class ScriptApi::ScriptObjectHandle const &) const; + /*2*/ virtual bool deserialize(class ScriptEngine &, class ScriptApi::ScriptObjectHandle const &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SCRIPTTICKINGAREABINDERCOMPONENT +#endif + MCAPI static std::string const TAG; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ScriptTickingAreaDescriptionComponent.hpp b/LiteLoader/Header/MC/ScriptTickingAreaDescriptionComponent.hpp new file mode 100644 index 0000000..a516901 --- /dev/null +++ b/LiteLoader/Header/MC/ScriptTickingAreaDescriptionComponent.hpp @@ -0,0 +1,42 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "ScriptApi.hpp" +#include "ScriptBlockContainerComponent.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ScriptTickingAreaDescriptionComponent : public ScriptBlockContainerComponent { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SCRIPTTICKINGAREADESCRIPTIONCOMPONENT +public: + class ScriptTickingAreaDescriptionComponent& operator=(class ScriptTickingAreaDescriptionComponent const &) = delete; + ScriptTickingAreaDescriptionComponent(class ScriptTickingAreaDescriptionComponent const &) = delete; + ScriptTickingAreaDescriptionComponent() = delete; +#endif + +public: + /*0*/ virtual ~ScriptTickingAreaDescriptionComponent(); + /*1*/ virtual void __unk_vfn_1(); + /*2*/ virtual void __unk_vfn_2(); + /*4*/ virtual void __unk_vfn_4(); + /*5*/ virtual bool retrieveComponentFrom(class ScriptApi::ScriptVersionInfo const &, class ScriptEngine &, class ScriptServerContext &, class Actor &, class ScriptApi::ScriptObjectHandle &) const; + /*8*/ virtual bool retrieveComponentFrom(class ScriptApi::ScriptVersionInfo const &, class ScriptEngine &, class ScriptServerContext &, class ITickingArea &, class ScriptApi::ScriptObjectHandle &) const; + /*11*/ virtual bool hasComponent(class ScriptApi::ScriptVersionInfo const &, class ScriptEngine &, class ScriptServerContext &, class ITickingArea const &, bool &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SCRIPTTICKINGAREADESCRIPTIONCOMPONENT + MCVAPI bool applyComponentTo(class ScriptApi::ScriptVersionInfo const &, class ScriptEngine &, class ScriptServerContext &, class Actor &, class ScriptApi::ScriptObjectHandle const &) const; + MCVAPI bool applyComponentTo(class ScriptApi::ScriptVersionInfo const &, class ScriptEngine &, class ScriptServerContext &, class ITickingArea &, class ScriptApi::ScriptObjectHandle const &) const; +#endif + +//private: + +private: + MCAPI static class HashedString const mHash; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/SeaAnemoneFeature.hpp b/LiteLoader/Header/MC/SeaAnemoneFeature.hpp new file mode 100644 index 0000000..c681ea0 --- /dev/null +++ b/LiteLoader/Header/MC/SeaAnemoneFeature.hpp @@ -0,0 +1,29 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Feature.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class SeaAnemoneFeature : public Feature { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SEAANEMONEFEATURE +public: + class SeaAnemoneFeature& operator=(class SeaAnemoneFeature const &) = delete; + SeaAnemoneFeature(class SeaAnemoneFeature const &) = delete; + SeaAnemoneFeature() = delete; +#endif + +public: + /*0*/ virtual ~SeaAnemoneFeature(); + /*1*/ virtual bool place(class BlockSource &, class BlockPos const &, class Random &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SEAANEMONEFEATURE +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/SeaGrass.hpp b/LiteLoader/Header/MC/SeaGrass.hpp new file mode 100644 index 0000000..7391428 --- /dev/null +++ b/LiteLoader/Header/MC/SeaGrass.hpp @@ -0,0 +1,79 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "BlockLegacy.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class SeaGrass : public BlockLegacy { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SEAGRASS +public: + class SeaGrass& operator=(class SeaGrass const &) = delete; + SeaGrass(class SeaGrass const &) = delete; + SeaGrass() = delete; +#endif + +public: + /*0*/ virtual ~SeaGrass(); + /*1*/ virtual void tick(class BlockSource &, class BlockPos const &, class Random &) const; + /*8*/ virtual class Vec3 randomlyModifyPosition(class BlockPos const &) const; + /*10*/ virtual class AABB const & getAABB(class BlockSource &, class BlockPos const &, class Block const &, class AABB &, bool) const; + /*18*/ virtual void __unk_vfn_18(); + /*24*/ virtual void __unk_vfn_24(); + /*25*/ virtual void __unk_vfn_25(); + /*26*/ virtual void __unk_vfn_26(); + /*27*/ virtual void __unk_vfn_27(); + /*28*/ virtual void __unk_vfn_28(); + /*30*/ virtual void __unk_vfn_30(); + /*31*/ virtual void __unk_vfn_31(); + /*32*/ virtual void __unk_vfn_32(); + /*33*/ virtual void __unk_vfn_33(); + /*34*/ virtual void __unk_vfn_34(); + /*35*/ virtual void __unk_vfn_35(); + /*36*/ virtual void __unk_vfn_36(); + /*38*/ virtual void __unk_vfn_38(); + /*39*/ virtual void __unk_vfn_39(); + /*40*/ virtual void __unk_vfn_40(); + /*42*/ virtual void __unk_vfn_42(); + /*43*/ virtual void __unk_vfn_43(); + /*44*/ virtual bool isValidAuxValue(int) const; + /*49*/ virtual void __unk_vfn_49(); + /*52*/ virtual void __unk_vfn_52(); + /*59*/ virtual void onPlace(class BlockSource &, class BlockPos const &) const; + /*67*/ virtual void __unk_vfn_67(); + /*73*/ virtual void __unk_vfn_73(); + /*75*/ virtual bool onFertilized(class BlockSource &, class BlockPos const &, class Actor *, enum FertilizerType) const; + /*76*/ virtual bool mayConsumeFertilizer(class BlockSource &) const; + /*77*/ virtual bool canBeFertilized(class BlockSource &, class BlockPos const &, class Block const &) const; + /*81*/ virtual bool mayPlace(class BlockSource &, class BlockPos const &) const; + /*87*/ virtual void __unk_vfn_87(); + /*88*/ virtual void neighborChanged(class BlockSource &, class BlockPos const &, class BlockPos const &) const; + /*90*/ virtual int getResourceCount(class Random &, class Block const &, int, bool) const; + /*92*/ virtual class ItemInstance asItemInstance(class BlockSource &, class BlockPos const &, class Block const &) const; + /*95*/ virtual void __unk_vfn_95(); + /*105*/ virtual void playerDestroy(class Player &, class BlockPos const &, class Block const &) const; + /*106*/ virtual bool canSurvive(class BlockSource &, class BlockPos const &) const; + /*109*/ virtual void __unk_vfn_109(); + /*113*/ virtual class Color getMapColor(class BlockSource &, class BlockPos const &) const; + /*116*/ virtual void __unk_vfn_116(); + /*118*/ virtual void __unk_vfn_118(); + /*119*/ virtual void __unk_vfn_119(); + /*127*/ virtual std::string buildDescriptionId(class Block const &) const; + /*129*/ virtual int getColor(class Block const &) const; + /*130*/ virtual int getColor(class BlockSource &, class BlockPos const &, class Block const &) const; + /*142*/ virtual void __unk_vfn_142(); + /*158*/ virtual void __unk_vfn_158(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SEAGRASS + MCVAPI bool canBeSilkTouched() const; + MCVAPI bool waterSpreadCausesSpawn() const; +#endif + MCAPI static bool trySpawnSeaGrass(class BlockSource &, class BlockPos const &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/SeaLanternBlock.hpp b/LiteLoader/Header/MC/SeaLanternBlock.hpp new file mode 100644 index 0000000..bafbdc8 --- /dev/null +++ b/LiteLoader/Header/MC/SeaLanternBlock.hpp @@ -0,0 +1,61 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "BlockLegacy.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class SeaLanternBlock : public BlockLegacy { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SEALANTERNBLOCK +public: + class SeaLanternBlock& operator=(class SeaLanternBlock const &) = delete; + SeaLanternBlock(class SeaLanternBlock const &) = delete; + SeaLanternBlock() = delete; +#endif + +public: + /*0*/ virtual ~SeaLanternBlock(); + /*18*/ virtual void __unk_vfn_18(); + /*24*/ virtual void __unk_vfn_24(); + /*25*/ virtual void __unk_vfn_25(); + /*26*/ virtual void __unk_vfn_26(); + /*27*/ virtual void __unk_vfn_27(); + /*28*/ virtual void __unk_vfn_28(); + /*30*/ virtual void __unk_vfn_30(); + /*31*/ virtual void __unk_vfn_31(); + /*32*/ virtual void __unk_vfn_32(); + /*33*/ virtual void __unk_vfn_33(); + /*34*/ virtual void __unk_vfn_34(); + /*35*/ virtual void __unk_vfn_35(); + /*36*/ virtual void __unk_vfn_36(); + /*38*/ virtual void __unk_vfn_38(); + /*39*/ virtual void __unk_vfn_39(); + /*40*/ virtual void __unk_vfn_40(); + /*42*/ virtual void __unk_vfn_42(); + /*43*/ virtual void __unk_vfn_43(); + /*49*/ virtual void __unk_vfn_49(); + /*52*/ virtual void __unk_vfn_52(); + /*67*/ virtual void __unk_vfn_67(); + /*73*/ virtual void __unk_vfn_73(); + /*87*/ virtual void __unk_vfn_87(); + /*90*/ virtual int getResourceCount(class Random &, class Block const &, int, bool) const; + /*91*/ virtual class ItemInstance getResourceItem(class Random &, class Block const &, int) const; + /*95*/ virtual void __unk_vfn_95(); + /*109*/ virtual void __unk_vfn_109(); + /*116*/ virtual void __unk_vfn_116(); + /*118*/ virtual void __unk_vfn_118(); + /*119*/ virtual void __unk_vfn_119(); + /*142*/ virtual void __unk_vfn_142(); + /*158*/ virtual void __unk_vfn_158(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SEALANTERNBLOCK + MCVAPI bool canBeSilkTouched() const; +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/SeaPickle.hpp b/LiteLoader/Header/MC/SeaPickle.hpp new file mode 100644 index 0000000..2ec2afb --- /dev/null +++ b/LiteLoader/Header/MC/SeaPickle.hpp @@ -0,0 +1,81 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "BlockLegacy.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class SeaPickle : public BlockLegacy { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SEAPICKLE +public: + class SeaPickle& operator=(class SeaPickle const &) = delete; + SeaPickle(class SeaPickle const &) = delete; + SeaPickle() = delete; +#endif + +public: + /*0*/ virtual ~SeaPickle(); + /*1*/ virtual void tick(class BlockSource &, class BlockPos const &, class Random &) const; + /*10*/ virtual class AABB const & getAABB(class BlockSource &, class BlockPos const &, class Block const &, class AABB &, bool) const; + /*16*/ virtual struct Brightness getLightEmission(class Block const &) const; + /*18*/ virtual void __unk_vfn_18(); + /*21*/ virtual bool canProvideSupport(class Block const &, unsigned char, enum BlockSupportType) const; + /*24*/ virtual void __unk_vfn_24(); + /*25*/ virtual void __unk_vfn_25(); + /*26*/ virtual void __unk_vfn_26(); + /*27*/ virtual void __unk_vfn_27(); + /*28*/ virtual void __unk_vfn_28(); + /*30*/ virtual void __unk_vfn_30(); + /*31*/ virtual void __unk_vfn_31(); + /*32*/ virtual void __unk_vfn_32(); + /*33*/ virtual void __unk_vfn_33(); + /*34*/ virtual void __unk_vfn_34(); + /*35*/ virtual void __unk_vfn_35(); + /*36*/ virtual void __unk_vfn_36(); + /*38*/ virtual void __unk_vfn_38(); + /*39*/ virtual void __unk_vfn_39(); + /*40*/ virtual void __unk_vfn_40(); + /*42*/ virtual void __unk_vfn_42(); + /*43*/ virtual void __unk_vfn_43(); + /*49*/ virtual void __unk_vfn_49(); + /*50*/ virtual bool canContainLiquid() const; + /*52*/ virtual void __unk_vfn_52(); + /*59*/ virtual void onPlace(class BlockSource &, class BlockPos const &) const; + /*67*/ virtual void __unk_vfn_67(); + /*73*/ virtual void __unk_vfn_73(); + /*75*/ virtual bool onFertilized(class BlockSource &, class BlockPos const &, class Actor *, enum FertilizerType) const; + /*76*/ virtual bool mayConsumeFertilizer(class BlockSource &) const; + /*77*/ virtual bool canBeFertilized(class BlockSource &, class BlockPos const &, class Block const &) const; + /*82*/ virtual bool mayPlaceOn(class BlockSource &, class BlockPos const &) const; + /*87*/ virtual void __unk_vfn_87(); + /*88*/ virtual void neighborChanged(class BlockSource &, class BlockPos const &, class BlockPos const &) const; + /*91*/ virtual class ItemInstance getResourceItem(class Random &, class Block const &, int) const; + /*92*/ virtual class ItemInstance asItemInstance(class BlockSource &, class BlockPos const &, class Block const &) const; + /*95*/ virtual void __unk_vfn_95(); + /*105*/ virtual void playerDestroy(class Player &, class BlockPos const &, class Block const &) const; + /*106*/ virtual bool canSurvive(class BlockSource &, class BlockPos const &) const; + /*109*/ virtual void __unk_vfn_109(); + /*113*/ virtual class Color getMapColor(class BlockSource &, class BlockPos const &) const; + /*116*/ virtual void __unk_vfn_116(); + /*118*/ virtual void __unk_vfn_118(); + /*119*/ virtual void __unk_vfn_119(); + /*127*/ virtual std::string buildDescriptionId(class Block const &) const; + /*129*/ virtual int getColor(class Block const &) const; + /*130*/ virtual int getColor(class BlockSource &, class BlockPos const &, class Block const &) const; + /*142*/ virtual void __unk_vfn_142(); + /*158*/ virtual void __unk_vfn_158(); + /*164*/ virtual void checkAlive(class BlockSource &, class BlockPos const &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SEAPICKLE + MCVAPI bool canBeSilkTouched() const; + MCVAPI bool hasVariableLighting() const; + MCVAPI bool waterSpreadCausesSpawn() const; +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/SeaPickleBlockItem.hpp b/LiteLoader/Header/MC/SeaPickleBlockItem.hpp new file mode 100644 index 0000000..1e8b4e8 --- /dev/null +++ b/LiteLoader/Header/MC/SeaPickleBlockItem.hpp @@ -0,0 +1,46 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "BlockItem.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class SeaPickleBlockItem : public BlockItem { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SEAPICKLEBLOCKITEM +public: + class SeaPickleBlockItem& operator=(class SeaPickleBlockItem const &) = delete; + SeaPickleBlockItem(class SeaPickleBlockItem const &) = delete; + SeaPickleBlockItem() = delete; +#endif + +public: + /*0*/ virtual ~SeaPickleBlockItem(); + /*5*/ virtual void __unk_vfn_5(); + /*21*/ virtual int getLevelDataForAuxValue(int) const; + /*26*/ virtual void __unk_vfn_26(); + /*27*/ virtual void __unk_vfn_27(); + /*31*/ virtual void __unk_vfn_31(); + /*32*/ virtual void __unk_vfn_32(); + /*34*/ virtual void __unk_vfn_34(); + /*37*/ virtual void __unk_vfn_37(); + /*43*/ virtual void __unk_vfn_43(); + /*46*/ virtual void __unk_vfn_46(); + /*47*/ virtual void __unk_vfn_47(); + /*49*/ virtual void __unk_vfn_49(); + /*50*/ virtual void __unk_vfn_50(); + /*79*/ virtual void __unk_vfn_79(); + /*80*/ virtual void __unk_vfn_80(); + /*90*/ virtual void __unk_vfn_90(); + /*97*/ virtual void __unk_vfn_97(); + /*99*/ virtual bool _useOn(class ItemStack &, class Actor &, class BlockPos, unsigned char, float, float, float) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SEAPICKLEBLOCKITEM +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/SeaPickleFeature.hpp b/LiteLoader/Header/MC/SeaPickleFeature.hpp new file mode 100644 index 0000000..25b2bde --- /dev/null +++ b/LiteLoader/Header/MC/SeaPickleFeature.hpp @@ -0,0 +1,29 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Feature.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class SeaPickleFeature : public Feature { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SEAPICKLEFEATURE +public: + class SeaPickleFeature& operator=(class SeaPickleFeature const &) = delete; + SeaPickleFeature(class SeaPickleFeature const &) = delete; + SeaPickleFeature() = delete; +#endif + +public: + /*0*/ virtual ~SeaPickleFeature(); + /*1*/ virtual bool place(class BlockSource &, class BlockPos const &, class Random &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SEAPICKLEFEATURE +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/SeagrassFeature.hpp b/LiteLoader/Header/MC/SeagrassFeature.hpp new file mode 100644 index 0000000..63a4d5a --- /dev/null +++ b/LiteLoader/Header/MC/SeagrassFeature.hpp @@ -0,0 +1,34 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Feature.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class SeagrassFeature : public Feature { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SEAGRASSFEATURE +public: + class SeagrassFeature& operator=(class SeagrassFeature const &) = delete; + SeagrassFeature(class SeagrassFeature const &) = delete; + SeagrassFeature() = delete; +#endif + +public: + /*0*/ virtual ~SeagrassFeature(); + /*1*/ virtual bool place(class BlockSource &, class BlockPos const &, class Random &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SEAGRASSFEATURE +#endif + +//private: + MCAPI bool _isNotIce(class BlockSource &, class BlockPos const &) const; + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/SearchFeature.hpp b/LiteLoader/Header/MC/SearchFeature.hpp new file mode 100644 index 0000000..f692749 --- /dev/null +++ b/LiteLoader/Header/MC/SearchFeature.hpp @@ -0,0 +1,28 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class SearchFeature { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SEARCHFEATURE +public: + class SearchFeature& operator=(class SearchFeature const &) = delete; + SearchFeature(class SearchFeature const &) = delete; + SearchFeature() = delete; +#endif + +public: + /*0*/ virtual ~SearchFeature(); + /*1*/ virtual class std::optional place(class IBlockPlacementTarget &, class BlockPos const &, class Random &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SEARCHFEATURE +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/Seasons.hpp b/LiteLoader/Header/MC/Seasons.hpp new file mode 100644 index 0000000..0a78021 --- /dev/null +++ b/LiteLoader/Header/MC/Seasons.hpp @@ -0,0 +1,27 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class Seasons { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SEASONS +public: + class Seasons& operator=(class Seasons const &) = delete; + Seasons(class Seasons const &) = delete; + Seasons() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SEASONS +#endif + MCAPI void postProcess(class LevelChunk &, class BlockSource &, class ChunkPos const &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/SeatDescription.hpp b/LiteLoader/Header/MC/SeatDescription.hpp new file mode 100644 index 0000000..c8b06b9 --- /dev/null +++ b/LiteLoader/Header/MC/SeatDescription.hpp @@ -0,0 +1,27 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +struct SeatDescription { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SEATDESCRIPTION +public: + struct SeatDescription& operator=(struct SeatDescription const &) = delete; + SeatDescription() = delete; +#endif +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SEATDESCRIPTION +#endif + MCAPI SeatDescription(struct SeatDescription const &); + MCAPI void addRotationExpressionNode(class ExpressionNode const &); + MCAPI ~SeatDescription(); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/SecureStorage.hpp b/LiteLoader/Header/MC/SecureStorage.hpp new file mode 100644 index 0000000..7b9214a --- /dev/null +++ b/LiteLoader/Header/MC/SecureStorage.hpp @@ -0,0 +1,26 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class SecureStorage { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SECURESTORAGE +public: + class SecureStorage& operator=(class SecureStorage const &) = delete; + SecureStorage(class SecureStorage const &) = delete; + SecureStorage() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SECURESTORAGE +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/SeedItemComponent.hpp b/LiteLoader/Header/MC/SeedItemComponent.hpp new file mode 100644 index 0000000..fa33254 --- /dev/null +++ b/LiteLoader/Header/MC/SeedItemComponent.hpp @@ -0,0 +1,34 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Json.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class SeedItemComponent { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SEEDITEMCOMPONENT +public: + class SeedItemComponent& operator=(class SeedItemComponent const &) = delete; + SeedItemComponent(class SeedItemComponent const &) = delete; + SeedItemComponent() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SEEDITEMCOMPONENT +#endif + MCAPI bool init(class Json::Value &); + MCAPI bool useOn(class ItemStack &, class Actor &, class BlockPos const &, unsigned char, class Vec3 const &); + +//private: + MCAPI bool _parsePlantingBlocks(class Json::Value const &, std::string &); + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/SelectorBehaviorNode.hpp b/LiteLoader/Header/MC/SelectorBehaviorNode.hpp new file mode 100644 index 0000000..5f16064 --- /dev/null +++ b/LiteLoader/Header/MC/SelectorBehaviorNode.hpp @@ -0,0 +1,29 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class SelectorBehaviorNode { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SELECTORBEHAVIORNODE +public: + class SelectorBehaviorNode& operator=(class SelectorBehaviorNode const &) = delete; + SelectorBehaviorNode(class SelectorBehaviorNode const &) = delete; + SelectorBehaviorNode() = delete; +#endif + +public: + /*0*/ virtual ~SelectorBehaviorNode(); + /*1*/ virtual enum BehaviorStatus tick(class Actor &); + /*2*/ virtual void initializeFromDefinition(class Actor &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SELECTORBEHAVIORNODE +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/SelectorDefinition.hpp b/LiteLoader/Header/MC/SelectorDefinition.hpp new file mode 100644 index 0000000..055f589 --- /dev/null +++ b/LiteLoader/Header/MC/SelectorDefinition.hpp @@ -0,0 +1,30 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Json.hpp" +#include "BehaviorDefinition.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class SelectorDefinition : public BehaviorDefinition { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SELECTORDEFINITION +public: + class SelectorDefinition& operator=(class SelectorDefinition const &) = delete; + SelectorDefinition(class SelectorDefinition const &) = delete; + SelectorDefinition() = delete; +#endif + +public: + /*0*/ virtual ~SelectorDefinition(); + /*1*/ virtual void load(class Json::Value, class BehaviorFactory const &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SELECTORDEFINITION +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/SemVersion.hpp b/LiteLoader/Header/MC/SemVersion.hpp new file mode 100644 index 0000000..2ec2d68 --- /dev/null +++ b/LiteLoader/Header/MC/SemVersion.hpp @@ -0,0 +1,35 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Json.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class SemVersion { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SEMVERSION +#endif + MCAPI SemVersion(class SemVersion const &); + MCAPI SemVersion(); + MCAPI SemVersion(struct SemVersion::any_version_constructor); + MCAPI bool operator<(class SemVersion const &) const; + MCAPI class SemVersion & operator=(class SemVersion const &); + MCAPI bool operator==(class SemVersion const &) const; + MCAPI ~SemVersion(); + MCAPI static enum SemVersion::MatchType fromJson(class Json::Value const &, class SemVersion &, enum SemVersion::ParseOption); + MCAPI static enum SemVersion::MatchType fromJsonArray(class Json::Value const &, class SemVersion &); + MCAPI static enum SemVersion::MatchType fromString(std::string const &, class SemVersion &, enum SemVersion::ParseOption); + +//private: + MCAPI void _parseVersionToString(); + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/SendEventData.hpp b/LiteLoader/Header/MC/SendEventData.hpp new file mode 100644 index 0000000..255cb80 --- /dev/null +++ b/LiteLoader/Header/MC/SendEventData.hpp @@ -0,0 +1,26 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +struct SendEventData { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SENDEVENTDATA +public: + struct SendEventData& operator=(struct SendEventData const &) = delete; +#endif +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SENDEVENTDATA +#endif + MCAPI SendEventData(struct SendEventData const &); + MCAPI SendEventData(); + MCAPI ~SendEventData(); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/SendEventGoal.hpp b/LiteLoader/Header/MC/SendEventGoal.hpp new file mode 100644 index 0000000..1c7e844 --- /dev/null +++ b/LiteLoader/Header/MC/SendEventGoal.hpp @@ -0,0 +1,39 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class SendEventGoal { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SENDEVENTGOAL +public: + class SendEventGoal& operator=(class SendEventGoal const &) = delete; + SendEventGoal(class SendEventGoal const &) = delete; + SendEventGoal() = delete; +#endif + +public: + /*0*/ virtual ~SendEventGoal(); + /*1*/ virtual bool canUse(); + /*2*/ virtual bool canContinueToUse(); + /*3*/ virtual void __unk_vfn_3(); + /*4*/ virtual void start(); + /*5*/ virtual void stop(); + /*6*/ virtual void tick(); + /*7*/ virtual void appendDebugInfo(std::string &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SENDEVENTGOAL +#endif + +//private: + MCAPI int _selectBestSpell(); + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/SendEventStage.hpp b/LiteLoader/Header/MC/SendEventStage.hpp new file mode 100644 index 0000000..a04af16 --- /dev/null +++ b/LiteLoader/Header/MC/SendEventStage.hpp @@ -0,0 +1,27 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class SendEventStage { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SENDEVENTSTAGE +public: + class SendEventStage& operator=(class SendEventStage const &) = delete; + SendEventStage(class SendEventStage const &) = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SENDEVENTSTAGE +#endif + MCAPI SendEventStage(); + MCAPI ~SendEventStage(); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/SensingComponent.hpp b/LiteLoader/Header/MC/SensingComponent.hpp new file mode 100644 index 0000000..d1ab258 --- /dev/null +++ b/LiteLoader/Header/MC/SensingComponent.hpp @@ -0,0 +1,28 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class SensingComponent { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SENSINGCOMPONENT +public: + class SensingComponent& operator=(class SensingComponent const &) = delete; + SensingComponent(class SensingComponent const &) = delete; + SensingComponent() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SENSINGCOMPONENT +#endif + MCAPI bool canSee(class Mob &, class Actor const &); + MCAPI bool withinFOV(class Mob &, class Vec3 const &, float); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/SensingSystem.hpp b/LiteLoader/Header/MC/SensingSystem.hpp new file mode 100644 index 0000000..421e8f9 --- /dev/null +++ b/LiteLoader/Header/MC/SensingSystem.hpp @@ -0,0 +1,28 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class SensingSystem { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SENSINGSYSTEM +public: + class SensingSystem& operator=(class SensingSystem const &) = delete; + SensingSystem(class SensingSystem const &) = delete; + SensingSystem() = delete; +#endif + +public: + /*0*/ virtual ~SensingSystem(); + /*1*/ virtual void tick(class EntityRegistry &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SENSINGSYSTEM +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/SequenceBehaviorNode.hpp b/LiteLoader/Header/MC/SequenceBehaviorNode.hpp new file mode 100644 index 0000000..aadd098 --- /dev/null +++ b/LiteLoader/Header/MC/SequenceBehaviorNode.hpp @@ -0,0 +1,29 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class SequenceBehaviorNode { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SEQUENCEBEHAVIORNODE +public: + class SequenceBehaviorNode& operator=(class SequenceBehaviorNode const &) = delete; + SequenceBehaviorNode(class SequenceBehaviorNode const &) = delete; + SequenceBehaviorNode() = delete; +#endif + +public: + /*0*/ virtual ~SequenceBehaviorNode(); + /*1*/ virtual enum BehaviorStatus tick(class Actor &); + /*2*/ virtual void initializeFromDefinition(class Actor &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SEQUENCEBEHAVIORNODE +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/SequenceDefinition.hpp b/LiteLoader/Header/MC/SequenceDefinition.hpp new file mode 100644 index 0000000..b597b8c --- /dev/null +++ b/LiteLoader/Header/MC/SequenceDefinition.hpp @@ -0,0 +1,30 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Json.hpp" +#include "BehaviorDefinition.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class SequenceDefinition : public BehaviorDefinition { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SEQUENCEDEFINITION +public: + class SequenceDefinition& operator=(class SequenceDefinition const &) = delete; + SequenceDefinition(class SequenceDefinition const &) = delete; + SequenceDefinition() = delete; +#endif + +public: + /*0*/ virtual ~SequenceDefinition(); + /*1*/ virtual void load(class Json::Value, class BehaviorFactory const &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SEQUENCEDEFINITION +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/SerializedSkin.hpp b/LiteLoader/Header/MC/SerializedSkin.hpp new file mode 100644 index 0000000..8fb6a5e --- /dev/null +++ b/LiteLoader/Header/MC/SerializedSkin.hpp @@ -0,0 +1,28 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class SerializedSkin { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SERIALIZEDSKIN +#endif + MCAPI SerializedSkin(); + MCAPI SerializedSkin(class ConnectionRequest const &); + MCAPI SerializedSkin(class SubClientConnectionRequest const &); + MCAPI SerializedSkin(class SerializedSkin const &); + MCAPI class SerializedSkin & operator=(class SerializedSkin const &); + MCAPI bool read(class ReadOnlyBinaryStream &); + MCAPI void updateGeometryName(); + MCAPI void write(class BinaryStream &) const; + MCAPI ~SerializedSkin(); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ServerCommand.hpp b/LiteLoader/Header/MC/ServerCommand.hpp new file mode 100644 index 0000000..64b797e --- /dev/null +++ b/LiteLoader/Header/MC/ServerCommand.hpp @@ -0,0 +1,31 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ServerCommand { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SERVERCOMMAND +public: + class ServerCommand& operator=(class ServerCommand const &) = delete; + ServerCommand(class ServerCommand const &) = delete; + ServerCommand() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SERVERCOMMAND +#endif + +//protected: + +protected: + MCAPI static class Minecraft * mGame; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ServerCommandOrigin.hpp b/LiteLoader/Header/MC/ServerCommandOrigin.hpp new file mode 100644 index 0000000..4f8bc46 --- /dev/null +++ b/LiteLoader/Header/MC/ServerCommandOrigin.hpp @@ -0,0 +1,42 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Json.hpp" +#include "CommandOrigin.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ServerCommandOrigin : public CommandOrigin { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SERVERCOMMANDORIGIN +public: + class ServerCommandOrigin& operator=(class ServerCommandOrigin const &) = delete; + ServerCommandOrigin(class ServerCommandOrigin const &) = delete; + ServerCommandOrigin() = delete; +#endif + +public: + /*0*/ virtual ~ServerCommandOrigin(); + /*1*/ virtual std::string const & getRequestId() const; + /*2*/ virtual std::string getName() const; + /*3*/ virtual class BlockPos getBlockPosition() const; + /*4*/ virtual class Vec3 getWorldPosition() const; + /*5*/ virtual class Level * getLevel() const; + /*6*/ virtual class Dimension * getDimension() const; + /*7*/ virtual class Actor * getEntity() const; + /*8*/ virtual enum CommandPermissionLevel getPermissionsLevel() const; + /*9*/ virtual std::unique_ptr clone() const; + /*16*/ virtual bool canUseCommandsWithoutCheatsEnabled() const; + /*17*/ virtual bool isSelectorExpansionAllowed() const; + /*21*/ virtual enum CommandOriginType getOriginType() const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SERVERCOMMANDORIGIN +#endif + MCAPI ServerCommandOrigin(std::string const &, class ServerLevel &, enum CommandPermissionLevel); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ServerCommands.hpp b/LiteLoader/Header/MC/ServerCommands.hpp new file mode 100644 index 0000000..47e6055 --- /dev/null +++ b/LiteLoader/Header/MC/ServerCommands.hpp @@ -0,0 +1,17 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +namespace ServerCommands { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA + MCAPI void setupStandardServer(class Minecraft &, std::string const &, std::string const &, class PermissionsFile *); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ServerCommunicationInterface.hpp b/LiteLoader/Header/MC/ServerCommunicationInterface.hpp new file mode 100644 index 0000000..50b2d06 --- /dev/null +++ b/LiteLoader/Header/MC/ServerCommunicationInterface.hpp @@ -0,0 +1,35 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Json.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ServerCommunicationInterface { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SERVERCOMMUNICATIONINTERFACE +public: + class ServerCommunicationInterface& operator=(class ServerCommunicationInterface const &) = delete; + ServerCommunicationInterface(class ServerCommunicationInterface const &) = delete; + ServerCommunicationInterface() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SERVERCOMMUNICATIONINTERFACE +#endif + MCAPI void sendBandwidthMetric(unsigned __int64, unsigned __int64, unsigned __int64, unsigned __int64, std::string const &); + MCAPI void sendServerStarted(); + MCAPI static std::unique_ptr create(struct NetworkAddress const &); + +//private: + MCAPI void communicate(std::string const &, class Json::Value const &); + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ServerContentKeyProvider.hpp b/LiteLoader/Header/MC/ServerContentKeyProvider.hpp new file mode 100644 index 0000000..5d4771f --- /dev/null +++ b/LiteLoader/Header/MC/ServerContentKeyProvider.hpp @@ -0,0 +1,35 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ServerContentKeyProvider { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SERVERCONTENTKEYPROVIDER +public: + class ServerContentKeyProvider& operator=(class ServerContentKeyProvider const &) = delete; + ServerContentKeyProvider(class ServerContentKeyProvider const &) = delete; + ServerContentKeyProvider() = delete; +#endif + +public: + /*0*/ virtual ~ServerContentKeyProvider(); + /*1*/ virtual std::string getContentKey(class ContentIdentity const &) const; + /*2*/ virtual void __unk_vfn_2(); + /*3*/ virtual void __unk_vfn_3(); + /*4*/ virtual void __unk_vfn_4(); + /*5*/ virtual void __unk_vfn_5(); + /*6*/ virtual bool canAccess(class ContentIdentity const &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SERVERCONTENTKEYPROVIDER + MCVAPI void clearTempContentKeys(); + MCVAPI void setTempContentKeys(class std::unordered_map, struct std::equal_to, class std::allocator>> const &); +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ServerFileChunkUploader.hpp b/LiteLoader/Header/MC/ServerFileChunkUploader.hpp new file mode 100644 index 0000000..35a77be --- /dev/null +++ b/LiteLoader/Header/MC/ServerFileChunkUploader.hpp @@ -0,0 +1,41 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Json.hpp" +#include "IFileChunkUploader.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ServerFileChunkUploader : public IFileChunkUploader { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SERVERFILECHUNKUPLOADER +public: + class ServerFileChunkUploader& operator=(class ServerFileChunkUploader const &) = delete; + ServerFileChunkUploader(class ServerFileChunkUploader const &) = delete; + ServerFileChunkUploader() = delete; +#endif + +public: + /*0*/ virtual ~ServerFileChunkUploader(); + /*1*/ virtual void __unk_vfn_1(); + /*2*/ virtual void initFileUploader(std::string const &, struct FileInfo const &, int, class Json::Value const &, class std::function); + /*3*/ virtual void getServerMissingChunks(struct FileInfo const &, class std::function)>) const; + /*4*/ virtual void __unk_vfn_4(); + /*5*/ virtual void uploadChunk(struct FileInfo const &, struct FileChunkInfo const &, std::vector const &, class std::function); + /*7*/ virtual bool canCancelUpload(struct FileInfo const &) const; + /*8*/ virtual void __unk_vfn_8(); + /*9*/ virtual float getUploadProgress(struct FileInfo const &) const; + /*10*/ virtual struct FileChunkInfo getChunkInfo(struct FileInfo const &, int) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SERVERFILECHUNKUPLOADER + MCVAPI void cancelUpload(struct FileInfo const &); + MCVAPI void confirmChunkReceived(struct FileInfo const &, struct FileChunkInfo const &); + MCVAPI void update(); +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ServerInstance.hpp b/LiteLoader/Header/MC/ServerInstance.hpp new file mode 100644 index 0000000..c28f2fe --- /dev/null +++ b/LiteLoader/Header/MC/ServerInstance.hpp @@ -0,0 +1,55 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Bedrock.hpp" +#include "Core.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ServerInstance { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SERVERINSTANCE +public: + class ServerInstance& operator=(class ServerInstance const &) = delete; + ServerInstance(class ServerInstance const &) = delete; + ServerInstance() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SERVERINSTANCE + MCVAPI void onCriticalDiskError(bool, enum Core::LevelStorageState const &); + MCVAPI void onGameModeChanged(); + MCVAPI void onGameSessionReset(); + MCVAPI void onInternetUpdate(); + MCVAPI void onLevelCorrupt(); + MCVAPI void onLevelExit(); + MCVAPI void onLowDiskSpace(bool); + MCVAPI void onLowMemory(); + MCVAPI void onOutOfDiskSpace(bool); + MCVAPI void onTick(int, int); + MCVAPI void updateScreens(); + MCVAPI ~ServerInstance(); +#endif + MCAPI ServerInstance(class IMinecraftApp &, class gsl::not_null> const &); + MCAPI void disconnectAllClientsWithMessage(std::string); + MCAPI bool initializeServer(class IMinecraftApp &, class Whitelist &, class PermissionsFile *, class Core::FilePathManager *, class std::chrono::duration<__int64, struct std::ratio<1, 1>>, std::string, std::string, std::string, class LevelSettings, int, bool, struct ConnectionDefinition, bool, std::vector const &, std::string, class mce::UUID const &, class IMinecraftEventing &, class ResourcePackRepository &, class ContentTierManager const &, class ResourcePackManager &, class std::function (class Scheduler &)>, std::unique_ptr, std::string const &, class LevelData *, std::string, std::string, std::unique_ptr, class ResourcePackManager *, class std::function, class std::function, class ServerMetrics *, class DebugEndPoint *, bool, class std::shared_ptr, unsigned short, bool); + MCAPI void leaveGameSync(); + MCAPI void queueForServerThread(class std::function); + MCAPI void setLevelCorruptionCallback(class std::function); + MCAPI void setWakeupFrequency(int); + MCAPI void startServerThread(); + MCAPI static class std::chrono::duration<__int64, struct std::ratio<1, 1000000000>> const SERVER_MAX_DELAY_BEFORE_SLOWDOWN; + +//private: + MCAPI void _threadSafeExecute(class std::function); + MCAPI void _update(); + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ServerInstanceEventCoordinator.hpp b/LiteLoader/Header/MC/ServerInstanceEventCoordinator.hpp new file mode 100644 index 0000000..e65253f --- /dev/null +++ b/LiteLoader/Header/MC/ServerInstanceEventCoordinator.hpp @@ -0,0 +1,27 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ServerInstanceEventCoordinator { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SERVERINSTANCEEVENTCOORDINATOR +public: + class ServerInstanceEventCoordinator& operator=(class ServerInstanceEventCoordinator const &) = delete; + ServerInstanceEventCoordinator(class ServerInstanceEventCoordinator const &) = delete; + ServerInstanceEventCoordinator() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SERVERINSTANCEEVENTCOORDINATOR +#endif + MCAPI void sendServerInitializeEnd(class ServerInstance &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ServerInstanceEventListener.hpp b/LiteLoader/Header/MC/ServerInstanceEventListener.hpp new file mode 100644 index 0000000..c9d4fd7 --- /dev/null +++ b/LiteLoader/Header/MC/ServerInstanceEventListener.hpp @@ -0,0 +1,38 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ServerInstanceEventListener { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SERVERINSTANCEEVENTLISTENER +public: + class ServerInstanceEventListener& operator=(class ServerInstanceEventListener const &) = delete; + ServerInstanceEventListener(class ServerInstanceEventListener const &) = delete; + ServerInstanceEventListener() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SERVERINSTANCEEVENTLISTENER + MCVAPI enum EventResult onLeaveGameDone(class ServerInstance &); + MCVAPI enum EventResult onServerInitializeEnd(class ServerInstance &); + MCVAPI enum EventResult onServerInitializeStart(class ServerInstance &); + MCVAPI enum EventResult onServerLevelInitialized(class ServerInstance &, class Level &); + MCVAPI enum EventResult onServerMinecraftInitialized(class ServerInstance &, class Minecraft &); + MCVAPI enum EventResult onServerResume(class ServerInstance &); + MCVAPI enum EventResult onServerSuspend(class ServerInstance &); + MCVAPI enum EventResult onServerThreadStarted(class ServerInstance &); + MCVAPI enum EventResult onServerThreadStopped(class ServerInstance &); + MCVAPI enum EventResult onServerUpdateEnd(class ServerInstance &); + MCVAPI enum EventResult onServerUpdateStart(class ServerInstance &); + MCVAPI enum EventResult onStartLeaveGame(class ServerInstance &); +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ServerLevel.hpp b/LiteLoader/Header/MC/ServerLevel.hpp new file mode 100644 index 0000000..5e1d101 --- /dev/null +++ b/LiteLoader/Header/MC/ServerLevel.hpp @@ -0,0 +1,53 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Bedrock.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ServerLevel { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SERVERLEVEL +public: + class ServerLevel& operator=(class ServerLevel const &) = delete; + ServerLevel(class ServerLevel const &) = delete; + ServerLevel() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SERVERLEVEL + MCVAPI void addEntryToTagCache(std::string const &); + MCVAPI void clearTagCache(); + MCVAPI void decrementTagCache(std::string const &, class TagRegistry, struct IDType> &); + MCVAPI void dropEntryFromTagCache(std::string const &); + MCVAPI class ResourcePackManager * getClientResourcePackManager() const; + MCVAPI class LevelEventCoordinator & getLevelEventCoordinator(); + MCVAPI class PositionTrackingDB::PositionTrackingDBServer * getPositionTrackerDBServer() const; + MCVAPI class ResourcePackManager * getServerResourcePackManager() const; + MCVAPI class TradeTables * getTradeTables(); + MCVAPI void incrementTagCache(std::string const &, class TagRegistry, struct IDType> &); + MCVAPI bool initialize(std::string const &, class LevelSettings const &, class LevelData *, std::string const *); + MCVAPI void loadFunctionManager(); + MCVAPI void runCommand(class HashedString const &, class CommandOrigin &, enum CommandOriginSystem, enum CurrentCmdVersion); + MCVAPI void saveAdditionalData(); + MCVAPI void setCommandsEnabled(bool); + MCVAPI void setDifficulty(enum Difficulty); + MCVAPI void setWorldTemplateOptionsUnlocked(); + MCVAPI void tick(); + MCVAPI void updateSleepingPlayerList(); +#endif + MCAPI ServerLevel(class gsl::not_null> const &, std::unique_ptr, std::unique_ptr, class IMinecraftEventing &, class ResourcePackManager &, class ResourcePackManager &, class StructureManager &, class MinecraftCommands &, class Scheduler &, class IEntityRegistryOwner &, std::unique_ptr, std::unique_ptr); + +//protected: + MCAPI void _registerScoreboardCallbacks(class ServerScoreboard &); + MCAPI void stopWeather(); + +protected: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ServerLocator.hpp b/LiteLoader/Header/MC/ServerLocator.hpp new file mode 100644 index 0000000..c1553c5 --- /dev/null +++ b/LiteLoader/Header/MC/ServerLocator.hpp @@ -0,0 +1,26 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ServerLocator { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SERVERLOCATOR +public: + class ServerLocator& operator=(class ServerLocator const &) = delete; + ServerLocator(class ServerLocator const &) = delete; + ServerLocator() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SERVERLOCATOR +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ServerMetrics.hpp b/LiteLoader/Header/MC/ServerMetrics.hpp new file mode 100644 index 0000000..03ee668 --- /dev/null +++ b/LiteLoader/Header/MC/ServerMetrics.hpp @@ -0,0 +1,26 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ServerMetrics { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SERVERMETRICS +public: + class ServerMetrics& operator=(class ServerMetrics const &) = delete; + ServerMetrics(class ServerMetrics const &) = delete; + ServerMetrics() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SERVERMETRICS +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ServerMetricsImpl.hpp b/LiteLoader/Header/MC/ServerMetricsImpl.hpp new file mode 100644 index 0000000..b0a49c5 --- /dev/null +++ b/LiteLoader/Header/MC/ServerMetricsImpl.hpp @@ -0,0 +1,35 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ServerMetricsImpl { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SERVERMETRICSIMPL +public: + class ServerMetricsImpl& operator=(class ServerMetricsImpl const &) = delete; + ServerMetricsImpl(class ServerMetricsImpl const &) = delete; + ServerMetricsImpl() = delete; +#endif + +public: + /*0*/ virtual ~ServerMetricsImpl(); + /*1*/ virtual void sendPeriodicMetrics(class ServerInstance &); + /*2*/ virtual void sendServerTickTime(class std::chrono::duration<__int64, struct std::ratio<1, 1000000000>> const &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SERVERMETRICSIMPL +#endif + MCAPI ServerMetricsImpl(class ServerCommunicationInterface *); + +//private: + MCAPI void sendPeriodicMetricsInternal(class ServerInstance &); + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ServerMoveInputHandler.hpp b/LiteLoader/Header/MC/ServerMoveInputHandler.hpp new file mode 100644 index 0000000..b883692 --- /dev/null +++ b/LiteLoader/Header/MC/ServerMoveInputHandler.hpp @@ -0,0 +1,34 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "MoveInput.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ServerMoveInputHandler : public MoveInput { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SERVERMOVEINPUTHANDLER +public: + class ServerMoveInputHandler& operator=(class ServerMoveInputHandler const &) = delete; + ServerMoveInputHandler(class ServerMoveInputHandler const &) = delete; + ServerMoveInputHandler() = delete; +#endif + +public: + /*0*/ virtual ~ServerMoveInputHandler(); + /*1*/ virtual void tick(class Player &); + /*2*/ virtual void __unk_vfn_2(); + /*3*/ virtual void __unk_vfn_3(); + /*5*/ virtual void __unk_vfn_5(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SERVERMOVEINPUTHANDLER + MCVAPI void registerInputHandlers(class InputHandler &); +#endif + MCAPI void digestPlayerInputPacket(class PlayerAuthInputPacket const &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ServerNetworkHandler.hpp b/LiteLoader/Header/MC/ServerNetworkHandler.hpp new file mode 100644 index 0000000..2bee5bc --- /dev/null +++ b/LiteLoader/Header/MC/ServerNetworkHandler.hpp @@ -0,0 +1,133 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Automation.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ServerNetworkHandler { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SERVERNETWORKHANDLER +public: + class ServerNetworkHandler& operator=(class ServerNetworkHandler const &) = delete; + ServerNetworkHandler(class ServerNetworkHandler const &) = delete; + ServerNetworkHandler() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SERVERNETWORKHANDLER + MCVAPI bool allowIncomingPacketId(class NetworkIdentifier const &, enum MinecraftPacketIds); + MCVAPI class GameSpecificNetEventCallback * getGameSpecificNetEventCallback(); + MCVAPI void handle(class NetworkIdentifier const &, class UpdatePlayerGameTypePacket const &); + MCVAPI void handle(class NetworkIdentifier const &, class PhotoTransferPacket const &); + MCVAPI void handle(class NetworkIdentifier const &, class ModalFormResponsePacket const &); + MCVAPI void handle(class NetworkIdentifier const &, class PurchaseReceiptPacket const &); + MCVAPI void handle(class NetworkIdentifier const &, class CompletedUsingItemPacket const &); + MCVAPI void handle(class NetworkIdentifier const &, class TextPacket const &); + MCVAPI void handle(class NetworkIdentifier const &, class MultiplayerSettingsPacket const &); + MCVAPI void handle(class NetworkIdentifier const &, class CommandRequestPacket const &); + MCVAPI void handle(class NetworkIdentifier const &, class CommandBlockUpdatePacket const &); + MCVAPI void handle(class NetworkIdentifier const &, class SpawnExperienceOrbPacket const &); + MCVAPI void handle(class NetworkIdentifier const &, class RequestChunkRadiusPacket const &); + MCVAPI void handle(class NetworkIdentifier const &, class MapCreateLockedCopyPacket const &); + MCVAPI void handle(class NetworkIdentifier const &, class MapInfoRequestPacket const &); + MCVAPI void handle(class NetworkIdentifier const &, class AdventureSettingsPacket const &); + MCVAPI void handle(class NetworkIdentifier const &, class ShowCreditsPacket const &); + MCVAPI void handle(class NetworkIdentifier const &, class ResourcePackChunkRequestPacket const &); + MCVAPI void handle(class NetworkIdentifier const &, class BossEventPacket const &); + MCVAPI void handle(class NetworkIdentifier const &, class StructureBlockUpdatePacket const &); + MCVAPI void handle(class NetworkIdentifier const &, class BlockPickRequestPacket const &); + MCVAPI void handle(class NetworkIdentifier const &, class ActorPickRequestPacket const &); + MCVAPI void handle(class NetworkIdentifier const &, class SetDifficultyPacket const &); + MCVAPI void handle(class NetworkIdentifier const &, class NetworkStackLatencyPacket const &); + MCVAPI void handle(class NetworkIdentifier const &, class SetLocalPlayerAsInitializedPacket const &); + MCVAPI void handle(class NetworkIdentifier const &, class StructureTemplateDataRequestPacket const &); + MCVAPI void handle(class NetworkIdentifier const &, class SettingsCommandPacket const &); + MCVAPI void handle(class NetworkIdentifier const &, class EmoteListPacket const &); + MCVAPI void handle(class NetworkIdentifier const &, class EmotePacket const &); + MCVAPI void handle(class NetworkIdentifier const &, class RespawnPacket const &); + MCVAPI void handle(class NetworkIdentifier const &, class LoginPacket const &); + MCVAPI void handle(class NetworkIdentifier const &, class SubClientLoginPacket const &); + MCVAPI void handle(class NetworkIdentifier const &, class DisconnectPacket const &); + MCVAPI void handle(class NetworkIdentifier const &, class ClientCacheStatusPacket const &); + MCVAPI void handle(class NetworkIdentifier const &, class ClientCacheBlobStatusPacket const &); + MCVAPI void handle(class NetworkIdentifier const &, class ClientToServerHandshakePacket const &); + MCVAPI void handle(class NetworkIdentifier const &, class MovePlayerPacket const &); + MCVAPI void handle(class NetworkIdentifier const &, class RiderJumpPacket const &); + MCVAPI void handle(class NetworkIdentifier const &, class TickSyncPacket const &); + MCVAPI void handle(class NetworkIdentifier const &, class MobEquipmentPacket const &); + MCVAPI void handle(class NetworkIdentifier const &, class MoveActorAbsolutePacket const &); + MCVAPI void handle(class NetworkIdentifier const &, class InteractPacket const &); + MCVAPI void handle(class NetworkIdentifier const &, class AnimatePacket const &); + MCVAPI void handle(class NetworkIdentifier const &, class ActorEventPacket const &); + MCVAPI void handle(class NetworkIdentifier const &, class PlayerActionPacket const &); + MCVAPI void handle(class NetworkIdentifier const &, class ActorFallPacket const &); + MCVAPI void handle(class NetworkIdentifier const &, class ItemFrameDropItemPacket const &); + MCVAPI void handle(class NetworkIdentifier const &, class ItemStackRequestPacket const &); + MCVAPI void handle(class NetworkIdentifier const &, class ContainerClosePacket const &); + MCVAPI void handle(class NetworkIdentifier const &, class InventoryTransactionPacket const &); + MCVAPI void handle(class NetworkIdentifier const &, class PlayerHotbarPacket const &); + MCVAPI void handle(class NetworkIdentifier const &, class CraftingEventPacket const &); + MCVAPI void handle(class NetworkIdentifier const &, class DebugInfoPacket const &); + MCVAPI void handle(class NetworkIdentifier const &, class std::shared_ptr); + MCVAPI void handle(class NetworkIdentifier const &, class PlayerAuthInputPacket const &); + MCVAPI void handle(class NetworkIdentifier const &, class PlayerInputPacket const &); + MCVAPI void handle(class NetworkIdentifier const &, class SetPlayerGameTypePacket const &); + MCVAPI void handle(class NetworkIdentifier const &, class SetDefaultGameTypePacket const &); + MCVAPI void handle(class NetworkIdentifier const &, class LevelSoundEventPacket const &); + MCVAPI void handle(class NetworkIdentifier const &, class LevelSoundEventPacketV2 const &); + MCVAPI void handle(class NetworkIdentifier const &, class LevelSoundEventPacketV1 const &); + MCVAPI void handle(class NetworkIdentifier const &, class SimpleEventPacket const &); + MCVAPI void handle(class NetworkIdentifier const &, class PlayerSkinPacket const &); + MCVAPI void handle(class NetworkIdentifier const &, class LecternUpdatePacket const &); + MCVAPI void handle(class NetworkIdentifier const &, class PositionTrackingDBClientRequestPacket const &); + MCVAPI void handle(class NetworkIdentifier const &, class BookEditPacket const &); + MCVAPI void handle(class NetworkIdentifier const &, class NpcRequestPacket const &); + MCVAPI void handle(class NetworkIdentifier const &, class LabTablePacket const &); + MCVAPI void handle(class NetworkIdentifier const &, class AnvilDamagePacket const &); + MCVAPI void onDisconnect(class NetworkIdentifier const &, std::string const &, bool, std::string const &); + MCVAPI void onInvalidPlayerJoinedLobby(class mce::UUID const &, std::string const &); + MCVAPI void onPlayerReady(class Player &); + MCVAPI void onTick(); + MCVAPI void onTransferRequest(class NetworkIdentifier const &, std::string const &, int); + MCVAPI void onWebsocketRequest(std::string const &, std::string const &, class std::function); + MCVAPI void onXboxUserBlocked(std::string const &); + MCVAPI void onXboxUserUnblocked(std::string const &); + MCVAPI void sendServerLegacyParticle(enum ParticleType, class Vec3 const &, class Vec3 const &, int); + MCVAPI ~ServerNetworkHandler(); +#endif + MCAPI ServerNetworkHandler(class GameCallbacks &, class Level &, class NetworkHandler &, class PrivateKeyManager &, class ServerLocator &, class PacketSender &, class Whitelist &, class PermissionsFile *, class mce::UUID const &, int, bool, std::vector const &, std::string, int, class MinecraftCommands &, class IMinecraftApp &, class std::unordered_map, struct std::equal_to, class std::allocator>> const &, class Scheduler &, class TextFilteringProcessor *); + MCAPI void allowIncomingConnections(std::string const &, bool); + MCAPI std::unique_ptr createNewPlayer(class NetworkIdentifier const &, class ConnectionRequest const &); + MCAPI void disallowIncomingConnections(); + MCAPI void disconnectClient(class NetworkIdentifier const &, unsigned char, std::string const &, bool); + MCAPI void engineDownloadingFinishedResponseHelper(class NetworkIdentifier const &, class ResourcePackClientResponsePacket const &); + MCAPI void onReady_ClientGeneration(class Player &, class NetworkIdentifier const &); + MCAPI void removeFromBlacklist(class mce::UUID const &, std::string const &); + MCAPI void sendLoginMessageLocal(class NetworkIdentifier const &, class ConnectionRequest const &, class ServerPlayer &); + MCAPI void setAutomationClient(class Automation::AutomationClient *); + MCAPI bool trytLoadPlayer(class ServerPlayer &, class ConnectionRequest const &); + MCAPI void updateServerAnnouncement(); + +//private: + MCAPI class ServerPlayer & _createNewPlayer(class NetworkIdentifier const &, class SubClientConnectionRequest const &, unsigned char); + MCAPI void _displayGameMessage(class Player const &, std::string const &); + MCAPI int _getActiveAndInProgressPlayerCount(class mce::UUID) const; + MCAPI std::string _getDisplayName(class Certificate const &, bool, std::string const &) const; + MCAPI class ServerPlayer * _getServerPlayer(class NetworkIdentifier const &, unsigned char); + MCAPI bool _loadNewPlayer(class ServerPlayer &, bool); + MCAPI void _onClientAuthenticated(class NetworkIdentifier const &, class Certificate const &); + MCAPI void _onPlayerLeft(class ServerPlayer *, bool); + MCAPI void _onSubClientAuthenticated(class NetworkIdentifier const &, class Certificate const &, class SubClientLoginPacket const &); + MCAPI void _sendAdditionalLevelData(class ServerPlayer &, class NetworkIdentifier const &); + MCAPI void _sendLevelData(class ServerPlayer &, class NetworkIdentifier const &); + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ServerPlayer.hpp b/LiteLoader/Header/MC/ServerPlayer.hpp new file mode 100644 index 0000000..8bc510b --- /dev/null +++ b/LiteLoader/Header/MC/ServerPlayer.hpp @@ -0,0 +1,147 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Actor.hpp" +#include "Player.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ServerPlayer : public Player { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SERVERPLAYER +public: + class ServerPlayer& operator=(class ServerPlayer const &) = delete; + ServerPlayer(class ServerPlayer const &) = delete; + ServerPlayer() = delete; +#endif + +public: + /*3*/ virtual void initializeComponents(enum Actor::InitializationMethod, class VariantParameterList const &); + /*5*/ virtual void _serverInitItemStackIds(); + /*7*/ virtual ~ServerPlayer(); + /*30*/ virtual void __unk_vfn_30(); + /*39*/ virtual void normalTick(); + /*54*/ virtual void __unk_vfn_54(); + /*61*/ virtual void __unk_vfn_61(); + /*76*/ virtual void __unk_vfn_76(); + /*81*/ virtual void __unk_vfn_81(); + /*88*/ virtual void __unk_vfn_88(); + /*90*/ virtual void __unk_vfn_90(); + /*98*/ virtual void __unk_vfn_98(); + /*100*/ virtual void __unk_vfn_100(); + /*104*/ virtual bool isValidTarget(class Actor *) const; + /*121*/ virtual void __unk_vfn_121(); + /*132*/ virtual void handleEntityEvent(enum ActorEvent, int); + /*143*/ virtual void setArmor(enum ArmorSlot, class ItemStack const &); + /*152*/ virtual void setOffhandSlot(class ItemStack const &); + /*157*/ virtual bool load(class CompoundTag const &, class DataLoadHelper &); + /*168*/ virtual bool canChangeDimensions() const; + /*169*/ virtual void __unk_vfn_169(); + /*170*/ virtual void changeDimension(class AutomaticID, bool); + /*171*/ virtual struct ActorUniqueID getControllingPlayer() const; + /*172*/ virtual void checkFallDamage(float, bool); + /*174*/ virtual void handleFallDistanceOnServer(float, bool); + /*182*/ virtual void __unk_vfn_182(); + /*199*/ virtual void onEffectAdded(class MobEffectInstance &); + /*200*/ virtual void onEffectUpdated(class MobEffectInstance const &); + /*201*/ virtual void onEffectRemoved(class MobEffectInstance &); + /*206*/ virtual void __unk_vfn_206(); + /*207*/ virtual void __unk_vfn_207(); + /*228*/ virtual void __unk_vfn_228(); + /*231*/ virtual void __unk_vfn_231(); + /*233*/ virtual void die(class ActorDamageSource const &); + /*238*/ virtual void __unk_vfn_238(); + /*246*/ virtual void __unk_vfn_246(); + /*257*/ virtual void __unk_vfn_257(); + /*258*/ virtual void knockback(class Actor *, int, float, float, float, float, float); + /*278*/ virtual void aiStep(); + /*290*/ virtual void __unk_vfn_290(); + /*300*/ virtual void __unk_vfn_300(); + /*307*/ virtual void hurtArmor(class ActorDamageSource const &, int); + /*308*/ virtual void setDamagedArmor(enum ArmorSlot, class ItemStack const &); + /*309*/ virtual void sendArmorDamage(class std::bitset<4> const &); + /*310*/ virtual void sendArmor(class std::bitset<4> const &); + /*321*/ virtual void clearVanishEnchantedItems(); + /*322*/ virtual void sendInventory(bool); + /*332*/ virtual void __unk_vfn_332(); + /*348*/ virtual void __unk_vfn_348(); + /*349*/ virtual void prepareRegion(class ChunkSource &); + /*350*/ virtual void destroyRegion(); + /*351*/ virtual void suspendRegion(); + /*354*/ virtual void changeDimensionWithCredits(class AutomaticID); + /*355*/ virtual int tickWorld(struct Tick const &); + /*356*/ virtual void __unk_vfn_356(); + /*360*/ virtual void checkMovementStats(class Vec3 const &); + /*361*/ virtual void __unk_vfn_361(); + /*362*/ virtual void __unk_vfn_362(); + /*364*/ virtual void __unk_vfn_364(); + /*366*/ virtual void __unk_vfn_366(); + /*369*/ virtual void setPermissions(enum CommandPermissionLevel); + /*372*/ virtual void __unk_vfn_372(); + /*373*/ virtual void __unk_vfn_373(); + /*374*/ virtual void openTrading(struct ActorUniqueID const &, bool); + /*376*/ virtual void __unk_vfn_376(); + /*377*/ virtual void __unk_vfn_377(); + /*378*/ virtual void openInventory(); + /*379*/ virtual void __unk_vfn_379(); + /*380*/ virtual void __unk_vfn_380(); + /*381*/ virtual void displayTextObjectMessage(class TextObjectRoot const &); + /*382*/ virtual void displayTextObjectWhisperMessage(class TextObjectRoot const &, std::string const &, std::string const &); + /*383*/ virtual void displayWhisperMessage(std::string const &, std::string const &, std::string const &, std::string const &); + /*385*/ virtual void stopSleepInBed(bool, bool); + /*389*/ virtual void __unk_vfn_389(); + /*390*/ virtual void __unk_vfn_390(); + /*391*/ virtual void __unk_vfn_391(); + /*392*/ virtual bool isHostingPlayer() const; + /*393*/ virtual bool isLoading() const; + /*394*/ virtual bool isPlayerInitialized() const; + /*395*/ virtual void __unk_vfn_395(); + /*398*/ virtual void setPlayerGameType(enum GameType); + /*401*/ virtual void __unk_vfn_401(); + /*405*/ virtual void setContainerData(class IContainerManager &, int, int); + /*406*/ virtual void slotChanged(class IContainerManager &, class Container &, int, class ItemStack const &, class ItemStack const &, bool); + /*408*/ virtual void refreshContainer(class IContainerManager &); + /*411*/ virtual bool isPositionRelevant(class AutomaticID, class BlockPos const &); + /*412*/ virtual bool isEntityRelevant(class Actor const &); + /*413*/ virtual bool isTeacher() const; + /*414*/ virtual void onSuspension(); + /*415*/ virtual void onLinkedSlotsChanged(); + /*419*/ virtual void sendInventoryTransaction(class InventoryTransaction const &) const; + /*420*/ virtual void sendComplexInventoryTransaction(std::unique_ptr) const; + /*421*/ virtual void sendNetworkPacket(class Packet &) const; + /*422*/ virtual class PlayerEventCoordinator & getPlayerEventCoordinator(); + /*423*/ virtual class MoveInputHandler * getMoveInputHandler(); + /*424*/ virtual enum InputMode getInputMode() const; + /*425*/ virtual enum ClientPlayMode getPlayMode() const; + /*426*/ virtual void reportMovementTelemetry(enum MovementEventType); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SERVERPLAYER + MCVAPI void frameUpdate(class FrameUpdateContextBase &); + MCVAPI void openNpcInteractScreen(class Actor &); + MCVAPI void openPortfolio(); +#endif + MCAPI ServerPlayer(class Level &, class PacketSender &, class NetworkHandler &, class ClientBlobCache::Server::ActiveTransfersManager &, enum GameType, class NetworkIdentifier const &, unsigned char, class std::function, class mce::UUID, std::string const &, std::unique_ptr, int, bool); + MCAPI void checkCheating(class Vec3 const &); + MCAPI void doDeleteContainerManager(); + MCAPI unsigned int findClientChunkRadius(unsigned int) const; + MCAPI void handleActorPickRequestOnServer(class Actor const &, bool); + MCAPI enum ContainerID openUnmanagedContainer(); + MCAPI bool recoverR5LostInventoryAndXP(); + MCAPI void selectItem(class ItemStack const &); + MCAPI void sendMobEffectPackets(); + MCAPI void setClientChunkRadius(unsigned int); + +//private: + MCAPI void _removeNearbyEntities(); + MCAPI void _scanForNearbyActors(); + MCAPI void _setContainerManager(class std::shared_ptr); + MCAPI void _updateNearbyActors(); + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ServerScoreboard.hpp b/LiteLoader/Header/MC/ServerScoreboard.hpp new file mode 100644 index 0000000..609fed4 --- /dev/null +++ b/LiteLoader/Header/MC/ServerScoreboard.hpp @@ -0,0 +1,51 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ServerScoreboard { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SERVERSCOREBOARD +public: + class ServerScoreboard& operator=(class ServerScoreboard const &) = delete; + ServerScoreboard(class ServerScoreboard const &) = delete; + ServerScoreboard() = delete; +#endif + +public: + /*0*/ virtual ~ServerScoreboard(); + /*1*/ virtual class DisplayObjective const * setDisplayObjective(std::string const &, class Objective const &, enum ObjectiveSortOrder); + /*2*/ virtual class Objective * clearDisplayObjective(std::string const &); + /*3*/ virtual struct ScoreboardId const & createScoreboardId(class Player const &); + /*4*/ virtual struct ScoreboardId const & createScoreboardId(class Actor const &); + /*5*/ virtual struct ScoreboardId const & createScoreboardId(std::string const &); + /*6*/ virtual void onObjectiveAdded(class Objective const &); + /*7*/ virtual void onObjectiveRemoved(class Objective &); + /*8*/ virtual void onScoreChanged(struct ScoreboardId const &, class Objective const &); + /*9*/ virtual void onPlayerScoreRemoved(struct ScoreboardId const &, class Objective const &); + /*10*/ virtual void onPlayerJoined(class Player const &); + /*11*/ virtual void onPlayerIdentityUpdated(struct PlayerScoreboardId const &); + /*12*/ virtual void tick(); + /*13*/ virtual void setPacketSender(class PacketSender *); + /*14*/ virtual void writeToLevelStorage(); + /*15*/ virtual bool isClientSide() const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SERVERSCOREBOARD +#endif + MCAPI ServerScoreboard(class CommandSoftEnumRegistry, class LevelStorage *); + MCAPI void deserialize(std::unique_ptr); + MCAPI std::unique_ptr serialize() const; + +//private: + MCAPI void _stopTrackingObjective(class Objective const &); + MCAPI struct ScorePacketInfo _unpackIdentityDefToScorePacket(class ScoreboardIdentityRef const &, std::string const &, int); + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ServerSettingsRequestPacket.hpp b/LiteLoader/Header/MC/ServerSettingsRequestPacket.hpp new file mode 100644 index 0000000..f1fb78e --- /dev/null +++ b/LiteLoader/Header/MC/ServerSettingsRequestPacket.hpp @@ -0,0 +1,32 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Packet.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ServerSettingsRequestPacket : public Packet { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SERVERSETTINGSREQUESTPACKET +public: + class ServerSettingsRequestPacket& operator=(class ServerSettingsRequestPacket const &) = delete; + ServerSettingsRequestPacket(class ServerSettingsRequestPacket const &) = delete; + ServerSettingsRequestPacket() = delete; +#endif + +public: + /*0*/ virtual ~ServerSettingsRequestPacket(); + /*1*/ virtual enum MinecraftPacketIds getId() const; + /*2*/ virtual std::string getName() const; + /*3*/ virtual void write(class BinaryStream &) const; + /*4*/ virtual enum StreamReadResult read(class ReadOnlyBinaryStream &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SERVERSETTINGSREQUESTPACKET +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ServerSettingsResponsePacket.hpp b/LiteLoader/Header/MC/ServerSettingsResponsePacket.hpp new file mode 100644 index 0000000..b150253 --- /dev/null +++ b/LiteLoader/Header/MC/ServerSettingsResponsePacket.hpp @@ -0,0 +1,32 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Packet.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ServerSettingsResponsePacket : public Packet { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SERVERSETTINGSRESPONSEPACKET +public: + class ServerSettingsResponsePacket& operator=(class ServerSettingsResponsePacket const &) = delete; + ServerSettingsResponsePacket(class ServerSettingsResponsePacket const &) = delete; + ServerSettingsResponsePacket() = delete; +#endif + +public: + /*0*/ virtual ~ServerSettingsResponsePacket(); + /*1*/ virtual enum MinecraftPacketIds getId() const; + /*2*/ virtual std::string getName() const; + /*3*/ virtual void write(class BinaryStream &) const; + /*4*/ virtual enum StreamReadResult read(class ReadOnlyBinaryStream &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SERVERSETTINGSRESPONSEPACKET +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ServerToClientHandshakePacket.hpp b/LiteLoader/Header/MC/ServerToClientHandshakePacket.hpp new file mode 100644 index 0000000..b7ac17c --- /dev/null +++ b/LiteLoader/Header/MC/ServerToClientHandshakePacket.hpp @@ -0,0 +1,32 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Packet.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ServerToClientHandshakePacket : public Packet { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SERVERTOCLIENTHANDSHAKEPACKET +public: + class ServerToClientHandshakePacket& operator=(class ServerToClientHandshakePacket const &) = delete; + ServerToClientHandshakePacket(class ServerToClientHandshakePacket const &) = delete; + ServerToClientHandshakePacket() = delete; +#endif + +public: + /*0*/ virtual ~ServerToClientHandshakePacket(); + /*1*/ virtual enum MinecraftPacketIds getId() const; + /*2*/ virtual std::string getName() const; + /*3*/ virtual void write(class BinaryStream &) const; + /*4*/ virtual enum StreamReadResult read(class ReadOnlyBinaryStream &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SERVERTOCLIENTHANDSHAKEPACKET +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/SetActorDataPacket.hpp b/LiteLoader/Header/MC/SetActorDataPacket.hpp new file mode 100644 index 0000000..8471ef0 --- /dev/null +++ b/LiteLoader/Header/MC/SetActorDataPacket.hpp @@ -0,0 +1,33 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Packet.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class SetActorDataPacket : public Packet { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SETACTORDATAPACKET +public: + class SetActorDataPacket& operator=(class SetActorDataPacket const &) = delete; + SetActorDataPacket(class SetActorDataPacket const &) = delete; + SetActorDataPacket() = delete; +#endif + +public: + /*0*/ virtual ~SetActorDataPacket(); + /*1*/ virtual enum MinecraftPacketIds getId() const; + /*2*/ virtual std::string getName() const; + /*3*/ virtual void write(class BinaryStream &) const; + /*4*/ virtual enum StreamReadResult read(class ReadOnlyBinaryStream &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SETACTORDATAPACKET +#endif + MCAPI SetActorDataPacket(class ActorRuntimeID, class SynchedActorData &, bool); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/SetActorLinkPacket.hpp b/LiteLoader/Header/MC/SetActorLinkPacket.hpp new file mode 100644 index 0000000..f3b4bf2 --- /dev/null +++ b/LiteLoader/Header/MC/SetActorLinkPacket.hpp @@ -0,0 +1,32 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Packet.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class SetActorLinkPacket : public Packet { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SETACTORLINKPACKET +public: + class SetActorLinkPacket& operator=(class SetActorLinkPacket const &) = delete; + SetActorLinkPacket(class SetActorLinkPacket const &) = delete; + SetActorLinkPacket() = delete; +#endif + +public: + /*0*/ virtual ~SetActorLinkPacket(); + /*1*/ virtual enum MinecraftPacketIds getId() const; + /*2*/ virtual std::string getName() const; + /*3*/ virtual void write(class BinaryStream &) const; + /*4*/ virtual enum StreamReadResult read(class ReadOnlyBinaryStream &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SETACTORLINKPACKET +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/SetActorMotionPacket.hpp b/LiteLoader/Header/MC/SetActorMotionPacket.hpp new file mode 100644 index 0000000..0a9af6e --- /dev/null +++ b/LiteLoader/Header/MC/SetActorMotionPacket.hpp @@ -0,0 +1,32 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Packet.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class SetActorMotionPacket : public Packet { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SETACTORMOTIONPACKET +public: + class SetActorMotionPacket& operator=(class SetActorMotionPacket const &) = delete; + SetActorMotionPacket(class SetActorMotionPacket const &) = delete; + SetActorMotionPacket() = delete; +#endif + +public: + /*0*/ virtual ~SetActorMotionPacket(); + /*1*/ virtual enum MinecraftPacketIds getId() const; + /*2*/ virtual std::string getName() const; + /*3*/ virtual void write(class BinaryStream &) const; + /*4*/ virtual enum StreamReadResult read(class ReadOnlyBinaryStream &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SETACTORMOTIONPACKET +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/SetBannerDetailsFunction.hpp b/LiteLoader/Header/MC/SetBannerDetailsFunction.hpp new file mode 100644 index 0000000..39b4f27 --- /dev/null +++ b/LiteLoader/Header/MC/SetBannerDetailsFunction.hpp @@ -0,0 +1,30 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "LootItemFunction.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class SetBannerDetailsFunction : public LootItemFunction { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SETBANNERDETAILSFUNCTION +public: + class SetBannerDetailsFunction& operator=(class SetBannerDetailsFunction const &) = delete; + SetBannerDetailsFunction(class SetBannerDetailsFunction const &) = delete; + SetBannerDetailsFunction() = delete; +#endif + +public: + /*0*/ virtual ~SetBannerDetailsFunction(); + /*1*/ virtual void apply(class ItemStack &, class Random &, class LootTableContext &); + /*3*/ virtual void apply(class ItemInstance &, class Random &, class LootTableContext &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SETBANNERDETAILSFUNCTION +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/SetBlockCommand.hpp b/LiteLoader/Header/MC/SetBlockCommand.hpp new file mode 100644 index 0000000..4140c6c --- /dev/null +++ b/LiteLoader/Header/MC/SetBlockCommand.hpp @@ -0,0 +1,30 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Command.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class SetBlockCommand : public Command { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SETBLOCKCOMMAND +public: + class SetBlockCommand& operator=(class SetBlockCommand const &) = delete; + SetBlockCommand(class SetBlockCommand const &) = delete; + SetBlockCommand() = delete; +#endif + +public: + /*0*/ virtual ~SetBlockCommand(); + /*1*/ virtual void execute(class CommandOrigin const &, class CommandOutput &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SETBLOCKCOMMAND +#endif + MCAPI static void setup(class CommandRegistry &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/SetBlockReactionComponent.hpp b/LiteLoader/Header/MC/SetBlockReactionComponent.hpp new file mode 100644 index 0000000..5a453f0 --- /dev/null +++ b/LiteLoader/Header/MC/SetBlockReactionComponent.hpp @@ -0,0 +1,30 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class SetBlockReactionComponent { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SETBLOCKREACTIONCOMPONENT +public: + class SetBlockReactionComponent& operator=(class SetBlockReactionComponent const &) = delete; + SetBlockReactionComponent(class SetBlockReactionComponent const &) = delete; + SetBlockReactionComponent() = delete; +#endif + +public: + /*0*/ virtual ~SetBlockReactionComponent(); + /*1*/ virtual void __unk_vfn_1(); + /*2*/ virtual void __unk_vfn_2(); + /*3*/ virtual void _onEnd(class LabTableReaction &, class BlockSource &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SETBLOCKREACTIONCOMPONENT +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/SetBookContentsFunction.hpp b/LiteLoader/Header/MC/SetBookContentsFunction.hpp new file mode 100644 index 0000000..8436eb4 --- /dev/null +++ b/LiteLoader/Header/MC/SetBookContentsFunction.hpp @@ -0,0 +1,37 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Json.hpp" +#include "LootItemFunction.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class SetBookContentsFunction : public LootItemFunction { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SETBOOKCONTENTSFUNCTION +public: + class SetBookContentsFunction& operator=(class SetBookContentsFunction const &) = delete; + SetBookContentsFunction(class SetBookContentsFunction const &) = delete; + SetBookContentsFunction() = delete; +#endif + +public: + /*0*/ virtual ~SetBookContentsFunction(); + /*1*/ virtual void apply(class ItemStack &, class Random &, class LootTableContext &); + /*3*/ virtual void apply(class ItemInstance &, class Random &, class LootTableContext &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SETBOOKCONTENTSFUNCTION +#endif + MCAPI static std::unique_ptr deserialize(class Json::Value, std::vector> &); + +//private: + MCAPI void _fillUserData(class CompoundTag &); + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/SetCommandsEnabledPacket.hpp b/LiteLoader/Header/MC/SetCommandsEnabledPacket.hpp new file mode 100644 index 0000000..6fbd919 --- /dev/null +++ b/LiteLoader/Header/MC/SetCommandsEnabledPacket.hpp @@ -0,0 +1,32 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Packet.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class SetCommandsEnabledPacket : public Packet { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SETCOMMANDSENABLEDPACKET +public: + class SetCommandsEnabledPacket& operator=(class SetCommandsEnabledPacket const &) = delete; + SetCommandsEnabledPacket(class SetCommandsEnabledPacket const &) = delete; + SetCommandsEnabledPacket() = delete; +#endif + +public: + /*0*/ virtual ~SetCommandsEnabledPacket(); + /*1*/ virtual enum MinecraftPacketIds getId() const; + /*2*/ virtual std::string getName() const; + /*3*/ virtual void write(class BinaryStream &) const; + /*4*/ virtual enum StreamReadResult read(class ReadOnlyBinaryStream &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SETCOMMANDSENABLEDPACKET +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/SetDataFromColorIndexFunction.hpp b/LiteLoader/Header/MC/SetDataFromColorIndexFunction.hpp new file mode 100644 index 0000000..684411d --- /dev/null +++ b/LiteLoader/Header/MC/SetDataFromColorIndexFunction.hpp @@ -0,0 +1,30 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "LootItemFunction.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class SetDataFromColorIndexFunction : public LootItemFunction { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SETDATAFROMCOLORINDEXFUNCTION +public: + class SetDataFromColorIndexFunction& operator=(class SetDataFromColorIndexFunction const &) = delete; + SetDataFromColorIndexFunction(class SetDataFromColorIndexFunction const &) = delete; + SetDataFromColorIndexFunction() = delete; +#endif + +public: + /*0*/ virtual ~SetDataFromColorIndexFunction(); + /*1*/ virtual void apply(class ItemStack &, class Random &, class LootTableContext &); + /*3*/ virtual void apply(class ItemInstance &, class Random &, class LootTableContext &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SETDATAFROMCOLORINDEXFUNCTION +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/SetDefaultGameTypePacket.hpp b/LiteLoader/Header/MC/SetDefaultGameTypePacket.hpp new file mode 100644 index 0000000..d012e54 --- /dev/null +++ b/LiteLoader/Header/MC/SetDefaultGameTypePacket.hpp @@ -0,0 +1,32 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Packet.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class SetDefaultGameTypePacket : public Packet { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SETDEFAULTGAMETYPEPACKET +public: + class SetDefaultGameTypePacket& operator=(class SetDefaultGameTypePacket const &) = delete; + SetDefaultGameTypePacket(class SetDefaultGameTypePacket const &) = delete; + SetDefaultGameTypePacket() = delete; +#endif + +public: + /*0*/ virtual ~SetDefaultGameTypePacket(); + /*1*/ virtual enum MinecraftPacketIds getId() const; + /*2*/ virtual std::string getName() const; + /*3*/ virtual void write(class BinaryStream &) const; + /*4*/ virtual enum StreamReadResult read(class ReadOnlyBinaryStream &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SETDEFAULTGAMETYPEPACKET +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/SetDifficultyPacket.hpp b/LiteLoader/Header/MC/SetDifficultyPacket.hpp new file mode 100644 index 0000000..e28d2e6 --- /dev/null +++ b/LiteLoader/Header/MC/SetDifficultyPacket.hpp @@ -0,0 +1,32 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Packet.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class SetDifficultyPacket : public Packet { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SETDIFFICULTYPACKET +public: + class SetDifficultyPacket& operator=(class SetDifficultyPacket const &) = delete; + SetDifficultyPacket(class SetDifficultyPacket const &) = delete; + SetDifficultyPacket() = delete; +#endif + +public: + /*0*/ virtual ~SetDifficultyPacket(); + /*1*/ virtual enum MinecraftPacketIds getId() const; + /*2*/ virtual std::string getName() const; + /*3*/ virtual void write(class BinaryStream &) const; + /*4*/ virtual enum StreamReadResult read(class ReadOnlyBinaryStream &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SETDIFFICULTYPACKET +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/SetDisplayObjectivePacket.hpp b/LiteLoader/Header/MC/SetDisplayObjectivePacket.hpp new file mode 100644 index 0000000..0244020 --- /dev/null +++ b/LiteLoader/Header/MC/SetDisplayObjectivePacket.hpp @@ -0,0 +1,33 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Packet.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class SetDisplayObjectivePacket : public Packet { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SETDISPLAYOBJECTIVEPACKET +public: + class SetDisplayObjectivePacket& operator=(class SetDisplayObjectivePacket const &) = delete; + SetDisplayObjectivePacket(class SetDisplayObjectivePacket const &) = delete; + SetDisplayObjectivePacket() = delete; +#endif + +public: + /*0*/ virtual ~SetDisplayObjectivePacket(); + /*1*/ virtual enum MinecraftPacketIds getId() const; + /*2*/ virtual std::string getName() const; + /*3*/ virtual void write(class BinaryStream &) const; + /*4*/ virtual enum StreamReadResult read(class ReadOnlyBinaryStream &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SETDISPLAYOBJECTIVEPACKET +#endif + MCAPI SetDisplayObjectivePacket(std::string const &, std::string const &, std::string const &, std::string const &, enum ObjectiveSortOrder); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/SetHealthPacket.hpp b/LiteLoader/Header/MC/SetHealthPacket.hpp new file mode 100644 index 0000000..7386aa7 --- /dev/null +++ b/LiteLoader/Header/MC/SetHealthPacket.hpp @@ -0,0 +1,32 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Packet.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class SetHealthPacket : public Packet { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SETHEALTHPACKET +public: + class SetHealthPacket& operator=(class SetHealthPacket const &) = delete; + SetHealthPacket(class SetHealthPacket const &) = delete; + SetHealthPacket() = delete; +#endif + +public: + /*0*/ virtual ~SetHealthPacket(); + /*1*/ virtual enum MinecraftPacketIds getId() const; + /*2*/ virtual std::string getName() const; + /*3*/ virtual void write(class BinaryStream &) const; + /*4*/ virtual enum StreamReadResult read(class ReadOnlyBinaryStream &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SETHEALTHPACKET +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/SetItemCountFunction.hpp b/LiteLoader/Header/MC/SetItemCountFunction.hpp new file mode 100644 index 0000000..757d363 --- /dev/null +++ b/LiteLoader/Header/MC/SetItemCountFunction.hpp @@ -0,0 +1,30 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "LootItemFunction.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class SetItemCountFunction : public LootItemFunction { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SETITEMCOUNTFUNCTION +public: + class SetItemCountFunction& operator=(class SetItemCountFunction const &) = delete; + SetItemCountFunction(class SetItemCountFunction const &) = delete; + SetItemCountFunction() = delete; +#endif + +public: + /*0*/ virtual ~SetItemCountFunction(); + /*1*/ virtual void apply(class ItemStack &, class Random &, class LootTableContext &); + /*3*/ virtual void apply(class ItemInstance &, class Random &, class LootTableContext &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SETITEMCOUNTFUNCTION +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/SetItemDamageFunction.hpp b/LiteLoader/Header/MC/SetItemDamageFunction.hpp new file mode 100644 index 0000000..8e27102 --- /dev/null +++ b/LiteLoader/Header/MC/SetItemDamageFunction.hpp @@ -0,0 +1,30 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "LootItemFunction.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class SetItemDamageFunction : public LootItemFunction { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SETITEMDAMAGEFUNCTION +public: + class SetItemDamageFunction& operator=(class SetItemDamageFunction const &) = delete; + SetItemDamageFunction(class SetItemDamageFunction const &) = delete; + SetItemDamageFunction() = delete; +#endif + +public: + /*0*/ virtual ~SetItemDamageFunction(); + /*1*/ virtual void apply(class ItemStack &, class Random &, class LootTableContext &); + /*3*/ virtual void apply(class ItemInstance &, class Random &, class LootTableContext &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SETITEMDAMAGEFUNCTION +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/SetItemDataFunction.hpp b/LiteLoader/Header/MC/SetItemDataFunction.hpp new file mode 100644 index 0000000..e2efe7a --- /dev/null +++ b/LiteLoader/Header/MC/SetItemDataFunction.hpp @@ -0,0 +1,30 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "LootItemFunction.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class SetItemDataFunction : public LootItemFunction { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SETITEMDATAFUNCTION +public: + class SetItemDataFunction& operator=(class SetItemDataFunction const &) = delete; + SetItemDataFunction(class SetItemDataFunction const &) = delete; + SetItemDataFunction() = delete; +#endif + +public: + /*0*/ virtual ~SetItemDataFunction(); + /*1*/ virtual void apply(class ItemStack &, class Random &, class LootTableContext &); + /*3*/ virtual void apply(class ItemInstance &, class Random &, class LootTableContext &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SETITEMDATAFUNCTION +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/SetItemLoreFunction.hpp b/LiteLoader/Header/MC/SetItemLoreFunction.hpp new file mode 100644 index 0000000..94df2cd --- /dev/null +++ b/LiteLoader/Header/MC/SetItemLoreFunction.hpp @@ -0,0 +1,32 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Json.hpp" +#include "LootItemFunction.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class SetItemLoreFunction : public LootItemFunction { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SETITEMLOREFUNCTION +public: + class SetItemLoreFunction& operator=(class SetItemLoreFunction const &) = delete; + SetItemLoreFunction(class SetItemLoreFunction const &) = delete; + SetItemLoreFunction() = delete; +#endif + +public: + /*0*/ virtual ~SetItemLoreFunction(); + /*1*/ virtual void apply(class ItemStack &, class Random &, class LootTableContext &); + /*3*/ virtual void apply(class ItemInstance &, class Random &, class LootTableContext &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SETITEMLOREFUNCTION +#endif + MCAPI static std::unique_ptr deserialize(class Json::Value, std::vector> &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/SetItemNameFunction.hpp b/LiteLoader/Header/MC/SetItemNameFunction.hpp new file mode 100644 index 0000000..e045cc4 --- /dev/null +++ b/LiteLoader/Header/MC/SetItemNameFunction.hpp @@ -0,0 +1,32 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Json.hpp" +#include "LootItemFunction.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class SetItemNameFunction : public LootItemFunction { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SETITEMNAMEFUNCTION +public: + class SetItemNameFunction& operator=(class SetItemNameFunction const &) = delete; + SetItemNameFunction(class SetItemNameFunction const &) = delete; + SetItemNameFunction() = delete; +#endif + +public: + /*0*/ virtual ~SetItemNameFunction(); + /*1*/ virtual void apply(class ItemStack &, class Random &, class LootTableContext &); + /*3*/ virtual void apply(class ItemInstance &, class Random &, class LootTableContext &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SETITEMNAMEFUNCTION +#endif + MCAPI static std::unique_ptr deserialize(class Json::Value, std::vector> &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/SetLastHurtByPacket.hpp b/LiteLoader/Header/MC/SetLastHurtByPacket.hpp new file mode 100644 index 0000000..6a22d2a --- /dev/null +++ b/LiteLoader/Header/MC/SetLastHurtByPacket.hpp @@ -0,0 +1,32 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Packet.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class SetLastHurtByPacket : public Packet { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SETLASTHURTBYPACKET +public: + class SetLastHurtByPacket& operator=(class SetLastHurtByPacket const &) = delete; + SetLastHurtByPacket(class SetLastHurtByPacket const &) = delete; + SetLastHurtByPacket() = delete; +#endif + +public: + /*0*/ virtual ~SetLastHurtByPacket(); + /*1*/ virtual enum MinecraftPacketIds getId() const; + /*2*/ virtual std::string getName() const; + /*3*/ virtual void write(class BinaryStream &) const; + /*4*/ virtual enum StreamReadResult read(class ReadOnlyBinaryStream &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SETLASTHURTBYPACKET +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/SetLocalPlayerAsInitializedPacket.hpp b/LiteLoader/Header/MC/SetLocalPlayerAsInitializedPacket.hpp new file mode 100644 index 0000000..ff57692 --- /dev/null +++ b/LiteLoader/Header/MC/SetLocalPlayerAsInitializedPacket.hpp @@ -0,0 +1,32 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Packet.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class SetLocalPlayerAsInitializedPacket : public Packet { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SETLOCALPLAYERASINITIALIZEDPACKET +public: + class SetLocalPlayerAsInitializedPacket& operator=(class SetLocalPlayerAsInitializedPacket const &) = delete; + SetLocalPlayerAsInitializedPacket(class SetLocalPlayerAsInitializedPacket const &) = delete; + SetLocalPlayerAsInitializedPacket() = delete; +#endif + +public: + /*0*/ virtual ~SetLocalPlayerAsInitializedPacket(); + /*1*/ virtual enum MinecraftPacketIds getId() const; + /*2*/ virtual std::string getName() const; + /*3*/ virtual void write(class BinaryStream &) const; + /*4*/ virtual enum StreamReadResult read(class ReadOnlyBinaryStream &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SETLOCALPLAYERASINITIALIZEDPACKET +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/SetMaxPlayersCommand.hpp b/LiteLoader/Header/MC/SetMaxPlayersCommand.hpp new file mode 100644 index 0000000..cfe6fe1 --- /dev/null +++ b/LiteLoader/Header/MC/SetMaxPlayersCommand.hpp @@ -0,0 +1,30 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Command.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class SetMaxPlayersCommand : public Command { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SETMAXPLAYERSCOMMAND +public: + class SetMaxPlayersCommand& operator=(class SetMaxPlayersCommand const &) = delete; + SetMaxPlayersCommand(class SetMaxPlayersCommand const &) = delete; + SetMaxPlayersCommand() = delete; +#endif + +public: + /*0*/ virtual ~SetMaxPlayersCommand(); + /*1*/ virtual void execute(class CommandOrigin const &, class CommandOutput &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SETMAXPLAYERSCOMMAND +#endif + MCAPI static void setup(class CommandRegistry &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/SetPlayerGameTypePacket.hpp b/LiteLoader/Header/MC/SetPlayerGameTypePacket.hpp new file mode 100644 index 0000000..2cc9548 --- /dev/null +++ b/LiteLoader/Header/MC/SetPlayerGameTypePacket.hpp @@ -0,0 +1,32 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Packet.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class SetPlayerGameTypePacket : public Packet { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SETPLAYERGAMETYPEPACKET +public: + class SetPlayerGameTypePacket& operator=(class SetPlayerGameTypePacket const &) = delete; + SetPlayerGameTypePacket(class SetPlayerGameTypePacket const &) = delete; + SetPlayerGameTypePacket() = delete; +#endif + +public: + /*0*/ virtual ~SetPlayerGameTypePacket(); + /*1*/ virtual enum MinecraftPacketIds getId() const; + /*2*/ virtual std::string getName() const; + /*3*/ virtual void write(class BinaryStream &) const; + /*4*/ virtual enum StreamReadResult read(class ReadOnlyBinaryStream &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SETPLAYERGAMETYPEPACKET +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/SetScorePacket.hpp b/LiteLoader/Header/MC/SetScorePacket.hpp new file mode 100644 index 0000000..d50fca8 --- /dev/null +++ b/LiteLoader/Header/MC/SetScorePacket.hpp @@ -0,0 +1,37 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Packet.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class SetScorePacket : public Packet { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SETSCOREPACKET +public: + class SetScorePacket& operator=(class SetScorePacket const &) = delete; + SetScorePacket(class SetScorePacket const &) = delete; + SetScorePacket() = delete; +#endif + +public: + /*0*/ virtual ~SetScorePacket(); + /*1*/ virtual enum MinecraftPacketIds getId() const; + /*2*/ virtual std::string getName() const; + /*3*/ virtual void write(class BinaryStream &) const; + /*4*/ virtual enum StreamReadResult read(class ReadOnlyBinaryStream &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SETSCOREPACKET +#endif + +//private: + MCAPI SetScorePacket(enum ScorePacketType, struct ScoreboardId const &, class Objective const &); + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/SetScoreboardIdentityPacket.hpp b/LiteLoader/Header/MC/SetScoreboardIdentityPacket.hpp new file mode 100644 index 0000000..c8d16a9 --- /dev/null +++ b/LiteLoader/Header/MC/SetScoreboardIdentityPacket.hpp @@ -0,0 +1,32 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Packet.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class SetScoreboardIdentityPacket : public Packet { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SETSCOREBOARDIDENTITYPACKET +public: + class SetScoreboardIdentityPacket& operator=(class SetScoreboardIdentityPacket const &) = delete; + SetScoreboardIdentityPacket(class SetScoreboardIdentityPacket const &) = delete; + SetScoreboardIdentityPacket() = delete; +#endif + +public: + /*0*/ virtual ~SetScoreboardIdentityPacket(); + /*1*/ virtual enum MinecraftPacketIds getId() const; + /*2*/ virtual std::string getName() const; + /*3*/ virtual void write(class BinaryStream &) const; + /*4*/ virtual enum StreamReadResult read(class ReadOnlyBinaryStream &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SETSCOREBOARDIDENTITYPACKET +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/SetSpawnEggFunction.hpp b/LiteLoader/Header/MC/SetSpawnEggFunction.hpp new file mode 100644 index 0000000..90251f7 --- /dev/null +++ b/LiteLoader/Header/MC/SetSpawnEggFunction.hpp @@ -0,0 +1,32 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Json.hpp" +#include "LootItemFunction.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class SetSpawnEggFunction : public LootItemFunction { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SETSPAWNEGGFUNCTION +public: + class SetSpawnEggFunction& operator=(class SetSpawnEggFunction const &) = delete; + SetSpawnEggFunction(class SetSpawnEggFunction const &) = delete; + SetSpawnEggFunction() = delete; +#endif + +public: + /*0*/ virtual ~SetSpawnEggFunction(); + /*1*/ virtual void apply(class ItemStack &, class Random &, class LootTableContext &); + /*3*/ virtual void apply(class ItemInstance &, class Random &, class LootTableContext &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SETSPAWNEGGFUNCTION +#endif + MCAPI static std::unique_ptr deserialize(class Json::Value, std::vector> &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/SetSpawnPositionPacket.hpp b/LiteLoader/Header/MC/SetSpawnPositionPacket.hpp new file mode 100644 index 0000000..4f40dce --- /dev/null +++ b/LiteLoader/Header/MC/SetSpawnPositionPacket.hpp @@ -0,0 +1,32 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Packet.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class SetSpawnPositionPacket : public Packet { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SETSPAWNPOSITIONPACKET +public: + class SetSpawnPositionPacket& operator=(class SetSpawnPositionPacket const &) = delete; + SetSpawnPositionPacket(class SetSpawnPositionPacket const &) = delete; + SetSpawnPositionPacket() = delete; +#endif + +public: + /*0*/ virtual ~SetSpawnPositionPacket(); + /*1*/ virtual enum MinecraftPacketIds getId() const; + /*2*/ virtual std::string getName() const; + /*3*/ virtual void write(class BinaryStream &) const; + /*4*/ virtual enum StreamReadResult read(class ReadOnlyBinaryStream &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SETSPAWNPOSITIONPACKET +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/SetTimePacket.hpp b/LiteLoader/Header/MC/SetTimePacket.hpp new file mode 100644 index 0000000..597c7e0 --- /dev/null +++ b/LiteLoader/Header/MC/SetTimePacket.hpp @@ -0,0 +1,32 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Packet.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class SetTimePacket : public Packet { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SETTIMEPACKET +public: + class SetTimePacket& operator=(class SetTimePacket const &) = delete; + SetTimePacket(class SetTimePacket const &) = delete; + SetTimePacket() = delete; +#endif + +public: + /*0*/ virtual ~SetTimePacket(); + /*1*/ virtual enum MinecraftPacketIds getId() const; + /*2*/ virtual std::string getName() const; + /*3*/ virtual void write(class BinaryStream &) const; + /*4*/ virtual enum StreamReadResult read(class ReadOnlyBinaryStream &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SETTIMEPACKET +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/SetTitlePacket.hpp b/LiteLoader/Header/MC/SetTitlePacket.hpp new file mode 100644 index 0000000..1e82fc8 --- /dev/null +++ b/LiteLoader/Header/MC/SetTitlePacket.hpp @@ -0,0 +1,36 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Packet.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class SetTitlePacket : public Packet { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SETTITLEPACKET +public: + class SetTitlePacket& operator=(class SetTitlePacket const &) = delete; + SetTitlePacket(class SetTitlePacket const &) = delete; + SetTitlePacket() = delete; +#endif + +public: + /*0*/ virtual ~SetTitlePacket(); + /*1*/ virtual enum MinecraftPacketIds getId() const; + /*2*/ virtual std::string getName() const; + /*3*/ virtual void write(class BinaryStream &) const; + /*4*/ virtual enum StreamReadResult read(class ReadOnlyBinaryStream &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SETTITLEPACKET +#endif + MCAPI SetTitlePacket(enum SetTitlePacket::TitleType); + MCAPI SetTitlePacket(enum SetTitlePacket::TitleType, class TextObjectRoot const &); + MCAPI SetTitlePacket(int, int, int); + MCAPI class SetTitlePacket & operator=(class SetTitlePacket &&); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/SetWorldSpawnCommand.hpp b/LiteLoader/Header/MC/SetWorldSpawnCommand.hpp new file mode 100644 index 0000000..55e90d3 --- /dev/null +++ b/LiteLoader/Header/MC/SetWorldSpawnCommand.hpp @@ -0,0 +1,30 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Command.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class SetWorldSpawnCommand : public Command { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SETWORLDSPAWNCOMMAND +public: + class SetWorldSpawnCommand& operator=(class SetWorldSpawnCommand const &) = delete; + SetWorldSpawnCommand(class SetWorldSpawnCommand const &) = delete; + SetWorldSpawnCommand() = delete; +#endif + +public: + /*0*/ virtual ~SetWorldSpawnCommand(); + /*1*/ virtual void execute(class CommandOrigin const &, class CommandOutput &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SETWORLDSPAWNCOMMAND +#endif + MCAPI static void setup(class CommandRegistry &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/SettingsCommandPacket.hpp b/LiteLoader/Header/MC/SettingsCommandPacket.hpp new file mode 100644 index 0000000..3dd530c --- /dev/null +++ b/LiteLoader/Header/MC/SettingsCommandPacket.hpp @@ -0,0 +1,32 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Packet.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class SettingsCommandPacket : public Packet { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SETTINGSCOMMANDPACKET +public: + class SettingsCommandPacket& operator=(class SettingsCommandPacket const &) = delete; + SettingsCommandPacket(class SettingsCommandPacket const &) = delete; + SettingsCommandPacket() = delete; +#endif + +public: + /*0*/ virtual ~SettingsCommandPacket(); + /*1*/ virtual enum MinecraftPacketIds getId() const; + /*2*/ virtual std::string getName() const; + /*3*/ virtual void write(class BinaryStream &) const; + /*4*/ virtual enum StreamReadResult read(class ReadOnlyBinaryStream &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SETTINGSCOMMANDPACKET +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/SettingsScreenCapabilities.hpp b/LiteLoader/Header/MC/SettingsScreenCapabilities.hpp new file mode 100644 index 0000000..612fba4 --- /dev/null +++ b/LiteLoader/Header/MC/SettingsScreenCapabilities.hpp @@ -0,0 +1,27 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +struct SettingsScreenCapabilities { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SETTINGSSCREENCAPABILITIES +public: + struct SettingsScreenCapabilities& operator=(struct SettingsScreenCapabilities const &) = delete; + SettingsScreenCapabilities(struct SettingsScreenCapabilities const &) = delete; + SettingsScreenCapabilities() = delete; +#endif +public: + /*0*/ virtual ~SettingsScreenCapabilities(); + /*1*/ virtual bool isOfType(class typeid_t) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SETTINGSSCREENCAPABILITIES +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ShapedChemistryRecipe.hpp b/LiteLoader/Header/MC/ShapedChemistryRecipe.hpp new file mode 100644 index 0000000..0a71be7 --- /dev/null +++ b/LiteLoader/Header/MC/ShapedChemistryRecipe.hpp @@ -0,0 +1,32 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "ShapedRecipe.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ShapedChemistryRecipe : public ShapedRecipe { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SHAPEDCHEMISTRYRECIPE +public: + class ShapedChemistryRecipe& operator=(class ShapedChemistryRecipe const &) = delete; + ShapedChemistryRecipe(class ShapedChemistryRecipe const &) = delete; + ShapedChemistryRecipe() = delete; +#endif + +public: + /*0*/ virtual ~ShapedChemistryRecipe(); + /*6*/ virtual bool matches(class CraftingContainer &, class Level &) const; + /*9*/ virtual class mce::UUID const & getId() const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SHAPEDCHEMISTRYRECIPE +#endif + MCAPI ShapedChemistryRecipe(std::string, int, int, std::vector const &, std::vector const &, class HashedString, int, class mce::UUID const *); + MCAPI static class mce::UUID const ID; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ShapedRecipe.hpp b/LiteLoader/Header/MC/ShapedRecipe.hpp new file mode 100644 index 0000000..8de310e --- /dev/null +++ b/LiteLoader/Header/MC/ShapedRecipe.hpp @@ -0,0 +1,43 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Recipe.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ShapedRecipe : public Recipe { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SHAPEDRECIPE +public: + class ShapedRecipe& operator=(class ShapedRecipe const &) = delete; + ShapedRecipe(class ShapedRecipe const &) = delete; + ShapedRecipe() = delete; +#endif + +public: + /*0*/ virtual ~ShapedRecipe(); + /*1*/ virtual std::vector const & assemble(class CraftingContainer &) const; + /*2*/ virtual int getCraftingSize() const; + /*3*/ virtual class RecipeIngredient const & getIngredient(int, int) const; + /*4*/ virtual std::vector const & getResultItem() const; + /*5*/ virtual bool isShapeless() const; + /*6*/ virtual bool matches(class CraftingContainer &, class Level &) const; + /*7*/ virtual int size() const; + /*8*/ virtual bool isExperimental() const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SHAPEDRECIPE +#endif + MCAPI ShapedRecipe(std::string, int, int, std::vector const &, std::vector const &, class HashedString, int, class mce::UUID const *); + MCAPI ShapedRecipe(class ShapedRecipe &&); + +//private: + MCAPI bool matches(class CraftingContainer &, int, int, bool) const; + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ShapelessChemistryRecipe.hpp b/LiteLoader/Header/MC/ShapelessChemistryRecipe.hpp new file mode 100644 index 0000000..f9d0a87 --- /dev/null +++ b/LiteLoader/Header/MC/ShapelessChemistryRecipe.hpp @@ -0,0 +1,32 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "ShapelessRecipe.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ShapelessChemistryRecipe : public ShapelessRecipe { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SHAPELESSCHEMISTRYRECIPE +public: + class ShapelessChemistryRecipe& operator=(class ShapelessChemistryRecipe const &) = delete; + ShapelessChemistryRecipe(class ShapelessChemistryRecipe const &) = delete; + ShapelessChemistryRecipe() = delete; +#endif + +public: + /*0*/ virtual ~ShapelessChemistryRecipe(); + /*6*/ virtual bool matches(class CraftingContainer &, class Level &) const; + /*9*/ virtual class mce::UUID const & getId() const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SHAPELESSCHEMISTRYRECIPE +#endif + MCAPI ShapelessChemistryRecipe(std::string, std::vector const &, std::vector const &, class HashedString, int, class mce::UUID const *); + MCAPI static class mce::UUID const ID; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ShapelessRecipe.hpp b/LiteLoader/Header/MC/ShapelessRecipe.hpp new file mode 100644 index 0000000..8333fc4 --- /dev/null +++ b/LiteLoader/Header/MC/ShapelessRecipe.hpp @@ -0,0 +1,38 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Recipe.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ShapelessRecipe : public Recipe { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SHAPELESSRECIPE +public: + class ShapelessRecipe& operator=(class ShapelessRecipe const &) = delete; + ShapelessRecipe(class ShapelessRecipe const &) = delete; + ShapelessRecipe() = delete; +#endif + +public: + /*0*/ virtual ~ShapelessRecipe(); + /*1*/ virtual std::vector const & assemble(class CraftingContainer &) const; + /*2*/ virtual int getCraftingSize() const; + /*3*/ virtual class RecipeIngredient const & getIngredient(int, int) const; + /*4*/ virtual std::vector const & getResultItem() const; + /*5*/ virtual bool isShapeless() const; + /*6*/ virtual bool matches(class CraftingContainer &, class Level &) const; + /*7*/ virtual int size() const; + /*8*/ virtual bool isExperimental() const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SHAPELESSRECIPE +#endif + MCAPI ShapelessRecipe(std::string, std::vector const &, std::vector const &, class HashedString, int, class mce::UUID const *); + MCAPI ShapelessRecipe(class ShapelessRecipe &&); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ShareItemsGoal.hpp b/LiteLoader/Header/MC/ShareItemsGoal.hpp new file mode 100644 index 0000000..7511cb7 --- /dev/null +++ b/LiteLoader/Header/MC/ShareItemsGoal.hpp @@ -0,0 +1,39 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ShareItemsGoal { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SHAREITEMSGOAL +public: + class ShareItemsGoal& operator=(class ShareItemsGoal const &) = delete; + ShareItemsGoal(class ShareItemsGoal const &) = delete; + ShareItemsGoal() = delete; +#endif + +public: + /*0*/ virtual ~ShareItemsGoal(); + /*1*/ virtual bool canUse(); + /*2*/ virtual bool canContinueToUse(); + /*3*/ virtual void __unk_vfn_3(); + /*4*/ virtual void start(); + /*5*/ virtual void stop(); + /*6*/ virtual void tick(); + /*7*/ virtual void appendDebugInfo(std::string &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SHAREITEMSGOAL +#endif + +//protected: + MCAPI struct std::pair selectEntityToShareWith(std::vector> const &); + +protected: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/Shareable.hpp b/LiteLoader/Header/MC/Shareable.hpp new file mode 100644 index 0000000..bb0a08f --- /dev/null +++ b/LiteLoader/Header/MC/Shareable.hpp @@ -0,0 +1,27 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +struct Shareable { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SHAREABLE +public: + struct Shareable& operator=(struct Shareable const &) = delete; + Shareable(struct Shareable const &) = delete; + Shareable() = delete; +#endif +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SHAREABLE +#endif + MCAPI void setCraftInto(std::string const &); + MCAPI void setItem(std::string const &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ShareableComponent.hpp b/LiteLoader/Header/MC/ShareableComponent.hpp new file mode 100644 index 0000000..e8bc2dd --- /dev/null +++ b/LiteLoader/Header/MC/ShareableComponent.hpp @@ -0,0 +1,39 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ShareableComponent { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SHAREABLECOMPONENT +public: + class ShareableComponent& operator=(class ShareableComponent const &) = delete; + ShareableComponent(class ShareableComponent const &) = delete; + ShareableComponent() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SHAREABLECOMPONENT +#endif + MCAPI int getCountToPickUp(class Actor const &, class ItemStack const &) const; + MCAPI int getSlotToSwap(class Actor &, class ItemActor const &) const; + MCAPI int hasSurplus(class Actor &, class ItemStack const &, class ItemStack &, bool) const; + MCAPI bool itemBelongsInInventory(class Actor &, class ItemStack const &, bool) const; + MCAPI int wantsMore(class Actor const &, class ItemStack const &) const; + MCAPI bool willPickup(class Actor &, class ItemStack const &, bool, bool) const; + +//private: + MCAPI int _getItemPriority(class ShareableDefinition const &, class ItemStack const &) const; + MCAPI bool _shouldReplaceItem(class ItemStack const &, class ItemStack const &, class ShareableDefinition const &, bool) const; + MCAPI static bool _useLegacySurplusRules(class Level const &); + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ShareableDefinition.hpp b/LiteLoader/Header/MC/ShareableDefinition.hpp new file mode 100644 index 0000000..df9c97a --- /dev/null +++ b/LiteLoader/Header/MC/ShareableDefinition.hpp @@ -0,0 +1,30 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "JsonUtil.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ShareableDefinition { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SHAREABLEDEFINITION +public: + class ShareableDefinition& operator=(class ShareableDefinition const &) = delete; + ShareableDefinition(class ShareableDefinition const &) = delete; + ShareableDefinition() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SHAREABLEDEFINITION +#endif + MCAPI void addShareable(struct Shareable const &); + MCAPI void addShareableByName(std::string const &); + MCAPI static void buildSchema(class std::shared_ptr> &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/SharedAmplifiers.hpp b/LiteLoader/Header/MC/SharedAmplifiers.hpp new file mode 100644 index 0000000..b802be4 --- /dev/null +++ b/LiteLoader/Header/MC/SharedAmplifiers.hpp @@ -0,0 +1,36 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class SharedAmplifiers { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SHAREDAMPLIFIERS +public: + class SharedAmplifiers& operator=(class SharedAmplifiers const &) = delete; + SharedAmplifiers(class SharedAmplifiers const &) = delete; + SharedAmplifiers() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SHAREDAMPLIFIERS +#endif + MCAPI static class std::shared_ptr ABSORPTION; + MCAPI static class std::shared_ptr FATAL_POISON; + MCAPI static class std::shared_ptr HARM; + MCAPI static class std::shared_ptr HEAL; + MCAPI static class std::shared_ptr HUNGER_DURATION; + MCAPI static class std::shared_ptr HUNGER_VALUE; + MCAPI static class std::shared_ptr POISON; + MCAPI static class std::shared_ptr REGENERATION; + MCAPI static class std::shared_ptr SATURATION; + MCAPI static class std::shared_ptr WITHER; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/SharedAttributes.hpp b/LiteLoader/Header/MC/SharedAttributes.hpp new file mode 100644 index 0000000..90d3deb --- /dev/null +++ b/LiteLoader/Header/MC/SharedAttributes.hpp @@ -0,0 +1,49 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class SharedAttributes { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SHAREDATTRIBUTES +public: + class SharedAttributes& operator=(class SharedAttributes const &) = delete; + SharedAttributes(class SharedAttributes const &) = delete; + SharedAttributes() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SHAREDATTRIBUTES +#endif + MCAPI static class Attribute const ABSORPTION; + MCAPI static class Attribute const ATTACK_DAMAGE; + MCAPI static class Attribute const FOLLOW_RANGE; + MCAPI static class Attribute const HEALTH; + MCAPI static class Attribute const JUMP_STRENGTH; + MCAPI static class Attribute const KNOCKBACK_RESISTANCE; + MCAPI static class Attribute const LAVA_MOVEMENT_SPEED; + MCAPI static class Attribute const LUCK; + MCAPI static class Attribute const MOVEMENT_SPEED; + MCAPI static class Attribute const UNDERWATER_MOVEMENT_SPEED; + MCAPI static bool checkIsDeprecated(std::string &); + MCAPI static class TemporalAttributeBuff loadAttributeBuff(class CompoundTag const &); + MCAPI static class std::shared_ptr loadAttributeModifier(class CompoundTag const &); + MCAPI static void loadAttributes(class BaseAttributeMap *, class ListTag const *); + +//private: + MCAPI static class AttributeInstance * _legacyGetInstance(class BaseAttributeMap &, std::string const &); + MCAPI static std::string const & _legacyGetName(std::string const &); + MCAPI static void _loadAttribute(class AttributeInstance &, class CompoundTag const *); + MCAPI static std::unique_ptr _saveAttribute(class AttributeInstance const &); + MCAPI static std::unique_ptr _saveAttributeModifier(class AttributeModifier const &); + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/SharedBuffs.hpp b/LiteLoader/Header/MC/SharedBuffs.hpp new file mode 100644 index 0000000..d1345aa --- /dev/null +++ b/LiteLoader/Header/MC/SharedBuffs.hpp @@ -0,0 +1,36 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class SharedBuffs { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SHAREDBUFFS +public: + class SharedBuffs& operator=(class SharedBuffs const &) = delete; + SharedBuffs(class SharedBuffs const &) = delete; + SharedBuffs() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SHAREDBUFFS +#endif + MCAPI static class std::shared_ptr ABSORPTION; + MCAPI static class std::shared_ptr FATAL_POISON; + MCAPI static class std::shared_ptr FOOD_POSIONING; + MCAPI static class std::shared_ptr HARM; + MCAPI static class std::shared_ptr HEAL; + MCAPI static class std::shared_ptr POISON; + MCAPI static class std::shared_ptr PUFFER_POSIONING; + MCAPI static class std::shared_ptr REGENERATION; + MCAPI static class std::shared_ptr SATURATION; + MCAPI static class std::shared_ptr WITHER; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/SharedConstants.hpp b/LiteLoader/Header/MC/SharedConstants.hpp new file mode 100644 index 0000000..0002269 --- /dev/null +++ b/LiteLoader/Header/MC/SharedConstants.hpp @@ -0,0 +1,32 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +namespace SharedConstants { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA + MCAPI extern int const AutomationProtocolVersion; + MCAPI extern int const CompanionAppProtocolVersion; + MCAPI extern enum LevelChunkFormat const CurrentLevelChunkFormat; + MCAPI extern enum StorageVersion const CurrentStorageVersion; + MCAPI extern enum SubChunkFormat const CurrentSubChunkFormat; + MCAPI extern bool const IsBeta; + MCAPI extern int const MajorVersion; + MCAPI extern class GameVersion const MinimumCompatibleGameVersionForLevelData; + MCAPI extern int const MinorVersion; + MCAPI extern unsigned short const NetworkDefaultGamePort; + MCAPI extern unsigned short const NetworkDefaultGamePortv6; + MCAPI extern int const NetworkDefaultMaxConnections; + MCAPI extern unsigned short const NetworkEphemeralPort; + MCAPI extern int const NetworkProtocolVersion; + MCAPI extern int const PatchVersion; + MCAPI extern int const RevisionVersion; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/SharedModifiers.hpp b/LiteLoader/Header/MC/SharedModifiers.hpp new file mode 100644 index 0000000..666402a --- /dev/null +++ b/LiteLoader/Header/MC/SharedModifiers.hpp @@ -0,0 +1,32 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class SharedModifiers { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SHAREDMODIFIERS +public: + class SharedModifiers& operator=(class SharedModifiers const &) = delete; + SharedModifiers(class SharedModifiers const &) = delete; + SharedModifiers() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SHAREDMODIFIERS +#endif + MCAPI static class std::shared_ptr DAMAGE_BOOST; + MCAPI static class std::shared_ptr HEALTH_BOOST; + MCAPI static class std::shared_ptr MOVEMENT_SLOWDOWN; + MCAPI static class std::shared_ptr MOVEMENT_SPEED; + MCAPI static class std::shared_ptr SPRINTING_BOOST; + MCAPI static class std::shared_ptr WEAKNESS; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ShearsItem.hpp b/LiteLoader/Header/MC/ShearsItem.hpp new file mode 100644 index 0000000..725615a --- /dev/null +++ b/LiteLoader/Header/MC/ShearsItem.hpp @@ -0,0 +1,51 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Item.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ShearsItem : public Item { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SHEARSITEM +public: + class ShearsItem& operator=(class ShearsItem const &) = delete; + ShearsItem(class ShearsItem const &) = delete; + ShearsItem() = delete; +#endif + +public: + /*0*/ virtual ~ShearsItem(); + /*5*/ virtual void __unk_vfn_5(); + /*20*/ virtual bool canDestroySpecial(class Block const &) const; + /*26*/ virtual void __unk_vfn_26(); + /*27*/ virtual void __unk_vfn_27(); + /*31*/ virtual void __unk_vfn_31(); + /*32*/ virtual void __unk_vfn_32(); + /*34*/ virtual void __unk_vfn_34(); + /*37*/ virtual void __unk_vfn_37(); + /*40*/ virtual int getEnchantSlot() const; + /*43*/ virtual void __unk_vfn_43(); + /*46*/ virtual void __unk_vfn_46(); + /*47*/ virtual void __unk_vfn_47(); + /*49*/ virtual void __unk_vfn_49(); + /*50*/ virtual void __unk_vfn_50(); + /*57*/ virtual bool dispense(class BlockSource &, class Container &, int, class Vec3 const &, unsigned char) const; + /*60*/ virtual float getDestroySpeed(class ItemInstance const &, class Block const &) const; + /*62*/ virtual void hurtEnemy(class ItemStack &, class Mob *, class Mob *) const; + /*64*/ virtual bool mineBlock(class ItemStack &, class Block const &, int, int, int, class Actor *) const; + /*79*/ virtual void __unk_vfn_79(); + /*80*/ virtual void __unk_vfn_80(); + /*90*/ virtual void __unk_vfn_90(); + /*97*/ virtual void __unk_vfn_97(); + /*99*/ virtual bool _useOn(class ItemStack &, class Actor &, class BlockPos, unsigned char, float, float, float) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SHEARSITEM +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/Sheep.hpp b/LiteLoader/Header/MC/Sheep.hpp new file mode 100644 index 0000000..36815ca --- /dev/null +++ b/LiteLoader/Header/MC/Sheep.hpp @@ -0,0 +1,59 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Actor.hpp" +#include "Animal.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class Sheep : public Animal { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SHEEP +public: + class Sheep& operator=(class Sheep const &) = delete; + Sheep(class Sheep const &) = delete; + Sheep() = delete; +#endif + +public: + /*7*/ virtual ~Sheep(); + /*30*/ virtual void __unk_vfn_30(); + /*54*/ virtual void __unk_vfn_54(); + /*61*/ virtual void __unk_vfn_61(); + /*76*/ virtual void __unk_vfn_76(); + /*81*/ virtual void __unk_vfn_81(); + /*88*/ virtual void __unk_vfn_88(); + /*90*/ virtual void __unk_vfn_90(); + /*98*/ virtual void __unk_vfn_98(); + /*100*/ virtual void __unk_vfn_100(); + /*121*/ virtual void __unk_vfn_121(); + /*132*/ virtual void handleEntityEvent(enum ActorEvent, int); + /*169*/ virtual void __unk_vfn_169(); + /*182*/ virtual void __unk_vfn_182(); + /*206*/ virtual void __unk_vfn_206(); + /*207*/ virtual void __unk_vfn_207(); + /*228*/ virtual void __unk_vfn_228(); + /*231*/ virtual void __unk_vfn_231(); + /*238*/ virtual void __unk_vfn_238(); + /*246*/ virtual void __unk_vfn_246(); + /*253*/ virtual class LootTable * getLootTable(); + /*254*/ virtual class LootTable * getDefaultLootTable(); + /*257*/ virtual void __unk_vfn_257(); + /*278*/ virtual void aiStep(); + /*290*/ virtual void __unk_vfn_290(); + /*300*/ virtual void __unk_vfn_300(); + /*332*/ virtual void __unk_vfn_332(); + /*337*/ virtual void jumpFromGround(); + /*339*/ virtual void newServerAiStep(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SHEEP + MCVAPI void ate(); + MCVAPI bool useNewAi() const; +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ShieldItem.hpp b/LiteLoader/Header/MC/ShieldItem.hpp new file mode 100644 index 0000000..ca7e8fb --- /dev/null +++ b/LiteLoader/Header/MC/ShieldItem.hpp @@ -0,0 +1,56 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Item.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ShieldItem : public Item { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SHIELDITEM +public: + class ShieldItem& operator=(class ShieldItem const &) = delete; + ShieldItem(class ShieldItem const &) = delete; + ShieldItem() = delete; +#endif + +public: + /*0*/ virtual ~ShieldItem(); + /*5*/ virtual void __unk_vfn_5(); + /*25*/ virtual bool isHandEquipped() const; + /*26*/ virtual void __unk_vfn_26(); + /*27*/ virtual void __unk_vfn_27(); + /*31*/ virtual void __unk_vfn_31(); + /*32*/ virtual void __unk_vfn_32(); + /*34*/ virtual void __unk_vfn_34(); + /*37*/ virtual void __unk_vfn_37(); + /*39*/ virtual bool isValidRepairItem(class ItemStackBase const &, class ItemStackBase const &) const; + /*40*/ virtual int getEnchantSlot() const; + /*43*/ virtual void __unk_vfn_43(); + /*46*/ virtual void __unk_vfn_46(); + /*47*/ virtual void __unk_vfn_47(); + /*49*/ virtual void __unk_vfn_49(); + /*50*/ virtual void __unk_vfn_50(); + /*57*/ virtual bool dispense(class BlockSource &, class Container &, int, class Vec3 const &, unsigned char) const; + /*62*/ virtual void hurtEnemy(class ItemStack &, class Mob *, class Mob *) const; + /*68*/ virtual void readUserData(class ItemStackBase &, class IDataInput &, class ReadOnlyBinaryStream &) const; + /*69*/ virtual void writeUserData(class ItemStackBase const &, class IDataOutput &) const; + /*71*/ virtual bool inventoryTick(class ItemStack &, class Level &, class Actor &, int, bool) const; + /*79*/ virtual void __unk_vfn_79(); + /*80*/ virtual void __unk_vfn_80(); + /*90*/ virtual void __unk_vfn_90(); + /*97*/ virtual void __unk_vfn_97(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SHIELDITEM + MCVAPI enum InHandUpdateType getInHandUpdateType(class Player const &, class ItemStack const &, class ItemStack const &, bool, bool) const; + MCVAPI enum InHandUpdateType getInHandUpdateType(class Player const &, class ItemInstance const &, class ItemInstance const &, bool, bool) const; +#endif + MCAPI static int const EFFECTIVE_BLOCK_DELAY; + MCAPI static std::string const TIMESTAMP_TAG; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ShieldItemUtils.hpp b/LiteLoader/Header/MC/ShieldItemUtils.hpp new file mode 100644 index 0000000..d8079ad --- /dev/null +++ b/LiteLoader/Header/MC/ShieldItemUtils.hpp @@ -0,0 +1,31 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ShieldItemUtils { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SHIELDITEMUTILS +public: + class ShieldItemUtils& operator=(class ShieldItemUtils const &) = delete; + ShieldItemUtils(class ShieldItemUtils const &) = delete; + ShieldItemUtils() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SHIELDITEMUTILS +#endif + +//private: + +private: + MCAPI static std::vector const mAlwaysBlockableDamageCauses; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ShiftedDurationAmplifier.hpp b/LiteLoader/Header/MC/ShiftedDurationAmplifier.hpp new file mode 100644 index 0000000..6d10bd5 --- /dev/null +++ b/LiteLoader/Header/MC/ShiftedDurationAmplifier.hpp @@ -0,0 +1,30 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ShiftedDurationAmplifier { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SHIFTEDDURATIONAMPLIFIER +public: + class ShiftedDurationAmplifier& operator=(class ShiftedDurationAmplifier const &) = delete; + ShiftedDurationAmplifier(class ShiftedDurationAmplifier const &) = delete; + ShiftedDurationAmplifier() = delete; +#endif + +public: + /*0*/ virtual ~ShiftedDurationAmplifier(); + /*1*/ virtual void __unk_vfn_1(); + /*2*/ virtual bool shouldBuff(int, int) const; + /*3*/ virtual int getTickInterval(int) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SHIFTEDDURATIONAMPLIFIER +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ShiftedValueAmplifier.hpp b/LiteLoader/Header/MC/ShiftedValueAmplifier.hpp new file mode 100644 index 0000000..a223c8f --- /dev/null +++ b/LiteLoader/Header/MC/ShiftedValueAmplifier.hpp @@ -0,0 +1,28 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ShiftedValueAmplifier { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SHIFTEDVALUEAMPLIFIER +public: + class ShiftedValueAmplifier& operator=(class ShiftedValueAmplifier const &) = delete; + ShiftedValueAmplifier(class ShiftedValueAmplifier const &) = delete; + ShiftedValueAmplifier() = delete; +#endif + +public: + /*0*/ virtual ~ShiftedValueAmplifier(); + /*1*/ virtual float getAmount(int, float) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SHIFTEDVALUEAMPLIFIER +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ShipwreckFeature.hpp b/LiteLoader/Header/MC/ShipwreckFeature.hpp new file mode 100644 index 0000000..ea276a6 --- /dev/null +++ b/LiteLoader/Header/MC/ShipwreckFeature.hpp @@ -0,0 +1,32 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "StructureFeature.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ShipwreckFeature : public StructureFeature { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SHIPWRECKFEATURE +public: + class ShipwreckFeature& operator=(class ShipwreckFeature const &) = delete; + ShipwreckFeature(class ShipwreckFeature const &) = delete; + ShipwreckFeature() = delete; +#endif + +public: + /*0*/ virtual ~ShipwreckFeature(); + /*3*/ virtual bool getNearestGeneratedFeature(class Dimension &, class BiomeSource &, class BlockPos const &, class BlockPos &); + /*4*/ virtual bool isFeatureChunk(class BiomeSource const &, class Random &, class ChunkPos const &, unsigned int); + /*5*/ virtual std::unique_ptr createStructureStart(class Dimension &, class BiomeSource &, class Random &, class ChunkPos const &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SHIPWRECKFEATURE +#endif + MCAPI ShipwreckFeature(class OceanMonumentFeature &, unsigned int); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ShipwreckPiece.hpp b/LiteLoader/Header/MC/ShipwreckPiece.hpp new file mode 100644 index 0000000..84194b5 --- /dev/null +++ b/LiteLoader/Header/MC/ShipwreckPiece.hpp @@ -0,0 +1,35 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "StructurePiece.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ShipwreckPiece : public StructurePiece { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SHIPWRECKPIECE +public: + class ShipwreckPiece& operator=(class ShipwreckPiece const &) = delete; + ShipwreckPiece(class ShipwreckPiece const &) = delete; + ShipwreckPiece() = delete; +#endif + +public: + /*0*/ virtual ~ShipwreckPiece(); + /*3*/ virtual enum StructurePieceType getType() const; + /*5*/ virtual bool postProcess(class BlockSource &, class Random &, class BoundingBox const &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SHIPWRECKPIECE +#endif + +//private: + +private: + MCAPI static std::string const STRUCTURE_SHIPWRECK_TYPES[]; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ShipwreckStart.hpp b/LiteLoader/Header/MC/ShipwreckStart.hpp new file mode 100644 index 0000000..3c72fce --- /dev/null +++ b/LiteLoader/Header/MC/ShipwreckStart.hpp @@ -0,0 +1,30 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "StructureStart.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ShipwreckStart : public StructureStart { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SHIPWRECKSTART +public: + class ShipwreckStart& operator=(class ShipwreckStart const &) = delete; + ShipwreckStart(class ShipwreckStart const &) = delete; + ShipwreckStart() = delete; +#endif + +public: + /*0*/ virtual ~ShipwreckStart(); + /*3*/ virtual enum StructureFeatureType getType() const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SHIPWRECKSTART +#endif + MCAPI ShipwreckStart(class BiomeSource &, class Random &, int, int); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ShootBowDefinition.hpp b/LiteLoader/Header/MC/ShootBowDefinition.hpp new file mode 100644 index 0000000..e5eec54 --- /dev/null +++ b/LiteLoader/Header/MC/ShootBowDefinition.hpp @@ -0,0 +1,30 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Json.hpp" +#include "BehaviorDefinition.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ShootBowDefinition : public BehaviorDefinition { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SHOOTBOWDEFINITION +public: + class ShootBowDefinition& operator=(class ShootBowDefinition const &) = delete; + ShootBowDefinition(class ShootBowDefinition const &) = delete; + ShootBowDefinition() = delete; +#endif + +public: + /*0*/ virtual ~ShootBowDefinition(); + /*1*/ virtual void load(class Json::Value, class BehaviorFactory const &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SHOOTBOWDEFINITION +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ShootBowNode.hpp b/LiteLoader/Header/MC/ShootBowNode.hpp new file mode 100644 index 0000000..537a490 --- /dev/null +++ b/LiteLoader/Header/MC/ShootBowNode.hpp @@ -0,0 +1,29 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ShootBowNode { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SHOOTBOWNODE +public: + class ShootBowNode& operator=(class ShootBowNode const &) = delete; + ShootBowNode(class ShootBowNode const &) = delete; + ShootBowNode() = delete; +#endif + +public: + /*0*/ virtual ~ShootBowNode(); + /*1*/ virtual enum BehaviorStatus tick(class Actor &); + /*2*/ virtual void initializeFromDefinition(class Actor &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SHOOTBOWNODE +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ShooterComponent.hpp b/LiteLoader/Header/MC/ShooterComponent.hpp new file mode 100644 index 0000000..5db1688 --- /dev/null +++ b/LiteLoader/Header/MC/ShooterComponent.hpp @@ -0,0 +1,28 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ShooterComponent { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SHOOTERCOMPONENT +public: + class ShooterComponent& operator=(class ShooterComponent const &) = delete; + ShooterComponent(class ShooterComponent const &) = delete; + ShooterComponent() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SHOOTERCOMPONENT +#endif + MCAPI void onShoot(class Actor &); + MCAPI ~ShooterComponent(); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ShooterDefinition.hpp b/LiteLoader/Header/MC/ShooterDefinition.hpp new file mode 100644 index 0000000..27aec65 --- /dev/null +++ b/LiteLoader/Header/MC/ShooterDefinition.hpp @@ -0,0 +1,32 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Json.hpp" +#include "JsonUtil.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ShooterDefinition { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SHOOTERDEFINITION +public: + class ShooterDefinition& operator=(class ShooterDefinition const &) = delete; + ShooterDefinition(class ShooterDefinition const &) = delete; + ShooterDefinition() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SHOOTERDEFINITION +#endif + MCAPI void deserializeData(class Json::Value &); + MCAPI void setActorDefByName(std::string const &); + MCAPI ~ShooterDefinition(); + MCAPI static void buildSchema(class std::shared_ptr> &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ShortTag.hpp b/LiteLoader/Header/MC/ShortTag.hpp new file mode 100644 index 0000000..1c83207 --- /dev/null +++ b/LiteLoader/Header/MC/ShortTag.hpp @@ -0,0 +1,35 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Tag.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ShortTag : public Tag { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SHORTTAG +public: + class ShortTag& operator=(class ShortTag const &) = delete; + ShortTag(class ShortTag const &) = delete; + ShortTag() = delete; +#endif + +public: + /*0*/ virtual ~ShortTag(); + /*2*/ virtual void write(class IDataOutput &) const; + /*3*/ virtual void load(class IDataInput &); + /*4*/ virtual std::string toString() const; + /*5*/ virtual enum Tag::Type getId() const; + /*6*/ virtual bool equals(class Tag const &) const; + /*9*/ virtual std::unique_ptr copy() const; + /*10*/ virtual unsigned __int64 hash() const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SHORTTAG +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ShovelItem.hpp b/LiteLoader/Header/MC/ShovelItem.hpp new file mode 100644 index 0000000..c5838a9 --- /dev/null +++ b/LiteLoader/Header/MC/ShovelItem.hpp @@ -0,0 +1,49 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Item.hpp" +#include "DiggerItem.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ShovelItem : public DiggerItem { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SHOVELITEM +public: + class ShovelItem& operator=(class ShovelItem const &) = delete; + ShovelItem(class ShovelItem const &) = delete; + ShovelItem() = delete; +#endif + +public: + /*0*/ virtual ~ShovelItem(); + /*5*/ virtual void __unk_vfn_5(); + /*20*/ virtual bool canDestroySpecial(class Block const &) const; + /*26*/ virtual void __unk_vfn_26(); + /*27*/ virtual void __unk_vfn_27(); + /*31*/ virtual void __unk_vfn_31(); + /*32*/ virtual void __unk_vfn_32(); + /*34*/ virtual void __unk_vfn_34(); + /*37*/ virtual void __unk_vfn_37(); + /*40*/ virtual int getEnchantSlot() const; + /*43*/ virtual void __unk_vfn_43(); + /*46*/ virtual void __unk_vfn_46(); + /*47*/ virtual void __unk_vfn_47(); + /*49*/ virtual void __unk_vfn_49(); + /*50*/ virtual void __unk_vfn_50(); + /*79*/ virtual void __unk_vfn_79(); + /*80*/ virtual void __unk_vfn_80(); + /*90*/ virtual void __unk_vfn_90(); + /*97*/ virtual void __unk_vfn_97(); + /*99*/ virtual bool _useOn(class ItemStack &, class Actor &, class BlockPos, unsigned char, float, float, float) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SHOVELITEM +#endif + MCAPI ShovelItem(std::string const &, int, class Item::Tier const &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ShowCreditsPacket.hpp b/LiteLoader/Header/MC/ShowCreditsPacket.hpp new file mode 100644 index 0000000..0ae4468 --- /dev/null +++ b/LiteLoader/Header/MC/ShowCreditsPacket.hpp @@ -0,0 +1,32 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Packet.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ShowCreditsPacket : public Packet { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SHOWCREDITSPACKET +public: + class ShowCreditsPacket& operator=(class ShowCreditsPacket const &) = delete; + ShowCreditsPacket(class ShowCreditsPacket const &) = delete; + ShowCreditsPacket() = delete; +#endif + +public: + /*0*/ virtual ~ShowCreditsPacket(); + /*1*/ virtual enum MinecraftPacketIds getId() const; + /*2*/ virtual std::string getName() const; + /*3*/ virtual void write(class BinaryStream &) const; + /*4*/ virtual enum StreamReadResult read(class ReadOnlyBinaryStream &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SHOWCREDITSPACKET +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ShowProfilePacket.hpp b/LiteLoader/Header/MC/ShowProfilePacket.hpp new file mode 100644 index 0000000..7a40097 --- /dev/null +++ b/LiteLoader/Header/MC/ShowProfilePacket.hpp @@ -0,0 +1,32 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Packet.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ShowProfilePacket : public Packet { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SHOWPROFILEPACKET +public: + class ShowProfilePacket& operator=(class ShowProfilePacket const &) = delete; + ShowProfilePacket(class ShowProfilePacket const &) = delete; + ShowProfilePacket() = delete; +#endif + +public: + /*0*/ virtual ~ShowProfilePacket(); + /*1*/ virtual enum MinecraftPacketIds getId() const; + /*2*/ virtual std::string getName() const; + /*3*/ virtual void write(class BinaryStream &) const; + /*4*/ virtual enum StreamReadResult read(class ReadOnlyBinaryStream &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SHOWPROFILEPACKET +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ShowStoreOfferPacket.hpp b/LiteLoader/Header/MC/ShowStoreOfferPacket.hpp new file mode 100644 index 0000000..7bce79c --- /dev/null +++ b/LiteLoader/Header/MC/ShowStoreOfferPacket.hpp @@ -0,0 +1,32 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Packet.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ShowStoreOfferPacket : public Packet { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SHOWSTOREOFFERPACKET +public: + class ShowStoreOfferPacket& operator=(class ShowStoreOfferPacket const &) = delete; + ShowStoreOfferPacket(class ShowStoreOfferPacket const &) = delete; + ShowStoreOfferPacket() = delete; +#endif + +public: + /*0*/ virtual ~ShowStoreOfferPacket(); + /*1*/ virtual enum MinecraftPacketIds getId() const; + /*2*/ virtual std::string getName() const; + /*3*/ virtual void write(class BinaryStream &) const; + /*4*/ virtual enum StreamReadResult read(class ReadOnlyBinaryStream &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SHOWSTOREOFFERPACKET +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/Shulker.hpp b/LiteLoader/Header/MC/Shulker.hpp new file mode 100644 index 0000000..45bd2ff --- /dev/null +++ b/LiteLoader/Header/MC/Shulker.hpp @@ -0,0 +1,86 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Actor.hpp" +#include "Mob.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class Shulker : public Mob { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SHULKER +public: + class Shulker& operator=(class Shulker const &) = delete; + Shulker(class Shulker const &) = delete; + Shulker() = delete; +#endif + +public: + /*1*/ virtual void reloadHardcoded(enum Actor::InitializationMethod, class VariantParameterList const &); + /*7*/ virtual ~Shulker(); + /*12*/ virtual void setPos(class Vec3 const &); + /*30*/ virtual void __unk_vfn_30(); + /*39*/ virtual void normalTick(); + /*51*/ virtual bool isInWall() const; + /*54*/ virtual void __unk_vfn_54(); + /*61*/ virtual void __unk_vfn_61(); + /*74*/ virtual float getShadowRadius() const; + /*76*/ virtual void __unk_vfn_76(); + /*81*/ virtual void __unk_vfn_81(); + /*88*/ virtual void __unk_vfn_88(); + /*90*/ virtual void __unk_vfn_90(); + /*98*/ virtual void __unk_vfn_98(); + /*100*/ virtual void __unk_vfn_100(); + /*101*/ virtual bool canAttack(class Actor *, bool) const; + /*121*/ virtual void __unk_vfn_121(); + /*123*/ virtual bool shouldRender() const; + /*124*/ virtual bool isInvulnerableTo(class ActorDamageSource const &) const; + /*133*/ virtual float getPickRadius(); + /*169*/ virtual void __unk_vfn_169(); + /*182*/ virtual void __unk_vfn_182(); + /*206*/ virtual void __unk_vfn_206(); + /*207*/ virtual void __unk_vfn_207(); + /*228*/ virtual void __unk_vfn_228(); + /*231*/ virtual void __unk_vfn_231(); + /*235*/ virtual void updateEntitySpecificMolangVariables(class RenderParams &); + /*238*/ virtual void __unk_vfn_238(); + /*240*/ virtual bool _hurt(class ActorDamageSource const &, int, bool, bool); + /*242*/ virtual void readAdditionalSaveData(class CompoundTag const &, class DataLoadHelper &); + /*243*/ virtual void addAdditionalSaveData(class CompoundTag &); + /*246*/ virtual void __unk_vfn_246(); + /*256*/ virtual void _onSizeUpdated(); + /*257*/ virtual void __unk_vfn_257(); + /*275*/ virtual void travel(float, float, float); + /*278*/ virtual void aiStep(); + /*290*/ virtual void __unk_vfn_290(); + /*291*/ virtual float getMaxHeadXRot(); + /*300*/ virtual void __unk_vfn_300(); + /*305*/ virtual int getArmorValue(); + /*332*/ virtual void __unk_vfn_332(); + /*336*/ virtual std::unique_ptr initBodyControl(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SHULKER + MCVAPI bool isLeashableType(); + MCVAPI bool useNewAi() const; +#endif + MCAPI void calculateBB(); + MCAPI unsigned char getAttachFace() const; + MCAPI bool getAttached() const; + MCAPI bool isValidAttach(class BlockPos, unsigned char); + MCAPI void setAttachFace(unsigned char); + MCAPI void setPeekAmount(int); + MCAPI void setShulkerAttachPos(class BlockPos); + MCAPI static class std::shared_ptr COVERED_ARMOR_MODIFIER; + MCAPI static class mce::UUID const COVERED_ARMOR_MODIFIER_UUID; + +//protected: + MCAPI bool teleportSomewhere(); + +protected: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ShulkerBoxBlock.hpp b/LiteLoader/Header/MC/ShulkerBoxBlock.hpp new file mode 100644 index 0000000..10ba76f --- /dev/null +++ b/LiteLoader/Header/MC/ShulkerBoxBlock.hpp @@ -0,0 +1,127 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "ChestBlock.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ShulkerBoxBlock : public ChestBlock { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SHULKERBOXBLOCK +public: + class ShulkerBoxBlock& operator=(class ShulkerBoxBlock const &) = delete; + ShulkerBoxBlock(class ShulkerBoxBlock const &) = delete; + ShulkerBoxBlock() = delete; +#endif + +public: + /*0*/ virtual ~ShulkerBoxBlock(); + /*7*/ virtual void __unk_vfn_7(); + /*10*/ virtual class AABB const & getAABB(class BlockSource &, class BlockPos const &, class Block const &, class AABB &, bool) const; + /*14*/ virtual void __unk_vfn_14(); + /*15*/ virtual void __unk_vfn_15(); + /*18*/ virtual void __unk_vfn_18(); + /*19*/ virtual void __unk_vfn_19(); + /*20*/ virtual void __unk_vfn_20(); + /*24*/ virtual void __unk_vfn_24(); + /*25*/ virtual void __unk_vfn_25(); + /*26*/ virtual void __unk_vfn_26(); + /*27*/ virtual void __unk_vfn_27(); + /*28*/ virtual void __unk_vfn_28(); + /*30*/ virtual void __unk_vfn_30(); + /*31*/ virtual void __unk_vfn_31(); + /*32*/ virtual void __unk_vfn_32(); + /*33*/ virtual void __unk_vfn_33(); + /*34*/ virtual void __unk_vfn_34(); + /*35*/ virtual void __unk_vfn_35(); + /*36*/ virtual void __unk_vfn_36(); + /*37*/ virtual void __unk_vfn_37(); + /*38*/ virtual void __unk_vfn_38(); + /*39*/ virtual void __unk_vfn_39(); + /*40*/ virtual void __unk_vfn_40(); + /*42*/ virtual void __unk_vfn_42(); + /*43*/ virtual void __unk_vfn_43(); + /*44*/ virtual void __unk_vfn_44(); + /*45*/ virtual void __unk_vfn_45(); + /*47*/ virtual void __unk_vfn_47(); + /*48*/ virtual void __unk_vfn_48(); + /*49*/ virtual void __unk_vfn_49(); + /*51*/ virtual void __unk_vfn_51(); + /*52*/ virtual void __unk_vfn_52(); + /*55*/ virtual void __unk_vfn_55(); + /*57*/ virtual void __unk_vfn_57(); + /*58*/ virtual bool dispense(class BlockSource &, class Container &, int, class Vec3 const &, unsigned char) const; + /*61*/ virtual void __unk_vfn_61(); + /*62*/ virtual void __unk_vfn_62(); + /*64*/ virtual void __unk_vfn_64(); + /*65*/ virtual void __unk_vfn_65(); + /*67*/ virtual void __unk_vfn_67(); + /*68*/ virtual void __unk_vfn_68(); + /*69*/ virtual void __unk_vfn_69(); + /*70*/ virtual void setupRedstoneComponent(class BlockSource &, class BlockPos const &) const; + /*73*/ virtual void __unk_vfn_73(); + /*74*/ virtual void __unk_vfn_74(); + /*75*/ virtual void __unk_vfn_75(); + /*76*/ virtual void __unk_vfn_76(); + /*77*/ virtual void __unk_vfn_77(); + /*79*/ virtual void __unk_vfn_79(); + /*81*/ virtual void __unk_vfn_81(); + /*82*/ virtual void __unk_vfn_82(); + /*85*/ virtual void __unk_vfn_85(); + /*86*/ virtual bool playerWillDestroy(class Player &, class BlockPos const &, class Block const &) const; + /*87*/ virtual void __unk_vfn_87(); + /*91*/ virtual class ItemInstance getResourceItem(class Random &, class Block const &, int) const; + /*92*/ virtual class ItemInstance asItemInstance(class BlockSource &, class BlockPos const &, class Block const &) const; + /*93*/ virtual void spawnResources(class BlockSource &, class BlockPos const &, class Block const &, std::vector *, float, int, bool) const; + /*95*/ virtual void __unk_vfn_95(); + /*96*/ virtual void __unk_vfn_96(); + /*99*/ virtual class Block const & getPlacementBlock(class Actor &, class BlockPos const &, unsigned char, class Vec3 const &, int) const; + /*101*/ virtual void __unk_vfn_101(); + /*102*/ virtual void __unk_vfn_102(); + /*103*/ virtual void __unk_vfn_103(); + /*104*/ virtual void __unk_vfn_104(); + /*106*/ virtual void __unk_vfn_106(); + /*107*/ virtual void __unk_vfn_107(); + /*110*/ virtual void __unk_vfn_110(); + /*111*/ virtual void __unk_vfn_111(); + /*113*/ virtual void __unk_vfn_113(); + /*114*/ virtual void __unk_vfn_114(); + /*116*/ virtual void __unk_vfn_116(); + /*118*/ virtual void __unk_vfn_118(); + /*119*/ virtual void __unk_vfn_119(); + /*122*/ virtual void __unk_vfn_122(); + /*123*/ virtual void __unk_vfn_123(); + /*124*/ virtual void __unk_vfn_124(); + /*125*/ virtual void __unk_vfn_125(); + /*126*/ virtual void __unk_vfn_126(); + /*127*/ virtual void __unk_vfn_127(); + /*128*/ virtual void __unk_vfn_128(); + /*129*/ virtual void __unk_vfn_129(); + /*130*/ virtual int getColor(class Block const &) const; + /*131*/ virtual void __unk_vfn_131(); + /*132*/ virtual int getColorForParticle(class BlockSource &, class BlockPos const &, class Block const &) const; + /*133*/ virtual void __unk_vfn_133(); + /*135*/ virtual void __unk_vfn_135(); + /*142*/ virtual void __unk_vfn_142(); + /*145*/ virtual void __unk_vfn_145(); + /*158*/ virtual void __unk_vfn_158(); + /*159*/ virtual void __unk_vfn_159(); + /*162*/ virtual void __unk_vfn_162(); + /*163*/ virtual void __unk_vfn_163(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SHULKERBOXBLOCK + MCVAPI bool isAuxValueRelevantForPicking() const; +#endif + MCAPI ShulkerBoxBlock(std::string const &, int); + +//protected: + MCAPI void spawnBoxInstance(class BlockSource &, class Level &, class BlockPos const &, class Block const &, std::string const &, std::unique_ptr, int) const; + +protected: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ShulkerBoxBlockActor.hpp b/LiteLoader/Header/MC/ShulkerBoxBlockActor.hpp new file mode 100644 index 0000000..f4e376a --- /dev/null +++ b/LiteLoader/Header/MC/ShulkerBoxBlockActor.hpp @@ -0,0 +1,49 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ShulkerBoxBlockActor { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SHULKERBOXBLOCKACTOR +public: + class ShulkerBoxBlockActor& operator=(class ShulkerBoxBlockActor const &) = delete; + ShulkerBoxBlockActor(class ShulkerBoxBlockActor const &) = delete; + ShulkerBoxBlockActor() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SHULKERBOXBLOCKACTOR + MCVAPI bool _detectEntityObstruction(class BlockSource &) const; + MCVAPI std::unique_ptr _getUpdatePacket(class BlockSource &); + MCVAPI void _onUpdatePacket(class CompoundTag const &, class BlockSource &); + MCVAPI bool canPushInItem(class BlockSource &, int, int, class ItemInstance const &) const; + MCVAPI int getMaxStackSize() const; + MCVAPI std::string getName() const; + MCVAPI class AABB getObstructionAABB() const; + MCVAPI void load(class Level &, class CompoundTag const &, class DataLoadHelper &); + MCVAPI void onPlace(class BlockSource &); + MCVAPI void playCloseSound(class BlockSource &); + MCVAPI void playOpenSound(class BlockSource &); + MCVAPI bool save(class CompoundTag &) const; + MCVAPI void tick(class BlockSource &); +#endif + MCAPI ShulkerBoxBlockActor(enum BlockActorType, std::string const &, enum BlockActorRendererId, class BlockPos const &); + MCAPI static bool itemAllowed(class ItemStackBase const &); + MCAPI static bool itemAllowedInSlot(int, class ItemStackBase const &, int); + +//private: + MCAPI class Vec3 _calculateActorMovementIntoShulker(std::vector const &, class AABB const &) const; + MCAPI void _calculateBB(); + MCAPI void _moveCollidedEntities(class BlockSource &) const; + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ShulkerBoxBlockItem.hpp b/LiteLoader/Header/MC/ShulkerBoxBlockItem.hpp new file mode 100644 index 0000000..31e36bb --- /dev/null +++ b/LiteLoader/Header/MC/ShulkerBoxBlockItem.hpp @@ -0,0 +1,53 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "BlockItem.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ShulkerBoxBlockItem : public BlockItem { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SHULKERBOXBLOCKITEM +public: + class ShulkerBoxBlockItem& operator=(class ShulkerBoxBlockItem const &) = delete; + ShulkerBoxBlockItem(class ShulkerBoxBlockItem const &) = delete; + ShulkerBoxBlockItem() = delete; +#endif + +public: + /*0*/ virtual ~ShulkerBoxBlockItem(); + /*5*/ virtual void __unk_vfn_5(); + /*21*/ virtual int getLevelDataForAuxValue(int) const; + /*26*/ virtual void __unk_vfn_26(); + /*27*/ virtual void __unk_vfn_27(); + /*31*/ virtual void __unk_vfn_31(); + /*32*/ virtual void __unk_vfn_32(); + /*34*/ virtual void __unk_vfn_34(); + /*37*/ virtual void __unk_vfn_37(); + /*38*/ virtual void appendFormattedHovertext(class ItemStackBase const &, class Level &, std::string &, bool) const; + /*43*/ virtual void __unk_vfn_43(); + /*46*/ virtual void __unk_vfn_46(); + /*47*/ virtual void __unk_vfn_47(); + /*49*/ virtual void __unk_vfn_49(); + /*50*/ virtual void __unk_vfn_50(); + /*65*/ virtual std::string buildDescriptionId(class ItemDescriptor const &, class CompoundTag const *) const; + /*66*/ virtual std::string buildEffectDescriptionName(class ItemStackBase const &) const; + /*79*/ virtual void __unk_vfn_79(); + /*80*/ virtual void __unk_vfn_80(); + /*90*/ virtual void __unk_vfn_90(); + /*97*/ virtual void __unk_vfn_97(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SHULKERBOXBLOCKITEM +#endif + +//private: + MCAPI std::string buildContainedItemList(class CompoundTag const *) const; + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ShulkerBoxRecipe.hpp b/LiteLoader/Header/MC/ShulkerBoxRecipe.hpp new file mode 100644 index 0000000..36901b7 --- /dev/null +++ b/LiteLoader/Header/MC/ShulkerBoxRecipe.hpp @@ -0,0 +1,34 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "ShapelessRecipe.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ShulkerBoxRecipe : public ShapelessRecipe { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SHULKERBOXRECIPE +public: + class ShulkerBoxRecipe& operator=(class ShulkerBoxRecipe const &) = delete; + ShulkerBoxRecipe(class ShulkerBoxRecipe const &) = delete; + ShulkerBoxRecipe() = delete; +#endif + +public: + /*0*/ virtual ~ShulkerBoxRecipe(); + /*1*/ virtual std::vector const & assemble(class CraftingContainer &) const; + /*13*/ virtual bool itemsMatch(class ItemDescriptor const &, class ItemDescriptor const &) const; + /*15*/ virtual bool itemsMatch(class ItemDescriptor const &, int, int, class CompoundTag const *) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SHULKERBOXRECIPE +#endif + MCAPI ShulkerBoxRecipe(class ShulkerBoxRecipe &&); + MCAPI ShulkerBoxRecipe(std::string, std::vector const &, std::vector const &, class HashedString, int, class mce::UUID const *); + MCAPI static class mce::UUID const ID; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ShulkerBullet.hpp b/LiteLoader/Header/MC/ShulkerBullet.hpp new file mode 100644 index 0000000..ebcbc2e --- /dev/null +++ b/LiteLoader/Header/MC/ShulkerBullet.hpp @@ -0,0 +1,52 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Actor.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ShulkerBullet : public Actor { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SHULKERBULLET +public: + class ShulkerBullet& operator=(class ShulkerBullet const &) = delete; + ShulkerBullet(class ShulkerBullet const &) = delete; + ShulkerBullet() = delete; +#endif + +public: + /*1*/ virtual void reloadHardcoded(enum Actor::InitializationMethod, class VariantParameterList const &); + /*7*/ virtual ~ShulkerBullet(); + /*30*/ virtual void __unk_vfn_30(); + /*39*/ virtual void normalTick(); + /*54*/ virtual void __unk_vfn_54(); + /*61*/ virtual void __unk_vfn_61(); + /*76*/ virtual void __unk_vfn_76(); + /*81*/ virtual void __unk_vfn_81(); + /*87*/ virtual bool isPickable(); + /*88*/ virtual void __unk_vfn_88(); + /*90*/ virtual void __unk_vfn_90(); + /*96*/ virtual bool isOnFire() const; + /*98*/ virtual void __unk_vfn_98(); + /*100*/ virtual void __unk_vfn_100(); + /*121*/ virtual void __unk_vfn_121(); + /*169*/ virtual void __unk_vfn_169(); + /*182*/ virtual void __unk_vfn_182(); + /*206*/ virtual void __unk_vfn_206(); + /*207*/ virtual void __unk_vfn_207(); + /*228*/ virtual void __unk_vfn_228(); + /*231*/ virtual void __unk_vfn_231(); + /*238*/ virtual void __unk_vfn_238(); + /*242*/ virtual void readAdditionalSaveData(class CompoundTag const &, class DataLoadHelper &); + /*243*/ virtual void addAdditionalSaveData(class CompoundTag &); + /*246*/ virtual void __unk_vfn_246(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SHULKERBULLET +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ShulkerPeekGoal.hpp b/LiteLoader/Header/MC/ShulkerPeekGoal.hpp new file mode 100644 index 0000000..5c32ff3 --- /dev/null +++ b/LiteLoader/Header/MC/ShulkerPeekGoal.hpp @@ -0,0 +1,34 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ShulkerPeekGoal { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SHULKERPEEKGOAL +public: + class ShulkerPeekGoal& operator=(class ShulkerPeekGoal const &) = delete; + ShulkerPeekGoal(class ShulkerPeekGoal const &) = delete; + ShulkerPeekGoal() = delete; +#endif + +public: + /*0*/ virtual ~ShulkerPeekGoal(); + /*1*/ virtual bool canUse(); + /*2*/ virtual bool canContinueToUse(); + /*3*/ virtual void __unk_vfn_3(); + /*4*/ virtual void start(); + /*5*/ virtual void stop(); + /*6*/ virtual void tick(); + /*7*/ virtual void appendDebugInfo(std::string &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SHULKERPEEKGOAL +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/SignBlock.hpp b/LiteLoader/Header/MC/SignBlock.hpp new file mode 100644 index 0000000..0a50500 --- /dev/null +++ b/LiteLoader/Header/MC/SignBlock.hpp @@ -0,0 +1,200 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "SignBlockActor.hpp" +#include "ActorBlock.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class SignBlock : public ActorBlock { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SIGNBLOCK +public: + class SignBlock& operator=(class SignBlock const &) = delete; + SignBlock(class SignBlock const &) = delete; + SignBlock() = delete; +#endif + +public: + /*0*/ virtual ~SignBlock(); + /*1*/ virtual void tick(class BlockSource &, class BlockPos const &, class Random &) const; + /*2*/ virtual class Block const & getStateFromLegacyData(unsigned short) const; + /*3*/ virtual class std::shared_ptr newBlockEntity(class BlockPos const &, class Block const &) const; + /*4*/ virtual class Block const * getNextBlockPermutation(class Block const &) const; + /*5*/ virtual bool getCollisionShape(class AABB &, class Block const &, class BlockSource &, class BlockPos const &, class Actor *) const; + /*6*/ virtual bool isObstructingChests(class BlockSource &, class BlockPos const &) const; + /*7*/ virtual void __unk_vfn_7(); + /*8*/ virtual class Vec3 randomlyModifyPosition(class BlockPos const &, int &) const; + /*9*/ virtual void addAABBs(class Block const &, class BlockSource &, class BlockPos const &, class AABB const *, std::vector &) const; + /*10*/ virtual class AABB const & getAABB(class BlockSource &, class BlockPos const &, class Block const &, class AABB &, bool) const; + /*11*/ virtual bool addCollisionShapes(class Block const &, class BlockSource &, class BlockPos const &, class AABB const *, std::vector &, class Actor *) const; + /*12*/ virtual class AABB const & getOutline(class BlockSource &, class BlockPos const &, class AABB &) const; + /*13*/ virtual bool getLiquidClipVolume(class BlockSource &, class BlockPos const &, class AABB &) const; + /*14*/ virtual void __unk_vfn_14(); + /*15*/ virtual void __unk_vfn_15(); + /*16*/ virtual struct Brightness getLightEmission(class Block const &) const; + /*17*/ virtual bool shouldRandomTick() const; + /*18*/ virtual void __unk_vfn_18(); + /*19*/ virtual void __unk_vfn_19(); + /*20*/ virtual void __unk_vfn_20(); + /*21*/ virtual bool canProvideSupport(class Block const &, unsigned char, enum BlockSupportType) const; + /*22*/ virtual bool canConnect(class Block const &, unsigned char, class Block const &) const; + /*23*/ virtual void getConnectedDirections(class Block const &, class BlockPos const &, class BlockSource &, bool &, bool &, bool &, bool &) const; + /*24*/ virtual void __unk_vfn_24(); + /*25*/ virtual void __unk_vfn_25(); + /*26*/ virtual void __unk_vfn_26(); + /*27*/ virtual void __unk_vfn_27(); + /*28*/ virtual void __unk_vfn_28(); + /*29*/ virtual bool isWaterBlocking() const; + /*30*/ virtual void __unk_vfn_30(); + /*31*/ virtual void __unk_vfn_31(); + /*32*/ virtual void __unk_vfn_32(); + /*33*/ virtual void __unk_vfn_33(); + /*34*/ virtual void __unk_vfn_34(); + /*35*/ virtual void __unk_vfn_35(); + /*36*/ virtual void __unk_vfn_36(); + /*37*/ virtual void __unk_vfn_37(); + /*38*/ virtual void __unk_vfn_38(); + /*39*/ virtual void __unk_vfn_39(); + /*40*/ virtual void __unk_vfn_40(); + /*41*/ virtual bool canHurtAndBreakItem() const; + /*42*/ virtual void __unk_vfn_42(); + /*43*/ virtual void __unk_vfn_43(); + /*44*/ virtual void __unk_vfn_44(); + /*45*/ virtual void __unk_vfn_45(); + /*46*/ virtual class Block const & sanitizeFillBlock(class BlockSource &, class BlockPos const &, class Block const &) const; + /*47*/ virtual void __unk_vfn_47(); + /*48*/ virtual void __unk_vfn_48(); + /*49*/ virtual void __unk_vfn_49(); + /*50*/ virtual bool canContainLiquid() const; + /*51*/ virtual void __unk_vfn_51(); + /*52*/ virtual void __unk_vfn_52(); + /*53*/ virtual bool canBeUsedInCommands(bool, class BaseGameVersion const &) const; + /*54*/ virtual float getThickness() const; + /*55*/ virtual void __unk_vfn_55(); + /*56*/ virtual void __unk_vfn_56(); + /*57*/ virtual void __unk_vfn_57(); + /*58*/ virtual void __unk_vfn_58(); + /*59*/ virtual void __unk_vfn_59(); + /*60*/ virtual void __unk_vfn_60(); + /*61*/ virtual void __unk_vfn_61(); + /*62*/ virtual void __unk_vfn_62(); + /*63*/ virtual void onFallOn(class BlockSource &, class BlockPos const &, class Actor &, float) const; + /*64*/ virtual void __unk_vfn_64(); + /*65*/ virtual void __unk_vfn_65(); + /*66*/ virtual void __unk_vfn_66(); + /*67*/ virtual void __unk_vfn_67(); + /*68*/ virtual void __unk_vfn_68(); + /*69*/ virtual void __unk_vfn_69(); + /*70*/ virtual void __unk_vfn_70(); + /*71*/ virtual enum BlockProperty getRedstoneProperty(class BlockSource &, class BlockPos const &) const; + /*72*/ virtual void updateEntityAfterFallOn(class BlockSource &, class BlockPos const &, class Actor &) const; + /*73*/ virtual void __unk_vfn_73(); + /*74*/ virtual void __unk_vfn_74(); + /*75*/ virtual void __unk_vfn_75(); + /*76*/ virtual void __unk_vfn_76(); + /*77*/ virtual void __unk_vfn_77(); + /*78*/ virtual bool mayPick(class BlockSource &, class Block const &, bool) const; + /*79*/ virtual void __unk_vfn_79(); + /*80*/ virtual bool mayPlace(class BlockSource &, class BlockPos const &) const; + /*81*/ virtual void __unk_vfn_81(); + /*82*/ virtual void __unk_vfn_82(); + /*83*/ virtual bool tryToPlace(class BlockSource &, class BlockPos const &, class Block const &, struct ActorBlockSyncMessage const *) const; + /*84*/ virtual bool breaksFallingBlocks(class Block const &) const; + /*85*/ virtual void __unk_vfn_85(); + /*86*/ virtual bool playerWillDestroy(class Player &, class BlockPos const &, class Block const &) const; + /*87*/ virtual void __unk_vfn_87(); + /*88*/ virtual void neighborChanged(class BlockSource &, class BlockPos const &, class BlockPos const &) const; + /*89*/ virtual void __unk_vfn_89(); + /*90*/ virtual void __unk_vfn_90(); + /*91*/ virtual void __unk_vfn_91(); + /*92*/ virtual void __unk_vfn_92(); + /*93*/ virtual void spawnResources(class BlockSource &, class BlockPos const &, class Block const &, std::vector *, float, int, bool) const; + /*94*/ virtual void trySpawnResourcesOnExplosion(class BlockSource &, class BlockPos const &, class Block const &, std::vector *, float, int, bool) const; + /*95*/ virtual void __unk_vfn_95(); + /*96*/ virtual void __unk_vfn_96(); + /*97*/ virtual class HitResult clip(class BlockSource &, class BlockPos const &, class Vec3 const &, class Vec3 const &, bool) const; + /*98*/ virtual void __unk_vfn_98(); + /*99*/ virtual class Block const & getPlacementBlock(class Actor &, class BlockPos const &, unsigned char, class Vec3 const &, int) const; + /*100*/ virtual int calcVariant(class BlockSource &, class BlockPos const &) const; + /*101*/ virtual void __unk_vfn_101(); + /*102*/ virtual void __unk_vfn_102(); + /*103*/ virtual void __unk_vfn_103(); + /*104*/ virtual void __unk_vfn_104(); + /*105*/ virtual void playerDestroy(class Player &, class BlockPos const &, class Block const &) const; + /*106*/ virtual bool canSurvive(class BlockSource &, class BlockPos const &) const; + /*107*/ virtual void __unk_vfn_107(); + /*108*/ virtual bool canBeBuiltOver(class BlockSource &, class BlockPos const &) const; + /*109*/ virtual void triggerEvent(class BlockSource &, class BlockPos const &, int, int) const; + /*110*/ virtual void __unk_vfn_110(); + /*111*/ virtual void __unk_vfn_111(); + /*112*/ virtual class MobSpawnerData const * getMobToSpawn(class SpawnConditions const &, class BlockSource &) const; + /*113*/ virtual void __unk_vfn_113(); + /*114*/ virtual void __unk_vfn_114(); + /*115*/ virtual bool shouldStopFalling(class Actor &) const; + /*116*/ virtual void __unk_vfn_116(); + /*117*/ virtual float calcGroundFriction(class Mob &, class BlockPos const &) const; + /*118*/ virtual void __unk_vfn_118(); + /*119*/ virtual void __unk_vfn_119(); + /*120*/ virtual void __unk_vfn_120(); + /*121*/ virtual bool canSlide(class BlockSource &, class BlockPos const &) const; + /*122*/ virtual void __unk_vfn_122(); + /*123*/ virtual void __unk_vfn_123(); + /*124*/ virtual void __unk_vfn_124(); + /*125*/ virtual void __unk_vfn_125(); + /*126*/ virtual void __unk_vfn_126(); + /*127*/ virtual void __unk_vfn_127(); + /*128*/ virtual void __unk_vfn_128(); + /*129*/ virtual void __unk_vfn_129(); + /*130*/ virtual void __unk_vfn_130(); + /*131*/ virtual void __unk_vfn_131(); + /*132*/ virtual int getColorForParticle(class BlockSource &, class BlockPos const &, class Block const &) const; + /*133*/ virtual void __unk_vfn_133(); + /*134*/ virtual void onGraphicsModeChanged(bool, bool, bool); + /*135*/ virtual void __unk_vfn_135(); + /*136*/ virtual float getShadeBrightness() const; + /*137*/ virtual class AABB const & getVisualShapeInWorld(class Block const &, class BlockSource &, class BlockPos const &, class AABB &, bool) const; + /*138*/ virtual class AABB const & getVisualShape(class Block const &, class AABB &, bool) const; + /*139*/ virtual class AABB const & getUIShape(class Block const &, class AABB &) const; + /*140*/ virtual int telemetryVariant(class BlockSource &, class BlockPos const &) const; + /*141*/ virtual int getVariant(class Block const &) const; + /*142*/ virtual void __unk_vfn_142(); + /*143*/ virtual class Block const & getRenderBlock() const; + /*144*/ virtual void __unk_vfn_144(); + /*145*/ virtual void __unk_vfn_145(); + /*146*/ virtual void __unk_vfn_146(); + /*147*/ virtual class BlockLegacy & init(); + /*148*/ virtual class BlockLegacy & setLightBlock(struct Brightness); + /*149*/ virtual class BlockLegacy & setLightEmission(float); + /*150*/ virtual class BlockLegacy & setExplodeable(float); + /*151*/ virtual class BlockLegacy & setDestroyTime(float); + /*152*/ virtual class BlockLegacy & setFriction(float); + /*153*/ virtual class BlockLegacy & addProperty(enum BlockProperty); + /*154*/ virtual class BlockLegacy & addState(class ItemState const &); + /*155*/ virtual class BlockLegacy & addState(class ItemState const &, unsigned __int64); + /*156*/ virtual class BlockLegacy & setAllowsRunes(bool); + /*157*/ virtual class BlockLegacy & setMapColor(class Color const &); + /*158*/ virtual void __unk_vfn_158(); + /*159*/ virtual void __unk_vfn_159(); + /*160*/ virtual void setVisualShape(class AABB const &); + /*161*/ virtual void setVisualShape(class Vec3 const &, class Vec3 const &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SIGNBLOCK + MCVAPI class ItemInstance asItemInstance(class BlockSource &, class BlockPos const &, class Block const &) const; + MCVAPI bool checkIsPathable(class Actor &, class BlockPos const &, class BlockPos const &) const; + MCVAPI class ItemInstance getEntityResourceItem(class Random &, class BlockActor const &, int) const; +#endif + MCAPI SignBlock(std::string const &, int, bool, enum SignBlockActor::SignType); + +//private: + MCAPI class ItemInstance _getItemInstance() const; + MCAPI void getShape(int, class AABB &) const; + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/SignBlockActor.hpp b/LiteLoader/Header/MC/SignBlockActor.hpp new file mode 100644 index 0000000..18d71e9 --- /dev/null +++ b/LiteLoader/Header/MC/SignBlockActor.hpp @@ -0,0 +1,44 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "BlockActor.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class SignBlockActor : public BlockActor { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SIGNBLOCKACTOR +public: + class SignBlockActor& operator=(class SignBlockActor const &) = delete; + SignBlockActor(class SignBlockActor const &) = delete; + SignBlockActor() = delete; +#endif + +public: + /*0*/ virtual ~SignBlockActor(); + /*1*/ virtual void load(class Level &, class CompoundTag const &, class DataLoadHelper &); + /*2*/ virtual bool save(class CompoundTag &) const; + /*9*/ virtual void onChanged(class BlockSource &); + /*13*/ virtual void __unk_vfn_13(); + /*17*/ virtual void __unk_vfn_17(); + /*18*/ virtual float getShadowRadius(class BlockSource &) const; + /*26*/ virtual std::string getImmersiveReaderText(class BlockSource &); + /*29*/ virtual void __unk_vfn_29(); + /*30*/ virtual void __unk_vfn_30(); + /*32*/ virtual void __unk_vfn_32(); + /*33*/ virtual void __unk_vfn_33(); + /*34*/ virtual std::unique_ptr _getUpdatePacket(class BlockSource &); + /*35*/ virtual void _onUpdatePacket(class CompoundTag const &, class BlockSource &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SIGNBLOCKACTOR +#endif + MCAPI SignBlockActor(class BlockPos const &); + MCAPI void setMessage(std::string, std::string); + MCAPI void setMessage(class TextObjectRoot, std::string); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/SignItem.hpp b/LiteLoader/Header/MC/SignItem.hpp new file mode 100644 index 0000000..c5920ca --- /dev/null +++ b/LiteLoader/Header/MC/SignItem.hpp @@ -0,0 +1,47 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Item.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class SignItem : public Item { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SIGNITEM +public: + class SignItem& operator=(class SignItem const &) = delete; + SignItem(class SignItem const &) = delete; + SignItem() = delete; +#endif + +public: + /*0*/ virtual ~SignItem(); + /*5*/ virtual void __unk_vfn_5(); + /*26*/ virtual void __unk_vfn_26(); + /*27*/ virtual void __unk_vfn_27(); + /*31*/ virtual void __unk_vfn_31(); + /*32*/ virtual void __unk_vfn_32(); + /*34*/ virtual void __unk_vfn_34(); + /*37*/ virtual void __unk_vfn_37(); + /*43*/ virtual void __unk_vfn_43(); + /*46*/ virtual void __unk_vfn_46(); + /*47*/ virtual void __unk_vfn_47(); + /*49*/ virtual void __unk_vfn_49(); + /*50*/ virtual void __unk_vfn_50(); + /*79*/ virtual void __unk_vfn_79(); + /*80*/ virtual void __unk_vfn_80(); + /*90*/ virtual void __unk_vfn_90(); + /*96*/ virtual bool _calculatePlacePos(class ItemStack &, class Actor &, unsigned char &, class BlockPos &) const; + /*97*/ virtual void __unk_vfn_97(); + /*99*/ virtual bool _useOn(class ItemStack &, class Actor &, class BlockPos, unsigned char, float, float, float) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SIGNITEM +#endif + MCAPI static bool calculatePlacePos(class ItemStack &, class Actor &, unsigned char &, class BlockPos &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/Silverfish.hpp b/LiteLoader/Header/MC/Silverfish.hpp new file mode 100644 index 0000000..d94a678 --- /dev/null +++ b/LiteLoader/Header/MC/Silverfish.hpp @@ -0,0 +1,62 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Actor.hpp" +#include "Monster.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class Silverfish : public Monster { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SILVERFISH +public: + class Silverfish& operator=(class Silverfish const &) = delete; + Silverfish(class Silverfish const &) = delete; + Silverfish() = delete; +#endif + +public: + /*7*/ virtual ~Silverfish(); + /*30*/ virtual void __unk_vfn_30(); + /*39*/ virtual void normalTick(); + /*54*/ virtual void __unk_vfn_54(); + /*61*/ virtual void __unk_vfn_61(); + /*76*/ virtual void __unk_vfn_76(); + /*81*/ virtual void __unk_vfn_81(); + /*88*/ virtual void __unk_vfn_88(); + /*90*/ virtual void __unk_vfn_90(); + /*98*/ virtual void __unk_vfn_98(); + /*100*/ virtual void __unk_vfn_100(); + /*103*/ virtual class Actor * findAttackTarget(); + /*121*/ virtual void __unk_vfn_121(); + /*132*/ virtual void handleEntityEvent(enum ActorEvent, int); + /*169*/ virtual void __unk_vfn_169(); + /*182*/ virtual void __unk_vfn_182(); + /*206*/ virtual void __unk_vfn_206(); + /*207*/ virtual void __unk_vfn_207(); + /*228*/ virtual void __unk_vfn_228(); + /*231*/ virtual void __unk_vfn_231(); + /*238*/ virtual void __unk_vfn_238(); + /*244*/ virtual void _playStepSound(class BlockPos const &, class Block const &); + /*246*/ virtual void __unk_vfn_246(); + /*257*/ virtual void __unk_vfn_257(); + /*260*/ virtual void spawnAnim(); + /*278*/ virtual void aiStep(); + /*282*/ virtual bool checkSpawnRules(bool); + /*290*/ virtual void __unk_vfn_290(); + /*300*/ virtual void __unk_vfn_300(); + /*330*/ virtual float _getWalkTargetValue(class BlockPos const &); + /*332*/ virtual void __unk_vfn_332(); + /*348*/ virtual void __unk_vfn_348(); + /*349*/ virtual bool isDarkEnoughToSpawn() const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SILVERFISH + MCVAPI bool useNewAi() const; +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/SilverfishMergeWithStoneGoal.hpp b/LiteLoader/Header/MC/SilverfishMergeWithStoneGoal.hpp new file mode 100644 index 0000000..f3e1d95 --- /dev/null +++ b/LiteLoader/Header/MC/SilverfishMergeWithStoneGoal.hpp @@ -0,0 +1,34 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "RandomStrollGoal.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class SilverfishMergeWithStoneGoal : public RandomStrollGoal { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SILVERFISHMERGEWITHSTONEGOAL +public: + class SilverfishMergeWithStoneGoal& operator=(class SilverfishMergeWithStoneGoal const &) = delete; + SilverfishMergeWithStoneGoal(class SilverfishMergeWithStoneGoal const &) = delete; + SilverfishMergeWithStoneGoal() = delete; +#endif + +public: + /*0*/ virtual ~SilverfishMergeWithStoneGoal(); + /*1*/ virtual bool canUse(); + /*2*/ virtual bool canContinueToUse(); + /*4*/ virtual void start(); + /*7*/ virtual void appendDebugInfo(std::string &) const; + /*8*/ virtual void __unk_vfn_8(); + /*9*/ virtual void __unk_vfn_9(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SILVERFISHMERGEWITHSTONEGOAL +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/SilverfishWakeUpFriendsGoal.hpp b/LiteLoader/Header/MC/SilverfishWakeUpFriendsGoal.hpp new file mode 100644 index 0000000..4c6e025 --- /dev/null +++ b/LiteLoader/Header/MC/SilverfishWakeUpFriendsGoal.hpp @@ -0,0 +1,34 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class SilverfishWakeUpFriendsGoal { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SILVERFISHWAKEUPFRIENDSGOAL +public: + class SilverfishWakeUpFriendsGoal& operator=(class SilverfishWakeUpFriendsGoal const &) = delete; + SilverfishWakeUpFriendsGoal(class SilverfishWakeUpFriendsGoal const &) = delete; + SilverfishWakeUpFriendsGoal() = delete; +#endif + +public: + /*0*/ virtual ~SilverfishWakeUpFriendsGoal(); + /*1*/ virtual bool canUse(); + /*2*/ virtual void __unk_vfn_2(); + /*3*/ virtual void __unk_vfn_3(); + /*4*/ virtual void __unk_vfn_4(); + /*5*/ virtual void __unk_vfn_5(); + /*6*/ virtual void tick(); + /*7*/ virtual void appendDebugInfo(std::string &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SILVERFISHWAKEUPFRIENDSGOAL +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/SimpleBoolFilterTest.hpp b/LiteLoader/Header/MC/SimpleBoolFilterTest.hpp new file mode 100644 index 0000000..c4f4cb4 --- /dev/null +++ b/LiteLoader/Header/MC/SimpleBoolFilterTest.hpp @@ -0,0 +1,28 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class SimpleBoolFilterTest { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SIMPLEBOOLFILTERTEST +public: + class SimpleBoolFilterTest& operator=(class SimpleBoolFilterTest const &) = delete; + SimpleBoolFilterTest(class SimpleBoolFilterTest const &) = delete; + SimpleBoolFilterTest() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SIMPLEBOOLFILTERTEST + MCVAPI class Json::Value _serializeValue() const; + MCVAPI bool setup(struct FilterTest::Definition const &, struct FilterInputs const &); +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/SimpleContainer.hpp b/LiteLoader/Header/MC/SimpleContainer.hpp new file mode 100644 index 0000000..35a1ccc --- /dev/null +++ b/LiteLoader/Header/MC/SimpleContainer.hpp @@ -0,0 +1,38 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Container.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class SimpleContainer : public Container { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SIMPLECONTAINER +public: + class SimpleContainer& operator=(class SimpleContainer const &) = delete; + SimpleContainer(class SimpleContainer const &) = delete; + SimpleContainer() = delete; +#endif + +public: + /*0*/ virtual ~SimpleContainer(); + /*2*/ virtual void serverInitItemStackIds(int, int, class std::function); + /*5*/ virtual class ItemStack const & getItem(int) const; + /*9*/ virtual void setItem(int, class ItemStack const &); + /*14*/ virtual int getContainerSize() const; + /*15*/ virtual int getMaxStackSize() const; + /*16*/ virtual void startOpen(class Player &); + /*17*/ virtual void stopOpen(class Player &); + /*22*/ virtual void __unk_vfn_22(); + /*23*/ virtual void __unk_vfn_23(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SIMPLECONTAINER +#endif + MCAPI SimpleContainer(std::string const &, bool, int, enum ContainerType); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/SimpleEventPacket.hpp b/LiteLoader/Header/MC/SimpleEventPacket.hpp new file mode 100644 index 0000000..d1a485d --- /dev/null +++ b/LiteLoader/Header/MC/SimpleEventPacket.hpp @@ -0,0 +1,32 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Packet.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class SimpleEventPacket : public Packet { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SIMPLEEVENTPACKET +public: + class SimpleEventPacket& operator=(class SimpleEventPacket const &) = delete; + SimpleEventPacket(class SimpleEventPacket const &) = delete; + SimpleEventPacket() = delete; +#endif + +public: + /*0*/ virtual ~SimpleEventPacket(); + /*1*/ virtual enum MinecraftPacketIds getId() const; + /*2*/ virtual std::string getName() const; + /*3*/ virtual void write(class BinaryStream &) const; + /*4*/ virtual enum StreamReadResult read(class ReadOnlyBinaryStream &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SIMPLEEVENTPACKET +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/SimpleFloatFilterTest.hpp b/LiteLoader/Header/MC/SimpleFloatFilterTest.hpp new file mode 100644 index 0000000..e1b4528 --- /dev/null +++ b/LiteLoader/Header/MC/SimpleFloatFilterTest.hpp @@ -0,0 +1,28 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class SimpleFloatFilterTest { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SIMPLEFLOATFILTERTEST +public: + class SimpleFloatFilterTest& operator=(class SimpleFloatFilterTest const &) = delete; + SimpleFloatFilterTest(class SimpleFloatFilterTest const &) = delete; + SimpleFloatFilterTest() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SIMPLEFLOATFILTERTEST + MCVAPI class Json::Value _serializeValue() const; + MCVAPI bool setup(struct FilterTest::Definition const &, struct FilterInputs const &); +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/SimpleHashStringFilterTest.hpp b/LiteLoader/Header/MC/SimpleHashStringFilterTest.hpp new file mode 100644 index 0000000..6253b9b --- /dev/null +++ b/LiteLoader/Header/MC/SimpleHashStringFilterTest.hpp @@ -0,0 +1,28 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class SimpleHashStringFilterTest { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SIMPLEHASHSTRINGFILTERTEST +public: + class SimpleHashStringFilterTest& operator=(class SimpleHashStringFilterTest const &) = delete; + SimpleHashStringFilterTest(class SimpleHashStringFilterTest const &) = delete; + SimpleHashStringFilterTest() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SIMPLEHASHSTRINGFILTERTEST + MCVAPI class Json::Value _serializeValue() const; + MCVAPI bool setup(struct FilterTest::Definition const &, struct FilterInputs const &); +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/SimpleIntFilterTest.hpp b/LiteLoader/Header/MC/SimpleIntFilterTest.hpp new file mode 100644 index 0000000..b279757 --- /dev/null +++ b/LiteLoader/Header/MC/SimpleIntFilterTest.hpp @@ -0,0 +1,28 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class SimpleIntFilterTest { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SIMPLEINTFILTERTEST +public: + class SimpleIntFilterTest& operator=(class SimpleIntFilterTest const &) = delete; + SimpleIntFilterTest(class SimpleIntFilterTest const &) = delete; + SimpleIntFilterTest() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SIMPLEINTFILTERTEST + MCVAPI class Json::Value _serializeValue() const; + MCVAPI bool setup(struct FilterTest::Definition const &, struct FilterInputs const &); +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/SimplePlayerContainer.hpp b/LiteLoader/Header/MC/SimplePlayerContainer.hpp new file mode 100644 index 0000000..569fa05 --- /dev/null +++ b/LiteLoader/Header/MC/SimplePlayerContainer.hpp @@ -0,0 +1,31 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "SimpleContainer.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class SimplePlayerContainer : public SimpleContainer { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SIMPLEPLAYERCONTAINER +public: + class SimplePlayerContainer& operator=(class SimplePlayerContainer const &) = delete; + SimplePlayerContainer(class SimplePlayerContainer const &) = delete; + SimplePlayerContainer() = delete; +#endif + +public: + /*0*/ virtual ~SimplePlayerContainer(); + /*9*/ virtual void setItem(int, class ItemStack const &); + /*22*/ virtual void __unk_vfn_22(); + /*23*/ virtual void __unk_vfn_23(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SIMPLEPLAYERCONTAINER +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/SimpleTagIDFilterTest.hpp b/LiteLoader/Header/MC/SimpleTagIDFilterTest.hpp new file mode 100644 index 0000000..f8aad3d --- /dev/null +++ b/LiteLoader/Header/MC/SimpleTagIDFilterTest.hpp @@ -0,0 +1,28 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class SimpleTagIDFilterTest { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SIMPLETAGIDFILTERTEST +public: + class SimpleTagIDFilterTest& operator=(class SimpleTagIDFilterTest const &) = delete; + SimpleTagIDFilterTest(class SimpleTagIDFilterTest const &) = delete; + SimpleTagIDFilterTest() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SIMPLETAGIDFILTERTEST + MCVAPI class Json::Value _serializeValue() const; + MCVAPI bool setup(struct FilterTest::Definition const &, struct FilterInputs const &); +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/SimpleTreeCanopy.hpp b/LiteLoader/Header/MC/SimpleTreeCanopy.hpp new file mode 100644 index 0000000..8d4dd2e --- /dev/null +++ b/LiteLoader/Header/MC/SimpleTreeCanopy.hpp @@ -0,0 +1,29 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "TreeHelper.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class SimpleTreeCanopy { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SIMPLETREECANOPY +public: + class SimpleTreeCanopy& operator=(class SimpleTreeCanopy const &) = delete; + SimpleTreeCanopy(class SimpleTreeCanopy const &) = delete; + SimpleTreeCanopy() = delete; +#endif + +public: + /*0*/ virtual ~SimpleTreeCanopy(); + /*1*/ virtual class std::optional placeCanopy(class IBlockPlacementTarget &, class BlockPos const &, class Random &, struct TreeHelper::TreeParams const &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SIMPLETREECANOPY +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/SimpleTreeTrunk.hpp b/LiteLoader/Header/MC/SimpleTreeTrunk.hpp new file mode 100644 index 0000000..a285d5e --- /dev/null +++ b/LiteLoader/Header/MC/SimpleTreeTrunk.hpp @@ -0,0 +1,29 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "TreeHelper.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class SimpleTreeTrunk { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SIMPLETREETRUNK +public: + class SimpleTreeTrunk& operator=(class SimpleTreeTrunk const &) = delete; + SimpleTreeTrunk(class SimpleTreeTrunk const &) = delete; + SimpleTreeTrunk() = delete; +#endif + +public: + /*0*/ virtual ~SimpleTreeTrunk(); + /*1*/ virtual class std::optional placeTrunk(class IBlockPlacementTarget &, class BlockPos const &, class Random &, struct TreeHelper::TreeParams const &, class ITreeCanopy const *) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SIMPLETREETRUNK +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/SimplexNoise.hpp b/LiteLoader/Header/MC/SimplexNoise.hpp new file mode 100644 index 0000000..0e75fde --- /dev/null +++ b/LiteLoader/Header/MC/SimplexNoise.hpp @@ -0,0 +1,29 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class SimplexNoise { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SIMPLEXNOISE +public: + class SimplexNoise& operator=(class SimplexNoise const &) = delete; + SimplexNoise(class SimplexNoise const &) = delete; + SimplexNoise() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SIMPLEXNOISE +#endif + MCAPI SimplexNoise(class Random &); + MCAPI float _getValue(class Vec2 const &) const; + MCAPI float _getValue(class Vec3 const &) const; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/SingleBlockFeature.hpp b/LiteLoader/Header/MC/SingleBlockFeature.hpp new file mode 100644 index 0000000..76bbbe8 --- /dev/null +++ b/LiteLoader/Header/MC/SingleBlockFeature.hpp @@ -0,0 +1,33 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class SingleBlockFeature { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SINGLEBLOCKFEATURE +public: + class SingleBlockFeature& operator=(class SingleBlockFeature const &) = delete; + SingleBlockFeature(class SingleBlockFeature const &) = delete; + SingleBlockFeature() = delete; +#endif + +public: + /*0*/ virtual ~SingleBlockFeature(); + /*1*/ virtual class std::optional place(class IBlockPlacementTarget &, class BlockPos const &, class Random &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SINGLEBLOCKFEATURE +#endif + +//private: + MCAPI class Block const * _mayAttach(class IBlockPlacementTarget &, class BlockPos const &) const; + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/SitComponent.hpp b/LiteLoader/Header/MC/SitComponent.hpp new file mode 100644 index 0000000..4e216d9 --- /dev/null +++ b/LiteLoader/Header/MC/SitComponent.hpp @@ -0,0 +1,27 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class SitComponent { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SITCOMPONENT +public: + class SitComponent& operator=(class SitComponent const &) = delete; + SitComponent(class SitComponent const &) = delete; + SitComponent() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SITCOMPONENT +#endif + MCAPI bool getInteraction(class Actor &, class Player &, class ActorInteraction &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/SitGoal.hpp b/LiteLoader/Header/MC/SitGoal.hpp new file mode 100644 index 0000000..1b225c4 --- /dev/null +++ b/LiteLoader/Header/MC/SitGoal.hpp @@ -0,0 +1,34 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class SitGoal { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SITGOAL +public: + class SitGoal& operator=(class SitGoal const &) = delete; + SitGoal(class SitGoal const &) = delete; + SitGoal() = delete; +#endif + +public: + /*0*/ virtual ~SitGoal(); + /*1*/ virtual bool canUse(); + /*2*/ virtual void __unk_vfn_2(); + /*3*/ virtual void __unk_vfn_3(); + /*4*/ virtual void start(); + /*5*/ virtual void stop(); + /*6*/ virtual void __unk_vfn_6(); + /*7*/ virtual void appendDebugInfo(std::string &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SITGOAL +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/SittableDefinition.hpp b/LiteLoader/Header/MC/SittableDefinition.hpp new file mode 100644 index 0000000..0decf01 --- /dev/null +++ b/LiteLoader/Header/MC/SittableDefinition.hpp @@ -0,0 +1,28 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "JsonUtil.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class SittableDefinition { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SITTABLEDEFINITION +public: + class SittableDefinition& operator=(class SittableDefinition const &) = delete; + SittableDefinition(class SittableDefinition const &) = delete; + SittableDefinition() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SITTABLEDEFINITION +#endif + MCAPI static void buildSchema(class std::shared_ptr> &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/Skeleton.hpp b/LiteLoader/Header/MC/Skeleton.hpp new file mode 100644 index 0000000..c2d76b2 --- /dev/null +++ b/LiteLoader/Header/MC/Skeleton.hpp @@ -0,0 +1,67 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Actor.hpp" +#include "HumanoidMonster.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class Skeleton : public HumanoidMonster { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SKELETON +public: + class Skeleton& operator=(class Skeleton const &) = delete; + Skeleton(class Skeleton const &) = delete; + Skeleton() = delete; +#endif + +public: + /*7*/ virtual ~Skeleton(); + /*30*/ virtual void __unk_vfn_30(); + /*39*/ virtual void normalTick(); + /*41*/ virtual void rideTick(); + /*43*/ virtual float getRidingHeight(); + /*54*/ virtual void __unk_vfn_54(); + /*61*/ virtual void __unk_vfn_61(); + /*76*/ virtual void __unk_vfn_76(); + /*81*/ virtual void __unk_vfn_81(); + /*88*/ virtual void __unk_vfn_88(); + /*90*/ virtual void __unk_vfn_90(); + /*98*/ virtual void __unk_vfn_98(); + /*100*/ virtual void __unk_vfn_100(); + /*102*/ virtual void setTarget(class Actor *); + /*121*/ virtual void __unk_vfn_121(); + /*169*/ virtual void __unk_vfn_169(); + /*182*/ virtual void __unk_vfn_182(); + /*197*/ virtual bool canBeAffected(class MobEffectInstance const &) const; + /*206*/ virtual void __unk_vfn_206(); + /*207*/ virtual void __unk_vfn_207(); + /*208*/ virtual void getDebugText(std::vector &); + /*228*/ virtual void __unk_vfn_228(); + /*231*/ virtual void __unk_vfn_231(); + /*233*/ virtual void die(class ActorDamageSource const &); + /*238*/ virtual void __unk_vfn_238(); + /*246*/ virtual void __unk_vfn_246(); + /*257*/ virtual void __unk_vfn_257(); + /*290*/ virtual void __unk_vfn_290(); + /*299*/ virtual bool doHurtTarget(class Actor *); + /*300*/ virtual void __unk_vfn_300(); + /*332*/ virtual void __unk_vfn_332(); + /*348*/ virtual void __unk_vfn_348(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SKELETON + MCVAPI bool useNewAi() const; +#endif + MCAPI Skeleton(class ActorDefinitionGroup *, struct ActorDefinitionIdentifier const &); + +//private: + +private: + MCAPI static class mce::UUID const SPEED_MODIFIER_ATTACK_UUID; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/SkeletonHorseTrapGoal.hpp b/LiteLoader/Header/MC/SkeletonHorseTrapGoal.hpp new file mode 100644 index 0000000..a82b81f --- /dev/null +++ b/LiteLoader/Header/MC/SkeletonHorseTrapGoal.hpp @@ -0,0 +1,40 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class SkeletonHorseTrapGoal { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SKELETONHORSETRAPGOAL +public: + class SkeletonHorseTrapGoal& operator=(class SkeletonHorseTrapGoal const &) = delete; + SkeletonHorseTrapGoal(class SkeletonHorseTrapGoal const &) = delete; + SkeletonHorseTrapGoal() = delete; +#endif + +public: + /*0*/ virtual ~SkeletonHorseTrapGoal(); + /*1*/ virtual bool canUse(); + /*2*/ virtual void __unk_vfn_2(); + /*3*/ virtual void __unk_vfn_3(); + /*4*/ virtual void start(); + /*5*/ virtual void __unk_vfn_5(); + /*6*/ virtual void tick(); + /*7*/ virtual void appendDebugInfo(std::string &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SKELETONHORSETRAPGOAL +#endif + +//private: + MCAPI class Horse * _createHorse(enum Difficulty const &); + MCAPI class Skeleton * _createSkeleton(enum Difficulty const &, class Horse const &); + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/SkinIDDescription.hpp b/LiteLoader/Header/MC/SkinIDDescription.hpp new file mode 100644 index 0000000..2b4c6f6 --- /dev/null +++ b/LiteLoader/Header/MC/SkinIDDescription.hpp @@ -0,0 +1,30 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Json.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +struct SkinIDDescription { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SKINIDDESCRIPTION +public: + struct SkinIDDescription& operator=(struct SkinIDDescription const &) = delete; + SkinIDDescription(struct SkinIDDescription const &) = delete; + SkinIDDescription() = delete; +#endif +public: + /*0*/ virtual char const * getJsonName() const; + /*1*/ virtual ~SkinIDDescription(); + /*2*/ virtual void deserializeData(class Json::Value &); + /*3*/ virtual void serializeData(class Json::Value &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SKINIDDESCRIPTION +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/SkinInfoData.hpp b/LiteLoader/Header/MC/SkinInfoData.hpp new file mode 100644 index 0000000..df64f4e --- /dev/null +++ b/LiteLoader/Header/MC/SkinInfoData.hpp @@ -0,0 +1,27 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class SkinInfoData { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SKININFODATA +public: + class SkinInfoData& operator=(class SkinInfoData const &) = delete; + SkinInfoData(class SkinInfoData const &) = delete; + SkinInfoData() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SKININFODATA +#endif + MCAPI static bool isValidSize(unsigned __int64); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/SkullBlock.hpp b/LiteLoader/Header/MC/SkullBlock.hpp new file mode 100644 index 0000000..735782c --- /dev/null +++ b/LiteLoader/Header/MC/SkullBlock.hpp @@ -0,0 +1,200 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "ActorBlock.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class SkullBlock : public ActorBlock { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SKULLBLOCK +public: + class SkullBlock& operator=(class SkullBlock const &) = delete; + SkullBlock(class SkullBlock const &) = delete; + SkullBlock() = delete; +#endif + +public: + /*0*/ virtual ~SkullBlock(); + /*1*/ virtual void __unk_vfn_1(); + /*2*/ virtual class Block const & getStateFromLegacyData(unsigned short) const; + /*3*/ virtual class std::shared_ptr newBlockEntity(class BlockPos const &, class Block const &) const; + /*4*/ virtual class Block const * getNextBlockPermutation(class Block const &) const; + /*5*/ virtual bool getCollisionShape(class AABB &, class Block const &, class BlockSource &, class BlockPos const &, class Actor *) const; + /*6*/ virtual bool isObstructingChests(class BlockSource &, class BlockPos const &) const; + /*7*/ virtual void __unk_vfn_7(); + /*8*/ virtual class Vec3 randomlyModifyPosition(class BlockPos const &, int &) const; + /*9*/ virtual void addAABBs(class Block const &, class BlockSource &, class BlockPos const &, class AABB const *, std::vector &) const; + /*10*/ virtual class AABB const & getAABB(class BlockSource &, class BlockPos const &, class Block const &, class AABB &, bool) const; + /*11*/ virtual bool addCollisionShapes(class Block const &, class BlockSource &, class BlockPos const &, class AABB const *, std::vector &, class Actor *) const; + /*12*/ virtual class AABB const & getOutline(class BlockSource &, class BlockPos const &, class AABB &) const; + /*13*/ virtual bool getLiquidClipVolume(class BlockSource &, class BlockPos const &, class AABB &) const; + /*14*/ virtual void __unk_vfn_14(); + /*15*/ virtual void __unk_vfn_15(); + /*16*/ virtual struct Brightness getLightEmission(class Block const &) const; + /*17*/ virtual bool shouldRandomTick() const; + /*18*/ virtual void __unk_vfn_18(); + /*19*/ virtual void __unk_vfn_19(); + /*20*/ virtual void __unk_vfn_20(); + /*21*/ virtual bool canProvideSupport(class Block const &, unsigned char, enum BlockSupportType) const; + /*22*/ virtual bool canConnect(class Block const &, unsigned char, class Block const &) const; + /*23*/ virtual void getConnectedDirections(class Block const &, class BlockPos const &, class BlockSource &, bool &, bool &, bool &, bool &) const; + /*24*/ virtual void __unk_vfn_24(); + /*25*/ virtual void __unk_vfn_25(); + /*26*/ virtual void __unk_vfn_26(); + /*27*/ virtual void __unk_vfn_27(); + /*28*/ virtual void __unk_vfn_28(); + /*29*/ virtual bool isWaterBlocking() const; + /*30*/ virtual void __unk_vfn_30(); + /*31*/ virtual void __unk_vfn_31(); + /*32*/ virtual void __unk_vfn_32(); + /*33*/ virtual void __unk_vfn_33(); + /*34*/ virtual void __unk_vfn_34(); + /*35*/ virtual void __unk_vfn_35(); + /*36*/ virtual void __unk_vfn_36(); + /*37*/ virtual void __unk_vfn_37(); + /*38*/ virtual void __unk_vfn_38(); + /*39*/ virtual void __unk_vfn_39(); + /*40*/ virtual void __unk_vfn_40(); + /*41*/ virtual bool canHurtAndBreakItem() const; + /*42*/ virtual void __unk_vfn_42(); + /*43*/ virtual void __unk_vfn_43(); + /*44*/ virtual void __unk_vfn_44(); + /*45*/ virtual void __unk_vfn_45(); + /*46*/ virtual class Block const & sanitizeFillBlock(class BlockSource &, class BlockPos const &, class Block const &) const; + /*47*/ virtual void __unk_vfn_47(); + /*48*/ virtual void __unk_vfn_48(); + /*49*/ virtual void __unk_vfn_49(); + /*50*/ virtual void __unk_vfn_50(); + /*51*/ virtual void __unk_vfn_51(); + /*52*/ virtual void __unk_vfn_52(); + /*53*/ virtual bool canBeUsedInCommands(bool, class BaseGameVersion const &) const; + /*54*/ virtual float getThickness() const; + /*55*/ virtual void __unk_vfn_55(); + /*56*/ virtual bool checkIsPathable(class Actor &, class BlockPos const &, class BlockPos const &) const; + /*57*/ virtual void __unk_vfn_57(); + /*58*/ virtual void __unk_vfn_58(); + /*59*/ virtual void __unk_vfn_59(); + /*60*/ virtual void onRemove(class BlockSource &, class BlockPos const &) const; + /*61*/ virtual void __unk_vfn_61(); + /*62*/ virtual void __unk_vfn_62(); + /*63*/ virtual void onFallOn(class BlockSource &, class BlockPos const &, class Actor &, float) const; + /*64*/ virtual void __unk_vfn_64(); + /*65*/ virtual void __unk_vfn_65(); + /*66*/ virtual void __unk_vfn_66(); + /*67*/ virtual void __unk_vfn_67(); + /*68*/ virtual void __unk_vfn_68(); + /*69*/ virtual void __unk_vfn_69(); + /*70*/ virtual void __unk_vfn_70(); + /*71*/ virtual enum BlockProperty getRedstoneProperty(class BlockSource &, class BlockPos const &) const; + /*72*/ virtual void updateEntityAfterFallOn(class BlockSource &, class BlockPos const &, class Actor &) const; + /*73*/ virtual void __unk_vfn_73(); + /*74*/ virtual void __unk_vfn_74(); + /*75*/ virtual void __unk_vfn_75(); + /*76*/ virtual void __unk_vfn_76(); + /*77*/ virtual void __unk_vfn_77(); + /*78*/ virtual bool mayPick(class BlockSource &, class Block const &, bool) const; + /*79*/ virtual void __unk_vfn_79(); + /*80*/ virtual bool mayPlace(class BlockSource &, class BlockPos const &) const; + /*81*/ virtual void __unk_vfn_81(); + /*82*/ virtual void __unk_vfn_82(); + /*83*/ virtual bool tryToPlace(class BlockSource &, class BlockPos const &, class Block const &, struct ActorBlockSyncMessage const *) const; + /*84*/ virtual bool breaksFallingBlocks(class Block const &) const; + /*85*/ virtual void __unk_vfn_85(); + /*86*/ virtual bool playerWillDestroy(class Player &, class BlockPos const &, class Block const &) const; + /*87*/ virtual void __unk_vfn_87(); + /*88*/ virtual void neighborChanged(class BlockSource &, class BlockPos const &, class BlockPos const &) const; + /*89*/ virtual void __unk_vfn_89(); + /*90*/ virtual void __unk_vfn_90(); + /*91*/ virtual void __unk_vfn_91(); + /*92*/ virtual class ItemInstance asItemInstance(class BlockSource &, class BlockPos const &, class Block const &) const; + /*93*/ virtual void __unk_vfn_93(); + /*94*/ virtual void trySpawnResourcesOnExplosion(class BlockSource &, class BlockPos const &, class Block const &, std::vector *, float, int, bool) const; + /*95*/ virtual void __unk_vfn_95(); + /*96*/ virtual void __unk_vfn_96(); + /*97*/ virtual class HitResult clip(class BlockSource &, class BlockPos const &, class Vec3 const &, class Vec3 const &, bool) const; + /*98*/ virtual void __unk_vfn_98(); + /*99*/ virtual class Block const & getPlacementBlock(class Actor &, class BlockPos const &, unsigned char, class Vec3 const &, int) const; + /*100*/ virtual int calcVariant(class BlockSource &, class BlockPos const &) const; + /*101*/ virtual void __unk_vfn_101(); + /*102*/ virtual void __unk_vfn_102(); + /*103*/ virtual void __unk_vfn_103(); + /*104*/ virtual void __unk_vfn_104(); + /*105*/ virtual void playerDestroy(class Player &, class BlockPos const &, class Block const &) const; + /*106*/ virtual void __unk_vfn_106(); + /*107*/ virtual void __unk_vfn_107(); + /*108*/ virtual bool canBeBuiltOver(class BlockSource &, class BlockPos const &) const; + /*109*/ virtual void triggerEvent(class BlockSource &, class BlockPos const &, int, int) const; + /*110*/ virtual void __unk_vfn_110(); + /*111*/ virtual void __unk_vfn_111(); + /*112*/ virtual class MobSpawnerData const * getMobToSpawn(class SpawnConditions const &, class BlockSource &) const; + /*113*/ virtual void __unk_vfn_113(); + /*114*/ virtual void __unk_vfn_114(); + /*115*/ virtual bool shouldStopFalling(class Actor &) const; + /*116*/ virtual void __unk_vfn_116(); + /*117*/ virtual float calcGroundFriction(class Mob &, class BlockPos const &) const; + /*118*/ virtual void __unk_vfn_118(); + /*119*/ virtual void __unk_vfn_119(); + /*120*/ virtual void __unk_vfn_120(); + /*121*/ virtual bool canSlide(class BlockSource &, class BlockPos const &) const; + /*122*/ virtual void __unk_vfn_122(); + /*123*/ virtual void __unk_vfn_123(); + /*124*/ virtual void __unk_vfn_124(); + /*125*/ virtual void __unk_vfn_125(); + /*126*/ virtual void __unk_vfn_126(); + /*127*/ virtual std::string buildDescriptionId(class Block const &) const; + /*128*/ virtual void __unk_vfn_128(); + /*129*/ virtual void __unk_vfn_129(); + /*130*/ virtual void __unk_vfn_130(); + /*131*/ virtual void __unk_vfn_131(); + /*132*/ virtual int getColorForParticle(class BlockSource &, class BlockPos const &, class Block const &) const; + /*133*/ virtual void __unk_vfn_133(); + /*134*/ virtual void onGraphicsModeChanged(bool, bool, bool); + /*135*/ virtual void __unk_vfn_135(); + /*136*/ virtual float getShadeBrightness() const; + /*137*/ virtual class AABB const & getVisualShapeInWorld(class Block const &, class BlockSource &, class BlockPos const &, class AABB &, bool) const; + /*138*/ virtual class AABB const & getVisualShape(class Block const &, class AABB &, bool) const; + /*139*/ virtual class AABB const & getUIShape(class Block const &, class AABB &) const; + /*140*/ virtual int telemetryVariant(class BlockSource &, class BlockPos const &) const; + /*141*/ virtual int getVariant(class Block const &) const; + /*142*/ virtual void __unk_vfn_142(); + /*143*/ virtual class Block const & getRenderBlock() const; + /*144*/ virtual void __unk_vfn_144(); + /*145*/ virtual void __unk_vfn_145(); + /*146*/ virtual void __unk_vfn_146(); + /*147*/ virtual class BlockLegacy & init(); + /*148*/ virtual class BlockLegacy & setLightBlock(struct Brightness); + /*149*/ virtual class BlockLegacy & setLightEmission(float); + /*150*/ virtual class BlockLegacy & setExplodeable(float); + /*151*/ virtual class BlockLegacy & setDestroyTime(float); + /*152*/ virtual class BlockLegacy & setFriction(float); + /*153*/ virtual class BlockLegacy & addProperty(enum BlockProperty); + /*154*/ virtual class BlockLegacy & addState(class ItemState const &); + /*155*/ virtual class BlockLegacy & addState(class ItemState const &, unsigned __int64); + /*156*/ virtual class BlockLegacy & setAllowsRunes(bool); + /*157*/ virtual class BlockLegacy & setMapColor(class Color const &); + /*158*/ virtual void __unk_vfn_158(); + /*159*/ virtual void __unk_vfn_159(); + /*160*/ virtual void setVisualShape(class AABB const &); + /*161*/ virtual void setVisualShape(class Vec3 const &, class Vec3 const &); + /*162*/ virtual void __unk_vfn_162(); + /*163*/ virtual void __unk_vfn_163(); + /*164*/ virtual class ItemInstance getEntityResourceItem(class Random &, class BlockActor const &, int) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SKULLBLOCK + MCVAPI bool canBeSilkTouched() const; + MCVAPI bool canContainLiquid() const; + MCVAPI void onPlace(class BlockSource &, class BlockPos const &) const; + MCVAPI void setupRedstoneComponent(class BlockSource &, class BlockPos const &) const; + MCVAPI void spawnResources(class BlockSource &, class BlockPos const &, class Block const &, std::vector *, float, int, bool) const; + MCVAPI bool waterSpreadCausesSpawn() const; +#endif + MCAPI bool checkMobSpawn(class Level &, class BlockSource &, class BlockPos const &, class SkullBlockActor &) const; + MCAPI static std::string getTypeDescriptionId(int); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/SkullBlockActor.hpp b/LiteLoader/Header/MC/SkullBlockActor.hpp new file mode 100644 index 0000000..f85c9eb --- /dev/null +++ b/LiteLoader/Header/MC/SkullBlockActor.hpp @@ -0,0 +1,40 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "BlockActor.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class SkullBlockActor : public BlockActor { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SKULLBLOCKACTOR +public: + class SkullBlockActor& operator=(class SkullBlockActor const &) = delete; + SkullBlockActor(class SkullBlockActor const &) = delete; + SkullBlockActor() = delete; +#endif + +public: + /*0*/ virtual ~SkullBlockActor(); + /*1*/ virtual void load(class Level &, class CompoundTag const &, class DataLoadHelper &); + /*2*/ virtual bool save(class CompoundTag &) const; + /*7*/ virtual void tick(class BlockSource &); + /*9*/ virtual void onChanged(class BlockSource &); + /*13*/ virtual void __unk_vfn_13(); + /*17*/ virtual void __unk_vfn_17(); + /*29*/ virtual void __unk_vfn_29(); + /*30*/ virtual void __unk_vfn_30(); + /*32*/ virtual void __unk_vfn_32(); + /*33*/ virtual void __unk_vfn_33(); + /*34*/ virtual std::unique_ptr _getUpdatePacket(class BlockSource &); + /*35*/ virtual void _onUpdatePacket(class CompoundTag const &, class BlockSource &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SKULLBLOCKACTOR +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/SkullItem.hpp b/LiteLoader/Header/MC/SkullItem.hpp new file mode 100644 index 0000000..2cd5376 --- /dev/null +++ b/LiteLoader/Header/MC/SkullItem.hpp @@ -0,0 +1,54 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Item.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class SkullItem : public Item { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SKULLITEM +public: + class SkullItem& operator=(class SkullItem const &) = delete; + SkullItem(class SkullItem const &) = delete; + SkullItem() = delete; +#endif + +public: + /*0*/ virtual ~SkullItem(); + /*5*/ virtual void __unk_vfn_5(); + /*18*/ virtual enum BlockShape getBlockShape() const; + /*21*/ virtual int getLevelDataForAuxValue(int) const; + /*26*/ virtual void __unk_vfn_26(); + /*27*/ virtual void __unk_vfn_27(); + /*31*/ virtual void __unk_vfn_31(); + /*32*/ virtual void __unk_vfn_32(); + /*34*/ virtual void __unk_vfn_34(); + /*37*/ virtual void __unk_vfn_37(); + /*40*/ virtual int getEnchantSlot() const; + /*43*/ virtual void __unk_vfn_43(); + /*44*/ virtual bool isValidAuxValue(int) const; + /*46*/ virtual void __unk_vfn_46(); + /*47*/ virtual void __unk_vfn_47(); + /*49*/ virtual void __unk_vfn_49(); + /*50*/ virtual void __unk_vfn_50(); + /*57*/ virtual bool dispense(class BlockSource &, class Container &, int, class Vec3 const &, unsigned char) const; + /*65*/ virtual std::string buildDescriptionId(class ItemDescriptor const &, class CompoundTag const *) const; + /*79*/ virtual void __unk_vfn_79(); + /*80*/ virtual void __unk_vfn_80(); + /*85*/ virtual struct TextureUVCoordinateSet const & getIcon(class ItemStackBase const &, int, bool) const; + /*90*/ virtual void __unk_vfn_90(); + /*93*/ virtual std::string getAuxValuesDescription() const; + /*96*/ virtual bool _calculatePlacePos(class ItemStack &, class Actor &, unsigned char &, class BlockPos &) const; + /*97*/ virtual void __unk_vfn_97(); + /*99*/ virtual bool _useOn(class ItemStack &, class Actor &, class BlockPos, unsigned char, float, float, float) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SKULLITEM +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/SlabBlock.hpp b/LiteLoader/Header/MC/SlabBlock.hpp new file mode 100644 index 0000000..2bb7f45 --- /dev/null +++ b/LiteLoader/Header/MC/SlabBlock.hpp @@ -0,0 +1,74 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "BlockLegacy.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class SlabBlock : public BlockLegacy { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SLABBLOCK +public: + class SlabBlock& operator=(class SlabBlock const &) = delete; + SlabBlock(class SlabBlock const &) = delete; + SlabBlock() = delete; +#endif + +public: + /*0*/ virtual ~SlabBlock(); + /*6*/ virtual bool isObstructingChests(class BlockSource &, class BlockPos const &) const; + /*15*/ virtual bool liquidCanFlowIntoFromDirection(unsigned char, class std::function const &, class BlockPos const &) const; + /*18*/ virtual void __unk_vfn_18(); + /*24*/ virtual void __unk_vfn_24(); + /*25*/ virtual void __unk_vfn_25(); + /*26*/ virtual void __unk_vfn_26(); + /*27*/ virtual void __unk_vfn_27(); + /*28*/ virtual void __unk_vfn_28(); + /*30*/ virtual void __unk_vfn_30(); + /*31*/ virtual void __unk_vfn_31(); + /*32*/ virtual void __unk_vfn_32(); + /*33*/ virtual void __unk_vfn_33(); + /*34*/ virtual void __unk_vfn_34(); + /*35*/ virtual void __unk_vfn_35(); + /*36*/ virtual void __unk_vfn_36(); + /*37*/ virtual bool isDoubleSlabBlock() const; + /*38*/ virtual void __unk_vfn_38(); + /*39*/ virtual void __unk_vfn_39(); + /*40*/ virtual void __unk_vfn_40(); + /*42*/ virtual void __unk_vfn_42(); + /*43*/ virtual void __unk_vfn_43(); + /*49*/ virtual void __unk_vfn_49(); + /*52*/ virtual void __unk_vfn_52(); + /*56*/ virtual bool checkIsPathable(class Actor &, class BlockPos const &, class BlockPos const &) const; + /*67*/ virtual void __unk_vfn_67(); + /*71*/ virtual enum BlockProperty getRedstoneProperty(class BlockSource &, class BlockPos const &) const; + /*73*/ virtual void __unk_vfn_73(); + /*87*/ virtual void __unk_vfn_87(); + /*90*/ virtual int getResourceCount(class Random &, class Block const &, int, bool) const; + /*91*/ virtual class ItemInstance getResourceItem(class Random &, class Block const &, int) const; + /*92*/ virtual class ItemInstance asItemInstance(class BlockSource &, class BlockPos const &, class Block const &) const; + /*95*/ virtual void __unk_vfn_95(); + /*96*/ virtual float getExplosionResistance(class Actor *) const; + /*99*/ virtual class Block const & getPlacementBlock(class Actor &, class BlockPos const &, unsigned char, class Vec3 const &, int) const; + /*109*/ virtual void __unk_vfn_109(); + /*112*/ virtual class MobSpawnerData const * getMobToSpawn(class SpawnConditions const &, class BlockSource &) const; + /*116*/ virtual void __unk_vfn_116(); + /*118*/ virtual void __unk_vfn_118(); + /*119*/ virtual void __unk_vfn_119(); + /*128*/ virtual bool isAuxValueRelevantForPicking() const; + /*138*/ virtual class AABB const & getVisualShape(class Block const &, class AABB &, bool) const; + /*142*/ virtual void __unk_vfn_142(); + /*158*/ virtual void __unk_vfn_158(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SLABBLOCK + MCVAPI bool canBeSilkTouched() const; + MCVAPI bool isSlabBlock() const; +#endif + MCAPI SlabBlock(std::string const &, int, bool, class Material const &, class WeakPtr); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/SlabBlockItem.hpp b/LiteLoader/Header/MC/SlabBlockItem.hpp new file mode 100644 index 0000000..d331bed --- /dev/null +++ b/LiteLoader/Header/MC/SlabBlockItem.hpp @@ -0,0 +1,46 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "BlockItem.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class SlabBlockItem : public BlockItem { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SLABBLOCKITEM +public: + class SlabBlockItem& operator=(class SlabBlockItem const &) = delete; + SlabBlockItem(class SlabBlockItem const &) = delete; + SlabBlockItem() = delete; +#endif + +public: + /*0*/ virtual ~SlabBlockItem(); + /*5*/ virtual void __unk_vfn_5(); + /*26*/ virtual void __unk_vfn_26(); + /*27*/ virtual void __unk_vfn_27(); + /*31*/ virtual void __unk_vfn_31(); + /*32*/ virtual void __unk_vfn_32(); + /*34*/ virtual void __unk_vfn_34(); + /*37*/ virtual void __unk_vfn_37(); + /*43*/ virtual void __unk_vfn_43(); + /*46*/ virtual void __unk_vfn_46(); + /*47*/ virtual void __unk_vfn_47(); + /*49*/ virtual void __unk_vfn_49(); + /*50*/ virtual void __unk_vfn_50(); + /*79*/ virtual void __unk_vfn_79(); + /*80*/ virtual void __unk_vfn_80(); + /*90*/ virtual void __unk_vfn_90(); + /*96*/ virtual bool _calculatePlacePos(class ItemStack &, class Actor &, unsigned char &, class BlockPos &) const; + /*97*/ virtual void __unk_vfn_97(); + /*99*/ virtual bool _useOn(class ItemStack &, class Actor &, class BlockPos, unsigned char, float, float, float) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SLABBLOCKITEM +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/SleepGoal.hpp b/LiteLoader/Header/MC/SleepGoal.hpp new file mode 100644 index 0000000..b5ea90a --- /dev/null +++ b/LiteLoader/Header/MC/SleepGoal.hpp @@ -0,0 +1,44 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "MoveToPOIGoal.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class SleepGoal : public MoveToPOIGoal { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SLEEPGOAL +public: + class SleepGoal& operator=(class SleepGoal const &) = delete; + SleepGoal(class SleepGoal const &) = delete; + SleepGoal() = delete; +#endif + +public: + /*0*/ virtual ~SleepGoal(); + /*1*/ virtual bool canUse(); + /*2*/ virtual bool canContinueToUse(); + /*3*/ virtual void __unk_vfn_3(); + /*4*/ virtual void start(); + /*5*/ virtual void stop(); + /*6*/ virtual void tick(); + /*7*/ virtual void appendDebugInfo(std::string &) const; + /*8*/ virtual void __unk_vfn_8(); + /*9*/ virtual void __unk_vfn_9(); + /*16*/ virtual unsigned __int64 _getRepathTime() const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SLEEPGOAL +#endif + +//private: + MCAPI void _wakeUp(); + MCAPI void lockPosToBedPos(); + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/SleepState.hpp b/LiteLoader/Header/MC/SleepState.hpp new file mode 100644 index 0000000..591e442 --- /dev/null +++ b/LiteLoader/Header/MC/SleepState.hpp @@ -0,0 +1,30 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class SleepState { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SLEEPSTATE +public: + class SleepState& operator=(class SleepState const &) = delete; + SleepState(class SleepState const &) = delete; + SleepState() = delete; +#endif + +public: + /*0*/ virtual ~SleepState(); + /*1*/ virtual void tick(); + /*2*/ virtual void __unk_vfn_2(); + /*3*/ virtual void stop(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SLEEPSTATE +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/Slime.hpp b/LiteLoader/Header/MC/Slime.hpp new file mode 100644 index 0000000..5144227 --- /dev/null +++ b/LiteLoader/Header/MC/Slime.hpp @@ -0,0 +1,82 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Actor.hpp" +#include "Monster.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class Slime : public Monster { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SLIME +public: + class Slime& operator=(class Slime const &) = delete; + Slime(class Slime const &) = delete; + Slime() = delete; +#endif + +public: + /*1*/ virtual void reloadHardcoded(enum Actor::InitializationMethod, class VariantParameterList const &); + /*7*/ virtual ~Slime(); + /*11*/ virtual void remove(); + /*30*/ virtual void __unk_vfn_30(); + /*39*/ virtual void normalTick(); + /*54*/ virtual void __unk_vfn_54(); + /*61*/ virtual void __unk_vfn_61(); + /*74*/ virtual float getShadowRadius() const; + /*76*/ virtual void __unk_vfn_76(); + /*81*/ virtual void __unk_vfn_81(); + /*82*/ virtual void playerTouch(class Player &); + /*88*/ virtual void __unk_vfn_88(); + /*90*/ virtual void __unk_vfn_90(); + /*98*/ virtual void __unk_vfn_98(); + /*100*/ virtual void __unk_vfn_100(); + /*103*/ virtual class Actor * findAttackTarget(); + /*121*/ virtual void __unk_vfn_121(); + /*169*/ virtual void __unk_vfn_169(); + /*177*/ virtual void onSynchedDataUpdate(int); + /*182*/ virtual void __unk_vfn_182(); + /*206*/ virtual void __unk_vfn_206(); + /*207*/ virtual void __unk_vfn_207(); + /*228*/ virtual void __unk_vfn_228(); + /*231*/ virtual void __unk_vfn_231(); + /*238*/ virtual void __unk_vfn_238(); + /*242*/ virtual void readAdditionalSaveData(class CompoundTag const &, class DataLoadHelper &); + /*243*/ virtual void addAdditionalSaveData(class CompoundTag &); + /*246*/ virtual void __unk_vfn_246(); + /*257*/ virtual void __unk_vfn_257(); + /*278*/ virtual void aiStep(); + /*282*/ virtual bool checkSpawnRules(bool); + /*290*/ virtual void __unk_vfn_290(); + /*300*/ virtual void __unk_vfn_300(); + /*330*/ virtual float _getWalkTargetValue(class BlockPos const &); + /*332*/ virtual void __unk_vfn_332(); + /*348*/ virtual void __unk_vfn_348(); + /*350*/ virtual bool canDealDamage(); + /*351*/ virtual enum LevelSoundEvent getSquishSound(); + /*352*/ virtual void setSlimeSize(int); + /*353*/ virtual bool doPlayJumpSound(); + /*354*/ virtual bool doPlayLandSound(); + /*355*/ virtual void playJumpSound(); + /*356*/ virtual void playLandSound(); + /*357*/ virtual void decreaseSquish(); + /*358*/ virtual std::unique_ptr createChild(int); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SLIME + MCVAPI bool useNewAi() const; +#endif + MCAPI Slime(class ActorDefinitionGroup *, struct ActorDefinitionIdentifier const &); + MCAPI int getSlimeSize() const; + +//protected: + MCAPI void justJumped(); + MCAPI void justLanded(); + +protected: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/SlimeAttackDefinition.hpp b/LiteLoader/Header/MC/SlimeAttackDefinition.hpp new file mode 100644 index 0000000..b4ea860 --- /dev/null +++ b/LiteLoader/Header/MC/SlimeAttackDefinition.hpp @@ -0,0 +1,28 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "JsonUtil.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class SlimeAttackDefinition { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SLIMEATTACKDEFINITION +public: + class SlimeAttackDefinition& operator=(class SlimeAttackDefinition const &) = delete; + SlimeAttackDefinition(class SlimeAttackDefinition const &) = delete; + SlimeAttackDefinition() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SLIMEATTACKDEFINITION +#endif + MCAPI static void buildSchema(std::string const &, class std::shared_ptr> &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/SlimeAttackGoal.hpp b/LiteLoader/Header/MC/SlimeAttackGoal.hpp new file mode 100644 index 0000000..6d1c25a --- /dev/null +++ b/LiteLoader/Header/MC/SlimeAttackGoal.hpp @@ -0,0 +1,34 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class SlimeAttackGoal { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SLIMEATTACKGOAL +public: + class SlimeAttackGoal& operator=(class SlimeAttackGoal const &) = delete; + SlimeAttackGoal(class SlimeAttackGoal const &) = delete; + SlimeAttackGoal() = delete; +#endif + +public: + /*0*/ virtual ~SlimeAttackGoal(); + /*1*/ virtual bool canUse(); + /*2*/ virtual bool canContinueToUse(); + /*3*/ virtual void __unk_vfn_3(); + /*4*/ virtual void start(); + /*5*/ virtual void __unk_vfn_5(); + /*6*/ virtual void tick(); + /*7*/ virtual void appendDebugInfo(std::string &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SLIMEATTACKGOAL +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/SlimeBlock.hpp b/LiteLoader/Header/MC/SlimeBlock.hpp new file mode 100644 index 0000000..3a4326a --- /dev/null +++ b/LiteLoader/Header/MC/SlimeBlock.hpp @@ -0,0 +1,63 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "BlockLegacy.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class SlimeBlock : public BlockLegacy { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SLIMEBLOCK +public: + class SlimeBlock& operator=(class SlimeBlock const &) = delete; + SlimeBlock(class SlimeBlock const &) = delete; + SlimeBlock() = delete; +#endif + +public: + /*0*/ virtual ~SlimeBlock(); + /*18*/ virtual void __unk_vfn_18(); + /*24*/ virtual void __unk_vfn_24(); + /*25*/ virtual void __unk_vfn_25(); + /*26*/ virtual void __unk_vfn_26(); + /*27*/ virtual void __unk_vfn_27(); + /*28*/ virtual void __unk_vfn_28(); + /*30*/ virtual void __unk_vfn_30(); + /*31*/ virtual void __unk_vfn_31(); + /*32*/ virtual void __unk_vfn_32(); + /*33*/ virtual void __unk_vfn_33(); + /*34*/ virtual void __unk_vfn_34(); + /*35*/ virtual void __unk_vfn_35(); + /*36*/ virtual void __unk_vfn_36(); + /*38*/ virtual void __unk_vfn_38(); + /*39*/ virtual void __unk_vfn_39(); + /*40*/ virtual void __unk_vfn_40(); + /*42*/ virtual void __unk_vfn_42(); + /*43*/ virtual void __unk_vfn_43(); + /*49*/ virtual void __unk_vfn_49(); + /*52*/ virtual void __unk_vfn_52(); + /*62*/ virtual void onStepOn(class Actor &, class BlockPos const &) const; + /*63*/ virtual void onFallOn(class BlockSource &, class BlockPos const &, class Actor &, float) const; + /*67*/ virtual void __unk_vfn_67(); + /*72*/ virtual void updateEntityAfterFallOn(class BlockSource &, class BlockPos const &, class Actor &) const; + /*73*/ virtual void __unk_vfn_73(); + /*87*/ virtual void __unk_vfn_87(); + /*95*/ virtual void __unk_vfn_95(); + /*109*/ virtual void __unk_vfn_109(); + /*116*/ virtual void __unk_vfn_116(); + /*118*/ virtual void __unk_vfn_118(); + /*119*/ virtual void __unk_vfn_119(); + /*135*/ virtual int getExtraRenderLayers() const; + /*142*/ virtual void __unk_vfn_142(); + /*158*/ virtual void __unk_vfn_158(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SLIMEBLOCK + MCVAPI bool isBounceBlock() const; +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/SlimeFloatDefinition.hpp b/LiteLoader/Header/MC/SlimeFloatDefinition.hpp new file mode 100644 index 0000000..803ba34 --- /dev/null +++ b/LiteLoader/Header/MC/SlimeFloatDefinition.hpp @@ -0,0 +1,28 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "JsonUtil.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class SlimeFloatDefinition { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SLIMEFLOATDEFINITION +public: + class SlimeFloatDefinition& operator=(class SlimeFloatDefinition const &) = delete; + SlimeFloatDefinition(class SlimeFloatDefinition const &) = delete; + SlimeFloatDefinition() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SLIMEFLOATDEFINITION +#endif + MCAPI static void buildSchema(std::string const &, class std::shared_ptr> &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/SlimeFloatGoal.hpp b/LiteLoader/Header/MC/SlimeFloatGoal.hpp new file mode 100644 index 0000000..226e9c8 --- /dev/null +++ b/LiteLoader/Header/MC/SlimeFloatGoal.hpp @@ -0,0 +1,34 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class SlimeFloatGoal { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SLIMEFLOATGOAL +public: + class SlimeFloatGoal& operator=(class SlimeFloatGoal const &) = delete; + SlimeFloatGoal(class SlimeFloatGoal const &) = delete; + SlimeFloatGoal() = delete; +#endif + +public: + /*0*/ virtual ~SlimeFloatGoal(); + /*1*/ virtual bool canUse(); + /*2*/ virtual void __unk_vfn_2(); + /*3*/ virtual void __unk_vfn_3(); + /*4*/ virtual void __unk_vfn_4(); + /*5*/ virtual void __unk_vfn_5(); + /*6*/ virtual void tick(); + /*7*/ virtual void appendDebugInfo(std::string &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SLIMEFLOATGOAL +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/SlimeKeepOnJumpingDefinition.hpp b/LiteLoader/Header/MC/SlimeKeepOnJumpingDefinition.hpp new file mode 100644 index 0000000..b2a7e79 --- /dev/null +++ b/LiteLoader/Header/MC/SlimeKeepOnJumpingDefinition.hpp @@ -0,0 +1,28 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "JsonUtil.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class SlimeKeepOnJumpingDefinition { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SLIMEKEEPONJUMPINGDEFINITION +public: + class SlimeKeepOnJumpingDefinition& operator=(class SlimeKeepOnJumpingDefinition const &) = delete; + SlimeKeepOnJumpingDefinition(class SlimeKeepOnJumpingDefinition const &) = delete; + SlimeKeepOnJumpingDefinition() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SLIMEKEEPONJUMPINGDEFINITION +#endif + MCAPI static void buildSchema(std::string const &, class std::shared_ptr> &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/SlimeKeepOnJumpingGoal.hpp b/LiteLoader/Header/MC/SlimeKeepOnJumpingGoal.hpp new file mode 100644 index 0000000..a8b5a54 --- /dev/null +++ b/LiteLoader/Header/MC/SlimeKeepOnJumpingGoal.hpp @@ -0,0 +1,34 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class SlimeKeepOnJumpingGoal { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SLIMEKEEPONJUMPINGGOAL +public: + class SlimeKeepOnJumpingGoal& operator=(class SlimeKeepOnJumpingGoal const &) = delete; + SlimeKeepOnJumpingGoal(class SlimeKeepOnJumpingGoal const &) = delete; + SlimeKeepOnJumpingGoal() = delete; +#endif + +public: + /*0*/ virtual ~SlimeKeepOnJumpingGoal(); + /*1*/ virtual bool canUse(); + /*2*/ virtual void __unk_vfn_2(); + /*3*/ virtual void __unk_vfn_3(); + /*4*/ virtual void __unk_vfn_4(); + /*5*/ virtual void __unk_vfn_5(); + /*6*/ virtual void tick(); + /*7*/ virtual void appendDebugInfo(std::string &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SLIMEKEEPONJUMPINGGOAL +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/SlimeMoveControl.hpp b/LiteLoader/Header/MC/SlimeMoveControl.hpp new file mode 100644 index 0000000..29554cd --- /dev/null +++ b/LiteLoader/Header/MC/SlimeMoveControl.hpp @@ -0,0 +1,29 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "MoveControl.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class SlimeMoveControl : public MoveControl { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SLIMEMOVECONTROL +public: + class SlimeMoveControl& operator=(class SlimeMoveControl const &) = delete; + SlimeMoveControl(class SlimeMoveControl const &) = delete; + SlimeMoveControl() = delete; +#endif + +public: + /*0*/ virtual ~SlimeMoveControl(); + /*2*/ virtual void tick(class MoveControlComponent &, class Mob &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SLIMEMOVECONTROL +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/SlimeMoveControlDescription.hpp b/LiteLoader/Header/MC/SlimeMoveControlDescription.hpp new file mode 100644 index 0000000..c7b5487 --- /dev/null +++ b/LiteLoader/Header/MC/SlimeMoveControlDescription.hpp @@ -0,0 +1,30 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Json.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +struct SlimeMoveControlDescription { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SLIMEMOVECONTROLDESCRIPTION +public: + struct SlimeMoveControlDescription& operator=(struct SlimeMoveControlDescription const &) = delete; + SlimeMoveControlDescription(struct SlimeMoveControlDescription const &) = delete; + SlimeMoveControlDescription() = delete; +#endif +public: + /*0*/ virtual char const * getJsonName() const; + /*1*/ virtual ~SlimeMoveControlDescription(); + /*2*/ virtual void deserializeData(class Json::Value &); + /*3*/ virtual void serializeData(class Json::Value &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SLIMEMOVECONTROLDESCRIPTION +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/SlimeRandomDirectionDefinition.hpp b/LiteLoader/Header/MC/SlimeRandomDirectionDefinition.hpp new file mode 100644 index 0000000..2725c28 --- /dev/null +++ b/LiteLoader/Header/MC/SlimeRandomDirectionDefinition.hpp @@ -0,0 +1,28 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "JsonUtil.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class SlimeRandomDirectionDefinition { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SLIMERANDOMDIRECTIONDEFINITION +public: + class SlimeRandomDirectionDefinition& operator=(class SlimeRandomDirectionDefinition const &) = delete; + SlimeRandomDirectionDefinition(class SlimeRandomDirectionDefinition const &) = delete; + SlimeRandomDirectionDefinition() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SLIMERANDOMDIRECTIONDEFINITION +#endif + MCAPI static void buildSchema(std::string const &, class std::shared_ptr> &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/SlimeRandomDirectionGoal.hpp b/LiteLoader/Header/MC/SlimeRandomDirectionGoal.hpp new file mode 100644 index 0000000..0bb52ed --- /dev/null +++ b/LiteLoader/Header/MC/SlimeRandomDirectionGoal.hpp @@ -0,0 +1,34 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class SlimeRandomDirectionGoal { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SLIMERANDOMDIRECTIONGOAL +public: + class SlimeRandomDirectionGoal& operator=(class SlimeRandomDirectionGoal const &) = delete; + SlimeRandomDirectionGoal(class SlimeRandomDirectionGoal const &) = delete; + SlimeRandomDirectionGoal() = delete; +#endif + +public: + /*0*/ virtual ~SlimeRandomDirectionGoal(); + /*1*/ virtual bool canUse(); + /*2*/ virtual void __unk_vfn_2(); + /*3*/ virtual void __unk_vfn_3(); + /*4*/ virtual void __unk_vfn_4(); + /*5*/ virtual void __unk_vfn_5(); + /*6*/ virtual void tick(); + /*7*/ virtual void appendDebugInfo(std::string &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SLIMERANDOMDIRECTIONGOAL +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/SlotData.hpp b/LiteLoader/Header/MC/SlotData.hpp new file mode 100644 index 0000000..b8516c6 --- /dev/null +++ b/LiteLoader/Header/MC/SlotData.hpp @@ -0,0 +1,27 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +struct SlotData { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SLOTDATA +public: + struct SlotData& operator=(struct SlotData const &) = delete; + SlotData(struct SlotData const &) = delete; + SlotData() = delete; +#endif +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SLOTDATA +#endif + MCAPI ~SlotData(); + MCAPI static struct SlotData UNKNOWN_LOCATION; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/SlotDescriptor.hpp b/LiteLoader/Header/MC/SlotDescriptor.hpp new file mode 100644 index 0000000..890a05a --- /dev/null +++ b/LiteLoader/Header/MC/SlotDescriptor.hpp @@ -0,0 +1,27 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +struct SlotDescriptor { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SLOTDESCRIPTOR +public: + struct SlotDescriptor& operator=(struct SlotDescriptor const &) = delete; +#endif +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SLOTDESCRIPTOR +#endif + MCAPI SlotDescriptor(); + MCAPI SlotDescriptor(struct SlotDescriptor const &); + MCAPI void addAcceptedItemByName(std::string const &); + MCAPI ~SlotDescriptor(); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/SmallFireball.hpp b/LiteLoader/Header/MC/SmallFireball.hpp new file mode 100644 index 0000000..553f728 --- /dev/null +++ b/LiteLoader/Header/MC/SmallFireball.hpp @@ -0,0 +1,51 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Actor.hpp" +#include "Fireball.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class SmallFireball : public Fireball { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SMALLFIREBALL +public: + class SmallFireball& operator=(class SmallFireball const &) = delete; + SmallFireball(class SmallFireball const &) = delete; + SmallFireball() = delete; +#endif + +public: + /*7*/ virtual ~SmallFireball(); + /*30*/ virtual void __unk_vfn_30(); + /*54*/ virtual void __unk_vfn_54(); + /*61*/ virtual void __unk_vfn_61(); + /*76*/ virtual void __unk_vfn_76(); + /*81*/ virtual void __unk_vfn_81(); + /*87*/ virtual bool isPickable(); + /*88*/ virtual void __unk_vfn_88(); + /*90*/ virtual void __unk_vfn_90(); + /*98*/ virtual void __unk_vfn_98(); + /*100*/ virtual void __unk_vfn_100(); + /*121*/ virtual void __unk_vfn_121(); + /*169*/ virtual void __unk_vfn_169(); + /*182*/ virtual void __unk_vfn_182(); + /*206*/ virtual void __unk_vfn_206(); + /*207*/ virtual void __unk_vfn_207(); + /*228*/ virtual void __unk_vfn_228(); + /*231*/ virtual void __unk_vfn_231(); + /*238*/ virtual void __unk_vfn_238(); + /*240*/ virtual bool _hurt(class ActorDamageSource const &, int, bool, bool); + /*246*/ virtual void __unk_vfn_246(); + /*257*/ virtual void __unk_vfn_257(); + /*259*/ virtual void __unk_vfn_259(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SMALLFIREBALL +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/SmeltItemFunction.hpp b/LiteLoader/Header/MC/SmeltItemFunction.hpp new file mode 100644 index 0000000..ecf4512 --- /dev/null +++ b/LiteLoader/Header/MC/SmeltItemFunction.hpp @@ -0,0 +1,30 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "LootItemFunction.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class SmeltItemFunction : public LootItemFunction { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SMELTITEMFUNCTION +public: + class SmeltItemFunction& operator=(class SmeltItemFunction const &) = delete; + SmeltItemFunction(class SmeltItemFunction const &) = delete; + SmeltItemFunction() = delete; +#endif + +public: + /*0*/ virtual ~SmeltItemFunction(); + /*1*/ virtual void apply(class ItemStack &, class Random &, class LootTableContext &); + /*3*/ virtual void apply(class ItemInstance &, class Random &, class LootTableContext &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SMELTITEMFUNCTION +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/SmithingTableBlock.hpp b/LiteLoader/Header/MC/SmithingTableBlock.hpp new file mode 100644 index 0000000..2ed2cd2 --- /dev/null +++ b/LiteLoader/Header/MC/SmithingTableBlock.hpp @@ -0,0 +1,61 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "BlockLegacy.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class SmithingTableBlock : public BlockLegacy { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SMITHINGTABLEBLOCK +public: + class SmithingTableBlock& operator=(class SmithingTableBlock const &) = delete; + SmithingTableBlock(class SmithingTableBlock const &) = delete; + SmithingTableBlock() = delete; +#endif + +public: + /*0*/ virtual ~SmithingTableBlock(); + /*18*/ virtual void __unk_vfn_18(); + /*24*/ virtual void __unk_vfn_24(); + /*25*/ virtual void __unk_vfn_25(); + /*26*/ virtual void __unk_vfn_26(); + /*27*/ virtual void __unk_vfn_27(); + /*28*/ virtual void __unk_vfn_28(); + /*30*/ virtual void __unk_vfn_30(); + /*31*/ virtual void __unk_vfn_31(); + /*32*/ virtual void __unk_vfn_32(); + /*33*/ virtual void __unk_vfn_33(); + /*34*/ virtual void __unk_vfn_34(); + /*35*/ virtual void __unk_vfn_35(); + /*36*/ virtual void __unk_vfn_36(); + /*38*/ virtual void __unk_vfn_38(); + /*39*/ virtual void __unk_vfn_39(); + /*40*/ virtual void __unk_vfn_40(); + /*42*/ virtual void __unk_vfn_42(); + /*43*/ virtual void __unk_vfn_43(); + /*49*/ virtual void __unk_vfn_49(); + /*52*/ virtual void __unk_vfn_52(); + /*67*/ virtual void __unk_vfn_67(); + /*73*/ virtual void __unk_vfn_73(); + /*87*/ virtual void __unk_vfn_87(); + /*95*/ virtual void __unk_vfn_95(); + /*98*/ virtual bool use(class Player &, class BlockPos const &) const; + /*109*/ virtual void __unk_vfn_109(); + /*116*/ virtual void __unk_vfn_116(); + /*118*/ virtual void __unk_vfn_118(); + /*119*/ virtual void __unk_vfn_119(); + /*142*/ virtual void __unk_vfn_142(); + /*158*/ virtual void __unk_vfn_158(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SMITHINGTABLEBLOCK + MCVAPI bool isCraftingBlock() const; + MCVAPI bool isInteractiveBlock() const; +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/SmithingTableContainerManagerModel.hpp b/LiteLoader/Header/MC/SmithingTableContainerManagerModel.hpp new file mode 100644 index 0000000..61865f9 --- /dev/null +++ b/LiteLoader/Header/MC/SmithingTableContainerManagerModel.hpp @@ -0,0 +1,35 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "ContainerManagerModel.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class SmithingTableContainerManagerModel : public ContainerManagerModel { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SMITHINGTABLECONTAINERMANAGERMODEL +public: + class SmithingTableContainerManagerModel& operator=(class SmithingTableContainerManagerModel const &) = delete; + SmithingTableContainerManagerModel(class SmithingTableContainerManagerModel const &) = delete; + SmithingTableContainerManagerModel() = delete; +#endif + +public: + /*0*/ virtual ~SmithingTableContainerManagerModel(); + /*6*/ virtual std::vector getItemCopies() const; + /*7*/ virtual void setSlot(int, class ItemStack const &, bool); + /*8*/ virtual class ItemStack const & getSlot(int) const; + /*9*/ virtual void setData(int, int); + /*10*/ virtual void broadcastChanges(); + /*11*/ virtual bool isValid(float); + /*12*/ virtual class ContainerScreenContext _postInit(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SMITHINGTABLECONTAINERMANAGERMODEL +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/SmokerBlock.hpp b/LiteLoader/Header/MC/SmokerBlock.hpp new file mode 100644 index 0000000..1cd8d94 --- /dev/null +++ b/LiteLoader/Header/MC/SmokerBlock.hpp @@ -0,0 +1,123 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "FurnaceBlock.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class SmokerBlock : public FurnaceBlock { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SMOKERBLOCK +public: + class SmokerBlock& operator=(class SmokerBlock const &) = delete; + SmokerBlock(class SmokerBlock const &) = delete; + SmokerBlock() = delete; +#endif + +public: + /*0*/ virtual ~SmokerBlock(); + /*1*/ virtual void __unk_vfn_1(); + /*7*/ virtual void __unk_vfn_7(); + /*14*/ virtual void __unk_vfn_14(); + /*15*/ virtual void __unk_vfn_15(); + /*18*/ virtual void __unk_vfn_18(); + /*19*/ virtual void __unk_vfn_19(); + /*20*/ virtual void __unk_vfn_20(); + /*24*/ virtual void __unk_vfn_24(); + /*25*/ virtual void __unk_vfn_25(); + /*26*/ virtual void __unk_vfn_26(); + /*27*/ virtual void __unk_vfn_27(); + /*28*/ virtual void __unk_vfn_28(); + /*30*/ virtual void __unk_vfn_30(); + /*31*/ virtual void __unk_vfn_31(); + /*32*/ virtual void __unk_vfn_32(); + /*33*/ virtual void __unk_vfn_33(); + /*34*/ virtual void __unk_vfn_34(); + /*35*/ virtual void __unk_vfn_35(); + /*36*/ virtual void __unk_vfn_36(); + /*37*/ virtual void __unk_vfn_37(); + /*38*/ virtual void __unk_vfn_38(); + /*39*/ virtual void __unk_vfn_39(); + /*40*/ virtual void __unk_vfn_40(); + /*42*/ virtual void __unk_vfn_42(); + /*43*/ virtual void __unk_vfn_43(); + /*44*/ virtual void __unk_vfn_44(); + /*45*/ virtual void __unk_vfn_45(); + /*47*/ virtual void __unk_vfn_47(); + /*48*/ virtual void __unk_vfn_48(); + /*49*/ virtual void __unk_vfn_49(); + /*51*/ virtual void __unk_vfn_51(); + /*52*/ virtual void __unk_vfn_52(); + /*55*/ virtual void __unk_vfn_55(); + /*57*/ virtual void __unk_vfn_57(); + /*58*/ virtual void __unk_vfn_58(); + /*61*/ virtual void __unk_vfn_61(); + /*62*/ virtual void __unk_vfn_62(); + /*64*/ virtual void __unk_vfn_64(); + /*65*/ virtual void __unk_vfn_65(); + /*66*/ virtual void __unk_vfn_66(); + /*67*/ virtual void __unk_vfn_67(); + /*68*/ virtual void __unk_vfn_68(); + /*69*/ virtual void __unk_vfn_69(); + /*70*/ virtual void __unk_vfn_70(); + /*73*/ virtual void __unk_vfn_73(); + /*74*/ virtual void __unk_vfn_74(); + /*75*/ virtual void __unk_vfn_75(); + /*76*/ virtual void __unk_vfn_76(); + /*77*/ virtual void __unk_vfn_77(); + /*79*/ virtual void __unk_vfn_79(); + /*81*/ virtual void __unk_vfn_81(); + /*82*/ virtual void __unk_vfn_82(); + /*85*/ virtual void __unk_vfn_85(); + /*87*/ virtual void __unk_vfn_87(); + /*89*/ virtual void __unk_vfn_89(); + /*90*/ virtual void __unk_vfn_90(); + /*91*/ virtual void __unk_vfn_91(); + /*92*/ virtual void __unk_vfn_92(); + /*95*/ virtual void __unk_vfn_95(); + /*96*/ virtual void __unk_vfn_96(); + /*98*/ virtual bool use(class Player &, class BlockPos const &) const; + /*101*/ virtual void __unk_vfn_101(); + /*102*/ virtual void __unk_vfn_102(); + /*103*/ virtual void __unk_vfn_103(); + /*104*/ virtual void __unk_vfn_104(); + /*106*/ virtual void __unk_vfn_106(); + /*107*/ virtual void __unk_vfn_107(); + /*110*/ virtual void __unk_vfn_110(); + /*111*/ virtual void __unk_vfn_111(); + /*113*/ virtual void __unk_vfn_113(); + /*114*/ virtual void __unk_vfn_114(); + /*116*/ virtual void __unk_vfn_116(); + /*118*/ virtual void __unk_vfn_118(); + /*119*/ virtual void __unk_vfn_119(); + /*122*/ virtual void __unk_vfn_122(); + /*123*/ virtual void __unk_vfn_123(); + /*124*/ virtual void __unk_vfn_124(); + /*125*/ virtual void __unk_vfn_125(); + /*126*/ virtual void __unk_vfn_126(); + /*127*/ virtual void __unk_vfn_127(); + /*128*/ virtual void __unk_vfn_128(); + /*129*/ virtual void __unk_vfn_129(); + /*130*/ virtual void __unk_vfn_130(); + /*131*/ virtual void __unk_vfn_131(); + /*133*/ virtual void __unk_vfn_133(); + /*135*/ virtual void __unk_vfn_135(); + /*142*/ virtual void __unk_vfn_142(); + /*145*/ virtual void __unk_vfn_145(); + /*158*/ virtual void __unk_vfn_158(); + /*159*/ virtual void __unk_vfn_159(); + /*162*/ virtual void __unk_vfn_162(); + /*163*/ virtual void __unk_vfn_163(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SMOKERBLOCK + MCVAPI class ItemInstance asItemInstance(class BlockSource &, class BlockPos const &, class Block const &) const; + MCVAPI class ItemInstance getResourceItem(class Random &, class Block const &, int) const; + MCVAPI class ItemInstance getSilkTouchItemInstance(class Block const &) const; +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/SmokerBlockActor.hpp b/LiteLoader/Header/MC/SmokerBlockActor.hpp new file mode 100644 index 0000000..f24d45b --- /dev/null +++ b/LiteLoader/Header/MC/SmokerBlockActor.hpp @@ -0,0 +1,27 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class SmokerBlockActor { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SMOKERBLOCKACTOR +public: + class SmokerBlockActor& operator=(class SmokerBlockActor const &) = delete; + SmokerBlockActor(class SmokerBlockActor const &) = delete; + SmokerBlockActor() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SMOKERBLOCKACTOR + MCVAPI std::string getName() const; +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/SmokerContainerManagerModel.hpp b/LiteLoader/Header/MC/SmokerContainerManagerModel.hpp new file mode 100644 index 0000000..c5ec10a --- /dev/null +++ b/LiteLoader/Header/MC/SmokerContainerManagerModel.hpp @@ -0,0 +1,28 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "FurnaceContainerManagerModel.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class SmokerContainerManagerModel : public FurnaceContainerManagerModel { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SMOKERCONTAINERMANAGERMODEL +public: + class SmokerContainerManagerModel& operator=(class SmokerContainerManagerModel const &) = delete; + SmokerContainerManagerModel(class SmokerContainerManagerModel const &) = delete; + SmokerContainerManagerModel() = delete; +#endif + +public: + /*0*/ virtual ~SmokerContainerManagerModel(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SMOKERCONTAINERMANAGERMODEL +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/SmoothStoneSelector.hpp b/LiteLoader/Header/MC/SmoothStoneSelector.hpp new file mode 100644 index 0000000..7de42ea --- /dev/null +++ b/LiteLoader/Header/MC/SmoothStoneSelector.hpp @@ -0,0 +1,28 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class SmoothStoneSelector { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SMOOTHSTONESELECTOR +public: + class SmoothStoneSelector& operator=(class SmoothStoneSelector const &) = delete; + SmoothStoneSelector(class SmoothStoneSelector const &) = delete; + SmoothStoneSelector() = delete; +#endif + +public: + /*0*/ virtual ~SmoothStoneSelector(); + /*1*/ virtual class Block const & next(class Random &, int, int, int, bool) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SMOOTHSTONESELECTOR +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/SnackGoal.hpp b/LiteLoader/Header/MC/SnackGoal.hpp new file mode 100644 index 0000000..c0dfd4a --- /dev/null +++ b/LiteLoader/Header/MC/SnackGoal.hpp @@ -0,0 +1,41 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class SnackGoal { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SNACKGOAL +public: + class SnackGoal& operator=(class SnackGoal const &) = delete; + SnackGoal(class SnackGoal const &) = delete; + SnackGoal() = delete; +#endif + +public: + /*0*/ virtual ~SnackGoal(); + /*1*/ virtual bool canUse(); + /*2*/ virtual bool canContinueToUse(); + /*3*/ virtual void __unk_vfn_3(); + /*4*/ virtual void start(); + /*5*/ virtual void stop(); + /*6*/ virtual void tick(); + /*7*/ virtual void appendDebugInfo(std::string &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SNACKGOAL +#endif + +//private: + MCAPI bool _hasSnackableItems(); + MCAPI bool _isSnackableItem(class ItemStack const &) const; + MCAPI void _updateHand(class ItemStack const &); + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/SnapshotEnv.hpp b/LiteLoader/Header/MC/SnapshotEnv.hpp new file mode 100644 index 0000000..147fe49 --- /dev/null +++ b/LiteLoader/Header/MC/SnapshotEnv.hpp @@ -0,0 +1,43 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Core.hpp" +#include "TransactionalWorldBlockTarget.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class SnapshotEnv : public TransactionalWorldBlockTarget { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SNAPSHOTENV +public: + class SnapshotEnv& operator=(class SnapshotEnv const &) = delete; + SnapshotEnv(class SnapshotEnv const &) = delete; + SnapshotEnv() = delete; +#endif + +public: + /*0*/ virtual ~SnapshotEnv(); + /*1*/ virtual class leveldb::Status NewSequentialFile(std::string const &, class leveldb::SequentialFile **); + /*2*/ virtual class leveldb::Status NewRandomAccessFile(std::string const &, class leveldb::RandomAccessFile **); + /*3*/ virtual class leveldb::Status NewWritableFile(std::string const &, class leveldb::WritableFile **); + /*4*/ virtual class leveldb::Status NewAppendableFile(std::string const &, class leveldb::WritableFile **); + /*7*/ virtual class leveldb::Status DeleteFileA(std::string const &); + /*10*/ virtual void __unk_vfn_10(); + /*11*/ virtual class leveldb::Status RenameFile(std::string const &, std::string const &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SNAPSHOTENV +#endif + MCAPI std::vector createSnapshot(class Core::Path const &); + MCAPI void releaseSnapshot(); + +//private: + MCAPI bool _isQueuedForRemoval(class Core::PathBuffer const &); + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/SnapshotFilenameAndLength.hpp b/LiteLoader/Header/MC/SnapshotFilenameAndLength.hpp new file mode 100644 index 0000000..1f265b4 --- /dev/null +++ b/LiteLoader/Header/MC/SnapshotFilenameAndLength.hpp @@ -0,0 +1,26 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +struct SnapshotFilenameAndLength { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SNAPSHOTFILENAMEANDLENGTH +public: + struct SnapshotFilenameAndLength& operator=(struct SnapshotFilenameAndLength const &) = delete; + SnapshotFilenameAndLength(struct SnapshotFilenameAndLength const &) = delete; + SnapshotFilenameAndLength() = delete; +#endif +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SNAPSHOTFILENAMEANDLENGTH +#endif + MCAPI SnapshotFilenameAndLength(std::string, unsigned __int64); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/SnapshotWritableFile.hpp b/LiteLoader/Header/MC/SnapshotWritableFile.hpp new file mode 100644 index 0000000..f019125 --- /dev/null +++ b/LiteLoader/Header/MC/SnapshotWritableFile.hpp @@ -0,0 +1,31 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class SnapshotWritableFile { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SNAPSHOTWRITABLEFILE +public: + class SnapshotWritableFile& operator=(class SnapshotWritableFile const &) = delete; + SnapshotWritableFile(class SnapshotWritableFile const &) = delete; + SnapshotWritableFile() = delete; +#endif + +public: + /*0*/ virtual ~SnapshotWritableFile(); + /*1*/ virtual class leveldb::Status Append(class leveldb::Slice const &); + /*2*/ virtual class leveldb::Status Close(); + /*3*/ virtual class leveldb::Status Flush(); + /*4*/ virtual class leveldb::Status Sync(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SNAPSHOTWRITABLEFILE +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/SneezeGoal.hpp b/LiteLoader/Header/MC/SneezeGoal.hpp new file mode 100644 index 0000000..c3cbc36 --- /dev/null +++ b/LiteLoader/Header/MC/SneezeGoal.hpp @@ -0,0 +1,34 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class SneezeGoal { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SNEEZEGOAL +public: + class SneezeGoal& operator=(class SneezeGoal const &) = delete; + SneezeGoal(class SneezeGoal const &) = delete; + SneezeGoal() = delete; +#endif + +public: + /*0*/ virtual ~SneezeGoal(); + /*1*/ virtual bool canUse(); + /*2*/ virtual bool canContinueToUse(); + /*3*/ virtual void __unk_vfn_3(); + /*4*/ virtual void start(); + /*5*/ virtual void stop(); + /*6*/ virtual void tick(); + /*7*/ virtual void appendDebugInfo(std::string &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SNEEZEGOAL +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/SnowBlock.hpp b/LiteLoader/Header/MC/SnowBlock.hpp new file mode 100644 index 0000000..169e429 --- /dev/null +++ b/LiteLoader/Header/MC/SnowBlock.hpp @@ -0,0 +1,63 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "BlockLegacy.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class SnowBlock : public BlockLegacy { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SNOWBLOCK +public: + class SnowBlock& operator=(class SnowBlock const &) = delete; + SnowBlock(class SnowBlock const &) = delete; + SnowBlock() = delete; +#endif + +public: + /*0*/ virtual ~SnowBlock(); + /*5*/ virtual bool getCollisionShape(class AABB &, class Block const &, class BlockSource &, class BlockPos const &, class Actor *) const; + /*18*/ virtual void __unk_vfn_18(); + /*24*/ virtual void __unk_vfn_24(); + /*25*/ virtual void __unk_vfn_25(); + /*26*/ virtual void __unk_vfn_26(); + /*27*/ virtual void __unk_vfn_27(); + /*28*/ virtual void __unk_vfn_28(); + /*30*/ virtual void __unk_vfn_30(); + /*31*/ virtual void __unk_vfn_31(); + /*32*/ virtual void __unk_vfn_32(); + /*33*/ virtual void __unk_vfn_33(); + /*34*/ virtual void __unk_vfn_34(); + /*35*/ virtual void __unk_vfn_35(); + /*36*/ virtual void __unk_vfn_36(); + /*38*/ virtual void __unk_vfn_38(); + /*39*/ virtual void __unk_vfn_39(); + /*40*/ virtual void __unk_vfn_40(); + /*42*/ virtual void __unk_vfn_42(); + /*43*/ virtual void __unk_vfn_43(); + /*49*/ virtual void __unk_vfn_49(); + /*52*/ virtual void __unk_vfn_52(); + /*67*/ virtual void __unk_vfn_67(); + /*73*/ virtual void __unk_vfn_73(); + /*87*/ virtual void __unk_vfn_87(); + /*90*/ virtual int getResourceCount(class Random &, class Block const &, int, bool) const; + /*91*/ virtual class ItemInstance getResourceItem(class Random &, class Block const &, int) const; + /*95*/ virtual void __unk_vfn_95(); + /*109*/ virtual void __unk_vfn_109(); + /*116*/ virtual void __unk_vfn_116(); + /*117*/ virtual float calcGroundFriction(class Mob &, class BlockPos const &) const; + /*118*/ virtual void __unk_vfn_118(); + /*119*/ virtual void __unk_vfn_119(); + /*142*/ virtual void __unk_vfn_142(); + /*158*/ virtual void __unk_vfn_158(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SNOWBLOCK + MCVAPI bool waterSpreadCausesSpawn() const; +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/Snowball.hpp b/LiteLoader/Header/MC/Snowball.hpp new file mode 100644 index 0000000..d5f9a36 --- /dev/null +++ b/LiteLoader/Header/MC/Snowball.hpp @@ -0,0 +1,50 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Actor.hpp" +#include "Throwable.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class Snowball : public Throwable { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SNOWBALL +public: + class Snowball& operator=(class Snowball const &) = delete; + Snowball(class Snowball const &) = delete; + Snowball() = delete; +#endif + +public: + /*1*/ virtual void reloadHardcoded(enum Actor::InitializationMethod, class VariantParameterList const &); + /*7*/ virtual ~Snowball(); + /*30*/ virtual void __unk_vfn_30(); + /*54*/ virtual void __unk_vfn_54(); + /*61*/ virtual void __unk_vfn_61(); + /*76*/ virtual void __unk_vfn_76(); + /*81*/ virtual void __unk_vfn_81(); + /*88*/ virtual void __unk_vfn_88(); + /*90*/ virtual void __unk_vfn_90(); + /*98*/ virtual void __unk_vfn_98(); + /*100*/ virtual void __unk_vfn_100(); + /*121*/ virtual void __unk_vfn_121(); + /*169*/ virtual void __unk_vfn_169(); + /*182*/ virtual void __unk_vfn_182(); + /*206*/ virtual void __unk_vfn_206(); + /*207*/ virtual void __unk_vfn_207(); + /*228*/ virtual void __unk_vfn_228(); + /*231*/ virtual void __unk_vfn_231(); + /*238*/ virtual void __unk_vfn_238(); + /*246*/ virtual void __unk_vfn_246(); + /*257*/ virtual void __unk_vfn_257(); + /*259*/ virtual void __unk_vfn_259(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SNOWBALL +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/SnowballItem.hpp b/LiteLoader/Header/MC/SnowballItem.hpp new file mode 100644 index 0000000..16a581a --- /dev/null +++ b/LiteLoader/Header/MC/SnowballItem.hpp @@ -0,0 +1,47 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Item.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class SnowballItem : public Item { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SNOWBALLITEM +public: + class SnowballItem& operator=(class SnowballItem const &) = delete; + SnowballItem(class SnowballItem const &) = delete; + SnowballItem() = delete; +#endif + +public: + /*0*/ virtual ~SnowballItem(); + /*5*/ virtual void __unk_vfn_5(); + /*26*/ virtual void __unk_vfn_26(); + /*27*/ virtual void __unk_vfn_27(); + /*30*/ virtual bool isThrowable() const; + /*31*/ virtual void __unk_vfn_31(); + /*32*/ virtual void __unk_vfn_32(); + /*34*/ virtual void __unk_vfn_34(); + /*37*/ virtual void __unk_vfn_37(); + /*43*/ virtual void __unk_vfn_43(); + /*46*/ virtual void __unk_vfn_46(); + /*47*/ virtual void __unk_vfn_47(); + /*49*/ virtual void __unk_vfn_49(); + /*50*/ virtual void __unk_vfn_50(); + /*56*/ virtual class ItemStack & use(class ItemStack &, class Player &) const; + /*57*/ virtual bool dispense(class BlockSource &, class Container &, int, class Vec3 const &, unsigned char) const; + /*79*/ virtual void __unk_vfn_79(); + /*80*/ virtual void __unk_vfn_80(); + /*90*/ virtual void __unk_vfn_90(); + /*97*/ virtual void __unk_vfn_97(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SNOWBALLITEM +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/Social.hpp b/LiteLoader/Header/MC/Social.hpp new file mode 100644 index 0000000..cc44866 --- /dev/null +++ b/LiteLoader/Header/MC/Social.hpp @@ -0,0 +1,17 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +namespace Social { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA + MCAPI extern class Social::GameConnectionInfo const INVALID_CONNECTION; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/SortItemInstanceIdAux.hpp b/LiteLoader/Header/MC/SortItemInstanceIdAux.hpp new file mode 100644 index 0000000..a245cfc --- /dev/null +++ b/LiteLoader/Header/MC/SortItemInstanceIdAux.hpp @@ -0,0 +1,27 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class SortItemInstanceIdAux { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SORTITEMINSTANCEIDAUX +public: + class SortItemInstanceIdAux& operator=(class SortItemInstanceIdAux const &) = delete; + SortItemInstanceIdAux(class SortItemInstanceIdAux const &) = delete; + SortItemInstanceIdAux() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SORTITEMINSTANCEIDAUX +#endif + MCAPI bool operator()(class ItemInstance const &, class ItemInstance const &) const; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/SoulSandBlock.hpp b/LiteLoader/Header/MC/SoulSandBlock.hpp new file mode 100644 index 0000000..62eb81d --- /dev/null +++ b/LiteLoader/Header/MC/SoulSandBlock.hpp @@ -0,0 +1,62 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "BlockLegacy.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class SoulSandBlock : public BlockLegacy { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SOULSANDBLOCK +public: + class SoulSandBlock& operator=(class SoulSandBlock const &) = delete; + SoulSandBlock(class SoulSandBlock const &) = delete; + SoulSandBlock() = delete; +#endif + +public: + /*0*/ virtual ~SoulSandBlock(); + /*1*/ virtual void tick(class BlockSource &, class BlockPos const &, class Random &) const; + /*18*/ virtual void __unk_vfn_18(); + /*24*/ virtual void __unk_vfn_24(); + /*25*/ virtual void __unk_vfn_25(); + /*26*/ virtual void __unk_vfn_26(); + /*27*/ virtual void __unk_vfn_27(); + /*28*/ virtual void __unk_vfn_28(); + /*30*/ virtual void __unk_vfn_30(); + /*31*/ virtual void __unk_vfn_31(); + /*32*/ virtual void __unk_vfn_32(); + /*33*/ virtual void __unk_vfn_33(); + /*34*/ virtual void __unk_vfn_34(); + /*35*/ virtual void __unk_vfn_35(); + /*36*/ virtual void __unk_vfn_36(); + /*38*/ virtual void __unk_vfn_38(); + /*39*/ virtual void __unk_vfn_39(); + /*40*/ virtual void __unk_vfn_40(); + /*42*/ virtual void __unk_vfn_42(); + /*43*/ virtual void __unk_vfn_43(); + /*49*/ virtual void __unk_vfn_49(); + /*52*/ virtual void __unk_vfn_52(); + /*59*/ virtual void onPlace(class BlockSource &, class BlockPos const &) const; + /*67*/ virtual void __unk_vfn_67(); + /*73*/ virtual void __unk_vfn_73(); + /*87*/ virtual void __unk_vfn_87(); + /*88*/ virtual void neighborChanged(class BlockSource &, class BlockPos const &, class BlockPos const &) const; + /*95*/ virtual void __unk_vfn_95(); + /*109*/ virtual void __unk_vfn_109(); + /*116*/ virtual void __unk_vfn_116(); + /*117*/ virtual float calcGroundFriction(class Mob &, class BlockPos const &) const; + /*118*/ virtual void __unk_vfn_118(); + /*119*/ virtual void __unk_vfn_119(); + /*142*/ virtual void __unk_vfn_142(); + /*158*/ virtual void __unk_vfn_158(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SOULSANDBLOCK +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/SoulSpeedEnchant.hpp b/LiteLoader/Header/MC/SoulSpeedEnchant.hpp new file mode 100644 index 0000000..f3667cc --- /dev/null +++ b/LiteLoader/Header/MC/SoulSpeedEnchant.hpp @@ -0,0 +1,34 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Enchant.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class SoulSpeedEnchant : public Enchant { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SOULSPEEDENCHANT +public: + class SoulSpeedEnchant& operator=(class SoulSpeedEnchant const &) = delete; + SoulSpeedEnchant(class SoulSpeedEnchant const &) = delete; + SoulSpeedEnchant() = delete; +#endif + +public: + /*0*/ virtual ~SoulSpeedEnchant(); + /*2*/ virtual int getMinCost(int) const; + /*3*/ virtual int getMaxCost(int) const; + /*5*/ virtual int getMaxLevel() const; + /*12*/ virtual bool isTreasureOnly() const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SOULSPEEDENCHANT +#endif + MCAPI static class mce::UUID const SOUL_SPEED_BOOST_UUID; + MCAPI static int getLevel(class Actor const &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/SoulTorchBlock.hpp b/LiteLoader/Header/MC/SoulTorchBlock.hpp new file mode 100644 index 0000000..c0d7ae0 --- /dev/null +++ b/LiteLoader/Header/MC/SoulTorchBlock.hpp @@ -0,0 +1,61 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "TorchBlock.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class SoulTorchBlock : public TorchBlock { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SOULTORCHBLOCK +public: + class SoulTorchBlock& operator=(class SoulTorchBlock const &) = delete; + SoulTorchBlock(class SoulTorchBlock const &) = delete; + SoulTorchBlock() = delete; +#endif + +public: + /*0*/ virtual ~SoulTorchBlock(); + /*18*/ virtual void __unk_vfn_18(); + /*24*/ virtual void __unk_vfn_24(); + /*25*/ virtual void __unk_vfn_25(); + /*26*/ virtual void __unk_vfn_26(); + /*27*/ virtual void __unk_vfn_27(); + /*28*/ virtual void __unk_vfn_28(); + /*30*/ virtual void __unk_vfn_30(); + /*31*/ virtual void __unk_vfn_31(); + /*32*/ virtual void __unk_vfn_32(); + /*33*/ virtual void __unk_vfn_33(); + /*34*/ virtual void __unk_vfn_34(); + /*35*/ virtual void __unk_vfn_35(); + /*36*/ virtual void __unk_vfn_36(); + /*38*/ virtual void __unk_vfn_38(); + /*39*/ virtual void __unk_vfn_39(); + /*40*/ virtual void __unk_vfn_40(); + /*42*/ virtual void __unk_vfn_42(); + /*43*/ virtual void __unk_vfn_43(); + /*49*/ virtual void __unk_vfn_49(); + /*52*/ virtual void __unk_vfn_52(); + /*67*/ virtual void __unk_vfn_67(); + /*73*/ virtual void __unk_vfn_73(); + /*87*/ virtual void __unk_vfn_87(); + /*91*/ virtual class ItemInstance getResourceItem(class Random &, class Block const &, int) const; + /*92*/ virtual class ItemInstance asItemInstance(class BlockSource &, class BlockPos const &, class Block const &) const; + /*95*/ virtual void __unk_vfn_95(); + /*109*/ virtual void __unk_vfn_109(); + /*116*/ virtual void __unk_vfn_116(); + /*118*/ virtual void __unk_vfn_118(); + /*119*/ virtual void __unk_vfn_119(); + /*142*/ virtual void __unk_vfn_142(); + /*146*/ virtual void animateTick(class BlockSource &, class BlockPos const &, class Random &) const; + /*158*/ virtual void __unk_vfn_158(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SOULTORCHBLOCK +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/SoundPlayerInterface.hpp b/LiteLoader/Header/MC/SoundPlayerInterface.hpp new file mode 100644 index 0000000..4f0e9cd --- /dev/null +++ b/LiteLoader/Header/MC/SoundPlayerInterface.hpp @@ -0,0 +1,26 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class SoundPlayerInterface { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SOUNDPLAYERINTERFACE +public: + class SoundPlayerInterface& operator=(class SoundPlayerInterface const &) = delete; + SoundPlayerInterface(class SoundPlayerInterface const &) = delete; + SoundPlayerInterface() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SOUNDPLAYERINTERFACE +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/SoundVolumeDescription.hpp b/LiteLoader/Header/MC/SoundVolumeDescription.hpp new file mode 100644 index 0000000..f78e58c --- /dev/null +++ b/LiteLoader/Header/MC/SoundVolumeDescription.hpp @@ -0,0 +1,30 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Json.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +struct SoundVolumeDescription { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SOUNDVOLUMEDESCRIPTION +public: + struct SoundVolumeDescription& operator=(struct SoundVolumeDescription const &) = delete; + SoundVolumeDescription(struct SoundVolumeDescription const &) = delete; + SoundVolumeDescription() = delete; +#endif +public: + /*0*/ virtual char const * getJsonName() const; + /*1*/ virtual ~SoundVolumeDescription(); + /*2*/ virtual void deserializeData(class Json::Value &); + /*3*/ virtual void serializeData(class Json::Value &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SOUNDVOLUMEDESCRIPTION +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/SparklerItem.hpp b/LiteLoader/Header/MC/SparklerItem.hpp new file mode 100644 index 0000000..59a43ba --- /dev/null +++ b/LiteLoader/Header/MC/SparklerItem.hpp @@ -0,0 +1,129 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "ChemistryStickItem.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class SparklerItem : public ChemistryStickItem { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SPARKLERITEM +public: + class SparklerItem& operator=(class SparklerItem const &) = delete; + SparklerItem(class SparklerItem const &) = delete; + SparklerItem() = delete; +#endif + +public: + /*0*/ virtual ~SparklerItem(); + /*1*/ virtual void hurtEnemy(class ItemStack &, class Mob *, class Mob *) const; + /*2*/ virtual void __unk_vfn_2(); + /*3*/ virtual void __unk_vfn_3(); + /*4*/ virtual bool isExperimental(class ItemDescriptor const *) const; + /*5*/ virtual bool isValidRepairItem(class ItemStackBase const &, class ItemStackBase const &) const; + /*6*/ virtual class Item & setMaxStackSize(unsigned char); + /*7*/ virtual class Item & setCategory(enum CreativeItemCategory); + /*8*/ virtual class Item & setStackedByData(bool); + /*9*/ virtual class Item & setMaxDamage(int); + /*10*/ virtual class Item & setHandEquipped(); + /*11*/ virtual class Item & setUseAnimation(enum UseAnimation); + /*12*/ virtual class Item & setMaxUseDuration(int); + /*13*/ virtual class Item & setRequiresWorldBuilder(bool); + /*14*/ virtual class Item & setExplodable(bool); + /*15*/ virtual class Item & setFireResistant(bool); + /*16*/ virtual class Item & setIsGlint(bool); + /*17*/ virtual class Item & setShouldDespawn(bool); + /*18*/ virtual void __unk_vfn_18(); + /*19*/ virtual bool canBeDepleted() const; + /*20*/ virtual void __unk_vfn_20(); + /*21*/ virtual void __unk_vfn_21(); + /*22*/ virtual bool isStackedByData() const; + /*23*/ virtual void __unk_vfn_23(); + /*24*/ virtual void __unk_vfn_24(); + /*25*/ virtual void __unk_vfn_25(); + /*26*/ virtual void __unk_vfn_26(); + /*27*/ virtual void __unk_vfn_27(); + /*28*/ virtual void __unk_vfn_28(); + /*29*/ virtual bool isGlint(class ItemStackBase const &) const; + /*30*/ virtual void __unk_vfn_30(); + /*31*/ virtual void __unk_vfn_31(); + /*32*/ virtual void __unk_vfn_32(); + /*33*/ virtual void __unk_vfn_33(); + /*34*/ virtual void __unk_vfn_34(); + /*35*/ virtual void __unk_vfn_35(); + /*36*/ virtual void __unk_vfn_36(); + /*37*/ virtual void __unk_vfn_37(); + /*38*/ virtual void appendFormattedHovertext(class ItemStackBase const &, class Level &, std::string &, bool) const; + /*39*/ virtual void __unk_vfn_39(); + /*40*/ virtual void __unk_vfn_40(); + /*41*/ virtual void __unk_vfn_41(); + /*42*/ virtual void __unk_vfn_42(); + /*43*/ virtual void __unk_vfn_43(); + /*44*/ virtual void __unk_vfn_44(); + /*45*/ virtual int getDamageChance(int) const; + /*46*/ virtual void __unk_vfn_46(); + /*47*/ virtual void __unk_vfn_47(); + /*48*/ virtual void __unk_vfn_48(); + /*49*/ virtual void __unk_vfn_49(); + /*50*/ virtual void __unk_vfn_50(); + /*51*/ virtual void __unk_vfn_51(); + /*52*/ virtual void __unk_vfn_52(); + /*53*/ virtual void __unk_vfn_53(); + /*54*/ virtual int buildIdAux(short, class CompoundTag const *) const; + /*55*/ virtual class ItemDescriptor buildDescriptor(short, class CompoundTag const *) const; + /*56*/ virtual class ItemStack & use(class ItemStack &, class Player &) const; + /*57*/ virtual bool dispense(class BlockSource &, class Container &, int, class Vec3 const &, unsigned char) const; + /*58*/ virtual enum ItemUseMethod useTimeDepleted(class ItemStack &, class Level *, class Player *) const; + /*59*/ virtual void __unk_vfn_59(); + /*60*/ virtual void __unk_vfn_60(); + /*61*/ virtual void __unk_vfn_61(); + /*62*/ virtual void __unk_vfn_62(); + /*63*/ virtual void __unk_vfn_63(); + /*64*/ virtual void __unk_vfn_64(); + /*65*/ virtual std::string buildDescriptionId(class ItemDescriptor const &, class CompoundTag const *) const; + /*66*/ virtual std::string buildEffectDescriptionName(class ItemStackBase const &) const; + /*67*/ virtual std::string buildCategoryDescriptionName() const; + /*68*/ virtual void readUserData(class ItemStackBase &, class IDataInput &, class ReadOnlyBinaryStream &) const; + /*69*/ virtual void writeUserData(class ItemStackBase const &, class IDataOutput &) const; + /*70*/ virtual void __unk_vfn_70(); + /*71*/ virtual bool inventoryTick(class ItemStack &, class Level &, class Actor &, int, bool) const; + /*72*/ virtual void __unk_vfn_72(); + /*73*/ virtual enum CooldownType getCooldownType() const; + /*74*/ virtual int getCooldownTime() const; + /*75*/ virtual void __unk_vfn_75(); + /*76*/ virtual void fixupOnLoad(class ItemStackBase &) const; + /*77*/ virtual short getDamageValue(class CompoundTag const *) const; + /*78*/ virtual void setDamageValue(class ItemStackBase &, short) const; + /*79*/ virtual void __unk_vfn_79(); + /*80*/ virtual void __unk_vfn_80(); + /*81*/ virtual bool isSameItem(class ItemStackBase const &, class ItemStackBase const &) const; + /*82*/ virtual std::string getInteractText(class Player const &) const; + /*83*/ virtual void __unk_vfn_83(); + /*84*/ virtual struct Brightness getLightEmission(int) const; + /*85*/ virtual struct TextureUVCoordinateSet const & getIcon(class ItemStackBase const &, int, bool) const; + /*86*/ virtual void __unk_vfn_86(); + /*87*/ virtual class Item & setIcon(std::string const &, int); + /*88*/ virtual class Item & setIcon(struct TextureUVCoordinateSet const &); + /*89*/ virtual class Item & setIconAtlas(std::string const &, int); + /*90*/ virtual void __unk_vfn_90(); + /*91*/ virtual void __unk_vfn_91(); + /*92*/ virtual void __unk_vfn_92(); + /*93*/ virtual void __unk_vfn_93(); + /*94*/ virtual bool _checkUseOnPermissions(class Actor &, class ItemInstance &, unsigned char const &, class BlockPos const &) const; + /*95*/ virtual bool _checkUseOnPermissions(class Actor &, class ItemStack &, unsigned char const &, class BlockPos const &) const; + /*96*/ virtual void __unk_vfn_96(); + /*97*/ virtual void __unk_vfn_97(); + /*98*/ virtual bool _useOn(class ItemInstance &, class Actor &, class BlockPos, unsigned char, float, float, float) const; + /*99*/ virtual bool _useOn(class ItemStack &, class Actor &, class BlockPos, unsigned char, float, float, float) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SPARKLERITEM + MCVAPI bool isHandEquipped() const; +#endif + MCAPI static struct SparklerItem::ColorInfo const COLORS[]; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/SparseContainer.hpp b/LiteLoader/Header/MC/SparseContainer.hpp new file mode 100644 index 0000000..eb692d5 --- /dev/null +++ b/LiteLoader/Header/MC/SparseContainer.hpp @@ -0,0 +1,55 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class SparseContainer { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SPARSECONTAINER +public: + class SparseContainer& operator=(class SparseContainer const &) = delete; + SparseContainer(class SparseContainer const &) = delete; + SparseContainer() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SPARSECONTAINER + MCVAPI void containerContentChanged(int); + MCVAPI int getContainerSize() const; + MCVAPI class ItemStack const & getItem(int) const; + MCVAPI int getMaxStackSize() const; + MCVAPI void removeItem(int, int); + MCVAPI void serverInitItemStackIds(int, int, class std::function); + MCVAPI void setItem(int, class ItemStack const &); + MCVAPI void startOpen(class Player &); + MCVAPI void stopOpen(class Player &); + MCVAPI ~SparseContainer(); +#endif + MCAPI SparseContainer(class ItemStackNetManagerBase &, class Container &, enum SparseContainerBackingSetType); + MCAPI void _networkUpdateItem(int, class ItemStack const &); + MCAPI class ItemStack _serverTakeItems(int, int); + MCAPI void addAvailableSetCountCallback(enum ContainerEnumName, class std::function); + MCAPI void addItemAllowedInSlotCallback(enum ContainerEnumName, class std::function); + MCAPI void addItemAllowedToAddCallback(enum ContainerEnumName, class std::function); + MCAPI void addItemNetworkChangedCallback(enum ContainerEnumName, class std::function); + MCAPI void addValidSlotForContainerCallback(enum ContainerEnumName, class std::function); + MCAPI enum ItemAddType canAdd(enum ContainerEnumName, int, class ItemStackBase const &, int) const; + MCAPI enum ItemSetType canSet(enum ContainerEnumName, int, class ItemStackBase const &, int) const; + MCAPI bool isValidSlot(enum ContainerEnumName, int) const; + +//private: + MCAPI int _getAvailableAddCount(enum ContainerEnumName, class ItemStack const &) const; + MCAPI bool _isItemAllowedInSlot(enum ContainerEnumName, int, class ItemStackBase const &, int) const; + MCAPI void _onItemNetworkChanged(int, class ItemStack const &, class ItemStack const &); + MCAPI void _setBackingContainerSlot(int, class ItemStack const &); + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/SpatialActorNetworkData.hpp b/LiteLoader/Header/MC/SpatialActorNetworkData.hpp new file mode 100644 index 0000000..a4f9118 --- /dev/null +++ b/LiteLoader/Header/MC/SpatialActorNetworkData.hpp @@ -0,0 +1,34 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class SpatialActorNetworkData { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SPATIALACTORNETWORKDATA +public: + class SpatialActorNetworkData& operator=(class SpatialActorNetworkData const &) = delete; + SpatialActorNetworkData(class SpatialActorNetworkData const &) = delete; + SpatialActorNetworkData() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SPATIALACTORNETWORKDATA +#endif + MCAPI void handleClientData(class MoveActorAbsoluteData const &); + MCAPI void sendUpdate(bool, bool, bool); + MCAPI bool shouldSendUpdate(bool, bool) const; + +//private: + MCAPI void _initializeLastSentValues(); + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/SpawnActorComponent.hpp b/LiteLoader/Header/MC/SpawnActorComponent.hpp new file mode 100644 index 0000000..9343305 --- /dev/null +++ b/LiteLoader/Header/MC/SpawnActorComponent.hpp @@ -0,0 +1,28 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class SpawnActorComponent { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SPAWNACTORCOMPONENT +public: + class SpawnActorComponent& operator=(class SpawnActorComponent const &) = delete; + SpawnActorComponent(class SpawnActorComponent const &) = delete; + SpawnActorComponent() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SPAWNACTORCOMPONENT +#endif + MCAPI void addAdditionalSaveData(class CompoundTag &); + MCAPI void readAdditionalSaveData(class Actor &, class CompoundTag const &, class DataLoadHelper &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/SpawnActorDefinition.hpp b/LiteLoader/Header/MC/SpawnActorDefinition.hpp new file mode 100644 index 0000000..b0c98da --- /dev/null +++ b/LiteLoader/Header/MC/SpawnActorDefinition.hpp @@ -0,0 +1,37 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Json.hpp" +#include "JsonUtil.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class SpawnActorDefinition { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SPAWNACTORDEFINITION +public: + class SpawnActorDefinition& operator=(class SpawnActorDefinition const &) = delete; + SpawnActorDefinition(class SpawnActorDefinition const &) = delete; + SpawnActorDefinition() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SPAWNACTORDEFINITION +#endif + MCAPI void initialize(class EntityContext &, class SpawnActorComponent &) const; + MCAPI void serializeData(class Json::Value &) const; + MCAPI ~SpawnActorDefinition(); + MCAPI static void buildSchema(class std::shared_ptr> &); + +//private: + MCAPI void _parseSpawnEntry(class Json::Value &); + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/SpawnActorEntry.hpp b/LiteLoader/Header/MC/SpawnActorEntry.hpp new file mode 100644 index 0000000..a81b9a2 --- /dev/null +++ b/LiteLoader/Header/MC/SpawnActorEntry.hpp @@ -0,0 +1,27 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class SpawnActorEntry { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SPAWNACTORENTRY +public: + class SpawnActorEntry& operator=(class SpawnActorEntry const &) = delete; + SpawnActorEntry(class SpawnActorEntry const &) = delete; + SpawnActorEntry() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SPAWNACTORENTRY +#endif + MCAPI ~SpawnActorEntry(); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/SpawnActorParameters.hpp b/LiteLoader/Header/MC/SpawnActorParameters.hpp new file mode 100644 index 0000000..a3ea603 --- /dev/null +++ b/LiteLoader/Header/MC/SpawnActorParameters.hpp @@ -0,0 +1,33 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +struct SpawnActorParameters { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SPAWNACTORPARAMETERS +public: + struct SpawnActorParameters& operator=(struct SpawnActorParameters const &) = delete; +#endif +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SPAWNACTORPARAMETERS +#endif + MCAPI SpawnActorParameters(); + MCAPI SpawnActorParameters(struct SpawnActorParameters const &); + MCAPI SpawnActorParameters(struct SpawnActorParameters &&); + MCAPI void setItem(std::string const &); + MCAPI void setSpawnEntity(std::string const &); + MCAPI void setSpawnEvent(std::string const &); + MCAPI void setSpawnSound(std::string const &); + MCAPI void setSpawnTimeMax(int const &); + MCAPI void setSpawnTimeMin(int const &); + MCAPI ~SpawnActorParameters(); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/SpawnActorSystem.hpp b/LiteLoader/Header/MC/SpawnActorSystem.hpp new file mode 100644 index 0000000..cb320c1 --- /dev/null +++ b/LiteLoader/Header/MC/SpawnActorSystem.hpp @@ -0,0 +1,28 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class SpawnActorSystem { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SPAWNACTORSYSTEM +public: + class SpawnActorSystem& operator=(class SpawnActorSystem const &) = delete; + SpawnActorSystem(class SpawnActorSystem const &) = delete; + SpawnActorSystem() = delete; +#endif + +public: + /*0*/ virtual ~SpawnActorSystem(); + /*1*/ virtual void tick(class EntityRegistry &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SPAWNACTORSYSTEM +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/SpawnAoECloudSubcomponent.hpp b/LiteLoader/Header/MC/SpawnAoECloudSubcomponent.hpp new file mode 100644 index 0000000..653027c --- /dev/null +++ b/LiteLoader/Header/MC/SpawnAoECloudSubcomponent.hpp @@ -0,0 +1,31 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Json.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class SpawnAoECloudSubcomponent { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SPAWNAOECLOUDSUBCOMPONENT +public: + class SpawnAoECloudSubcomponent& operator=(class SpawnAoECloudSubcomponent const &) = delete; + SpawnAoECloudSubcomponent(class SpawnAoECloudSubcomponent const &) = delete; + SpawnAoECloudSubcomponent() = delete; +#endif + +public: + /*0*/ virtual ~SpawnAoECloudSubcomponent(); + /*1*/ virtual void readfromJSON(class Json::Value &); + /*2*/ virtual void writetoJSON(class Json::Value &) const; + /*3*/ virtual void doOnHitEffect(class Actor &, class ProjectileComponent &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SPAWNAOECLOUDSUBCOMPONENT +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/SpawnChanceSubcomponent.hpp b/LiteLoader/Header/MC/SpawnChanceSubcomponent.hpp new file mode 100644 index 0000000..32c43f1 --- /dev/null +++ b/LiteLoader/Header/MC/SpawnChanceSubcomponent.hpp @@ -0,0 +1,31 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Json.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class SpawnChanceSubcomponent { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SPAWNCHANCESUBCOMPONENT +public: + class SpawnChanceSubcomponent& operator=(class SpawnChanceSubcomponent const &) = delete; + SpawnChanceSubcomponent(class SpawnChanceSubcomponent const &) = delete; + SpawnChanceSubcomponent() = delete; +#endif + +public: + /*0*/ virtual ~SpawnChanceSubcomponent(); + /*1*/ virtual void readfromJSON(class Json::Value &); + /*2*/ virtual void writetoJSON(class Json::Value &) const; + /*3*/ virtual void doOnHitEffect(class Actor &, class ProjectileComponent &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SPAWNCHANCESUBCOMPONENT +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/SpawnData.hpp b/LiteLoader/Header/MC/SpawnData.hpp new file mode 100644 index 0000000..dad8dc5 --- /dev/null +++ b/LiteLoader/Header/MC/SpawnData.hpp @@ -0,0 +1,28 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class SpawnData { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SPAWNDATA +public: + class SpawnData& operator=(class SpawnData const &) = delete; + SpawnData() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SPAWNDATA +#endif + MCAPI SpawnData(class CompoundTag const &); + MCAPI SpawnData(class SpawnData const &); + MCAPI std::unique_ptr save(); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/SpawnExperienceOrbPacket.hpp b/LiteLoader/Header/MC/SpawnExperienceOrbPacket.hpp new file mode 100644 index 0000000..9432bae --- /dev/null +++ b/LiteLoader/Header/MC/SpawnExperienceOrbPacket.hpp @@ -0,0 +1,32 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Packet.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class SpawnExperienceOrbPacket : public Packet { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SPAWNEXPERIENCEORBPACKET +public: + class SpawnExperienceOrbPacket& operator=(class SpawnExperienceOrbPacket const &) = delete; + SpawnExperienceOrbPacket(class SpawnExperienceOrbPacket const &) = delete; + SpawnExperienceOrbPacket() = delete; +#endif + +public: + /*0*/ virtual ~SpawnExperienceOrbPacket(); + /*1*/ virtual enum MinecraftPacketIds getId() const; + /*2*/ virtual std::string getName() const; + /*3*/ virtual void write(class BinaryStream &) const; + /*4*/ virtual enum StreamReadResult read(class ReadOnlyBinaryStream &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SPAWNEXPERIENCEORBPACKET +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/SpawnFinder.hpp b/LiteLoader/Header/MC/SpawnFinder.hpp new file mode 100644 index 0000000..460f695 --- /dev/null +++ b/LiteLoader/Header/MC/SpawnFinder.hpp @@ -0,0 +1,28 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class SpawnFinder { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SPAWNFINDER +public: + class SpawnFinder& operator=(class SpawnFinder const &) = delete; + SpawnFinder(class SpawnFinder const &) = delete; + SpawnFinder() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SPAWNFINDER +#endif + MCAPI static class std::optional findStandupPosition(class BlockPos const &, class BlockSource const &); + MCAPI static bool isStandupPosition(class BlockPos const &, class BlockSource const &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/SpawnGroupRegistry.hpp b/LiteLoader/Header/MC/SpawnGroupRegistry.hpp new file mode 100644 index 0000000..2cc9b76 --- /dev/null +++ b/LiteLoader/Header/MC/SpawnGroupRegistry.hpp @@ -0,0 +1,37 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Json.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class SpawnGroupRegistry { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SPAWNGROUPREGISTRY +public: + class SpawnGroupRegistry& operator=(class SpawnGroupRegistry const &) = delete; + SpawnGroupRegistry(class SpawnGroupRegistry const &) = delete; + SpawnGroupRegistry() = delete; +#endif + +public: + /*0*/ virtual ~SpawnGroupRegistry(); + /*1*/ virtual std::string const & getRootKey(); + /*2*/ virtual std::string const & getFileType(); + /*3*/ virtual bool processPopulationControl(std::string const &, class Json::Value &); + /*4*/ virtual void readResourceFiles(class ResourcePackManager &, class std::unordered_map, struct std::equal_to, class std::allocator>> &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SPAWNGROUPREGISTRY +#endif + +//private: + MCAPI void _addSpawnRules(std::string const &, class MobSpawnRules &); + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/SpawnParticleEffectPacket.hpp b/LiteLoader/Header/MC/SpawnParticleEffectPacket.hpp new file mode 100644 index 0000000..7cb9795 --- /dev/null +++ b/LiteLoader/Header/MC/SpawnParticleEffectPacket.hpp @@ -0,0 +1,32 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Packet.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class SpawnParticleEffectPacket : public Packet { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SPAWNPARTICLEEFFECTPACKET +public: + class SpawnParticleEffectPacket& operator=(class SpawnParticleEffectPacket const &) = delete; + SpawnParticleEffectPacket(class SpawnParticleEffectPacket const &) = delete; + SpawnParticleEffectPacket() = delete; +#endif + +public: + /*0*/ virtual ~SpawnParticleEffectPacket(); + /*1*/ virtual enum MinecraftPacketIds getId() const; + /*2*/ virtual std::string getName() const; + /*3*/ virtual void write(class BinaryStream &) const; + /*4*/ virtual enum StreamReadResult read(class ReadOnlyBinaryStream &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SPAWNPARTICLEEFFECTPACKET +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/SpawnPointCommand.hpp b/LiteLoader/Header/MC/SpawnPointCommand.hpp new file mode 100644 index 0000000..4fbe48c --- /dev/null +++ b/LiteLoader/Header/MC/SpawnPointCommand.hpp @@ -0,0 +1,30 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Command.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class SpawnPointCommand : public Command { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SPAWNPOINTCOMMAND +public: + class SpawnPointCommand& operator=(class SpawnPointCommand const &) = delete; + SpawnPointCommand(class SpawnPointCommand const &) = delete; + SpawnPointCommand() = delete; +#endif + +public: + /*0*/ virtual ~SpawnPointCommand(); + /*1*/ virtual void execute(class CommandOrigin const &, class CommandOutput &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SPAWNPOINTCOMMAND +#endif + MCAPI static void setup(class CommandRegistry &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/SpawnSettings.hpp b/LiteLoader/Header/MC/SpawnSettings.hpp new file mode 100644 index 0000000..97e431d --- /dev/null +++ b/LiteLoader/Header/MC/SpawnSettings.hpp @@ -0,0 +1,27 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +struct SpawnSettings { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SPAWNSETTINGS +public: + SpawnSettings(struct SpawnSettings const &) = delete; +#endif +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SPAWNSETTINGS +#endif + MCAPI SpawnSettings(); + MCAPI struct SpawnSettings & operator=(struct SpawnSettings &&); + MCAPI struct SpawnSettings & operator=(struct SpawnSettings const &); + MCAPI ~SpawnSettings(); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/Spawner.hpp b/LiteLoader/Header/MC/Spawner.hpp new file mode 100644 index 0000000..450ba4c --- /dev/null +++ b/LiteLoader/Header/MC/Spawner.hpp @@ -0,0 +1,64 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "LevelChunk.hpp" + +#define BEFORE_EXTRA +// Add include headers & pre-declares +class Mob; +class ItemActor; +class ItemStack; +class LevelChunk; + +#undef BEFORE_EXTRA + +class Spawner { + +#define AFTER_EXTRA +// Add new members to class +public: + LIAPI Mob* spawnMob(Vec3& ,int, std::string ); + LIAPI ItemActor* spawnItem(Vec3&, int, ItemStack*); +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SPAWNER +public: + class Spawner& operator=(class Spawner const &) = delete; + Spawner(class Spawner const &) = delete; + Spawner() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SPAWNER +#endif + MCAPI void postProcessSpawnMobs(class BlockSource &, int, int, class Random &); + MCAPI class ItemActor * spawnItem(class BlockSource &, class ItemStack const &, class Actor *, class Vec3 const &, int); + MCAPI class Mob * spawnMob(class BlockSource &, struct ActorDefinitionIdentifier const &, class Actor *, class Vec3 const &, bool, bool, bool); + MCAPI class std::unordered_set, struct std::equal_to, class std::allocator> spawnMobGroup(class BlockSource &, std::string const &, class Vec3 const &, bool, class std::function &&); + MCAPI class Actor * spawnProjectile(class BlockSource &, struct ActorDefinitionIdentifier const &, class Actor *, class Vec3 const &, class Vec3 const &); + MCAPI void tick(class BlockSource &, class LevelChunk const &); + MCAPI static bool findNextSpawnBlockUnder(class BlockSource const &, class BlockPos &, enum MaterialType, enum SpawnBlockRequirements); + +//protected: + MCAPI void _tickSpawnMobClusters(class BlockSource &, class LevelChunk const &, class BlockPos, class std::function const &); + MCAPI void _tickSpawnStructureMobs(class BlockSource &, class LevelChunk const &, class BlockPos, class std::function const &, class std::function (class LevelChunk const &)> const &); + +//private: + MCAPI int _handlePopulationCap(class MobSpawnerData const *, class SpawnConditions const &, int); + MCAPI bool _isSpawnPositionOk(class MobSpawnRules const &, class BlockSource &, class BlockPos const &); + MCAPI void _permuteId(struct ActorDefinitionIdentifier &, class MobSpawnRules const &, class Random &) const; + MCAPI bool _popCapAllows(class Dimension const &, class MobSpawnerData const &, bool, bool) const; + MCAPI void _sendHerdEvents(struct MobSpawnHerdInfo const &, std::vector &) const; + MCAPI void _spawnMobCluster(class BlockSource &, class BlockPos const &, class SpawnConditions &); + MCAPI void _spawnMobInCluster(class BlockSource &, struct ActorDefinitionIdentifier, class BlockPos const &, class SpawnConditions const &, std::vector &); + MCAPI void _spawnStructureMob(class BlockSource &, class BlockPos const &, struct LevelChunk::HardcodedSpawningArea const &, class SpawnConditions const &); + MCAPI void _updateBaseTypeCount(class BlockSource &, class ChunkPos const &); + MCAPI void _updateGroupPersistence(class MobSpawnRules const &, std::vector const &); + MCAPI void _updateMobCounts(class BlockSource &, struct ActorDefinitionIdentifier const &, class SpawnConditions const &); + +protected: + +private: + MCAPI static class std::unordered_set, struct std::equal_to, class std::allocator> const SPAWN_RING_OFFSETS; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/SpecificEnchantFunction.hpp b/LiteLoader/Header/MC/SpecificEnchantFunction.hpp new file mode 100644 index 0000000..29123be --- /dev/null +++ b/LiteLoader/Header/MC/SpecificEnchantFunction.hpp @@ -0,0 +1,37 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Json.hpp" +#include "LootItemFunction.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class SpecificEnchantFunction : public LootItemFunction { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SPECIFICENCHANTFUNCTION +public: + class SpecificEnchantFunction& operator=(class SpecificEnchantFunction const &) = delete; + SpecificEnchantFunction(class SpecificEnchantFunction const &) = delete; + SpecificEnchantFunction() = delete; +#endif + +public: + /*0*/ virtual ~SpecificEnchantFunction(); + /*1*/ virtual void apply(class ItemStack &, class Random &, class LootTableContext &); + /*3*/ virtual void apply(class ItemInstance &, class Random &, class LootTableContext &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SPECIFICENCHANTFUNCTION +#endif + MCAPI static std::unique_ptr deserialize(class Json::Value, std::vector> &); + +//private: + MCAPI void _applyInner(class ItemStackBase &, class Random &, class LootTableContext &, bool); + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/Spider.hpp b/LiteLoader/Header/MC/Spider.hpp new file mode 100644 index 0000000..a938d09 --- /dev/null +++ b/LiteLoader/Header/MC/Spider.hpp @@ -0,0 +1,63 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Actor.hpp" +#include "Monster.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class Spider : public Monster { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SPIDER +public: + class Spider& operator=(class Spider const &) = delete; + Spider(class Spider const &) = delete; + Spider() = delete; +#endif + +public: + /*7*/ virtual ~Spider(); + /*30*/ virtual void __unk_vfn_30(); + /*39*/ virtual void normalTick(); + /*54*/ virtual void __unk_vfn_54(); + /*61*/ virtual void __unk_vfn_61(); + /*71*/ virtual void makeStuckInBlock(float); + /*74*/ virtual float getShadowRadius() const; + /*76*/ virtual void __unk_vfn_76(); + /*81*/ virtual void __unk_vfn_81(); + /*88*/ virtual void __unk_vfn_88(); + /*90*/ virtual void __unk_vfn_90(); + /*98*/ virtual void __unk_vfn_98(); + /*100*/ virtual void __unk_vfn_100(); + /*103*/ virtual class Actor * findAttackTarget(); + /*121*/ virtual void __unk_vfn_121(); + /*123*/ virtual bool shouldRender() const; + /*169*/ virtual void __unk_vfn_169(); + /*182*/ virtual void __unk_vfn_182(); + /*197*/ virtual bool canBeAffected(class MobEffectInstance const &) const; + /*206*/ virtual void __unk_vfn_206(); + /*207*/ virtual void __unk_vfn_207(); + /*228*/ virtual void __unk_vfn_228(); + /*231*/ virtual void __unk_vfn_231(); + /*238*/ virtual void __unk_vfn_238(); + /*244*/ virtual void _playStepSound(class BlockPos const &, class Block const &); + /*246*/ virtual void __unk_vfn_246(); + /*257*/ virtual void __unk_vfn_257(); + /*278*/ virtual void aiStep(); + /*290*/ virtual void __unk_vfn_290(); + /*300*/ virtual void __unk_vfn_300(); + /*332*/ virtual void __unk_vfn_332(); + /*348*/ virtual void __unk_vfn_348(); + /*350*/ virtual float getModelScale() const; + /*351*/ virtual enum Spider::Type getSpiderType() const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SPIDER + MCVAPI bool useNewAi() const; +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/SpikeFeature.hpp b/LiteLoader/Header/MC/SpikeFeature.hpp new file mode 100644 index 0000000..6a42267 --- /dev/null +++ b/LiteLoader/Header/MC/SpikeFeature.hpp @@ -0,0 +1,30 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Feature.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class SpikeFeature : public Feature { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SPIKEFEATURE +public: + class SpikeFeature& operator=(class SpikeFeature const &) = delete; + SpikeFeature(class SpikeFeature const &) = delete; + SpikeFeature() = delete; +#endif + +public: + /*0*/ virtual ~SpikeFeature(); + /*1*/ virtual bool place(class BlockSource &, class BlockPos const &, class Random &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SPIKEFEATURE +#endif + MCAPI void postProcessMobsAt(class BlockSource &, class BlockPos const &, class Random &) const; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/SpinLock.hpp b/LiteLoader/Header/MC/SpinLock.hpp new file mode 100644 index 0000000..bf8e67f --- /dev/null +++ b/LiteLoader/Header/MC/SpinLock.hpp @@ -0,0 +1,34 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class SpinLock { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SPINLOCK +public: + class SpinLock& operator=(class SpinLock const &) = delete; + SpinLock(class SpinLock const &) = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SPINLOCK +#endif + MCAPI SpinLock(); + MCAPI void lock(); + MCAPI void unlock(); + MCAPI ~SpinLock(); + +//private: + MCAPI unsigned __int64 _getThreadId(); + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/SplashPotionEffectSubcomponent.hpp b/LiteLoader/Header/MC/SplashPotionEffectSubcomponent.hpp new file mode 100644 index 0000000..227b4e1 --- /dev/null +++ b/LiteLoader/Header/MC/SplashPotionEffectSubcomponent.hpp @@ -0,0 +1,29 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class SplashPotionEffectSubcomponent { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SPLASHPOTIONEFFECTSUBCOMPONENT +public: + class SplashPotionEffectSubcomponent& operator=(class SplashPotionEffectSubcomponent const &) = delete; + SplashPotionEffectSubcomponent(class SplashPotionEffectSubcomponent const &) = delete; + SplashPotionEffectSubcomponent() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SPLASHPOTIONEFFECTSUBCOMPONENT + MCVAPI void doOnHitEffect(class Actor &, class ProjectileComponent &); + MCVAPI void readfromJSON(class Json::Value &); +#endif + MCAPI void applyMobEffects(class MobEffectInstance const &, std::vector const &, class Actor &, class std::shared_ptr const &, float, class MobEffect *, class HitResult &, int); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/SplashPotionItem.hpp b/LiteLoader/Header/MC/SplashPotionItem.hpp new file mode 100644 index 0000000..eb8f90b --- /dev/null +++ b/LiteLoader/Header/MC/SplashPotionItem.hpp @@ -0,0 +1,53 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Potion.hpp" +#include "PotionItem.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class SplashPotionItem : public PotionItem { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SPLASHPOTIONITEM +public: + class SplashPotionItem& operator=(class SplashPotionItem const &) = delete; + SplashPotionItem(class SplashPotionItem const &) = delete; + SplashPotionItem() = delete; +#endif + +public: + /*0*/ virtual ~SplashPotionItem(); + /*5*/ virtual void __unk_vfn_5(); + /*26*/ virtual void __unk_vfn_26(); + /*27*/ virtual void __unk_vfn_27(); + /*30*/ virtual bool isThrowable() const; + /*31*/ virtual void __unk_vfn_31(); + /*32*/ virtual void __unk_vfn_32(); + /*34*/ virtual void __unk_vfn_34(); + /*37*/ virtual void __unk_vfn_37(); + /*38*/ virtual void appendFormattedHovertext(class ItemStackBase const &, class Level &, std::string &, bool) const; + /*43*/ virtual void __unk_vfn_43(); + /*46*/ virtual void __unk_vfn_46(); + /*47*/ virtual void __unk_vfn_47(); + /*49*/ virtual void __unk_vfn_49(); + /*50*/ virtual void __unk_vfn_50(); + /*56*/ virtual class ItemStack & use(class ItemStack &, class Player &) const; + /*57*/ virtual bool dispense(class BlockSource &, class Container &, int, class Vec3 const &, unsigned char) const; + /*65*/ virtual std::string buildDescriptionId(class ItemDescriptor const &, class CompoundTag const *) const; + /*79*/ virtual void __unk_vfn_79(); + /*80*/ virtual void __unk_vfn_80(); + /*85*/ virtual struct TextureUVCoordinateSet const & getIcon(class ItemStackBase const &, int, bool) const; + /*87*/ virtual class Item & setIcon(std::string const &, int); + /*90*/ virtual void __unk_vfn_90(); + /*97*/ virtual void __unk_vfn_97(); + /*100*/ virtual enum Potion::PotionType getPotionType() const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SPLASHPOTIONITEM +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/SpongeBlock.hpp b/LiteLoader/Header/MC/SpongeBlock.hpp new file mode 100644 index 0000000..bc01de4 --- /dev/null +++ b/LiteLoader/Header/MC/SpongeBlock.hpp @@ -0,0 +1,76 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "BlockLegacy.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class SpongeBlock : public BlockLegacy { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SPONGEBLOCK +public: + class SpongeBlock& operator=(class SpongeBlock const &) = delete; + SpongeBlock(class SpongeBlock const &) = delete; + SpongeBlock() = delete; +#endif + +public: + /*0*/ virtual ~SpongeBlock(); + /*1*/ virtual void tick(class BlockSource &, class BlockPos const &, class Random &) const; + /*18*/ virtual void __unk_vfn_18(); + /*24*/ virtual void __unk_vfn_24(); + /*25*/ virtual void __unk_vfn_25(); + /*26*/ virtual void __unk_vfn_26(); + /*27*/ virtual void __unk_vfn_27(); + /*28*/ virtual void __unk_vfn_28(); + /*30*/ virtual void __unk_vfn_30(); + /*31*/ virtual void __unk_vfn_31(); + /*32*/ virtual void __unk_vfn_32(); + /*33*/ virtual void __unk_vfn_33(); + /*34*/ virtual void __unk_vfn_34(); + /*35*/ virtual void __unk_vfn_35(); + /*36*/ virtual void __unk_vfn_36(); + /*38*/ virtual void __unk_vfn_38(); + /*39*/ virtual void __unk_vfn_39(); + /*40*/ virtual void __unk_vfn_40(); + /*42*/ virtual void __unk_vfn_42(); + /*43*/ virtual void __unk_vfn_43(); + /*44*/ virtual bool isValidAuxValue(int) const; + /*49*/ virtual void __unk_vfn_49(); + /*52*/ virtual void __unk_vfn_52(); + /*59*/ virtual void onPlace(class BlockSource &, class BlockPos const &) const; + /*67*/ virtual void __unk_vfn_67(); + /*73*/ virtual void __unk_vfn_73(); + /*87*/ virtual void __unk_vfn_87(); + /*88*/ virtual void neighborChanged(class BlockSource &, class BlockPos const &, class BlockPos const &) const; + /*91*/ virtual class ItemInstance getResourceItem(class Random &, class Block const &, int) const; + /*95*/ virtual void __unk_vfn_95(); + /*109*/ virtual void __unk_vfn_109(); + /*116*/ virtual void __unk_vfn_116(); + /*118*/ virtual void __unk_vfn_118(); + /*119*/ virtual void __unk_vfn_119(); + /*127*/ virtual std::string buildDescriptionId(class Block const &) const; + /*128*/ virtual bool isAuxValueRelevantForPicking() const; + /*142*/ virtual void __unk_vfn_142(); + /*146*/ virtual void animateTick(class BlockSource &, class BlockPos const &, class Random &) const; + /*158*/ virtual void __unk_vfn_158(); + /*159*/ virtual class ItemInstance getSilkTouchItemInstance(class Block const &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SPONGEBLOCK +#endif + +//private: + MCAPI void _attemptAbsorbWater(class BlockSource &, class BlockPos const &) const; + MCAPI void _evaporateWater(class BlockSource &, class BlockPos const &) const; + MCAPI bool _performAbsorbWater(class BlockSource &, class BlockPos const &) const; + MCAPI void _setShouldDry(class BlockSource &, class BlockPos const &) const; + MCAPI void _spawnAbsorbParticles(class BlockSource &, class BlockPos const &) const; + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/SpreadPlayersCommand.hpp b/LiteLoader/Header/MC/SpreadPlayersCommand.hpp new file mode 100644 index 0000000..f90eac1 --- /dev/null +++ b/LiteLoader/Header/MC/SpreadPlayersCommand.hpp @@ -0,0 +1,38 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Command.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class SpreadPlayersCommand : public Command { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SPREADPLAYERSCOMMAND +public: + class SpreadPlayersCommand& operator=(class SpreadPlayersCommand const &) = delete; + SpreadPlayersCommand(class SpreadPlayersCommand const &) = delete; + SpreadPlayersCommand() = delete; +#endif + +public: + /*0*/ virtual ~SpreadPlayersCommand(); + /*1*/ virtual void execute(class CommandOrigin const &, class CommandOutput &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SPREADPLAYERSCOMMAND +#endif + MCAPI static void setup(class CommandRegistry &); + +//private: + MCAPI static std::vector createInitialPositions(class Random &, int, class Vec2 const &, class Vec2 const &); + MCAPI static float setPlayerPositions(class CommandSelectorResults &, class BlockSource &, std::vector &); + MCAPI static bool spreadEntities(class CommandOutput &, class CommandSelectorResults &, class BlockSource &, class Vec2 const &, float, float); + MCAPI static int spreadPositions(class CommandOutput &, class Random &, class BlockSource &, class Vec2 const &, float, class Vec2 const &, class Vec2 const &, std::vector &); + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/SpringFeature.hpp b/LiteLoader/Header/MC/SpringFeature.hpp new file mode 100644 index 0000000..fda8e58 --- /dev/null +++ b/LiteLoader/Header/MC/SpringFeature.hpp @@ -0,0 +1,29 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Feature.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class SpringFeature : public Feature { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SPRINGFEATURE +public: + class SpringFeature& operator=(class SpringFeature const &) = delete; + SpringFeature(class SpringFeature const &) = delete; + SpringFeature() = delete; +#endif + +public: + /*0*/ virtual ~SpringFeature(); + /*1*/ virtual bool place(class BlockSource &, class BlockPos const &, class Random &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SPRINGFEATURE +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/SpruceTreeCanopy.hpp b/LiteLoader/Header/MC/SpruceTreeCanopy.hpp new file mode 100644 index 0000000..2d5ccb1 --- /dev/null +++ b/LiteLoader/Header/MC/SpruceTreeCanopy.hpp @@ -0,0 +1,29 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "TreeHelper.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class SpruceTreeCanopy { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SPRUCETREECANOPY +public: + class SpruceTreeCanopy& operator=(class SpruceTreeCanopy const &) = delete; + SpruceTreeCanopy(class SpruceTreeCanopy const &) = delete; + SpruceTreeCanopy() = delete; +#endif + +public: + /*0*/ virtual ~SpruceTreeCanopy(); + /*1*/ virtual class std::optional placeCanopy(class IBlockPlacementTarget &, class BlockPos const &, class Random &, struct TreeHelper::TreeParams const &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SPRUCETREECANOPY +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/Squid.hpp b/LiteLoader/Header/MC/Squid.hpp new file mode 100644 index 0000000..9a25302 --- /dev/null +++ b/LiteLoader/Header/MC/Squid.hpp @@ -0,0 +1,66 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Actor.hpp" +#include "Mob.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class Squid : public Mob { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SQUID +public: + class Squid& operator=(class Squid const &) = delete; + Squid(class Squid const &) = delete; + Squid() = delete; +#endif + +public: + /*7*/ virtual ~Squid(); + /*30*/ virtual void __unk_vfn_30(); + /*54*/ virtual void __unk_vfn_54(); + /*61*/ virtual void __unk_vfn_61(); + /*76*/ virtual void __unk_vfn_76(); + /*81*/ virtual void __unk_vfn_81(); + /*88*/ virtual void __unk_vfn_88(); + /*90*/ virtual void __unk_vfn_90(); + /*98*/ virtual void __unk_vfn_98(); + /*100*/ virtual void __unk_vfn_100(); + /*121*/ virtual void __unk_vfn_121(); + /*132*/ virtual void handleEntityEvent(enum ActorEvent, int); + /*169*/ virtual void __unk_vfn_169(); + /*182*/ virtual void __unk_vfn_182(); + /*206*/ virtual void __unk_vfn_206(); + /*207*/ virtual void __unk_vfn_207(); + /*228*/ virtual void __unk_vfn_228(); + /*231*/ virtual void __unk_vfn_231(); + /*235*/ virtual void updateEntitySpecificMolangVariables(class RenderParams &); + /*238*/ virtual void __unk_vfn_238(); + /*240*/ virtual bool _hurt(class ActorDamageSource const &, int, bool, bool); + /*246*/ virtual void __unk_vfn_246(); + /*257*/ virtual void __unk_vfn_257(); + /*266*/ virtual int getAmbientSoundPostponeTicks(); + /*271*/ virtual float getJumpPower() const; + /*278*/ virtual void aiStep(); + /*282*/ virtual bool checkSpawnRules(bool); + /*283*/ virtual bool checkSpawnObstruction() const; + /*290*/ virtual void __unk_vfn_290(); + /*300*/ virtual void __unk_vfn_300(); + /*332*/ virtual void __unk_vfn_332(); + /*348*/ virtual void __unk_vfn_348(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SQUID +#endif + MCAPI void spawnInkParticles(); + +//private: + MCAPI class Vec3 _randomInkDir(); + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/SquidDiveGoal.hpp b/LiteLoader/Header/MC/SquidDiveGoal.hpp new file mode 100644 index 0000000..8605106 --- /dev/null +++ b/LiteLoader/Header/MC/SquidDiveGoal.hpp @@ -0,0 +1,36 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class SquidDiveGoal { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SQUIDDIVEGOAL +public: + class SquidDiveGoal& operator=(class SquidDiveGoal const &) = delete; + SquidDiveGoal(class SquidDiveGoal const &) = delete; + SquidDiveGoal() = delete; +#endif + +public: + /*0*/ virtual ~SquidDiveGoal(); + /*1*/ virtual bool canUse(); + /*2*/ virtual bool canContinueToUse(); + /*3*/ virtual void __unk_vfn_3(); + /*4*/ virtual void start(); + /*5*/ virtual void __unk_vfn_5(); + /*6*/ virtual void __unk_vfn_6(); + /*7*/ virtual void appendDebugInfo(std::string &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SQUIDDIVEGOAL + MCVAPI void stop(); + MCVAPI void tick(); +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/SquidFleeGoal.hpp b/LiteLoader/Header/MC/SquidFleeGoal.hpp new file mode 100644 index 0000000..733eb58 --- /dev/null +++ b/LiteLoader/Header/MC/SquidFleeGoal.hpp @@ -0,0 +1,34 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class SquidFleeGoal { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SQUIDFLEEGOAL +public: + class SquidFleeGoal& operator=(class SquidFleeGoal const &) = delete; + SquidFleeGoal(class SquidFleeGoal const &) = delete; + SquidFleeGoal() = delete; +#endif + +public: + /*0*/ virtual ~SquidFleeGoal(); + /*1*/ virtual bool canUse(); + /*2*/ virtual bool canContinueToUse(); + /*3*/ virtual void __unk_vfn_3(); + /*4*/ virtual void start(); + /*5*/ virtual void stop(); + /*6*/ virtual void tick(); + /*7*/ virtual void appendDebugInfo(std::string &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SQUIDFLEEGOAL +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/SquidIdleGoal.hpp b/LiteLoader/Header/MC/SquidIdleGoal.hpp new file mode 100644 index 0000000..3f15220 --- /dev/null +++ b/LiteLoader/Header/MC/SquidIdleGoal.hpp @@ -0,0 +1,34 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class SquidIdleGoal { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SQUIDIDLEGOAL +public: + class SquidIdleGoal& operator=(class SquidIdleGoal const &) = delete; + SquidIdleGoal(class SquidIdleGoal const &) = delete; + SquidIdleGoal() = delete; +#endif + +public: + /*0*/ virtual ~SquidIdleGoal(); + /*1*/ virtual bool canUse(); + /*2*/ virtual bool canContinueToUse(); + /*3*/ virtual void __unk_vfn_3(); + /*4*/ virtual void start(); + /*5*/ virtual void stop(); + /*6*/ virtual void tick(); + /*7*/ virtual void appendDebugInfo(std::string &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SQUIDIDLEGOAL +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/SquidMoveAwayFromGroundGoal.hpp b/LiteLoader/Header/MC/SquidMoveAwayFromGroundGoal.hpp new file mode 100644 index 0000000..3b60772 --- /dev/null +++ b/LiteLoader/Header/MC/SquidMoveAwayFromGroundGoal.hpp @@ -0,0 +1,38 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class SquidMoveAwayFromGroundGoal { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SQUIDMOVEAWAYFROMGROUNDGOAL +public: + class SquidMoveAwayFromGroundGoal& operator=(class SquidMoveAwayFromGroundGoal const &) = delete; + SquidMoveAwayFromGroundGoal(class SquidMoveAwayFromGroundGoal const &) = delete; + SquidMoveAwayFromGroundGoal() = delete; +#endif + +public: + /*0*/ virtual ~SquidMoveAwayFromGroundGoal(); + /*1*/ virtual void __unk_vfn_1(); + /*2*/ virtual void __unk_vfn_2(); + /*3*/ virtual void __unk_vfn_3(); + /*4*/ virtual void start(); + /*5*/ virtual void __unk_vfn_5(); + /*6*/ virtual void __unk_vfn_6(); + /*7*/ virtual void appendDebugInfo(std::string &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SQUIDMOVEAWAYFROMGROUNDGOAL + MCVAPI bool canContinueToUse(); + MCVAPI bool canUse(); + MCVAPI void stop(); + MCVAPI void tick(); +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/SquidOutOfWaterGoal.hpp b/LiteLoader/Header/MC/SquidOutOfWaterGoal.hpp new file mode 100644 index 0000000..25a6274 --- /dev/null +++ b/LiteLoader/Header/MC/SquidOutOfWaterGoal.hpp @@ -0,0 +1,38 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class SquidOutOfWaterGoal { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SQUIDOUTOFWATERGOAL +public: + class SquidOutOfWaterGoal& operator=(class SquidOutOfWaterGoal const &) = delete; + SquidOutOfWaterGoal(class SquidOutOfWaterGoal const &) = delete; + SquidOutOfWaterGoal() = delete; +#endif + +public: + /*0*/ virtual ~SquidOutOfWaterGoal(); + /*1*/ virtual void __unk_vfn_1(); + /*2*/ virtual void __unk_vfn_2(); + /*3*/ virtual void __unk_vfn_3(); + /*4*/ virtual void start(); + /*5*/ virtual void __unk_vfn_5(); + /*6*/ virtual void __unk_vfn_6(); + /*7*/ virtual void appendDebugInfo(std::string &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SQUIDOUTOFWATERGOAL + MCVAPI bool canContinueToUse(); + MCVAPI bool canUse(); + MCVAPI void stop(); + MCVAPI void tick(); +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/StackResultStorageFeature.hpp b/LiteLoader/Header/MC/StackResultStorageFeature.hpp new file mode 100644 index 0000000..2097b3f --- /dev/null +++ b/LiteLoader/Header/MC/StackResultStorageFeature.hpp @@ -0,0 +1,31 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class StackResultStorageFeature { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_STACKRESULTSTORAGEFEATURE +public: + class StackResultStorageFeature& operator=(class StackResultStorageFeature const &) = delete; + StackResultStorageFeature(class StackResultStorageFeature const &) = delete; + StackResultStorageFeature() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_STACKRESULTSTORAGEFEATURE +#endif + +//protected: + MCAPI StackResultStorageFeature(class WeakStorageFeature const &); + +protected: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/StainedGlassBlock.hpp b/LiteLoader/Header/MC/StainedGlassBlock.hpp new file mode 100644 index 0000000..730346f --- /dev/null +++ b/LiteLoader/Header/MC/StainedGlassBlock.hpp @@ -0,0 +1,65 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "BlockLegacy.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class StainedGlassBlock : public BlockLegacy { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_STAINEDGLASSBLOCK +public: + class StainedGlassBlock& operator=(class StainedGlassBlock const &) = delete; + StainedGlassBlock(class StainedGlassBlock const &) = delete; + StainedGlassBlock() = delete; +#endif + +public: + /*0*/ virtual ~StainedGlassBlock(); + /*18*/ virtual void __unk_vfn_18(); + /*22*/ virtual bool canConnect(class Block const &, unsigned char, class Block const &) const; + /*24*/ virtual void __unk_vfn_24(); + /*25*/ virtual void __unk_vfn_25(); + /*26*/ virtual void __unk_vfn_26(); + /*27*/ virtual void __unk_vfn_27(); + /*28*/ virtual void __unk_vfn_28(); + /*30*/ virtual void __unk_vfn_30(); + /*31*/ virtual void __unk_vfn_31(); + /*32*/ virtual void __unk_vfn_32(); + /*33*/ virtual void __unk_vfn_33(); + /*34*/ virtual void __unk_vfn_34(); + /*35*/ virtual void __unk_vfn_35(); + /*36*/ virtual void __unk_vfn_36(); + /*38*/ virtual void __unk_vfn_38(); + /*39*/ virtual void __unk_vfn_39(); + /*40*/ virtual void __unk_vfn_40(); + /*42*/ virtual void __unk_vfn_42(); + /*43*/ virtual void __unk_vfn_43(); + /*49*/ virtual void __unk_vfn_49(); + /*52*/ virtual void __unk_vfn_52(); + /*53*/ virtual bool canBeUsedInCommands(bool, class BaseGameVersion const &) const; + /*67*/ virtual void __unk_vfn_67(); + /*73*/ virtual void __unk_vfn_73(); + /*87*/ virtual void __unk_vfn_87(); + /*90*/ virtual int getResourceCount(class Random &, class Block const &, int, bool) const; + /*95*/ virtual void __unk_vfn_95(); + /*109*/ virtual void __unk_vfn_109(); + /*113*/ virtual class Color getMapColor(class BlockSource &, class BlockPos const &) const; + /*116*/ virtual void __unk_vfn_116(); + /*118*/ virtual void __unk_vfn_118(); + /*119*/ virtual void __unk_vfn_119(); + /*127*/ virtual std::string buildDescriptionId(class Block const &) const; + /*128*/ virtual bool isAuxValueRelevantForPicking() const; + /*142*/ virtual void __unk_vfn_142(); + /*158*/ virtual void __unk_vfn_158(); + /*159*/ virtual class ItemInstance getSilkTouchItemInstance(class Block const &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_STAINEDGLASSBLOCK +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/StainedGlassPaneBlock.hpp b/LiteLoader/Header/MC/StainedGlassPaneBlock.hpp new file mode 100644 index 0000000..6bb2f33 --- /dev/null +++ b/LiteLoader/Header/MC/StainedGlassPaneBlock.hpp @@ -0,0 +1,62 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "ThinFenceBlock.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class StainedGlassPaneBlock : public ThinFenceBlock { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_STAINEDGLASSPANEBLOCK +public: + class StainedGlassPaneBlock& operator=(class StainedGlassPaneBlock const &) = delete; + StainedGlassPaneBlock(class StainedGlassPaneBlock const &) = delete; + StainedGlassPaneBlock() = delete; +#endif + +public: + /*0*/ virtual ~StainedGlassPaneBlock(); + /*18*/ virtual void __unk_vfn_18(); + /*24*/ virtual void __unk_vfn_24(); + /*25*/ virtual void __unk_vfn_25(); + /*26*/ virtual void __unk_vfn_26(); + /*27*/ virtual void __unk_vfn_27(); + /*28*/ virtual void __unk_vfn_28(); + /*30*/ virtual void __unk_vfn_30(); + /*31*/ virtual void __unk_vfn_31(); + /*32*/ virtual void __unk_vfn_32(); + /*33*/ virtual void __unk_vfn_33(); + /*34*/ virtual void __unk_vfn_34(); + /*35*/ virtual void __unk_vfn_35(); + /*36*/ virtual void __unk_vfn_36(); + /*38*/ virtual void __unk_vfn_38(); + /*39*/ virtual void __unk_vfn_39(); + /*40*/ virtual void __unk_vfn_40(); + /*42*/ virtual void __unk_vfn_42(); + /*43*/ virtual void __unk_vfn_43(); + /*49*/ virtual void __unk_vfn_49(); + /*52*/ virtual void __unk_vfn_52(); + /*67*/ virtual void __unk_vfn_67(); + /*73*/ virtual void __unk_vfn_73(); + /*87*/ virtual void __unk_vfn_87(); + /*95*/ virtual void __unk_vfn_95(); + /*109*/ virtual void __unk_vfn_109(); + /*116*/ virtual void __unk_vfn_116(); + /*118*/ virtual void __unk_vfn_118(); + /*119*/ virtual void __unk_vfn_119(); + /*127*/ virtual std::string buildDescriptionId(class Block const &) const; + /*128*/ virtual bool isAuxValueRelevantForPicking() const; + /*142*/ virtual void __unk_vfn_142(); + /*158*/ virtual void __unk_vfn_158(); + /*159*/ virtual class ItemInstance getSilkTouchItemInstance(class Block const &) const; + /*164*/ virtual class Color getDustColor(class Block const &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_STAINEDGLASSPANEBLOCK +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/StairBlock.hpp b/LiteLoader/Header/MC/StairBlock.hpp new file mode 100644 index 0000000..3de95c1 --- /dev/null +++ b/LiteLoader/Header/MC/StairBlock.hpp @@ -0,0 +1,94 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "BlockLegacy.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class StairBlock : public BlockLegacy { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_STAIRBLOCK +public: + class StairBlock& operator=(class StairBlock const &) = delete; + StairBlock(class StairBlock const &) = delete; + StairBlock() = delete; +#endif + +public: + /*0*/ virtual ~StairBlock(); + /*1*/ virtual void tick(class BlockSource &, class BlockPos const &, class Random &) const; + /*9*/ virtual void addAABBs(class Block const &, class BlockSource &, class BlockPos const &, class AABB const *, std::vector &) const; + /*11*/ virtual bool addCollisionShapes(class Block const &, class BlockSource &, class BlockPos const &, class AABB const *, std::vector &, class Actor *) const; + /*12*/ virtual class AABB const & getOutline(class BlockSource &, class BlockPos const &, class AABB &) const; + /*13*/ virtual bool getLiquidClipVolume(class BlockSource &, class BlockPos const &, class AABB &) const; + /*15*/ virtual bool liquidCanFlowIntoFromDirection(unsigned char, class std::function const &, class BlockPos const &) const; + /*18*/ virtual void __unk_vfn_18(); + /*22*/ virtual bool canConnect(class Block const &, unsigned char, class Block const &) const; + /*24*/ virtual void __unk_vfn_24(); + /*25*/ virtual void __unk_vfn_25(); + /*26*/ virtual void __unk_vfn_26(); + /*27*/ virtual void __unk_vfn_27(); + /*28*/ virtual void __unk_vfn_28(); + /*30*/ virtual void __unk_vfn_30(); + /*31*/ virtual void __unk_vfn_31(); + /*32*/ virtual void __unk_vfn_32(); + /*33*/ virtual void __unk_vfn_33(); + /*34*/ virtual void __unk_vfn_34(); + /*35*/ virtual void __unk_vfn_35(); + /*36*/ virtual void __unk_vfn_36(); + /*38*/ virtual void __unk_vfn_38(); + /*39*/ virtual void __unk_vfn_39(); + /*40*/ virtual void __unk_vfn_40(); + /*42*/ virtual void __unk_vfn_42(); + /*43*/ virtual void __unk_vfn_43(); + /*49*/ virtual void __unk_vfn_49(); + /*52*/ virtual void __unk_vfn_52(); + /*59*/ virtual void onPlace(class BlockSource &, class BlockPos const &) const; + /*60*/ virtual void onRemove(class BlockSource &, class BlockPos const &) const; + /*61*/ virtual void onExploded(class BlockSource &, class BlockPos const &, class Actor *) const; + /*62*/ virtual void onStepOn(class Actor &, class BlockPos const &) const; + /*67*/ virtual void __unk_vfn_67(); + /*71*/ virtual enum BlockProperty getRedstoneProperty(class BlockSource &, class BlockPos const &) const; + /*73*/ virtual void __unk_vfn_73(); + /*78*/ virtual bool mayPick() const; + /*79*/ virtual bool mayPick(class BlockSource &, class Block const &, bool) const; + /*80*/ virtual bool mayPlace(class BlockSource &, class BlockPos const &, unsigned char) const; + /*85*/ virtual void destroy(class BlockSource &, class BlockPos const &, class Block const &, class Actor *) const; + /*87*/ virtual void __unk_vfn_87(); + /*90*/ virtual int getResourceCount(class Random &, class Block const &, int, bool) const; + /*91*/ virtual class ItemInstance getResourceItem(class Random &, class Block const &, int) const; + /*92*/ virtual class ItemInstance asItemInstance(class BlockSource &, class BlockPos const &, class Block const &) const; + /*95*/ virtual void __unk_vfn_95(); + /*97*/ virtual class HitResult clip(class BlockSource &, class BlockPos const &, class Vec3 const &, class Vec3 const &, bool) const; + /*98*/ virtual bool use(class Player &, class BlockPos const &) const; + /*99*/ virtual class Block const & getPlacementBlock(class Actor &, class BlockPos const &, unsigned char, class Vec3 const &, int) const; + /*102*/ virtual bool attack(class Player *, class BlockPos const &) const; + /*103*/ virtual void handleEntityInside(class BlockSource &, class BlockPos const &, class Actor *, class Vec3 &) const; + /*109*/ virtual void __unk_vfn_109(); + /*116*/ virtual void __unk_vfn_116(); + /*118*/ virtual void __unk_vfn_118(); + /*119*/ virtual void __unk_vfn_119(); + /*141*/ virtual int getVariant(class Block const &) const; + /*142*/ virtual void __unk_vfn_142(); + /*146*/ virtual void animateTick(class BlockSource &, class BlockPos const &, class Random &) const; + /*158*/ virtual void __unk_vfn_158(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_STAIRBLOCK + MCVAPI bool canBeSilkTouched() const; + MCVAPI bool isStairBlock() const; +#endif + MCAPI StairBlock(std::string const &, int, class BlockLegacy const &, int); + MCAPI bool setInnerPieceShape(class Block const &, class BlockSource &, class BlockPos const &, class AABB &, bool) const; + MCAPI bool setStepShape(class Block const &, class BlockSource &, class BlockPos const &, class AABB &, bool) const; + +//protected: + MCAPI bool _neighboringBlockCheckForCreatingBarrierInDirection(class std::function const &, class BlockPos const &, class Block const &, int) const; + +protected: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/StalkAndPounceOnTargetGoal.hpp b/LiteLoader/Header/MC/StalkAndPounceOnTargetGoal.hpp new file mode 100644 index 0000000..aabbdb7 --- /dev/null +++ b/LiteLoader/Header/MC/StalkAndPounceOnTargetGoal.hpp @@ -0,0 +1,44 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class StalkAndPounceOnTargetGoal { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_STALKANDPOUNCEONTARGETGOAL +public: + class StalkAndPounceOnTargetGoal& operator=(class StalkAndPounceOnTargetGoal const &) = delete; + StalkAndPounceOnTargetGoal(class StalkAndPounceOnTargetGoal const &) = delete; + StalkAndPounceOnTargetGoal() = delete; +#endif + +public: + /*0*/ virtual ~StalkAndPounceOnTargetGoal(); + /*1*/ virtual bool canUse(); + /*2*/ virtual bool canContinueToUse(); + /*3*/ virtual bool canBeInterrupted(); + /*4*/ virtual void start(); + /*5*/ virtual void stop(); + /*6*/ virtual void tick(); + /*7*/ virtual void appendDebugInfo(std::string &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_STALKANDPOUNCEONTARGETGOAL +#endif + +//private: + MCAPI void _attemptToStrike(class Vec3 const &, class Vec3 const &); + MCAPI bool _isPouncePathClear(class Vec3 const &, class Vec3 const &) const; + MCAPI bool _isStuckBlock(class BlockPos) const; + MCAPI void _preparePounce(class Vec3 const &, class Vec3 const &); + MCAPI void _stalkPrey(class Vec3 const &, class Vec3 const &); + MCAPI void _stuck(); + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/StartGamePacket.hpp b/LiteLoader/Header/MC/StartGamePacket.hpp new file mode 100644 index 0000000..0981301 --- /dev/null +++ b/LiteLoader/Header/MC/StartGamePacket.hpp @@ -0,0 +1,33 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Packet.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class StartGamePacket : public Packet { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_STARTGAMEPACKET +public: + class StartGamePacket& operator=(class StartGamePacket const &) = delete; + StartGamePacket(class StartGamePacket const &) = delete; + StartGamePacket() = delete; +#endif + +public: + /*0*/ virtual ~StartGamePacket(); + /*1*/ virtual enum MinecraftPacketIds getId() const; + /*2*/ virtual std::string getName() const; + /*3*/ virtual void write(class BinaryStream &) const; + /*4*/ virtual enum StreamReadResult read(class ReadOnlyBinaryStream &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_STARTGAMEPACKET +#endif + MCAPI StartGamePacket(class LevelSettings const &, struct ActorUniqueID, class ActorRuntimeID, enum GameType, bool, class Vec3 const &, class Vec2 const &, std::string const &, std::string const &, class ContentIdentity const &, class BlockPalette const &, std::string const &, bool, bool, unsigned __int64, int); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/StartScreenCapabilities.hpp b/LiteLoader/Header/MC/StartScreenCapabilities.hpp new file mode 100644 index 0000000..b4560b7 --- /dev/null +++ b/LiteLoader/Header/MC/StartScreenCapabilities.hpp @@ -0,0 +1,27 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +struct StartScreenCapabilities { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_STARTSCREENCAPABILITIES +public: + struct StartScreenCapabilities& operator=(struct StartScreenCapabilities const &) = delete; + StartScreenCapabilities(struct StartScreenCapabilities const &) = delete; + StartScreenCapabilities() = delete; +#endif +public: + /*0*/ virtual ~StartScreenCapabilities(); + /*1*/ virtual bool isOfType(class typeid_t) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_STARTSCREENCAPABILITIES +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/StateSerializationUtils.hpp b/LiteLoader/Header/MC/StateSerializationUtils.hpp new file mode 100644 index 0000000..b8348f2 --- /dev/null +++ b/LiteLoader/Header/MC/StateSerializationUtils.hpp @@ -0,0 +1,17 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +namespace StateSerializationUtils { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA + MCAPI enum WallConnectionType fromJavaNbtString(std::string const &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/StemBlock.hpp b/LiteLoader/Header/MC/StemBlock.hpp new file mode 100644 index 0000000..c39d470 --- /dev/null +++ b/LiteLoader/Header/MC/StemBlock.hpp @@ -0,0 +1,79 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "BushBlock.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class StemBlock : public BushBlock { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_STEMBLOCK +public: + class StemBlock& operator=(class StemBlock const &) = delete; + StemBlock(class StemBlock const &) = delete; + StemBlock() = delete; +#endif + +public: + /*0*/ virtual ~StemBlock(); + /*1*/ virtual void tick(class BlockSource &, class BlockPos const &, class Random &) const; + /*18*/ virtual void __unk_vfn_18(); + /*24*/ virtual void __unk_vfn_24(); + /*25*/ virtual void __unk_vfn_25(); + /*26*/ virtual void __unk_vfn_26(); + /*27*/ virtual void __unk_vfn_27(); + /*28*/ virtual void __unk_vfn_28(); + /*30*/ virtual void __unk_vfn_30(); + /*31*/ virtual void __unk_vfn_31(); + /*32*/ virtual void __unk_vfn_32(); + /*33*/ virtual void __unk_vfn_33(); + /*34*/ virtual void __unk_vfn_34(); + /*35*/ virtual void __unk_vfn_35(); + /*36*/ virtual void __unk_vfn_36(); + /*38*/ virtual void __unk_vfn_38(); + /*39*/ virtual void __unk_vfn_39(); + /*40*/ virtual void __unk_vfn_40(); + /*42*/ virtual void __unk_vfn_42(); + /*43*/ virtual void __unk_vfn_43(); + /*49*/ virtual void __unk_vfn_49(); + /*50*/ virtual bool canContainLiquid() const; + /*52*/ virtual void __unk_vfn_52(); + /*67*/ virtual void __unk_vfn_67(); + /*73*/ virtual void __unk_vfn_73(); + /*75*/ virtual bool onFertilized(class BlockSource &, class BlockPos const &, class Actor *, enum FertilizerType) const; + /*77*/ virtual bool canBeFertilized(class BlockSource &, class BlockPos const &, class Block const &) const; + /*82*/ virtual bool mayPlaceOn(class BlockSource &, class BlockPos const &) const; + /*87*/ virtual void __unk_vfn_87(); + /*88*/ virtual void neighborChanged(class BlockSource &, class BlockPos const &, class BlockPos const &) const; + /*90*/ virtual int getResourceCount(class Random &, class Block const &, int, bool) const; + /*91*/ virtual class ItemInstance getResourceItem(class Random &, class Block const &, int) const; + /*92*/ virtual class ItemInstance asItemInstance(class BlockSource &, class BlockPos const &, class Block const &) const; + /*95*/ virtual void __unk_vfn_95(); + /*109*/ virtual void __unk_vfn_109(); + /*116*/ virtual void __unk_vfn_116(); + /*118*/ virtual void __unk_vfn_118(); + /*119*/ virtual void __unk_vfn_119(); + /*129*/ virtual int getColor(class Block const &) const; + /*130*/ virtual int getColor(class BlockSource &, class BlockPos const &, class Block const &) const; + /*131*/ virtual int getColorAtPos(class BlockSource &, class BlockPos const &) const; + /*138*/ virtual class AABB const & getVisualShape(class Block const &, class AABB &, bool) const; + /*142*/ virtual void __unk_vfn_142(); + /*158*/ virtual void __unk_vfn_158(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_STEMBLOCK + MCVAPI bool canBeSilkTouched() const; + MCVAPI bool isStemBlock() const; +#endif + MCAPI StemBlock(std::string const &, int, class BlockLegacy const &); + +//private: + MCAPI float getGrowthSpeed(class BlockSource &, class BlockPos const &) const; + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/StickInGroundSubcomponent.hpp b/LiteLoader/Header/MC/StickInGroundSubcomponent.hpp new file mode 100644 index 0000000..44b3e09 --- /dev/null +++ b/LiteLoader/Header/MC/StickInGroundSubcomponent.hpp @@ -0,0 +1,31 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Json.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class StickInGroundSubcomponent { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_STICKINGROUNDSUBCOMPONENT +public: + class StickInGroundSubcomponent& operator=(class StickInGroundSubcomponent const &) = delete; + StickInGroundSubcomponent(class StickInGroundSubcomponent const &) = delete; + StickInGroundSubcomponent() = delete; +#endif + +public: + /*0*/ virtual ~StickInGroundSubcomponent(); + /*1*/ virtual void readfromJSON(class Json::Value &); + /*2*/ virtual void writetoJSON(class Json::Value &) const; + /*3*/ virtual void doOnHitEffect(class Actor &, class ProjectileComponent &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_STICKINGROUNDSUBCOMPONENT +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/StompAttackDefinition.hpp b/LiteLoader/Header/MC/StompAttackDefinition.hpp new file mode 100644 index 0000000..53f8562 --- /dev/null +++ b/LiteLoader/Header/MC/StompAttackDefinition.hpp @@ -0,0 +1,28 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "JsonUtil.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class StompAttackDefinition { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_STOMPATTACKDEFINITION +public: + class StompAttackDefinition& operator=(class StompAttackDefinition const &) = delete; + StompAttackDefinition(class StompAttackDefinition const &) = delete; + StompAttackDefinition() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_STOMPATTACKDEFINITION +#endif + MCAPI static void buildSchema(std::string const &, class std::shared_ptr> &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/StompAttackGoal.hpp b/LiteLoader/Header/MC/StompAttackGoal.hpp new file mode 100644 index 0000000..509dc49 --- /dev/null +++ b/LiteLoader/Header/MC/StompAttackGoal.hpp @@ -0,0 +1,42 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "MeleeAttackGoal.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class StompAttackGoal : public MeleeAttackGoal { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_STOMPATTACKGOAL +public: + class StompAttackGoal& operator=(class StompAttackGoal const &) = delete; + StompAttackGoal(class StompAttackGoal const &) = delete; + StompAttackGoal() = delete; +#endif + +public: + /*0*/ virtual ~StompAttackGoal(); + /*1*/ virtual bool canUse(); + /*2*/ virtual bool canContinueToUse(); + /*3*/ virtual void __unk_vfn_3(); + /*4*/ virtual void start(); + /*5*/ virtual void stop(); + /*6*/ virtual void tick(); + /*7*/ virtual void appendDebugInfo(std::string &) const; + /*8*/ virtual void __unk_vfn_8(); + /*9*/ virtual void __unk_vfn_9(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_STOMPATTACKGOAL +#endif + +//private: + MCAPI void _resetAttackState(); + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/StompBlockGoal.hpp b/LiteLoader/Header/MC/StompBlockGoal.hpp new file mode 100644 index 0000000..c99e12e --- /dev/null +++ b/LiteLoader/Header/MC/StompBlockGoal.hpp @@ -0,0 +1,35 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class StompBlockGoal { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_STOMPBLOCKGOAL +public: + class StompBlockGoal& operator=(class StompBlockGoal const &) = delete; + StompBlockGoal(class StompBlockGoal const &) = delete; + StompBlockGoal() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_STOMPBLOCKGOAL + MCVAPI bool _canReach(class BlockPos const &); + MCVAPI void _moveToBlock(); + MCVAPI bool canContinueToUse(); + MCVAPI bool canUse(); + MCVAPI bool findTargetBlock(); + MCVAPI bool isValidTarget(class BlockSource &, class BlockPos const &); + MCVAPI void start(); + MCVAPI void stop(); + MCVAPI void tick(); +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/StompEggGoal.hpp b/LiteLoader/Header/MC/StompEggGoal.hpp new file mode 100644 index 0000000..ae61cca --- /dev/null +++ b/LiteLoader/Header/MC/StompEggGoal.hpp @@ -0,0 +1,36 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "BaseMoveToGoal.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class StompEggGoal : public BaseMoveToGoal { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_STOMPEGGGOAL +public: + class StompEggGoal& operator=(class StompEggGoal const &) = delete; + StompEggGoal(class StompEggGoal const &) = delete; + StompEggGoal() = delete; +#endif + +public: + /*0*/ virtual ~StompEggGoal(); + /*3*/ virtual void __unk_vfn_3(); + /*7*/ virtual void appendDebugInfo(std::string &) const; + /*8*/ virtual void __unk_vfn_8(); + /*9*/ virtual void __unk_vfn_9(); + /*18*/ virtual void _createBreakProgressParticles(class Level &, class BlockSource &, class BlockPos); + /*19*/ virtual void _createDestroyParticles(class Level &, class BlockSource &, class BlockPos); + /*20*/ virtual void _playBreakProgressSound(class Level &, class BlockSource &, class BlockPos); + /*21*/ virtual void _playDestroySound(class Level &, class BlockSource &, class BlockPos); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_STOMPEGGGOAL +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/StoneBlock.hpp b/LiteLoader/Header/MC/StoneBlock.hpp new file mode 100644 index 0000000..bc96b41 --- /dev/null +++ b/LiteLoader/Header/MC/StoneBlock.hpp @@ -0,0 +1,62 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "BlockLegacy.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class StoneBlock : public BlockLegacy { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_STONEBLOCK +public: + class StoneBlock& operator=(class StoneBlock const &) = delete; + StoneBlock(class StoneBlock const &) = delete; + StoneBlock() = delete; +#endif + +public: + /*0*/ virtual ~StoneBlock(); + /*18*/ virtual void __unk_vfn_18(); + /*24*/ virtual void __unk_vfn_24(); + /*25*/ virtual void __unk_vfn_25(); + /*26*/ virtual void __unk_vfn_26(); + /*27*/ virtual void __unk_vfn_27(); + /*28*/ virtual void __unk_vfn_28(); + /*30*/ virtual void __unk_vfn_30(); + /*31*/ virtual void __unk_vfn_31(); + /*32*/ virtual void __unk_vfn_32(); + /*33*/ virtual void __unk_vfn_33(); + /*34*/ virtual void __unk_vfn_34(); + /*35*/ virtual void __unk_vfn_35(); + /*36*/ virtual void __unk_vfn_36(); + /*38*/ virtual void __unk_vfn_38(); + /*39*/ virtual void __unk_vfn_39(); + /*40*/ virtual void __unk_vfn_40(); + /*42*/ virtual void __unk_vfn_42(); + /*43*/ virtual void __unk_vfn_43(); + /*49*/ virtual void __unk_vfn_49(); + /*52*/ virtual void __unk_vfn_52(); + /*67*/ virtual void __unk_vfn_67(); + /*73*/ virtual void __unk_vfn_73(); + /*87*/ virtual void __unk_vfn_87(); + /*91*/ virtual class ItemInstance getResourceItem(class Random &, class Block const &, int) const; + /*95*/ virtual void __unk_vfn_95(); + /*109*/ virtual void __unk_vfn_109(); + /*116*/ virtual void __unk_vfn_116(); + /*118*/ virtual void __unk_vfn_118(); + /*119*/ virtual void __unk_vfn_119(); + /*127*/ virtual std::string buildDescriptionId(class Block const &) const; + /*128*/ virtual bool isAuxValueRelevantForPicking() const; + /*142*/ virtual void __unk_vfn_142(); + /*158*/ virtual void __unk_vfn_158(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_STONEBLOCK + MCVAPI bool canBeOriginalSurface() const; +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/StoneBrickBlock.hpp b/LiteLoader/Header/MC/StoneBrickBlock.hpp new file mode 100644 index 0000000..e171a16 --- /dev/null +++ b/LiteLoader/Header/MC/StoneBrickBlock.hpp @@ -0,0 +1,62 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "BlockLegacy.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class StoneBrickBlock : public BlockLegacy { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_STONEBRICKBLOCK +public: + class StoneBrickBlock& operator=(class StoneBrickBlock const &) = delete; + StoneBrickBlock(class StoneBrickBlock const &) = delete; + StoneBrickBlock() = delete; +#endif + +public: + /*0*/ virtual ~StoneBrickBlock(); + /*18*/ virtual void __unk_vfn_18(); + /*24*/ virtual void __unk_vfn_24(); + /*25*/ virtual void __unk_vfn_25(); + /*26*/ virtual void __unk_vfn_26(); + /*27*/ virtual void __unk_vfn_27(); + /*28*/ virtual void __unk_vfn_28(); + /*30*/ virtual void __unk_vfn_30(); + /*31*/ virtual void __unk_vfn_31(); + /*32*/ virtual void __unk_vfn_32(); + /*33*/ virtual void __unk_vfn_33(); + /*34*/ virtual void __unk_vfn_34(); + /*35*/ virtual void __unk_vfn_35(); + /*36*/ virtual void __unk_vfn_36(); + /*38*/ virtual void __unk_vfn_38(); + /*39*/ virtual void __unk_vfn_39(); + /*40*/ virtual void __unk_vfn_40(); + /*42*/ virtual void __unk_vfn_42(); + /*43*/ virtual void __unk_vfn_43(); + /*49*/ virtual void __unk_vfn_49(); + /*52*/ virtual void __unk_vfn_52(); + /*67*/ virtual void __unk_vfn_67(); + /*73*/ virtual void __unk_vfn_73(); + /*87*/ virtual void __unk_vfn_87(); + /*91*/ virtual class ItemInstance getResourceItem(class Random &, class Block const &, int) const; + /*95*/ virtual void __unk_vfn_95(); + /*109*/ virtual void __unk_vfn_109(); + /*116*/ virtual void __unk_vfn_116(); + /*118*/ virtual void __unk_vfn_118(); + /*119*/ virtual void __unk_vfn_119(); + /*127*/ virtual std::string buildDescriptionId(class Block const &) const; + /*128*/ virtual bool isAuxValueRelevantForPicking() const; + /*142*/ virtual void __unk_vfn_142(); + /*158*/ virtual void __unk_vfn_158(); + /*159*/ virtual class ItemInstance getSilkTouchItemInstance(class Block const &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_STONEBRICKBLOCK +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/StoneButtonBlock.hpp b/LiteLoader/Header/MC/StoneButtonBlock.hpp new file mode 100644 index 0000000..d954c70 --- /dev/null +++ b/LiteLoader/Header/MC/StoneButtonBlock.hpp @@ -0,0 +1,59 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "ButtonBlock.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class StoneButtonBlock : public ButtonBlock { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_STONEBUTTONBLOCK +public: + class StoneButtonBlock& operator=(class StoneButtonBlock const &) = delete; + StoneButtonBlock(class StoneButtonBlock const &) = delete; + StoneButtonBlock() = delete; +#endif + +public: + /*0*/ virtual ~StoneButtonBlock(); + /*18*/ virtual void __unk_vfn_18(); + /*24*/ virtual void __unk_vfn_24(); + /*25*/ virtual void __unk_vfn_25(); + /*26*/ virtual void __unk_vfn_26(); + /*27*/ virtual void __unk_vfn_27(); + /*28*/ virtual void __unk_vfn_28(); + /*30*/ virtual void __unk_vfn_30(); + /*31*/ virtual void __unk_vfn_31(); + /*32*/ virtual void __unk_vfn_32(); + /*33*/ virtual void __unk_vfn_33(); + /*34*/ virtual void __unk_vfn_34(); + /*35*/ virtual void __unk_vfn_35(); + /*36*/ virtual void __unk_vfn_36(); + /*38*/ virtual void __unk_vfn_38(); + /*39*/ virtual void __unk_vfn_39(); + /*40*/ virtual void __unk_vfn_40(); + /*42*/ virtual void __unk_vfn_42(); + /*43*/ virtual void __unk_vfn_43(); + /*49*/ virtual void __unk_vfn_49(); + /*52*/ virtual void __unk_vfn_52(); + /*67*/ virtual void __unk_vfn_67(); + /*73*/ virtual void __unk_vfn_73(); + /*87*/ virtual void __unk_vfn_87(); + /*95*/ virtual void __unk_vfn_95(); + /*109*/ virtual void __unk_vfn_109(); + /*116*/ virtual void __unk_vfn_116(); + /*118*/ virtual void __unk_vfn_118(); + /*119*/ virtual void __unk_vfn_119(); + /*142*/ virtual void __unk_vfn_142(); + /*158*/ virtual void __unk_vfn_158(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_STONEBUTTONBLOCK +#endif + MCAPI StoneButtonBlock(std::string const &, int); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/StoneSlabBlock.hpp b/LiteLoader/Header/MC/StoneSlabBlock.hpp new file mode 100644 index 0000000..6ecfe3c --- /dev/null +++ b/LiteLoader/Header/MC/StoneSlabBlock.hpp @@ -0,0 +1,66 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "SlabBlock.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class StoneSlabBlock : public SlabBlock { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_STONESLABBLOCK +public: + class StoneSlabBlock& operator=(class StoneSlabBlock const &) = delete; + StoneSlabBlock(class StoneSlabBlock const &) = delete; + StoneSlabBlock() = delete; +#endif + +public: + /*0*/ virtual ~StoneSlabBlock(); + /*18*/ virtual void __unk_vfn_18(); + /*24*/ virtual void __unk_vfn_24(); + /*25*/ virtual void __unk_vfn_25(); + /*26*/ virtual void __unk_vfn_26(); + /*27*/ virtual void __unk_vfn_27(); + /*28*/ virtual void __unk_vfn_28(); + /*30*/ virtual void __unk_vfn_30(); + /*31*/ virtual void __unk_vfn_31(); + /*32*/ virtual void __unk_vfn_32(); + /*33*/ virtual void __unk_vfn_33(); + /*34*/ virtual void __unk_vfn_34(); + /*35*/ virtual void __unk_vfn_35(); + /*36*/ virtual void __unk_vfn_36(); + /*38*/ virtual void __unk_vfn_38(); + /*39*/ virtual void __unk_vfn_39(); + /*40*/ virtual void __unk_vfn_40(); + /*42*/ virtual void __unk_vfn_42(); + /*43*/ virtual void __unk_vfn_43(); + /*44*/ virtual bool isValidAuxValue(int) const; + /*49*/ virtual void __unk_vfn_49(); + /*52*/ virtual void __unk_vfn_52(); + /*67*/ virtual void __unk_vfn_67(); + /*73*/ virtual void __unk_vfn_73(); + /*87*/ virtual void __unk_vfn_87(); + /*91*/ virtual class ItemInstance getResourceItem(class Random &, class Block const &, int) const; + /*92*/ virtual class ItemInstance asItemInstance(class BlockSource &, class BlockPos const &, class Block const &) const; + /*95*/ virtual void __unk_vfn_95(); + /*109*/ virtual void __unk_vfn_109(); + /*116*/ virtual void __unk_vfn_116(); + /*118*/ virtual void __unk_vfn_118(); + /*119*/ virtual void __unk_vfn_119(); + /*127*/ virtual std::string buildDescriptionId(class Block const &) const; + /*141*/ virtual int getVariant(class Block const &) const; + /*142*/ virtual void __unk_vfn_142(); + /*158*/ virtual void __unk_vfn_158(); + /*159*/ virtual class ItemInstance getSilkTouchItemInstance(class Block const &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_STONESLABBLOCK +#endif + MCAPI StoneSlabBlock(std::string const &, int, bool, class WeakPtr); + MCAPI static class std::array const SLAB_NAMES; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/StoneSlabBlock2.hpp b/LiteLoader/Header/MC/StoneSlabBlock2.hpp new file mode 100644 index 0000000..277eebe --- /dev/null +++ b/LiteLoader/Header/MC/StoneSlabBlock2.hpp @@ -0,0 +1,66 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "SlabBlock.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class StoneSlabBlock2 : public SlabBlock { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_STONESLABBLOCK2 +public: + class StoneSlabBlock2& operator=(class StoneSlabBlock2 const &) = delete; + StoneSlabBlock2(class StoneSlabBlock2 const &) = delete; + StoneSlabBlock2() = delete; +#endif + +public: + /*0*/ virtual ~StoneSlabBlock2(); + /*18*/ virtual void __unk_vfn_18(); + /*24*/ virtual void __unk_vfn_24(); + /*25*/ virtual void __unk_vfn_25(); + /*26*/ virtual void __unk_vfn_26(); + /*27*/ virtual void __unk_vfn_27(); + /*28*/ virtual void __unk_vfn_28(); + /*30*/ virtual void __unk_vfn_30(); + /*31*/ virtual void __unk_vfn_31(); + /*32*/ virtual void __unk_vfn_32(); + /*33*/ virtual void __unk_vfn_33(); + /*34*/ virtual void __unk_vfn_34(); + /*35*/ virtual void __unk_vfn_35(); + /*36*/ virtual void __unk_vfn_36(); + /*38*/ virtual void __unk_vfn_38(); + /*39*/ virtual void __unk_vfn_39(); + /*40*/ virtual void __unk_vfn_40(); + /*42*/ virtual void __unk_vfn_42(); + /*43*/ virtual void __unk_vfn_43(); + /*44*/ virtual bool isValidAuxValue(int) const; + /*49*/ virtual void __unk_vfn_49(); + /*52*/ virtual void __unk_vfn_52(); + /*67*/ virtual void __unk_vfn_67(); + /*73*/ virtual void __unk_vfn_73(); + /*87*/ virtual void __unk_vfn_87(); + /*91*/ virtual class ItemInstance getResourceItem(class Random &, class Block const &, int) const; + /*92*/ virtual class ItemInstance asItemInstance(class BlockSource &, class BlockPos const &, class Block const &) const; + /*95*/ virtual void __unk_vfn_95(); + /*109*/ virtual void __unk_vfn_109(); + /*116*/ virtual void __unk_vfn_116(); + /*118*/ virtual void __unk_vfn_118(); + /*119*/ virtual void __unk_vfn_119(); + /*127*/ virtual std::string buildDescriptionId(class Block const &) const; + /*141*/ virtual int getVariant(class Block const &) const; + /*142*/ virtual void __unk_vfn_142(); + /*158*/ virtual void __unk_vfn_158(); + /*159*/ virtual class ItemInstance getSilkTouchItemInstance(class Block const &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_STONESLABBLOCK2 +#endif + MCAPI StoneSlabBlock2(std::string const &, int, bool, class WeakPtr); + MCAPI static class std::array const SLAB_NAMES; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/StoneSlabBlock3.hpp b/LiteLoader/Header/MC/StoneSlabBlock3.hpp new file mode 100644 index 0000000..1c32c03 --- /dev/null +++ b/LiteLoader/Header/MC/StoneSlabBlock3.hpp @@ -0,0 +1,66 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "SlabBlock.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class StoneSlabBlock3 : public SlabBlock { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_STONESLABBLOCK3 +public: + class StoneSlabBlock3& operator=(class StoneSlabBlock3 const &) = delete; + StoneSlabBlock3(class StoneSlabBlock3 const &) = delete; + StoneSlabBlock3() = delete; +#endif + +public: + /*0*/ virtual ~StoneSlabBlock3(); + /*18*/ virtual void __unk_vfn_18(); + /*24*/ virtual void __unk_vfn_24(); + /*25*/ virtual void __unk_vfn_25(); + /*26*/ virtual void __unk_vfn_26(); + /*27*/ virtual void __unk_vfn_27(); + /*28*/ virtual void __unk_vfn_28(); + /*30*/ virtual void __unk_vfn_30(); + /*31*/ virtual void __unk_vfn_31(); + /*32*/ virtual void __unk_vfn_32(); + /*33*/ virtual void __unk_vfn_33(); + /*34*/ virtual void __unk_vfn_34(); + /*35*/ virtual void __unk_vfn_35(); + /*36*/ virtual void __unk_vfn_36(); + /*38*/ virtual void __unk_vfn_38(); + /*39*/ virtual void __unk_vfn_39(); + /*40*/ virtual void __unk_vfn_40(); + /*42*/ virtual void __unk_vfn_42(); + /*43*/ virtual void __unk_vfn_43(); + /*44*/ virtual bool isValidAuxValue(int) const; + /*49*/ virtual void __unk_vfn_49(); + /*52*/ virtual void __unk_vfn_52(); + /*67*/ virtual void __unk_vfn_67(); + /*73*/ virtual void __unk_vfn_73(); + /*87*/ virtual void __unk_vfn_87(); + /*91*/ virtual class ItemInstance getResourceItem(class Random &, class Block const &, int) const; + /*92*/ virtual class ItemInstance asItemInstance(class BlockSource &, class BlockPos const &, class Block const &) const; + /*95*/ virtual void __unk_vfn_95(); + /*109*/ virtual void __unk_vfn_109(); + /*116*/ virtual void __unk_vfn_116(); + /*118*/ virtual void __unk_vfn_118(); + /*119*/ virtual void __unk_vfn_119(); + /*127*/ virtual std::string buildDescriptionId(class Block const &) const; + /*141*/ virtual int getVariant(class Block const &) const; + /*142*/ virtual void __unk_vfn_142(); + /*158*/ virtual void __unk_vfn_158(); + /*159*/ virtual class ItemInstance getSilkTouchItemInstance(class Block const &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_STONESLABBLOCK3 +#endif + MCAPI StoneSlabBlock3(std::string const &, int, bool, class WeakPtr); + MCAPI static class std::array const SLAB_NAMES; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/StoneSlabBlock4.hpp b/LiteLoader/Header/MC/StoneSlabBlock4.hpp new file mode 100644 index 0000000..f1790be --- /dev/null +++ b/LiteLoader/Header/MC/StoneSlabBlock4.hpp @@ -0,0 +1,66 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "SlabBlock.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class StoneSlabBlock4 : public SlabBlock { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_STONESLABBLOCK4 +public: + class StoneSlabBlock4& operator=(class StoneSlabBlock4 const &) = delete; + StoneSlabBlock4(class StoneSlabBlock4 const &) = delete; + StoneSlabBlock4() = delete; +#endif + +public: + /*0*/ virtual ~StoneSlabBlock4(); + /*18*/ virtual void __unk_vfn_18(); + /*24*/ virtual void __unk_vfn_24(); + /*25*/ virtual void __unk_vfn_25(); + /*26*/ virtual void __unk_vfn_26(); + /*27*/ virtual void __unk_vfn_27(); + /*28*/ virtual void __unk_vfn_28(); + /*30*/ virtual void __unk_vfn_30(); + /*31*/ virtual void __unk_vfn_31(); + /*32*/ virtual void __unk_vfn_32(); + /*33*/ virtual void __unk_vfn_33(); + /*34*/ virtual void __unk_vfn_34(); + /*35*/ virtual void __unk_vfn_35(); + /*36*/ virtual void __unk_vfn_36(); + /*38*/ virtual void __unk_vfn_38(); + /*39*/ virtual void __unk_vfn_39(); + /*40*/ virtual void __unk_vfn_40(); + /*42*/ virtual void __unk_vfn_42(); + /*43*/ virtual void __unk_vfn_43(); + /*44*/ virtual bool isValidAuxValue(int) const; + /*49*/ virtual void __unk_vfn_49(); + /*52*/ virtual void __unk_vfn_52(); + /*67*/ virtual void __unk_vfn_67(); + /*73*/ virtual void __unk_vfn_73(); + /*87*/ virtual void __unk_vfn_87(); + /*91*/ virtual class ItemInstance getResourceItem(class Random &, class Block const &, int) const; + /*92*/ virtual class ItemInstance asItemInstance(class BlockSource &, class BlockPos const &, class Block const &) const; + /*95*/ virtual void __unk_vfn_95(); + /*109*/ virtual void __unk_vfn_109(); + /*116*/ virtual void __unk_vfn_116(); + /*118*/ virtual void __unk_vfn_118(); + /*119*/ virtual void __unk_vfn_119(); + /*127*/ virtual std::string buildDescriptionId(class Block const &) const; + /*141*/ virtual int getVariant(class Block const &) const; + /*142*/ virtual void __unk_vfn_142(); + /*158*/ virtual void __unk_vfn_158(); + /*159*/ virtual class ItemInstance getSilkTouchItemInstance(class Block const &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_STONESLABBLOCK4 +#endif + MCAPI StoneSlabBlock4(std::string const &, int, bool, class WeakPtr); + MCAPI static class std::array const SLAB_NAMES; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/StoneSlabBlockItem.hpp b/LiteLoader/Header/MC/StoneSlabBlockItem.hpp new file mode 100644 index 0000000..5d42a59 --- /dev/null +++ b/LiteLoader/Header/MC/StoneSlabBlockItem.hpp @@ -0,0 +1,45 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "BlockItem.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class StoneSlabBlockItem : public BlockItem { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_STONESLABBLOCKITEM +public: + class StoneSlabBlockItem& operator=(class StoneSlabBlockItem const &) = delete; + StoneSlabBlockItem(class StoneSlabBlockItem const &) = delete; + StoneSlabBlockItem() = delete; +#endif + +public: + /*0*/ virtual ~StoneSlabBlockItem(); + /*5*/ virtual void __unk_vfn_5(); + /*21*/ virtual int getLevelDataForAuxValue(int) const; + /*26*/ virtual void __unk_vfn_26(); + /*27*/ virtual void __unk_vfn_27(); + /*31*/ virtual void __unk_vfn_31(); + /*32*/ virtual void __unk_vfn_32(); + /*34*/ virtual void __unk_vfn_34(); + /*37*/ virtual void __unk_vfn_37(); + /*43*/ virtual void __unk_vfn_43(); + /*46*/ virtual void __unk_vfn_46(); + /*47*/ virtual void __unk_vfn_47(); + /*49*/ virtual void __unk_vfn_49(); + /*50*/ virtual void __unk_vfn_50(); + /*79*/ virtual void __unk_vfn_79(); + /*80*/ virtual void __unk_vfn_80(); + /*90*/ virtual void __unk_vfn_90(); + /*97*/ virtual void __unk_vfn_97(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_STONESLABBLOCKITEM +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/StonecutterBlock.hpp b/LiteLoader/Header/MC/StonecutterBlock.hpp new file mode 100644 index 0000000..f025ee5 --- /dev/null +++ b/LiteLoader/Header/MC/StonecutterBlock.hpp @@ -0,0 +1,68 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "BlockLegacy.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class StonecutterBlock : public BlockLegacy { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_STONECUTTERBLOCK +public: + class StonecutterBlock& operator=(class StonecutterBlock const &) = delete; + StonecutterBlock(class StonecutterBlock const &) = delete; + StonecutterBlock() = delete; +#endif + +public: + /*0*/ virtual ~StonecutterBlock(); + /*10*/ virtual class AABB const & getAABB(class BlockSource &, class BlockPos const &, class Block const &, class AABB &, bool) const; + /*18*/ virtual void __unk_vfn_18(); + /*24*/ virtual void __unk_vfn_24(); + /*25*/ virtual void __unk_vfn_25(); + /*26*/ virtual void __unk_vfn_26(); + /*27*/ virtual void __unk_vfn_27(); + /*28*/ virtual void __unk_vfn_28(); + /*30*/ virtual void __unk_vfn_30(); + /*31*/ virtual void __unk_vfn_31(); + /*32*/ virtual void __unk_vfn_32(); + /*33*/ virtual void __unk_vfn_33(); + /*34*/ virtual void __unk_vfn_34(); + /*35*/ virtual void __unk_vfn_35(); + /*36*/ virtual void __unk_vfn_36(); + /*38*/ virtual void __unk_vfn_38(); + /*39*/ virtual void __unk_vfn_39(); + /*40*/ virtual void __unk_vfn_40(); + /*42*/ virtual void __unk_vfn_42(); + /*43*/ virtual void __unk_vfn_43(); + /*49*/ virtual void __unk_vfn_49(); + /*50*/ virtual bool canContainLiquid() const; + /*52*/ virtual void __unk_vfn_52(); + /*67*/ virtual void __unk_vfn_67(); + /*73*/ virtual void __unk_vfn_73(); + /*86*/ virtual bool playerWillDestroy(class Player &, class BlockPos const &, class Block const &) const; + /*87*/ virtual void __unk_vfn_87(); + /*95*/ virtual void __unk_vfn_95(); + /*98*/ virtual bool use(class Player &, class BlockPos const &) const; + /*99*/ virtual class Block const & getPlacementBlock(class Actor &, class BlockPos const &, unsigned char, class Vec3 const &, int) const; + /*105*/ virtual void playerDestroy(class Player &, class BlockPos const &, class Block const &) const; + /*109*/ virtual void __unk_vfn_109(); + /*116*/ virtual void __unk_vfn_116(); + /*118*/ virtual void __unk_vfn_118(); + /*119*/ virtual void __unk_vfn_119(); + /*138*/ virtual class AABB const & getVisualShape(class Block const &, class AABB &, bool) const; + /*142*/ virtual void __unk_vfn_142(); + /*158*/ virtual void __unk_vfn_158(); + /*159*/ virtual class ItemInstance getSilkTouchItemInstance(class Block const &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_STONECUTTERBLOCK + MCVAPI bool isCraftingBlock() const; + MCVAPI bool isInteractiveBlock() const; +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/StonecutterContainerManagerModel.hpp b/LiteLoader/Header/MC/StonecutterContainerManagerModel.hpp new file mode 100644 index 0000000..4d3cc1f --- /dev/null +++ b/LiteLoader/Header/MC/StonecutterContainerManagerModel.hpp @@ -0,0 +1,35 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "ContainerManagerModel.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class StonecutterContainerManagerModel : public ContainerManagerModel { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_STONECUTTERCONTAINERMANAGERMODEL +public: + class StonecutterContainerManagerModel& operator=(class StonecutterContainerManagerModel const &) = delete; + StonecutterContainerManagerModel(class StonecutterContainerManagerModel const &) = delete; + StonecutterContainerManagerModel() = delete; +#endif + +public: + /*0*/ virtual ~StonecutterContainerManagerModel(); + /*6*/ virtual std::vector getItemCopies() const; + /*7*/ virtual void setSlot(int, class ItemStack const &, bool); + /*8*/ virtual class ItemStack const & getSlot(int) const; + /*9*/ virtual void setData(int, int); + /*10*/ virtual void broadcastChanges(); + /*11*/ virtual bool isValid(float); + /*12*/ virtual class ContainerScreenContext _postInit(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_STONECUTTERCONTAINERMANAGERMODEL +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/StopCommand.hpp b/LiteLoader/Header/MC/StopCommand.hpp new file mode 100644 index 0000000..006a8f0 --- /dev/null +++ b/LiteLoader/Header/MC/StopCommand.hpp @@ -0,0 +1,35 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Command.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class StopCommand : public Command { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_STOPCOMMAND +public: + class StopCommand& operator=(class StopCommand const &) = delete; + StopCommand(class StopCommand const &) = delete; + StopCommand() = delete; +#endif + +public: + /*0*/ virtual ~StopCommand(); + /*1*/ virtual void execute(class CommandOrigin const &, class CommandOutput &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_STOPCOMMAND +#endif + MCAPI static void setup(class CommandRegistry &, class DedicatedServer &); + +//private: + +private: + MCAPI static class DedicatedServer * mServer; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/StopSoundCommand.hpp b/LiteLoader/Header/MC/StopSoundCommand.hpp new file mode 100644 index 0000000..49d659a --- /dev/null +++ b/LiteLoader/Header/MC/StopSoundCommand.hpp @@ -0,0 +1,30 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Command.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class StopSoundCommand : public Command { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_STOPSOUNDCOMMAND +public: + class StopSoundCommand& operator=(class StopSoundCommand const &) = delete; + StopSoundCommand(class StopSoundCommand const &) = delete; + StopSoundCommand() = delete; +#endif + +public: + /*0*/ virtual ~StopSoundCommand(); + /*1*/ virtual void execute(class CommandOrigin const &, class CommandOutput &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_STOPSOUNDCOMMAND +#endif + MCAPI static void setup(class CommandRegistry &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/StopSoundPacket.hpp b/LiteLoader/Header/MC/StopSoundPacket.hpp new file mode 100644 index 0000000..a57652e --- /dev/null +++ b/LiteLoader/Header/MC/StopSoundPacket.hpp @@ -0,0 +1,32 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Packet.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class StopSoundPacket : public Packet { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_STOPSOUNDPACKET +public: + class StopSoundPacket& operator=(class StopSoundPacket const &) = delete; + StopSoundPacket(class StopSoundPacket const &) = delete; + StopSoundPacket() = delete; +#endif + +public: + /*0*/ virtual ~StopSoundPacket(); + /*1*/ virtual enum MinecraftPacketIds getId() const; + /*2*/ virtual std::string getName() const; + /*3*/ virtual void write(class BinaryStream &) const; + /*4*/ virtual enum StreamReadResult read(class ReadOnlyBinaryStream &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_STOPSOUNDPACKET +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/Stopwatch.hpp b/LiteLoader/Header/MC/Stopwatch.hpp new file mode 100644 index 0000000..f250da7 --- /dev/null +++ b/LiteLoader/Header/MC/Stopwatch.hpp @@ -0,0 +1,30 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class Stopwatch { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_STOPWATCH +public: + class Stopwatch& operator=(class Stopwatch const &) = delete; + Stopwatch(class Stopwatch const &) = delete; + Stopwatch() = delete; +#endif + +public: + /*0*/ virtual ~Stopwatch(); + /*1*/ virtual double stop(); + /*2*/ virtual double stopContinue(); + /*3*/ virtual void print(std::string const &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_STOPWATCH +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/StrengthDescription.hpp b/LiteLoader/Header/MC/StrengthDescription.hpp new file mode 100644 index 0000000..6903413 --- /dev/null +++ b/LiteLoader/Header/MC/StrengthDescription.hpp @@ -0,0 +1,30 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Json.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +struct StrengthDescription { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_STRENGTHDESCRIPTION +public: + struct StrengthDescription& operator=(struct StrengthDescription const &) = delete; + StrengthDescription(struct StrengthDescription const &) = delete; + StrengthDescription() = delete; +#endif +public: + /*0*/ virtual char const * getJsonName() const; + /*1*/ virtual ~StrengthDescription(); + /*2*/ virtual void deserializeData(class Json::Value &); + /*3*/ virtual void serializeData(class Json::Value &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_STRENGTHDESCRIPTION +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/Strider.hpp b/LiteLoader/Header/MC/Strider.hpp new file mode 100644 index 0000000..4aef982 --- /dev/null +++ b/LiteLoader/Header/MC/Strider.hpp @@ -0,0 +1,55 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Actor.hpp" +#include "Animal.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class Strider : public Animal { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_STRIDER +public: + class Strider& operator=(class Strider const &) = delete; + Strider(class Strider const &) = delete; + Strider() = delete; +#endif + +public: + /*7*/ virtual ~Strider(); + /*30*/ virtual void __unk_vfn_30(); + /*54*/ virtual void __unk_vfn_54(); + /*61*/ virtual void __unk_vfn_61(); + /*76*/ virtual void __unk_vfn_76(); + /*81*/ virtual void __unk_vfn_81(); + /*88*/ virtual void __unk_vfn_88(); + /*90*/ virtual void __unk_vfn_90(); + /*98*/ virtual void __unk_vfn_98(); + /*100*/ virtual void __unk_vfn_100(); + /*121*/ virtual void __unk_vfn_121(); + /*169*/ virtual void __unk_vfn_169(); + /*182*/ virtual void __unk_vfn_182(); + /*206*/ virtual void __unk_vfn_206(); + /*207*/ virtual void __unk_vfn_207(); + /*228*/ virtual void __unk_vfn_228(); + /*231*/ virtual void __unk_vfn_231(); + /*236*/ virtual bool shouldTryMakeStepSound(); + /*237*/ virtual float getNextStep(float); + /*238*/ virtual void __unk_vfn_238(); + /*244*/ virtual void _playStepSound(class BlockPos const &, class Block const &); + /*246*/ virtual void __unk_vfn_246(); + /*257*/ virtual void __unk_vfn_257(); + /*290*/ virtual void __unk_vfn_290(); + /*300*/ virtual void __unk_vfn_300(); + /*330*/ virtual float _getWalkTargetValue(class BlockPos const &); + /*332*/ virtual void __unk_vfn_332(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_STRIDER +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/StringByteInput.hpp b/LiteLoader/Header/MC/StringByteInput.hpp new file mode 100644 index 0000000..833bb04 --- /dev/null +++ b/LiteLoader/Header/MC/StringByteInput.hpp @@ -0,0 +1,39 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "BytesDataInput.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class StringByteInput : public BytesDataInput { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_STRINGBYTEINPUT +public: + class StringByteInput& operator=(class StringByteInput const &) = delete; + StringByteInput(class StringByteInput const &) = delete; + StringByteInput() = delete; +#endif + +public: + /*0*/ virtual ~StringByteInput(); + /*1*/ virtual std::string readString(); + /*2*/ virtual std::string readLongString(); + /*3*/ virtual float readFloat(); + /*4*/ virtual double readDouble(); + /*5*/ virtual char readByte(); + /*6*/ virtual short readShort(); + /*7*/ virtual int readInt(); + /*8*/ virtual __int64 readLongLong(); + /*9*/ virtual bool readBytes(void *, unsigned __int64); + /*10*/ virtual unsigned __int64 numBytesLeft() const; + /*11*/ virtual bool readBigEndianBytes(void *, unsigned __int64); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_STRINGBYTEINPUT +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/StringByteOutput.hpp b/LiteLoader/Header/MC/StringByteOutput.hpp new file mode 100644 index 0000000..fcc873b --- /dev/null +++ b/LiteLoader/Header/MC/StringByteOutput.hpp @@ -0,0 +1,37 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "BytesDataOutput.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class StringByteOutput : public BytesDataOutput { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_STRINGBYTEOUTPUT +public: + class StringByteOutput& operator=(class StringByteOutput const &) = delete; + StringByteOutput(class StringByteOutput const &) = delete; + StringByteOutput() = delete; +#endif + +public: + /*0*/ virtual ~StringByteOutput(); + /*1*/ virtual void writeString(class gsl::basic_string_span); + /*2*/ virtual void writeLongString(class gsl::basic_string_span); + /*3*/ virtual void writeFloat(float); + /*4*/ virtual void writeDouble(double); + /*5*/ virtual void writeByte(char); + /*6*/ virtual void writeShort(short); + /*7*/ virtual void writeInt(int); + /*8*/ virtual void writeLongLong(__int64); + /*9*/ virtual void writeBytes(void const *, unsigned __int64); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_STRINGBYTEOUTPUT +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/StringKey.hpp b/LiteLoader/Header/MC/StringKey.hpp new file mode 100644 index 0000000..5a53d89 --- /dev/null +++ b/LiteLoader/Header/MC/StringKey.hpp @@ -0,0 +1,27 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class StringKey { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_STRINGKEY +public: + class StringKey& operator=(class StringKey const &) = delete; + StringKey(class StringKey const &) = delete; + StringKey() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_STRINGKEY +#endif + MCAPI ~StringKey(); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/StringTag.hpp b/LiteLoader/Header/MC/StringTag.hpp new file mode 100644 index 0000000..78c83fa --- /dev/null +++ b/LiteLoader/Header/MC/StringTag.hpp @@ -0,0 +1,46 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Tag.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class StringTag : public Tag { + +#define AFTER_EXTRA +// Add Member There +string val; + +public: + LIAPI std::string& value(); + LIAPI StringTag& operator=(std::string const& val); + LIAPI static std::unique_ptr create(std::string val = ""); + LIAPI bool set(std::string const& val); + LIAPI std::string get(); + LIAPI operator std::string() const; + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_STRINGTAG +public: + class StringTag& operator=(class StringTag const &) = delete; + StringTag(class StringTag const &) = delete; + StringTag() = delete; +#endif + +public: + /*0*/ virtual ~StringTag(); + /*2*/ virtual void write(class IDataOutput &) const; + /*3*/ virtual void load(class IDataInput &); + /*4*/ virtual std::string toString() const; + /*5*/ virtual enum Tag::Type getId() const; + /*6*/ virtual bool equals(class Tag const &) const; + /*9*/ virtual std::unique_ptr copy() const; + /*10*/ virtual unsigned __int64 hash() const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_STRINGTAG +#endif + MCAPI StringTag(std::string); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/StrippedLogBlock.hpp b/LiteLoader/Header/MC/StrippedLogBlock.hpp new file mode 100644 index 0000000..679a6fe --- /dev/null +++ b/LiteLoader/Header/MC/StrippedLogBlock.hpp @@ -0,0 +1,64 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "RotatedPillarBlock.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class StrippedLogBlock : public RotatedPillarBlock { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_STRIPPEDLOGBLOCK +public: + class StrippedLogBlock& operator=(class StrippedLogBlock const &) = delete; + StrippedLogBlock(class StrippedLogBlock const &) = delete; + StrippedLogBlock() = delete; +#endif + +public: + /*0*/ virtual ~StrippedLogBlock(); + /*18*/ virtual void __unk_vfn_18(); + /*24*/ virtual void __unk_vfn_24(); + /*25*/ virtual void __unk_vfn_25(); + /*26*/ virtual void __unk_vfn_26(); + /*27*/ virtual void __unk_vfn_27(); + /*28*/ virtual void __unk_vfn_28(); + /*30*/ virtual void __unk_vfn_30(); + /*31*/ virtual void __unk_vfn_31(); + /*32*/ virtual void __unk_vfn_32(); + /*33*/ virtual void __unk_vfn_33(); + /*34*/ virtual void __unk_vfn_34(); + /*35*/ virtual void __unk_vfn_35(); + /*36*/ virtual void __unk_vfn_36(); + /*38*/ virtual void __unk_vfn_38(); + /*39*/ virtual void __unk_vfn_39(); + /*40*/ virtual void __unk_vfn_40(); + /*42*/ virtual void __unk_vfn_42(); + /*43*/ virtual void __unk_vfn_43(); + /*49*/ virtual void __unk_vfn_49(); + /*52*/ virtual void __unk_vfn_52(); + /*67*/ virtual void __unk_vfn_67(); + /*73*/ virtual void __unk_vfn_73(); + /*87*/ virtual void __unk_vfn_87(); + /*90*/ virtual int getResourceCount(class Random &, class Block const &, int, bool) const; + /*91*/ virtual class ItemInstance getResourceItem(class Random &, class Block const &, int) const; + /*92*/ virtual class ItemInstance asItemInstance(class BlockSource &, class BlockPos const &, class Block const &) const; + /*95*/ virtual void __unk_vfn_95(); + /*109*/ virtual void __unk_vfn_109(); + /*116*/ virtual void __unk_vfn_116(); + /*118*/ virtual void __unk_vfn_118(); + /*119*/ virtual void __unk_vfn_119(); + /*141*/ virtual int getVariant(class Block const &) const; + /*142*/ virtual void __unk_vfn_142(); + /*158*/ virtual void __unk_vfn_158(); + /*159*/ virtual class ItemInstance getSilkTouchItemInstance(class Block const &) const; + /*164*/ virtual class Color getDustColor(class Block const &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_STRIPPEDLOGBLOCK +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/StrollTowardsVillageGoal.hpp b/LiteLoader/Header/MC/StrollTowardsVillageGoal.hpp new file mode 100644 index 0000000..742b60f --- /dev/null +++ b/LiteLoader/Header/MC/StrollTowardsVillageGoal.hpp @@ -0,0 +1,34 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "MoveToVillageGoal.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class StrollTowardsVillageGoal : public MoveToVillageGoal { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_STROLLTOWARDSVILLAGEGOAL +public: + class StrollTowardsVillageGoal& operator=(class StrollTowardsVillageGoal const &) = delete; + StrollTowardsVillageGoal(class StrollTowardsVillageGoal const &) = delete; + StrollTowardsVillageGoal() = delete; +#endif + +public: + /*0*/ virtual ~StrollTowardsVillageGoal(); + /*1*/ virtual bool canUse(); + /*3*/ virtual void __unk_vfn_3(); + /*7*/ virtual void appendDebugInfo(std::string &) const; + /*8*/ virtual void __unk_vfn_8(); + /*9*/ virtual void __unk_vfn_9(); + /*17*/ virtual class BlockPos _selectRandomPosInVillage(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_STROLLTOWARDSVILLAGEGOAL +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/StrongholdFeature.hpp b/LiteLoader/Header/MC/StrongholdFeature.hpp new file mode 100644 index 0000000..e6e3984 --- /dev/null +++ b/LiteLoader/Header/MC/StrongholdFeature.hpp @@ -0,0 +1,43 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "StructureFeature.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class StrongholdFeature : public StructureFeature { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_STRONGHOLDFEATURE +public: + class StrongholdFeature& operator=(class StrongholdFeature const &) = delete; + StrongholdFeature(class StrongholdFeature const &) = delete; + StrongholdFeature() = delete; +#endif + +public: + /*0*/ virtual ~StrongholdFeature(); + /*3*/ virtual bool getNearestGeneratedFeature(class Dimension &, class BiomeSource &, class BlockPos const &, class BlockPos &); + /*4*/ virtual bool isFeatureChunk(class BiomeSource const &, class Random &, class ChunkPos const &, unsigned int); + /*5*/ virtual std::unique_ptr createStructureStart(class Dimension &, class BiomeSource &, class Random &, class ChunkPos const &); + /*7*/ virtual std::vector getGuesstimatedFeaturePositions(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_STRONGHOLDFEATURE +#endif + +//protected: + MCAPI void generatePositions(class Random &, class BiomeSource const &, unsigned int); + +//private: + MCAPI struct StrongholdFeature::StrongholdResult const _generateStronghold(unsigned int, class ChunkPos const &); + MCAPI bool _getNearestStronghold(unsigned int, class BlockPos const &, class BlockPos &); + +protected: + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/StrongholdPiece.hpp b/LiteLoader/Header/MC/StrongholdPiece.hpp new file mode 100644 index 0000000..d6a0cdd --- /dev/null +++ b/LiteLoader/Header/MC/StrongholdPiece.hpp @@ -0,0 +1,35 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "StructurePiece.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class StrongholdPiece : public StructurePiece { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_STRONGHOLDPIECE +public: + class StrongholdPiece& operator=(class StrongholdPiece const &) = delete; + StrongholdPiece(class StrongholdPiece const &) = delete; + StrongholdPiece() = delete; +#endif + +public: + /*0*/ virtual ~StrongholdPiece(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_STRONGHOLDPIECE +#endif + MCAPI std::unique_ptr findAndCreatePieceFactory(std::string const &, std::vector> &, class Random &, int, int, int, int, int); + MCAPI class StructurePiece * generateAndAddPiece(class SHStartPiece &, std::vector> &, class Random &, int, int, int, int, int); + MCAPI std::unique_ptr generatePieceFromSmallDoor(class SHStartPiece &, std::vector> &, class Random const &, int, int, int, int, int); + MCAPI void generateSmallDoor(class BlockSource &, class Random &, class BoundingBox const &, enum StrongholdPiece::SmallDoorType, int, int, int); + MCAPI class StructurePiece * generateSmallDoorChildForward(class SHStartPiece &, std::vector> &, class Random &, int, int); + MCAPI class StructurePiece * generateSmallDoorChildLeft(class SHStartPiece &, std::vector> &, class Random &, int, int); + MCAPI class StructurePiece * generateSmallDoorChildRight(class SHStartPiece &, std::vector> &, class Random &, int, int); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/StrongholdStart.hpp b/LiteLoader/Header/MC/StrongholdStart.hpp new file mode 100644 index 0000000..7c8f914 --- /dev/null +++ b/LiteLoader/Header/MC/StrongholdStart.hpp @@ -0,0 +1,31 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "StructureStart.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class StrongholdStart : public StructureStart { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_STRONGHOLDSTART +public: + class StrongholdStart& operator=(class StrongholdStart const &) = delete; + StrongholdStart(class StrongholdStart const &) = delete; + StrongholdStart() = delete; +#endif + +public: + /*0*/ virtual ~StrongholdStart(); + /*2*/ virtual bool isValid() const; + /*3*/ virtual enum StructureFeatureType getType() const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_STRONGHOLDSTART +#endif + MCAPI StrongholdStart(class Dimension &, class Random &, int, int); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/StructureBlock.hpp b/LiteLoader/Header/MC/StructureBlock.hpp new file mode 100644 index 0000000..d747e29 --- /dev/null +++ b/LiteLoader/Header/MC/StructureBlock.hpp @@ -0,0 +1,195 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "ActorBlock.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class StructureBlock : public ActorBlock { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_STRUCTUREBLOCK +public: + class StructureBlock& operator=(class StructureBlock const &) = delete; + StructureBlock(class StructureBlock const &) = delete; + StructureBlock() = delete; +#endif + +public: + /*0*/ virtual ~StructureBlock(); + /*1*/ virtual void __unk_vfn_1(); + /*2*/ virtual class Block const & getStateFromLegacyData(unsigned short) const; + /*3*/ virtual class std::shared_ptr newBlockEntity(class BlockPos const &, class Block const &) const; + /*4*/ virtual class Block const * getNextBlockPermutation(class Block const &) const; + /*5*/ virtual bool getCollisionShape(class AABB &, class Block const &, class BlockSource &, class BlockPos const &, class Actor *) const; + /*6*/ virtual bool isObstructingChests(class BlockSource &, class BlockPos const &) const; + /*7*/ virtual void __unk_vfn_7(); + /*8*/ virtual class Vec3 randomlyModifyPosition(class BlockPos const &, int &) const; + /*9*/ virtual void addAABBs(class Block const &, class BlockSource &, class BlockPos const &, class AABB const *, std::vector &) const; + /*10*/ virtual class AABB const & getAABB(class BlockSource &, class BlockPos const &, class Block const &, class AABB &, bool) const; + /*11*/ virtual bool addCollisionShapes(class Block const &, class BlockSource &, class BlockPos const &, class AABB const *, std::vector &, class Actor *) const; + /*12*/ virtual class AABB const & getOutline(class BlockSource &, class BlockPos const &, class AABB &) const; + /*13*/ virtual bool getLiquidClipVolume(class BlockSource &, class BlockPos const &, class AABB &) const; + /*14*/ virtual void __unk_vfn_14(); + /*15*/ virtual void __unk_vfn_15(); + /*16*/ virtual struct Brightness getLightEmission(class Block const &) const; + /*17*/ virtual bool shouldRandomTick() const; + /*18*/ virtual void __unk_vfn_18(); + /*19*/ virtual void __unk_vfn_19(); + /*20*/ virtual void __unk_vfn_20(); + /*21*/ virtual bool canProvideSupport(class Block const &, unsigned char, enum BlockSupportType) const; + /*22*/ virtual bool canConnect(class Block const &, unsigned char, class Block const &) const; + /*23*/ virtual void getConnectedDirections(class Block const &, class BlockPos const &, class BlockSource &, bool &, bool &, bool &, bool &) const; + /*24*/ virtual void __unk_vfn_24(); + /*25*/ virtual void __unk_vfn_25(); + /*26*/ virtual void __unk_vfn_26(); + /*27*/ virtual void __unk_vfn_27(); + /*28*/ virtual void __unk_vfn_28(); + /*29*/ virtual bool isWaterBlocking() const; + /*30*/ virtual void __unk_vfn_30(); + /*31*/ virtual void __unk_vfn_31(); + /*32*/ virtual void __unk_vfn_32(); + /*33*/ virtual void __unk_vfn_33(); + /*34*/ virtual void __unk_vfn_34(); + /*35*/ virtual void __unk_vfn_35(); + /*36*/ virtual void __unk_vfn_36(); + /*37*/ virtual void __unk_vfn_37(); + /*38*/ virtual void __unk_vfn_38(); + /*39*/ virtual void __unk_vfn_39(); + /*40*/ virtual void __unk_vfn_40(); + /*41*/ virtual bool canHurtAndBreakItem() const; + /*42*/ virtual void __unk_vfn_42(); + /*43*/ virtual void __unk_vfn_43(); + /*44*/ virtual void __unk_vfn_44(); + /*45*/ virtual void __unk_vfn_45(); + /*46*/ virtual class Block const & sanitizeFillBlock(class BlockSource &, class BlockPos const &, class Block const &) const; + /*47*/ virtual void __unk_vfn_47(); + /*48*/ virtual void __unk_vfn_48(); + /*49*/ virtual void __unk_vfn_49(); + /*50*/ virtual bool canContainLiquid() const; + /*51*/ virtual void __unk_vfn_51(); + /*52*/ virtual void __unk_vfn_52(); + /*53*/ virtual bool canBeUsedInCommands(bool, class BaseGameVersion const &) const; + /*54*/ virtual float getThickness() const; + /*55*/ virtual void __unk_vfn_55(); + /*56*/ virtual bool checkIsPathable(class Actor &, class BlockPos const &, class BlockPos const &) const; + /*57*/ virtual void __unk_vfn_57(); + /*58*/ virtual void __unk_vfn_58(); + /*59*/ virtual void onPlace(class BlockSource &, class BlockPos const &) const; + /*60*/ virtual void __unk_vfn_60(); + /*61*/ virtual void __unk_vfn_61(); + /*62*/ virtual void __unk_vfn_62(); + /*63*/ virtual void onFallOn(class BlockSource &, class BlockPos const &, class Actor &, float) const; + /*64*/ virtual void __unk_vfn_64(); + /*65*/ virtual void onRedstoneUpdate(class BlockSource &, class BlockPos const &, int, bool) const; + /*66*/ virtual void __unk_vfn_66(); + /*67*/ virtual void __unk_vfn_67(); + /*68*/ virtual void __unk_vfn_68(); + /*69*/ virtual void __unk_vfn_69(); + /*70*/ virtual void setupRedstoneComponent(class BlockSource &, class BlockPos const &) const; + /*71*/ virtual enum BlockProperty getRedstoneProperty(class BlockSource &, class BlockPos const &) const; + /*72*/ virtual void updateEntityAfterFallOn(class BlockSource &, class BlockPos const &, class Actor &) const; + /*73*/ virtual void __unk_vfn_73(); + /*74*/ virtual void __unk_vfn_74(); + /*75*/ virtual void __unk_vfn_75(); + /*76*/ virtual void __unk_vfn_76(); + /*77*/ virtual void __unk_vfn_77(); + /*78*/ virtual bool mayPick(class BlockSource &, class Block const &, bool) const; + /*79*/ virtual void __unk_vfn_79(); + /*80*/ virtual bool mayPlace(class BlockSource &, class BlockPos const &) const; + /*81*/ virtual void __unk_vfn_81(); + /*82*/ virtual void __unk_vfn_82(); + /*83*/ virtual bool tryToPlace(class BlockSource &, class BlockPos const &, class Block const &, struct ActorBlockSyncMessage const *) const; + /*84*/ virtual bool breaksFallingBlocks(class Block const &) const; + /*85*/ virtual void __unk_vfn_85(); + /*86*/ virtual bool playerWillDestroy(class Player &, class BlockPos const &, class Block const &) const; + /*87*/ virtual void __unk_vfn_87(); + /*88*/ virtual void neighborChanged(class BlockSource &, class BlockPos const &, class BlockPos const &) const; + /*89*/ virtual void __unk_vfn_89(); + /*90*/ virtual void __unk_vfn_90(); + /*91*/ virtual void __unk_vfn_91(); + /*92*/ virtual class ItemInstance asItemInstance(class BlockSource &, class BlockPos const &, class Block const &) const; + /*93*/ virtual void spawnResources(class BlockSource &, class BlockPos const &, class Block const &, std::vector *, float, int, bool) const; + /*94*/ virtual void trySpawnResourcesOnExplosion(class BlockSource &, class BlockPos const &, class Block const &, std::vector *, float, int, bool) const; + /*95*/ virtual void __unk_vfn_95(); + /*96*/ virtual void __unk_vfn_96(); + /*97*/ virtual class HitResult clip(class BlockSource &, class BlockPos const &, class Vec3 const &, class Vec3 const &, bool) const; + /*98*/ virtual void __unk_vfn_98(); + /*99*/ virtual class Block const & getPlacementBlock(class Actor &, class BlockPos const &, unsigned char, class Vec3 const &, int) const; + /*100*/ virtual int calcVariant(class BlockSource &, class BlockPos const &) const; + /*101*/ virtual void __unk_vfn_101(); + /*102*/ virtual void __unk_vfn_102(); + /*103*/ virtual void __unk_vfn_103(); + /*104*/ virtual void __unk_vfn_104(); + /*105*/ virtual void playerDestroy(class Player &, class BlockPos const &, class Block const &) const; + /*106*/ virtual void __unk_vfn_106(); + /*107*/ virtual void __unk_vfn_107(); + /*108*/ virtual bool canBeBuiltOver(class BlockSource &, class BlockPos const &) const; + /*109*/ virtual void triggerEvent(class BlockSource &, class BlockPos const &, int, int) const; + /*110*/ virtual void __unk_vfn_110(); + /*111*/ virtual void __unk_vfn_111(); + /*112*/ virtual class MobSpawnerData const * getMobToSpawn(class SpawnConditions const &, class BlockSource &) const; + /*113*/ virtual void __unk_vfn_113(); + /*114*/ virtual void __unk_vfn_114(); + /*115*/ virtual bool shouldStopFalling(class Actor &) const; + /*116*/ virtual void __unk_vfn_116(); + /*117*/ virtual float calcGroundFriction(class Mob &, class BlockPos const &) const; + /*118*/ virtual void __unk_vfn_118(); + /*119*/ virtual void __unk_vfn_119(); + /*120*/ virtual void __unk_vfn_120(); + /*121*/ virtual bool canSlide(class BlockSource &, class BlockPos const &) const; + /*122*/ virtual void __unk_vfn_122(); + /*123*/ virtual void __unk_vfn_123(); + /*124*/ virtual void __unk_vfn_124(); + /*125*/ virtual void __unk_vfn_125(); + /*126*/ virtual void __unk_vfn_126(); + /*127*/ virtual void __unk_vfn_127(); + /*128*/ virtual void __unk_vfn_128(); + /*129*/ virtual void __unk_vfn_129(); + /*130*/ virtual void __unk_vfn_130(); + /*131*/ virtual void __unk_vfn_131(); + /*132*/ virtual int getColorForParticle(class BlockSource &, class BlockPos const &, class Block const &) const; + /*133*/ virtual void __unk_vfn_133(); + /*134*/ virtual void onGraphicsModeChanged(bool, bool, bool); + /*135*/ virtual void __unk_vfn_135(); + /*136*/ virtual float getShadeBrightness() const; + /*137*/ virtual class AABB const & getVisualShapeInWorld(class Block const &, class BlockSource &, class BlockPos const &, class AABB &, bool) const; + /*138*/ virtual class AABB const & getVisualShape(class Block const &, class AABB &, bool) const; + /*139*/ virtual class AABB const & getUIShape(class Block const &, class AABB &) const; + /*140*/ virtual int telemetryVariant(class BlockSource &, class BlockPos const &) const; + /*141*/ virtual int getVariant(class Block const &) const; + /*142*/ virtual void __unk_vfn_142(); + /*143*/ virtual class Block const & getRenderBlock() const; + /*144*/ virtual void __unk_vfn_144(); + /*145*/ virtual void __unk_vfn_145(); + /*146*/ virtual void __unk_vfn_146(); + /*147*/ virtual class BlockLegacy & init(); + /*148*/ virtual class BlockLegacy & setLightBlock(struct Brightness); + /*149*/ virtual class BlockLegacy & setLightEmission(float); + /*150*/ virtual class BlockLegacy & setExplodeable(float); + /*151*/ virtual class BlockLegacy & setDestroyTime(float); + /*152*/ virtual class BlockLegacy & setFriction(float); + /*153*/ virtual class BlockLegacy & addProperty(enum BlockProperty); + /*154*/ virtual class BlockLegacy & addState(class ItemState const &); + /*155*/ virtual class BlockLegacy & addState(class ItemState const &, unsigned __int64); + /*156*/ virtual class BlockLegacy & setAllowsRunes(bool); + /*157*/ virtual class BlockLegacy & setMapColor(class Color const &); + /*158*/ virtual void __unk_vfn_158(); + /*159*/ virtual void __unk_vfn_159(); + /*160*/ virtual void setVisualShape(class AABB const &); + /*161*/ virtual void setVisualShape(class Vec3 const &, class Vec3 const &); + /*162*/ virtual void __unk_vfn_162(); + /*163*/ virtual void __unk_vfn_163(); + /*164*/ virtual class ItemInstance getEntityResourceItem(class Random &, class BlockActor const &, int) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_STRUCTUREBLOCK + MCVAPI int getResourceCount(class Random &, class Block const &, int, bool) const; + MCVAPI bool isInteractiveBlock() const; + MCVAPI bool use(class Player &, class BlockPos const &) const; +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/StructureBlockActor.hpp b/LiteLoader/Header/MC/StructureBlockActor.hpp new file mode 100644 index 0000000..f944ceb --- /dev/null +++ b/LiteLoader/Header/MC/StructureBlockActor.hpp @@ -0,0 +1,49 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "BlockActor.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class StructureBlockActor : public BlockActor { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_STRUCTUREBLOCKACTOR +public: + class StructureBlockActor& operator=(class StructureBlockActor const &) = delete; + StructureBlockActor(class StructureBlockActor const &) = delete; + StructureBlockActor() = delete; +#endif + +public: + /*0*/ virtual ~StructureBlockActor(); + /*1*/ virtual void load(class Level &, class CompoundTag const &, class DataLoadHelper &); + /*2*/ virtual bool save(class CompoundTag &) const; + /*9*/ virtual void onChanged(class BlockSource &); + /*13*/ virtual void __unk_vfn_13(); + /*17*/ virtual void __unk_vfn_17(); + /*29*/ virtual void __unk_vfn_29(); + /*30*/ virtual void __unk_vfn_30(); + /*32*/ virtual void __unk_vfn_32(); + /*33*/ virtual void __unk_vfn_33(); + /*34*/ virtual std::unique_ptr _getUpdatePacket(class BlockSource &); + /*35*/ virtual void _onUpdatePacket(class CompoundTag const &, class BlockSource &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_STRUCTUREBLOCKACTOR +#endif + MCAPI void setPowered(class BlockSource &, class BlockPos const &, bool, bool); + MCAPI static class Color const X_AXIS_COLOR; + MCAPI static class Color const Y_AXIS_COLOR; + MCAPI static class Color const Z_AXIS_COLOR; + +//private: + MCAPI bool _saveStructure(class BlockSource &, class BlockPos const &, bool); + MCAPI void _trigger(class BlockSource &, class BlockPos const &, bool); + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/StructureBlockPalette.hpp b/LiteLoader/Header/MC/StructureBlockPalette.hpp new file mode 100644 index 0000000..5bb14a6 --- /dev/null +++ b/LiteLoader/Header/MC/StructureBlockPalette.hpp @@ -0,0 +1,44 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class StructureBlockPalette { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_STRUCTUREBLOCKPALETTE +public: + class StructureBlockPalette& operator=(class StructureBlockPalette const &) = delete; + StructureBlockPalette(class StructureBlockPalette const &) = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_STRUCTUREBLOCKPALETTE +#endif + MCAPI StructureBlockPalette(); + MCAPI StructureBlockPalette(class StructureBlockPalette &&); + MCAPI unsigned __int64 addMapping(std::unique_ptr); + MCAPI struct StructureBlockPalette::BlockPositionData const * getBlockPositionData(unsigned __int64) const; + MCAPI std::unique_ptr save() const; + MCAPI ~StructureBlockPalette(); + +//protected: + MCAPI enum StructureBlockPaletteLoadResult _parseBlockPalette(class CompoundTag const &); + MCAPI enum StructureBlockPaletteLoadResult _parseBlockPositionData(class CompoundTag const &, int); + MCAPI enum StructureBlockPaletteLoadResult _parseBlockPositionDataList(class CompoundTag const &); + MCAPI void _saveBlockPositionDataList(class CompoundTag &) const; + +//private: + MCAPI void _contentErrorMissingField(std::string const &) const; + +protected: + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/StructureBlockUpdatePacket.hpp b/LiteLoader/Header/MC/StructureBlockUpdatePacket.hpp new file mode 100644 index 0000000..1a60019 --- /dev/null +++ b/LiteLoader/Header/MC/StructureBlockUpdatePacket.hpp @@ -0,0 +1,32 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Packet.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class StructureBlockUpdatePacket : public Packet { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_STRUCTUREBLOCKUPDATEPACKET +public: + class StructureBlockUpdatePacket& operator=(class StructureBlockUpdatePacket const &) = delete; + StructureBlockUpdatePacket(class StructureBlockUpdatePacket const &) = delete; + StructureBlockUpdatePacket() = delete; +#endif + +public: + /*0*/ virtual ~StructureBlockUpdatePacket(); + /*1*/ virtual enum MinecraftPacketIds getId() const; + /*2*/ virtual std::string getName() const; + /*3*/ virtual void write(class BinaryStream &) const; + /*4*/ virtual enum StreamReadResult read(class ReadOnlyBinaryStream &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_STRUCTUREBLOCKUPDATEPACKET +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/StructureDataLoadHelper.hpp b/LiteLoader/Header/MC/StructureDataLoadHelper.hpp new file mode 100644 index 0000000..6b47e0d --- /dev/null +++ b/LiteLoader/Header/MC/StructureDataLoadHelper.hpp @@ -0,0 +1,47 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Direction.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class StructureDataLoadHelper { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_STRUCTUREDATALOADHELPER +public: + class StructureDataLoadHelper& operator=(class StructureDataLoadHelper const &) = delete; + StructureDataLoadHelper(class StructureDataLoadHelper const &) = delete; + StructureDataLoadHelper() = delete; +#endif + +public: + /*0*/ virtual ~StructureDataLoadHelper(); + /*1*/ virtual class Vec3 loadPosition(class Vec3 const &); + /*2*/ virtual class BlockPos loadBlockPosition(class BlockPos const &); + /*3*/ virtual class BlockPos loadBlockPositionOffset(class BlockPos const &); + /*4*/ virtual void __unk_vfn_4(); + /*5*/ virtual float loadRotationDegreesY(float); + /*6*/ virtual void __unk_vfn_6(); + /*7*/ virtual float loadRotationRadiansY(float); + /*8*/ virtual unsigned char loadFacingID(unsigned char); + /*9*/ virtual class Vec3 loadDirection(class Vec3 const &); + /*10*/ virtual enum Direction::Type loadDirection(enum Direction::Type); + /*11*/ virtual enum Rotation loadRotation(enum Rotation); + /*12*/ virtual enum Mirror loadMirror(enum Mirror); + /*13*/ virtual struct ActorUniqueID loadActorUniqueID(struct ActorUniqueID); + /*14*/ virtual struct ActorUniqueID loadOwnerID(struct ActorUniqueID); + /*15*/ virtual enum DataLoadHelperType getType() const; + /*16*/ virtual bool shouldResetTime(); + /*17*/ virtual struct ActorUniqueID _generateNewID(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_STRUCTUREDATALOADHELPER + MCVAPI float loadRotationDegreesX(float); + MCVAPI float loadRotationRadiansX(float); +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/StructureEditorData.hpp b/LiteLoader/Header/MC/StructureEditorData.hpp new file mode 100644 index 0000000..30d6075 --- /dev/null +++ b/LiteLoader/Header/MC/StructureEditorData.hpp @@ -0,0 +1,35 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class StructureEditorData { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_STRUCTUREEDITORDATA +public: + class StructureEditorData& operator=(class StructureEditorData const &) = delete; + StructureEditorData(class StructureEditorData const &) = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_STRUCTUREEDITORDATA +#endif + MCAPI StructureEditorData(class StructureEditorData &&); + MCAPI StructureEditorData(); + MCAPI void load(class CompoundTag const &, class DataLoadHelper &); + MCAPI void save(class CompoundTag &) const; + MCAPI ~StructureEditorData(); + MCAPI static std::string const DEFAULT_STRUCTURE_NAMESPACE; + MCAPI static class BlockPos const MAX_STRUCTURE_OFFSET; + MCAPI static class BlockPos const MAX_STRUCTURE_SIZE; + MCAPI static class BlockPos const MIN_STRUCTURE_OFFSET; + MCAPI static class BlockPos const MIN_STRUCTURE_SIZE; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/StructureFeature.hpp b/LiteLoader/Header/MC/StructureFeature.hpp new file mode 100644 index 0000000..1049981 --- /dev/null +++ b/LiteLoader/Header/MC/StructureFeature.hpp @@ -0,0 +1,49 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class StructureFeature { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_STRUCTUREFEATURE +public: + class StructureFeature& operator=(class StructureFeature const &) = delete; + StructureFeature(class StructureFeature const &) = delete; + StructureFeature() = delete; +#endif + +public: + /*0*/ virtual ~StructureFeature(); + /*1*/ virtual void initMobSpawnTypes(class HardcodedSpawnAreaRegistry &); + /*2*/ virtual bool postProcess(class BlockSource &, class Random &, int, int); + /*3*/ virtual bool getNearestGeneratedFeature(class Dimension &, class BiomeSource &, class BlockPos const &, class BlockPos &); + /*4*/ virtual bool isFeatureChunk(class BiomeSource const &, class Random &, class ChunkPos const &, unsigned int) = 0; + /*5*/ virtual std::unique_ptr createStructureStart(class Dimension &, class BiomeSource &, class Random &, class ChunkPos const &) = 0; + /*6*/ virtual class StructureStart * getStructureAt(int, int, int); + /*7*/ virtual std::vector getGuesstimatedFeaturePositions(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_STRUCTUREFEATURE +#endif + MCAPI StructureFeature(unsigned int); + MCAPI void createBlueprints(class Dimension &, class ChunkPos const &, class BiomeSource &); + MCAPI void debugRender(); + MCAPI std::vector findFarAwayStructures(class buffer_span, unsigned int); + MCAPI void foreachIntersectingStructureStart(class BoundingBox const &, class std::function); + MCAPI void garbageCollectBlueprints(class buffer_span, unsigned int); + MCAPI void generateHardcodedMobSpawns(class LevelChunk &); + MCAPI bool isInsideBoundingFeature(int, int, int); + MCAPI void postProcessMobsAt(class BlockSource &, int, int, class Random &); + MCAPI static bool findNearestFeaturePositionBySpacing(class Dimension &, class StructureFeature &, class BiomeSource &, class BlockPos const &, class BlockPos &, int, int, int, bool, int); + +//protected: + MCAPI void addFeature(class Dimension &, class Random &, class ChunkPos const &, class BiomeSource &); + +protected: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/StructureHelpers.hpp b/LiteLoader/Header/MC/StructureHelpers.hpp new file mode 100644 index 0000000..3ed0ee2 --- /dev/null +++ b/LiteLoader/Header/MC/StructureHelpers.hpp @@ -0,0 +1,31 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class StructureHelpers { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_STRUCTUREHELPERS +public: + class StructureHelpers& operator=(class StructureHelpers const &) = delete; + StructureHelpers(class StructureHelpers const &) = delete; + StructureHelpers() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_STRUCTUREHELPERS +#endif + MCAPI static bool createChest(class StructurePiece &, class BlockSource &, class BoundingBox const &, class Random &, int, int, int, unsigned char, std::string const &); + MCAPI static bool createDispenser(class StructurePiece &, class BlockSource &, class BoundingBox const &, class Random &, int, int, int, int, std::string const &); + MCAPI static bool createMinecartChest(class StructurePiece &, class BlockSource &, class BoundingBox const &, class Random &, int, int, int, int, std::string const &); + MCAPI static void fillColumnDown(class StructurePiece &, class BlockSource &, class Block const &, int, int, int, class BoundingBox const &); + MCAPI static int getTorchRotation(int, unsigned short); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/StructureIntegrityProcessor.hpp b/LiteLoader/Header/MC/StructureIntegrityProcessor.hpp new file mode 100644 index 0000000..2eb8c19 --- /dev/null +++ b/LiteLoader/Header/MC/StructureIntegrityProcessor.hpp @@ -0,0 +1,27 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class StructureIntegrityProcessor { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_STRUCTUREINTEGRITYPROCESSOR +public: + class StructureIntegrityProcessor& operator=(class StructureIntegrityProcessor const &) = delete; + StructureIntegrityProcessor(class StructureIntegrityProcessor const &) = delete; + StructureIntegrityProcessor() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_STRUCTUREINTEGRITYPROCESSOR +#endif + MCAPI std::vector generateFlagsForIndices(int, int) const; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/StructureManager.hpp b/LiteLoader/Header/MC/StructureManager.hpp new file mode 100644 index 0000000..a4a2947 --- /dev/null +++ b/LiteLoader/Header/MC/StructureManager.hpp @@ -0,0 +1,40 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class StructureManager { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_STRUCTUREMANAGER +public: + class StructureManager& operator=(class StructureManager const &) = delete; + StructureManager(class StructureManager const &) = delete; + StructureManager() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_STRUCTUREMANAGER +#endif + MCAPI class StructureTemplate & getOrCreate(std::string const &); + MCAPI class LegacyStructureTemplate & getOrCreateLegacy(std::string const &); + MCAPI class StructureTemplate * getStructure(std::string const &) const; + MCAPI bool load(class StructureTemplate &, class ResourcePackManager const *, class LevelStorage *); + MCAPI bool readStructure(class StructureTemplate &); + +//private: + MCAPI class StructureTemplate * _createAndLoadStructure(std::string const &, class ResourcePackManager const *, class LevelStorage *); + MCAPI class LegacyStructureTemplate * _getLegacy(std::string const &); + MCAPI class LegacyStructureTemplate * _readLegacyStructure(std::string const &); + +private: + MCAPI static char const * BEHAVIOR_PACK_STRUCTURES_FOLDER; + MCAPI static char const * LEVEL_STORAGE_STRUCTURE_TEMPLATE_PREFIX; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/StructurePiece.hpp b/LiteLoader/Header/MC/StructurePiece.hpp new file mode 100644 index 0000000..adb1ff9 --- /dev/null +++ b/LiteLoader/Header/MC/StructurePiece.hpp @@ -0,0 +1,49 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class StructurePiece { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_STRUCTUREPIECE +public: + class StructurePiece& operator=(class StructurePiece const &) = delete; + StructurePiece(class StructurePiece const &) = delete; + StructurePiece() = delete; +#endif + +public: + /*0*/ virtual ~StructurePiece(); + /*1*/ virtual void moveBoundingBox(int, int, int); + /*2*/ virtual class PoolElementStructurePiece * asPoolElement(); + /*3*/ virtual enum StructurePieceType getType() const; + /*4*/ virtual void addChildren(class StructurePiece &, std::vector> &, class Random &); + /*5*/ virtual bool postProcess(class BlockSource &, class Random &, class BoundingBox const &) = 0; + /*6*/ virtual void postProcessMobsAt(class BlockSource &, class Random &, class BoundingBox const &); + /*7*/ virtual int getWorldX(int, int); + /*8*/ virtual int getWorldZ(int, int); + /*9*/ virtual void placeBlock(class BlockSource &, class Block const &, int, int, int, class BoundingBox const &); + /*10*/ virtual void generateBox(class BlockSource &, class BoundingBox const &, int, int, int, int, int, int, class Block const &, class Block const &, bool); + /*11*/ virtual void addHardcodedSpawnAreas(class LevelChunk &) const; + /*12*/ virtual int generateHeightAtPosition(class BlockPos const &, class Dimension &, class BlockVolume &, class std::unordered_map>, struct std::hash, struct std::equal_to, class std::allocator>>>> &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_STRUCTUREPIECE +#endif + MCAPI class BlockPos _getWorldPos(int, int, int); + MCAPI bool edgesLiquid(class BlockSource &, class BoundingBox const &); + MCAPI void generateAirBox(class BlockSource &, class BoundingBox const &, int, int, int, int, int, int); + MCAPI void generateBox(class BlockSource &, class BoundingBox const &, int, int, int, int, int, int, bool, class Random &, class BlockSelector const &); + MCAPI class Block const & getBlock(class BlockSource &, int, int, int, class BoundingBox const &); + MCAPI unsigned short getOrientationData(class Block const *, unsigned short); + MCAPI int getWorldY(int); + MCAPI bool isAboveGround(int, int, int, class BlockSource &); + MCAPI void maybeGenerateBlock(class BlockSource &, class BoundingBox const &, class Random &, float, int, int, int, class Block const &); + MCAPI static class StructurePiece * findCollisionPiece(std::vector> const &, class BoundingBox const &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/StructurePoolActorPredicateActorMatch.hpp b/LiteLoader/Header/MC/StructurePoolActorPredicateActorMatch.hpp new file mode 100644 index 0000000..39c1be5 --- /dev/null +++ b/LiteLoader/Header/MC/StructurePoolActorPredicateActorMatch.hpp @@ -0,0 +1,28 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class StructurePoolActorPredicateActorMatch { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_STRUCTUREPOOLACTORPREDICATEACTORMATCH +public: + class StructurePoolActorPredicateActorMatch& operator=(class StructurePoolActorPredicateActorMatch const &) = delete; + StructurePoolActorPredicateActorMatch(class StructurePoolActorPredicateActorMatch const &) = delete; + StructurePoolActorPredicateActorMatch() = delete; +#endif + +public: + /*0*/ virtual ~StructurePoolActorPredicateActorMatch(); + /*1*/ virtual bool test(std::string const &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_STRUCTUREPOOLACTORPREDICATEACTORMATCH +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/StructurePoolBlockPredicateAlwaysTrue.hpp b/LiteLoader/Header/MC/StructurePoolBlockPredicateAlwaysTrue.hpp new file mode 100644 index 0000000..e189021 --- /dev/null +++ b/LiteLoader/Header/MC/StructurePoolBlockPredicateAlwaysTrue.hpp @@ -0,0 +1,28 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class StructurePoolBlockPredicateAlwaysTrue { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_STRUCTUREPOOLBLOCKPREDICATEALWAYSTRUE +public: + class StructurePoolBlockPredicateAlwaysTrue& operator=(class StructurePoolBlockPredicateAlwaysTrue const &) = delete; + StructurePoolBlockPredicateAlwaysTrue(class StructurePoolBlockPredicateAlwaysTrue const &) = delete; + StructurePoolBlockPredicateAlwaysTrue() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_STRUCTUREPOOLBLOCKPREDICATEALWAYSTRUE + MCVAPI bool test(class BlockPos const &, class BlockPos const &, class Random &) const; + MCVAPI bool test(class Block const &, class Random &) const; +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/StructurePoolBlockPredicateAxisAlignedPosition.hpp b/LiteLoader/Header/MC/StructurePoolBlockPredicateAxisAlignedPosition.hpp new file mode 100644 index 0000000..6210b5f --- /dev/null +++ b/LiteLoader/Header/MC/StructurePoolBlockPredicateAxisAlignedPosition.hpp @@ -0,0 +1,29 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class StructurePoolBlockPredicateAxisAlignedPosition { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_STRUCTUREPOOLBLOCKPREDICATEAXISALIGNEDPOSITION +public: + class StructurePoolBlockPredicateAxisAlignedPosition& operator=(class StructurePoolBlockPredicateAxisAlignedPosition const &) = delete; + StructurePoolBlockPredicateAxisAlignedPosition(class StructurePoolBlockPredicateAxisAlignedPosition const &) = delete; + StructurePoolBlockPredicateAxisAlignedPosition() = delete; +#endif + +public: + /*0*/ virtual ~StructurePoolBlockPredicateAxisAlignedPosition(); + /*1*/ virtual bool test(class Block const &, class Random &) const; + /*2*/ virtual bool test(class BlockPos const &, class BlockPos const &, class Random &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_STRUCTUREPOOLBLOCKPREDICATEAXISALIGNEDPOSITION +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/StructurePoolBlockPredicateBlockMatch.hpp b/LiteLoader/Header/MC/StructurePoolBlockPredicateBlockMatch.hpp new file mode 100644 index 0000000..7bb51b9 --- /dev/null +++ b/LiteLoader/Header/MC/StructurePoolBlockPredicateBlockMatch.hpp @@ -0,0 +1,29 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class StructurePoolBlockPredicateBlockMatch { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_STRUCTUREPOOLBLOCKPREDICATEBLOCKMATCH +public: + class StructurePoolBlockPredicateBlockMatch& operator=(class StructurePoolBlockPredicateBlockMatch const &) = delete; + StructurePoolBlockPredicateBlockMatch(class StructurePoolBlockPredicateBlockMatch const &) = delete; + StructurePoolBlockPredicateBlockMatch() = delete; +#endif + +public: + /*0*/ virtual ~StructurePoolBlockPredicateBlockMatch(); + /*1*/ virtual bool test(class Block const &, class Random &) const; + /*2*/ virtual bool test(class BlockPos const &, class BlockPos const &, class Random &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_STRUCTUREPOOLBLOCKPREDICATEBLOCKMATCH +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/StructurePoolBlockPredicateBlockMatchRandom.hpp b/LiteLoader/Header/MC/StructurePoolBlockPredicateBlockMatchRandom.hpp new file mode 100644 index 0000000..498557e --- /dev/null +++ b/LiteLoader/Header/MC/StructurePoolBlockPredicateBlockMatchRandom.hpp @@ -0,0 +1,29 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class StructurePoolBlockPredicateBlockMatchRandom { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_STRUCTUREPOOLBLOCKPREDICATEBLOCKMATCHRANDOM +public: + class StructurePoolBlockPredicateBlockMatchRandom& operator=(class StructurePoolBlockPredicateBlockMatchRandom const &) = delete; + StructurePoolBlockPredicateBlockMatchRandom(class StructurePoolBlockPredicateBlockMatchRandom const &) = delete; + StructurePoolBlockPredicateBlockMatchRandom() = delete; +#endif + +public: + /*0*/ virtual ~StructurePoolBlockPredicateBlockMatchRandom(); + /*1*/ virtual bool test(class Block const &, class Random &) const; + /*2*/ virtual bool test(class BlockPos const &, class BlockPos const &, class Random &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_STRUCTUREPOOLBLOCKPREDICATEBLOCKMATCHRANDOM +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/StructurePoolBlockTagPredicateBlockTagStringMatches.hpp b/LiteLoader/Header/MC/StructurePoolBlockTagPredicateBlockTagStringMatches.hpp new file mode 100644 index 0000000..0be0847 --- /dev/null +++ b/LiteLoader/Header/MC/StructurePoolBlockTagPredicateBlockTagStringMatches.hpp @@ -0,0 +1,29 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class StructurePoolBlockTagPredicateBlockTagStringMatches { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_STRUCTUREPOOLBLOCKTAGPREDICATEBLOCKTAGSTRINGMATCHES +public: + class StructurePoolBlockTagPredicateBlockTagStringMatches& operator=(class StructurePoolBlockTagPredicateBlockTagStringMatches const &) = delete; + StructurePoolBlockTagPredicateBlockTagStringMatches(class StructurePoolBlockTagPredicateBlockTagStringMatches const &) = delete; + StructurePoolBlockTagPredicateBlockTagStringMatches() = delete; +#endif + +public: + /*0*/ virtual ~StructurePoolBlockTagPredicateBlockTagStringMatches(); + /*1*/ virtual bool test(class Block const &, class CompoundTag const &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_STRUCTUREPOOLBLOCKTAGPREDICATEBLOCKTAGSTRINGMATCHES +#endif + MCAPI StructurePoolBlockTagPredicateBlockTagStringMatches(class Block const &, std::string, std::string); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/StructurePoolBlockTagRule.hpp b/LiteLoader/Header/MC/StructurePoolBlockTagRule.hpp new file mode 100644 index 0000000..86654f6 --- /dev/null +++ b/LiteLoader/Header/MC/StructurePoolBlockTagRule.hpp @@ -0,0 +1,27 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class StructurePoolBlockTagRule { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_STRUCTUREPOOLBLOCKTAGRULE +public: + class StructurePoolBlockTagRule& operator=(class StructurePoolBlockTagRule const &) = delete; + StructurePoolBlockTagRule(class StructurePoolBlockTagRule const &) = delete; + StructurePoolBlockTagRule() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_STRUCTUREPOOLBLOCKTAGRULE +#endif + MCAPI StructurePoolBlockTagRule(std::unique_ptr &&, std::string, std::string); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/StructurePoolElement.hpp b/LiteLoader/Header/MC/StructurePoolElement.hpp new file mode 100644 index 0000000..72dd199 --- /dev/null +++ b/LiteLoader/Header/MC/StructurePoolElement.hpp @@ -0,0 +1,45 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class StructurePoolElement { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_STRUCTUREPOOLELEMENT +public: + class StructurePoolElement& operator=(class StructurePoolElement const &) = delete; + StructurePoolElement(class StructurePoolElement const &) = delete; + StructurePoolElement() = delete; +#endif + +public: + /*0*/ virtual class BlockPos getSize(enum Rotation) const; + /*1*/ virtual std::vector getJigsawMarkers(class BlockPos, enum Rotation) const; + /*2*/ virtual std::vector getJigsawMarkers(class BlockPos, class LegacyStructureSettings &, class BlockSource *) const; + /*3*/ virtual class BoundingBox getBoundingBox(class BlockPos, enum Rotation) const; + /*4*/ virtual void setProjection(enum Projection); + /*5*/ virtual enum Projection getProjection() const; + /*6*/ virtual enum PostProcessSettings getPostProcessSettings() const; + /*7*/ virtual bool place(class BlockSource &, class BlockPos, enum Rotation, class BoundingBox, class Random &, class std::unordered_map, struct std::hash, struct std::equal_to, class std::allocator>>> &, class BlockPos) const; + /*8*/ virtual void placeActors(class BlockSource &, class BlockPos, enum Rotation, class Random &) const; + /*9*/ virtual void handleJigsawBlock(class BlockSource &, class JigsawBlockInfo &, class LegacyStructureSettings &) const; + /*10*/ virtual void handleDataMarker(class BlockSource &, class BlockPos, std::string, class std::unordered_map, struct std::hash, struct std::equal_to, class std::allocator>>> &) const; + /*11*/ virtual bool isValid() const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_STRUCTUREPOOLELEMENT +#endif + MCAPI StructurePoolElement(class StructureManager &, std::string const &, enum Projection, enum PostProcessSettings); + MCAPI StructurePoolElement(class StructureManager &, std::string const &, std::vector> const *, std::vector> const *, std::vector> const *, enum Projection, enum PostProcessSettings); + +//private: + MCAPI class StructurePoolElement::LazyTemplate const & _getTemplate() const; + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/StructureSettings.hpp b/LiteLoader/Header/MC/StructureSettings.hpp new file mode 100644 index 0000000..17d9965 --- /dev/null +++ b/LiteLoader/Header/MC/StructureSettings.hpp @@ -0,0 +1,57 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA +// Include Headers or Declare Types Here +// TODO: Need to verify +enum Mirror : unsigned char { + None_15=0, + X, + Z, + XZ, +}; +enum Rotation : unsigned char { + None_14=0, + Rotate90, + Rotate180, + Rotate270, + Total, +}; + +#undef BEFORE_EXTRA + +class StructureSettings { + +#define AFTER_EXTRA +// Add Member There +private: +char filler[104]; + +// public: +// inline StructureSettings(BlockPos const& size, bool ignoreEntities, bool ignoreBlocks) +// : StructureSettings() +// { +// setIgnoreBlocks(ignoreBlocks); +// setIgnoreEntities(ignoreEntities); +// setStructureSize(size); +// }; + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_STRUCTURESETTINGS +public: + class StructureSettings& operator=(class StructureSettings const &) = delete; + StructureSettings(class StructureSettings const &) = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_STRUCTURESETTINGS +#endif + MCAPI StructureSettings(); + MCAPI class StructureSettings & operator=(class StructureSettings &&); + MCAPI ~StructureSettings(); + MCAPI static class BlockPos const DEFAULT_STRUCTURE_OFFSET; + MCAPI static class BlockPos const DEFAULT_STRUCTURE_SIZE; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/StructureStart.hpp b/LiteLoader/Header/MC/StructureStart.hpp new file mode 100644 index 0000000..44af888 --- /dev/null +++ b/LiteLoader/Header/MC/StructureStart.hpp @@ -0,0 +1,36 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class StructureStart { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_STRUCTURESTART +public: + class StructureStart& operator=(class StructureStart const &) = delete; + StructureStart(class StructureStart const &) = delete; + StructureStart() = delete; +#endif + +public: + /*0*/ virtual ~StructureStart(); + /*1*/ virtual bool postProcess(class BlockSource &, class Random &, class BoundingBox const &); + /*2*/ virtual bool isValid() const; + /*3*/ virtual enum StructureFeatureType getType() const = 0; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_STRUCTURESTART +#endif + +//protected: + MCAPI void calculateBoundingBox(); + MCAPI void moveToLevel(class Random &, int); + +protected: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/StructureTag.hpp b/LiteLoader/Header/MC/StructureTag.hpp new file mode 100644 index 0000000..b0097a1 --- /dev/null +++ b/LiteLoader/Header/MC/StructureTag.hpp @@ -0,0 +1,28 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +namespace StructureTag { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA + MCAPI extern std::string const BLOCK_ENTITY_DATA; + MCAPI extern std::string const BLOCK_INDICES; + MCAPI extern std::string const BLOCK_PALETTE; + MCAPI extern std::string const BLOCK_POSITION_DATA; + MCAPI extern std::string const ENTITIES; + MCAPI extern std::string const FORMAT_VERSION; + MCAPI extern std::string const PALETTE; + MCAPI extern std::string const SIZE; + MCAPI extern std::string const STRUCTURE; + MCAPI extern std::string const STRUCTURE_WORLD_ORIGIN; + MCAPI extern std::string const TICK_DELAY; + MCAPI extern std::string const TICK_QUEUE_DATA; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/StructureTemplate.hpp b/LiteLoader/Header/MC/StructureTemplate.hpp new file mode 100644 index 0000000..a35552b --- /dev/null +++ b/LiteLoader/Header/MC/StructureTemplate.hpp @@ -0,0 +1,56 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class StructureTemplate { + +#define AFTER_EXTRA +// Add Member There +// string mName; +// StructureTemplateData mStructureTemplateData; +// unsigned __int8 mStructureVersion; + +// public: +// #define DISABLE_CONSTRUCTOR_PREVENTION_STRUCTURETEMPLATE +// class StructureTemplate& operator=(class StructureTemplate const&) = delete; +// StructureTemplate(class StructureTemplate const&); +// StructureTemplate() = delete; +// LIAPI static StructureTemplate fromTag(std::string name, CompoundTag const& tag); +// LIAPI static StructureTemplate fromWorld(std::string name, int dimid, BlockPos p1, BlockPos p2, bool ignoreEntities = true, bool ignoreBlocks = false); +// //LIAPI bool load(CompoundTag const& tag); +// LIAPI std::unique_ptr toTag(); +// LIAPI bool toWorld(int dimid, BlockPos const& p1, Mirror mirror = Mirror::None_15, Rotation rotation = Rotation::None_14); +// LIAPI StructureTemplateData* getData(); + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_STRUCTURETEMPLATE +public: + class StructureTemplate& operator=(class StructureTemplate const &) = delete; + StructureTemplate(class StructureTemplate const &) = delete; + StructureTemplate() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_STRUCTURETEMPLATE +#endif + MCAPI StructureTemplate(class gsl::basic_string_span); + MCAPI void fillFromWorld(class BlockSource &, class BlockPos const &, class StructureSettings const &); + MCAPI class Block const & getBlockAtPos(class BlockPos const &) const; + MCAPI std::vector getJigsawMarkers() const; + MCAPI bool placeInWorld(class BlockSource &, class BlockPalette const &, class BlockPos const &, class StructureSettings const &, class StructureTelemetryServerData *, bool) const; + MCAPI ~StructureTemplate(); + +//private: + MCAPI void _fillBlockInfo(class BlockSource &, class BlockPos const &, class BlockPos const &, class BlockPos const &); + MCAPI void _fillEntityList(class BlockSource &, class BlockPos const &, class BlockPos const &); + MCAPI void _placeBlocksInWorld(class BlockSource &, class DataLoadHelper &, class StructureBlockPalette const &, class BlockPalette const &, class BlockPos, class BlockPos const &, class Vec3 const &, enum Rotation, enum Mirror, float, unsigned int, class StructureTelemetryServerData *, bool, bool) const; + MCAPI void _placeEntitiesInWorld(class BlockSource &, class DataLoadHelper &, bool) const; + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/StructureTemplateData.hpp b/LiteLoader/Header/MC/StructureTemplateData.hpp new file mode 100644 index 0000000..a51e1ff --- /dev/null +++ b/LiteLoader/Header/MC/StructureTemplateData.hpp @@ -0,0 +1,48 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class StructureTemplateData { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_STRUCTURETEMPLATEDATA +public: + class StructureTemplateData& operator=(class StructureTemplateData const &) = delete; + StructureTemplateData(class StructureTemplateData const &) = delete; + StructureTemplateData() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_STRUCTURETEMPLATEDATA +#endif + MCAPI class StructureBlockPalette const * getPalette(std::string const &) const; + MCAPI bool load(class CompoundTag const &); + MCAPI std::unique_ptr save() const; + MCAPI static std::string const DEFAULT_PALETTE_NAME; + +//protected: + MCAPI enum StructureLoadResult _parseBlockIndices(class CompoundTag const &); + MCAPI enum StructureLoadResult _parseEntities(class CompoundTag const &); + MCAPI enum StructureLoadResult _parseFormatVersion(class CompoundTag const &); + MCAPI enum StructureLoadResult _parsePalettes(class CompoundTag const &); + MCAPI enum StructureLoadResult _parseSize(class CompoundTag const &); + MCAPI enum StructureLoadResult _parseStructureWorldOrigin(class CompoundTag const &); + MCAPI void _saveBlockIndices(class CompoundTag &) const; + MCAPI void _savePalettes(class CompoundTag &) const; + MCAPI void _saveStructureTag(class CompoundTag &) const; + +//private: + MCAPI void _contentErrorMissingField(std::string const &) const; + +protected: + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/StructureTemplateDataRequestPacket.hpp b/LiteLoader/Header/MC/StructureTemplateDataRequestPacket.hpp new file mode 100644 index 0000000..fb5af67 --- /dev/null +++ b/LiteLoader/Header/MC/StructureTemplateDataRequestPacket.hpp @@ -0,0 +1,32 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Packet.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class StructureTemplateDataRequestPacket : public Packet { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_STRUCTURETEMPLATEDATAREQUESTPACKET +public: + class StructureTemplateDataRequestPacket& operator=(class StructureTemplateDataRequestPacket const &) = delete; + StructureTemplateDataRequestPacket(class StructureTemplateDataRequestPacket const &) = delete; + StructureTemplateDataRequestPacket() = delete; +#endif + +public: + /*0*/ virtual ~StructureTemplateDataRequestPacket(); + /*1*/ virtual enum MinecraftPacketIds getId() const; + /*2*/ virtual std::string getName() const; + /*3*/ virtual void write(class BinaryStream &) const; + /*4*/ virtual enum StreamReadResult read(class ReadOnlyBinaryStream &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_STRUCTURETEMPLATEDATAREQUESTPACKET +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/StructureTemplateDataResponsePacket.hpp b/LiteLoader/Header/MC/StructureTemplateDataResponsePacket.hpp new file mode 100644 index 0000000..ac9a85a --- /dev/null +++ b/LiteLoader/Header/MC/StructureTemplateDataResponsePacket.hpp @@ -0,0 +1,34 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Packet.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class StructureTemplateDataResponsePacket : public Packet { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_STRUCTURETEMPLATEDATARESPONSEPACKET +public: + class StructureTemplateDataResponsePacket& operator=(class StructureTemplateDataResponsePacket const &) = delete; + StructureTemplateDataResponsePacket(class StructureTemplateDataResponsePacket const &) = delete; + StructureTemplateDataResponsePacket() = delete; +#endif + +public: + /*0*/ virtual ~StructureTemplateDataResponsePacket(); + /*1*/ virtual enum MinecraftPacketIds getId() const; + /*2*/ virtual std::string getName() const; + /*3*/ virtual void write(class BinaryStream &) const; + /*4*/ virtual enum StreamReadResult read(class ReadOnlyBinaryStream &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_STRUCTURETEMPLATEDATARESPONSEPACKET +#endif + MCAPI StructureTemplateDataResponsePacket(std::string const &, std::unique_ptr, enum StructureTemplateResponseType); + MCAPI class StructureTemplateDataResponsePacket & operator=(class StructureTemplateDataResponsePacket &&); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/StructureTemplateFeature.hpp b/LiteLoader/Header/MC/StructureTemplateFeature.hpp new file mode 100644 index 0000000..f2e6a11 --- /dev/null +++ b/LiteLoader/Header/MC/StructureTemplateFeature.hpp @@ -0,0 +1,28 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class StructureTemplateFeature { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_STRUCTURETEMPLATEFEATURE +public: + class StructureTemplateFeature& operator=(class StructureTemplateFeature const &) = delete; + StructureTemplateFeature(class StructureTemplateFeature const &) = delete; + StructureTemplateFeature() = delete; +#endif + +public: + /*0*/ virtual ~StructureTemplateFeature(); + /*1*/ virtual class std::optional place(class IBlockPlacementTarget &, class BlockPos const &, class Random &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_STRUCTURETEMPLATEFEATURE +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/StructureTemplatePool.hpp b/LiteLoader/Header/MC/StructureTemplatePool.hpp new file mode 100644 index 0000000..b7c99c1 --- /dev/null +++ b/LiteLoader/Header/MC/StructureTemplatePool.hpp @@ -0,0 +1,29 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class StructureTemplatePool { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_STRUCTURETEMPLATEPOOL +public: + class StructureTemplatePool& operator=(class StructureTemplatePool const &) = delete; + StructureTemplatePool(class StructureTemplatePool const &) = delete; + StructureTemplatePool() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_STRUCTURETEMPLATEPOOL +#endif + MCAPI StructureTemplatePool(std::string, std::string, std::vector> &); + MCAPI class StructurePoolElement const * getRandomTemplate(class Random &) const; + MCAPI std::vector getShuffledTemplateIndexes(class Random &) const; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/StructureVoid.hpp b/LiteLoader/Header/MC/StructureVoid.hpp new file mode 100644 index 0000000..697423a --- /dev/null +++ b/LiteLoader/Header/MC/StructureVoid.hpp @@ -0,0 +1,65 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "BlockLegacy.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class StructureVoid : public BlockLegacy { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_STRUCTUREVOID +public: + class StructureVoid& operator=(class StructureVoid const &) = delete; + StructureVoid(class StructureVoid const &) = delete; + StructureVoid() = delete; +#endif + +public: + /*0*/ virtual ~StructureVoid(); + /*5*/ virtual bool getCollisionShape(class AABB &, class Block const &, class BlockSource &, class BlockPos const &, class Actor *) const; + /*6*/ virtual bool isObstructingChests(class BlockSource &, class BlockPos const &) const; + /*11*/ virtual bool addCollisionShapes(class Block const &, class BlockSource &, class BlockPos const &, class AABB const *, std::vector &, class Actor *) const; + /*18*/ virtual void __unk_vfn_18(); + /*24*/ virtual void __unk_vfn_24(); + /*25*/ virtual void __unk_vfn_25(); + /*26*/ virtual void __unk_vfn_26(); + /*27*/ virtual void __unk_vfn_27(); + /*28*/ virtual void __unk_vfn_28(); + /*30*/ virtual void __unk_vfn_30(); + /*31*/ virtual void __unk_vfn_31(); + /*32*/ virtual void __unk_vfn_32(); + /*33*/ virtual void __unk_vfn_33(); + /*34*/ virtual void __unk_vfn_34(); + /*35*/ virtual void __unk_vfn_35(); + /*36*/ virtual void __unk_vfn_36(); + /*38*/ virtual void __unk_vfn_38(); + /*39*/ virtual void __unk_vfn_39(); + /*40*/ virtual void __unk_vfn_40(); + /*42*/ virtual void __unk_vfn_42(); + /*43*/ virtual void __unk_vfn_43(); + /*49*/ virtual void __unk_vfn_49(); + /*52*/ virtual void __unk_vfn_52(); + /*56*/ virtual bool checkIsPathable(class Actor &, class BlockPos const &, class BlockPos const &) const; + /*67*/ virtual void __unk_vfn_67(); + /*73*/ virtual void __unk_vfn_73(); + /*87*/ virtual void __unk_vfn_87(); + /*95*/ virtual void __unk_vfn_95(); + /*104*/ virtual void entityInside(class BlockSource &, class BlockPos const &, class Actor &) const; + /*109*/ virtual void __unk_vfn_109(); + /*116*/ virtual void __unk_vfn_116(); + /*118*/ virtual void __unk_vfn_118(); + /*119*/ virtual void __unk_vfn_119(); + /*142*/ virtual void __unk_vfn_142(); + /*158*/ virtual void __unk_vfn_158(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_STRUCTUREVOID + MCVAPI bool canBeSilkTouched() const; + MCVAPI bool canHaveExtraData() const; +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/SubChunk.hpp b/LiteLoader/Header/MC/SubChunk.hpp new file mode 100644 index 0000000..05ab405 --- /dev/null +++ b/LiteLoader/Header/MC/SubChunk.hpp @@ -0,0 +1,35 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +struct SubChunk { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SUBCHUNK +public: + struct SubChunk& operator=(struct SubChunk const &) = delete; + SubChunk(struct SubChunk const &) = delete; + SubChunk() = delete; +#endif +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SUBCHUNK +#endif + MCAPI void deserialize(class IDataInput &, class BlockPalette const &); + MCAPI void initialize(class Block const *, bool, bool, class SpinLock &); + MCAPI struct SubChunk & operator=(struct SubChunk &&); + MCAPI void serialize(class IDataOutput &, bool) const; + +//protected: + MCAPI void _createLightStorage(); + MCAPI void _replaceBlocks(unsigned char, std::unique_ptr, class std::lock_guard &); + MCAPI void _resetLight(bool, bool); + MCAPI void _setBlock(unsigned char, unsigned short, class Block const &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/SubChunkBlockStorage.hpp b/LiteLoader/Header/MC/SubChunkBlockStorage.hpp new file mode 100644 index 0000000..deb022b --- /dev/null +++ b/LiteLoader/Header/MC/SubChunkBlockStorage.hpp @@ -0,0 +1,31 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class SubChunkBlockStorage { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SUBCHUNKBLOCKSTORAGE +public: + class SubChunkBlockStorage& operator=(class SubChunkBlockStorage const &) = delete; + SubChunkBlockStorage(class SubChunkBlockStorage const &) = delete; + SubChunkBlockStorage() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SUBCHUNKBLOCKSTORAGE + MCVAPI class ISubChunkBlockStoragePaletted * asPalettedStorage(); + MCVAPI class ISubChunkBlockStoragePaletted const * asPalettedStorage() const; +#endif + MCAPI static std::unique_ptr makeDeserialized(class IDataInput &, class BlockPalette const &, enum SubChunkFormat); + MCAPI static std::unique_ptr makeFromVolume(class BlockVolume const &, short); + MCAPI static std::unique_ptr makeUniform(class Block const &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/SubChunkPos.hpp b/LiteLoader/Header/MC/SubChunkPos.hpp new file mode 100644 index 0000000..1e2441c --- /dev/null +++ b/LiteLoader/Header/MC/SubChunkPos.hpp @@ -0,0 +1,30 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class SubChunkPos { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SUBCHUNKPOS +public: + class SubChunkPos& operator=(class SubChunkPos const &) = delete; + SubChunkPos(class SubChunkPos const &) = delete; + SubChunkPos() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SUBCHUNKPOS +#endif + MCAPI static class SubChunkPos const MAX; + MCAPI static class SubChunkPos const MIN; + MCAPI static class SubChunkPos const ONE; + MCAPI static class SubChunkPos const ZERO; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/SubChunkRelighter.hpp b/LiteLoader/Header/MC/SubChunkRelighter.hpp new file mode 100644 index 0000000..786f63d --- /dev/null +++ b/LiteLoader/Header/MC/SubChunkRelighter.hpp @@ -0,0 +1,59 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class SubChunkRelighter { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SUBCHUNKRELIGHTER +public: + class SubChunkRelighter& operator=(class SubChunkRelighter const &) = delete; + SubChunkRelighter(class SubChunkRelighter const &) = delete; + SubChunkRelighter() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SUBCHUNKRELIGHTER +#endif + MCAPI SubChunkRelighter(class BlockSource &, unsigned __int64, class ChunkPos const &, bool, bool); + MCAPI struct SubChunk * _getAbsorption(struct SubChunkLightIndex, unsigned char &, unsigned int &); + MCAPI struct SubChunk * _getAbsorptionAndEmissivenessAndSubChunkIndex(struct SubChunkLightIndex, unsigned char &, unsigned char &, unsigned int &) const; + MCAPI void _propagateBlockLight(); + MCAPI void _propagateBlockLight(struct SubChunkLightIndex, unsigned char); + MCAPI void _propagateSkyLight(); + MCAPI void _propagateSkyLight(struct SubChunkLightIndex, unsigned char); + MCAPI void _propagateSubtractiveBlockLight(); + MCAPI void _propagateSubtractiveBlockLight(struct SubChunkLightIndex, unsigned char); + MCAPI void _propagateSubtractiveSkyLight(); + MCAPI void _propagateSubtractiveSkyLight(struct SubChunkLightIndex, unsigned char); + MCAPI void _setLightHelper(struct SubChunkLightIndex, struct Brightness, struct Brightness, struct Brightness, struct Brightness, unsigned int, unsigned int); + MCAPI void _setPropagatedBlockLightValue(struct SubChunkLightIndex, unsigned char); + MCAPI void _setPropagatedSkyLightValue(struct SubChunkLightIndex, unsigned char); + MCAPI void _setSkyLight(struct SubChunkLightIndex, struct Brightness, struct Brightness, struct Brightness, struct Brightness); + MCAPI void setBlockLight(class Pos const &, struct Brightness, struct Brightness, struct Brightness, struct Brightness); + MCAPI void setSkyLight(class Pos const &, struct Brightness, struct Brightness, struct Brightness, struct Brightness); + MCAPI ~SubChunkRelighter(); + MCAPI static class std::bitset<196608> computeAllSubChunkBorderBitsExceptTheOuterEdgeOfComputationBits(); + MCAPI static class std::bitset<196608> computeOuterEdgeOfComputationBits(); + +//private: + MCAPI struct SubChunk * _createSubChunk(unsigned int, unsigned int, unsigned int); + MCAPI struct SubChunk * _dirtySubChunk(struct SubChunkLightIndex, unsigned int &); + MCAPI struct SubChunk * _getBlock(struct SubChunkLightIndex, class Block const *&, class Block const *&) const; + +private: + MCAPI static class std::bitset<196608> mAllSubChunkBorderBitsExceptTheOuterEdgeOfComputationBits; + MCAPI static class std::bitset<196608> mOuterEdgeOfComputationBits; + MCAPI static class SpinLock sDarkSpinLock; + MCAPI static struct SubChunk sFullyDarkSubChunk; + MCAPI static struct SubChunk sFullyLitSubChunk; + MCAPI static class SpinLock sLitSpinLock; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/SubClientConnectionRequest.hpp b/LiteLoader/Header/MC/SubClientConnectionRequest.hpp new file mode 100644 index 0000000..ec4a2d3 --- /dev/null +++ b/LiteLoader/Header/MC/SubClientConnectionRequest.hpp @@ -0,0 +1,59 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "persona.hpp" +#include "Json.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class SubClientConnectionRequest { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SUBCLIENTCONNECTIONREQUEST +public: + class SubClientConnectionRequest& operator=(class SubClientConnectionRequest const &) = delete; + SubClientConnectionRequest() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SUBCLIENTCONNECTIONREQUEST +#endif + MCAPI SubClientConnectionRequest(class SubClientConnectionRequest const &); + MCAPI std::vector getAnimatedImageData() const; + MCAPI std::string getArmSize() const; + MCAPI std::vector getCapeData() const; + MCAPI std::string getCapeId() const; + MCAPI unsigned __int64 getClientRandomId() const; + MCAPI std::string getDeviceId() const; + MCAPI std::vector getPersonaPieces() const; + MCAPI class std::unordered_map, struct std::equal_to, class std::allocator>> getPieceTintColors() const; + MCAPI std::string getPlatformId() const; + MCAPI std::string getPlatformOfflineId() const; + MCAPI std::string getPlatformOnlineId() const; + MCAPI std::string getSelfSignedId() const; + MCAPI std::string getSkinAnimationData() const; + MCAPI class Color getSkinColor() const; + MCAPI std::vector getSkinData() const; + MCAPI std::string getSkinGeometry() const; + MCAPI std::string getSkinId() const; + MCAPI std::string getSkinResourcePatch() const; + MCAPI std::string getThirdPartyName() const; + MCAPI bool isPersonaSkin() const; + MCAPI std::string toString(); + MCAPI bool verify(std::vector const &, __int64); + MCAPI bool verifySelfSigned(); + MCAPI ~SubClientConnectionRequest(); + MCAPI static class SubClientConnectionRequest fromString(std::string const &); + +//private: + MCAPI SubClientConnectionRequest(std::unique_ptr, std::string const &); + MCAPI class Json::Value getData(std::string const &) const; + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/SubClientLoginPacket.hpp b/LiteLoader/Header/MC/SubClientLoginPacket.hpp new file mode 100644 index 0000000..b897742 --- /dev/null +++ b/LiteLoader/Header/MC/SubClientLoginPacket.hpp @@ -0,0 +1,33 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Packet.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class SubClientLoginPacket : public Packet { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SUBCLIENTLOGINPACKET +public: + class SubClientLoginPacket& operator=(class SubClientLoginPacket const &) = delete; + SubClientLoginPacket(class SubClientLoginPacket const &) = delete; + SubClientLoginPacket() = delete; +#endif + +public: + /*0*/ virtual ~SubClientLoginPacket(); + /*1*/ virtual enum MinecraftPacketIds getId() const; + /*2*/ virtual std::string getName() const; + /*3*/ virtual void write(class BinaryStream &) const; + /*4*/ virtual enum StreamReadResult read(class ReadOnlyBinaryStream &); + /*6*/ virtual bool disallowBatching() const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SUBCLIENTLOGINPACKET +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/SubpackInfo.hpp b/LiteLoader/Header/MC/SubpackInfo.hpp new file mode 100644 index 0000000..90268cd --- /dev/null +++ b/LiteLoader/Header/MC/SubpackInfo.hpp @@ -0,0 +1,26 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +struct SubpackInfo { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SUBPACKINFO +public: + struct SubpackInfo& operator=(struct SubpackInfo const &) = delete; + SubpackInfo(struct SubpackInfo const &) = delete; + SubpackInfo() = delete; +#endif +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SUBPACKINFO +#endif + MCAPI ~SubpackInfo(); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/SubpackInfoCollection.hpp b/LiteLoader/Header/MC/SubpackInfoCollection.hpp new file mode 100644 index 0000000..7c999c4 --- /dev/null +++ b/LiteLoader/Header/MC/SubpackInfoCollection.hpp @@ -0,0 +1,27 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class SubpackInfoCollection { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SUBPACKINFOCOLLECTION +public: + class SubpackInfoCollection& operator=(class SubpackInfoCollection const &) = delete; + SubpackInfoCollection(class SubpackInfoCollection const &) = delete; + SubpackInfoCollection() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SUBPACKINFOCOLLECTION +#endif + MCAPI void addSubpackInfo(struct SubpackInfo &&); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/SubtreeDefinition.hpp b/LiteLoader/Header/MC/SubtreeDefinition.hpp new file mode 100644 index 0000000..0912822 --- /dev/null +++ b/LiteLoader/Header/MC/SubtreeDefinition.hpp @@ -0,0 +1,30 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Json.hpp" +#include "BehaviorDefinition.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class SubtreeDefinition : public BehaviorDefinition { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SUBTREEDEFINITION +public: + class SubtreeDefinition& operator=(class SubtreeDefinition const &) = delete; + SubtreeDefinition(class SubtreeDefinition const &) = delete; + SubtreeDefinition() = delete; +#endif + +public: + /*0*/ virtual ~SubtreeDefinition(); + /*1*/ virtual void load(class Json::Value, class BehaviorFactory const &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SUBTREEDEFINITION +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/SubtreeNode.hpp b/LiteLoader/Header/MC/SubtreeNode.hpp new file mode 100644 index 0000000..49fdb52 --- /dev/null +++ b/LiteLoader/Header/MC/SubtreeNode.hpp @@ -0,0 +1,29 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class SubtreeNode { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SUBTREENODE +public: + class SubtreeNode& operator=(class SubtreeNode const &) = delete; + SubtreeNode(class SubtreeNode const &) = delete; + SubtreeNode() = delete; +#endif + +public: + /*0*/ virtual ~SubtreeNode(); + /*1*/ virtual enum BehaviorStatus tick(class Actor &); + /*2*/ virtual void initializeFromDefinition(class Actor &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SUBTREENODE +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/SummonActorGoal.hpp b/LiteLoader/Header/MC/SummonActorGoal.hpp new file mode 100644 index 0000000..4f9d386 --- /dev/null +++ b/LiteLoader/Header/MC/SummonActorGoal.hpp @@ -0,0 +1,40 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class SummonActorGoal { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SUMMONACTORGOAL +public: + class SummonActorGoal& operator=(class SummonActorGoal const &) = delete; + SummonActorGoal(class SummonActorGoal const &) = delete; + SummonActorGoal() = delete; +#endif + +public: + /*0*/ virtual ~SummonActorGoal(); + /*1*/ virtual bool canUse(); + /*2*/ virtual bool canContinueToUse(); + /*3*/ virtual void __unk_vfn_3(); + /*4*/ virtual void start(); + /*5*/ virtual void stop(); + /*6*/ virtual void tick(); + /*7*/ virtual void appendDebugInfo(std::string &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SUMMONACTORGOAL +#endif + +//private: + MCAPI void _createSpellEntity(float, float, float, float, float, int, struct ActorDefinitionIdentifier) const; + MCAPI int _selectBestSpell(class Actor &) const; + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/SummonCommand.hpp b/LiteLoader/Header/MC/SummonCommand.hpp new file mode 100644 index 0000000..787bc07 --- /dev/null +++ b/LiteLoader/Header/MC/SummonCommand.hpp @@ -0,0 +1,30 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Command.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class SummonCommand : public Command { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SUMMONCOMMAND +public: + class SummonCommand& operator=(class SummonCommand const &) = delete; + SummonCommand(class SummonCommand const &) = delete; + SummonCommand() = delete; +#endif + +public: + /*0*/ virtual ~SummonCommand(); + /*1*/ virtual void execute(class CommandOrigin const &, class CommandOutput &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SUMMONCOMMAND +#endif + MCAPI static void setup(class CommandRegistry &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/SummonSpellData.hpp b/LiteLoader/Header/MC/SummonSpellData.hpp new file mode 100644 index 0000000..1696b6e --- /dev/null +++ b/LiteLoader/Header/MC/SummonSpellData.hpp @@ -0,0 +1,26 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +struct SummonSpellData { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SUMMONSPELLDATA +public: + struct SummonSpellData& operator=(struct SummonSpellData const &) = delete; +#endif +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SUMMONSPELLDATA +#endif + MCAPI SummonSpellData(struct SummonSpellData const &); + MCAPI SummonSpellData(); + MCAPI ~SummonSpellData(); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/SummonSpellStage.hpp b/LiteLoader/Header/MC/SummonSpellStage.hpp new file mode 100644 index 0000000..667d302 --- /dev/null +++ b/LiteLoader/Header/MC/SummonSpellStage.hpp @@ -0,0 +1,27 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class SummonSpellStage { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SUMMONSPELLSTAGE +public: + class SummonSpellStage& operator=(class SummonSpellStage const &) = delete; + SummonSpellStage(class SummonSpellStage const &) = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SUMMONSPELLSTAGE +#endif + MCAPI SummonSpellStage(); + MCAPI ~SummonSpellStage(); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/SurfaceBuilderRegistry.hpp b/LiteLoader/Header/MC/SurfaceBuilderRegistry.hpp new file mode 100644 index 0000000..2987275 --- /dev/null +++ b/LiteLoader/Header/MC/SurfaceBuilderRegistry.hpp @@ -0,0 +1,27 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class SurfaceBuilderRegistry { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SURFACEBUILDERREGISTRY +public: + class SurfaceBuilderRegistry& operator=(class SurfaceBuilderRegistry const &) = delete; + SurfaceBuilderRegistry(class SurfaceBuilderRegistry const &) = delete; + SurfaceBuilderRegistry() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SURFACEBUILDERREGISTRY +#endif + MCAPI class ISurfaceBuilder * lookupForEntity(class EntityContext &) const; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/SurfaceMaterialAdjustmentAttributes.hpp b/LiteLoader/Header/MC/SurfaceMaterialAdjustmentAttributes.hpp new file mode 100644 index 0000000..043bf64 --- /dev/null +++ b/LiteLoader/Header/MC/SurfaceMaterialAdjustmentAttributes.hpp @@ -0,0 +1,26 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +struct SurfaceMaterialAdjustmentAttributes { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SURFACEMATERIALADJUSTMENTATTRIBUTES +public: + struct SurfaceMaterialAdjustmentAttributes& operator=(struct SurfaceMaterialAdjustmentAttributes const &) = delete; + SurfaceMaterialAdjustmentAttributes(struct SurfaceMaterialAdjustmentAttributes const &) = delete; + SurfaceMaterialAdjustmentAttributes() = delete; +#endif +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SURFACEMATERIALADJUSTMENTATTRIBUTES +#endif + MCAPI struct SurfaceMaterialAdjustmentEvaluated evaluateAdjustments(class RenderParams &, class gsl::not_null, class BlockPos const &, int, int) const; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/SurfaceMaterialAdjustmentEvaluated.hpp b/LiteLoader/Header/MC/SurfaceMaterialAdjustmentEvaluated.hpp new file mode 100644 index 0000000..c9977b8 --- /dev/null +++ b/LiteLoader/Header/MC/SurfaceMaterialAdjustmentEvaluated.hpp @@ -0,0 +1,26 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +struct SurfaceMaterialAdjustmentEvaluated { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SURFACEMATERIALADJUSTMENTEVALUATED +public: + struct SurfaceMaterialAdjustmentEvaluated& operator=(struct SurfaceMaterialAdjustmentEvaluated const &) = delete; + SurfaceMaterialAdjustmentEvaluated(struct SurfaceMaterialAdjustmentEvaluated const &) = delete; + SurfaceMaterialAdjustmentEvaluated() = delete; +#endif +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SURFACEMATERIALADJUSTMENTEVALUATED +#endif + MCAPI ~SurfaceMaterialAdjustmentEvaluated(); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/SurvivalMode.hpp b/LiteLoader/Header/MC/SurvivalMode.hpp new file mode 100644 index 0000000..33244d3 --- /dev/null +++ b/LiteLoader/Header/MC/SurvivalMode.hpp @@ -0,0 +1,47 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "GameMode.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class SurvivalMode : public GameMode { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SURVIVALMODE +public: + class SurvivalMode& operator=(class SurvivalMode const &) = delete; + SurvivalMode(class SurvivalMode const &) = delete; + SurvivalMode() = delete; +#endif + +public: + /*0*/ virtual ~SurvivalMode(); + /*1*/ virtual bool startDestroyBlock(class BlockPos const &, unsigned char, bool &); + /*2*/ virtual bool destroyBlock(class BlockPos const &, unsigned char); + /*5*/ virtual void startBuildBlock(class BlockPos const &, unsigned char); + /*6*/ virtual bool buildBlock(class BlockPos const &, unsigned char); + /*9*/ virtual void tick(); + /*11*/ virtual bool useItem(class ItemStack &); + /*12*/ virtual bool useItemOn(class ItemStack &, class BlockPos const &, unsigned char, class Vec3 const &, class Block const *); + /*13*/ virtual bool interact(class Actor &, class Vec3 const &); + /*14*/ virtual bool attack(class Actor &); + /*16*/ virtual void setTrialMode(bool); + /*17*/ virtual bool isInTrialMode(); + /*18*/ virtual void registerUpsellScreenCallback(class std::function); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SURVIVALMODE +#endif + +//private: + MCAPI void _messagePlayers(std::string); + MCAPI void _showTrialReminder(bool); + +private: + MCAPI static bool mTrialHasEnded; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/SuspiciousStewItem.hpp b/LiteLoader/Header/MC/SuspiciousStewItem.hpp new file mode 100644 index 0000000..6b57a9e --- /dev/null +++ b/LiteLoader/Header/MC/SuspiciousStewItem.hpp @@ -0,0 +1,52 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Item.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class SuspiciousStewItem : public Item { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SUSPICIOUSSTEWITEM +public: + class SuspiciousStewItem& operator=(class SuspiciousStewItem const &) = delete; + SuspiciousStewItem(class SuspiciousStewItem const &) = delete; + SuspiciousStewItem() = delete; +#endif + +public: + /*0*/ virtual ~SuspiciousStewItem(); + /*5*/ virtual void __unk_vfn_5(); + /*26*/ virtual void __unk_vfn_26(); + /*27*/ virtual void __unk_vfn_27(); + /*31*/ virtual void __unk_vfn_31(); + /*32*/ virtual void __unk_vfn_32(); + /*34*/ virtual void __unk_vfn_34(); + /*37*/ virtual void __unk_vfn_37(); + /*43*/ virtual void __unk_vfn_43(); + /*46*/ virtual void __unk_vfn_46(); + /*47*/ virtual void __unk_vfn_47(); + /*49*/ virtual void __unk_vfn_49(); + /*50*/ virtual void __unk_vfn_50(); + /*58*/ virtual enum ItemUseMethod useTimeDepleted(class ItemStack &, class Level *, class Player *) const; + /*79*/ virtual void __unk_vfn_79(); + /*80*/ virtual void __unk_vfn_80(); + /*90*/ virtual void __unk_vfn_90(); + /*97*/ virtual void __unk_vfn_97(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SUSPICIOUSSTEWITEM + MCVAPI bool uniqueAuxValues() const; +#endif + MCAPI static void applyStewEffect(class ItemStack const &, class Actor &); + +//private: + MCAPI static class std::array const & _getStewEffects(); + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/SwamplandHut.hpp b/LiteLoader/Header/MC/SwamplandHut.hpp new file mode 100644 index 0000000..b36df2a --- /dev/null +++ b/LiteLoader/Header/MC/SwamplandHut.hpp @@ -0,0 +1,37 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "StructurePiece.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class SwamplandHut : public StructurePiece { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SWAMPLANDHUT +public: + class SwamplandHut& operator=(class SwamplandHut const &) = delete; + SwamplandHut(class SwamplandHut const &) = delete; + SwamplandHut() = delete; +#endif + +public: + /*0*/ virtual ~SwamplandHut(); + /*3*/ virtual enum StructurePieceType getType() const; + /*5*/ virtual bool postProcess(class BlockSource &, class Random &, class BoundingBox const &); + /*6*/ virtual void postProcessMobsAt(class BlockSource &, class Random &, class BoundingBox const &); + /*11*/ virtual void addHardcodedSpawnAreas(class LevelChunk &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SWAMPLANDHUT +#endif + +//protected: + MCAPI void placeCauldron(class BlockSource &, class Random &, int, int, int, class BoundingBox const &); + +protected: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/SweetBerryBushBlock.hpp b/LiteLoader/Header/MC/SweetBerryBushBlock.hpp new file mode 100644 index 0000000..685dc0d --- /dev/null +++ b/LiteLoader/Header/MC/SweetBerryBushBlock.hpp @@ -0,0 +1,90 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "BushBlock.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class SweetBerryBushBlock : public BushBlock { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SWEETBERRYBUSHBLOCK +public: + class SweetBerryBushBlock& operator=(class SweetBerryBushBlock const &) = delete; + SweetBerryBushBlock(class SweetBerryBushBlock const &) = delete; + SweetBerryBushBlock() = delete; +#endif + +public: + /*0*/ virtual ~SweetBerryBushBlock(); + /*1*/ virtual void tick(class BlockSource &, class BlockPos const &, class Random &) const; + /*10*/ virtual class AABB const & getAABB(class BlockSource &, class BlockPos const &, class Block const &, class AABB &, bool) const; + /*18*/ virtual void __unk_vfn_18(); + /*24*/ virtual void __unk_vfn_24(); + /*25*/ virtual void __unk_vfn_25(); + /*26*/ virtual void __unk_vfn_26(); + /*27*/ virtual void __unk_vfn_27(); + /*28*/ virtual void __unk_vfn_28(); + /*30*/ virtual void __unk_vfn_30(); + /*31*/ virtual void __unk_vfn_31(); + /*32*/ virtual void __unk_vfn_32(); + /*33*/ virtual void __unk_vfn_33(); + /*34*/ virtual void __unk_vfn_34(); + /*35*/ virtual void __unk_vfn_35(); + /*36*/ virtual void __unk_vfn_36(); + /*38*/ virtual void __unk_vfn_38(); + /*39*/ virtual void __unk_vfn_39(); + /*40*/ virtual void __unk_vfn_40(); + /*42*/ virtual void __unk_vfn_42(); + /*43*/ virtual void __unk_vfn_43(); + /*49*/ virtual void __unk_vfn_49(); + /*50*/ virtual bool canContainLiquid() const; + /*52*/ virtual void __unk_vfn_52(); + /*56*/ virtual bool checkIsPathable(class Actor &, class BlockPos const &, class BlockPos const &) const; + /*67*/ virtual void __unk_vfn_67(); + /*73*/ virtual void __unk_vfn_73(); + /*75*/ virtual bool onFertilized(class BlockSource &, class BlockPos const &, class Actor *, enum FertilizerType) const; + /*77*/ virtual bool canBeFertilized(class BlockSource &, class BlockPos const &, class Block const &) const; + /*81*/ virtual bool mayPlace(class BlockSource &, class BlockPos const &) const; + /*82*/ virtual bool mayPlaceOn(class BlockSource &, class BlockPos const &) const; + /*87*/ virtual void __unk_vfn_87(); + /*90*/ virtual int getResourceCount(class Random &, class Block const &, int, bool) const; + /*92*/ virtual class ItemInstance asItemInstance(class BlockSource &, class BlockPos const &, class Block const &) const; + /*93*/ virtual void spawnResources(class BlockSource &, class BlockPos const &, class Block const &, std::vector *, float, int, bool) const; + /*95*/ virtual void __unk_vfn_95(); + /*98*/ virtual bool use(class Player &, class BlockPos const &) const; + /*102*/ virtual bool attack(class Player *, class BlockPos const &) const; + /*104*/ virtual void entityInside(class BlockSource &, class BlockPos const &, class Actor &) const; + /*106*/ virtual bool canSurvive(class BlockSource &, class BlockPos const &) const; + /*109*/ virtual void __unk_vfn_109(); + /*110*/ virtual void executeEvent(class BlockSource &, class BlockPos const &, class Block const &, std::string const &, class Actor &) const; + /*111*/ virtual bool hasTag(class BlockSource &, class BlockPos const &, class Block const &, std::string const &) const; + /*116*/ virtual void __unk_vfn_116(); + /*118*/ virtual void __unk_vfn_118(); + /*119*/ virtual void __unk_vfn_119(); + /*125*/ virtual enum BlockRenderLayer getRenderLayer() const; + /*126*/ virtual enum BlockRenderLayer getRenderLayer(class Block const &, class BlockSource &, class BlockPos const &) const; + /*138*/ virtual class AABB const & getVisualShape(class Block const &, class AABB &, bool) const; + /*141*/ virtual int getVariant(class Block const &) const; + /*142*/ virtual void __unk_vfn_142(); + /*158*/ virtual void __unk_vfn_158(); + /*163*/ virtual bool dealsContactDamage(class Actor const &, class Block const &, bool) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SWEETBERRYBUSHBLOCK + MCVAPI bool canBeSilkTouched() const; + MCVAPI bool isCropBlock() const; + MCVAPI bool isInteractiveBlock() const; +#endif + +//private: + MCAPI bool _growBush(class BlockSource &, class BlockPos const &) const; + MCAPI bool _pickBerries(class BlockSource &, class BlockPos const &, class Block const &) const; + MCAPI void _popBerries(class BlockSource &, class BlockPos const &, int const &, std::vector *) const; + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/SwellGoal.hpp b/LiteLoader/Header/MC/SwellGoal.hpp new file mode 100644 index 0000000..1c98b66 --- /dev/null +++ b/LiteLoader/Header/MC/SwellGoal.hpp @@ -0,0 +1,34 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class SwellGoal { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SWELLGOAL +public: + class SwellGoal& operator=(class SwellGoal const &) = delete; + SwellGoal(class SwellGoal const &) = delete; + SwellGoal() = delete; +#endif + +public: + /*0*/ virtual ~SwellGoal(); + /*1*/ virtual bool canUse(); + /*2*/ virtual void __unk_vfn_2(); + /*3*/ virtual void __unk_vfn_3(); + /*4*/ virtual void start(); + /*5*/ virtual void stop(); + /*6*/ virtual void tick(); + /*7*/ virtual void appendDebugInfo(std::string &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SWELLGOAL +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/SwimEnchant.hpp b/LiteLoader/Header/MC/SwimEnchant.hpp new file mode 100644 index 0000000..ad7556c --- /dev/null +++ b/LiteLoader/Header/MC/SwimEnchant.hpp @@ -0,0 +1,31 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Enchant.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class SwimEnchant : public Enchant { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SWIMENCHANT +public: + class SwimEnchant& operator=(class SwimEnchant const &) = delete; + SwimEnchant(class SwimEnchant const &) = delete; + SwimEnchant() = delete; +#endif + +public: + /*0*/ virtual ~SwimEnchant(); + /*2*/ virtual int getMinCost(int) const; + /*3*/ virtual int getMaxCost(int) const; + /*5*/ virtual int getMaxLevel() const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SWIMENCHANT +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/SwimIdleDefinition.hpp b/LiteLoader/Header/MC/SwimIdleDefinition.hpp new file mode 100644 index 0000000..f9b4c43 --- /dev/null +++ b/LiteLoader/Header/MC/SwimIdleDefinition.hpp @@ -0,0 +1,28 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "JsonUtil.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class SwimIdleDefinition { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SWIMIDLEDEFINITION +public: + class SwimIdleDefinition& operator=(class SwimIdleDefinition const &) = delete; + SwimIdleDefinition(class SwimIdleDefinition const &) = delete; + SwimIdleDefinition() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SWIMIDLEDEFINITION +#endif + MCAPI static void buildSchema(std::string const &, class std::shared_ptr> &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/SwimIdleGoal.hpp b/LiteLoader/Header/MC/SwimIdleGoal.hpp new file mode 100644 index 0000000..ba98593 --- /dev/null +++ b/LiteLoader/Header/MC/SwimIdleGoal.hpp @@ -0,0 +1,34 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class SwimIdleGoal { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SWIMIDLEGOAL +public: + class SwimIdleGoal& operator=(class SwimIdleGoal const &) = delete; + SwimIdleGoal(class SwimIdleGoal const &) = delete; + SwimIdleGoal() = delete; +#endif + +public: + /*0*/ virtual ~SwimIdleGoal(); + /*1*/ virtual bool canUse(); + /*2*/ virtual bool canContinueToUse(); + /*3*/ virtual void __unk_vfn_3(); + /*4*/ virtual void start(); + /*5*/ virtual void tick(); + /*6*/ virtual void __unk_vfn_6(); + /*7*/ virtual void appendDebugInfo(std::string &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SWIMIDLEGOAL +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/SwimMoveControl.hpp b/LiteLoader/Header/MC/SwimMoveControl.hpp new file mode 100644 index 0000000..425ea0d --- /dev/null +++ b/LiteLoader/Header/MC/SwimMoveControl.hpp @@ -0,0 +1,30 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "MoveControl.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class SwimMoveControl : public MoveControl { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SWIMMOVECONTROL +public: + class SwimMoveControl& operator=(class SwimMoveControl const &) = delete; + SwimMoveControl(class SwimMoveControl const &) = delete; + SwimMoveControl() = delete; +#endif + +public: + /*0*/ virtual ~SwimMoveControl(); + /*1*/ virtual void initializeInternal(class Mob &, struct MoveControlDescription *); + /*2*/ virtual void tick(class MoveControlComponent &, class Mob &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SWIMMOVECONTROL +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/SwimWanderDefinition.hpp b/LiteLoader/Header/MC/SwimWanderDefinition.hpp new file mode 100644 index 0000000..f42c63f --- /dev/null +++ b/LiteLoader/Header/MC/SwimWanderDefinition.hpp @@ -0,0 +1,28 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "JsonUtil.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class SwimWanderDefinition { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SWIMWANDERDEFINITION +public: + class SwimWanderDefinition& operator=(class SwimWanderDefinition const &) = delete; + SwimWanderDefinition(class SwimWanderDefinition const &) = delete; + SwimWanderDefinition() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SWIMWANDERDEFINITION +#endif + MCAPI static void buildSchema(std::string const &, class std::shared_ptr> &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/SwimWanderGoal.hpp b/LiteLoader/Header/MC/SwimWanderGoal.hpp new file mode 100644 index 0000000..32d757f --- /dev/null +++ b/LiteLoader/Header/MC/SwimWanderGoal.hpp @@ -0,0 +1,39 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class SwimWanderGoal { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SWIMWANDERGOAL +public: + class SwimWanderGoal& operator=(class SwimWanderGoal const &) = delete; + SwimWanderGoal(class SwimWanderGoal const &) = delete; + SwimWanderGoal() = delete; +#endif + +public: + /*0*/ virtual ~SwimWanderGoal(); + /*1*/ virtual bool canUse(); + /*2*/ virtual bool canContinueToUse(); + /*3*/ virtual void __unk_vfn_3(); + /*4*/ virtual void start(); + /*5*/ virtual void __unk_vfn_5(); + /*6*/ virtual void tick(); + /*7*/ virtual void appendDebugInfo(std::string &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SWIMWANDERGOAL +#endif + +//protected: + MCAPI bool _setWantedPosition(); + +protected: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/SwimWithEntityDefinition.hpp b/LiteLoader/Header/MC/SwimWithEntityDefinition.hpp new file mode 100644 index 0000000..e5ea1c1 --- /dev/null +++ b/LiteLoader/Header/MC/SwimWithEntityDefinition.hpp @@ -0,0 +1,28 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "JsonUtil.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class SwimWithEntityDefinition { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SWIMWITHENTITYDEFINITION +public: + class SwimWithEntityDefinition& operator=(class SwimWithEntityDefinition const &) = delete; + SwimWithEntityDefinition(class SwimWithEntityDefinition const &) = delete; + SwimWithEntityDefinition() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SWIMWITHENTITYDEFINITION +#endif + MCAPI static void buildSchema(std::string const &, class std::shared_ptr> &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/SwimWithEntityGoal.hpp b/LiteLoader/Header/MC/SwimWithEntityGoal.hpp new file mode 100644 index 0000000..0498afa --- /dev/null +++ b/LiteLoader/Header/MC/SwimWithEntityGoal.hpp @@ -0,0 +1,39 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class SwimWithEntityGoal { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SWIMWITHENTITYGOAL +public: + class SwimWithEntityGoal& operator=(class SwimWithEntityGoal const &) = delete; + SwimWithEntityGoal(class SwimWithEntityGoal const &) = delete; + SwimWithEntityGoal() = delete; +#endif + +public: + /*0*/ virtual ~SwimWithEntityGoal(); + /*1*/ virtual bool canUse(); + /*2*/ virtual bool canContinueToUse(); + /*3*/ virtual bool canBeInterrupted(); + /*4*/ virtual void start(); + /*5*/ virtual void stop(); + /*6*/ virtual void tick(); + /*7*/ virtual void appendDebugInfo(std::string &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SWIMWITHENTITYGOAL +#endif + +//private: + MCAPI bool _setWantedMob(); + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/SwoopAttackDefinition.hpp b/LiteLoader/Header/MC/SwoopAttackDefinition.hpp new file mode 100644 index 0000000..461d6a3 --- /dev/null +++ b/LiteLoader/Header/MC/SwoopAttackDefinition.hpp @@ -0,0 +1,28 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "JsonUtil.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class SwoopAttackDefinition { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SWOOPATTACKDEFINITION +public: + class SwoopAttackDefinition& operator=(class SwoopAttackDefinition const &) = delete; + SwoopAttackDefinition(class SwoopAttackDefinition const &) = delete; + SwoopAttackDefinition() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SWOOPATTACKDEFINITION +#endif + MCAPI static void buildSchema(std::string const &, class std::shared_ptr> &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/SwoopAttackGoal.hpp b/LiteLoader/Header/MC/SwoopAttackGoal.hpp new file mode 100644 index 0000000..06def39 --- /dev/null +++ b/LiteLoader/Header/MC/SwoopAttackGoal.hpp @@ -0,0 +1,34 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class SwoopAttackGoal { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SWOOPATTACKGOAL +public: + class SwoopAttackGoal& operator=(class SwoopAttackGoal const &) = delete; + SwoopAttackGoal(class SwoopAttackGoal const &) = delete; + SwoopAttackGoal() = delete; +#endif + +public: + /*0*/ virtual ~SwoopAttackGoal(); + /*1*/ virtual bool canUse(); + /*2*/ virtual bool canContinueToUse(); + /*3*/ virtual void __unk_vfn_3(); + /*4*/ virtual void start(); + /*5*/ virtual void stop(); + /*6*/ virtual void tick(); + /*7*/ virtual void appendDebugInfo(std::string &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SWOOPATTACKGOAL +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/SyncedAttribute.hpp b/LiteLoader/Header/MC/SyncedAttribute.hpp new file mode 100644 index 0000000..34dd2e7 --- /dev/null +++ b/LiteLoader/Header/MC/SyncedAttribute.hpp @@ -0,0 +1,26 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +struct SyncedAttribute { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SYNCEDATTRIBUTE +public: + struct SyncedAttribute& operator=(struct SyncedAttribute const &) = delete; + SyncedAttribute(struct SyncedAttribute const &) = delete; + SyncedAttribute() = delete; +#endif +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SYNCEDATTRIBUTE +#endif + MCAPI ~SyncedAttribute(); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/SynchedActorData.hpp b/LiteLoader/Header/MC/SynchedActorData.hpp new file mode 100644 index 0000000..52870cf --- /dev/null +++ b/LiteLoader/Header/MC/SynchedActorData.hpp @@ -0,0 +1,38 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class SynchedActorData { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SYNCHEDACTORDATA +public: + class SynchedActorData& operator=(class SynchedActorData const &) = delete; + SynchedActorData(class SynchedActorData const &) = delete; + SynchedActorData() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SYNCHEDACTORDATA +#endif + MCAPI class CompoundTag const & getCompoundTag(unsigned short) const; + MCAPI float getFloat(unsigned short) const; + MCAPI signed char getInt8(unsigned short) const; + MCAPI std::string const & getString(unsigned short) const; + MCAPI std::vector> packAll() const; + MCAPI std::vector> packDirty(); + MCAPI ~SynchedActorData(); + +//private: + MCAPI void _resizeToContain(unsigned short); + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/SystemFilePicker.hpp b/LiteLoader/Header/MC/SystemFilePicker.hpp new file mode 100644 index 0000000..830577d --- /dev/null +++ b/LiteLoader/Header/MC/SystemFilePicker.hpp @@ -0,0 +1,36 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Core.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class SystemFilePicker { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SYSTEMFILEPICKER +public: + class SystemFilePicker& operator=(class SystemFilePicker const &) = delete; + SystemFilePicker(class SystemFilePicker const &) = delete; + SystemFilePicker() = delete; +#endif + +public: + /*0*/ virtual ~SystemFilePicker(); + /*1*/ virtual void initFilePick(class Core::Path const &, class std::function); + /*2*/ virtual unsigned __int64 readBytes(struct FileInfo const &, unsigned __int64, unsigned __int64, std::vector &); + /*3*/ virtual bool writeBytes(struct FileInfo const &, unsigned __int64, unsigned __int64, std::vector const &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SYSTEMFILEPICKER +#endif + +//protected: + MCAPI struct FileInfo _fillFileInfo(class Core::Path const &); + +protected: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/Tag.hpp b/LiteLoader/Header/MC/Tag.hpp new file mode 100644 index 0000000..fd4dc92 --- /dev/null +++ b/LiteLoader/Header/MC/Tag.hpp @@ -0,0 +1,125 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA +// Include Headers or Declare Types Here +#include "../third-party/Nlohmann/fifo_json.hpp" +#include +#include +#include + +class EndTag; +class ByteTag; +class ShortTag; +class IntTag; +class Int64Tag; +class FloatTag; +class DoubleTag; +class ByteArrayTag; +class StringTag; +class ListTag; +class CompoundTag; +class IntArrayTag; +class CompoundTagVariant; +class Player; +class Actor; +class Block; +class ItemStack; +class BlockActor; + +#undef BEFORE_EXTRA + +class Tag { + +#define AFTER_EXTRA +public: + enum Type : uint8_t { + End, + Byte, + Short, + Int, + Int64, + Float, + Double, + ByteArray, + String, + List, + Compound, + IntArray, + }; + + LIAPI Type getTagType() const; + + //value + //LIAPI char& asByte(); + //LIAPI short& asShort(); + //LIAPI int& asInt(); + //LIAPI __int64& asLong(); + //LIAPI float& asFloat(); + //LIAPI double& asDouble(); + //LIAPI std::string& asString(); + //LIAPI std::vector& asList(); + //LIAPI std::map& asCompound(); + //LIAPI TagMemoryChunk& asByteArray(); + + LIAPI EndTag* asEndTag(); + LIAPI ByteTag* asByteTag(); + LIAPI ShortTag* asShortTag(); + LIAPI IntTag* asIntTag(); + LIAPI Int64Tag* asInt64Tag(); + LIAPI FloatTag* asFloatTag(); + LIAPI DoubleTag* asDoubleTag(); + LIAPI StringTag* asStringTag(); + LIAPI ListTag* asListTag(); + LIAPI CompoundTag* asCompoundTag(); + LIAPI ByteArrayTag* asByteArrayTag(); + LIAPI IntArrayTag* asIntArrayTag(); + + LIAPI void destroy(); + +//static + + LIAPI std::string toJson(int formatIndent); + + template + inline static std::unique_ptr asTag(std::unique_ptr&& tag) + { + return std::unique_ptr((Tag*)(tag.release())); + } + template + inline static std::unique_ptr asTypedTag(std::unique_ptr tag) + { + return std::unique_ptr((T*)(tag.release())); + } + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_TAG +public: + class Tag& operator=(class Tag const &) = delete; + Tag(class Tag const &) = delete; + Tag() = delete; +#endif + +public: + /*0*/ virtual ~Tag(); + /*1*/ virtual void deleteChildren(); + /*2*/ virtual void write(class IDataOutput &) const = 0; + /*3*/ virtual void load(class IDataInput &) = 0; + /*4*/ virtual std::string toString() const = 0; + /*5*/ virtual enum Tag::Type getId() const = 0; + /*6*/ virtual bool equals(class Tag const &) const; + /*7*/ virtual void print(class PrintStream &) const; + /*8*/ virtual void print(std::string const &, class PrintStream &) const; + /*9*/ virtual std::unique_ptr copy() const = 0; + /*10*/ virtual unsigned __int64 hash() const = 0; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_TAG +#endif + MCAPI static std::string const NullString; + MCAPI static std::string getTagName(enum Tag::Type); + MCAPI static std::unique_ptr newTag(enum Tag::Type); + MCAPI static std::unique_ptr readNamedTag(class IDataInput &, std::string &); + MCAPI static void writeNamedTag(std::string const &, class Tag const &, class IDataOutput &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/TagCommand.hpp b/LiteLoader/Header/MC/TagCommand.hpp new file mode 100644 index 0000000..7145641 --- /dev/null +++ b/LiteLoader/Header/MC/TagCommand.hpp @@ -0,0 +1,39 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Command.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class TagCommand : public Command { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_TAGCOMMAND +public: + class TagCommand& operator=(class TagCommand const &) = delete; + TagCommand(class TagCommand const &) = delete; + TagCommand() = delete; +#endif + +public: + /*0*/ virtual ~TagCommand(); + /*1*/ virtual void execute(class CommandOrigin const &, class CommandOutput &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_TAGCOMMAND +#endif + MCAPI static void setup(class CommandRegistry &); + +//private: + MCAPI void _addTag(class CommandOutput &, std::vector> const &) const; + MCAPI std::vector> _getSelectorResults(class CommandOrigin const &, class CommandOutput &) const; + MCAPI std::string _getTagWithPercentageFixed() const; + MCAPI void _listTags(class CommandOutput &, std::vector> const &) const; + MCAPI void _removeTag(class CommandOutput &, std::vector> const &) const; + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/TagMemoryChunk.hpp b/LiteLoader/Header/MC/TagMemoryChunk.hpp new file mode 100644 index 0000000..1120244 --- /dev/null +++ b/LiteLoader/Header/MC/TagMemoryChunk.hpp @@ -0,0 +1,28 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +struct TagMemoryChunk { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_TAGMEMORYCHUNK +public: + struct TagMemoryChunk& operator=(struct TagMemoryChunk const &) = delete; + TagMemoryChunk(struct TagMemoryChunk const &) = delete; + TagMemoryChunk() = delete; +#endif +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_TAGMEMORYCHUNK +#endif + MCAPI struct TagMemoryChunk copy() const; + MCAPI bool operator!=(struct TagMemoryChunk const &) const; + MCAPI ~TagMemoryChunk(); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/TakeFlowerGoal.hpp b/LiteLoader/Header/MC/TakeFlowerGoal.hpp new file mode 100644 index 0000000..0c64727 --- /dev/null +++ b/LiteLoader/Header/MC/TakeFlowerGoal.hpp @@ -0,0 +1,34 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class TakeFlowerGoal { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_TAKEFLOWERGOAL +public: + class TakeFlowerGoal& operator=(class TakeFlowerGoal const &) = delete; + TakeFlowerGoal(class TakeFlowerGoal const &) = delete; + TakeFlowerGoal() = delete; +#endif + +public: + /*0*/ virtual ~TakeFlowerGoal(); + /*1*/ virtual bool canUse(); + /*2*/ virtual bool canContinueToUse(); + /*3*/ virtual void __unk_vfn_3(); + /*4*/ virtual void start(); + /*5*/ virtual void stop(); + /*6*/ virtual void tick(); + /*7*/ virtual void appendDebugInfo(std::string &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_TAKEFLOWERGOAL +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/TakeItemActorPacket.hpp b/LiteLoader/Header/MC/TakeItemActorPacket.hpp new file mode 100644 index 0000000..48027b2 --- /dev/null +++ b/LiteLoader/Header/MC/TakeItemActorPacket.hpp @@ -0,0 +1,32 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Packet.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class TakeItemActorPacket : public Packet { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_TAKEITEMACTORPACKET +public: + class TakeItemActorPacket& operator=(class TakeItemActorPacket const &) = delete; + TakeItemActorPacket(class TakeItemActorPacket const &) = delete; + TakeItemActorPacket() = delete; +#endif + +public: + /*0*/ virtual ~TakeItemActorPacket(); + /*1*/ virtual enum MinecraftPacketIds getId() const; + /*2*/ virtual std::string getName() const; + /*3*/ virtual void write(class BinaryStream &) const; + /*4*/ virtual enum StreamReadResult read(class ReadOnlyBinaryStream &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_TAKEITEMACTORPACKET +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/TakePictureCommand.hpp b/LiteLoader/Header/MC/TakePictureCommand.hpp new file mode 100644 index 0000000..42f3d20 --- /dev/null +++ b/LiteLoader/Header/MC/TakePictureCommand.hpp @@ -0,0 +1,30 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Command.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class TakePictureCommand : public Command { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_TAKEPICTURECOMMAND +public: + class TakePictureCommand& operator=(class TakePictureCommand const &) = delete; + TakePictureCommand(class TakePictureCommand const &) = delete; + TakePictureCommand() = delete; +#endif + +public: + /*0*/ virtual ~TakePictureCommand(); + /*1*/ virtual void execute(class CommandOrigin const &, class CommandOutput &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_TAKEPICTURECOMMAND +#endif + MCAPI static void setup(class CommandRegistry &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/TallGrass.hpp b/LiteLoader/Header/MC/TallGrass.hpp new file mode 100644 index 0000000..eea25f4 --- /dev/null +++ b/LiteLoader/Header/MC/TallGrass.hpp @@ -0,0 +1,75 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "BushBlock.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class TallGrass : public BushBlock { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_TALLGRASS +public: + class TallGrass& operator=(class TallGrass const &) = delete; + TallGrass(class TallGrass const &) = delete; + TallGrass() = delete; +#endif + +public: + /*0*/ virtual ~TallGrass(); + /*8*/ virtual class Vec3 randomlyModifyPosition(class BlockPos const &) const; + /*10*/ virtual class AABB const & getAABB(class BlockSource &, class BlockPos const &, class Block const &, class AABB &, bool) const; + /*18*/ virtual void __unk_vfn_18(); + /*24*/ virtual void __unk_vfn_24(); + /*25*/ virtual void __unk_vfn_25(); + /*26*/ virtual void __unk_vfn_26(); + /*27*/ virtual void __unk_vfn_27(); + /*28*/ virtual void __unk_vfn_28(); + /*30*/ virtual void __unk_vfn_30(); + /*31*/ virtual void __unk_vfn_31(); + /*32*/ virtual void __unk_vfn_32(); + /*33*/ virtual void __unk_vfn_33(); + /*34*/ virtual void __unk_vfn_34(); + /*35*/ virtual void __unk_vfn_35(); + /*36*/ virtual void __unk_vfn_36(); + /*38*/ virtual void __unk_vfn_38(); + /*39*/ virtual void __unk_vfn_39(); + /*40*/ virtual void __unk_vfn_40(); + /*42*/ virtual void __unk_vfn_42(); + /*43*/ virtual void __unk_vfn_43(); + /*49*/ virtual void __unk_vfn_49(); + /*50*/ virtual bool canContainLiquid() const; + /*52*/ virtual void __unk_vfn_52(); + /*67*/ virtual void __unk_vfn_67(); + /*73*/ virtual void __unk_vfn_73(); + /*75*/ virtual bool onFertilized(class BlockSource &, class BlockPos const &, class Actor *, enum FertilizerType) const; + /*76*/ virtual bool mayConsumeFertilizer(class BlockSource &) const; + /*77*/ virtual bool canBeFertilized(class BlockSource &, class BlockPos const &, class Block const &) const; + /*81*/ virtual bool mayPlace(class BlockSource &, class BlockPos const &) const; + /*87*/ virtual void __unk_vfn_87(); + /*91*/ virtual class ItemInstance getResourceItem(class Random &, class Block const &, int) const; + /*95*/ virtual void __unk_vfn_95(); + /*105*/ virtual void playerDestroy(class Player &, class BlockPos const &, class Block const &) const; + /*106*/ virtual bool canSurvive(class BlockSource &, class BlockPos const &) const; + /*109*/ virtual void __unk_vfn_109(); + /*113*/ virtual class Color getMapColor(class BlockSource &, class BlockPos const &) const; + /*116*/ virtual void __unk_vfn_116(); + /*118*/ virtual void __unk_vfn_118(); + /*119*/ virtual void __unk_vfn_119(); + /*125*/ virtual enum BlockRenderLayer getRenderLayer() const; + /*126*/ virtual enum BlockRenderLayer getRenderLayer(class Block const &, class BlockSource &, class BlockPos const &) const; + /*127*/ virtual std::string buildDescriptionId(class Block const &) const; + /*129*/ virtual int getColor(class Block const &) const; + /*130*/ virtual int getColor(class BlockSource &, class BlockPos const &, class Block const &) const; + /*142*/ virtual void __unk_vfn_142(); + /*158*/ virtual void __unk_vfn_158(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_TALLGRASS + MCVAPI bool canBeSilkTouched() const; +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/TallGrassFeature.hpp b/LiteLoader/Header/MC/TallGrassFeature.hpp new file mode 100644 index 0000000..5bdb3a9 --- /dev/null +++ b/LiteLoader/Header/MC/TallGrassFeature.hpp @@ -0,0 +1,30 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Feature.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class TallGrassFeature : public Feature { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_TALLGRASSFEATURE +public: + class TallGrassFeature& operator=(class TallGrassFeature const &) = delete; + TallGrassFeature(class TallGrassFeature const &) = delete; + TallGrassFeature() = delete; +#endif + +public: + /*0*/ virtual ~TallGrassFeature(); + /*1*/ virtual bool place(class BlockSource &, class BlockPos const &, class Random &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_TALLGRASSFEATURE +#endif + MCAPI bool place(class BlockSource &, class BlockPos const &, class Random &, int, int) const; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/TameableComponent.hpp b/LiteLoader/Header/MC/TameableComponent.hpp new file mode 100644 index 0000000..d1c5695 --- /dev/null +++ b/LiteLoader/Header/MC/TameableComponent.hpp @@ -0,0 +1,32 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class TameableComponent { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_TAMEABLECOMPONENT +public: + class TameableComponent& operator=(class TameableComponent const &) = delete; + TameableComponent(class TameableComponent const &) = delete; + TameableComponent() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_TAMEABLECOMPONENT +#endif + MCAPI bool getInteraction(class Actor &, class Player &, class ActorInteraction &); + +//private: + MCAPI void _becomeTame(class Actor &); + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/TameableDescription.hpp b/LiteLoader/Header/MC/TameableDescription.hpp new file mode 100644 index 0000000..07e4030 --- /dev/null +++ b/LiteLoader/Header/MC/TameableDescription.hpp @@ -0,0 +1,30 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Json.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +struct TameableDescription { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_TAMEABLEDESCRIPTION +public: + struct TameableDescription& operator=(struct TameableDescription const &) = delete; + TameableDescription(struct TameableDescription const &) = delete; + TameableDescription() = delete; +#endif +public: + /*0*/ virtual char const * getJsonName() const; + /*1*/ virtual ~TameableDescription(); + /*2*/ virtual void deserializeData(class Json::Value &); + /*3*/ virtual void serializeData(class Json::Value &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_TAMEABLEDESCRIPTION +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/TargetBlock.hpp b/LiteLoader/Header/MC/TargetBlock.hpp new file mode 100644 index 0000000..cb82378 --- /dev/null +++ b/LiteLoader/Header/MC/TargetBlock.hpp @@ -0,0 +1,64 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "BlockLegacy.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class TargetBlock : public BlockLegacy { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_TARGETBLOCK +public: + class TargetBlock& operator=(class TargetBlock const &) = delete; + TargetBlock(class TargetBlock const &) = delete; + TargetBlock() = delete; +#endif + +public: + /*0*/ virtual ~TargetBlock(); + /*1*/ virtual void tick(class BlockSource &, class BlockPos const &, class Random &) const; + /*14*/ virtual void onProjectileHit(class BlockSource &, class BlockPos const &, class Actor const &) const; + /*18*/ virtual void __unk_vfn_18(); + /*24*/ virtual void __unk_vfn_24(); + /*25*/ virtual void __unk_vfn_25(); + /*26*/ virtual void __unk_vfn_26(); + /*27*/ virtual void __unk_vfn_27(); + /*28*/ virtual void __unk_vfn_28(); + /*30*/ virtual void __unk_vfn_30(); + /*31*/ virtual void __unk_vfn_31(); + /*32*/ virtual void __unk_vfn_32(); + /*33*/ virtual void __unk_vfn_33(); + /*34*/ virtual void __unk_vfn_34(); + /*35*/ virtual void __unk_vfn_35(); + /*36*/ virtual void __unk_vfn_36(); + /*38*/ virtual void __unk_vfn_38(); + /*39*/ virtual void __unk_vfn_39(); + /*40*/ virtual void __unk_vfn_40(); + /*42*/ virtual void __unk_vfn_42(); + /*43*/ virtual void __unk_vfn_43(); + /*49*/ virtual void __unk_vfn_49(); + /*51*/ virtual bool shouldConnectToRedstone(class BlockSource &, class BlockPos const &, int) const; + /*52*/ virtual void __unk_vfn_52(); + /*59*/ virtual void onPlace(class BlockSource &, class BlockPos const &) const; + /*67*/ virtual void __unk_vfn_67(); + /*70*/ virtual void setupRedstoneComponent(class BlockSource &, class BlockPos const &) const; + /*73*/ virtual void __unk_vfn_73(); + /*87*/ virtual void __unk_vfn_87(); + /*95*/ virtual void __unk_vfn_95(); + /*109*/ virtual void __unk_vfn_109(); + /*116*/ virtual void __unk_vfn_116(); + /*118*/ virtual void __unk_vfn_118(); + /*119*/ virtual void __unk_vfn_119(); + /*142*/ virtual void __unk_vfn_142(); + /*158*/ virtual void __unk_vfn_158(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_TARGETBLOCK + MCVAPI bool isSignalSource() const; +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/TargetGoal.hpp b/LiteLoader/Header/MC/TargetGoal.hpp new file mode 100644 index 0000000..cad80d4 --- /dev/null +++ b/LiteLoader/Header/MC/TargetGoal.hpp @@ -0,0 +1,45 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class TargetGoal { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_TARGETGOAL +public: + class TargetGoal& operator=(class TargetGoal const &) = delete; + TargetGoal(class TargetGoal const &) = delete; + TargetGoal() = delete; +#endif + +public: + /*0*/ virtual ~TargetGoal(); + /*1*/ virtual bool canUse() = 0; + /*2*/ virtual bool canContinueToUse(); + /*3*/ virtual bool isTargetGoal() const; + /*4*/ virtual void start(); + /*5*/ virtual void stop(); + /*6*/ virtual void tick(); + /*7*/ virtual void appendDebugInfo(std::string &) const; + /*8*/ virtual void __unk_vfn_8(); + /*9*/ virtual void __unk_vfn_9(); + /*10*/ virtual bool _canAttack(class Mob *, class Actor *, bool, bool, struct MobDescriptor const **); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_TARGETGOAL +#endif + MCAPI TargetGoal(class Mob &, std::vector const &, bool, int, bool, float, bool, int); + +//protected: + MCAPI bool _canAttack(class Actor *, bool, struct MobDescriptor const **); + MCAPI bool _canReachAfterDelay(class Actor &); + MCAPI bool _withinRange(class Actor const &); + +protected: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/TargetGoalDefinition.hpp b/LiteLoader/Header/MC/TargetGoalDefinition.hpp new file mode 100644 index 0000000..c8c84a2 --- /dev/null +++ b/LiteLoader/Header/MC/TargetGoalDefinition.hpp @@ -0,0 +1,27 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class TargetGoalDefinition { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_TARGETGOALDEFINITION +public: + class TargetGoalDefinition& operator=(class TargetGoalDefinition const &) = delete; + TargetGoalDefinition(class TargetGoalDefinition const &) = delete; + TargetGoalDefinition() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_TARGETGOALDEFINITION +#endif + MCAPI void initialize(class EntityContext &, class TargetGoal &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/TargetNearbyDescription.hpp b/LiteLoader/Header/MC/TargetNearbyDescription.hpp new file mode 100644 index 0000000..a2387eb --- /dev/null +++ b/LiteLoader/Header/MC/TargetNearbyDescription.hpp @@ -0,0 +1,30 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Json.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +struct TargetNearbyDescription { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_TARGETNEARBYDESCRIPTION +public: + struct TargetNearbyDescription& operator=(struct TargetNearbyDescription const &) = delete; + TargetNearbyDescription(struct TargetNearbyDescription const &) = delete; +#endif +public: + /*0*/ virtual char const * getJsonName() const; + /*1*/ virtual ~TargetNearbyDescription(); + /*2*/ virtual void deserializeData(class Json::Value &); + /*3*/ virtual void serializeData(class Json::Value &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_TARGETNEARBYDESCRIPTION +#endif + MCAPI TargetNearbyDescription(); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/TargetNearbySystem.hpp b/LiteLoader/Header/MC/TargetNearbySystem.hpp new file mode 100644 index 0000000..343a2f0 --- /dev/null +++ b/LiteLoader/Header/MC/TargetNearbySystem.hpp @@ -0,0 +1,28 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class TargetNearbySystem { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_TARGETNEARBYSYSTEM +public: + class TargetNearbySystem& operator=(class TargetNearbySystem const &) = delete; + TargetNearbySystem(class TargetNearbySystem const &) = delete; + TargetNearbySystem() = delete; +#endif + +public: + /*0*/ virtual ~TargetNearbySystem(); + /*1*/ virtual void tick(class EntityRegistry &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_TARGETNEARBYSYSTEM +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/TargetWhenPushedGoal.hpp b/LiteLoader/Header/MC/TargetWhenPushedGoal.hpp new file mode 100644 index 0000000..4c0b944 --- /dev/null +++ b/LiteLoader/Header/MC/TargetWhenPushedGoal.hpp @@ -0,0 +1,35 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class TargetWhenPushedGoal { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_TARGETWHENPUSHEDGOAL +public: + class TargetWhenPushedGoal& operator=(class TargetWhenPushedGoal const &) = delete; + TargetWhenPushedGoal(class TargetWhenPushedGoal const &) = delete; + TargetWhenPushedGoal() = delete; +#endif + +public: + /*0*/ virtual ~TargetWhenPushedGoal(); + /*1*/ virtual bool canUse(); + /*2*/ virtual void __unk_vfn_2(); + /*3*/ virtual void __unk_vfn_3(); + /*4*/ virtual void start(); + /*5*/ virtual void stop(); + /*6*/ virtual void appendDebugInfo(std::string &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_TARGETWHENPUSHEDGOAL + MCVAPI bool canBeInterrupted(); + MCVAPI bool canContinueToUse(); +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/TaskGroup.hpp b/LiteLoader/Header/MC/TaskGroup.hpp new file mode 100644 index 0000000..ec8103b --- /dev/null +++ b/LiteLoader/Header/MC/TaskGroup.hpp @@ -0,0 +1,46 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Bedrock.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class TaskGroup { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_TASKGROUP +public: + class TaskGroup& operator=(class TaskGroup const &) = delete; + TaskGroup(class TaskGroup const &) = delete; + TaskGroup() = delete; +#endif + +public: + /*0*/ virtual ~TaskGroup(); + /*1*/ virtual void taskRegister(class std::shared_ptr); + /*2*/ virtual void requeueTask(class std::shared_ptr, bool); + /*3*/ virtual enum TaskGroupState getState() const; + /*4*/ virtual void processCoroutines(); + /*5*/ virtual void taskComplete(class gsl::not_null); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_TASKGROUP +#endif + MCAPI TaskGroup(class WorkerPool &, class Scheduler &, std::string); + MCAPI void flush(class std::function); + MCAPI bool isEmpty() const; + MCAPI class std::shared_ptr> queue(struct TaskStartInfo &, class std::function &&, class std::function &&); + MCAPI class std::shared_ptr> queueSync(struct TaskStartInfo &, class std::function &&); + MCAPI void sync_DEPRECATED_ASK_TOMMO(class std::function); + +//private: + MCAPI void _forAllTasks(class std::unique_lock &, class std::function const &)>); + MCAPI class std::shared_ptr> _queueInternal(class std::shared_ptr); + MCAPI static class TaskGroup * getCurrentTaskGroup(); + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/TaskResult.hpp b/LiteLoader/Header/MC/TaskResult.hpp new file mode 100644 index 0000000..e964bb3 --- /dev/null +++ b/LiteLoader/Header/MC/TaskResult.hpp @@ -0,0 +1,30 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class TaskResult { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_TASKRESULT +public: + class TaskResult& operator=(class TaskResult const &) = delete; + TaskResult() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_TASKRESULT +#endif + MCAPI TaskResult(class TaskResult const &); + MCAPI ~TaskResult(); + MCAPI static class TaskResult const Done; + MCAPI static class TaskResult const Requeue; + MCAPI static class TaskResult requeueAfter(class std::chrono::duration<__int64, struct std::ratio<1, 1000000000>>); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/TaskStartInfo.hpp b/LiteLoader/Header/MC/TaskStartInfo.hpp new file mode 100644 index 0000000..8c3240e --- /dev/null +++ b/LiteLoader/Header/MC/TaskStartInfo.hpp @@ -0,0 +1,28 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +struct TaskStartInfo { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_TASKSTARTINFO +public: + struct TaskStartInfo& operator=(struct TaskStartInfo const &) = delete; + TaskStartInfo(struct TaskStartInfo const &) = delete; + TaskStartInfo() = delete; +#endif +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_TASKSTARTINFO +#endif + MCAPI void startWithDelay(class std::chrono::duration<__int64, struct std::ratio<1, 1000000000>>); + MCAPI ~TaskStartInfo(); + MCAPI static class std::thread::id const NoAffinity; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/TcpProxy.hpp b/LiteLoader/Header/MC/TcpProxy.hpp new file mode 100644 index 0000000..b6cc4d3 --- /dev/null +++ b/LiteLoader/Header/MC/TcpProxy.hpp @@ -0,0 +1,26 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class TcpProxy { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_TCPPROXY +public: + class TcpProxy& operator=(class TcpProxy const &) = delete; + TcpProxy(class TcpProxy const &) = delete; + TcpProxy() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_TCPPROXY +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/TeleportCommand.hpp b/LiteLoader/Header/MC/TeleportCommand.hpp new file mode 100644 index 0000000..87fad8a --- /dev/null +++ b/LiteLoader/Header/MC/TeleportCommand.hpp @@ -0,0 +1,38 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Command.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class TeleportCommand : public Command { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_TELEPORTCOMMAND +public: + class TeleportCommand& operator=(class TeleportCommand const &) = delete; + TeleportCommand(class TeleportCommand const &) = delete; + TeleportCommand() = delete; +#endif + +public: + /*0*/ virtual ~TeleportCommand(); + /*1*/ virtual void execute(class CommandOrigin const &, class CommandOutput &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_TELEPORTCOMMAND +#endif + MCAPI static void setup(class CommandRegistry &); + MCAPI static void teleport(class Actor &, class Vec3, class Vec3 *, class AutomaticID, class RelativeFloat, class RelativeFloat, int, struct ActorUniqueID const &); + +//private: + MCAPI enum TeleportCommand::FacingResult getFacingDirection(class CommandOrigin const &, class CommandOutput &, class Vec3 &) const; + MCAPI static enum TeleportCommand::TeleportAnalysis actorToLocationTeleportAnalysis(class CommandOrigin const &, class CommandArea const &, class CommandArea &, class Actor const &, class Vec3); + MCAPI static std::unique_ptr getCommandAreaForTargets(class CommandOrigin const &, class CommandSelectorResults const &, class Vec3, bool); + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/TeleportComponent.hpp b/LiteLoader/Header/MC/TeleportComponent.hpp new file mode 100644 index 0000000..df968a2 --- /dev/null +++ b/LiteLoader/Header/MC/TeleportComponent.hpp @@ -0,0 +1,29 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class TeleportComponent { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_TELEPORTCOMPONENT +public: + class TeleportComponent& operator=(class TeleportComponent const &) = delete; + TeleportComponent(class TeleportComponent const &) = delete; + TeleportComponent() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_TELEPORTCOMPONENT +#endif + MCAPI void initFromDefinition(struct TeleportDescription const &); + MCAPI bool randomTeleport(class Actor &); + MCAPI bool teleport(class Actor &, class Vec3 const &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/TeleportDescription.hpp b/LiteLoader/Header/MC/TeleportDescription.hpp new file mode 100644 index 0000000..e397b30 --- /dev/null +++ b/LiteLoader/Header/MC/TeleportDescription.hpp @@ -0,0 +1,30 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Json.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +struct TeleportDescription { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_TELEPORTDESCRIPTION +public: + struct TeleportDescription& operator=(struct TeleportDescription const &) = delete; + TeleportDescription(struct TeleportDescription const &) = delete; +#endif +public: + /*0*/ virtual char const * getJsonName() const; + /*1*/ virtual ~TeleportDescription(); + /*2*/ virtual void deserializeData(class Json::Value &); + /*3*/ virtual void serializeData(class Json::Value &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_TELEPORTDESCRIPTION +#endif + MCAPI TeleportDescription(); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/TeleportSystem.hpp b/LiteLoader/Header/MC/TeleportSystem.hpp new file mode 100644 index 0000000..f4a7e5a --- /dev/null +++ b/LiteLoader/Header/MC/TeleportSystem.hpp @@ -0,0 +1,28 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class TeleportSystem { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_TELEPORTSYSTEM +public: + class TeleportSystem& operator=(class TeleportSystem const &) = delete; + TeleportSystem(class TeleportSystem const &) = delete; + TeleportSystem() = delete; +#endif + +public: + /*0*/ virtual ~TeleportSystem(); + /*1*/ virtual void tick(class EntityRegistry &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_TELEPORTSYSTEM +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/TeleportToSubcomponent.hpp b/LiteLoader/Header/MC/TeleportToSubcomponent.hpp new file mode 100644 index 0000000..9fedb24 --- /dev/null +++ b/LiteLoader/Header/MC/TeleportToSubcomponent.hpp @@ -0,0 +1,32 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class TeleportToSubcomponent { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_TELEPORTTOSUBCOMPONENT +public: + class TeleportToSubcomponent& operator=(class TeleportToSubcomponent const &) = delete; + TeleportToSubcomponent(class TeleportToSubcomponent const &) = delete; + TeleportToSubcomponent() = delete; +#endif + +public: + /*0*/ virtual ~TeleportToSubcomponent(); + /*1*/ virtual void __unk_vfn_1(); + /*2*/ virtual void __unk_vfn_2(); + /*3*/ virtual void doOnHitEffect(class Actor &, class ProjectileComponent &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_TELEPORTTOSUBCOMPONENT + MCVAPI void readfromJSON(class Json::Value &); + MCVAPI void writetoJSON(class Json::Value &) const; +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/TellCommand.hpp b/LiteLoader/Header/MC/TellCommand.hpp new file mode 100644 index 0000000..7a687a4 --- /dev/null +++ b/LiteLoader/Header/MC/TellCommand.hpp @@ -0,0 +1,30 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Command.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class TellCommand : public Command { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_TELLCOMMAND +public: + class TellCommand& operator=(class TellCommand const &) = delete; + TellCommand(class TellCommand const &) = delete; + TellCommand() = delete; +#endif + +public: + /*0*/ virtual ~TellCommand(); + /*1*/ virtual void execute(class CommandOrigin const &, class CommandOutput &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_TELLCOMMAND +#endif + MCAPI static void setup(class CommandRegistry &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/TellRawCommand.hpp b/LiteLoader/Header/MC/TellRawCommand.hpp new file mode 100644 index 0000000..7205849 --- /dev/null +++ b/LiteLoader/Header/MC/TellRawCommand.hpp @@ -0,0 +1,30 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Command.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class TellRawCommand : public Command { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_TELLRAWCOMMAND +public: + class TellRawCommand& operator=(class TellRawCommand const &) = delete; + TellRawCommand(class TellRawCommand const &) = delete; + TellRawCommand() = delete; +#endif + +public: + /*0*/ virtual ~TellRawCommand(); + /*1*/ virtual void execute(class CommandOrigin const &, class CommandOutput &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_TELLRAWCOMMAND +#endif + MCAPI static void setup(class CommandRegistry &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/TemplateStructurePiece.hpp b/LiteLoader/Header/MC/TemplateStructurePiece.hpp new file mode 100644 index 0000000..2e1c16d --- /dev/null +++ b/LiteLoader/Header/MC/TemplateStructurePiece.hpp @@ -0,0 +1,36 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "StructurePiece.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class TemplateStructurePiece : public StructurePiece { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_TEMPLATESTRUCTUREPIECE +public: + class TemplateStructurePiece& operator=(class TemplateStructurePiece const &) = delete; + TemplateStructurePiece(class TemplateStructurePiece const &) = delete; + TemplateStructurePiece() = delete; +#endif + +public: + /*0*/ virtual ~TemplateStructurePiece(); + /*1*/ virtual void moveBoundingBox(int, int, int); + /*5*/ virtual bool postProcess(class BlockSource &, class Random &, class BoundingBox const &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_TEMPLATESTRUCTUREPIECE +#endif + MCAPI TemplateStructurePiece(int); + +//private: + MCAPI void _setBoundingBoxFromTemplate(); + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/TemporalAttributeBuff.hpp b/LiteLoader/Header/MC/TemporalAttributeBuff.hpp new file mode 100644 index 0000000..a79ada9 --- /dev/null +++ b/LiteLoader/Header/MC/TemporalAttributeBuff.hpp @@ -0,0 +1,33 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class TemporalAttributeBuff { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_TEMPORALATTRIBUTEBUFF +public: + class TemporalAttributeBuff& operator=(class TemporalAttributeBuff const &) = delete; + TemporalAttributeBuff(class TemporalAttributeBuff const &) = delete; + TemporalAttributeBuff() = delete; +#endif + +public: + /*0*/ virtual ~TemporalAttributeBuff(); + /*1*/ virtual bool isInstantaneous() const; + /*2*/ virtual bool isSerializable() const; + /*3*/ virtual void setDurationAmplifier(class std::shared_ptr); + /*4*/ virtual bool shouldBuff() const; + /*5*/ virtual bool isComplete() const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_TEMPORALATTRIBUTEBUFF +#endif + MCAPI TemporalAttributeBuff(float, int, enum AttributeBuffType, bool, std::string const &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/TemptGoal.hpp b/LiteLoader/Header/MC/TemptGoal.hpp new file mode 100644 index 0000000..8e8ce8a --- /dev/null +++ b/LiteLoader/Header/MC/TemptGoal.hpp @@ -0,0 +1,34 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class TemptGoal { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_TEMPTGOAL +public: + class TemptGoal& operator=(class TemptGoal const &) = delete; + TemptGoal(class TemptGoal const &) = delete; + TemptGoal() = delete; +#endif + +public: + /*0*/ virtual ~TemptGoal(); + /*1*/ virtual bool canUse(); + /*2*/ virtual bool canContinueToUse(); + /*3*/ virtual void __unk_vfn_3(); + /*4*/ virtual void start(); + /*5*/ virtual void stop(); + /*6*/ virtual void tick(); + /*7*/ virtual void appendDebugInfo(std::string &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_TEMPTGOAL +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/TerrainBurstReactionComponent.hpp b/LiteLoader/Header/MC/TerrainBurstReactionComponent.hpp new file mode 100644 index 0000000..b7132a8 --- /dev/null +++ b/LiteLoader/Header/MC/TerrainBurstReactionComponent.hpp @@ -0,0 +1,30 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class TerrainBurstReactionComponent { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_TERRAINBURSTREACTIONCOMPONENT +public: + class TerrainBurstReactionComponent& operator=(class TerrainBurstReactionComponent const &) = delete; + TerrainBurstReactionComponent(class TerrainBurstReactionComponent const &) = delete; + TerrainBurstReactionComponent() = delete; +#endif + +public: + /*0*/ virtual ~TerrainBurstReactionComponent(); + /*1*/ virtual void __unk_vfn_1(); + /*2*/ virtual void __unk_vfn_2(); + /*3*/ virtual void _onEnd(class LabTableReaction &, class BlockSource &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_TERRAINBURSTREACTIONCOMPONENT +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/TestForBlockCommand.hpp b/LiteLoader/Header/MC/TestForBlockCommand.hpp new file mode 100644 index 0000000..3203607 --- /dev/null +++ b/LiteLoader/Header/MC/TestForBlockCommand.hpp @@ -0,0 +1,30 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Command.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class TestForBlockCommand : public Command { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_TESTFORBLOCKCOMMAND +public: + class TestForBlockCommand& operator=(class TestForBlockCommand const &) = delete; + TestForBlockCommand(class TestForBlockCommand const &) = delete; + TestForBlockCommand() = delete; +#endif + +public: + /*0*/ virtual ~TestForBlockCommand(); + /*1*/ virtual void execute(class CommandOrigin const &, class CommandOutput &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_TESTFORBLOCKCOMMAND +#endif + MCAPI static void setup(class CommandRegistry &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/TestForBlocksCommand.hpp b/LiteLoader/Header/MC/TestForBlocksCommand.hpp new file mode 100644 index 0000000..772ab91 --- /dev/null +++ b/LiteLoader/Header/MC/TestForBlocksCommand.hpp @@ -0,0 +1,30 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Command.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class TestForBlocksCommand : public Command { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_TESTFORBLOCKSCOMMAND +public: + class TestForBlocksCommand& operator=(class TestForBlocksCommand const &) = delete; + TestForBlocksCommand(class TestForBlocksCommand const &) = delete; + TestForBlocksCommand() = delete; +#endif + +public: + /*0*/ virtual ~TestForBlocksCommand(); + /*1*/ virtual void execute(class CommandOrigin const &, class CommandOutput &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_TESTFORBLOCKSCOMMAND +#endif + MCAPI static void setup(class CommandRegistry &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/TestForCommand.hpp b/LiteLoader/Header/MC/TestForCommand.hpp new file mode 100644 index 0000000..c24e8c5 --- /dev/null +++ b/LiteLoader/Header/MC/TestForCommand.hpp @@ -0,0 +1,30 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Command.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class TestForCommand : public Command { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_TESTFORCOMMAND +public: + class TestForCommand& operator=(class TestForCommand const &) = delete; + TestForCommand(class TestForCommand const &) = delete; + TestForCommand() = delete; +#endif + +public: + /*0*/ virtual ~TestForCommand(); + /*1*/ virtual void execute(class CommandOrigin const &, class CommandOutput &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_TESTFORCOMMAND +#endif + MCAPI static void setup(class CommandRegistry &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/TextObjectLocalizedText.hpp b/LiteLoader/Header/MC/TextObjectLocalizedText.hpp new file mode 100644 index 0000000..dff9df8 --- /dev/null +++ b/LiteLoader/Header/MC/TextObjectLocalizedText.hpp @@ -0,0 +1,31 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Json.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class TextObjectLocalizedText { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_TEXTOBJECTLOCALIZEDTEXT +public: + class TextObjectLocalizedText& operator=(class TextObjectLocalizedText const &) = delete; + TextObjectLocalizedText(class TextObjectLocalizedText const &) = delete; + TextObjectLocalizedText() = delete; +#endif + +public: + /*0*/ virtual ~TextObjectLocalizedText(); + /*1*/ virtual std::string asString() const; + /*2*/ virtual class Json::Value asJsonValue() const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_TEXTOBJECTLOCALIZEDTEXT +#endif + MCAPI TextObjectLocalizedText(std::string); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/TextObjectLocalizedTextWithParams.hpp b/LiteLoader/Header/MC/TextObjectLocalizedTextWithParams.hpp new file mode 100644 index 0000000..9a07812 --- /dev/null +++ b/LiteLoader/Header/MC/TextObjectLocalizedTextWithParams.hpp @@ -0,0 +1,31 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Json.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class TextObjectLocalizedTextWithParams { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_TEXTOBJECTLOCALIZEDTEXTWITHPARAMS +public: + class TextObjectLocalizedTextWithParams& operator=(class TextObjectLocalizedTextWithParams const &) = delete; + TextObjectLocalizedTextWithParams(class TextObjectLocalizedTextWithParams const &) = delete; + TextObjectLocalizedTextWithParams() = delete; +#endif + +public: + /*0*/ virtual ~TextObjectLocalizedTextWithParams(); + /*1*/ virtual std::string asString() const; + /*2*/ virtual class Json::Value asJsonValue() const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_TEXTOBJECTLOCALIZEDTEXTWITHPARAMS +#endif + MCAPI TextObjectLocalizedTextWithParams(std::string, std::vector const &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/TextObjectParser.hpp b/LiteLoader/Header/MC/TextObjectParser.hpp new file mode 100644 index 0000000..d11c21e --- /dev/null +++ b/LiteLoader/Header/MC/TextObjectParser.hpp @@ -0,0 +1,41 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Json.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class TextObjectParser { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_TEXTOBJECTPARSER +public: + class TextObjectParser& operator=(class TextObjectParser const &) = delete; + TextObjectParser(class TextObjectParser const &) = delete; + TextObjectParser() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_TEXTOBJECTPARSER +#endif + MCAPI static std::string const RAW_TEXT_ERROR_NOT_ARRAY; + MCAPI static std::string const RAW_TEXT_ERROR_NOT_OBJECT; + MCAPI static std::string const RAW_TEXT_ERROR_NO_DATA; + MCAPI static std::string const RAW_TEXT_ERROR_PARSE_FAILED; + MCAPI static std::string const RAW_TEXT_ERROR_TEXT_NOT_STRING; + MCAPI static std::string const RAW_TEXT_ERROR_TRANSLATE_NOT_STRING; + MCAPI static std::string const RAW_TEXT_ERROR_WITH_NOT_ARRAY_OR_RAW_TEXT; + MCAPI static bool textObjectFromJsonString(std::string const &, class TextObjectRoot &, std::string &); + +//private: + MCAPI static bool _getObjectsFromTextObject(class Json::Value const &, class TextObjectRoot &, std::string &); + MCAPI static bool _textObjectFromJson(class Json::Value const &, class TextObjectRoot &, std::string &); + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/TextObjectRoot.hpp b/LiteLoader/Header/MC/TextObjectRoot.hpp new file mode 100644 index 0000000..8ec8a3b --- /dev/null +++ b/LiteLoader/Header/MC/TextObjectRoot.hpp @@ -0,0 +1,32 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Json.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class TextObjectRoot { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_TEXTOBJECTROOT +public: + class TextObjectRoot& operator=(class TextObjectRoot const &) = delete; + TextObjectRoot(class TextObjectRoot const &) = delete; + TextObjectRoot() = delete; +#endif + +public: + /*0*/ virtual ~TextObjectRoot(); + /*1*/ virtual std::string asString() const; + /*2*/ virtual class Json::Value asJsonValue() const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_TEXTOBJECTROOT +#endif + MCAPI void addChild(std::unique_ptr); + MCAPI class TextObjectRoot & operator=(class TextObjectRoot &&); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/TextObjectText.hpp b/LiteLoader/Header/MC/TextObjectText.hpp new file mode 100644 index 0000000..9f4b76b --- /dev/null +++ b/LiteLoader/Header/MC/TextObjectText.hpp @@ -0,0 +1,30 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Json.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class TextObjectText { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_TEXTOBJECTTEXT +public: + class TextObjectText& operator=(class TextObjectText const &) = delete; + TextObjectText(class TextObjectText const &) = delete; + TextObjectText() = delete; +#endif + +public: + /*0*/ virtual ~TextObjectText(); + /*1*/ virtual std::string asString() const; + /*2*/ virtual class Json::Value asJsonValue() const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_TEXTOBJECTTEXT +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/TextPacket.hpp b/LiteLoader/Header/MC/TextPacket.hpp new file mode 100644 index 0000000..66b165b --- /dev/null +++ b/LiteLoader/Header/MC/TextPacket.hpp @@ -0,0 +1,38 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Packet.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class TextPacket : public Packet { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_TEXTPACKET +public: + class TextPacket& operator=(class TextPacket const &) = delete; + TextPacket(class TextPacket const &) = delete; + TextPacket() = delete; +#endif + +public: + /*0*/ virtual ~TextPacket(); + /*1*/ virtual enum MinecraftPacketIds getId() const; + /*2*/ virtual std::string getName() const; + /*3*/ virtual void write(class BinaryStream &) const; + /*4*/ virtual enum StreamReadResult read(class ReadOnlyBinaryStream &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_TEXTPACKET +#endif + MCAPI static class TextPacket createChat(std::string const &, std::string const &, std::string const &, std::string const &); + MCAPI static class TextPacket createJukeboxPopup(std::string const &, std::vector const &); + MCAPI static class TextPacket createSystemMessage(std::string const &); + MCAPI static class TextPacket createTextObjectMessage(class TextObjectRoot const &); + MCAPI static class TextPacket createTextObjectWhisperMessage(class TextObjectRoot const &, std::string const &, std::string const &); + MCAPI static class TextPacket createTranslated(std::string const &, std::vector const &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/TextureUVCoordinateSet.hpp b/LiteLoader/Header/MC/TextureUVCoordinateSet.hpp new file mode 100644 index 0000000..8db1f17 --- /dev/null +++ b/LiteLoader/Header/MC/TextureUVCoordinateSet.hpp @@ -0,0 +1,23 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +struct TextureUVCoordinateSet { + +#define AFTER_EXTRA + +#undef AFTER_EXTRApublic: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_TEXTUREUVCOORDINATESET +#endif + MCAPI TextureUVCoordinateSet(struct TextureUVCoordinateSet const &); + MCAPI TextureUVCoordinateSet(); + MCAPI struct TextureUVCoordinateSet & operator=(struct TextureUVCoordinateSet const &); + MCAPI struct TextureUVCoordinateSet & operator=(struct TextureUVCoordinateSet &&); + MCAPI ~TextureUVCoordinateSet(); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/TheEndDimension.hpp b/LiteLoader/Header/MC/TheEndDimension.hpp new file mode 100644 index 0000000..2a0d341 --- /dev/null +++ b/LiteLoader/Header/MC/TheEndDimension.hpp @@ -0,0 +1,45 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class TheEndDimension { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_THEENDDIMENSION +public: + class TheEndDimension& operator=(class TheEndDimension const &) = delete; + TheEndDimension(class TheEndDimension const &) = delete; + TheEndDimension() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_THEENDDIMENSION + MCVAPI class std::tuple, class WorldGenerator *> createGenerator(); + MCVAPI void deserialize(class CompoundTag const &); + MCVAPI float getCloudHeight() const; + MCVAPI int getDefaultBiome() const; + MCVAPI class BlockPos getSpawnPos() const; + MCVAPI int getSpawnYPosition() const; + MCVAPI float getSunIntensity(float, class Vec3 const &, float) const; + MCVAPI float getTimeOfDay(int, float) const; + MCVAPI bool hasGround() const; + MCVAPI void init(); + MCVAPI bool isDay() const; + MCVAPI bool isFoggyAt(int, int) const; + MCVAPI bool isNaturalDimension() const; + MCVAPI bool isValidSpawn(int, int) const; + MCVAPI bool mayRespawnViaBed() const; + MCVAPI void serialize(class CompoundTag &) const; + MCVAPI void startLeaveGame(); + MCVAPI void tick(); + MCVAPI class Vec3 translatePosAcrossDimension(class Vec3 const &, class AutomaticID) const; +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/TheEndGenerator.hpp b/LiteLoader/Header/MC/TheEndGenerator.hpp new file mode 100644 index 0000000..580bfe4 --- /dev/null +++ b/LiteLoader/Header/MC/TheEndGenerator.hpp @@ -0,0 +1,43 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class TheEndGenerator { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_THEENDGENERATOR +public: + class TheEndGenerator& operator=(class TheEndGenerator const &) = delete; + TheEndGenerator(class TheEndGenerator const &) = delete; + TheEndGenerator() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_THEENDGENERATOR + MCVAPI bool findNearestFeature(enum StructureFeatureType, class BlockPos const &, class BlockPos &); + MCVAPI class BlockPos findSpawnPosition() const; + MCVAPI void garbageCollectBlueprints(class buffer_span); + MCVAPI class BiomeArea getBiomeArea(class BoundingBox const &, unsigned int) const; + MCVAPI enum StructureFeatureType getFeatureTypeAt(class BlockPos const &); + MCVAPI void loadChunk(class LevelChunk &, bool); + MCVAPI bool postProcess(class ChunkViewSource &); + MCVAPI void postProcessMobsAt(class BlockSource &, int, int, class Random &); + MCVAPI void prepareHeights(class BlockVolume &, class ChunkPos const &, bool); +#endif + MCAPI TheEndGenerator(class Dimension &, unsigned int); + MCAPI void buildSurfaces(class BlockVolume &, class ChunkPos const &, class LevelChunk &); + +//private: + MCAPI void getHeights(class std::array &, int, int, int); + MCAPI float getIslandHeightValue(int, int, int, int); + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/TheEndSpikeHelper.hpp b/LiteLoader/Header/MC/TheEndSpikeHelper.hpp new file mode 100644 index 0000000..b2fb2c0 --- /dev/null +++ b/LiteLoader/Header/MC/TheEndSpikeHelper.hpp @@ -0,0 +1,18 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "SpikeFeature.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +namespace TheEndSpikeHelper { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA + MCAPI std::vector getSpikesForLevel(class Level &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ThinFenceBlock.hpp b/LiteLoader/Header/MC/ThinFenceBlock.hpp new file mode 100644 index 0000000..6567294 --- /dev/null +++ b/LiteLoader/Header/MC/ThinFenceBlock.hpp @@ -0,0 +1,68 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "BlockLegacy.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ThinFenceBlock : public BlockLegacy { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_THINFENCEBLOCK +public: + class ThinFenceBlock& operator=(class ThinFenceBlock const &) = delete; + ThinFenceBlock(class ThinFenceBlock const &) = delete; + ThinFenceBlock() = delete; +#endif + +public: + /*0*/ virtual ~ThinFenceBlock(); + /*9*/ virtual void addAABBs(class Block const &, class BlockSource &, class BlockPos const &, class AABB const *, std::vector &) const; + /*10*/ virtual class AABB const & getAABB(class BlockSource &, class BlockPos const &, class Block const &, class AABB &, bool) const; + /*11*/ virtual bool addCollisionShapes(class Block const &, class BlockSource &, class BlockPos const &, class AABB const *, std::vector &, class Actor *) const; + /*13*/ virtual bool getLiquidClipVolume(class BlockSource &, class BlockPos const &, class AABB &) const; + /*18*/ virtual void __unk_vfn_18(); + /*22*/ virtual bool canConnect(class Block const &, unsigned char, class Block const &) const; + /*24*/ virtual void __unk_vfn_24(); + /*25*/ virtual void __unk_vfn_25(); + /*26*/ virtual void __unk_vfn_26(); + /*27*/ virtual void __unk_vfn_27(); + /*28*/ virtual void __unk_vfn_28(); + /*30*/ virtual void __unk_vfn_30(); + /*31*/ virtual void __unk_vfn_31(); + /*32*/ virtual void __unk_vfn_32(); + /*33*/ virtual void __unk_vfn_33(); + /*34*/ virtual void __unk_vfn_34(); + /*35*/ virtual void __unk_vfn_35(); + /*36*/ virtual void __unk_vfn_36(); + /*38*/ virtual void __unk_vfn_38(); + /*39*/ virtual void __unk_vfn_39(); + /*40*/ virtual void __unk_vfn_40(); + /*42*/ virtual void __unk_vfn_42(); + /*43*/ virtual void __unk_vfn_43(); + /*49*/ virtual void __unk_vfn_49(); + /*50*/ virtual bool canContainLiquid() const; + /*52*/ virtual void __unk_vfn_52(); + /*53*/ virtual bool canBeUsedInCommands(bool, class BaseGameVersion const &) const; + /*67*/ virtual void __unk_vfn_67(); + /*73*/ virtual void __unk_vfn_73(); + /*87*/ virtual void __unk_vfn_87(); + /*90*/ virtual int getResourceCount(class Random &, class Block const &, int, bool) const; + /*95*/ virtual void __unk_vfn_95(); + /*109*/ virtual void __unk_vfn_109(); + /*116*/ virtual void __unk_vfn_116(); + /*118*/ virtual void __unk_vfn_118(); + /*119*/ virtual void __unk_vfn_119(); + /*137*/ virtual class AABB const & getVisualShapeInWorld(class Block const &, class BlockSource &, class BlockPos const &, class AABB &, bool) const; + /*142*/ virtual void __unk_vfn_142(); + /*158*/ virtual void __unk_vfn_158(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_THINFENCEBLOCK + MCVAPI bool isThinFenceBlock() const; +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ThirdPartyInfo.hpp b/LiteLoader/Header/MC/ThirdPartyInfo.hpp new file mode 100644 index 0000000..66d9f80 --- /dev/null +++ b/LiteLoader/Header/MC/ThirdPartyInfo.hpp @@ -0,0 +1,26 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ThirdPartyInfo { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_THIRDPARTYINFO +public: + ThirdPartyInfo(class ThirdPartyInfo const &) = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_THIRDPARTYINFO +#endif + MCAPI ThirdPartyInfo(); + MCAPI class ThirdPartyInfo & operator=(class ThirdPartyInfo const &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/Throwable.hpp b/LiteLoader/Header/MC/Throwable.hpp new file mode 100644 index 0000000..1af48a1 --- /dev/null +++ b/LiteLoader/Header/MC/Throwable.hpp @@ -0,0 +1,66 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Actor.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class Throwable : public Actor { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_THROWABLE +public: + class Throwable& operator=(class Throwable const &) = delete; + Throwable(class Throwable const &) = delete; + Throwable() = delete; +#endif + +public: + /*3*/ virtual void initializeComponents(enum Actor::InitializationMethod, class VariantParameterList const &); + /*7*/ virtual ~Throwable(); + /*30*/ virtual void __unk_vfn_30(); + /*36*/ virtual void lerpTo(class Vec3 const &, class Vec2 const &, int); + /*37*/ virtual void lerpMotion(class Vec3 const &); + /*39*/ virtual void normalTick(); + /*54*/ virtual void __unk_vfn_54(); + /*61*/ virtual void __unk_vfn_61(); + /*73*/ virtual float getShadowHeightOffs(); + /*76*/ virtual void __unk_vfn_76(); + /*81*/ virtual void __unk_vfn_81(); + /*88*/ virtual void __unk_vfn_88(); + /*90*/ virtual void __unk_vfn_90(); + /*98*/ virtual void __unk_vfn_98(); + /*100*/ virtual void __unk_vfn_100(); + /*121*/ virtual void __unk_vfn_121(); + /*161*/ virtual struct ActorUniqueID getSourceUniqueID() const; + /*169*/ virtual void __unk_vfn_169(); + /*182*/ virtual void __unk_vfn_182(); + /*206*/ virtual void __unk_vfn_206(); + /*207*/ virtual void __unk_vfn_207(); + /*228*/ virtual void __unk_vfn_228(); + /*231*/ virtual void __unk_vfn_231(); + /*238*/ virtual void __unk_vfn_238(); + /*242*/ virtual void readAdditionalSaveData(class CompoundTag const &, class DataLoadHelper &); + /*243*/ virtual void addAdditionalSaveData(class CompoundTag &); + /*246*/ virtual void __unk_vfn_246(); + /*257*/ virtual void __unk_vfn_257(); + /*258*/ virtual float getThrowPower(); + /*259*/ virtual void __unk_vfn_259(); + /*260*/ virtual float getThrowUpAngleOffset(); + /*261*/ virtual float getGravity(); + /*262*/ virtual enum ParticleType getParticleType(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_THROWABLE + MCVAPI bool canMakeStepSound() const; + MCVAPI void onHit(class HitResult const &); + MCVAPI bool stopUponGroundCollision() const; +#endif + MCAPI Throwable(class ActorDefinitionGroup *, struct ActorDefinitionIdentifier const &); + MCAPI void shoot(class Mob &); + MCAPI void shoot(class Vec3 const &, float, float, class Vec3 const &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ThrownEgg.hpp b/LiteLoader/Header/MC/ThrownEgg.hpp new file mode 100644 index 0000000..488a09f --- /dev/null +++ b/LiteLoader/Header/MC/ThrownEgg.hpp @@ -0,0 +1,50 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Actor.hpp" +#include "Throwable.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ThrownEgg : public Throwable { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_THROWNEGG +public: + class ThrownEgg& operator=(class ThrownEgg const &) = delete; + ThrownEgg(class ThrownEgg const &) = delete; + ThrownEgg() = delete; +#endif + +public: + /*1*/ virtual void reloadHardcoded(enum Actor::InitializationMethod, class VariantParameterList const &); + /*7*/ virtual ~ThrownEgg(); + /*30*/ virtual void __unk_vfn_30(); + /*54*/ virtual void __unk_vfn_54(); + /*61*/ virtual void __unk_vfn_61(); + /*76*/ virtual void __unk_vfn_76(); + /*81*/ virtual void __unk_vfn_81(); + /*88*/ virtual void __unk_vfn_88(); + /*90*/ virtual void __unk_vfn_90(); + /*98*/ virtual void __unk_vfn_98(); + /*100*/ virtual void __unk_vfn_100(); + /*121*/ virtual void __unk_vfn_121(); + /*169*/ virtual void __unk_vfn_169(); + /*182*/ virtual void __unk_vfn_182(); + /*206*/ virtual void __unk_vfn_206(); + /*207*/ virtual void __unk_vfn_207(); + /*228*/ virtual void __unk_vfn_228(); + /*231*/ virtual void __unk_vfn_231(); + /*238*/ virtual void __unk_vfn_238(); + /*246*/ virtual void __unk_vfn_246(); + /*257*/ virtual void __unk_vfn_257(); + /*259*/ virtual void __unk_vfn_259(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_THROWNEGG +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ThrownEnderpearl.hpp b/LiteLoader/Header/MC/ThrownEnderpearl.hpp new file mode 100644 index 0000000..ce1f91f --- /dev/null +++ b/LiteLoader/Header/MC/ThrownEnderpearl.hpp @@ -0,0 +1,50 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Actor.hpp" +#include "Throwable.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ThrownEnderpearl : public Throwable { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_THROWNENDERPEARL +public: + class ThrownEnderpearl& operator=(class ThrownEnderpearl const &) = delete; + ThrownEnderpearl(class ThrownEnderpearl const &) = delete; + ThrownEnderpearl() = delete; +#endif + +public: + /*1*/ virtual void reloadHardcoded(enum Actor::InitializationMethod, class VariantParameterList const &); + /*7*/ virtual ~ThrownEnderpearl(); + /*30*/ virtual void __unk_vfn_30(); + /*54*/ virtual void __unk_vfn_54(); + /*61*/ virtual void __unk_vfn_61(); + /*76*/ virtual void __unk_vfn_76(); + /*81*/ virtual void __unk_vfn_81(); + /*88*/ virtual void __unk_vfn_88(); + /*90*/ virtual void __unk_vfn_90(); + /*98*/ virtual void __unk_vfn_98(); + /*100*/ virtual void __unk_vfn_100(); + /*121*/ virtual void __unk_vfn_121(); + /*169*/ virtual void __unk_vfn_169(); + /*182*/ virtual void __unk_vfn_182(); + /*206*/ virtual void __unk_vfn_206(); + /*207*/ virtual void __unk_vfn_207(); + /*228*/ virtual void __unk_vfn_228(); + /*231*/ virtual void __unk_vfn_231(); + /*238*/ virtual void __unk_vfn_238(); + /*246*/ virtual void __unk_vfn_246(); + /*257*/ virtual void __unk_vfn_257(); + /*259*/ virtual void __unk_vfn_259(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_THROWNENDERPEARL +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ThrownIceBomb.hpp b/LiteLoader/Header/MC/ThrownIceBomb.hpp new file mode 100644 index 0000000..49cd122 --- /dev/null +++ b/LiteLoader/Header/MC/ThrownIceBomb.hpp @@ -0,0 +1,50 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Actor.hpp" +#include "Throwable.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ThrownIceBomb : public Throwable { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_THROWNICEBOMB +public: + class ThrownIceBomb& operator=(class ThrownIceBomb const &) = delete; + ThrownIceBomb(class ThrownIceBomb const &) = delete; + ThrownIceBomb() = delete; +#endif + +public: + /*1*/ virtual void reloadHardcoded(enum Actor::InitializationMethod, class VariantParameterList const &); + /*7*/ virtual ~ThrownIceBomb(); + /*30*/ virtual void __unk_vfn_30(); + /*54*/ virtual void __unk_vfn_54(); + /*61*/ virtual void __unk_vfn_61(); + /*76*/ virtual void __unk_vfn_76(); + /*81*/ virtual void __unk_vfn_81(); + /*88*/ virtual void __unk_vfn_88(); + /*90*/ virtual void __unk_vfn_90(); + /*98*/ virtual void __unk_vfn_98(); + /*100*/ virtual void __unk_vfn_100(); + /*121*/ virtual void __unk_vfn_121(); + /*169*/ virtual void __unk_vfn_169(); + /*182*/ virtual void __unk_vfn_182(); + /*206*/ virtual void __unk_vfn_206(); + /*207*/ virtual void __unk_vfn_207(); + /*228*/ virtual void __unk_vfn_228(); + /*231*/ virtual void __unk_vfn_231(); + /*238*/ virtual void __unk_vfn_238(); + /*246*/ virtual void __unk_vfn_246(); + /*257*/ virtual void __unk_vfn_257(); + /*259*/ virtual void __unk_vfn_259(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_THROWNICEBOMB +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ThrownPotion.hpp b/LiteLoader/Header/MC/ThrownPotion.hpp new file mode 100644 index 0000000..12e1b47 --- /dev/null +++ b/LiteLoader/Header/MC/ThrownPotion.hpp @@ -0,0 +1,54 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Actor.hpp" +#include "Throwable.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ThrownPotion : public Throwable { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_THROWNPOTION +public: + class ThrownPotion& operator=(class ThrownPotion const &) = delete; + ThrownPotion(class ThrownPotion const &) = delete; + ThrownPotion() = delete; +#endif + +public: + /*3*/ virtual void initializeComponents(enum Actor::InitializationMethod, class VariantParameterList const &); + /*7*/ virtual ~ThrownPotion(); + /*30*/ virtual void __unk_vfn_30(); + /*54*/ virtual void __unk_vfn_54(); + /*61*/ virtual void __unk_vfn_61(); + /*76*/ virtual void __unk_vfn_76(); + /*81*/ virtual void __unk_vfn_81(); + /*88*/ virtual void __unk_vfn_88(); + /*90*/ virtual void __unk_vfn_90(); + /*98*/ virtual void __unk_vfn_98(); + /*100*/ virtual void __unk_vfn_100(); + /*121*/ virtual void __unk_vfn_121(); + /*160*/ virtual class HashedString const & queryEntityRenderer() const; + /*169*/ virtual void __unk_vfn_169(); + /*182*/ virtual void __unk_vfn_182(); + /*206*/ virtual void __unk_vfn_206(); + /*207*/ virtual void __unk_vfn_207(); + /*219*/ virtual void setAuxValue(int); + /*228*/ virtual void __unk_vfn_228(); + /*231*/ virtual void __unk_vfn_231(); + /*238*/ virtual void __unk_vfn_238(); + /*242*/ virtual void readAdditionalSaveData(class CompoundTag const &, class DataLoadHelper &); + /*243*/ virtual void addAdditionalSaveData(class CompoundTag &); + /*246*/ virtual void __unk_vfn_246(); + /*257*/ virtual void __unk_vfn_257(); + /*259*/ virtual void __unk_vfn_259(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_THROWNPOTION +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ThrownPotionEffectSubcomponent.hpp b/LiteLoader/Header/MC/ThrownPotionEffectSubcomponent.hpp new file mode 100644 index 0000000..08f25ab --- /dev/null +++ b/LiteLoader/Header/MC/ThrownPotionEffectSubcomponent.hpp @@ -0,0 +1,32 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Json.hpp" +#include "SplashPotionEffectSubcomponent.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ThrownPotionEffectSubcomponent : public SplashPotionEffectSubcomponent { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_THROWNPOTIONEFFECTSUBCOMPONENT +public: + class ThrownPotionEffectSubcomponent& operator=(class ThrownPotionEffectSubcomponent const &) = delete; + ThrownPotionEffectSubcomponent(class ThrownPotionEffectSubcomponent const &) = delete; + ThrownPotionEffectSubcomponent() = delete; +#endif + +public: + /*0*/ virtual ~ThrownPotionEffectSubcomponent(); + /*1*/ virtual void readfromJSON(class Json::Value &); + /*2*/ virtual void writetoJSON(class Json::Value &) const; + /*3*/ virtual void doOnHitEffect(class Actor &, class ProjectileComponent &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_THROWNPOTIONEFFECTSUBCOMPONENT +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ThrownTrident.hpp b/LiteLoader/Header/MC/ThrownTrident.hpp new file mode 100644 index 0000000..0c502ea --- /dev/null +++ b/LiteLoader/Header/MC/ThrownTrident.hpp @@ -0,0 +1,60 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Actor.hpp" +#include "AbstractArrow.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ThrownTrident : public AbstractArrow { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_THROWNTRIDENT +public: + class ThrownTrident& operator=(class ThrownTrident const &) = delete; + ThrownTrident(class ThrownTrident const &) = delete; + ThrownTrident() = delete; +#endif + +public: + /*1*/ virtual void reloadHardcoded(enum Actor::InitializationMethod, class VariantParameterList const &); + /*7*/ virtual ~ThrownTrident(); + /*30*/ virtual void __unk_vfn_30(); + /*39*/ virtual void normalTick(); + /*54*/ virtual void __unk_vfn_54(); + /*61*/ virtual void __unk_vfn_61(); + /*76*/ virtual void __unk_vfn_76(); + /*81*/ virtual void __unk_vfn_81(); + /*82*/ virtual void playerTouch(class Player &); + /*88*/ virtual void __unk_vfn_88(); + /*90*/ virtual void __unk_vfn_90(); + /*98*/ virtual void __unk_vfn_98(); + /*100*/ virtual void __unk_vfn_100(); + /*120*/ virtual bool isEnchanted() const; + /*121*/ virtual void __unk_vfn_121(); + /*140*/ virtual void despawn(); + /*169*/ virtual void __unk_vfn_169(); + /*182*/ virtual void __unk_vfn_182(); + /*206*/ virtual void __unk_vfn_206(); + /*207*/ virtual void __unk_vfn_207(); + /*228*/ virtual void __unk_vfn_228(); + /*231*/ virtual void __unk_vfn_231(); + /*238*/ virtual void __unk_vfn_238(); + /*239*/ virtual void outOfWorld(); + /*240*/ virtual bool _hurt(class ActorDamageSource const &, int, bool, bool); + /*242*/ virtual void readAdditionalSaveData(class CompoundTag const &, class DataLoadHelper &); + /*243*/ virtual void addAdditionalSaveData(class CompoundTag &); + /*246*/ virtual void __unk_vfn_246(); + /*257*/ virtual void __unk_vfn_257(); + /*258*/ virtual void shoot(class Vec3 const &, float, float, class Vec3 const &); + /*260*/ virtual class ItemStack _getPickupItem() const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_THROWNTRIDENT +#endif + MCAPI void returnWithLoyalty(int); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/Tick.hpp b/LiteLoader/Header/MC/Tick.hpp new file mode 100644 index 0000000..d236d26 --- /dev/null +++ b/LiteLoader/Header/MC/Tick.hpp @@ -0,0 +1,23 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once + +struct Tick { + unsigned long long t; + + constexpr operator unsigned long long() const { + return t; + } + + constexpr operator unsigned long long&() { + return t; + } + + constexpr Tick(unsigned long long v) + : t(v){}; + + constexpr Tick(const Tick& v) + : t(v.t){}; + + constexpr Tick() + : t(0){}; +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/TickSyncPacket.hpp b/LiteLoader/Header/MC/TickSyncPacket.hpp new file mode 100644 index 0000000..33b6783 --- /dev/null +++ b/LiteLoader/Header/MC/TickSyncPacket.hpp @@ -0,0 +1,32 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Packet.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class TickSyncPacket : public Packet { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_TICKSYNCPACKET +public: + class TickSyncPacket& operator=(class TickSyncPacket const &) = delete; + TickSyncPacket(class TickSyncPacket const &) = delete; + TickSyncPacket() = delete; +#endif + +public: + /*0*/ virtual ~TickSyncPacket(); + /*1*/ virtual enum MinecraftPacketIds getId() const; + /*2*/ virtual std::string getName() const; + /*3*/ virtual void write(class BinaryStream &) const; + /*4*/ virtual enum StreamReadResult read(class ReadOnlyBinaryStream &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_TICKSYNCPACKET +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/TickWorldComponent.hpp b/LiteLoader/Header/MC/TickWorldComponent.hpp new file mode 100644 index 0000000..7f3770e --- /dev/null +++ b/LiteLoader/Header/MC/TickWorldComponent.hpp @@ -0,0 +1,30 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class TickWorldComponent { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_TICKWORLDCOMPONENT +public: + class TickWorldComponent& operator=(class TickWorldComponent const &) = delete; + TickWorldComponent(class TickWorldComponent const &) = delete; + TickWorldComponent() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_TICKWORLDCOMPONENT +#endif + MCAPI void removeArea(); + MCAPI void setTickingArea(class Actor &, class std::shared_ptr); + MCAPI void updateArea(class Actor &); + MCAPI ~TickWorldComponent(); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/TickWorldDescription.hpp b/LiteLoader/Header/MC/TickWorldDescription.hpp new file mode 100644 index 0000000..d0034c2 --- /dev/null +++ b/LiteLoader/Header/MC/TickWorldDescription.hpp @@ -0,0 +1,30 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Json.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +struct TickWorldDescription { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_TICKWORLDDESCRIPTION +public: + struct TickWorldDescription& operator=(struct TickWorldDescription const &) = delete; + TickWorldDescription(struct TickWorldDescription const &) = delete; +#endif +public: + /*0*/ virtual char const * getJsonName() const; + /*1*/ virtual ~TickWorldDescription(); + /*2*/ virtual void deserializeData(class Json::Value &); + /*3*/ virtual void serializeData(class Json::Value &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_TICKWORLDDESCRIPTION +#endif + MCAPI TickWorldDescription(); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/TickingArea.hpp b/LiteLoader/Header/MC/TickingArea.hpp new file mode 100644 index 0000000..ea8eec9 --- /dev/null +++ b/LiteLoader/Header/MC/TickingArea.hpp @@ -0,0 +1,56 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class TickingArea { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_TICKINGAREA +public: + class TickingArea& operator=(class TickingArea const &) = delete; + TickingArea(class TickingArea const &) = delete; + TickingArea() = delete; +#endif + +public: + /*0*/ virtual ~TickingArea(); + /*1*/ virtual class mce::UUID const & getId() const; + /*2*/ virtual std::string const & getName() const; + /*3*/ virtual struct ActorUniqueID const & getEntityId() const; + /*4*/ virtual bool isEntityOwned() const; + /*5*/ virtual class BlockSource & getBlockSource(); + /*6*/ virtual bool isAlwaysActive() const; + /*7*/ virtual float getMaxDistToPlayers() const; + /*8*/ virtual void __unk_vfn_8(); + /*9*/ virtual void __unk_vfn_9(); + /*10*/ virtual struct TickingAreaDescription getDescription() const; + /*11*/ virtual void tick(struct Tick const &, bool); + /*12*/ virtual void tickSeasons(class Random &); + /*13*/ virtual void updatePosition(class Vec3 const &); + /*14*/ virtual void center(); + /*15*/ virtual class Actor * findOwner(unsigned char &); + /*16*/ virtual bool entityHasBeenFound() const; + /*17*/ virtual void setEntityFound(); + /*18*/ virtual bool isRemoved(); + /*19*/ virtual void remove(); + /*20*/ virtual void onComponentChanged(unsigned int, float, bool); + /*21*/ virtual void onChunkDiscarded(class LevelChunk &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_TICKINGAREA + MCVAPI class ITickingAreaView & getView(); + MCVAPI class ITickingAreaView const & getView() const; +#endif + +//private: + MCAPI TickingArea(class Dimension &, class mce::UUID, std::string const &, struct ActorUniqueID, struct Bounds const &, bool, float, bool); + MCAPI void _save(); + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/TickingAreaCommand.hpp b/LiteLoader/Header/MC/TickingAreaCommand.hpp new file mode 100644 index 0000000..f1c239b --- /dev/null +++ b/LiteLoader/Header/MC/TickingAreaCommand.hpp @@ -0,0 +1,39 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Command.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class TickingAreaCommand : public Command { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_TICKINGAREACOMMAND +public: + class TickingAreaCommand& operator=(class TickingAreaCommand const &) = delete; + TickingAreaCommand(class TickingAreaCommand const &) = delete; + TickingAreaCommand() = delete; +#endif + +public: + /*0*/ virtual ~TickingAreaCommand(); + /*1*/ virtual void execute(class CommandOrigin const &, class CommandOutput &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_TICKINGAREACOMMAND +#endif + MCAPI static void setup(class CommandRegistry &); + +//private: + MCAPI void _add(class CommandOrigin const &, class CommandOutput &, class Level &, class Dimension &) const; + MCAPI std::string _formatTickingAreaList(std::vector const &) const; + MCAPI void _list(class CommandOrigin const &, class CommandOutput &, class Level &, class Dimension &) const; + MCAPI void _remove(class CommandOrigin const &, class CommandOutput &, class Level &, class Dimension &) const; + MCAPI void _removeAll(class CommandOrigin const &, class CommandOutput &, class Level &, class Dimension &) const; + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/TickingAreaDescription.hpp b/LiteLoader/Header/MC/TickingAreaDescription.hpp new file mode 100644 index 0000000..23e6a22 --- /dev/null +++ b/LiteLoader/Header/MC/TickingAreaDescription.hpp @@ -0,0 +1,27 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +struct TickingAreaDescription { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_TICKINGAREADESCRIPTION +public: + struct TickingAreaDescription& operator=(struct TickingAreaDescription const &) = delete; + TickingAreaDescription(struct TickingAreaDescription const &) = delete; + TickingAreaDescription() = delete; +#endif +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_TICKINGAREADESCRIPTION +#endif + MCAPI std::string asString() const; + MCAPI ~TickingAreaDescription(); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/TickingAreaList.hpp b/LiteLoader/Header/MC/TickingAreaList.hpp new file mode 100644 index 0000000..9a53cf2 --- /dev/null +++ b/LiteLoader/Header/MC/TickingAreaList.hpp @@ -0,0 +1,27 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class TickingAreaList { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_TICKINGAREALIST +public: + class TickingAreaList& operator=(class TickingAreaList const &) = delete; + TickingAreaList(class TickingAreaList const &) = delete; + TickingAreaList() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_TICKINGAREALIST +#endif + MCAPI void checkEntityConditions(std::vector const &, class std::function); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/TickingAreaListBase.hpp b/LiteLoader/Header/MC/TickingAreaListBase.hpp new file mode 100644 index 0000000..6b4af0d --- /dev/null +++ b/LiteLoader/Header/MC/TickingAreaListBase.hpp @@ -0,0 +1,34 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class TickingAreaListBase { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_TICKINGAREALISTBASE +public: + class TickingAreaListBase& operator=(class TickingAreaListBase const &) = delete; + TickingAreaListBase(class TickingAreaListBase const &) = delete; + TickingAreaListBase() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_TICKINGAREALISTBASE +#endif + MCAPI void add(std::unique_ptr); + MCAPI std::vector> findAreasContaining(class BlockPos const &); + MCAPI std::vector> findAreasNamed(std::string const &); + MCAPI class std::shared_ptr getAreaFor(struct ActorUniqueID const &) const; + MCAPI std::vector getTickingAreasDescription() const; + MCAPI bool hasTickingAreaNamed(std::string const &) const; + MCAPI void processRemoves(); + MCAPI std::vector removeAreas(std::vector> const &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/TickingAreaView.hpp b/LiteLoader/Header/MC/TickingAreaView.hpp new file mode 100644 index 0000000..3734192 --- /dev/null +++ b/LiteLoader/Header/MC/TickingAreaView.hpp @@ -0,0 +1,44 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class TickingAreaView { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_TICKINGAREAVIEW +public: + class TickingAreaView& operator=(class TickingAreaView const &) = delete; + TickingAreaView(class TickingAreaView const &) = delete; + TickingAreaView() = delete; +#endif + +public: + /*0*/ virtual ~TickingAreaView(); + /*1*/ virtual void init(struct Bounds const &, bool); + /*2*/ virtual void tick(struct Tick const &, class BlockSource &, bool); + /*3*/ virtual void tickSeasons(class BlockSource &, class Random &); + /*4*/ virtual class AutomaticID getDimensionId() const; + /*5*/ virtual struct Bounds const & getBounds() const; + /*6*/ virtual bool isCircle() const; + /*7*/ virtual bool isDoneLoading() const; + /*8*/ virtual bool checkInitialLoadDone(); + /*9*/ virtual float getInitialLoadPercentage(); + /*10*/ virtual void move(struct Bounds const &); + /*11*/ virtual std::unique_ptr createChildSource(); + /*12*/ virtual class std::shared_ptr getAvailableChunk(class ChunkPos const &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_TICKINGAREAVIEW +#endif + +//private: + MCAPI void _tickChunk(struct Tick const &, class BlockSource &, class Level &, class ChunkPos const &); + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/TickingAreasManager.hpp b/LiteLoader/Header/MC/TickingAreasManager.hpp new file mode 100644 index 0000000..b456524 --- /dev/null +++ b/LiteLoader/Header/MC/TickingAreasManager.hpp @@ -0,0 +1,39 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class TickingAreasManager { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_TICKINGAREASMANAGER +public: + class TickingAreasManager& operator=(class TickingAreasManager const &) = delete; + TickingAreasManager(class TickingAreasManager const &) = delete; + TickingAreasManager() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_TICKINGAREASMANAGER +#endif + MCAPI void _requeueEntityArea(class Dimension &, struct ActorUniqueID const &, struct Bounds const &, bool, float); + MCAPI void addEntityArea(class Dimension &, class Actor const &); + MCAPI unsigned int countStandaloneTickingAreas() const; + MCAPI bool removePendingAreaByName(class Dimension &, std::string const &); + MCAPI void update(class Level &); + +//private: + MCAPI enum AddTickingAreaStatus _addArea(class Dimension &, std::string const &, struct Bounds const &, bool); + MCAPI void _deletePendingArea(class LevelStorage &, struct PendingArea const &); + MCAPI void _processAdds(class Level &); + MCAPI void _savePendingArea(class LevelStorage &, class AutomaticID, struct PendingArea const &); + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/TimeCommand.hpp b/LiteLoader/Header/MC/TimeCommand.hpp new file mode 100644 index 0000000..c5d8522 --- /dev/null +++ b/LiteLoader/Header/MC/TimeCommand.hpp @@ -0,0 +1,30 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Command.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class TimeCommand : public Command { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_TIMECOMMAND +public: + class TimeCommand& operator=(class TimeCommand const &) = delete; + TimeCommand(class TimeCommand const &) = delete; + TimeCommand() = delete; +#endif + +public: + /*0*/ virtual ~TimeCommand(); + /*1*/ virtual void execute(class CommandOrigin const &, class CommandOutput &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_TIMECOMMAND +#endif + MCAPI static void setup(class CommandRegistry &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/Timer.hpp b/LiteLoader/Header/MC/Timer.hpp new file mode 100644 index 0000000..b64da02 --- /dev/null +++ b/LiteLoader/Header/MC/Timer.hpp @@ -0,0 +1,27 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class Timer { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_TIMER +public: + class Timer& operator=(class Timer const &) = delete; + Timer(class Timer const &) = delete; + Timer() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_TIMER +#endif + MCAPI void advanceTime(float); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/TimerComponent.hpp b/LiteLoader/Header/MC/TimerComponent.hpp new file mode 100644 index 0000000..811ecfd --- /dev/null +++ b/LiteLoader/Header/MC/TimerComponent.hpp @@ -0,0 +1,35 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class TimerComponent { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_TIMERCOMPONENT +public: + class TimerComponent& operator=(class TimerComponent const &) = delete; + TimerComponent(class TimerComponent const &) = delete; + TimerComponent() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_TIMERCOMPONENT +#endif + MCAPI TimerComponent(class TimerComponent &&); + MCAPI void readAdditionalSaveData(class Actor &, class CompoundTag const &, class DataLoadHelper &); + MCAPI void restartTimer(class Actor &); + MCAPI ~TimerComponent(); + +//private: + MCAPI int getRandomTime(class Actor &); + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/TimerDefinition.hpp b/LiteLoader/Header/MC/TimerDefinition.hpp new file mode 100644 index 0000000..32bb4a7 --- /dev/null +++ b/LiteLoader/Header/MC/TimerDefinition.hpp @@ -0,0 +1,29 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "JsonUtil.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class TimerDefinition { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_TIMERDEFINITION +public: + class TimerDefinition& operator=(class TimerDefinition const &) = delete; + TimerDefinition(class TimerDefinition const &) = delete; + TimerDefinition() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_TIMERDEFINITION +#endif + MCAPI void addWeightedChoiceEntry(struct WeightChoiceEntry const &); + MCAPI static void buildSchema(class std::shared_ptr> &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/TimerSystem.hpp b/LiteLoader/Header/MC/TimerSystem.hpp new file mode 100644 index 0000000..49b29ab --- /dev/null +++ b/LiteLoader/Header/MC/TimerSystem.hpp @@ -0,0 +1,28 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class TimerSystem { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_TIMERSYSTEM +public: + class TimerSystem& operator=(class TimerSystem const &) = delete; + TimerSystem(class TimerSystem const &) = delete; + TimerSystem() = delete; +#endif + +public: + /*0*/ virtual ~TimerSystem(); + /*1*/ virtual void tick(class EntityRegistry &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_TIMERSYSTEM +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/TitleCommand.hpp b/LiteLoader/Header/MC/TitleCommand.hpp new file mode 100644 index 0000000..5cda83a --- /dev/null +++ b/LiteLoader/Header/MC/TitleCommand.hpp @@ -0,0 +1,30 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Command.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class TitleCommand : public Command { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_TITLECOMMAND +public: + class TitleCommand& operator=(class TitleCommand const &) = delete; + TitleCommand(class TitleCommand const &) = delete; + TitleCommand() = delete; +#endif + +public: + /*0*/ virtual ~TitleCommand(); + /*1*/ virtual void execute(class CommandOrigin const &, class CommandOutput &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_TITLECOMMAND +#endif + MCAPI static void setup(class CommandRegistry &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/TitleInfo.hpp b/LiteLoader/Header/MC/TitleInfo.hpp new file mode 100644 index 0000000..d6445a7 --- /dev/null +++ b/LiteLoader/Header/MC/TitleInfo.hpp @@ -0,0 +1,18 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +namespace TitleInfo { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA + MCAPI extern std::string const BedrockVanillaTag; + MCAPI extern std::string const EarthTag; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/TitleRawCommand.hpp b/LiteLoader/Header/MC/TitleRawCommand.hpp new file mode 100644 index 0000000..d5e5531 --- /dev/null +++ b/LiteLoader/Header/MC/TitleRawCommand.hpp @@ -0,0 +1,30 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Command.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class TitleRawCommand : public Command { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_TITLERAWCOMMAND +public: + class TitleRawCommand& operator=(class TitleRawCommand const &) = delete; + TitleRawCommand(class TitleRawCommand const &) = delete; + TitleRawCommand() = delete; +#endif + +public: + /*0*/ virtual ~TitleRawCommand(); + /*1*/ virtual void execute(class CommandOrigin const &, class CommandOutput &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_TITLERAWCOMMAND +#endif + MCAPI static void setup(class CommandRegistry &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/TntBlock.hpp b/LiteLoader/Header/MC/TntBlock.hpp new file mode 100644 index 0000000..5f18a52 --- /dev/null +++ b/LiteLoader/Header/MC/TntBlock.hpp @@ -0,0 +1,75 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "BlockLegacy.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class TntBlock : public BlockLegacy { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_TNTBLOCK +public: + class TntBlock& operator=(class TntBlock const &) = delete; + TntBlock(class TntBlock const &) = delete; + TntBlock() = delete; +#endif + +public: + /*0*/ virtual ~TntBlock(); + /*18*/ virtual void __unk_vfn_18(); + /*24*/ virtual void __unk_vfn_24(); + /*25*/ virtual void __unk_vfn_25(); + /*26*/ virtual void __unk_vfn_26(); + /*27*/ virtual void __unk_vfn_27(); + /*28*/ virtual void __unk_vfn_28(); + /*30*/ virtual void __unk_vfn_30(); + /*31*/ virtual void __unk_vfn_31(); + /*32*/ virtual void __unk_vfn_32(); + /*33*/ virtual void __unk_vfn_33(); + /*34*/ virtual void __unk_vfn_34(); + /*35*/ virtual void __unk_vfn_35(); + /*36*/ virtual void __unk_vfn_36(); + /*38*/ virtual void __unk_vfn_38(); + /*39*/ virtual void __unk_vfn_39(); + /*40*/ virtual void __unk_vfn_40(); + /*42*/ virtual void __unk_vfn_42(); + /*43*/ virtual void __unk_vfn_43(); + /*49*/ virtual void __unk_vfn_49(); + /*52*/ virtual void __unk_vfn_52(); + /*57*/ virtual bool shouldDispense(class BlockSource &, class Container &) const; + /*58*/ virtual bool dispense(class BlockSource &, class Container &, int, class Vec3 const &, unsigned char) const; + /*59*/ virtual void onPlace(class BlockSource &, class BlockPos const &) const; + /*61*/ virtual void onExploded(class BlockSource &, class BlockPos const &, class Actor *) const; + /*65*/ virtual void onRedstoneUpdate(class BlockSource &, class BlockPos const &, int, bool) const; + /*67*/ virtual void __unk_vfn_67(); + /*70*/ virtual void setupRedstoneComponent(class BlockSource &, class BlockPos const &) const; + /*73*/ virtual void __unk_vfn_73(); + /*85*/ virtual void destroy(class BlockSource &, class BlockPos const &, class Block const &, class Actor *) const; + /*87*/ virtual void __unk_vfn_87(); + /*90*/ virtual int getResourceCount(class Random &, class Block const &, int, bool) const; + /*91*/ virtual class ItemInstance getResourceItem(class Random &, class Block const &, int) const; + /*94*/ virtual void trySpawnResourcesOnExplosion(class BlockSource &, class BlockPos const &, class Block const &, std::vector *, float, int, bool) const; + /*95*/ virtual void __unk_vfn_95(); + /*98*/ virtual bool use(class Player &, class BlockPos const &) const; + /*109*/ virtual void __unk_vfn_109(); + /*116*/ virtual void __unk_vfn_116(); + /*118*/ virtual void __unk_vfn_118(); + /*119*/ virtual void __unk_vfn_119(); + /*127*/ virtual std::string buildDescriptionId(class Block const &) const; + /*128*/ virtual bool isAuxValueRelevantForPicking() const; + /*141*/ virtual int getVariant(class Block const &) const; + /*142*/ virtual void __unk_vfn_142(); + /*158*/ virtual void __unk_vfn_158(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_TNTBLOCK +#endif + MCAPI void _setAllowUnderwater(class Actor *) const; + MCAPI bool _shouldAllowUnderwater(class Block const &) const; + MCAPI static bool tryLightTnt(class Player &, class BlockPos const &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ToggleDownfallCommand.hpp b/LiteLoader/Header/MC/ToggleDownfallCommand.hpp new file mode 100644 index 0000000..70b975c --- /dev/null +++ b/LiteLoader/Header/MC/ToggleDownfallCommand.hpp @@ -0,0 +1,30 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Command.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ToggleDownfallCommand : public Command { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_TOGGLEDOWNFALLCOMMAND +public: + class ToggleDownfallCommand& operator=(class ToggleDownfallCommand const &) = delete; + ToggleDownfallCommand(class ToggleDownfallCommand const &) = delete; + ToggleDownfallCommand() = delete; +#endif + +public: + /*0*/ virtual ~ToggleDownfallCommand(); + /*1*/ virtual void execute(class CommandOrigin const &, class CommandOutput &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_TOGGLEDOWNFALLCOMMAND +#endif + MCAPI static void setup(class CommandRegistry &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/Token.hpp b/LiteLoader/Header/MC/Token.hpp new file mode 100644 index 0000000..84e1604 --- /dev/null +++ b/LiteLoader/Header/MC/Token.hpp @@ -0,0 +1,31 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +struct Token { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_TOKEN +public: + struct Token& operator=(struct Token const &) = delete; + Token(struct Token const &) = delete; + Token() = delete; +#endif +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_TOKEN +#endif + MCAPI Token(std::string const &); + MCAPI ~Token(); + MCAPI static std::vector tokenize(std::string const &); + +//protected: + MCAPI bool _parseRandom(); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ToolRecipes.hpp b/LiteLoader/Header/MC/ToolRecipes.hpp new file mode 100644 index 0000000..9d172ba --- /dev/null +++ b/LiteLoader/Header/MC/ToolRecipes.hpp @@ -0,0 +1,27 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ToolRecipes { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_TOOLRECIPES +public: + class ToolRecipes& operator=(class ToolRecipes const &) = delete; + ToolRecipes(class ToolRecipes const &) = delete; + ToolRecipes() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_TOOLRECIPES +#endif + MCAPI static void addRecipes(class Recipes &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/TopSnowBlock.hpp b/LiteLoader/Header/MC/TopSnowBlock.hpp new file mode 100644 index 0000000..7cc5cd7 --- /dev/null +++ b/LiteLoader/Header/MC/TopSnowBlock.hpp @@ -0,0 +1,95 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "BlockLegacy.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class TopSnowBlock : public BlockLegacy { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_TOPSNOWBLOCK +public: + class TopSnowBlock& operator=(class TopSnowBlock const &) = delete; + TopSnowBlock(class TopSnowBlock const &) = delete; + TopSnowBlock() = delete; +#endif + +public: + /*0*/ virtual ~TopSnowBlock(); + /*1*/ virtual void tick(class BlockSource &, class BlockPos const &, class Random &) const; + /*5*/ virtual bool getCollisionShape(class AABB &, class Block const &, class BlockSource &, class BlockPos const &, class Actor *) const; + /*10*/ virtual class AABB const & getAABB(class BlockSource &, class BlockPos const &, class Block const &, class AABB &, bool) const; + /*18*/ virtual void __unk_vfn_18(); + /*24*/ virtual void __unk_vfn_24(); + /*25*/ virtual void __unk_vfn_25(); + /*26*/ virtual void __unk_vfn_26(); + /*27*/ virtual void __unk_vfn_27(); + /*28*/ virtual void __unk_vfn_28(); + /*29*/ virtual bool isWaterBlocking() const; + /*30*/ virtual void __unk_vfn_30(); + /*31*/ virtual void __unk_vfn_31(); + /*32*/ virtual void __unk_vfn_32(); + /*33*/ virtual void __unk_vfn_33(); + /*34*/ virtual void __unk_vfn_34(); + /*35*/ virtual void __unk_vfn_35(); + /*36*/ virtual void __unk_vfn_36(); + /*38*/ virtual void __unk_vfn_38(); + /*39*/ virtual void __unk_vfn_39(); + /*40*/ virtual void __unk_vfn_40(); + /*42*/ virtual void __unk_vfn_42(); + /*43*/ virtual void __unk_vfn_43(); + /*49*/ virtual void __unk_vfn_49(); + /*50*/ virtual bool canContainLiquid() const; + /*52*/ virtual void __unk_vfn_52(); + /*56*/ virtual bool checkIsPathable(class Actor &, class BlockPos const &, class BlockPos const &) const; + /*59*/ virtual void onPlace(class BlockSource &, class BlockPos const &) const; + /*61*/ virtual void onExploded(class BlockSource &, class BlockPos const &, class Actor *) const; + /*67*/ virtual void __unk_vfn_67(); + /*73*/ virtual void __unk_vfn_73(); + /*81*/ virtual bool mayPlace(class BlockSource &, class BlockPos const &) const; + /*83*/ virtual bool tryToPlace(class BlockSource &, class BlockPos const &, class Block const &, struct ActorBlockSyncMessage const *) const; + /*86*/ virtual bool playerWillDestroy(class Player &, class BlockPos const &, class Block const &) const; + /*87*/ virtual void __unk_vfn_87(); + /*88*/ virtual void neighborChanged(class BlockSource &, class BlockPos const &, class BlockPos const &) const; + /*90*/ virtual int getResourceCount(class Random &, class Block const &, int, bool) const; + /*91*/ virtual class ItemInstance getResourceItem(class Random &, class Block const &, int) const; + /*92*/ virtual class ItemInstance asItemInstance(class BlockSource &, class BlockPos const &, class Block const &) const; + /*95*/ virtual void __unk_vfn_95(); + /*99*/ virtual class Block const & getPlacementBlock(class Actor &, class BlockPos const &, unsigned char, class Vec3 const &, int) const; + /*105*/ virtual void playerDestroy(class Player &, class BlockPos const &, class Block const &) const; + /*108*/ virtual bool canBeBuiltOver(class BlockSource &, class BlockPos const &) const; + /*109*/ virtual void __unk_vfn_109(); + /*115*/ virtual bool shouldStopFalling(class Actor &) const; + /*116*/ virtual void __unk_vfn_116(); + /*117*/ virtual float calcGroundFriction(class Mob &, class BlockPos const &) const; + /*118*/ virtual void __unk_vfn_118(); + /*119*/ virtual void __unk_vfn_119(); + /*138*/ virtual class AABB const & getVisualShape(class Block const &, class AABB &, bool) const; + /*142*/ virtual void __unk_vfn_142(); + /*158*/ virtual void __unk_vfn_158(); + /*164*/ virtual class Color getDustColor(class Block const &) const; + /*165*/ virtual std::string getDustParticleName(class Block const &) const; + /*166*/ virtual void __unk_vfn_166(); + /*167*/ virtual void __unk_vfn_167(); + /*168*/ virtual bool isFreeToFall(class BlockSource &, class BlockPos const &) const; + /*169*/ virtual void startFalling(class BlockSource &, class BlockPos const &, class Block const &, bool) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_TOPSNOWBLOCK + MCVAPI bool canBeSilkTouched() const; + MCVAPI bool canHaveExtraData() const; + MCVAPI bool waterSpreadCausesSpawn() const; +#endif + MCAPI bool melt(class BlockSource &, class BlockPos const &, int) const; + MCAPI static class Block const & buildSnowBlock(class BlockSource &, class BlockPos const &, int, bool); + +//private: + MCAPI bool _canSurvive(class BlockSource &, class BlockPos const &) const; + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/TopSnowBlockItem.hpp b/LiteLoader/Header/MC/TopSnowBlockItem.hpp new file mode 100644 index 0000000..6933b3c --- /dev/null +++ b/LiteLoader/Header/MC/TopSnowBlockItem.hpp @@ -0,0 +1,46 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "BlockItem.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class TopSnowBlockItem : public BlockItem { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_TOPSNOWBLOCKITEM +public: + class TopSnowBlockItem& operator=(class TopSnowBlockItem const &) = delete; + TopSnowBlockItem(class TopSnowBlockItem const &) = delete; + TopSnowBlockItem() = delete; +#endif + +public: + /*0*/ virtual ~TopSnowBlockItem(); + /*5*/ virtual void __unk_vfn_5(); + /*21*/ virtual int getLevelDataForAuxValue(int) const; + /*26*/ virtual void __unk_vfn_26(); + /*27*/ virtual void __unk_vfn_27(); + /*31*/ virtual void __unk_vfn_31(); + /*32*/ virtual void __unk_vfn_32(); + /*34*/ virtual void __unk_vfn_34(); + /*37*/ virtual void __unk_vfn_37(); + /*43*/ virtual void __unk_vfn_43(); + /*46*/ virtual void __unk_vfn_46(); + /*47*/ virtual void __unk_vfn_47(); + /*49*/ virtual void __unk_vfn_49(); + /*50*/ virtual void __unk_vfn_50(); + /*79*/ virtual void __unk_vfn_79(); + /*80*/ virtual void __unk_vfn_80(); + /*90*/ virtual void __unk_vfn_90(); + /*97*/ virtual void __unk_vfn_97(); + /*99*/ virtual bool _useOn(class ItemStack &, class Actor &, class BlockPos, unsigned char, float, float, float) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_TOPSNOWBLOCKITEM +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/TorchBlock.hpp b/LiteLoader/Header/MC/TorchBlock.hpp new file mode 100644 index 0000000..2c03cdd --- /dev/null +++ b/LiteLoader/Header/MC/TorchBlock.hpp @@ -0,0 +1,85 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "BlockLegacy.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class TorchBlock : public BlockLegacy { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_TORCHBLOCK +public: + class TorchBlock& operator=(class TorchBlock const &) = delete; + TorchBlock(class TorchBlock const &) = delete; + TorchBlock() = delete; +#endif + +public: + /*0*/ virtual ~TorchBlock(); + /*1*/ virtual void tick(class BlockSource &, class BlockPos const &, class Random &) const; + /*10*/ virtual class AABB const & getAABB(class BlockSource &, class BlockPos const &, class Block const &, class AABB &, bool) const; + /*18*/ virtual void __unk_vfn_18(); + /*24*/ virtual void __unk_vfn_24(); + /*25*/ virtual void __unk_vfn_25(); + /*26*/ virtual void __unk_vfn_26(); + /*27*/ virtual void __unk_vfn_27(); + /*28*/ virtual void __unk_vfn_28(); + /*30*/ virtual void __unk_vfn_30(); + /*31*/ virtual void __unk_vfn_31(); + /*32*/ virtual void __unk_vfn_32(); + /*33*/ virtual void __unk_vfn_33(); + /*34*/ virtual void __unk_vfn_34(); + /*35*/ virtual void __unk_vfn_35(); + /*36*/ virtual void __unk_vfn_36(); + /*38*/ virtual void __unk_vfn_38(); + /*39*/ virtual void __unk_vfn_39(); + /*40*/ virtual void __unk_vfn_40(); + /*42*/ virtual void __unk_vfn_42(); + /*43*/ virtual void __unk_vfn_43(); + /*49*/ virtual void __unk_vfn_49(); + /*50*/ virtual bool canContainLiquid() const; + /*52*/ virtual void __unk_vfn_52(); + /*59*/ virtual void onPlace(class BlockSource &, class BlockPos const &) const; + /*67*/ virtual void __unk_vfn_67(); + /*73*/ virtual void __unk_vfn_73(); + /*81*/ virtual bool mayPlace(class BlockSource &, class BlockPos const &) const; + /*87*/ virtual void __unk_vfn_87(); + /*88*/ virtual void neighborChanged(class BlockSource &, class BlockPos const &, class BlockPos const &) const; + /*95*/ virtual void __unk_vfn_95(); + /*99*/ virtual class Block const & getPlacementBlock(class Actor &, class BlockPos const &, unsigned char, class Vec3 const &, int) const; + /*106*/ virtual bool canSurvive(class BlockSource &, class BlockPos const &) const; + /*109*/ virtual void __unk_vfn_109(); + /*116*/ virtual void __unk_vfn_116(); + /*118*/ virtual void __unk_vfn_118(); + /*119*/ virtual void __unk_vfn_119(); + /*124*/ virtual int getIconYOffset() const; + /*126*/ virtual enum BlockRenderLayer getRenderLayer(class Block const &, class BlockSource &, class BlockPos const &) const; + /*138*/ virtual class AABB const & getVisualShape(class Block const &, class AABB &, bool) const; + /*142*/ virtual void __unk_vfn_142(); + /*146*/ virtual void animateTick(class BlockSource &, class BlockPos const &, class Random &) const; + /*158*/ virtual void __unk_vfn_158(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_TORCHBLOCK + MCVAPI bool canBeSilkTouched() const; + MCVAPI bool waterSpreadCausesSpawn() const; +#endif + MCAPI TorchBlock(std::string const &, int, enum MaterialType); + +//protected: + MCAPI class Vec3 _flameParticlePos(class BlockPos const &, enum TorchFacing) const; + MCAPI bool canBePlacedOn(class BlockSource &, class BlockPos const &, unsigned char) const; + +//private: + +protected: + +private: + MCAPI static enum TorchFacing const DATA_FROM_FACING[]; + MCAPI static unsigned short const FACING_FROM_DATA[]; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/Trade.hpp b/LiteLoader/Header/MC/Trade.hpp new file mode 100644 index 0000000..f3c91d4 --- /dev/null +++ b/LiteLoader/Header/MC/Trade.hpp @@ -0,0 +1,27 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +struct Trade { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_TRADE +public: + struct Trade& operator=(struct Trade const &) = delete; + Trade(struct Trade const &) = delete; + Trade() = delete; +#endif +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_TRADE +#endif + MCAPI struct Trade & operator=(struct Trade &&); + MCAPI ~Trade(); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/Trade2ContainerManagerModel.hpp b/LiteLoader/Header/MC/Trade2ContainerManagerModel.hpp new file mode 100644 index 0000000..ab2dd7b --- /dev/null +++ b/LiteLoader/Header/MC/Trade2ContainerManagerModel.hpp @@ -0,0 +1,34 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "ContainerManagerModel.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class Trade2ContainerManagerModel : public ContainerManagerModel { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_TRADE2CONTAINERMANAGERMODEL +public: + class Trade2ContainerManagerModel& operator=(class Trade2ContainerManagerModel const &) = delete; + Trade2ContainerManagerModel(class Trade2ContainerManagerModel const &) = delete; + Trade2ContainerManagerModel() = delete; +#endif + +public: + /*0*/ virtual ~Trade2ContainerManagerModel(); + /*6*/ virtual std::vector getItemCopies() const; + /*7*/ virtual void setSlot(int, class ItemStack const &, bool); + /*8*/ virtual class ItemStack const & getSlot(int) const; + /*10*/ virtual void broadcastChanges(); + /*11*/ virtual bool isValid(float); + /*12*/ virtual class ContainerScreenContext _postInit(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_TRADE2CONTAINERMANAGERMODEL +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/TradeContainerManagerModel.hpp b/LiteLoader/Header/MC/TradeContainerManagerModel.hpp new file mode 100644 index 0000000..2b7b1a1 --- /dev/null +++ b/LiteLoader/Header/MC/TradeContainerManagerModel.hpp @@ -0,0 +1,34 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "ContainerManagerModel.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class TradeContainerManagerModel : public ContainerManagerModel { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_TRADECONTAINERMANAGERMODEL +public: + class TradeContainerManagerModel& operator=(class TradeContainerManagerModel const &) = delete; + TradeContainerManagerModel(class TradeContainerManagerModel const &) = delete; + TradeContainerManagerModel() = delete; +#endif + +public: + /*0*/ virtual ~TradeContainerManagerModel(); + /*6*/ virtual std::vector getItemCopies() const; + /*7*/ virtual void setSlot(int, class ItemStack const &, bool); + /*8*/ virtual class ItemStack const & getSlot(int) const; + /*10*/ virtual void broadcastChanges(); + /*11*/ virtual bool isValid(float); + /*12*/ virtual class ContainerScreenContext _postInit(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_TRADECONTAINERMANAGERMODEL +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/TradeGroup.hpp b/LiteLoader/Header/MC/TradeGroup.hpp new file mode 100644 index 0000000..795f885 --- /dev/null +++ b/LiteLoader/Header/MC/TradeGroup.hpp @@ -0,0 +1,26 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +struct TradeGroup { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_TRADEGROUP +public: + struct TradeGroup& operator=(struct TradeGroup const &) = delete; + TradeGroup(struct TradeGroup const &) = delete; + TradeGroup() = delete; +#endif +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_TRADEGROUP +#endif + MCAPI ~TradeGroup(); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/TradeInterestGoal.hpp b/LiteLoader/Header/MC/TradeInterestGoal.hpp new file mode 100644 index 0000000..09ae7dc --- /dev/null +++ b/LiteLoader/Header/MC/TradeInterestGoal.hpp @@ -0,0 +1,35 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class TradeInterestGoal { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_TRADEINTERESTGOAL +public: + class TradeInterestGoal& operator=(class TradeInterestGoal const &) = delete; + TradeInterestGoal(class TradeInterestGoal const &) = delete; + TradeInterestGoal() = delete; +#endif + +public: + /*0*/ virtual ~TradeInterestGoal(); + /*1*/ virtual bool canUse(); + /*2*/ virtual bool canContinueToUse(); + /*3*/ virtual void __unk_vfn_3(); + /*4*/ virtual void start(); + /*5*/ virtual void stop(); + /*6*/ virtual void tick(); + /*7*/ virtual void appendDebugInfo(std::string &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_TRADEINTERESTGOAL +#endif + MCAPI TradeInterestGoal(class Mob &, float, float, float, float, float); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/TradeItem.hpp b/LiteLoader/Header/MC/TradeItem.hpp new file mode 100644 index 0000000..7941c3b --- /dev/null +++ b/LiteLoader/Header/MC/TradeItem.hpp @@ -0,0 +1,26 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +struct TradeItem { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_TRADEITEM +public: + struct TradeItem& operator=(struct TradeItem const &) = delete; + TradeItem(struct TradeItem const &) = delete; + TradeItem() = delete; +#endif +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_TRADEITEM +#endif + MCAPI ~TradeItem(); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/TradeResupplyDescription.hpp b/LiteLoader/Header/MC/TradeResupplyDescription.hpp new file mode 100644 index 0000000..cc0e4e1 --- /dev/null +++ b/LiteLoader/Header/MC/TradeResupplyDescription.hpp @@ -0,0 +1,28 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +struct TradeResupplyDescription { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_TRADERESUPPLYDESCRIPTION +public: + struct TradeResupplyDescription& operator=(struct TradeResupplyDescription const &) = delete; + TradeResupplyDescription(struct TradeResupplyDescription const &) = delete; + TradeResupplyDescription() = delete; +#endif +public: + /*0*/ virtual char const * getJsonName() const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_TRADERESUPPLYDESCRIPTION + MCVAPI void deserializeData(class Json::Value &); + MCVAPI void serializeData(class Json::Value &) const; +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/TradeTable.hpp b/LiteLoader/Header/MC/TradeTable.hpp new file mode 100644 index 0000000..de60d13 --- /dev/null +++ b/LiteLoader/Header/MC/TradeTable.hpp @@ -0,0 +1,26 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +struct TradeTable { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_TRADETABLE +public: + struct TradeTable& operator=(struct TradeTable const &) = delete; + TradeTable(struct TradeTable const &) = delete; + TradeTable() = delete; +#endif +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_TRADETABLE +#endif + MCAPI int getTradeTierFromExp(unsigned int); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/TradeTables.hpp b/LiteLoader/Header/MC/TradeTables.hpp new file mode 100644 index 0000000..9151482 --- /dev/null +++ b/LiteLoader/Header/MC/TradeTables.hpp @@ -0,0 +1,35 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Core.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class TradeTables { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_TRADETABLES +public: + class TradeTables& operator=(class TradeTables const &) = delete; + TradeTables(class TradeTables const &) = delete; + TradeTables() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_TRADETABLES +#endif + MCAPI struct TradeTable * fetchTable(std::string const &); + MCAPI void reload(class Level &); + MCAPI ~TradeTables(); + +//private: + MCAPI void _parseAndStoreTradeTable(class ResourcePackManager *, class Core::Path const &); + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/TradeTier.hpp b/LiteLoader/Header/MC/TradeTier.hpp new file mode 100644 index 0000000..eddadcd --- /dev/null +++ b/LiteLoader/Header/MC/TradeTier.hpp @@ -0,0 +1,26 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +struct TradeTier { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_TRADETIER +public: + struct TradeTier& operator=(struct TradeTier const &) = delete; + TradeTier(struct TradeTier const &) = delete; + TradeTier() = delete; +#endif +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_TRADETIER +#endif + MCAPI ~TradeTier(); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/TradeWithPlayerGoal.hpp b/LiteLoader/Header/MC/TradeWithPlayerGoal.hpp new file mode 100644 index 0000000..7df6525 --- /dev/null +++ b/LiteLoader/Header/MC/TradeWithPlayerGoal.hpp @@ -0,0 +1,34 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class TradeWithPlayerGoal { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_TRADEWITHPLAYERGOAL +public: + class TradeWithPlayerGoal& operator=(class TradeWithPlayerGoal const &) = delete; + TradeWithPlayerGoal(class TradeWithPlayerGoal const &) = delete; + TradeWithPlayerGoal() = delete; +#endif + +public: + /*0*/ virtual ~TradeWithPlayerGoal(); + /*1*/ virtual bool canUse(); + /*2*/ virtual bool canContinueToUse(); + /*3*/ virtual void __unk_vfn_3(); + /*4*/ virtual void start(); + /*5*/ virtual void stop(); + /*6*/ virtual void __unk_vfn_6(); + /*7*/ virtual void appendDebugInfo(std::string &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_TRADEWITHPLAYERGOAL +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/TradeableSystem.hpp b/LiteLoader/Header/MC/TradeableSystem.hpp new file mode 100644 index 0000000..beb70cc --- /dev/null +++ b/LiteLoader/Header/MC/TradeableSystem.hpp @@ -0,0 +1,28 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class TradeableSystem { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_TRADEABLESYSTEM +public: + class TradeableSystem& operator=(class TradeableSystem const &) = delete; + TradeableSystem(class TradeableSystem const &) = delete; + TradeableSystem() = delete; +#endif + +public: + /*0*/ virtual ~TradeableSystem(); + /*1*/ virtual void tick(class EntityRegistry &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_TRADEABLESYSTEM +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/TraderMaterialTypeFunction.hpp b/LiteLoader/Header/MC/TraderMaterialTypeFunction.hpp new file mode 100644 index 0000000..d7c9c9e --- /dev/null +++ b/LiteLoader/Header/MC/TraderMaterialTypeFunction.hpp @@ -0,0 +1,35 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "LootItemFunction.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class TraderMaterialTypeFunction : public LootItemFunction { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_TRADERMATERIALTYPEFUNCTION +public: + class TraderMaterialTypeFunction& operator=(class TraderMaterialTypeFunction const &) = delete; + TraderMaterialTypeFunction(class TraderMaterialTypeFunction const &) = delete; + TraderMaterialTypeFunction() = delete; +#endif + +public: + /*0*/ virtual ~TraderMaterialTypeFunction(); + /*1*/ virtual void apply(class ItemStack &, class Random &, class LootTableContext &); + /*3*/ virtual void apply(class ItemInstance &, class Random &, class LootTableContext &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_TRADERMATERIALTYPEFUNCTION +#endif + +//private: + MCAPI void _applyBase(class ItemStackBase &, class Random &, class LootTableContext &) const; + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/TrailDescription.hpp b/LiteLoader/Header/MC/TrailDescription.hpp new file mode 100644 index 0000000..deb95be --- /dev/null +++ b/LiteLoader/Header/MC/TrailDescription.hpp @@ -0,0 +1,30 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Json.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +struct TrailDescription { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_TRAILDESCRIPTION +public: + struct TrailDescription& operator=(struct TrailDescription const &) = delete; + TrailDescription(struct TrailDescription const &) = delete; +#endif +public: + /*0*/ virtual char const * getJsonName() const; + /*1*/ virtual ~TrailDescription(); + /*2*/ virtual void deserializeData(class Json::Value &); + /*3*/ virtual void serializeData(class Json::Value &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_TRAILDESCRIPTION +#endif + MCAPI TrailDescription(); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/TrailSystem.hpp b/LiteLoader/Header/MC/TrailSystem.hpp new file mode 100644 index 0000000..1e73985 --- /dev/null +++ b/LiteLoader/Header/MC/TrailSystem.hpp @@ -0,0 +1,34 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class TrailSystem { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_TRAILSYSTEM +public: + class TrailSystem& operator=(class TrailSystem const &) = delete; + TrailSystem(class TrailSystem const &) = delete; + TrailSystem() = delete; +#endif + +public: + /*0*/ virtual ~TrailSystem(); + /*1*/ virtual void tick(class EntityRegistry &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_TRAILSYSTEM +#endif + +//private: + MCAPI struct TrailSystem::BlockPositions _calculateBlockSpawnPositions(class Actor &, class Vec3 &); + MCAPI void _tickComponent(class EntityContext &, class FlagComponent &, class ActorComponent &, class TrailComponent &); + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/TransactionalWorldBlockTarget.hpp b/LiteLoader/Header/MC/TransactionalWorldBlockTarget.hpp new file mode 100644 index 0000000..f3bbb7b --- /dev/null +++ b/LiteLoader/Header/MC/TransactionalWorldBlockTarget.hpp @@ -0,0 +1,36 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class TransactionalWorldBlockTarget { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_TRANSACTIONALWORLDBLOCKTARGET +public: + class TransactionalWorldBlockTarget& operator=(class TransactionalWorldBlockTarget const &) = delete; + TransactionalWorldBlockTarget(class TransactionalWorldBlockTarget const &) = delete; + TransactionalWorldBlockTarget() = delete; +#endif + +public: + /*0*/ virtual ~TransactionalWorldBlockTarget(); + /*1*/ virtual class Block const & getBlock(class BlockPos const &) const; + /*2*/ virtual bool hasBiomeTag(unsigned __int64, class BlockPos const &) const; + /*3*/ virtual bool setBlock(class BlockPos const &, class Block const &, int); + /*4*/ virtual bool apply() const; + /*5*/ virtual bool placeStructure(class BlockPos const &, class StructureTemplate &, class StructureSettings &); + /*6*/ virtual bool mayPlace(class BlockPos const &, class Block const &) const; + /*7*/ virtual bool canSurvive(class BlockPos const &, class Block const &) const; + /*8*/ virtual short getMaxHeight() const; + /*9*/ virtual bool shimPlaceForOldFeatures(class Feature const &, class BlockPos const &, class Random &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_TRANSACTIONALWORLDBLOCKTARGET +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/TransferPacket.hpp b/LiteLoader/Header/MC/TransferPacket.hpp new file mode 100644 index 0000000..5228a8b --- /dev/null +++ b/LiteLoader/Header/MC/TransferPacket.hpp @@ -0,0 +1,32 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Packet.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class TransferPacket : public Packet { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_TRANSFERPACKET +public: + class TransferPacket& operator=(class TransferPacket const &) = delete; + TransferPacket(class TransferPacket const &) = delete; + TransferPacket() = delete; +#endif + +public: + /*0*/ virtual ~TransferPacket(); + /*1*/ virtual enum MinecraftPacketIds getId() const; + /*2*/ virtual std::string getName() const; + /*3*/ virtual void write(class BinaryStream &) const; + /*4*/ virtual enum StreamReadResult read(class ReadOnlyBinaryStream &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_TRANSFERPACKET +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/TransformationComponent.hpp b/LiteLoader/Header/MC/TransformationComponent.hpp new file mode 100644 index 0000000..fbc2b1e --- /dev/null +++ b/LiteLoader/Header/MC/TransformationComponent.hpp @@ -0,0 +1,28 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class TransformationComponent { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_TRANSFORMATIONCOMPONENT +public: + class TransformationComponent& operator=(class TransformationComponent const &) = delete; + TransformationComponent(class TransformationComponent const &) = delete; + TransformationComponent() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_TRANSFORMATIONCOMPONENT +#endif + MCAPI void maintainOldData(class Actor &, class Actor &, struct TransformationDescription const &, struct ActorUniqueID const &, class Level const &); + MCAPI void transformIfAble(class Actor &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/TransformationDescription.hpp b/LiteLoader/Header/MC/TransformationDescription.hpp new file mode 100644 index 0000000..e62e504 --- /dev/null +++ b/LiteLoader/Header/MC/TransformationDescription.hpp @@ -0,0 +1,30 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Json.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +struct TransformationDescription { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_TRANSFORMATIONDESCRIPTION +public: + struct TransformationDescription& operator=(struct TransformationDescription const &) = delete; + TransformationDescription(struct TransformationDescription const &) = delete; +#endif +public: + /*0*/ virtual char const * getJsonName() const; + /*1*/ virtual ~TransformationDescription(); + /*2*/ virtual void deserializeData(class Json::Value &); + /*3*/ virtual void serializeData(class Json::Value &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_TRANSFORMATIONDESCRIPTION +#endif + MCAPI TransformationDescription(); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/TransformationSystem.hpp b/LiteLoader/Header/MC/TransformationSystem.hpp new file mode 100644 index 0000000..5b6c20a --- /dev/null +++ b/LiteLoader/Header/MC/TransformationSystem.hpp @@ -0,0 +1,28 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class TransformationSystem { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_TRANSFORMATIONSYSTEM +public: + class TransformationSystem& operator=(class TransformationSystem const &) = delete; + TransformationSystem(class TransformationSystem const &) = delete; + TransformationSystem() = delete; +#endif + +public: + /*0*/ virtual ~TransformationSystem(); + /*1*/ virtual void tick(class EntityRegistry &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_TRANSFORMATIONSYSTEM +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/TransporterComponent.hpp b/LiteLoader/Header/MC/TransporterComponent.hpp new file mode 100644 index 0000000..ee71cbc --- /dev/null +++ b/LiteLoader/Header/MC/TransporterComponent.hpp @@ -0,0 +1,38 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "BaseCircuitComponent.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class TransporterComponent : public BaseCircuitComponent { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_TRANSPORTERCOMPONENT +public: + class TransporterComponent& operator=(class TransporterComponent const &) = delete; + TransporterComponent(class TransporterComponent const &) = delete; + TransporterComponent() = delete; +#endif + +public: + /*0*/ virtual ~TransporterComponent(); + /*5*/ virtual void __unk_vfn_5(); + /*6*/ virtual bool canConsumerPower(); + /*9*/ virtual unsigned __int64 getBaseType() const; + /*10*/ virtual unsigned __int64 getInstanceType() const; + /*12*/ virtual bool addSource(class CircuitSceneGraph &, class CircuitTrackingInfo const &, int &, bool &); + /*13*/ virtual bool allowConnection(class CircuitSceneGraph &, class CircuitTrackingInfo const &, bool &); + /*15*/ virtual bool evaluate(class CircuitSystem &, class BlockPos const &); + /*16*/ virtual void cacheValues(class CircuitSystem &, class BlockPos const &); + /*18*/ virtual void __unk_vfn_18(); + /*21*/ virtual void __unk_vfn_21(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_TRANSPORTERCOMPONENT +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/TrapDoorBlock.hpp b/LiteLoader/Header/MC/TrapDoorBlock.hpp new file mode 100644 index 0000000..fe84dae --- /dev/null +++ b/LiteLoader/Header/MC/TrapDoorBlock.hpp @@ -0,0 +1,77 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "BlockLegacy.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class TrapDoorBlock : public BlockLegacy { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_TRAPDOORBLOCK +public: + class TrapDoorBlock& operator=(class TrapDoorBlock const &) = delete; + TrapDoorBlock(class TrapDoorBlock const &) = delete; + TrapDoorBlock() = delete; +#endif + +public: + /*0*/ virtual ~TrapDoorBlock(); + /*10*/ virtual class AABB const & getAABB(class BlockSource &, class BlockPos const &, class Block const &, class AABB &, bool) const; + /*18*/ virtual void __unk_vfn_18(); + /*22*/ virtual bool canConnect(class Block const &, unsigned char, class Block const &) const; + /*24*/ virtual void __unk_vfn_24(); + /*25*/ virtual void __unk_vfn_25(); + /*26*/ virtual void __unk_vfn_26(); + /*27*/ virtual void __unk_vfn_27(); + /*28*/ virtual void __unk_vfn_28(); + /*30*/ virtual void __unk_vfn_30(); + /*31*/ virtual void __unk_vfn_31(); + /*32*/ virtual void __unk_vfn_32(); + /*33*/ virtual void __unk_vfn_33(); + /*34*/ virtual void __unk_vfn_34(); + /*35*/ virtual void __unk_vfn_35(); + /*36*/ virtual void __unk_vfn_36(); + /*38*/ virtual void __unk_vfn_38(); + /*39*/ virtual void __unk_vfn_39(); + /*40*/ virtual void __unk_vfn_40(); + /*42*/ virtual void __unk_vfn_42(); + /*43*/ virtual void __unk_vfn_43(); + /*49*/ virtual void __unk_vfn_49(); + /*52*/ virtual void __unk_vfn_52(); + /*59*/ virtual void onPlace(class BlockSource &, class BlockPos const &) const; + /*65*/ virtual void onRedstoneUpdate(class BlockSource &, class BlockPos const &, int, bool) const; + /*67*/ virtual void __unk_vfn_67(); + /*70*/ virtual void setupRedstoneComponent(class BlockSource &, class BlockPos const &) const; + /*73*/ virtual void __unk_vfn_73(); + /*87*/ virtual void __unk_vfn_87(); + /*90*/ virtual int getResourceCount(class Random &, class Block const &, int, bool) const; + /*91*/ virtual class ItemInstance getResourceItem(class Random &, class Block const &, int) const; + /*92*/ virtual class ItemInstance asItemInstance(class BlockSource &, class BlockPos const &, class Block const &) const; + /*95*/ virtual void __unk_vfn_95(); + /*98*/ virtual bool use(class Player &, class BlockPos const &) const; + /*99*/ virtual class Block const & getPlacementBlock(class Actor &, class BlockPos const &, unsigned char, class Vec3 const &, int) const; + /*109*/ virtual void __unk_vfn_109(); + /*116*/ virtual void __unk_vfn_116(); + /*118*/ virtual void __unk_vfn_118(); + /*119*/ virtual void __unk_vfn_119(); + /*138*/ virtual class AABB const & getVisualShape(class Block const &, class AABB &, bool) const; + /*142*/ virtual void __unk_vfn_142(); + /*158*/ virtual void __unk_vfn_158(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_TRAPDOORBLOCK + MCVAPI bool canBeSilkTouched() const; + MCVAPI bool isInteractiveBlock() const; +#endif + MCAPI TrapDoorBlock(std::string const &, int, class Material const &); + +//private: + MCAPI void _toggleOpen(class BlockSource &, class Actor *, class BlockPos const &) const; + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/TreeHelper.hpp b/LiteLoader/Header/MC/TreeHelper.hpp new file mode 100644 index 0000000..10c7b4a --- /dev/null +++ b/LiteLoader/Header/MC/TreeHelper.hpp @@ -0,0 +1,19 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +namespace TreeHelper { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA + MCAPI class std::optional placeDecoratedBlock(class IBlockPlacementTarget &, class BlockPos const &, class Random &, class Block const &, struct TreeHelper::AttachableDecoration const &, struct TreeHelper::AttachableDecoration::DirectionMask const &); + MCAPI class std::optional placeRadialBlockGroup(class IBlockPlacementTarget &, class BlockPos const &, class Random &, class Block const &, int, int, bool, std::vector const &); + MCAPI bool prepareSpawn(class IBlockPlacementTarget &, class BlockPos const &, int, std::vector const &, std::vector const &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/TridentChannelingEnchant.hpp b/LiteLoader/Header/MC/TridentChannelingEnchant.hpp new file mode 100644 index 0000000..505e534 --- /dev/null +++ b/LiteLoader/Header/MC/TridentChannelingEnchant.hpp @@ -0,0 +1,33 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Enchant.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class TridentChannelingEnchant { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_TRIDENTCHANNELINGENCHANT +public: + class TridentChannelingEnchant& operator=(class TridentChannelingEnchant const &) = delete; + TridentChannelingEnchant(class TridentChannelingEnchant const &) = delete; + TridentChannelingEnchant() = delete; +#endif + +public: + /*0*/ virtual ~TridentChannelingEnchant(); + /*1*/ virtual bool isCompatibleWith(enum Enchant::Type) const; + /*2*/ virtual int getMinCost(int) const; + /*3*/ virtual int getMaxCost(int) const; + /*4*/ virtual int getMaxLevel() const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_TRIDENTCHANNELINGENCHANT +#endif + MCAPI TridentChannelingEnchant(enum Enchant::Type, enum Enchant::Frequency, std::string const &, std::string const &, int, bool, int); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/TridentImpalerEnchant.hpp b/LiteLoader/Header/MC/TridentImpalerEnchant.hpp new file mode 100644 index 0000000..776a287 --- /dev/null +++ b/LiteLoader/Header/MC/TridentImpalerEnchant.hpp @@ -0,0 +1,32 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Enchant.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class TridentImpalerEnchant : public Enchant { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_TRIDENTIMPALERENCHANT +public: + class TridentImpalerEnchant& operator=(class TridentImpalerEnchant const &) = delete; + TridentImpalerEnchant(class TridentImpalerEnchant const &) = delete; + TridentImpalerEnchant() = delete; +#endif + +public: + /*0*/ virtual ~TridentImpalerEnchant(); + /*2*/ virtual int getMinCost(int) const; + /*3*/ virtual int getMaxCost(int) const; + /*5*/ virtual int getMaxLevel() const; + /*7*/ virtual float getDamageBonus(int, class Actor const &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_TRIDENTIMPALERENCHANT +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/TridentItem.hpp b/LiteLoader/Header/MC/TridentItem.hpp new file mode 100644 index 0000000..1565317 --- /dev/null +++ b/LiteLoader/Header/MC/TridentItem.hpp @@ -0,0 +1,61 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Item.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class TridentItem : public Item { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_TRIDENTITEM +public: + class TridentItem& operator=(class TridentItem const &) = delete; + TridentItem(class TridentItem const &) = delete; + TridentItem() = delete; +#endif + +public: + /*0*/ virtual ~TridentItem(); + /*5*/ virtual void __unk_vfn_5(); + /*23*/ virtual short getMaxDamage() const; + /*24*/ virtual int getAttackDamage() const; + /*26*/ virtual void __unk_vfn_26(); + /*27*/ virtual void __unk_vfn_27(); + /*31*/ virtual void __unk_vfn_31(); + /*32*/ virtual void __unk_vfn_32(); + /*34*/ virtual void __unk_vfn_34(); + /*37*/ virtual void __unk_vfn_37(); + /*38*/ virtual void appendFormattedHovertext(class ItemStackBase const &, class Level &, std::string &, bool) const; + /*40*/ virtual int getEnchantSlot() const; + /*41*/ virtual int getEnchantValue() const; + /*43*/ virtual void __unk_vfn_43(); + /*46*/ virtual void __unk_vfn_46(); + /*47*/ virtual void __unk_vfn_47(); + /*49*/ virtual void __unk_vfn_49(); + /*50*/ virtual void __unk_vfn_50(); + /*56*/ virtual class ItemStack & use(class ItemStack &, class Player &) const; + /*57*/ virtual bool dispense(class BlockSource &, class Container &, int, class Vec3 const &, unsigned char) const; + /*59*/ virtual void releaseUsing(class ItemStack &, class Player *, int) const; + /*62*/ virtual void hurtEnemy(class ItemStack &, class Mob *, class Mob *) const; + /*79*/ virtual void __unk_vfn_79(); + /*80*/ virtual void __unk_vfn_80(); + /*90*/ virtual void __unk_vfn_90(); + /*97*/ virtual void __unk_vfn_97(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_TRIDENTITEM + MCVAPI bool canDestroyInCreative() const; +#endif + MCAPI static int const CHARGE_THRESHOLD_TIME; + MCAPI static int const THROW_THRESHOLD_TIME; + +//private: + MCAPI class Actor * _setupProjectile(class Actor *, class ItemStack, bool) const; + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/TridentLoyaltyEnchant.hpp b/LiteLoader/Header/MC/TridentLoyaltyEnchant.hpp new file mode 100644 index 0000000..edef6dc --- /dev/null +++ b/LiteLoader/Header/MC/TridentLoyaltyEnchant.hpp @@ -0,0 +1,31 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Enchant.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class TridentLoyaltyEnchant : public Enchant { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_TRIDENTLOYALTYENCHANT +public: + class TridentLoyaltyEnchant& operator=(class TridentLoyaltyEnchant const &) = delete; + TridentLoyaltyEnchant(class TridentLoyaltyEnchant const &) = delete; + TridentLoyaltyEnchant() = delete; +#endif + +public: + /*0*/ virtual ~TridentLoyaltyEnchant(); + /*2*/ virtual int getMinCost(int) const; + /*3*/ virtual int getMaxCost(int) const; + /*5*/ virtual int getMaxLevel() const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_TRIDENTLOYALTYENCHANT +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/TridentRiptideEnchant.hpp b/LiteLoader/Header/MC/TridentRiptideEnchant.hpp new file mode 100644 index 0000000..2d71166 --- /dev/null +++ b/LiteLoader/Header/MC/TridentRiptideEnchant.hpp @@ -0,0 +1,33 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Enchant.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class TridentRiptideEnchant { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_TRIDENTRIPTIDEENCHANT +public: + class TridentRiptideEnchant& operator=(class TridentRiptideEnchant const &) = delete; + TridentRiptideEnchant(class TridentRiptideEnchant const &) = delete; + TridentRiptideEnchant() = delete; +#endif + +public: + /*0*/ virtual ~TridentRiptideEnchant(); + /*1*/ virtual bool isCompatibleWith(enum Enchant::Type) const; + /*2*/ virtual int getMinCost(int) const; + /*3*/ virtual int getMaxCost(int) const; + /*4*/ virtual void __unk_vfn_4(); + /*5*/ virtual int getMaxLevel() const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_TRIDENTRIPTIDEENCHANT +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/TriggerDescription.hpp b/LiteLoader/Header/MC/TriggerDescription.hpp new file mode 100644 index 0000000..c79e606 --- /dev/null +++ b/LiteLoader/Header/MC/TriggerDescription.hpp @@ -0,0 +1,29 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Json.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +struct TriggerDescription { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_TRIGGERDESCRIPTION +public: + struct TriggerDescription& operator=(struct TriggerDescription const &) = delete; + TriggerDescription(struct TriggerDescription const &) = delete; + TriggerDescription() = delete; +#endif +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_TRIGGERDESCRIPTION + MCVAPI void deserializeData(class Json::Value &); + MCVAPI void serializeData(class Json::Value &) const; +#endif + MCAPI struct TriggerDescription * parseTrigger(class Json::Value &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/TripWireBlock.hpp b/LiteLoader/Header/MC/TripWireBlock.hpp new file mode 100644 index 0000000..4068100 --- /dev/null +++ b/LiteLoader/Header/MC/TripWireBlock.hpp @@ -0,0 +1,74 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "BlockLegacy.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class TripWireBlock : public BlockLegacy { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_TRIPWIREBLOCK +public: + class TripWireBlock& operator=(class TripWireBlock const &) = delete; + TripWireBlock(class TripWireBlock const &) = delete; + TripWireBlock() = delete; +#endif + +public: + /*0*/ virtual ~TripWireBlock(); + /*1*/ virtual void tick(class BlockSource &, class BlockPos const &, class Random &) const; + /*10*/ virtual class AABB const & getAABB(class BlockSource &, class BlockPos const &, class Block const &, class AABB &, bool) const; + /*18*/ virtual void __unk_vfn_18(); + /*24*/ virtual void __unk_vfn_24(); + /*25*/ virtual void __unk_vfn_25(); + /*26*/ virtual void __unk_vfn_26(); + /*27*/ virtual void __unk_vfn_27(); + /*28*/ virtual void __unk_vfn_28(); + /*30*/ virtual void __unk_vfn_30(); + /*31*/ virtual void __unk_vfn_31(); + /*32*/ virtual void __unk_vfn_32(); + /*33*/ virtual void __unk_vfn_33(); + /*34*/ virtual void __unk_vfn_34(); + /*35*/ virtual void __unk_vfn_35(); + /*36*/ virtual void __unk_vfn_36(); + /*38*/ virtual void __unk_vfn_38(); + /*39*/ virtual void __unk_vfn_39(); + /*40*/ virtual void __unk_vfn_40(); + /*42*/ virtual void __unk_vfn_42(); + /*43*/ virtual void __unk_vfn_43(); + /*49*/ virtual void __unk_vfn_49(); + /*52*/ virtual void __unk_vfn_52(); + /*59*/ virtual void onPlace(class BlockSource &, class BlockPos const &) const; + /*60*/ virtual void onRemove(class BlockSource &, class BlockPos const &) const; + /*67*/ virtual void __unk_vfn_67(); + /*73*/ virtual void __unk_vfn_73(); + /*86*/ virtual bool playerWillDestroy(class Player &, class BlockPos const &, class Block const &) const; + /*87*/ virtual void __unk_vfn_87(); + /*91*/ virtual class ItemInstance getResourceItem(class Random &, class Block const &, int) const; + /*92*/ virtual class ItemInstance asItemInstance(class BlockSource &, class BlockPos const &, class Block const &) const; + /*95*/ virtual void __unk_vfn_95(); + /*104*/ virtual void entityInside(class BlockSource &, class BlockPos const &, class Actor &) const; + /*109*/ virtual void __unk_vfn_109(); + /*116*/ virtual void __unk_vfn_116(); + /*118*/ virtual void __unk_vfn_118(); + /*119*/ virtual void __unk_vfn_119(); + /*138*/ virtual class AABB const & getVisualShape(class Block const &, class AABB &, bool) const; + /*142*/ virtual void __unk_vfn_142(); + /*158*/ virtual void __unk_vfn_158(); + /*159*/ virtual class ItemInstance getSilkTouchItemInstance(class Block const &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_TRIPWIREBLOCK +#endif + +//private: + MCAPI void checkPressed(class BlockSource &, class BlockPos const &) const; + MCAPI void updateSource(class BlockSource &, class BlockPos const &, class Block const &) const; + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/TripWireHookBlock.hpp b/LiteLoader/Header/MC/TripWireHookBlock.hpp new file mode 100644 index 0000000..589a7cd --- /dev/null +++ b/LiteLoader/Header/MC/TripWireHookBlock.hpp @@ -0,0 +1,80 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "BlockLegacy.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class TripWireHookBlock : public BlockLegacy { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_TRIPWIREHOOKBLOCK +public: + class TripWireHookBlock& operator=(class TripWireHookBlock const &) = delete; + TripWireHookBlock(class TripWireHookBlock const &) = delete; + TripWireHookBlock() = delete; +#endif + +public: + /*0*/ virtual ~TripWireHookBlock(); + /*1*/ virtual void tick(class BlockSource &, class BlockPos const &, class Random &) const; + /*10*/ virtual class AABB const & getAABB(class BlockSource &, class BlockPos const &, class Block const &, class AABB &, bool) const; + /*18*/ virtual void __unk_vfn_18(); + /*24*/ virtual void __unk_vfn_24(); + /*25*/ virtual void __unk_vfn_25(); + /*26*/ virtual void __unk_vfn_26(); + /*27*/ virtual void __unk_vfn_27(); + /*28*/ virtual void __unk_vfn_28(); + /*30*/ virtual void __unk_vfn_30(); + /*31*/ virtual void __unk_vfn_31(); + /*32*/ virtual void __unk_vfn_32(); + /*33*/ virtual void __unk_vfn_33(); + /*34*/ virtual void __unk_vfn_34(); + /*35*/ virtual void __unk_vfn_35(); + /*36*/ virtual void __unk_vfn_36(); + /*38*/ virtual void __unk_vfn_38(); + /*39*/ virtual void __unk_vfn_39(); + /*40*/ virtual void __unk_vfn_40(); + /*42*/ virtual void __unk_vfn_42(); + /*43*/ virtual void __unk_vfn_43(); + /*49*/ virtual void __unk_vfn_49(); + /*51*/ virtual bool shouldConnectToRedstone(class BlockSource &, class BlockPos const &, int) const; + /*52*/ virtual void __unk_vfn_52(); + /*59*/ virtual void onPlace(class BlockSource &, class BlockPos const &) const; + /*60*/ virtual void onRemove(class BlockSource &, class BlockPos const &) const; + /*67*/ virtual void __unk_vfn_67(); + /*70*/ virtual void setupRedstoneComponent(class BlockSource &, class BlockPos const &) const; + /*73*/ virtual void __unk_vfn_73(); + /*80*/ virtual bool mayPlace(class BlockSource &, class BlockPos const &, unsigned char) const; + /*81*/ virtual bool mayPlace(class BlockSource &, class BlockPos const &) const; + /*87*/ virtual void __unk_vfn_87(); + /*88*/ virtual void neighborChanged(class BlockSource &, class BlockPos const &, class BlockPos const &) const; + /*90*/ virtual int getResourceCount(class Random &, class Block const &, int, bool) const; + /*92*/ virtual class ItemInstance asItemInstance(class BlockSource &, class BlockPos const &, class Block const &) const; + /*95*/ virtual void __unk_vfn_95(); + /*99*/ virtual class Block const & getPlacementBlock(class Actor &, class BlockPos const &, unsigned char, class Vec3 const &, int) const; + /*106*/ virtual bool canSurvive(class BlockSource &, class BlockPos const &) const; + /*109*/ virtual void __unk_vfn_109(); + /*116*/ virtual void __unk_vfn_116(); + /*118*/ virtual void __unk_vfn_118(); + /*119*/ virtual void __unk_vfn_119(); + /*138*/ virtual class AABB const & getVisualShape(class Block const &, class AABB &, bool) const; + /*142*/ virtual void __unk_vfn_142(); + /*158*/ virtual void __unk_vfn_158(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_TRIPWIREHOOKBLOCK + MCVAPI bool canSpawnOn() const; +#endif + MCAPI void calculateState(class BlockSource &, class BlockPos const &, bool, bool, int, class Block const &) const; + +//private: + MCAPI void _getShape(int, class AABB &) const; + MCAPI void playSound(class BlockSource &, class BlockPos const &, bool, bool, bool, bool) const; + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/TripodCamera.hpp b/LiteLoader/Header/MC/TripodCamera.hpp new file mode 100644 index 0000000..964f3d0 --- /dev/null +++ b/LiteLoader/Header/MC/TripodCamera.hpp @@ -0,0 +1,64 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Actor.hpp" +#include "Mob.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class TripodCamera : public Mob { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_TRIPODCAMERA +public: + class TripodCamera& operator=(class TripodCamera const &) = delete; + TripodCamera(class TripodCamera const &) = delete; + TripodCamera() = delete; +#endif + +public: + /*1*/ virtual void reloadHardcoded(enum Actor::InitializationMethod, class VariantParameterList const &); + /*7*/ virtual ~TripodCamera(); + /*11*/ virtual void remove(); + /*30*/ virtual void __unk_vfn_30(); + /*39*/ virtual void normalTick(); + /*54*/ virtual void __unk_vfn_54(); + /*61*/ virtual void __unk_vfn_61(); + /*73*/ virtual float getShadowHeightOffs(); + /*74*/ virtual float getShadowRadius() const; + /*76*/ virtual void __unk_vfn_76(); + /*81*/ virtual void __unk_vfn_81(); + /*87*/ virtual bool isPickable(); + /*88*/ virtual void __unk_vfn_88(); + /*90*/ virtual void __unk_vfn_90(); + /*98*/ virtual void __unk_vfn_98(); + /*100*/ virtual void __unk_vfn_100(); + /*121*/ virtual void __unk_vfn_121(); + /*169*/ virtual void __unk_vfn_169(); + /*182*/ virtual void __unk_vfn_182(); + /*206*/ virtual void __unk_vfn_206(); + /*207*/ virtual void __unk_vfn_207(); + /*228*/ virtual void __unk_vfn_228(); + /*231*/ virtual void __unk_vfn_231(); + /*235*/ virtual void updateEntitySpecificMolangVariables(class RenderParams &); + /*238*/ virtual void __unk_vfn_238(); + /*240*/ virtual bool _hurt(class ActorDamageSource const &, int, bool, bool); + /*246*/ virtual void __unk_vfn_246(); + /*257*/ virtual void __unk_vfn_257(); + /*290*/ virtual void __unk_vfn_290(); + /*300*/ virtual void __unk_vfn_300(); + /*331*/ virtual bool canExistWhenDisallowMob() const; + /*332*/ virtual void __unk_vfn_332(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_TRIPODCAMERA + MCVAPI bool breaksFallingBlocks() const; + MCVAPI bool interactPreventDefault(); + MCVAPI bool isTargetable() const; +#endif + MCAPI void startTakingPicture(class Player &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/TripodCameraDescription.hpp b/LiteLoader/Header/MC/TripodCameraDescription.hpp new file mode 100644 index 0000000..124fffc --- /dev/null +++ b/LiteLoader/Header/MC/TripodCameraDescription.hpp @@ -0,0 +1,28 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +struct TripodCameraDescription { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_TRIPODCAMERADESCRIPTION +public: + struct TripodCameraDescription& operator=(struct TripodCameraDescription const &) = delete; + TripodCameraDescription(struct TripodCameraDescription const &) = delete; + TripodCameraDescription() = delete; +#endif +public: + /*0*/ virtual char const * getJsonName() const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_TRIPODCAMERADESCRIPTION + MCVAPI void deserializeData(class Json::Value &); + MCVAPI void serializeData(class Json::Value &) const; +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/TropicalFish.hpp b/LiteLoader/Header/MC/TropicalFish.hpp new file mode 100644 index 0000000..6e43efc --- /dev/null +++ b/LiteLoader/Header/MC/TropicalFish.hpp @@ -0,0 +1,59 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Actor.hpp" +#include "WaterAnimal.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class TropicalFish : public WaterAnimal { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_TROPICALFISH +public: + class TropicalFish& operator=(class TropicalFish const &) = delete; + TropicalFish(class TropicalFish const &) = delete; + TropicalFish() = delete; +#endif + +public: + /*3*/ virtual void initializeComponents(enum Actor::InitializationMethod, class VariantParameterList const &); + /*7*/ virtual ~TropicalFish(); + /*30*/ virtual void __unk_vfn_30(); + /*39*/ virtual void normalTick(); + /*44*/ virtual bool startRiding(class Actor &); + /*54*/ virtual void __unk_vfn_54(); + /*61*/ virtual void __unk_vfn_61(); + /*76*/ virtual void __unk_vfn_76(); + /*81*/ virtual void __unk_vfn_81(); + /*82*/ virtual void playerTouch(class Player &); + /*88*/ virtual void __unk_vfn_88(); + /*90*/ virtual void __unk_vfn_90(); + /*98*/ virtual void __unk_vfn_98(); + /*100*/ virtual void __unk_vfn_100(); + /*121*/ virtual void __unk_vfn_121(); + /*169*/ virtual void __unk_vfn_169(); + /*182*/ virtual void __unk_vfn_182(); + /*206*/ virtual void __unk_vfn_206(); + /*207*/ virtual void __unk_vfn_207(); + /*228*/ virtual void __unk_vfn_228(); + /*231*/ virtual void __unk_vfn_231(); + /*235*/ virtual void updateEntitySpecificMolangVariables(class RenderParams &); + /*238*/ virtual void __unk_vfn_238(); + /*246*/ virtual void __unk_vfn_246(); + /*257*/ virtual void __unk_vfn_257(); + /*290*/ virtual void __unk_vfn_290(); + /*300*/ virtual void __unk_vfn_300(); + /*324*/ virtual bool createAIGoals(); + /*332*/ virtual void __unk_vfn_332(); + /*348*/ virtual void __unk_vfn_348(); + /*349*/ virtual bool isDarkEnoughToSpawn() const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_TROPICALFISH +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/TropicalFishInfo.hpp b/LiteLoader/Header/MC/TropicalFishInfo.hpp new file mode 100644 index 0000000..e02d1ed --- /dev/null +++ b/LiteLoader/Header/MC/TropicalFishInfo.hpp @@ -0,0 +1,27 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class TropicalFishInfo { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_TROPICALFISHINFO +public: + class TropicalFishInfo& operator=(class TropicalFishInfo const &) = delete; + TropicalFishInfo(class TropicalFishInfo const &) = delete; + TropicalFishInfo() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_TROPICALFISHINFO +#endif + MCAPI ~TropicalFishInfo(); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/TrustComponent.hpp b/LiteLoader/Header/MC/TrustComponent.hpp new file mode 100644 index 0000000..0ed3f3e --- /dev/null +++ b/LiteLoader/Header/MC/TrustComponent.hpp @@ -0,0 +1,28 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class TrustComponent { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_TRUSTCOMPONENT +public: + class TrustComponent& operator=(class TrustComponent const &) = delete; + TrustComponent(class TrustComponent const &) = delete; + TrustComponent() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_TRUSTCOMPONENT +#endif + MCAPI void addAdditionalSaveData(class CompoundTag &); + MCAPI void readAdditionalSaveData(class Actor &, class CompoundTag const &, class DataLoadHelper &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/TrustDescription.hpp b/LiteLoader/Header/MC/TrustDescription.hpp new file mode 100644 index 0000000..a1f0f32 --- /dev/null +++ b/LiteLoader/Header/MC/TrustDescription.hpp @@ -0,0 +1,28 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +struct TrustDescription { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_TRUSTDESCRIPTION +public: + struct TrustDescription& operator=(struct TrustDescription const &) = delete; + TrustDescription(struct TrustDescription const &) = delete; + TrustDescription() = delete; +#endif +public: + /*0*/ virtual char const * getJsonName() const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_TRUSTDESCRIPTION + MCVAPI void deserializeData(class Json::Value &); + MCVAPI void serializeData(class Json::Value &) const; +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/TrustedKeys.hpp b/LiteLoader/Header/MC/TrustedKeys.hpp new file mode 100644 index 0000000..4ab1658 --- /dev/null +++ b/LiteLoader/Header/MC/TrustedKeys.hpp @@ -0,0 +1,17 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +namespace TrustedKeys { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA + MCAPI extern std::string const AuthServicePublicKey; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/TrustingComponent.hpp b/LiteLoader/Header/MC/TrustingComponent.hpp new file mode 100644 index 0000000..ed7a0c9 --- /dev/null +++ b/LiteLoader/Header/MC/TrustingComponent.hpp @@ -0,0 +1,32 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class TrustingComponent { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_TRUSTINGCOMPONENT +public: + class TrustingComponent& operator=(class TrustingComponent const &) = delete; + TrustingComponent(class TrustingComponent const &) = delete; + TrustingComponent() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_TRUSTINGCOMPONENT +#endif + MCAPI bool getInteraction(class Actor &, class Player &, class ActorInteraction &); + +//private: + MCAPI void _becomeTrusting(class Actor &); + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/TrustingDescription.hpp b/LiteLoader/Header/MC/TrustingDescription.hpp new file mode 100644 index 0000000..7202b77 --- /dev/null +++ b/LiteLoader/Header/MC/TrustingDescription.hpp @@ -0,0 +1,30 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Json.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +struct TrustingDescription { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_TRUSTINGDESCRIPTION +public: + struct TrustingDescription& operator=(struct TrustingDescription const &) = delete; + TrustingDescription(struct TrustingDescription const &) = delete; +#endif +public: + /*0*/ virtual char const * getJsonName() const; + /*1*/ virtual ~TrustingDescription(); + /*2*/ virtual void deserializeData(class Json::Value &); + /*3*/ virtual void serializeData(class Json::Value &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_TRUSTINGDESCRIPTION +#endif + MCAPI TrustingDescription(); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/Turtle.hpp b/LiteLoader/Header/MC/Turtle.hpp new file mode 100644 index 0000000..673a89d --- /dev/null +++ b/LiteLoader/Header/MC/Turtle.hpp @@ -0,0 +1,56 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Actor.hpp" +#include "Animal.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class Turtle : public Animal { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_TURTLE +public: + class Turtle& operator=(class Turtle const &) = delete; + Turtle(class Turtle const &) = delete; + Turtle() = delete; +#endif + +public: + /*7*/ virtual ~Turtle(); + /*30*/ virtual void __unk_vfn_30(); + /*54*/ virtual void __unk_vfn_54(); + /*61*/ virtual void __unk_vfn_61(); + /*74*/ virtual float getShadowRadius() const; + /*76*/ virtual void __unk_vfn_76(); + /*81*/ virtual void __unk_vfn_81(); + /*88*/ virtual void __unk_vfn_88(); + /*90*/ virtual void __unk_vfn_90(); + /*98*/ virtual void __unk_vfn_98(); + /*100*/ virtual void __unk_vfn_100(); + /*121*/ virtual void __unk_vfn_121(); + /*169*/ virtual void __unk_vfn_169(); + /*182*/ virtual void __unk_vfn_182(); + /*206*/ virtual void __unk_vfn_206(); + /*207*/ virtual void __unk_vfn_207(); + /*228*/ virtual void __unk_vfn_228(); + /*231*/ virtual void __unk_vfn_231(); + /*233*/ virtual void die(class ActorDamageSource const &); + /*238*/ virtual void __unk_vfn_238(); + /*246*/ virtual void __unk_vfn_246(); + /*257*/ virtual void __unk_vfn_257(); + /*290*/ virtual void __unk_vfn_290(); + /*300*/ virtual void __unk_vfn_300(); + /*330*/ virtual float _getWalkTargetValue(class BlockPos const &); + /*332*/ virtual void __unk_vfn_332(); + /*348*/ virtual void __unk_vfn_348(); + /*349*/ virtual bool isDarkEnoughToSpawn() const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_TURTLE +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/TurtleEggBlock.hpp b/LiteLoader/Header/MC/TurtleEggBlock.hpp new file mode 100644 index 0000000..0740f0e --- /dev/null +++ b/LiteLoader/Header/MC/TurtleEggBlock.hpp @@ -0,0 +1,81 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "BlockLegacy.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class TurtleEggBlock : public BlockLegacy { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_TURTLEEGGBLOCK +public: + class TurtleEggBlock& operator=(class TurtleEggBlock const &) = delete; + TurtleEggBlock(class TurtleEggBlock const &) = delete; + TurtleEggBlock() = delete; +#endif + +public: + /*0*/ virtual ~TurtleEggBlock(); + /*1*/ virtual void tick(class BlockSource &, class BlockPos const &, class Random &) const; + /*18*/ virtual void __unk_vfn_18(); + /*24*/ virtual void __unk_vfn_24(); + /*25*/ virtual void __unk_vfn_25(); + /*26*/ virtual void __unk_vfn_26(); + /*27*/ virtual void __unk_vfn_27(); + /*28*/ virtual void __unk_vfn_28(); + /*30*/ virtual void __unk_vfn_30(); + /*31*/ virtual void __unk_vfn_31(); + /*32*/ virtual void __unk_vfn_32(); + /*33*/ virtual void __unk_vfn_33(); + /*34*/ virtual void __unk_vfn_34(); + /*35*/ virtual void __unk_vfn_35(); + /*36*/ virtual void __unk_vfn_36(); + /*38*/ virtual void __unk_vfn_38(); + /*39*/ virtual void __unk_vfn_39(); + /*40*/ virtual void __unk_vfn_40(); + /*42*/ virtual void __unk_vfn_42(); + /*43*/ virtual void __unk_vfn_43(); + /*49*/ virtual void __unk_vfn_49(); + /*50*/ virtual bool canContainLiquid() const; + /*52*/ virtual void __unk_vfn_52(); + /*56*/ virtual bool checkIsPathable(class Actor &, class BlockPos const &, class BlockPos const &) const; + /*59*/ virtual void onPlace(class BlockSource &, class BlockPos const &) const; + /*64*/ virtual void transformOnFall(class BlockSource &, class BlockPos const &, class Actor *, float) const; + /*67*/ virtual void __unk_vfn_67(); + /*73*/ virtual void __unk_vfn_73(); + /*80*/ virtual bool mayPlace(class BlockSource &, class BlockPos const &, unsigned char) const; + /*86*/ virtual bool playerWillDestroy(class Player &, class BlockPos const &, class Block const &) const; + /*87*/ virtual void __unk_vfn_87(); + /*90*/ virtual int getResourceCount(class Random &, class Block const &, int, bool) const; + /*91*/ virtual class ItemInstance getResourceItem(class Random &, class Block const &, int) const; + /*92*/ virtual class ItemInstance asItemInstance(class BlockSource &, class BlockPos const &, class Block const &) const; + /*95*/ virtual void __unk_vfn_95(); + /*98*/ virtual bool use(class Player &, class BlockPos const &) const; + /*104*/ virtual void entityInside(class BlockSource &, class BlockPos const &, class Actor &) const; + /*109*/ virtual void __unk_vfn_109(); + /*116*/ virtual void __unk_vfn_116(); + /*118*/ virtual void __unk_vfn_118(); + /*119*/ virtual void __unk_vfn_119(); + /*127*/ virtual std::string buildDescriptionId(class Block const &) const; + /*128*/ virtual bool isAuxValueRelevantForPicking() const; + /*142*/ virtual void __unk_vfn_142(); + /*158*/ virtual void __unk_vfn_158(); + /*159*/ virtual class ItemInstance getSilkTouchItemInstance(class Block const &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_TURTLEEGGBLOCK + MCVAPI bool canBeSilkTouched() const; + MCVAPI bool waterSpreadCausesSpawn() const; +#endif + +//private: + MCAPI void _decreaseEggs(class BlockSource &, class BlockPos const &, unsigned int, bool) const; + MCAPI void _destroyEgg(class BlockSource &, class BlockPos const &, class Actor &, int, bool) const; + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/TwistingVinesBlock.hpp b/LiteLoader/Header/MC/TwistingVinesBlock.hpp new file mode 100644 index 0000000..9df9471 --- /dev/null +++ b/LiteLoader/Header/MC/TwistingVinesBlock.hpp @@ -0,0 +1,76 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "BlockLegacy.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class TwistingVinesBlock : public BlockLegacy { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_TWISTINGVINESBLOCK +public: + class TwistingVinesBlock& operator=(class TwistingVinesBlock const &) = delete; + TwistingVinesBlock(class TwistingVinesBlock const &) = delete; + TwistingVinesBlock() = delete; +#endif + +public: + /*0*/ virtual ~TwistingVinesBlock(); + /*1*/ virtual void tick(class BlockSource &, class BlockPos const &, class Random &) const; + /*10*/ virtual class AABB const & getAABB(class BlockSource &, class BlockPos const &, class Block const &, class AABB &, bool) const; + /*18*/ virtual void __unk_vfn_18(); + /*24*/ virtual void __unk_vfn_24(); + /*25*/ virtual void __unk_vfn_25(); + /*26*/ virtual void __unk_vfn_26(); + /*27*/ virtual void __unk_vfn_27(); + /*28*/ virtual void __unk_vfn_28(); + /*30*/ virtual void __unk_vfn_30(); + /*31*/ virtual void __unk_vfn_31(); + /*32*/ virtual void __unk_vfn_32(); + /*33*/ virtual void __unk_vfn_33(); + /*34*/ virtual void __unk_vfn_34(); + /*35*/ virtual void __unk_vfn_35(); + /*36*/ virtual void __unk_vfn_36(); + /*38*/ virtual void __unk_vfn_38(); + /*39*/ virtual void __unk_vfn_39(); + /*40*/ virtual void __unk_vfn_40(); + /*42*/ virtual void __unk_vfn_42(); + /*43*/ virtual void __unk_vfn_43(); + /*49*/ virtual void __unk_vfn_49(); + /*50*/ virtual bool canContainLiquid() const; + /*52*/ virtual void __unk_vfn_52(); + /*59*/ virtual void onPlace(class BlockSource &, class BlockPos const &) const; + /*60*/ virtual void onRemove(class BlockSource &, class BlockPos const &) const; + /*67*/ virtual void __unk_vfn_67(); + /*73*/ virtual void __unk_vfn_73(); + /*75*/ virtual bool onFertilized(class BlockSource &, class BlockPos const &, class Actor *, enum FertilizerType) const; + /*77*/ virtual bool canBeFertilized(class BlockSource &, class BlockPos const &, class Block const &) const; + /*81*/ virtual bool mayPlace(class BlockSource &, class BlockPos const &) const; + /*87*/ virtual void __unk_vfn_87(); + /*88*/ virtual void neighborChanged(class BlockSource &, class BlockPos const &, class BlockPos const &) const; + /*91*/ virtual class ItemInstance getResourceItem(class Random &, class Block const &, int) const; + /*92*/ virtual class ItemInstance asItemInstance(class BlockSource &, class BlockPos const &, class Block const &) const; + /*95*/ virtual void __unk_vfn_95(); + /*106*/ virtual bool canSurvive(class BlockSource &, class BlockPos const &) const; + /*109*/ virtual void __unk_vfn_109(); + /*116*/ virtual void __unk_vfn_116(); + /*118*/ virtual void __unk_vfn_118(); + /*119*/ virtual void __unk_vfn_119(); + /*142*/ virtual void __unk_vfn_142(); + /*158*/ virtual void __unk_vfn_158(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_TWISTINGVINESBLOCK +#endif + +//private: + MCAPI bool _findAndRemoveStraggler(class Random &, class BlockSource &, class BlockPos const &) const; + MCAPI bool _shouldGrow(class BlockSource &, class BlockPos const &, int) const; + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/TwistingVinesClusterFeature.hpp b/LiteLoader/Header/MC/TwistingVinesClusterFeature.hpp new file mode 100644 index 0000000..8b05483 --- /dev/null +++ b/LiteLoader/Header/MC/TwistingVinesClusterFeature.hpp @@ -0,0 +1,34 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Feature.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class TwistingVinesClusterFeature : public Feature { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_TWISTINGVINESCLUSTERFEATURE +public: + class TwistingVinesClusterFeature& operator=(class TwistingVinesClusterFeature const &) = delete; + TwistingVinesClusterFeature(class TwistingVinesClusterFeature const &) = delete; + TwistingVinesClusterFeature() = delete; +#endif + +public: + /*0*/ virtual ~TwistingVinesClusterFeature(); + /*1*/ virtual bool place(class BlockSource &, class BlockPos const &, class Random &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_TWISTINGVINESCLUSTERFEATURE +#endif + +//private: + MCAPI void _placeVineString(class BlockSource &, class Random &, class BlockPos const &, int, int, int) const; + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/Types.hpp b/LiteLoader/Header/MC/Types.hpp new file mode 100644 index 0000000..3a26e06 --- /dev/null +++ b/LiteLoader/Header/MC/Types.hpp @@ -0,0 +1,1387 @@ +#pragma once + +#include "HookAPI.h" +#include "../Global.h" +#include "Vec2.hpp" +#include "Vec3.hpp" +#include "BlockPos.hpp" +#include "AABB.hpp" +#include "BoundingBox.hpp" +#include "ChunkPos.hpp" +#include "ChunkBlockPos.hpp" + +typedef std::string xuid_t; +typedef unsigned long long QWORD; + +namespace mce { + +LL_CONSTEXPR int static hexToNum(char s) { + if ('A' <= s && s <= 'F') { + return 10 + (s - 'A'); + } + if ('a' <= s && s <= 'f') { + return 10 + (s - 'a'); + } + if ('0' <= s && s <= '9') { + return (s - '0'); + } + return 0; +} + +LL_CONSTEXPR double static hexToNum(std::string_view s) { + if (s.length() == 2) { + return (16 * hexToNum(s[0]) + hexToNum(s[1])) / 255.0; + } + return 0; +} + +class UUID { + uint64_t a, b; + +public: + MCAPI std::string asString() const; + MCAPI static UUID fromString(std::string const&); + MCAPI bool isEmpty() const; + MCAPI static UUID seedFromString(std::string const&); + MCAPI static class mce::UUID EMPTY; + + inline operator bool() const { + return !isEmpty(); + } +}; + +enum class ColorPalette { + BLACK, + INDIGO, + LAVENDER, + TEAL, + COCOA, + DARK, + OATMEAL, + WHITE, + RED, + APRICOT, + YELLOW, + GREEN, + VATBLUE, + SLATE, + PINK, + FAWN, +}; + +class Color { +public: + float r; + float g; + float b; + float a; + Color() + : r(0.0f), g(0.0f), b(0.0f), a(0.0f){}; + Color(float r, float g, float b, float a = 1) + : r(r), g(g), b(b), a(a){}; + Color(double r, double g, double b, double a = 1) + : r((float)r), g((float)g), b((float)b), a((float)a){}; + Color(int ir, int ig, int ib, int ia = 255) + : r(ir / 255.0f), g(ig / 255.0f), b(ib / 255.0f), a(ia / 255.0f){}; + + LL_CONSTEXPR Color(std::string_view hex) { + r = 0, g = 0, b = 0, a = 1; + if (hex[0] == '#') { + hex = hex.substr(1); + } + if (hex.length() == 3) { + r = (float)((hexToNum(hex[0]) * 17) / 255.0); + g = (float)((hexToNum(hex[1]) * 17) / 255.0); + b = (float)((hexToNum(hex[2]) * 17) / 255.0); + return; + } + if (hex.length() == 4) { + a = (float)((hexToNum(hex[0]) * 17) / 255.0); + r = (float)((hexToNum(hex[1]) * 17) / 255.0); + g = (float)((hexToNum(hex[2]) * 17) / 255.0); + b = (float)((hexToNum(hex[3]) * 17) / 255.0); + return; + } + if (hex.length() == 6) { + r = (float)hexToNum(hex.substr(0, 2)); + g = (float)hexToNum(hex.substr(2, 2)); + b = (float)hexToNum(hex.substr(4, 2)); + return; + } + if (hex.length() == 8) { + a = (float)hexToNum(hex.substr(0, 2)); + r = (float)hexToNum(hex.substr(2, 2)); + g = (float)hexToNum(hex.substr(4, 2)); + b = (float)hexToNum(hex.substr(6, 2)); + return; + } + return; + }; + + inline operator bool() const { + return !(*this == NIL); + } + + LIAPI double distanceTo(mce::Color const& dst) const; + LIAPI std::string toConsoleCode(bool foreground = true) const; + LIAPI std::string toNearestColorCode() const; + LIAPI char toNearestParticleColorCode() const; + LIAPI ColorPalette toNearestParticleColorType() const; + LIAPI static class mce::Color fromConsoleCode(std::string const&); + LIAPI static class mce::Color fromColorCode(std::string const&); + LIAPI class mce::Color sRGBToLinear() const; + LIAPI class mce::Color LinearTosRGB() const; + LIAPI class mce::Color LinearToXYZ() const; + LIAPI class mce::Color XYZToLinear() const; + LIAPI class mce::Color XYZToLab() const; + LIAPI class mce::Color LabToXYZ() const; + LIAPI double deltaE76(mce::Color const& dst) const; // 2.3 for JND + LIAPI double deltaE94(mce::Color const& dst) const; // 1.0 for JND + LIAPI double deltaE00(mce::Color const& dst) const; // 1.0 for JND + + MCAPI static mce::Color const NIL; + MCAPI static class mce::Color fromHexString(std::string const&); + MCAPI bool operator==(class mce::Color const&) const; + MCAPI int toABGR(void) const; + MCAPI int toARGB(void) const; + MCAPI std::string toHexString(void) const; + + inline Vec3 toVec3() const { + return {r, g, b}; + } + + inline static Color fromVec3(const Vec3& k) { + return {k.x, k.y, k.z, 1.0f}; + } + + inline BlockPos toBlockPos() const { + return {r * 255.0f, g * 255.0f, b * 255.0f}; + } + + inline static Color fromBlockPos(const BlockPos& k) { + return {k.x / 255.0f, k.y / 255.0f, k.z / 255.0f, 1.0f}; + } + + inline bool operator!=(const Color& c) const { + return !(c == *this); + } + + inline Color operator*(float c) const { + return {r * c, g * c, b * c, a * c}; + } + + inline Color operator/(float c) const { + return {r / c, g / c, b / c, a / c}; + } + + inline Color operator+(float c) const { + return {r + c, g + c, b + c, a + c}; + } + + inline Color operator-(float c) const { + return {r - c, g - c, b - c, a - c}; + } + + constexpr Color& operator+=(float c) { + r += c; + g += c; + b += c; + a += c; + return *this; + } + + constexpr Color& operator-=(float c) { + r -= c; + g -= c; + b -= c; + a -= c; + return *this; + } + + constexpr Color& operator*=(float c) { + r *= c; + g *= c; + b *= c; + a *= c; + return *this; + } + + constexpr Color& operator/=(float c) { + r /= c; + g /= c; + b /= c; + a /= c; + return *this; + } + + constexpr Color& operator+=(Color const& c) { + r += c.r; + g += c.g; + b += c.b; + a += c.a; + return *this; + } + + constexpr Color& operator-=(Color const& c) { + r -= c.r; + g -= c.g; + b -= c.b; + a -= c.a; + return *this; + } + + constexpr Color& operator*=(Color const& c) { + r *= c.r; + g *= c.g; + b *= c.b; + a *= c.a; + return *this; + } + + constexpr Color& operator/=(Color const& c) { + r /= c.r; + g /= c.g; + b /= c.b; + a /= c.a; + return *this; + } + + inline Color operator+(Color const& c) const { + return {r + c.r, g + c.g, b + c.b, a + c.a}; + } + + inline Color operator*(Color const& c) const { + return {r * c.r, g * c.g, b * c.b, a * c.a}; + } + + inline Color operator/(Color const& c) const { + return {r / c.r, g / c.g, b / c.b, a / c.a}; + } + + inline Color operator-(Color const& c) const { + return {r - c.r, g - c.g, b - c.b, a - c.a}; + } + + inline static Color max(const Color& k, const Color& l) { + return {std::max(k.r, l.r), std::max(k.g, l.g), std::max(k.b, l.b), std::max(k.a, l.a)}; + } + + inline static Color min(const Color& k, const Color& l) { + return {std::min(k.r, l.r), std::min(k.g, l.g), std::min(k.b, l.b), std::min(k.a, l.a)}; + } + + inline static Color lerp(const Color& k, const Color& l, float m) { + return k * (1.0f - m) + l * m; + } + + inline static Color mix(const Color& k, const Color& l, float m) { + return lerp(k, l, m); + } +}; + +static std::unordered_map> const particleColors = { + // clang-format off + {mce::ColorPalette::BLACK, {'B', Color("#000000")}}, + {mce::ColorPalette::INDIGO, {'I', Color("#144A74")}}, + {mce::ColorPalette::LAVENDER, {'L', Color("#8E65F3")}}, + {mce::ColorPalette::TEAL, {'T', Color("#07946E")}}, + {mce::ColorPalette::COCOA, {'C', Color("#AB5236")}}, + {mce::ColorPalette::DARK, {'D', Color("#56575F")}}, + {mce::ColorPalette::OATMEAL, {'O', Color("#A2A3A7")}}, + {mce::ColorPalette::WHITE, {'W', Color("#FFFFFF")}}, + {mce::ColorPalette::RED, {'R', Color("#FF3040")}}, + {mce::ColorPalette::APRICOT, {'A', Color("#FF7300")}}, + {mce::ColorPalette::YELLOW, {'Y', Color("#FFEC27")}}, + {mce::ColorPalette::GREEN, {'G', Color("#10E436")}}, + {mce::ColorPalette::VATBLUE, {'V', Color("#29ADFF")}}, + {mce::ColorPalette::SLATE, {'S', Color("#83769C")}}, + {mce::ColorPalette::PINK, {'P', Color("#FF77A8")}}, + {mce::ColorPalette::FAWN, {'E', Color("#FFCCAA")}}, + // clang-format on +}; + +inline static const char getParticleColorType(ColorPalette const& p) { + return particleColors.at(p).first; +} + +}; // namespace mce + +namespace std { + +template <> +struct hash { + std::size_t operator()(mce::Color const& c) const noexcept { + return (std::hash()(c.r) ^ std::hash()(c.g) ^ std::hash()(c.b) ^ std::hash()(c.a)); + } +}; + +} // namespace std + +template +class AutomaticID { + T id; + +public: + AutomaticID() { + id = 0; + } + + AutomaticID(T x) { + id = x; + } + + inline operator T() const { + return id; + } +}; + +#include "ActorUniqueID.hpp" + +// static_assert(!std::is_pod_v); +class NetherNet { +public: + struct NetworkID; +}; + +class ActorRuntimeID { +public: + unsigned long long id; + + inline unsigned long long get() const { + return id; + } + + inline operator unsigned long long() const { + return id; + } +}; +// static_assert(std::is_pod_v); + +// #include "RelativeFloat.hpp" + +// namespace Core { +// +// class PathPart { +// public: +// std::string data; +// }; +// +// class Path : public PathPart { +// public: +// }; +// +// template +// class PathBuffer { +// T value; +// operator T&() noexcept { +// return value; +// } +// operator T const &() const noexcept { +// return value; +// } +// }; +// +// }; // namespace Core + +namespace gametest { +class BaseGameTestBatchRunner; + +class BaseGameTestFunction; + +class BaseGameTestHelper; + +class BaseGameTestInstance; + +class GameTestBatch; + +struct GameTestError; + +class GameTestRegistry; + +class GameTestTicker; + +class IGameTestFunctionContext; + +class IGameTestHelperProvider; + +struct TestParameters; +}; // namespace gametest + +namespace DBHelpers { +enum Category; +}; // namespace DBHelpers + +class AgentCommands { +public: + class Command; +}; + +#include "../MC/Automation.hpp" + +class ClientBlobCache { +public: + struct Server { + class TransferBuilder; + + class ActiveTransfersManager; + }; +}; + +class ClientBlockPipeline { +public: + template + class VolumeOf; + + struct BlockSchematic; +}; + +struct ISurfaceBuilder { + struct BuildParameters; +}; + +struct FeatureLoading { + template + struct ConcreteFeatureHolder; + struct FeatureRootParseContext; + template + struct ConcreteFeatureHolder; +}; + +template +class OperationNode; + +struct OperationNodeDetails { + template + class WorkingData; +}; + +struct PositionTrackingDB { + class TrackingRecord; + class PositionTrackingDBClient; + class PositionTrackingDBServer; +}; + +struct BlockGeometry { + struct Model; + + class TessellatedModel; +}; + +struct CanyonFeatureUtils { + struct CanyonConfiguration; +}; + +class IInPackagePacks { +public: + struct MetaData; +}; + +struct GameEventConfig { + enum GameEvents; +}; + +#include "IMinecraftEventing.hpp" + +struct OperationNodeValues { + enum Terrain; +}; +class Editor { +public: + class IEditorManager; +}; + +struct SubChunkStorageUnit { + enum PruneType; +}; + +// Templates +template +class TypedServerNetId { +public: + T2 netId; + inline operator T2() { + return netId; + } +}; + +template +class TypedClientNetId { +public: + T2 netId; + + virtual void clientInit(TypedClientNetId); + virtual void clientInit(); +}; +template +class SimpleClientNetId { +public: + T2 netId; + + virtual void clientInit(TypedClientNetId); + virtual void clientInit(); +}; + +template +class TypedRuntimeId { +public: + T2 netId; +}; + +template +class AutomaticID; + +template +class BidirectionalUnorderedMap { +public: + std::unordered_map mMap1; + std::unordered_map mMap2; +}; + +template +class BlockDataFetchResult; + +template +class CommandSelectorResults; + +template +class Factory; + +template +class InheritanceTree; + +// enum class ItemStackRequestActionType : char; +// template +// class ItemStackRequestActionCraft; + +template +class ItemStateVariant; + +template +class LevelChunkGridAreaElement; + +template +class GridArea; + +template +class OwnerPtrT; + +template +class ServiceReference; + +template +class SharedPtr; + +template +class StackRefResultT; + +template +class WeakPtr { + T** value; + +public: + inline T* get() { + if (value) + return *value; + return nullptr; + } + inline T const* get() const { + if (value) + return *value; + return nullptr; + } + inline T& operator*() { + return *get(); + } + inline T const& operator*() const { + return *get(); + } + inline operator bool() const { + return get() != nullptr; + } +}; + +template +class WeakRefT; + +template +struct SharePtrRefTraits; + +template +class SubChunkStorage; + +template +class TagRegistry; + +template +struct IDType; + +template +class ToFloatFunction; + +template +class TypedScreenCapabilities {}; + +template +class ViewedEntityContextT; + +template +class FlagComponent; + +template +class WeightedChoices; + +template +class buffer_span; + +template +class buffer_span_mut; + +template +class optional_ref { + T* value; + +public: + inline T* get() const { + if (*this) + return value; + return nullptr; + } + // inline T* set(T const& val) + //{ + // *value = &val; + // } + inline T& operator*() const { + return *value; + } + inline T* operator->() const { + return value; + } + inline operator bool() const { + return value != nullptr; + } +}; + +namespace cg { +class ImageBuffer; +}; + +template +class DividedPos2d; + +// template +// struct GameplayHandlerResult; + +template +struct GameplayHandlerResult; + +template +class ItemStackRequestActionDataless; + +template +class OperationGraphResult; + +template +class SmallSet; + +template +struct TaskStartInfoEx; + +template +class WildcardCommandSelector; + +// enum +// clang-format off +enum class ContainerType : char { + INVENTORY = -1, + NONE = -9, + CONTAINER = 0, + WORKBENCH = 1, + FURNACE = 2, + ENCHANTMENT = 3, + BREWING_STAND = 4, + ANVIL = 5, + DISPENSER = 6, + DROPPER = 7, + HOPPER = 8, + CAULDRON = 9, + MINECART_CHEST = 10, + MINECART_HOPPER = 11, + HORSE = 12, + TRADE = 15, // NotGenerated + MINECART_COMMAND_BLOCK = 16, + JUKEBOX = 17, + COMPOUND_CREATOR = 20, + ELEMENT_CONSTRUCTOR = 21, + MATERIAL_REDUCER = 22, + LAB_TABLE = 23, + BLAST_FURNACE = 27, + SMOKER = 28, + STONECUTTER = 29, + HUD = 31, + SMITHING_TABLE = 33, +}; + +enum GameType : int { + Survival = 0, + Creative = 1, + Adventure = 2, + Spectator = 6 +}; + +enum Difficulty : int { + Peaceful = 0, + Easy = 1, + Normal = 2, + Hard = 3 +}; + +enum PlayerPermissionLevel : int { + Visitor = 0, + Member = 1, + Operator = 2, + Custom = 3 +}; + +enum class UpdateBlockLayer : int { + UpdateBlockDefault, + UpdateBlockLiquid +}; + +enum class UpdateBlockFlags : int { + UpdateBlockNone = 0, + BlockUpdateNeighbors = 1, + BlockUpdateNetwork = 2, + BlockUpdateAll = 3, // default value in BDS + BlockUpdateNoGraphic = 4, + BlockUpdatePriority = 8, + BlockUpdateAllPriority = 11 + // old one not correctly ? + // BlockUpdateNeighbours = 1, + // BlockUpdateNetwork = 2, + // BlockUpdateNoGraphics = 3, + // BlockUpdatePriority = 4, +}; + +enum class TextType : char { + RAW = 0, + CHAT = 1, + TRANSLATION = 2, + POPUP = 3, + JUKEBOX_POPUP = 4, + TIP = 5, + SYSTEM = 6, + WHISPER = 7, + ANNOUNCEMENT = 8, + JSON_WHISPER = 9, + JSON = 10 +}; + +enum class TitleType : int { + Clear = 0, + Reset = 1, + SetTitle = 2, + SetSubtitle = 3, + SetActionBar = 4, + SetDurations = 5, + TitleTextObject = 6, + SubtitleTextObject = 7, + ActionbarTextObject = 8 +}; +enum class BossEvent : int { + Show = 0, + RegisterPlayer = 1, + Hide = 2, + UnregisterPlayer = 3, + HealthPercentage = 4, + Title = 5, + AppearanceProperties = 6, + Texture = 7, + ResendRaidBossEventData = 8, +}; + +enum class BossEventColour : int { + Grey = 0, + Blue = 1, + Red = 2, + Green = 3, + Yellow = 4, + Purple = 5, + White = 6 +}; + +enum class ContainerEnumName : int8_t { + AnvilInputContainer = 0, + AnvilMaterialContainer = 1, + AnvilResultPreviewContainer = 2, + SmithingTableInputContainer = 3, + SmithingTableMaterialContainer = 4, + SmithingTableResultPreviewContainer = 5, + ArmorContainer = 6, + LevelEntityContainer = 7, + BeaconPaymentContainer = 8, + BrewingStandInputContainer = 9, + BrewingStandResultContainer = 10, + BrewingStandFuelContainer = 11, + CombinedHotbarAndInventoryContainer = 12, + CraftingInputContainer = 13, + CraftingOutputPreviewContainer = 14, + RecipeConstructionContainer = 15, + RecipeNatureContainer = 16, + RecipeItemsContainer = 17, + RecipeSearchContainer = 18, + RecipeSearchBarContainer = 19, + RecipeEquipmentContainer = 20, + EnchantingInputContainer = 21, + EnchantingMaterialContainer = 22, + FurnaceFuelContainer = 23, + FurnaceIngredientContainer = 24, + FurnaceResultContainer = 25, + HorseEquipContainer = 26, + HotbarContainer = 27, + InventoryContainer = 28, + ShulkerBoxContainer = 29, + TradeIngredient1Container = 30, + TradeIngredient2Container = 31, + TradeResultPreviewContainer = 32, + OffhandContainer = 33, + CompoundCreatorInput = 34, + CompoundCreatorOutputPreview = 35, + ElementConstructorOutputPreview = 36, + MaterialReducerInput = 37, + MaterialReducerOutput = 38, + LabTableInput = 39, + LoomInputContainer = 40, + LoomDyeContainer = 41, + LoomMaterialContainer = 42, + LoomResultPreviewContainer = 43, + BlastFurnaceIngredientContainer = 44, + SmokerIngredientContainer = 45, + Trade2Ingredient1Container = 46, + Trade2Ingredient2Container = 47, + Trade2ResultPreviewContainer = 48, + GrindstoneInputContainer = 49, + GrindstoneAdditionalContainer = 50, + GrindstoneResultPreviewContainer = 51, + StonecutterInputContainer = 52, + StonecutterResultPreviewContainer = 53, + CartographyInputContainer = 54, + CartographyAdditionalContainer = 55, + CartographyResultPreviewContainer = 56, + BarrelContainer = 57, + CursorContainer = 58, + CreatedOutputContainer = 59 +}; + +enum class ParticleType { + dragondestroyblock = 0x40, + none = 0x00, + bubble = 0x01, + bubblemanual = 0x02, + crit = 0x03, + blockforcefield = 0x04, + smoke = 0x05, + explode = 0x06, + evaporation = 0x07, + flame = 0x08, + candleflame = 0x09, + lava = 0x0a, + largesmoke = 0x0b, + reddust = 0x0c, + risingborderdust = 0x0d, + iconcrack = 0x0e, + snowballpoof = 0x0f, + largeexplode = 0x10, + hugeexplosion = 0x11, + mobflame = 0x12, + heart = 0x13, + terrain = 0x14, + townaura = 0x15, + portal = 0x16, + watersplash = 0x18, + watersplashmanual = 0x19, + waterwake = 0x1a, + dripwater = 0x1b, + driplava = 0x1c, + driphoney = 0x1d, + stalactitedripwater = 0x1e, + stalactitedriplava = 0x1f, + fallingdust = 0x20, + mobspell = 0x21, + mobspellambient = 0x22, + mobspellinstantaneous = 0x23, + ink = 0x24, + slime = 0x25, + rainsplash = 0x26, + villagerangry = 0x27, + villagerhappy = 0x28, + enchantingtable = 0x29, + trackingemitter = 0x2a, + note = 0x2b, + witchspell = 0x2c, + carrotboost = 0x2d, + mobappearance = 0x2e, + endrod = 0x2f, + dragonbreath = 0x30, + spit = 0x31, + totem = 0x32, + food = 0x33, + fireworksstarter = 0x34, + fireworks = 0x35, + fireworksoverlay = 0x36, + balloongas = 0x37, + coloredflame = 0x38, + sparkler = 0x39, + conduit = 0x3a, + bubblecolumnup = 0x3b, + bubblecolumndown = 0x3c, + sneeze = 0x3d, + shulkerbullet = 0x3e, + bleach = 0x3f, + myceliumdust = 0x41, + fallingborderdust = 0x42, + campfiresmoke = 0x43, + campfiresmoketall = 0x44, + dragonbreathfire = 0x45, + dragonbreathtrail = 0x46, + soul = 0x48, + obsidiantear = 0x49, + portalreverse = 0x4a, + snowflake = 0x4b, + wax = 0x50, + electricspark = 0x51, + shriek = 0x52, + sculksoul = 0x53 +}; + +enum class transactionType { + NormalTransaction = 0x00, + InventoryMismatch = 0x01, + ItemUseTransaction = 0x02, + ItemUseOnEntityTransaction = 0x03, + ItemReleaseTransaction = 0x04 +}; + +enum class ItemStackRequestActionType : char { + Take = 0x00, + Place = 0x01, + Swap = 0x02, + Drop = 0x03, + Destroy = 0x04, + Consume = 0x05, + Create = 0x06, + PlaceInItemContainer = 0x07, + TakeFromItemContainer = 0x08, + ScreenLabTableCombine = 0x09, + ScreenBeaconPayment = 0x0a, + ScreenHUDMineBlock = 0x0b, + CraftRecipe = 0x0c, + CraftRecipeAuto = 0x0d, + CraftCreative = 0x0e, + CraftRecipeOptional = 0x0f, + CraftRepairAndDisenchant = 0x10, + CraftLoom = 0x11, + CraftNonImplemented_DEPRECATEDASKTYLAING = 0x12, + CraftResults_DEPRECATEDASKTYLAING = 0x13, +}; + +enum class ObjectiveSortOrder : char { + Ascending = 0, + Descending = 1 +}; + +enum class PlayerScoreSetFunction : char { + Set = 0, + Add = 1, + Remove = 2 +}; + +enum class ContainerID : uint8_t { + Invalid = 0xff, + Inventory = 0, + First = 1, + Last = 100, + Offhand = 119, + Armor = 120, + SelectionSlots = 122, + PlayerUIOnly = 124 +}; + +enum class FaceID : char { + Unknown = -1, + Down = 0, + Up = 1, + North = 2, + South = 3, + West = 4, + East = 5, +}; + +enum class MinecraftPacketIds : int { + Login = 0x01, + PlayStatus = 0x02, + ServerToClientHandshake = 0x03, + ClientToServerHandshake = 0x04, + Disconnect = 0x05, + ResourcePacksInfo = 0x06, + ResourcePackStack = 0x07, + ResourcePackClientResponse = 0x08, + Text = 0x09, + SetTime = 0x0A, + StartGame = 0x0B, + AddPlayer = 0x0C, + AddActor = 0x0D, + RemoveActor = 0x0E, + AddItemActor = 0x0F, + TakeItemActor = 0x11, + MoveActorAbsolute = 0x12, + MovePlayer = 0x13, + PassengerJump = 0x14, + UpdateBlock = 0x15, + AddPainting = 0x16, + TickSync = 0x17, + LevelSoundEventV1 = 0x18, + LevelEvent = 0x19, + BlockEvent = 0x1A, + ActorEvent = 0x1B, + MobEffect = 0x1C, + UpdateAttributes = 0x1D, + InventoryTransaction = 0x1E, + MobEquipment = 0x1F, + MobArmorEquipment = 0x20, + Interact = 0x21, + BlockPickRequest = 0x22, + ActorPickRequest = 0x23, + PlayerAction = 0x24, + HurtArmor = 0x26, + SetActorData = 0x27, + SetActorMotion = 0x28, + SetActorLink = 0x29, + SetHealth = 0x2A, + SetSpawnPosition = 0x2B, + Animate = 0x2C, + Respawn = 0x2D, + ContainerOpen = 0x2E, + ContainerClose = 0x2F, + PlayerHotbar = 0x30, + InventoryContent = 0x31, + InventorySlot = 0x32, + ContainerSetData = 0x33, + CraftingData = 0x34, + CraftingEvent = 0x35, + GuiDataPickItem = 0x36, + AdventureSettings = 0x37, + BlockActorData = 0x38, + PlayerInput = 0x39, + LevelChunk = 0x3A, + SetCommandsEnabled = 0x3B, + SetDifficulty = 0x3C, + ChangeDimension = 0x3D, + SetPlayerGameType = 0x3E, + PlayerList = 0x3F, + SimpleEvent = 0x40, + Event = 0x41, + SpawnExperienceOrb = 0x42, + ClientboundMapItemData = 0x43, + MapInfoRequest = 0x44, + RequestChunkRadius = 0x45, + ChunkRadiusUpdated = 0x46, + ItemFrameDropItem = 0x47, + GameRulesChanged = 0x48, + Camera = 0x49, + BossEvent = 0x4A, + ShowCredits = 0x4B, + AvailableCommands = 0x4C, + CommandRequest = 0x4D, + CommandBlockUpdate = 0x4E, + CommandOutput = 0x4F, + UpdateTrade = 0x50, + UpdateEquip = 0x51, + ResourcePackDataInfo = 0x52, + ResourcePackChunkData = 0x53, + ResourcePackChunkRequest = 0x54, + Transfer = 0x55, + PlaySound = 0x56, + StopSound = 0x57, + SetTitle = 0x58, + AddBehaviorTree = 0x59, + StructureBlockUpdate = 0x5A, + ShowStoreOffer = 0x5B, + PurchaseReceipt = 0x5C, + PlayerSkin = 0x5D, + SubClientLogin = 0x5E, + AutomationClientConnect = 0x5F, + SetLastHurtBy = 0x60, + BookEdit = 0x61, + NpcRequest = 0x62, + PhotoTransfer = 0x63, + ModalFormRequest = 0x64, + ModalFormResponse = 0x65, + ServerSettingsRequest = 0x66, + ServerSettingsResponse = 0x67, + ShowProfile = 0x68, + SetDefaultGameType = 0x69, + RemoveObjective = 0x6A, + SetDisplayObjective = 0x6B, + SetScore = 0x6C, + LabTable = 0x6D, + UpdateBlockSynced = 0x6E, + MoveActorDelta = 0x6F, + SetScoreboardIdentity = 0x70, + SetLocalPlayerAsInitialized = 0x71, + UpdateSoftEnum = 0x72, + NetworkStackLatency = 0x73, + ScriptCustomEvent = 0x75, + SpawnParticleEffect = 0x76, + AvailableActorIdentifiers = 0x77, + LevelSoundEventV2 = 0x78, + NetworkChunkPublisherUpdate = 0x79, + BiomeDefinitionList = 0x7A, + LevelSoundEvent = 0x7B, + LevelEventGeneric = 0x7C, + LecternUpdate = 0x7D, + AddEntity = 0x7F, + RemoveEntity = 0x80, + ClientCacheStatus = 0x81, + OnScreenTextureAnimation = 0x82, + MapCreateLockedCopy = 0x83, + StructureTemplateDataRequest = 0x84, + StructureTemplateDataResponse = 0x85, + ClientCacheBlobStatus = 0x87, + ClientCacheMissResponse = 0x88, + EducationSettings = 0x89, + Emote = 0x8A, + MultiplayerSettings = 0x8B, + SettingsCommand = 0x8C, + AnvilDamage = 0x8D, + CompletedUsingItem = 0x8E, + NetworkSettings = 0x8F, + PlayerAuthInput = 0x90, + CreativeContent = 0x91, + PlayerEnchantOptions = 0x92, + ItemStackRequest = 0x93, + ItemStackResponse = 0x94, + PlayerArmorDamage = 0x95, + CodeBuilder = 0x96, + UpdatePlayerGameType = 0x97, + EmoteList = 0x98, + PositionTrackingDBServerBroadcast = 0x99, + PositionTrackingDBClientRequest = 0x9A, + DebugInfo = 0x9B, + PacketViolationWarning = 0x9C, + MotionPredictionHints = 0x9D, + AnimateEntity = 0x9E, + CameraShake = 0x9F, + PlayerFog = 0xA0, + CorrectPlayerMovePrediction = 0xA1, + ItemComponent = 0xA2, + FilterText = 0xA3, + ClientboundDebugRenderer = 0xA4, + SyncActorProperty = 0xA5, + AddVolumeEntity = 0xA6, + RemoveVolumeEntity = 0xA7, + SimulationType = 0xA8, + NpcDialogue = 0xA9, + EduUriResource = 0xAA, + CreatePhoto = 0xAB, + UpdateSubChunkBlocks = 0xAC, + PhotoInfoRequest = 0xAD, // removed + SubChunk = 0xAE, + SubChunkRequest = 0xAF, + PlayerStartItemCooldown = 0xB0, + ScriptMessage = 0xB1, + CodeBuilderSource = 0xB2, + TickingAreasLoadStatus = 0xB3, + DimensionData = 0xB4, + AgentActionEvent = 0xB5, + ChangeMobProperty = 0xB6, + LessonProgress = 0xB7, + RequestAbility = 0xB8, + RequestPermissions = 0xB9, + ToastRequest = 0xBA, + UpdateAbilities = 0xBB, + UpdateAdventureSettings = 0xBC, + DeathInfo = 0XBD, + EditorNetwork = 0XBE, + FeatureRegistry = 0XBF +}; + +enum ItemStackNetResult : unsigned char { + Success = 0, + Error = 1, + InvalidRequestActionType = 2, + ActionRequestNotAllowed = 3, + ScreenHandlerEndRequestFailed = 4, + ItemRequestActionHandlerCommitFailed = 5, + InvalidRequestCraftActionType = 6, + InvalidCraftRequest = 7, + InvalidCraftRequestScreen = 8, + InvalidCraftResult = 9, + InvalidCraftResultIndex = 10, + InvalidCraftResultItem = 11, + InvalidItemNetId = 12, + MissingCreatedOutputContainer = 13, + FailedToSetCreatedItemOutputSlot = 14, + RequestAlreadyInProgress = 15, + FailedToInitSparseContainer = 16, + ResultTransferFailed = 17, + ExpectedItemSlotNotFullyConsumed = 18, + ExpectedAnywhereItemNotFullyConsumed = 19, + ItemAlreadyConsumedFromSlot = 20, + ConsumedTooMuchFromSlot = 21, + MismatchSlotExpectedConsumedItem = 22, + MismatchSlotExpectedConsumedItemNetIdVariant = 23, + FailedToMatchExpectedSlotConsumedItem = 24, + FailedToMatchExpectedAllowedAnywhereConsumedItem = 25, + ConsumedItemOutOfAllowedSlotRange = 26, + ConsumedItemNotAllowed = 27, + PlayerNotInCreativeMode = 28, + InvalidExperimentalRecipeRequest = 29, + FailedToCraftCreative = 30, + FailedToGetLevelRecipe = 31, + FailedToFindRecipeByNetId = 32, + MismatchedCraftingSize = 33, + MissingInputSparseContainer = 34, + MismatchedRecipeForInputGridItems = 35, + EmptyCraftResults = 36, + FailedToEnchant = 37, + MissingInputItem = 38, + InsufficientPlayerLevelToEnchant = 39, + MissingMaterialItem = 40, + MissingActor = 41, + UnknownPrimaryEffect = 42, + PrimaryEffectOutOfRange = 43, + PrimaryEffectUnavailable = 44, + SecondaryEffectOutOfRange = 45, + SecondaryEffectUnavailable = 46, + DstContainerEqualToCreatedOutputContainer = 47, + DstContainerAndSlotEqualToSrcContainerAndSlot = 48, + FailedToValidateSrcSlot = 49, + FailedToValidateDstSlot = 50, + InvalidAdjustedAmount = 51, + InvalidItemSetType = 52, + InvalidTransferAmount = 53, + CannotSwapItem = 54, + CannotPlaceItem = 55, + UnhandledItemSetType = 56, + InvalidRemovedAmount = 57, + InvalidRegion = 58, + CannotDropItem = 59, + CannotDestroyItem = 60, + InvalidSourceContainer = 61, + ItemNotConsumed = 62, + InvalidNumCrafts = 63, + InvalidCraftResultStackSize = 64, + CannotConsumeItem = 66, + ScreenStackError = 67, +}; + +// class CommandVersion { +// public: +// int Min = 1, Max = 0x7FFFFFFF; +// }; + +enum class InventoryTransactionError { + Unknown = 0, + NoError = 1, + BalanceMismatch = 2, + SourceItemMismatch = 3, + InventoryMismatch = 4, + SizeMismatch = 5, + AuthorityMismatch = 6, + StateMismatch = 7, + ApiDenied = 8 +}; + +enum class InventorySourceType { + Invalid = -1, + Container = 0, + Global = 1, + World = 2, + Creative = 3, + UntrackedInteractionUI = 100, + NONIMPLEMENTEDTODO = 99999 +}; +// clang-format on +template +struct InvertableFilter { + T value; + bool inverted; +}; + +template +class CommandSelectorResults { +public: + std::shared_ptr> data; + + auto begin() { + return data->begin(); + } + + auto end() { + return data->end(); + } + + auto count() const { + return data->size(); + } + + auto empty() const { + return data->empty(); + } +}; + +/* + +enum class BlockActorType : int +{ + Furnace = 0x01, + Chest = 0x02, + NetherReactor = 0x03, + Sign = 0x04, + MobSpawner = 0x05, + Skull = 0x06, + FlowerPot = 0x07, + BrewingStand = 0x08, + EnchantTable = 0x09, + DaylightDetector = 0x0A, + Music = 0x0B, + Comparator = 0x0C, + Dispenser = 0x0D, + Dropper = 0x0E, + Hopper = 0x0F, + Cauldron = 0x10, + ItemFrame = 0x11, + PistonArm = 0x12, + MovingBlock = 0x13, + ChalkboardBlock = 0x14, + Beacon = 0x15, + EndPortal = 0x16, + EnderChest = 0x17, + EndGateway = 0x18, + ShulkerBox = 0x19, + CommandBlock = 0x1A, + Bed = 0x1B, + Banner = 0x1C, + StructureBlock = 0x20, + Jukebox = 0x21, + ChemistryTable = 0x22, + Conduit = 0x23, + JigsawBlock = 0x24, + Lectern = 0x25, + BlastFurnace = 0x26, + Smoker = 0x27, + Bell = 0x28, + Campfire = 0x29, + Barrel = 0x2A, + Beehive = 0x2B, + Lodestone = 0x2C, + SculkSensor = 0x2D, + SporeBlossom = 0x2E, + GlowItemFrame = 0x2F, + SculkCatalyst = 0x30, + SculkShrieker = 0x31, +}; + +enum class ActorType; + +*/ diff --git a/LiteLoader/Header/MC/UnburiedConstraint.hpp b/LiteLoader/Header/MC/UnburiedConstraint.hpp new file mode 100644 index 0000000..b6e51d8 --- /dev/null +++ b/LiteLoader/Header/MC/UnburiedConstraint.hpp @@ -0,0 +1,28 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class UnburiedConstraint { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_UNBURIEDCONSTRAINT +public: + class UnburiedConstraint& operator=(class UnburiedConstraint const &) = delete; + UnburiedConstraint(class UnburiedConstraint const &) = delete; + UnburiedConstraint() = delete; +#endif + +public: + /*0*/ virtual ~UnburiedConstraint(); + /*1*/ virtual bool isSatisfied(class IBlockPlacementTarget const &, class BlockPos const &, enum Rotation const &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_UNBURIEDCONSTRAINT +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/UnderwaterCanyonFeature.hpp b/LiteLoader/Header/MC/UnderwaterCanyonFeature.hpp new file mode 100644 index 0000000..21a6991 --- /dev/null +++ b/LiteLoader/Header/MC/UnderwaterCanyonFeature.hpp @@ -0,0 +1,29 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "CanyonFeature.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class UnderwaterCanyonFeature : public CanyonFeature { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_UNDERWATERCANYONFEATURE +public: + class UnderwaterCanyonFeature& operator=(class UnderwaterCanyonFeature const &) = delete; + UnderwaterCanyonFeature(class UnderwaterCanyonFeature const &) = delete; + UnderwaterCanyonFeature() = delete; +#endif + +public: + /*0*/ virtual ~UnderwaterCanyonFeature(); + /*1*/ virtual bool carve(class BlockVolume &, class BiomeSource &, class Random &, class ChunkPos const &, class Vec3 const &, class Vec3 const &, int, int, int, int, int, int, float, float, class gsl::span) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_UNDERWATERCANYONFEATURE +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/UnderwaterLargeCaveFeature.hpp b/LiteLoader/Header/MC/UnderwaterLargeCaveFeature.hpp new file mode 100644 index 0000000..15714a5 --- /dev/null +++ b/LiteLoader/Header/MC/UnderwaterLargeCaveFeature.hpp @@ -0,0 +1,29 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class UnderwaterLargeCaveFeature { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_UNDERWATERLARGECAVEFEATURE +public: + class UnderwaterLargeCaveFeature& operator=(class UnderwaterLargeCaveFeature const &) = delete; + UnderwaterLargeCaveFeature(class UnderwaterLargeCaveFeature const &) = delete; + UnderwaterLargeCaveFeature() = delete; +#endif + +public: + /*0*/ virtual ~UnderwaterLargeCaveFeature(); + /*1*/ virtual bool carve(class BlockVolume &, class BiomeSource &, class Random &, class ChunkPos const &, class Vec3 const &, class Vec3 const &, int, int, int, int, int, int, float, float) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_UNDERWATERLARGECAVEFEATURE +#endif + MCAPI static bool isDiggable(class Block const &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/UnderwaterTorchBlock.hpp b/LiteLoader/Header/MC/UnderwaterTorchBlock.hpp new file mode 100644 index 0000000..10d4b8b --- /dev/null +++ b/LiteLoader/Header/MC/UnderwaterTorchBlock.hpp @@ -0,0 +1,63 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "TorchBlock.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class UnderwaterTorchBlock : public TorchBlock { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_UNDERWATERTORCHBLOCK +public: + class UnderwaterTorchBlock& operator=(class UnderwaterTorchBlock const &) = delete; + UnderwaterTorchBlock(class UnderwaterTorchBlock const &) = delete; + UnderwaterTorchBlock() = delete; +#endif + +public: + /*0*/ virtual ~UnderwaterTorchBlock(); + /*18*/ virtual void __unk_vfn_18(); + /*24*/ virtual void __unk_vfn_24(); + /*25*/ virtual void __unk_vfn_25(); + /*26*/ virtual void __unk_vfn_26(); + /*27*/ virtual void __unk_vfn_27(); + /*28*/ virtual void __unk_vfn_28(); + /*29*/ virtual bool isWaterBlocking() const; + /*30*/ virtual void __unk_vfn_30(); + /*31*/ virtual void __unk_vfn_31(); + /*32*/ virtual void __unk_vfn_32(); + /*33*/ virtual void __unk_vfn_33(); + /*34*/ virtual void __unk_vfn_34(); + /*35*/ virtual void __unk_vfn_35(); + /*36*/ virtual void __unk_vfn_36(); + /*38*/ virtual void __unk_vfn_38(); + /*39*/ virtual void __unk_vfn_39(); + /*40*/ virtual void __unk_vfn_40(); + /*42*/ virtual void __unk_vfn_42(); + /*43*/ virtual void __unk_vfn_43(); + /*49*/ virtual void __unk_vfn_49(); + /*50*/ virtual bool canContainLiquid() const; + /*52*/ virtual void __unk_vfn_52(); + /*53*/ virtual bool canBeUsedInCommands(bool, class BaseGameVersion const &) const; + /*67*/ virtual void __unk_vfn_67(); + /*73*/ virtual void __unk_vfn_73(); + /*81*/ virtual bool mayPlace(class BlockSource &, class BlockPos const &) const; + /*87*/ virtual void __unk_vfn_87(); + /*95*/ virtual void __unk_vfn_95(); + /*109*/ virtual void __unk_vfn_109(); + /*116*/ virtual void __unk_vfn_116(); + /*118*/ virtual void __unk_vfn_118(); + /*119*/ virtual void __unk_vfn_119(); + /*142*/ virtual void __unk_vfn_142(); + /*146*/ virtual void animateTick(class BlockSource &, class BlockPos const &, class Random &) const; + /*158*/ virtual void __unk_vfn_158(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_UNDERWATERTORCHBLOCK +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/UndyedShulkerBoxBlock.hpp b/LiteLoader/Header/MC/UndyedShulkerBoxBlock.hpp new file mode 100644 index 0000000..0c8bff7 --- /dev/null +++ b/LiteLoader/Header/MC/UndyedShulkerBoxBlock.hpp @@ -0,0 +1,111 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "ShulkerBoxBlock.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class UndyedShulkerBoxBlock : public ShulkerBoxBlock { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_UNDYEDSHULKERBOXBLOCK +public: + class UndyedShulkerBoxBlock& operator=(class UndyedShulkerBoxBlock const &) = delete; + UndyedShulkerBoxBlock(class UndyedShulkerBoxBlock const &) = delete; + UndyedShulkerBoxBlock() = delete; +#endif + +public: + /*0*/ virtual ~UndyedShulkerBoxBlock(); + /*7*/ virtual void __unk_vfn_7(); + /*14*/ virtual void __unk_vfn_14(); + /*15*/ virtual void __unk_vfn_15(); + /*18*/ virtual void __unk_vfn_18(); + /*19*/ virtual void __unk_vfn_19(); + /*20*/ virtual void __unk_vfn_20(); + /*24*/ virtual void __unk_vfn_24(); + /*25*/ virtual void __unk_vfn_25(); + /*26*/ virtual void __unk_vfn_26(); + /*27*/ virtual void __unk_vfn_27(); + /*28*/ virtual void __unk_vfn_28(); + /*30*/ virtual void __unk_vfn_30(); + /*31*/ virtual void __unk_vfn_31(); + /*32*/ virtual void __unk_vfn_32(); + /*33*/ virtual void __unk_vfn_33(); + /*34*/ virtual void __unk_vfn_34(); + /*35*/ virtual void __unk_vfn_35(); + /*36*/ virtual void __unk_vfn_36(); + /*37*/ virtual void __unk_vfn_37(); + /*38*/ virtual void __unk_vfn_38(); + /*39*/ virtual void __unk_vfn_39(); + /*40*/ virtual void __unk_vfn_40(); + /*42*/ virtual void __unk_vfn_42(); + /*43*/ virtual void __unk_vfn_43(); + /*44*/ virtual void __unk_vfn_44(); + /*45*/ virtual void __unk_vfn_45(); + /*47*/ virtual void __unk_vfn_47(); + /*48*/ virtual void __unk_vfn_48(); + /*49*/ virtual void __unk_vfn_49(); + /*51*/ virtual void __unk_vfn_51(); + /*52*/ virtual void __unk_vfn_52(); + /*55*/ virtual void __unk_vfn_55(); + /*57*/ virtual void __unk_vfn_57(); + /*61*/ virtual void __unk_vfn_61(); + /*62*/ virtual void __unk_vfn_62(); + /*64*/ virtual void __unk_vfn_64(); + /*65*/ virtual void __unk_vfn_65(); + /*67*/ virtual void __unk_vfn_67(); + /*68*/ virtual void __unk_vfn_68(); + /*69*/ virtual void __unk_vfn_69(); + /*73*/ virtual void __unk_vfn_73(); + /*74*/ virtual void __unk_vfn_74(); + /*75*/ virtual void __unk_vfn_75(); + /*76*/ virtual void __unk_vfn_76(); + /*77*/ virtual void __unk_vfn_77(); + /*79*/ virtual void __unk_vfn_79(); + /*81*/ virtual void __unk_vfn_81(); + /*82*/ virtual void __unk_vfn_82(); + /*85*/ virtual void __unk_vfn_85(); + /*87*/ virtual void __unk_vfn_87(); + /*95*/ virtual void __unk_vfn_95(); + /*96*/ virtual void __unk_vfn_96(); + /*101*/ virtual void __unk_vfn_101(); + /*102*/ virtual void __unk_vfn_102(); + /*103*/ virtual void __unk_vfn_103(); + /*104*/ virtual void __unk_vfn_104(); + /*106*/ virtual void __unk_vfn_106(); + /*107*/ virtual void __unk_vfn_107(); + /*110*/ virtual void __unk_vfn_110(); + /*111*/ virtual void __unk_vfn_111(); + /*113*/ virtual void __unk_vfn_113(); + /*114*/ virtual void __unk_vfn_114(); + /*116*/ virtual void __unk_vfn_116(); + /*118*/ virtual void __unk_vfn_118(); + /*119*/ virtual void __unk_vfn_119(); + /*122*/ virtual void __unk_vfn_122(); + /*123*/ virtual void __unk_vfn_123(); + /*124*/ virtual void __unk_vfn_124(); + /*125*/ virtual void __unk_vfn_125(); + /*126*/ virtual void __unk_vfn_126(); + /*127*/ virtual void __unk_vfn_127(); + /*128*/ virtual void __unk_vfn_128(); + /*129*/ virtual void __unk_vfn_129(); + /*130*/ virtual int getColor(class Block const &) const; + /*131*/ virtual void __unk_vfn_131(); + /*133*/ virtual void __unk_vfn_133(); + /*135*/ virtual void __unk_vfn_135(); + /*142*/ virtual void __unk_vfn_142(); + /*145*/ virtual void __unk_vfn_145(); + /*158*/ virtual void __unk_vfn_158(); + /*159*/ virtual void __unk_vfn_159(); + /*162*/ virtual void __unk_vfn_162(); + /*163*/ virtual void __unk_vfn_163(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_UNDYEDSHULKERBOXBLOCK +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/UnverifiedCertificate.hpp b/LiteLoader/Header/MC/UnverifiedCertificate.hpp new file mode 100644 index 0000000..4f30f0b --- /dev/null +++ b/LiteLoader/Header/MC/UnverifiedCertificate.hpp @@ -0,0 +1,38 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Json.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class UnverifiedCertificate { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_UNVERIFIEDCERTIFICATE +public: + class UnverifiedCertificate& operator=(class UnverifiedCertificate const &) = delete; + UnverifiedCertificate() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_UNVERIFIEDCERTIFICATE +#endif + MCAPI UnverifiedCertificate(class UnverifiedCertificate const &); + MCAPI std::string getIdentityPublicKey() const; + MCAPI std::string toString() const; + MCAPI std::unique_ptr verify(std::vector const &) const; + MCAPI ~UnverifiedCertificate(); + MCAPI static class UnverifiedCertificate fromString(std::string const &); + +//private: + MCAPI UnverifiedCertificate(class WebToken const &, std::unique_ptr); + MCAPI void addToChain(class Json::Value &) const; + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/UpdateAttributesPacket.hpp b/LiteLoader/Header/MC/UpdateAttributesPacket.hpp new file mode 100644 index 0000000..805da16 --- /dev/null +++ b/LiteLoader/Header/MC/UpdateAttributesPacket.hpp @@ -0,0 +1,33 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Packet.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class UpdateAttributesPacket : public Packet { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_UPDATEATTRIBUTESPACKET +public: + class UpdateAttributesPacket& operator=(class UpdateAttributesPacket const &) = delete; + UpdateAttributesPacket(class UpdateAttributesPacket const &) = delete; + UpdateAttributesPacket() = delete; +#endif + +public: + /*0*/ virtual ~UpdateAttributesPacket(); + /*1*/ virtual enum MinecraftPacketIds getId() const; + /*2*/ virtual std::string getName() const; + /*3*/ virtual void write(class BinaryStream &) const; + /*4*/ virtual enum StreamReadResult read(class ReadOnlyBinaryStream &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_UPDATEATTRIBUTESPACKET +#endif + MCAPI UpdateAttributesPacket(class Actor const &, std::vector const &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/UpdateBlockPacket.hpp b/LiteLoader/Header/MC/UpdateBlockPacket.hpp new file mode 100644 index 0000000..5d5fb2c --- /dev/null +++ b/LiteLoader/Header/MC/UpdateBlockPacket.hpp @@ -0,0 +1,32 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Packet.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class UpdateBlockPacket : public Packet { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_UPDATEBLOCKPACKET +public: + class UpdateBlockPacket& operator=(class UpdateBlockPacket const &) = delete; + UpdateBlockPacket(class UpdateBlockPacket const &) = delete; + UpdateBlockPacket() = delete; +#endif + +public: + /*0*/ virtual ~UpdateBlockPacket(); + /*1*/ virtual enum MinecraftPacketIds getId() const; + /*2*/ virtual std::string getName() const; + /*3*/ virtual void write(class BinaryStream &) const; + /*4*/ virtual enum StreamReadResult read(class ReadOnlyBinaryStream &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_UPDATEBLOCKPACKET +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/UpdateBlockPropertiesPacket.hpp b/LiteLoader/Header/MC/UpdateBlockPropertiesPacket.hpp new file mode 100644 index 0000000..4d553ab --- /dev/null +++ b/LiteLoader/Header/MC/UpdateBlockPropertiesPacket.hpp @@ -0,0 +1,33 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Packet.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class UpdateBlockPropertiesPacket : public Packet { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_UPDATEBLOCKPROPERTIESPACKET +public: + class UpdateBlockPropertiesPacket& operator=(class UpdateBlockPropertiesPacket const &) = delete; + UpdateBlockPropertiesPacket(class UpdateBlockPropertiesPacket const &) = delete; + UpdateBlockPropertiesPacket() = delete; +#endif + +public: + /*0*/ virtual ~UpdateBlockPropertiesPacket(); + /*1*/ virtual enum MinecraftPacketIds getId() const; + /*2*/ virtual std::string getName() const; + /*3*/ virtual void write(class BinaryStream &) const; + /*4*/ virtual enum StreamReadResult read(class ReadOnlyBinaryStream &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_UPDATEBLOCKPROPERTIESPACKET +#endif + MCAPI UpdateBlockPropertiesPacket(class BlockDefinitionGroup const &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/UpdateBlockSyncedPacket.hpp b/LiteLoader/Header/MC/UpdateBlockSyncedPacket.hpp new file mode 100644 index 0000000..2bd3f10 --- /dev/null +++ b/LiteLoader/Header/MC/UpdateBlockSyncedPacket.hpp @@ -0,0 +1,32 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Packet.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class UpdateBlockSyncedPacket : public Packet { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_UPDATEBLOCKSYNCEDPACKET +public: + class UpdateBlockSyncedPacket& operator=(class UpdateBlockSyncedPacket const &) = delete; + UpdateBlockSyncedPacket(class UpdateBlockSyncedPacket const &) = delete; + UpdateBlockSyncedPacket() = delete; +#endif + +public: + /*0*/ virtual ~UpdateBlockSyncedPacket(); + /*1*/ virtual enum MinecraftPacketIds getId() const; + /*2*/ virtual std::string getName() const; + /*3*/ virtual void write(class BinaryStream &) const; + /*4*/ virtual enum StreamReadResult read(class ReadOnlyBinaryStream &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_UPDATEBLOCKSYNCEDPACKET +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/UpdateEquipPacket.hpp b/LiteLoader/Header/MC/UpdateEquipPacket.hpp new file mode 100644 index 0000000..a0cb731 --- /dev/null +++ b/LiteLoader/Header/MC/UpdateEquipPacket.hpp @@ -0,0 +1,32 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Packet.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class UpdateEquipPacket : public Packet { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_UPDATEEQUIPPACKET +public: + class UpdateEquipPacket& operator=(class UpdateEquipPacket const &) = delete; + UpdateEquipPacket(class UpdateEquipPacket const &) = delete; +#endif + +public: + /*0*/ virtual ~UpdateEquipPacket(); + /*1*/ virtual enum MinecraftPacketIds getId() const; + /*2*/ virtual std::string getName() const; + /*3*/ virtual void write(class BinaryStream &) const; + /*4*/ virtual enum StreamReadResult read(class ReadOnlyBinaryStream &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_UPDATEEQUIPPACKET +#endif + MCAPI UpdateEquipPacket(); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/UpdatePlayerGameTypePacket.hpp b/LiteLoader/Header/MC/UpdatePlayerGameTypePacket.hpp new file mode 100644 index 0000000..2990ba7 --- /dev/null +++ b/LiteLoader/Header/MC/UpdatePlayerGameTypePacket.hpp @@ -0,0 +1,32 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Packet.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class UpdatePlayerGameTypePacket : public Packet { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_UPDATEPLAYERGAMETYPEPACKET +public: + class UpdatePlayerGameTypePacket& operator=(class UpdatePlayerGameTypePacket const &) = delete; + UpdatePlayerGameTypePacket(class UpdatePlayerGameTypePacket const &) = delete; + UpdatePlayerGameTypePacket() = delete; +#endif + +public: + /*0*/ virtual ~UpdatePlayerGameTypePacket(); + /*1*/ virtual enum MinecraftPacketIds getId() const; + /*2*/ virtual std::string getName() const; + /*3*/ virtual void write(class BinaryStream &) const; + /*4*/ virtual enum StreamReadResult read(class ReadOnlyBinaryStream &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_UPDATEPLAYERGAMETYPEPACKET +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/UpdateSoftEnumPacket.hpp b/LiteLoader/Header/MC/UpdateSoftEnumPacket.hpp new file mode 100644 index 0000000..d2fd912 --- /dev/null +++ b/LiteLoader/Header/MC/UpdateSoftEnumPacket.hpp @@ -0,0 +1,32 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Packet.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class UpdateSoftEnumPacket : public Packet { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_UPDATESOFTENUMPACKET +public: + class UpdateSoftEnumPacket& operator=(class UpdateSoftEnumPacket const &) = delete; + UpdateSoftEnumPacket(class UpdateSoftEnumPacket const &) = delete; + UpdateSoftEnumPacket() = delete; +#endif + +public: + /*0*/ virtual ~UpdateSoftEnumPacket(); + /*1*/ virtual enum MinecraftPacketIds getId() const; + /*2*/ virtual std::string getName() const; + /*3*/ virtual void write(class BinaryStream &) const; + /*4*/ virtual enum StreamReadResult read(class ReadOnlyBinaryStream &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_UPDATESOFTENUMPACKET +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/UpdateTradePacket.hpp b/LiteLoader/Header/MC/UpdateTradePacket.hpp new file mode 100644 index 0000000..45cd25b --- /dev/null +++ b/LiteLoader/Header/MC/UpdateTradePacket.hpp @@ -0,0 +1,32 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Packet.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class UpdateTradePacket : public Packet { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_UPDATETRADEPACKET +public: + class UpdateTradePacket& operator=(class UpdateTradePacket const &) = delete; + UpdateTradePacket(class UpdateTradePacket const &) = delete; +#endif + +public: + /*0*/ virtual ~UpdateTradePacket(); + /*1*/ virtual enum MinecraftPacketIds getId() const; + /*2*/ virtual std::string getName() const; + /*3*/ virtual void write(class BinaryStream &) const; + /*4*/ virtual enum StreamReadResult read(class ReadOnlyBinaryStream &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_UPDATETRADEPACKET +#endif + MCAPI UpdateTradePacket(); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/UriListener.hpp b/LiteLoader/Header/MC/UriListener.hpp new file mode 100644 index 0000000..89c6369 --- /dev/null +++ b/LiteLoader/Header/MC/UriListener.hpp @@ -0,0 +1,26 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class UriListener { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_URILISTENER +public: + class UriListener& operator=(class UriListener const &) = delete; + UriListener(class UriListener const &) = delete; + UriListener() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_URILISTENER +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/UseActorDefinition.hpp b/LiteLoader/Header/MC/UseActorDefinition.hpp new file mode 100644 index 0000000..669a276 --- /dev/null +++ b/LiteLoader/Header/MC/UseActorDefinition.hpp @@ -0,0 +1,29 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Json.hpp" +#include "BehaviorDefinition.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class UseActorDefinition : public BehaviorDefinition { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_USEACTORDEFINITION +public: + class UseActorDefinition& operator=(class UseActorDefinition const &) = delete; + UseActorDefinition(class UseActorDefinition const &) = delete; + UseActorDefinition() = delete; +#endif + +public: + /*0*/ virtual ~UseActorDefinition(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_USEACTORDEFINITION +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/UseActorNode.hpp b/LiteLoader/Header/MC/UseActorNode.hpp new file mode 100644 index 0000000..f7e869d --- /dev/null +++ b/LiteLoader/Header/MC/UseActorNode.hpp @@ -0,0 +1,28 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class UseActorNode { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_USEACTORNODE +public: + class UseActorNode& operator=(class UseActorNode const &) = delete; + UseActorNode(class UseActorNode const &) = delete; + UseActorNode() = delete; +#endif + +public: + /*0*/ virtual ~UseActorNode(); + /*1*/ virtual enum BehaviorStatus tick(class Actor &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_USEACTORNODE +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/Util.hpp b/LiteLoader/Header/MC/Util.hpp new file mode 100644 index 0000000..b67af0a --- /dev/null +++ b/LiteLoader/Header/MC/Util.hpp @@ -0,0 +1,86 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Json.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +namespace Util { + +#define AFTER_EXTRA +// Add Member There +struct ResourceUri { +enum ValidationStatus; + +}; +class EntityComponentProcessor { +public: + EntityComponentProcessor() = delete; + EntityComponentProcessor(EntityComponentProcessor const&) = delete; + EntityComponentProcessor(EntityComponentProcessor const&&) = delete; +}; +enum NumberConversionResult; +template +class MultidimensionalArray { +public: + MultidimensionalArray() = delete; + MultidimensionalArray(MultidimensionalArray const&) = delete; + MultidimensionalArray(MultidimensionalArray const&&) = delete; +}; + +struct FormattedString { + FormattedString() = delete; + FormattedString(FormattedString const&) = delete; + FormattedString(FormattedString const&&) = delete; +}; + +#undef AFTER_EXTRA + MCAPI extern std::string const EMPTY_GUID; + MCAPI extern std::string const EMPTY_STRING; + MCAPI extern std::string const NEW_LINE; + MCAPI void _breakIntoWordsAndFindProfanity(std::string &, std::string &, std::vector> const &, class std::unordered_set, struct std::equal_to, class std::allocator> const &, class std::set, struct std::less>, class std::allocator>> &, class std::unordered_map, struct std::equal_to, class std::allocator>> const &, class std::unordered_set, struct std::equal_to, class std::allocator> const &); + MCAPI void _recordProfanityLocationInWord(std::string const &, std::string &, std::vector> const &, int, int, class std::set, struct std::less>, class std::allocator>> &, class std::unordered_map, struct std::equal_to, class std::allocator>> const &, class std::unordered_set, struct std::equal_to, class std::allocator> const &); + MCAPI std::string anonymizeIPAddress(std::string const &); + MCAPI std::string anonymizeIPv6Address(std::string const &); + MCAPI std::string base64_decode(std::string const &); + MCAPI std::string base64_encode(unsigned char const *, unsigned int, bool); + MCAPI std::string base64url_decode(std::string); + MCAPI std::string base64url_encode(std::string); + MCAPI std::string boolToString(bool); + MCAPI bool compareNoCase(class gsl::basic_string_span, class gsl::basic_string_span); + MCAPI std::string filterProfanityFromString(std::string const &, class std::unordered_map, struct std::equal_to, class std::allocator>> const &, class std::unordered_set, struct std::equal_to, class std::allocator> const &); + MCAPI std::string format(char const *, ...); + MCAPI struct std::pair getDataInheritance(std::string const &); + MCAPI std::string getNameWithoutNamespace(std::string const &); + MCAPI std::string getNamespace(std::string const &); + MCAPI bool isIntegral(std::string); + MCAPI bool isValidIP(class gsl::basic_string_span, bool, bool); + MCAPI bool isValidUTF8(std::string const &); + MCAPI void loadGameVersion(class SemVersion &, class Json::Value const &); + MCAPI void replaceUtf8CharactersWithAscii(std::string &, std::vector> const &); + MCAPI class std::basic_istream> & safeGetline(class std::basic_istream> &, std::string &); + MCAPI std::string simpleFormat(std::string const &, std::vector const &); + MCAPI std::vector split(std::string const &, char); + MCAPI std::vector split(std::string const &, std::vector const &, bool, bool, class std::basic_istream> & ( *)(class std::basic_istream> &, std::string &)); + MCAPI std::vector & splitString(std::string const &, char, std::vector &); + MCAPI bool startsWith(std::string const &, std::string const &); + MCAPI std::string stringTrim(std::string const &); + MCAPI std::string stringTrim(std::string const &, std::string const &); + MCAPI std::string toHex(std::string const &); + MCAPI enum Util::NumberConversionResult toInt(std::string const &, int &, int, int); + MCAPI std::string toLower(std::string const &); + MCAPI std::string toLower(class gsl::basic_string_span const &); + MCAPI void toLowerInPlace(std::string &); + MCAPI std::string toString(class std::basic_string, class std::allocator> const &); + MCAPI std::string toString(float, int); + MCAPI std::string toUpper(std::string const &); + MCAPI class std::basic_string, class std::allocator> toWideString(std::string const &); + MCAPI unsigned __int64 u64FromString(std::string const &); + MCAPI int utf8len(std::string const &); + MCAPI std::string utf8substring(std::string const &, int, int); + MCAPI std::string vFormat(char const *, char *); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/VanillaActorRendererId.hpp b/LiteLoader/Header/MC/VanillaActorRendererId.hpp new file mode 100644 index 0000000..98772f8 --- /dev/null +++ b/LiteLoader/Header/MC/VanillaActorRendererId.hpp @@ -0,0 +1,28 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +namespace VanillaActorRendererId { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA + MCAPI extern class HashedString const _map; + MCAPI extern class HashedString const _query; + MCAPI extern class HashedString const elderGuardian; + MCAPI extern class HashedString const elderGuardianGhost; + MCAPI extern class HashedString const guardian; + MCAPI extern class HashedString const itemEntity; + MCAPI extern class HashedString const lingeringPotion; + MCAPI extern class HashedString const npc; + MCAPI extern class HashedString const player; + MCAPI extern class HashedString const shield; + MCAPI extern class HashedString const thrownPotion; + MCAPI extern class HashedString const trident; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/VanillaActors.hpp b/LiteLoader/Header/MC/VanillaActors.hpp new file mode 100644 index 0000000..07d1777 --- /dev/null +++ b/LiteLoader/Header/MC/VanillaActors.hpp @@ -0,0 +1,17 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +namespace VanillaActors { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA + MCAPI void registerVanillaActorData(); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/VanillaAppConfigs.hpp b/LiteLoader/Header/MC/VanillaAppConfigs.hpp new file mode 100644 index 0000000..bc06429 --- /dev/null +++ b/LiteLoader/Header/MC/VanillaAppConfigs.hpp @@ -0,0 +1,48 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "AppConfigs.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class VanillaAppConfigs : public AppConfigs { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_VANILLAAPPCONFIGS +public: + class VanillaAppConfigs& operator=(class VanillaAppConfigs const &) = delete; + VanillaAppConfigs(class VanillaAppConfigs const &) = delete; + VanillaAppConfigs() = delete; +#endif + +public: + /*0*/ virtual ~VanillaAppConfigs(); + /*1*/ virtual void __unk_vfn_1(); + /*2*/ virtual void __unk_vfn_2(); + /*3*/ virtual void __unk_vfn_3(); + /*4*/ virtual void __unk_vfn_4(); + /*5*/ virtual void __unk_vfn_5(); + /*6*/ virtual void __unk_vfn_6(); + /*7*/ virtual void __unk_vfn_7(); + /*8*/ virtual void __unk_vfn_8(); + /*9*/ virtual void __unk_vfn_9(); + /*10*/ virtual void __unk_vfn_10(); + /*11*/ virtual void __unk_vfn_11(); + /*12*/ virtual void __unk_vfn_12(); + /*13*/ virtual void __unk_vfn_13(); + /*14*/ virtual void __unk_vfn_14(); + /*15*/ virtual void __unk_vfn_15(); + /*17*/ virtual void __unk_vfn_17(); + /*19*/ virtual void __unk_vfn_19(); + /*20*/ virtual void __unk_vfn_20(); + /*21*/ virtual void __unk_vfn_21(); + /*22*/ virtual void __unk_vfn_22(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_VANILLAAPPCONFIGS +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/VanillaBastionJigsawStructureBlockRules.hpp b/LiteLoader/Header/MC/VanillaBastionJigsawStructureBlockRules.hpp new file mode 100644 index 0000000..ffd8b7c --- /dev/null +++ b/LiteLoader/Header/MC/VanillaBastionJigsawStructureBlockRules.hpp @@ -0,0 +1,27 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class VanillaBastionJigsawStructureBlockRules { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_VANILLABASTIONJIGSAWSTRUCTUREBLOCKRULES +public: + class VanillaBastionJigsawStructureBlockRules& operator=(class VanillaBastionJigsawStructureBlockRules const &) = delete; + VanillaBastionJigsawStructureBlockRules(class VanillaBastionJigsawStructureBlockRules const &) = delete; + VanillaBastionJigsawStructureBlockRules() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_VANILLABASTIONJIGSAWSTRUCTUREBLOCKRULES +#endif + MCAPI static void initialize(class JigsawStructureRegistry &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/VanillaBastionJigsawStructureElements.hpp b/LiteLoader/Header/MC/VanillaBastionJigsawStructureElements.hpp new file mode 100644 index 0000000..ea9f844 --- /dev/null +++ b/LiteLoader/Header/MC/VanillaBastionJigsawStructureElements.hpp @@ -0,0 +1,27 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class VanillaBastionJigsawStructureElements { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_VANILLABASTIONJIGSAWSTRUCTUREELEMENTS +public: + class VanillaBastionJigsawStructureElements& operator=(class VanillaBastionJigsawStructureElements const &) = delete; + VanillaBastionJigsawStructureElements(class VanillaBastionJigsawStructureElements const &) = delete; + VanillaBastionJigsawStructureElements() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_VANILLABASTIONJIGSAWSTRUCTUREELEMENTS +#endif + MCAPI static void initialize(class StructureManager &, class FeatureRegistry &, class JigsawStructureRegistry &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/VanillaBastionJigsawStructures.hpp b/LiteLoader/Header/MC/VanillaBastionJigsawStructures.hpp new file mode 100644 index 0000000..ddfaf4c --- /dev/null +++ b/LiteLoader/Header/MC/VanillaBastionJigsawStructures.hpp @@ -0,0 +1,27 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class VanillaBastionJigsawStructures { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_VANILLABASTIONJIGSAWSTRUCTURES +public: + class VanillaBastionJigsawStructures& operator=(class VanillaBastionJigsawStructures const &) = delete; + VanillaBastionJigsawStructures(class VanillaBastionJigsawStructures const &) = delete; + VanillaBastionJigsawStructures() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_VANILLABASTIONJIGSAWSTRUCTURES +#endif + MCAPI static void initialize(class StructureManager &, class FeatureRegistry &, class JigsawStructureRegistry &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/VanillaBiomes.hpp b/LiteLoader/Header/MC/VanillaBiomes.hpp new file mode 100644 index 0000000..eb3379f --- /dev/null +++ b/LiteLoader/Header/MC/VanillaBiomes.hpp @@ -0,0 +1,107 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class VanillaBiomes { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_VANILLABIOMES +public: + class VanillaBiomes& operator=(class VanillaBiomes const &) = delete; + VanillaBiomes(class VanillaBiomes const &) = delete; + VanillaBiomes() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_VANILLABIOMES +#endif + MCAPI static struct BiomeHeight const HEIGHTS_BEACH; + MCAPI static struct BiomeHeight const HEIGHTS_DEEP_OCEAN; + MCAPI static struct BiomeHeight const HEIGHTS_EXTREME; + MCAPI static struct BiomeHeight const HEIGHTS_HIGHLANDS; + MCAPI static struct BiomeHeight const HEIGHTS_LOWLANDS; + MCAPI static struct BiomeHeight const HEIGHTS_MOUNTAINS; + MCAPI static struct BiomeHeight const HEIGHTS_MUSHROOM; + MCAPI static struct BiomeHeight const HEIGHTS_OCEAN; + MCAPI static struct BiomeHeight const HEIGHTS_RIVER; + MCAPI static struct BiomeHeight const HEIGHTS_STONE_BEACH; + MCAPI static struct BiomeHeight const HEIGHTS_SWAMPLAND; + MCAPI static struct BiomeHeight const HEIGHTS_TAIGA; + MCAPI static class Color const SWAMP_WATER_COLOR; + MCAPI static class Color const WATER_FOG_COLOR_SWAMP; + MCAPI static void initBiomeComponents(class BiomeComponentFactory &); + MCAPI static void initBiomes(class BiomeRegistry &, struct SpawnSettings const &, class BaseGameVersion const &); + MCAPI static void initClientOnlyComponents(class BiomeRegistry &); + MCAPI static void initDefaultWorldGenComponents(class IWorldRegistriesProvider &); + MCAPI static void initSurfaceBuilders(class SurfaceBuilderRegistry &); + MCAPI static void initVanillaBiomeTypeComponent(class BiomeRegistry &); + MCAPI static class Biome * mBambooJungle; + MCAPI static class Biome * mBambooJungleHills; + MCAPI static class Biome * mBasaltDeltas; + MCAPI static class Biome * mBeaches; + MCAPI static class Biome * mBirchForest; + MCAPI static class Biome * mBirchForestHills; + MCAPI static class Biome * mColdBeach; + MCAPI static class Biome * mCrimsonForest; + MCAPI static class Biome * mDesert; + MCAPI static class Biome * mDesertHills; + MCAPI static class Biome * mExtremeHills; + MCAPI static class Biome * mExtremeHillsWithTrees; + MCAPI static class Biome * mForest; + MCAPI static class Biome * mForestHills; + MCAPI static class Biome * mFrozenRiver; + MCAPI static class Biome * mIceFlats; + MCAPI static class Biome * mIceFlatsMutated; + MCAPI static class Biome * mIceMountains; + MCAPI static class Biome * mJungle; + MCAPI static class Biome * mJungleEdge; + MCAPI static class Biome * mJungleHills; + MCAPI static class Biome * mMesa; + MCAPI static class Biome * mMesaClearRock; + MCAPI static class Biome * mMesaRock; + MCAPI static class Biome * mMushroomIsland; + MCAPI static class Biome * mMushroomIslandShore; + MCAPI static class Biome * mNether; + MCAPI static class Biome * mOcean; + MCAPI static class Biome * mOceanCold; + MCAPI static class Biome * mOceanColdDeep; + MCAPI static class Biome * mOceanDeep; + MCAPI static class Biome * mOceanFrozen; + MCAPI static class Biome * mOceanFrozenDeep; + MCAPI static class Biome * mOceanLukewarm; + MCAPI static class Biome * mOceanLukewarmDeep; + MCAPI static class Biome * mOceanWarm; + MCAPI static class Biome * mOceanWarmDeep; + MCAPI static class Biome * mPlains; + MCAPI static class Biome * mPlainsMutated; + MCAPI static class std::set, class std::allocator> mPlayerValidSpawns; + MCAPI static class Biome * mRedwoodTaiga; + MCAPI static class Biome * mRedwoodTaigaHills; + MCAPI static class Biome * mRiver; + MCAPI static class Biome * mRoofedForest; + MCAPI static class Biome * mRoofedForestMutated; + MCAPI static class Biome * mSavanna; + MCAPI static class Biome * mSavannaMutated; + MCAPI static class Biome * mSavannaRock; + MCAPI static class Biome * mSavannaRockMutated; + MCAPI static class Biome * mSky; + MCAPI static class Biome * mSmallerExtremeHills; + MCAPI static class Biome * mSoulsandValley; + MCAPI static class Biome * mStoneBeach; + MCAPI static class Biome * mSwampland; + MCAPI static class Biome * mSwamplandMutated; + MCAPI static class Biome * mTaiga; + MCAPI static class Biome * mTaigaCold; + MCAPI static class Biome * mTaigaColdHills; + MCAPI static class Biome * mTaigaColdMutated; + MCAPI static class Biome * mTaigaHills; + MCAPI static class Biome * mWarpedForest; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/VanillaBlockConversion.hpp b/LiteLoader/Header/MC/VanillaBlockConversion.hpp new file mode 100644 index 0000000..0126350 --- /dev/null +++ b/LiteLoader/Header/MC/VanillaBlockConversion.hpp @@ -0,0 +1,19 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +namespace VanillaBlockConversion { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA + MCAPI class WeakPtr getBlockTypeFromLegacyId(unsigned int); + MCAPI int getBlockTypeLegacyIdFromName(std::string const &); + MCAPI class Block const * tryGetLegacyState(unsigned int, unsigned int); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/VanillaBlockStateTransformUtils.hpp b/LiteLoader/Header/MC/VanillaBlockStateTransformUtils.hpp new file mode 100644 index 0000000..799d8cc --- /dev/null +++ b/LiteLoader/Header/MC/VanillaBlockStateTransformUtils.hpp @@ -0,0 +1,37 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class VanillaBlockStateTransformUtils { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_VANILLABLOCKSTATETRANSFORMUTILS +public: + class VanillaBlockStateTransformUtils& operator=(class VanillaBlockStateTransformUtils const &) = delete; + VanillaBlockStateTransformUtils(class VanillaBlockStateTransformUtils const &) = delete; + VanillaBlockStateTransformUtils() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_VANILLABLOCKSTATETRANSFORMUTILS +#endif + MCAPI static class Block const * transformBlock(class Block const &, enum Rotation, enum Mirror); + MCAPI static class Block const * transformBlock(class Block const &, enum CommonDirection); + MCAPI static class Block const * transformStandingRotation(class Block const &, enum Rotation, enum Mirror); + MCAPI static class Block const * transformVineDirectionBits(class Block const &, enum Rotation, enum Mirror); + +//private: + MCAPI static enum CommonDirection _mirrorFrontBack(enum CommonDirection); + MCAPI static enum CommonDirection _mirrorLeftRight(enum CommonDirection); + MCAPI static enum CommonDirection _rotate(enum CommonDirection, enum Rotation); + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/VanillaBlockTypes.hpp b/LiteLoader/Header/MC/VanillaBlockTypes.hpp new file mode 100644 index 0000000..95e955e --- /dev/null +++ b/LiteLoader/Header/MC/VanillaBlockTypes.hpp @@ -0,0 +1,570 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +namespace VanillaBlockTypes { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA + MCAPI extern class WeakPtr mAcaciaFenceGate; + MCAPI extern class WeakPtr mAcaciaSign; + MCAPI extern class WeakPtr mAcaciaStairs; + MCAPI extern class WeakPtr mAcaciaWallSign; + MCAPI extern class WeakPtr mActivatorRail; + MCAPI extern class WeakPtr mAllow; + MCAPI extern class WeakPtr mAncientDebris; + MCAPI extern class WeakPtr mAndesiteStairs; + MCAPI extern class WeakPtr mAnvil; + MCAPI extern class WeakPtr mBambooBlock; + MCAPI extern class WeakPtr mBambooSapling; + MCAPI extern class WeakPtr mBarrel; + MCAPI extern class WeakPtr mBarrierBlock; + MCAPI extern class WeakPtr mBasalt; + MCAPI extern class WeakPtr mBeacon; + MCAPI extern class WeakPtr mBed; + MCAPI extern class WeakPtr mBedrock; + MCAPI extern class WeakPtr mBeeNest; + MCAPI extern class WeakPtr mBeehive; + MCAPI extern class WeakPtr mBeetrootCrop; + MCAPI extern class WeakPtr mBellBlock; + MCAPI extern class WeakPtr mBirchFenceGate; + MCAPI extern class WeakPtr mBirchSign; + MCAPI extern class WeakPtr mBirchStairs; + MCAPI extern class WeakPtr mBirchWallSign; + MCAPI extern class WeakPtr mBlackstone; + MCAPI extern class WeakPtr mBlackstoneDoubleSlab; + MCAPI extern class WeakPtr mBlackstoneSlab; + MCAPI extern class WeakPtr mBlackstoneStairs; + MCAPI extern class WeakPtr mBlackstoneWall; + MCAPI extern class WeakPtr mBlastFurnace; + MCAPI extern class WeakPtr mBlueIce; + MCAPI extern class WeakPtr mBoneBlock; + MCAPI extern class WeakPtr mBookshelf; + MCAPI extern class WeakPtr mBorder; + MCAPI extern class WeakPtr mBrewingStand; + MCAPI extern class WeakPtr mBrick; + MCAPI extern class WeakPtr mBrickStairs; + MCAPI extern class WeakPtr mBrownMushroom; + MCAPI extern class WeakPtr mBrownMushroomBlock; + MCAPI extern class WeakPtr mBubbleColumn; + MCAPI extern class WeakPtr mButtonAcacia; + MCAPI extern class WeakPtr mButtonBirch; + MCAPI extern class WeakPtr mButtonDarkOak; + MCAPI extern class WeakPtr mButtonJungle; + MCAPI extern class WeakPtr mButtonSpruce; + MCAPI extern class WeakPtr mCactus; + MCAPI extern class WeakPtr mCake; + MCAPI extern class WeakPtr mCameraBlock; + MCAPI extern class WeakPtr mCampfireBlock; + MCAPI extern class WeakPtr mCarrotCrop; + MCAPI extern class WeakPtr mCartographyTableBlock; + MCAPI extern class WeakPtr mCarvedPumpkin; + MCAPI extern class WeakPtr mCauldron; + MCAPI extern class WeakPtr mChain; + MCAPI extern class WeakPtr mChainCommandBlock; + MCAPI extern class WeakPtr mChalkboard; + MCAPI extern class WeakPtr mChemicalHeat; + MCAPI extern class WeakPtr mChemistryTable; + MCAPI extern class WeakPtr mChest; + MCAPI extern class WeakPtr mChiseledNetherBricks; + MCAPI extern class WeakPtr mChiseledPolishedBlackstone; + MCAPI extern class WeakPtr mChorusFlowerBlock; + MCAPI extern class WeakPtr mChorusPlantBlock; + MCAPI extern class WeakPtr mClay; + MCAPI extern class WeakPtr mCoalBlock; + MCAPI extern class WeakPtr mCoalOre; + MCAPI extern class WeakPtr mCobblestone; + MCAPI extern class WeakPtr mCobblestoneStairs; + MCAPI extern class WeakPtr mCocoa; + MCAPI extern class WeakPtr mColoredTorchBP; + MCAPI extern class WeakPtr mColoredTorchRG; + MCAPI extern class WeakPtr mCommandBlock; + MCAPI extern class WeakPtr mComposterBlock; + MCAPI extern class WeakPtr mConcrete; + MCAPI extern class WeakPtr mConcretePowder; + MCAPI extern class WeakPtr mConduitBlock; + MCAPI extern class WeakPtr mCoral; + MCAPI extern class WeakPtr mCoralBlock; + MCAPI extern class WeakPtr mCoralFan; + MCAPI extern class WeakPtr mCoralFanDead; + MCAPI extern class WeakPtr mCoralFanHang; + MCAPI extern class WeakPtr mCoralFanHang2; + MCAPI extern class WeakPtr mCoralFanHang3; + MCAPI extern class WeakPtr mCrackedNetherBricks; + MCAPI extern class WeakPtr mCrackedPolishedBlackstoneBricks; + MCAPI extern class WeakPtr mCrimsonButton; + MCAPI extern class WeakPtr mCrimsonDoor; + MCAPI extern class WeakPtr mCrimsonDoubleSlab; + MCAPI extern class WeakPtr mCrimsonFence; + MCAPI extern class WeakPtr mCrimsonFenceGate; + MCAPI extern class WeakPtr mCrimsonFungus; + MCAPI extern class WeakPtr mCrimsonHyphae; + MCAPI extern class WeakPtr mCrimsonNylium; + MCAPI extern class WeakPtr mCrimsonPlanks; + MCAPI extern class WeakPtr mCrimsonPressurePlate; + MCAPI extern class WeakPtr mCrimsonRoots; + MCAPI extern class WeakPtr mCrimsonSlab; + MCAPI extern class WeakPtr mCrimsonStairs; + MCAPI extern class WeakPtr mCrimsonStandingSign; + MCAPI extern class WeakPtr mCrimsonStem; + MCAPI extern class WeakPtr mCrimsonTrapDoor; + MCAPI extern class WeakPtr mCrimsonWallSign; + MCAPI extern class WeakPtr mCryingObsidian; + MCAPI extern class WeakPtr mDarkOakFenceGate; + MCAPI extern class WeakPtr mDarkOakSign; + MCAPI extern class WeakPtr mDarkOakStairs; + MCAPI extern class WeakPtr mDarkOakWallSign; + MCAPI extern class WeakPtr mDarkPrismarineStairs; + MCAPI extern class WeakPtr mDaylightDetector; + MCAPI extern class WeakPtr mDaylightDetectorInverted; + MCAPI extern class WeakPtr mDeadBush; + MCAPI extern class WeakPtr mDeny; + MCAPI extern class WeakPtr mDetectorRail; + MCAPI extern class WeakPtr mDiamondBlock; + MCAPI extern class WeakPtr mDiamondOre; + MCAPI extern class WeakPtr mDioriteStairs; + MCAPI extern class WeakPtr mDirt; + MCAPI extern class WeakPtr mDispenser; + MCAPI extern class WeakPtr mDoublePlant; + MCAPI extern class WeakPtr mDoubleStoneSlab; + MCAPI extern class WeakPtr mDoubleStoneSlab2; + MCAPI extern class WeakPtr mDoubleStoneSlab3; + MCAPI extern class WeakPtr mDoubleStoneSlab4; + MCAPI extern class WeakPtr mDoubleWoodenSlab; + MCAPI extern class WeakPtr mDragonEgg; + MCAPI extern class WeakPtr mDriedKelpBlock; + MCAPI extern class WeakPtr mDropper; + MCAPI extern class WeakPtr mDynamicLava; + MCAPI extern class WeakPtr mDynamicWater; + MCAPI extern class WeakPtr mElement0; + MCAPI extern class WeakPtr mElement1; + MCAPI extern class WeakPtr mElement10; + MCAPI extern class WeakPtr mElement100; + MCAPI extern class WeakPtr mElement101; + MCAPI extern class WeakPtr mElement102; + MCAPI extern class WeakPtr mElement103; + MCAPI extern class WeakPtr mElement104; + MCAPI extern class WeakPtr mElement105; + MCAPI extern class WeakPtr mElement106; + MCAPI extern class WeakPtr mElement107; + MCAPI extern class WeakPtr mElement108; + MCAPI extern class WeakPtr mElement109; + MCAPI extern class WeakPtr mElement11; + MCAPI extern class WeakPtr mElement110; + MCAPI extern class WeakPtr mElement111; + MCAPI extern class WeakPtr mElement112; + MCAPI extern class WeakPtr mElement113; + MCAPI extern class WeakPtr mElement114; + MCAPI extern class WeakPtr mElement115; + MCAPI extern class WeakPtr mElement116; + MCAPI extern class WeakPtr mElement117; + MCAPI extern class WeakPtr mElement118; + MCAPI extern class WeakPtr mElement12; + MCAPI extern class WeakPtr mElement13; + MCAPI extern class WeakPtr mElement14; + MCAPI extern class WeakPtr mElement15; + MCAPI extern class WeakPtr mElement16; + MCAPI extern class WeakPtr mElement17; + MCAPI extern class WeakPtr mElement18; + MCAPI extern class WeakPtr mElement19; + MCAPI extern class WeakPtr mElement2; + MCAPI extern class WeakPtr mElement20; + MCAPI extern class WeakPtr mElement21; + MCAPI extern class WeakPtr mElement22; + MCAPI extern class WeakPtr mElement23; + MCAPI extern class WeakPtr mElement24; + MCAPI extern class WeakPtr mElement25; + MCAPI extern class WeakPtr mElement26; + MCAPI extern class WeakPtr mElement27; + MCAPI extern class WeakPtr mElement28; + MCAPI extern class WeakPtr mElement29; + MCAPI extern class WeakPtr mElement3; + MCAPI extern class WeakPtr mElement30; + MCAPI extern class WeakPtr mElement31; + MCAPI extern class WeakPtr mElement32; + MCAPI extern class WeakPtr mElement33; + MCAPI extern class WeakPtr mElement34; + MCAPI extern class WeakPtr mElement35; + MCAPI extern class WeakPtr mElement36; + MCAPI extern class WeakPtr mElement37; + MCAPI extern class WeakPtr mElement38; + MCAPI extern class WeakPtr mElement39; + MCAPI extern class WeakPtr mElement4; + MCAPI extern class WeakPtr mElement40; + MCAPI extern class WeakPtr mElement41; + MCAPI extern class WeakPtr mElement42; + MCAPI extern class WeakPtr mElement43; + MCAPI extern class WeakPtr mElement44; + MCAPI extern class WeakPtr mElement45; + MCAPI extern class WeakPtr mElement46; + MCAPI extern class WeakPtr mElement47; + MCAPI extern class WeakPtr mElement48; + MCAPI extern class WeakPtr mElement49; + MCAPI extern class WeakPtr mElement5; + MCAPI extern class WeakPtr mElement50; + MCAPI extern class WeakPtr mElement51; + MCAPI extern class WeakPtr mElement52; + MCAPI extern class WeakPtr mElement53; + MCAPI extern class WeakPtr mElement54; + MCAPI extern class WeakPtr mElement55; + MCAPI extern class WeakPtr mElement56; + MCAPI extern class WeakPtr mElement57; + MCAPI extern class WeakPtr mElement58; + MCAPI extern class WeakPtr mElement59; + MCAPI extern class WeakPtr mElement6; + MCAPI extern class WeakPtr mElement60; + MCAPI extern class WeakPtr mElement61; + MCAPI extern class WeakPtr mElement62; + MCAPI extern class WeakPtr mElement63; + MCAPI extern class WeakPtr mElement64; + MCAPI extern class WeakPtr mElement65; + MCAPI extern class WeakPtr mElement66; + MCAPI extern class WeakPtr mElement67; + MCAPI extern class WeakPtr mElement68; + MCAPI extern class WeakPtr mElement69; + MCAPI extern class WeakPtr mElement7; + MCAPI extern class WeakPtr mElement70; + MCAPI extern class WeakPtr mElement71; + MCAPI extern class WeakPtr mElement72; + MCAPI extern class WeakPtr mElement73; + MCAPI extern class WeakPtr mElement74; + MCAPI extern class WeakPtr mElement75; + MCAPI extern class WeakPtr mElement76; + MCAPI extern class WeakPtr mElement77; + MCAPI extern class WeakPtr mElement78; + MCAPI extern class WeakPtr mElement79; + MCAPI extern class WeakPtr mElement8; + MCAPI extern class WeakPtr mElement80; + MCAPI extern class WeakPtr mElement81; + MCAPI extern class WeakPtr mElement82; + MCAPI extern class WeakPtr mElement83; + MCAPI extern class WeakPtr mElement84; + MCAPI extern class WeakPtr mElement85; + MCAPI extern class WeakPtr mElement86; + MCAPI extern class WeakPtr mElement87; + MCAPI extern class WeakPtr mElement88; + MCAPI extern class WeakPtr mElement89; + MCAPI extern class WeakPtr mElement9; + MCAPI extern class WeakPtr mElement90; + MCAPI extern class WeakPtr mElement91; + MCAPI extern class WeakPtr mElement92; + MCAPI extern class WeakPtr mElement93; + MCAPI extern class WeakPtr mElement94; + MCAPI extern class WeakPtr mElement95; + MCAPI extern class WeakPtr mElement96; + MCAPI extern class WeakPtr mElement97; + MCAPI extern class WeakPtr mElement98; + MCAPI extern class WeakPtr mElement99; + MCAPI extern class WeakPtr mEmeraldBlock; + MCAPI extern class WeakPtr mEmeraldOre; + MCAPI extern class WeakPtr mEnchantingTable; + MCAPI extern class WeakPtr mEndBrick; + MCAPI extern class WeakPtr mEndBrickStairs; + MCAPI extern class WeakPtr mEndGateway; + MCAPI extern class WeakPtr mEndPortal; + MCAPI extern class WeakPtr mEndPortalFrame; + MCAPI extern class WeakPtr mEndRod; + MCAPI extern class WeakPtr mEndStone; + MCAPI extern class WeakPtr mEnderChest; + MCAPI extern class WeakPtr mFarmland; + MCAPI extern class WeakPtr mFence; + MCAPI extern class WeakPtr mFenceGateOak; + MCAPI extern class WeakPtr mFire; + MCAPI extern class WeakPtr mFletchingTable; + MCAPI extern class WeakPtr mFlowerPot; + MCAPI extern class WeakPtr mFrostedIce; + MCAPI extern class WeakPtr mFurnace; + MCAPI extern class WeakPtr mGildedBlackstone; + MCAPI extern class WeakPtr mGlass; + MCAPI extern class WeakPtr mGlassPane; + MCAPI extern class WeakPtr mGlazedTerracottaBlack; + MCAPI extern class WeakPtr mGlazedTerracottaBlue; + MCAPI extern class WeakPtr mGlazedTerracottaBrown; + MCAPI extern class WeakPtr mGlazedTerracottaCyan; + MCAPI extern class WeakPtr mGlazedTerracottaGray; + MCAPI extern class WeakPtr mGlazedTerracottaGreen; + MCAPI extern class WeakPtr mGlazedTerracottaLightBlue; + MCAPI extern class WeakPtr mGlazedTerracottaLime; + MCAPI extern class WeakPtr mGlazedTerracottaMagenta; + MCAPI extern class WeakPtr mGlazedTerracottaOrange; + MCAPI extern class WeakPtr mGlazedTerracottaPink; + MCAPI extern class WeakPtr mGlazedTerracottaPurple; + MCAPI extern class WeakPtr mGlazedTerracottaRed; + MCAPI extern class WeakPtr mGlazedTerracottaSilver; + MCAPI extern class WeakPtr mGlazedTerracottaWhite; + MCAPI extern class WeakPtr mGlazedTerracottaYellow; + MCAPI extern class WeakPtr mGlowStone; + MCAPI extern class WeakPtr mGlowingObsidian; + MCAPI extern class WeakPtr mGoldBlock; + MCAPI extern class WeakPtr mGoldOre; + MCAPI extern class WeakPtr mGoldenRail; + MCAPI extern class WeakPtr mGraniteStairs; + MCAPI extern class WeakPtr mGrass; + MCAPI extern class WeakPtr mGrassPathBlock; + MCAPI extern class WeakPtr mGravel; + MCAPI extern class WeakPtr mGrindstone; + MCAPI extern class WeakPtr mHardGlass; + MCAPI extern class WeakPtr mHardGlassPane; + MCAPI extern class WeakPtr mHardStainedGlass; + MCAPI extern class WeakPtr mHardStainedGlassPane; + MCAPI extern class WeakPtr mHardenedClay; + MCAPI extern class WeakPtr mHayBlock; + MCAPI extern class WeakPtr mHeavyWeightedPressurePlate; + MCAPI extern class WeakPtr mHoneyBlock; + MCAPI extern class WeakPtr mHoneycombBlock; + MCAPI extern class WeakPtr mHopper; + MCAPI extern class WeakPtr mIce; + MCAPI extern class WeakPtr mInfoReserved6; + MCAPI extern class WeakPtr mInfoUpdateGame1; + MCAPI extern class WeakPtr mInfoUpdateGame2; + MCAPI extern class WeakPtr mInvisibleBedrock; + MCAPI extern class WeakPtr mIronBlock; + MCAPI extern class WeakPtr mIronDoor; + MCAPI extern class WeakPtr mIronFence; + MCAPI extern class WeakPtr mIronOre; + MCAPI extern class WeakPtr mIronTrapdoor; + MCAPI extern class WeakPtr mItemFrame; + MCAPI extern class WeakPtr mJigsawBlock; + MCAPI extern class WeakPtr mJukebox; + MCAPI extern class WeakPtr mJungleFenceGate; + MCAPI extern class WeakPtr mJungleSign; + MCAPI extern class WeakPtr mJungleStairs; + MCAPI extern class WeakPtr mJungleWallSign; + MCAPI extern class WeakPtr mKelp; + MCAPI extern class WeakPtr mLadder; + MCAPI extern class WeakPtr mLantern; + MCAPI extern class WeakPtr mLapisBlock; + MCAPI extern class WeakPtr mLapisOre; + MCAPI extern class WeakPtr mLavaCauldron; + MCAPI extern class WeakPtr mLeaves; + MCAPI extern class WeakPtr mLeaves2; + MCAPI extern class WeakPtr mLecternBlock; + MCAPI extern class WeakPtr mLegacyStonecutterBench; + MCAPI extern class WeakPtr mLever; + MCAPI extern class WeakPtr mLightBlock; + MCAPI extern class WeakPtr mLightWeightedPressurePlate; + MCAPI extern class WeakPtr mLitBlastFurnace; + MCAPI extern class WeakPtr mLitFurnace; + MCAPI extern class WeakPtr mLitPumpkin; + MCAPI extern class WeakPtr mLitRedStoneLamp; + MCAPI extern class WeakPtr mLitRedStoneOre; + MCAPI extern class WeakPtr mLitRedStoneTorch; + MCAPI extern class WeakPtr mLitSmokerBlock; + MCAPI extern class WeakPtr mLodestoneBlock; + MCAPI extern class WeakPtr mLog; + MCAPI extern class WeakPtr mLog2; + MCAPI extern class WeakPtr mLoomBlock; + MCAPI extern class WeakPtr mMagmaBlock; + MCAPI extern class WeakPtr mMelon; + MCAPI extern class WeakPtr mMelonStem; + MCAPI extern class WeakPtr mMobSpawner; + MCAPI extern class WeakPtr mMonsterStoneEgg; + MCAPI extern class WeakPtr mMossyCobblestone; + MCAPI extern class WeakPtr mMossyCobblestoneStairs; + MCAPI extern class WeakPtr mMossyStoneBrickStairs; + MCAPI extern class WeakPtr mMovingBlock; + MCAPI extern class WeakPtr mMycelium; + MCAPI extern class WeakPtr mNetherBrick; + MCAPI extern class WeakPtr mNetherBrickStairs; + MCAPI extern class WeakPtr mNetherFence; + MCAPI extern class WeakPtr mNetherGoldOre; + MCAPI extern class WeakPtr mNetherReactor; + MCAPI extern class WeakPtr mNetherSprouts; + MCAPI extern class WeakPtr mNetherWart; + MCAPI extern class WeakPtr mNetheriteBlock; + MCAPI extern class WeakPtr mNetherrack; + MCAPI extern class WeakPtr mNote; + MCAPI extern class WeakPtr mOakStairs; + MCAPI extern class WeakPtr mObserver; + MCAPI extern class WeakPtr mObsidian; + MCAPI extern class WeakPtr mPackedIce; + MCAPI extern class WeakPtr mPiston; + MCAPI extern class WeakPtr mPistonArm; + MCAPI extern class WeakPtr mPodzol; + MCAPI extern class WeakPtr mPolishedAndesiteStairs; + MCAPI extern class WeakPtr mPolishedBasalt; + MCAPI extern class WeakPtr mPolishedBlackstone; + MCAPI extern class WeakPtr mPolishedBlackstoneBrickDoubleSlab; + MCAPI extern class WeakPtr mPolishedBlackstoneBrickSlab; + MCAPI extern class WeakPtr mPolishedBlackstoneBrickStairs; + MCAPI extern class WeakPtr mPolishedBlackstoneBrickWall; + MCAPI extern class WeakPtr mPolishedBlackstoneBricks; + MCAPI extern class WeakPtr mPolishedBlackstoneButton; + MCAPI extern class WeakPtr mPolishedBlackstoneDoubleSlab; + MCAPI extern class WeakPtr mPolishedBlackstonePressurePlate; + MCAPI extern class WeakPtr mPolishedBlackstoneSlab; + MCAPI extern class WeakPtr mPolishedBlackstoneStairs; + MCAPI extern class WeakPtr mPolishedBlackstoneWall; + MCAPI extern class WeakPtr mPolishedDioriteStairs; + MCAPI extern class WeakPtr mPolishedGraniteStairs; + MCAPI extern class WeakPtr mPortal; + MCAPI extern class WeakPtr mPotatoCrop; + MCAPI extern class WeakPtr mPoweredComparator; + MCAPI extern class WeakPtr mPoweredRepeater; + MCAPI extern class WeakPtr mPressurePlateAcacia; + MCAPI extern class WeakPtr mPressurePlateBirch; + MCAPI extern class WeakPtr mPressurePlateDarkOak; + MCAPI extern class WeakPtr mPressurePlateJungle; + MCAPI extern class WeakPtr mPressurePlateSpruce; + MCAPI extern class WeakPtr mPrismarine; + MCAPI extern class WeakPtr mPrismarineBricksStairs; + MCAPI extern class WeakPtr mPrismarineStairs; + MCAPI extern class WeakPtr mPumpkin; + MCAPI extern class WeakPtr mPumpkinStem; + MCAPI extern class WeakPtr mPurpurBlock; + MCAPI extern class WeakPtr mPurpurStairs; + MCAPI extern class WeakPtr mQuartzBlock; + MCAPI extern class WeakPtr mQuartzBricks; + MCAPI extern class WeakPtr mQuartzOre; + MCAPI extern class WeakPtr mQuartzStairs; + MCAPI extern class WeakPtr mRail; + MCAPI extern class WeakPtr mRedFlower; + MCAPI extern class WeakPtr mRedMushroom; + MCAPI extern class WeakPtr mRedMushroomBlock; + MCAPI extern class WeakPtr mRedNetherBrick; + MCAPI extern class WeakPtr mRedNetherBrickStairs; + MCAPI extern class WeakPtr mRedNetherWartBlock; + MCAPI extern class WeakPtr mRedSandstone; + MCAPI extern class WeakPtr mRedSandstoneStairs; + MCAPI extern class WeakPtr mRedStoneDust; + MCAPI extern class WeakPtr mRedStoneOre; + MCAPI extern class WeakPtr mRedstoneBlock; + MCAPI extern class WeakPtr mReeds; + MCAPI extern class WeakPtr mRepeatingCommandBlock; + MCAPI extern class WeakPtr mRespawnAnchor; + MCAPI extern class WeakPtr mSand; + MCAPI extern class WeakPtr mSandStone; + MCAPI extern class WeakPtr mSandstoneStairs; + MCAPI extern class WeakPtr mSapling; + MCAPI extern class WeakPtr mScaffoldingBlock; + MCAPI extern class WeakPtr mSeaGrass; + MCAPI extern class WeakPtr mSeaLantern; + MCAPI extern class WeakPtr mSeaPickle; + MCAPI extern class WeakPtr mShroomlight; + MCAPI extern class WeakPtr mShulkerBox; + MCAPI extern class WeakPtr mSign; + MCAPI extern class WeakPtr mSkull; + MCAPI extern class WeakPtr mSlimeBlock; + MCAPI extern class WeakPtr mSmithingTable; + MCAPI extern class WeakPtr mSmokerBlock; + MCAPI extern class WeakPtr mSmoothQuartzStairs; + MCAPI extern class WeakPtr mSmoothRedSandstoneStairs; + MCAPI extern class WeakPtr mSmoothSandstoneStairs; + MCAPI extern class WeakPtr mSmoothStone; + MCAPI extern class WeakPtr mSnow; + MCAPI extern class WeakPtr mSoulCampfire; + MCAPI extern class WeakPtr mSoulFire; + MCAPI extern class WeakPtr mSoulLantern; + MCAPI extern class WeakPtr mSoulSand; + MCAPI extern class WeakPtr mSoulSoil; + MCAPI extern class WeakPtr mSoulTorch; + MCAPI extern class WeakPtr mSponge; + MCAPI extern class WeakPtr mSpruceFenceGate; + MCAPI extern class WeakPtr mSpruceSign; + MCAPI extern class WeakPtr mSpruceStairs; + MCAPI extern class WeakPtr mSpruceWallSign; + MCAPI extern class WeakPtr mStainedClay; + MCAPI extern class WeakPtr mStainedGlass; + MCAPI extern class WeakPtr mStainedGlassPane; + MCAPI extern class WeakPtr mStandingBanner; + MCAPI extern class WeakPtr mStaticLava; + MCAPI extern class WeakPtr mStaticWater; + MCAPI extern class WeakPtr mStickyPiston; + MCAPI extern class WeakPtr mStickyPistonArm; + MCAPI extern class WeakPtr mStone; + MCAPI extern class WeakPtr mStoneBrick; + MCAPI extern class WeakPtr mStoneBrickStairs; + MCAPI extern class WeakPtr mStoneButton; + MCAPI extern class WeakPtr mStonePressurePlate; + MCAPI extern class WeakPtr mStoneSlab; + MCAPI extern class WeakPtr mStoneSlab2; + MCAPI extern class WeakPtr mStoneSlab3; + MCAPI extern class WeakPtr mStoneSlab4; + MCAPI extern class WeakPtr mStoneStairs; + MCAPI extern class WeakPtr mStonecutterBench; + MCAPI extern class WeakPtr mStrippedAcaciaLog; + MCAPI extern class WeakPtr mStrippedBirchLog; + MCAPI extern class WeakPtr mStrippedCrimsonHyphae; + MCAPI extern class WeakPtr mStrippedCrimsonStem; + MCAPI extern class WeakPtr mStrippedDarkOakLog; + MCAPI extern class WeakPtr mStrippedJungleLog; + MCAPI extern class WeakPtr mStrippedOakLog; + MCAPI extern class WeakPtr mStrippedSpruceLog; + MCAPI extern class WeakPtr mStrippedWarpedHyphae; + MCAPI extern class WeakPtr mStrippedWarpedStem; + MCAPI extern class WeakPtr mStructureBlock; + MCAPI extern class WeakPtr mStructureVoid; + MCAPI extern class WeakPtr mSweetBerryBushBlock; + MCAPI extern class WeakPtr mTNT; + MCAPI extern class WeakPtr mTallgrass; + MCAPI extern class WeakPtr mTarget; + MCAPI extern class WeakPtr mTopSnow; + MCAPI extern class WeakPtr mTorch; + MCAPI extern class WeakPtr mTrapdoor; + MCAPI extern class WeakPtr mTrapdoorAcacia; + MCAPI extern class WeakPtr mTrapdoorBirch; + MCAPI extern class WeakPtr mTrapdoorDarkOak; + MCAPI extern class WeakPtr mTrapdoorJungle; + MCAPI extern class WeakPtr mTrapdoorSpruce; + MCAPI extern class WeakPtr mTrappedChest; + MCAPI extern class WeakPtr mTripwire; + MCAPI extern class WeakPtr mTripwireHook; + MCAPI extern class WeakPtr mTurtleEgg; + MCAPI extern class WeakPtr mTwistingVinesBlock; + MCAPI extern class WeakPtr mUnderwaterTorch; + MCAPI extern class WeakPtr mUndyedShulkerBox; + MCAPI extern class WeakPtr mUnlitRedStoneLamp; + MCAPI extern class WeakPtr mUnlitRedStoneTorch; + MCAPI extern class WeakPtr mUnpoweredComparator; + MCAPI extern class WeakPtr mUnpoweredRepeater; + MCAPI extern class WeakPtr mVine; + MCAPI extern class WeakPtr mWallBanner; + MCAPI extern class WeakPtr mWallBlock; + MCAPI extern class WeakPtr mWallSign; + MCAPI extern class WeakPtr mWarpedButton; + MCAPI extern class WeakPtr mWarpedDoor; + MCAPI extern class WeakPtr mWarpedDoubleSlab; + MCAPI extern class WeakPtr mWarpedFence; + MCAPI extern class WeakPtr mWarpedFenceGate; + MCAPI extern class WeakPtr mWarpedFungus; + MCAPI extern class WeakPtr mWarpedHyphae; + MCAPI extern class WeakPtr mWarpedNylium; + MCAPI extern class WeakPtr mWarpedPlanks; + MCAPI extern class WeakPtr mWarpedPressurePlate; + MCAPI extern class WeakPtr mWarpedRoots; + MCAPI extern class WeakPtr mWarpedSlab; + MCAPI extern class WeakPtr mWarpedStairs; + MCAPI extern class WeakPtr mWarpedStandingSign; + MCAPI extern class WeakPtr mWarpedStem; + MCAPI extern class WeakPtr mWarpedTrapdoor; + MCAPI extern class WeakPtr mWarpedWallSign; + MCAPI extern class WeakPtr mWarpedWartBlock; + MCAPI extern class WeakPtr mWaterlily; + MCAPI extern class WeakPtr mWeb; + MCAPI extern class WeakPtr mWeepingVines; + MCAPI extern class WeakPtr mWheatCrop; + MCAPI extern class WeakPtr mWitherRose; + MCAPI extern class WeakPtr mWoodBlock; + MCAPI extern class WeakPtr mWoodButton; + MCAPI extern class WeakPtr mWoodPlanks; + MCAPI extern class WeakPtr mWoodPressurePlate; + MCAPI extern class WeakPtr mWoodenDoor; + MCAPI extern class WeakPtr mWoodenDoorAcacia; + MCAPI extern class WeakPtr mWoodenDoorBirch; + MCAPI extern class WeakPtr mWoodenDoorDarkOak; + MCAPI extern class WeakPtr mWoodenDoorJungle; + MCAPI extern class WeakPtr mWoodenDoorSpruce; + MCAPI extern class WeakPtr mWoodenSlab; + MCAPI extern class WeakPtr mWool; + MCAPI extern class WeakPtr mWoolCarpet; + MCAPI extern class WeakPtr mWorkBench; + MCAPI extern class WeakPtr mYellowFlower; + MCAPI void registerBlocks(); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/VanillaBlockUpdater.hpp b/LiteLoader/Header/MC/VanillaBlockUpdater.hpp new file mode 100644 index 0000000..4f477a4 --- /dev/null +++ b/LiteLoader/Header/MC/VanillaBlockUpdater.hpp @@ -0,0 +1,40 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class VanillaBlockUpdater { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_VANILLABLOCKUPDATER +public: + class VanillaBlockUpdater& operator=(class VanillaBlockUpdater const &) = delete; + VanillaBlockUpdater(class VanillaBlockUpdater const &) = delete; + VanillaBlockUpdater() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_VANILLABLOCKUPDATER +#endif + MCAPI static class CompoundTagUpdaterContext & get(); + +//private: + MCAPI static void addBaseUpdater(class CompoundTagUpdaterContext &); + MCAPI static void addRailUpdater_1_14_0(std::string const &, class CompoundTagUpdaterContext &); + MCAPI static void addUpdaters_1_10_0(class CompoundTagUpdaterContext &); + MCAPI static void addUpdaters_1_12_0(class CompoundTagUpdaterContext &); + MCAPI static void addUpdaters_1_13_0(class CompoundTagUpdaterContext &); + MCAPI static void addUpdaters_1_14_0(class CompoundTagUpdaterContext &); + MCAPI static void addUpdaters_1_15_0(class CompoundTagUpdaterContext &); + MCAPI static void addUpdaters_1_16_0(class CompoundTagUpdaterContext &); + +private: + MCAPI static std::unique_ptr mContext; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/VanillaBlocks.hpp b/LiteLoader/Header/MC/VanillaBlocks.hpp new file mode 100644 index 0000000..78e2135 --- /dev/null +++ b/LiteLoader/Header/MC/VanillaBlocks.hpp @@ -0,0 +1,554 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +namespace VanillaBlocks { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA + MCAPI void assignBlocks(); + MCAPI extern class Block const * mAcaciaFenceGate; + MCAPI extern class Block const * mAcaciaSign; + MCAPI extern class Block const * mAcaciaStairs; + MCAPI extern class Block const * mAcaciaWallSign; + MCAPI extern class Block const * mActivatorRail; + MCAPI extern class Block const * mAncientDebris; + MCAPI extern class Block const * mAndesiteStairs; + MCAPI extern class Block const * mAnvil; + MCAPI extern class Block const * mBambooBlock; + MCAPI extern class Block const * mBambooSapling; + MCAPI extern class Block const * mBarrel; + MCAPI extern class Block const * mBasalt; + MCAPI extern class Block const * mBeacon; + MCAPI extern class Block const * mBed; + MCAPI extern class Block const * mBedrock; + MCAPI extern class Block const * mBeeNest; + MCAPI extern class Block const * mBeehive; + MCAPI extern class Block const * mBeetrootCrop; + MCAPI extern class Block const * mBellBlock; + MCAPI extern class Block const * mBirchFenceGate; + MCAPI extern class Block const * mBirchSign; + MCAPI extern class Block const * mBirchStairs; + MCAPI extern class Block const * mBirchWallSign; + MCAPI extern class Block const * mBlackstone; + MCAPI extern class Block const * mBlackstoneDoubleSlab; + MCAPI extern class Block const * mBlackstoneSlab; + MCAPI extern class Block const * mBlackstoneStairs; + MCAPI extern class Block const * mBlackstoneWall; + MCAPI extern class Block const * mBlastFurnace; + MCAPI extern class Block const * mBlueIce; + MCAPI extern class Block const * mBoneBlock; + MCAPI extern class Block const * mBookshelf; + MCAPI extern class Block const * mBrewingStand; + MCAPI extern class Block const * mBrick; + MCAPI extern class Block const * mBrickStairs; + MCAPI extern class Block const * mBrownMushroom; + MCAPI extern class Block const * mBrownMushroomBlock; + MCAPI extern class Block const * mBubbleColumn; + MCAPI extern class Block const * mButtonAcacia; + MCAPI extern class Block const * mButtonBirch; + MCAPI extern class Block const * mButtonDarkOak; + MCAPI extern class Block const * mButtonJungle; + MCAPI extern class Block const * mButtonSpruce; + MCAPI extern class Block const * mCactus; + MCAPI extern class Block const * mCake; + MCAPI extern class Block const * mCameraBlock; + MCAPI extern class Block const * mCampfireBlock; + MCAPI extern class Block const * mCarrotCrop; + MCAPI extern class Block const * mCartographyTableBlock; + MCAPI extern class Block const * mCarvedPumpkin; + MCAPI extern class Block const * mCauldron; + MCAPI extern class Block const * mChain; + MCAPI extern class Block const * mChalkboard; + MCAPI extern class Block const * mChemistryTable; + MCAPI extern class Block const * mChest; + MCAPI extern class Block const * mChiseledNetherBricks; + MCAPI extern class Block const * mChiseledPolishedBlackstone; + MCAPI extern class Block const * mChorusFlowerBlock; + MCAPI extern class Block const * mChorusPlantBlock; + MCAPI extern class Block const * mClay; + MCAPI extern class Block const * mCoalBlock; + MCAPI extern class Block const * mCoalOre; + MCAPI extern class Block const * mCobblestone; + MCAPI extern class Block const * mCobblestoneStairs; + MCAPI extern class Block const * mCocoa; + MCAPI extern class Block const * mColoredTorchBP; + MCAPI extern class Block const * mColoredTorchRG; + MCAPI extern class Block const * mComposterBlock; + MCAPI extern class Block const * mConcrete; + MCAPI extern class Block const * mConcretePowder; + MCAPI extern class Block const * mConduitBlock; + MCAPI extern class Block const * mCoral; + MCAPI extern class Block const * mCoralBlock; + MCAPI extern class Block const * mCoralFan; + MCAPI extern class Block const * mCoralFanDead; + MCAPI extern class Block const * mCoralFanHang; + MCAPI extern class Block const * mCoralFanHang2; + MCAPI extern class Block const * mCoralFanHang3; + MCAPI extern class Block const * mCrackedNetherBricks; + MCAPI extern class Block const * mCrackedPolishedBlackstoneBricks; + MCAPI extern class Block const * mCrimsonButton; + MCAPI extern class Block const * mCrimsonDoor; + MCAPI extern class Block const * mCrimsonDoubleSlab; + MCAPI extern class Block const * mCrimsonFence; + MCAPI extern class Block const * mCrimsonFenceGate; + MCAPI extern class Block const * mCrimsonFungus; + MCAPI extern class Block const * mCrimsonHyphae; + MCAPI extern class Block const * mCrimsonNylium; + MCAPI extern class Block const * mCrimsonPlanks; + MCAPI extern class Block const * mCrimsonPressurePlate; + MCAPI extern class Block const * mCrimsonRoots; + MCAPI extern class Block const * mCrimsonSlab; + MCAPI extern class Block const * mCrimsonStairs; + MCAPI extern class Block const * mCrimsonStandingSign; + MCAPI extern class Block const * mCrimsonStem; + MCAPI extern class Block const * mCrimsonTrapDoor; + MCAPI extern class Block const * mCrimsonWallSign; + MCAPI extern class Block const * mCryingObsidian; + MCAPI extern class Block const * mDarkOakFenceGate; + MCAPI extern class Block const * mDarkOakSign; + MCAPI extern class Block const * mDarkOakStairs; + MCAPI extern class Block const * mDarkOakWallSign; + MCAPI extern class Block const * mDarkPrismarineStairs; + MCAPI extern class Block const * mDaylightDetector; + MCAPI extern class Block const * mDaylightDetectorInverted; + MCAPI extern class Block const * mDeadBush; + MCAPI extern class Block const * mDetectorRail; + MCAPI extern class Block const * mDiamondBlock; + MCAPI extern class Block const * mDiamondOre; + MCAPI extern class Block const * mDioriteStairs; + MCAPI extern class Block const * mDirt; + MCAPI extern class Block const * mDispenser; + MCAPI extern class Block const * mDoublePlant; + MCAPI extern class Block const * mDoubleStoneSlab; + MCAPI extern class Block const * mDoubleStoneSlab2; + MCAPI extern class Block const * mDoubleStoneSlab3; + MCAPI extern class Block const * mDoubleStoneSlab4; + MCAPI extern class Block const * mDoubleWoodenSlab; + MCAPI extern class Block const * mDragonEgg; + MCAPI extern class Block const * mDriedKelpBlock; + MCAPI extern class Block const * mDropper; + MCAPI extern class Block const * mElement0; + MCAPI extern class Block const * mElement1; + MCAPI extern class Block const * mElement10; + MCAPI extern class Block const * mElement100; + MCAPI extern class Block const * mElement101; + MCAPI extern class Block const * mElement102; + MCAPI extern class Block const * mElement103; + MCAPI extern class Block const * mElement104; + MCAPI extern class Block const * mElement105; + MCAPI extern class Block const * mElement106; + MCAPI extern class Block const * mElement107; + MCAPI extern class Block const * mElement108; + MCAPI extern class Block const * mElement109; + MCAPI extern class Block const * mElement11; + MCAPI extern class Block const * mElement110; + MCAPI extern class Block const * mElement111; + MCAPI extern class Block const * mElement112; + MCAPI extern class Block const * mElement113; + MCAPI extern class Block const * mElement114; + MCAPI extern class Block const * mElement115; + MCAPI extern class Block const * mElement116; + MCAPI extern class Block const * mElement117; + MCAPI extern class Block const * mElement118; + MCAPI extern class Block const * mElement12; + MCAPI extern class Block const * mElement13; + MCAPI extern class Block const * mElement14; + MCAPI extern class Block const * mElement15; + MCAPI extern class Block const * mElement16; + MCAPI extern class Block const * mElement17; + MCAPI extern class Block const * mElement18; + MCAPI extern class Block const * mElement19; + MCAPI extern class Block const * mElement2; + MCAPI extern class Block const * mElement20; + MCAPI extern class Block const * mElement21; + MCAPI extern class Block const * mElement22; + MCAPI extern class Block const * mElement23; + MCAPI extern class Block const * mElement24; + MCAPI extern class Block const * mElement25; + MCAPI extern class Block const * mElement26; + MCAPI extern class Block const * mElement27; + MCAPI extern class Block const * mElement28; + MCAPI extern class Block const * mElement29; + MCAPI extern class Block const * mElement3; + MCAPI extern class Block const * mElement30; + MCAPI extern class Block const * mElement31; + MCAPI extern class Block const * mElement32; + MCAPI extern class Block const * mElement33; + MCAPI extern class Block const * mElement34; + MCAPI extern class Block const * mElement35; + MCAPI extern class Block const * mElement36; + MCAPI extern class Block const * mElement37; + MCAPI extern class Block const * mElement38; + MCAPI extern class Block const * mElement39; + MCAPI extern class Block const * mElement4; + MCAPI extern class Block const * mElement40; + MCAPI extern class Block const * mElement41; + MCAPI extern class Block const * mElement42; + MCAPI extern class Block const * mElement43; + MCAPI extern class Block const * mElement44; + MCAPI extern class Block const * mElement45; + MCAPI extern class Block const * mElement46; + MCAPI extern class Block const * mElement47; + MCAPI extern class Block const * mElement48; + MCAPI extern class Block const * mElement49; + MCAPI extern class Block const * mElement5; + MCAPI extern class Block const * mElement50; + MCAPI extern class Block const * mElement51; + MCAPI extern class Block const * mElement52; + MCAPI extern class Block const * mElement53; + MCAPI extern class Block const * mElement54; + MCAPI extern class Block const * mElement55; + MCAPI extern class Block const * mElement56; + MCAPI extern class Block const * mElement57; + MCAPI extern class Block const * mElement58; + MCAPI extern class Block const * mElement59; + MCAPI extern class Block const * mElement6; + MCAPI extern class Block const * mElement60; + MCAPI extern class Block const * mElement61; + MCAPI extern class Block const * mElement62; + MCAPI extern class Block const * mElement63; + MCAPI extern class Block const * mElement64; + MCAPI extern class Block const * mElement65; + MCAPI extern class Block const * mElement66; + MCAPI extern class Block const * mElement67; + MCAPI extern class Block const * mElement68; + MCAPI extern class Block const * mElement69; + MCAPI extern class Block const * mElement7; + MCAPI extern class Block const * mElement70; + MCAPI extern class Block const * mElement71; + MCAPI extern class Block const * mElement72; + MCAPI extern class Block const * mElement73; + MCAPI extern class Block const * mElement74; + MCAPI extern class Block const * mElement75; + MCAPI extern class Block const * mElement76; + MCAPI extern class Block const * mElement77; + MCAPI extern class Block const * mElement78; + MCAPI extern class Block const * mElement79; + MCAPI extern class Block const * mElement8; + MCAPI extern class Block const * mElement80; + MCAPI extern class Block const * mElement81; + MCAPI extern class Block const * mElement82; + MCAPI extern class Block const * mElement83; + MCAPI extern class Block const * mElement84; + MCAPI extern class Block const * mElement85; + MCAPI extern class Block const * mElement86; + MCAPI extern class Block const * mElement87; + MCAPI extern class Block const * mElement88; + MCAPI extern class Block const * mElement89; + MCAPI extern class Block const * mElement9; + MCAPI extern class Block const * mElement90; + MCAPI extern class Block const * mElement91; + MCAPI extern class Block const * mElement92; + MCAPI extern class Block const * mElement93; + MCAPI extern class Block const * mElement94; + MCAPI extern class Block const * mElement95; + MCAPI extern class Block const * mElement96; + MCAPI extern class Block const * mElement97; + MCAPI extern class Block const * mElement98; + MCAPI extern class Block const * mElement99; + MCAPI extern class Block const * mEmeraldBlock; + MCAPI extern class Block const * mEmeraldOre; + MCAPI extern class Block const * mEnchantingTable; + MCAPI extern class Block const * mEndBrick; + MCAPI extern class Block const * mEndBrickStairs; + MCAPI extern class Block const * mEndGateway; + MCAPI extern class Block const * mEndPortal; + MCAPI extern class Block const * mEndPortalFrame; + MCAPI extern class Block const * mEndRod; + MCAPI extern class Block const * mEndStone; + MCAPI extern class Block const * mEnderChest; + MCAPI extern class Block const * mFarmland; + MCAPI extern class Block const * mFence; + MCAPI extern class Block const * mFenceGateOak; + MCAPI extern class Block const * mFire; + MCAPI extern class Block const * mFletchingTable; + MCAPI extern class Block const * mFlowerPot; + MCAPI extern class Block const * mFlowingLava; + MCAPI extern class Block const * mFlowingWater; + MCAPI extern class Block const * mFrostedIce; + MCAPI extern class Block const * mFurnace; + MCAPI extern class Block const * mGildedBlackstone; + MCAPI extern class Block const * mGlass; + MCAPI extern class Block const * mGlassPane; + MCAPI extern class Block const * mGlazedTerracottaBlack; + MCAPI extern class Block const * mGlazedTerracottaBlue; + MCAPI extern class Block const * mGlazedTerracottaBrown; + MCAPI extern class Block const * mGlazedTerracottaCyan; + MCAPI extern class Block const * mGlazedTerracottaGray; + MCAPI extern class Block const * mGlazedTerracottaGreen; + MCAPI extern class Block const * mGlazedTerracottaLightBlue; + MCAPI extern class Block const * mGlazedTerracottaLime; + MCAPI extern class Block const * mGlazedTerracottaMagenta; + MCAPI extern class Block const * mGlazedTerracottaOrange; + MCAPI extern class Block const * mGlazedTerracottaPink; + MCAPI extern class Block const * mGlazedTerracottaPurple; + MCAPI extern class Block const * mGlazedTerracottaRed; + MCAPI extern class Block const * mGlazedTerracottaSilver; + MCAPI extern class Block const * mGlazedTerracottaWhite; + MCAPI extern class Block const * mGlazedTerracottaYellow; + MCAPI extern class Block const * mGlowStone; + MCAPI extern class Block const * mGoldBlock; + MCAPI extern class Block const * mGoldOre; + MCAPI extern class Block const * mGoldenRail; + MCAPI extern class Block const * mGraniteStairs; + MCAPI extern class Block * mGrass; + MCAPI extern class Block const * mGrassPathBlock; + MCAPI extern class Block const * mGravel; + MCAPI extern class Block const * mGrindstone; + MCAPI extern class Block const * mHardGlass; + MCAPI extern class Block const * mHardStainedGlass; + MCAPI extern class Block const * mHardStainedGlassPane; + MCAPI extern class Block const * mHardenedClay; + MCAPI extern class Block const * mHayBlock; + MCAPI extern class Block const * mHeavyWeightedPressurePlate; + MCAPI extern class Block const * mHoneyBlock; + MCAPI extern class Block const * mHoneycombBlock; + MCAPI extern class Block const * mHopper; + MCAPI extern class Block const * mIce; + MCAPI extern class Block const * mInfoUpdateGame1; + MCAPI extern class Block const * mInvisibleBedrock; + MCAPI extern class Block const * mIronBlock; + MCAPI extern class Block const * mIronDoor; + MCAPI extern class Block const * mIronFence; + MCAPI extern class Block const * mIronOre; + MCAPI extern class Block const * mIronTrapdoor; + MCAPI extern class Block const * mItemFrame; + MCAPI extern class Block const * mJigsawBlock; + MCAPI extern class Block const * mJukebox; + MCAPI extern class Block const * mJungleFenceGate; + MCAPI extern class Block const * mJungleSign; + MCAPI extern class Block const * mJungleStairs; + MCAPI extern class Block const * mJungleWallSign; + MCAPI extern class Block const * mKelp; + MCAPI extern class Block const * mLadder; + MCAPI extern class Block const * mLantern; + MCAPI extern class Block const * mLapisBlock; + MCAPI extern class Block const * mLapisOre; + MCAPI extern class Block const * mLavaCauldron; + MCAPI extern class Block const * mLeaves; + MCAPI extern class Block const * mLeaves2; + MCAPI extern class Block const * mLecternBlock; + MCAPI extern class Block const * mLever; + MCAPI extern class Block const * mLightBlock; + MCAPI extern class Block const * mLightWeightedPressurePlate; + MCAPI extern class Block const * mLitBlastFurnace; + MCAPI extern class Block const * mLitFurnace; + MCAPI extern class Block const * mLitPumpkin; + MCAPI extern class Block const * mLitRedStoneLamp; + MCAPI extern class Block const * mLitRedStoneOre; + MCAPI extern class Block const * mLitRedStoneTorch; + MCAPI extern class Block const * mLitSmokerBlock; + MCAPI extern class Block const * mLodestoneBlock; + MCAPI extern class Block const * mLog; + MCAPI extern class Block const * mLog2; + MCAPI extern class Block const * mLoomBlock; + MCAPI extern class Block const * mMagmaBlock; + MCAPI extern class Block const * mMelon; + MCAPI extern class Block const * mMobSpawner; + MCAPI extern class Block const * mMonsterStoneEgg; + MCAPI extern class Block const * mMossyCobblestone; + MCAPI extern class Block const * mMossyCobblestoneStairs; + MCAPI extern class Block const * mMossyStoneBrickStairs; + MCAPI extern class Block const * mMovingBlock; + MCAPI extern class Block const * mMycelium; + MCAPI extern class Block const * mNetherBrick; + MCAPI extern class Block const * mNetherBrickStairs; + MCAPI extern class Block const * mNetherFence; + MCAPI extern class Block const * mNetherGoldOre; + MCAPI extern class Block const * mNetherSprouts; + MCAPI extern class Block const * mNetherWart; + MCAPI extern class Block const * mNetheriteBlock; + MCAPI extern class Block const * mNetherrack; + MCAPI extern class Block const * mNote; + MCAPI extern class Block const * mOakStairs; + MCAPI extern class Block const * mObserver; + MCAPI extern class Block const * mObsidian; + MCAPI extern class Block const * mPackedIce; + MCAPI extern class Block const * mPiston; + MCAPI extern class Block const * mPistonArm; + MCAPI extern class Block const * mPodzol; + MCAPI extern class Block const * mPolishedAndesiteStairs; + MCAPI extern class Block const * mPolishedBasalt; + MCAPI extern class Block const * mPolishedBlackstone; + MCAPI extern class Block const * mPolishedBlackstoneBrickDoubleSlab; + MCAPI extern class Block const * mPolishedBlackstoneBrickSlab; + MCAPI extern class Block const * mPolishedBlackstoneBrickStairs; + MCAPI extern class Block const * mPolishedBlackstoneBrickWall; + MCAPI extern class Block const * mPolishedBlackstoneBricks; + MCAPI extern class Block const * mPolishedBlackstoneButton; + MCAPI extern class Block const * mPolishedBlackstoneDoubleSlab; + MCAPI extern class Block const * mPolishedBlackstonePressurePlate; + MCAPI extern class Block const * mPolishedBlackstoneSlab; + MCAPI extern class Block const * mPolishedBlackstoneStairs; + MCAPI extern class Block const * mPolishedBlackstoneWall; + MCAPI extern class Block const * mPolishedDioriteStairs; + MCAPI extern class Block const * mPolishedGraniteStairs; + MCAPI extern class Block const * mPortal; + MCAPI extern class Block const * mPotatoCrop; + MCAPI extern class Block const * mPoweredComparator; + MCAPI extern class Block const * mPoweredRepeater; + MCAPI extern class Block const * mPressurePlateAcacia; + MCAPI extern class Block const * mPressurePlateBirch; + MCAPI extern class Block const * mPressurePlateDarkOak; + MCAPI extern class Block const * mPressurePlateJungle; + MCAPI extern class Block const * mPressurePlateSpruce; + MCAPI extern class Block const * mPrismarine; + MCAPI extern class Block const * mPrismarineBricksStairs; + MCAPI extern class Block const * mPrismarineStairs; + MCAPI extern class Block const * mPumpkin; + MCAPI extern class Block const * mPurpurBlock; + MCAPI extern class Block const * mPurpurStairs; + MCAPI extern class Block const * mQuartzBlock; + MCAPI extern class Block const * mQuartzBricks; + MCAPI extern class Block const * mQuartzOre; + MCAPI extern class Block const * mQuartzStairs; + MCAPI extern class Block const * mRail; + MCAPI extern class Block const * mRedFlower; + MCAPI extern class Block const * mRedMushroom; + MCAPI extern class Block const * mRedMushroomBlock; + MCAPI extern class Block const * mRedNetherBrick; + MCAPI extern class Block const * mRedNetherBrickStairs; + MCAPI extern class Block const * mRedNetherWartBlock; + MCAPI extern class Block const * mRedSandstone; + MCAPI extern class Block const * mRedSandstoneStairs; + MCAPI extern class Block const * mRedStoneDust; + MCAPI extern class Block const * mRedStoneOre; + MCAPI extern class Block const * mRedstoneBlock; + MCAPI extern class Block const * mReeds; + MCAPI extern class Block const * mRepeatingCommandBlock; + MCAPI extern class Block const * mRespawnAnchor; + MCAPI extern class Block const * mSand; + MCAPI extern class Block const * mSandStone; + MCAPI extern class Block const * mSandstoneStairs; + MCAPI extern class Block const * mSapling; + MCAPI extern class Block const * mScaffoldingBlock; + MCAPI extern class Block const * mSeaGrass; + MCAPI extern class Block const * mSeaLantern; + MCAPI extern class Block const * mSeaPickle; + MCAPI extern class Block const * mShroomlight; + MCAPI extern class Block const * mShulkerBox; + MCAPI extern class Block const * mSign; + MCAPI extern class Block const * mSkull; + MCAPI extern class Block const * mSlimeBlock; + MCAPI extern class Block const * mSmithingTable; + MCAPI extern class Block const * mSmokerBlock; + MCAPI extern class Block const * mSmoothQuartzStairs; + MCAPI extern class Block const * mSmoothRedSandstoneStairs; + MCAPI extern class Block const * mSmoothSandstoneStairs; + MCAPI extern class Block const * mSmoothStone; + MCAPI extern class Block const * mSnow; + MCAPI extern class Block const * mSoulCampfire; + MCAPI extern class Block const * mSoulFire; + MCAPI extern class Block const * mSoulLantern; + MCAPI extern class Block const * mSoulSand; + MCAPI extern class Block const * mSoulSoil; + MCAPI extern class Block const * mSoulTorch; + MCAPI extern class Block const * mSponge; + MCAPI extern class Block const * mSpruceSign; + MCAPI extern class Block const * mSpruceStairs; + MCAPI extern class Block const * mSpruceWallSign; + MCAPI extern class Block const * mSpuceFenceGate; + MCAPI extern class Block const * mStainedClay; + MCAPI extern class Block const * mStainedGlass; + MCAPI extern class Block const * mStainedGlassPane; + MCAPI extern class Block const * mStandingBanner; + MCAPI extern class Block const * mStickyPiston; + MCAPI extern class Block const * mStickyPistonArm; + MCAPI extern class Block const * mStillLava; + MCAPI extern class Block const * mStillWater; + MCAPI extern class Block const * mStone; + MCAPI extern class Block const * mStoneBrick; + MCAPI extern class Block const * mStoneBrickStairs; + MCAPI extern class Block const * mStoneButton; + MCAPI extern class Block const * mStonePressurePlate; + MCAPI extern class Block const * mStoneSlab; + MCAPI extern class Block const * mStoneSlab2; + MCAPI extern class Block const * mStoneSlab3; + MCAPI extern class Block const * mStoneSlab4; + MCAPI extern class Block const * mStoneStairs; + MCAPI extern class Block const * mStonecutterBench; + MCAPI extern class Block const * mStrippedAcaciaLog; + MCAPI extern class Block const * mStrippedBirchLog; + MCAPI extern class Block const * mStrippedCrimsonHyphae; + MCAPI extern class Block const * mStrippedCrimsonStem; + MCAPI extern class Block const * mStrippedDarkOakLog; + MCAPI extern class Block const * mStrippedJungleLog; + MCAPI extern class Block const * mStrippedOakLog; + MCAPI extern class Block const * mStrippedSpruceLog; + MCAPI extern class Block const * mStrippedWarpedHyphae; + MCAPI extern class Block const * mStrippedWarpedStem; + MCAPI extern class Block const * mStructureBlock; + MCAPI extern class Block const * mSweetBerryBushBlock; + MCAPI extern class Block const * mTNT; + MCAPI extern class Block const * mTallgrass; + MCAPI extern class Block const * mTarget; + MCAPI extern class Block const * mTopSnow; + MCAPI extern class Block const * mTorch; + MCAPI extern class Block const * mTrapdoor; + MCAPI extern class Block const * mTrapdoorAcacia; + MCAPI extern class Block const * mTrapdoorBirch; + MCAPI extern class Block const * mTrapdoorDarkOak; + MCAPI extern class Block const * mTrapdoorJungle; + MCAPI extern class Block const * mTrapdoorSpruce; + MCAPI extern class Block const * mTrappedChest; + MCAPI extern class Block const * mTripwire; + MCAPI extern class Block const * mTripwireHook; + MCAPI extern class Block const * mTurtleEgg; + MCAPI extern class Block const * mTwistingVinesBlock; + MCAPI extern class Block const * mUndyedShulkerBox; + MCAPI extern class Block const * mUnlitRedStoneLamp; + MCAPI extern class Block const * mUnlitRedStoneTorch; + MCAPI extern class Block const * mUnpoweredComparator; + MCAPI extern class Block const * mUnpoweredRepeater; + MCAPI extern class Block const * mVine; + MCAPI extern class Block const * mWallBanner; + MCAPI extern class Block const * mWallBlock; + MCAPI extern class Block const * mWallSign; + MCAPI extern class Block const * mWarpedButton; + MCAPI extern class Block const * mWarpedDoor; + MCAPI extern class Block const * mWarpedDoubleSlab; + MCAPI extern class Block const * mWarpedFence; + MCAPI extern class Block const * mWarpedFenceGate; + MCAPI extern class Block const * mWarpedFungus; + MCAPI extern class Block const * mWarpedHyphae; + MCAPI extern class Block const * mWarpedNylium; + MCAPI extern class Block const * mWarpedPlanks; + MCAPI extern class Block const * mWarpedPressurePlate; + MCAPI extern class Block const * mWarpedRoots; + MCAPI extern class Block const * mWarpedSlab; + MCAPI extern class Block const * mWarpedStairs; + MCAPI extern class Block const * mWarpedStandingSign; + MCAPI extern class Block const * mWarpedStem; + MCAPI extern class Block const * mWarpedTrapdoor; + MCAPI extern class Block const * mWarpedWallSign; + MCAPI extern class Block const * mWarpedWartBlock; + MCAPI extern class Block const * mWaterlily; + MCAPI extern class Block const * mWeb; + MCAPI extern class Block const * mWeepingVines; + MCAPI extern class Block const * mWheatCrop; + MCAPI extern class Block const * mWitherRose; + MCAPI extern class Block const * mWoodBlock; + MCAPI extern class Block const * mWoodButton; + MCAPI extern class Block const * mWoodPlanks; + MCAPI extern class Block const * mWoodPressurePlate; + MCAPI extern class Block const * mWoodenDoor; + MCAPI extern class Block const * mWoodenDoorAcacia; + MCAPI extern class Block const * mWoodenDoorBirch; + MCAPI extern class Block const * mWoodenDoorDarkOak; + MCAPI extern class Block const * mWoodenDoorJungle; + MCAPI extern class Block const * mWoodenDoorSpruce; + MCAPI extern class Block const * mWoodenSlab; + MCAPI extern class Block const * mWool; + MCAPI extern class Block const * mWoolCarpet; + MCAPI extern class Block const * mWorkBench; + MCAPI extern class Block const * mYellowFlower; + MCAPI void unassignBlocks(); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/VanillaBuiltInEntities.hpp b/LiteLoader/Header/MC/VanillaBuiltInEntities.hpp new file mode 100644 index 0000000..f4726b9 --- /dev/null +++ b/LiteLoader/Header/MC/VanillaBuiltInEntities.hpp @@ -0,0 +1,17 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +namespace VanillaBuiltInEntities { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA + MCAPI void registerMappings(); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/VanillaDimensionFactory.hpp b/LiteLoader/Header/MC/VanillaDimensionFactory.hpp new file mode 100644 index 0000000..917b382 --- /dev/null +++ b/LiteLoader/Header/MC/VanillaDimensionFactory.hpp @@ -0,0 +1,17 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +namespace VanillaDimensionFactory { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA + MCAPI void registerDimensionTypes(class Factory &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/VanillaDimensions.hpp b/LiteLoader/Header/MC/VanillaDimensions.hpp new file mode 100644 index 0000000..94b3c5b --- /dev/null +++ b/LiteLoader/Header/MC/VanillaDimensions.hpp @@ -0,0 +1,39 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class VanillaDimensions { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_VANILLADIMENSIONS +public: + class VanillaDimensions& operator=(class VanillaDimensions const &) = delete; + VanillaDimensions(class VanillaDimensions const &) = delete; + VanillaDimensions() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_VANILLADIMENSIONS +#endif + MCAPI static class AutomaticID const Nether; + MCAPI static class AutomaticID const Overworld; + MCAPI static class AutomaticID const TheEnd; + MCAPI static class Vec3 const TheEndSpawnPoint; + MCAPI static class AutomaticID const Undefined; + MCAPI static bool convertPointBetweenDimensions(class Vec3 const &, class Vec3 &, class AutomaticID, class AutomaticID, class DimensionConversionData const &); + MCAPI static class AutomaticID fromString(std::string const &); + MCAPI static std::string const toString(class AutomaticID const &); + +//protected: + +protected: + MCAPI static class BidirectionalUnorderedMap> const DimensionMap; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/VanillaFeatures.hpp b/LiteLoader/Header/MC/VanillaFeatures.hpp new file mode 100644 index 0000000..b88e305 --- /dev/null +++ b/LiteLoader/Header/MC/VanillaFeatures.hpp @@ -0,0 +1,28 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class VanillaFeatures { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_VANILLAFEATURES +public: + class VanillaFeatures& operator=(class VanillaFeatures const &) = delete; + VanillaFeatures(class VanillaFeatures const &) = delete; + VanillaFeatures() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_VANILLAFEATURES +#endif + MCAPI static void registerFeatureTypes(class FeatureTypeFactory &); + MCAPI static void registerFeatures(class FeatureRegistry &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/VanillaGameModuleDedicatedServer.hpp b/LiteLoader/Header/MC/VanillaGameModuleDedicatedServer.hpp new file mode 100644 index 0000000..2975ed2 --- /dev/null +++ b/LiteLoader/Header/MC/VanillaGameModuleDedicatedServer.hpp @@ -0,0 +1,29 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class VanillaGameModuleDedicatedServer { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_VANILLAGAMEMODULEDEDICATEDSERVER +public: + class VanillaGameModuleDedicatedServer& operator=(class VanillaGameModuleDedicatedServer const &) = delete; + VanillaGameModuleDedicatedServer(class VanillaGameModuleDedicatedServer const &) = delete; + VanillaGameModuleDedicatedServer() = delete; +#endif + +public: + /*0*/ virtual ~VanillaGameModuleDedicatedServer(); + /*1*/ virtual std::unique_ptr createGameModuleServer(); + /*2*/ virtual class std::shared_ptr createInPackagePacks(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_VANILLAGAMEMODULEDEDICATEDSERVER +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/VanillaGameModuleServer.hpp b/LiteLoader/Header/MC/VanillaGameModuleServer.hpp new file mode 100644 index 0000000..2c890f4 --- /dev/null +++ b/LiteLoader/Header/MC/VanillaGameModuleServer.hpp @@ -0,0 +1,43 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class VanillaGameModuleServer { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_VANILLAGAMEMODULESERVER +public: + class VanillaGameModuleServer& operator=(class VanillaGameModuleServer const &) = delete; + VanillaGameModuleServer(class VanillaGameModuleServer const &) = delete; + VanillaGameModuleServer() = delete; +#endif + +public: + /*0*/ virtual ~VanillaGameModuleServer(); + /*1*/ virtual void init(class ServerInstance &, class Level &); + /*2*/ virtual void initializeBehaviorStack(class GameRules const &, class ResourcePackRepository &, class ResourcePackStack &, class BaseGameVersion const &); + /*3*/ virtual void configureLevel(class Level &, class ResourcePackManager &, class BaseGameVersion const &); + /*4*/ virtual void __unk_vfn_4(); + /*5*/ virtual void __unk_vfn_5(); + /*6*/ virtual void __unk_vfn_6(); + /*7*/ virtual void setupCommands(class CommandRegistry &); + /*8*/ virtual void configureServerNetworkHandler(class ServerInstance &, class ServerNetworkHandler &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_VANILLAGAMEMODULESERVER + MCVAPI void configureDocumentation(class IGameModuleDocumentation &); + MCVAPI void configureNewPlayer(class Player &); + MCVAPI void tick(); +#endif + +//private: + MCAPI void _configureWorldGen(class IWorldRegistriesProvider &, struct SpawnSettings const &, class ResourcePackManager &, class BaseGameVersion const &); + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/VanillaGameVersions.hpp b/LiteLoader/Header/MC/VanillaGameVersions.hpp new file mode 100644 index 0000000..5e2de74 --- /dev/null +++ b/LiteLoader/Header/MC/VanillaGameVersions.hpp @@ -0,0 +1,18 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +namespace VanillaGameVersions { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA + MCAPI extern class BaseGameVersion const BeeUpdate; + MCAPI extern class BaseGameVersion const NetherUpdate; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/VanillaGoalDefinition.hpp b/LiteLoader/Header/MC/VanillaGoalDefinition.hpp new file mode 100644 index 0000000..f26da88 --- /dev/null +++ b/LiteLoader/Header/MC/VanillaGoalDefinition.hpp @@ -0,0 +1,17 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +namespace VanillaGoalDefinition { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA + MCAPI void init(); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/VanillaGoalUtility.hpp b/LiteLoader/Header/MC/VanillaGoalUtility.hpp new file mode 100644 index 0000000..d1378e4 --- /dev/null +++ b/LiteLoader/Header/MC/VanillaGoalUtility.hpp @@ -0,0 +1,17 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +namespace VanillaGoalUtility { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA + MCAPI void registerGoalsToFactory(class ActorGoalFactory &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/VanillaInPackagePacks.hpp b/LiteLoader/Header/MC/VanillaInPackagePacks.hpp new file mode 100644 index 0000000..8a9e2e3 --- /dev/null +++ b/LiteLoader/Header/MC/VanillaInPackagePacks.hpp @@ -0,0 +1,28 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class VanillaInPackagePacks { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_VANILLAINPACKAGEPACKS +public: + class VanillaInPackagePacks& operator=(class VanillaInPackagePacks const &) = delete; + VanillaInPackagePacks(class VanillaInPackagePacks const &) = delete; + VanillaInPackagePacks() = delete; +#endif + +public: + /*0*/ virtual ~VanillaInPackagePacks(); + /*1*/ virtual std::vector getPacks(enum PackType) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_VANILLAINPACKAGEPACKS +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/VanillaItemTiers.hpp b/LiteLoader/Header/MC/VanillaItemTiers.hpp new file mode 100644 index 0000000..61d075b --- /dev/null +++ b/LiteLoader/Header/MC/VanillaItemTiers.hpp @@ -0,0 +1,34 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Item.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class VanillaItemTiers { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_VANILLAITEMTIERS +public: + class VanillaItemTiers& operator=(class VanillaItemTiers const &) = delete; + VanillaItemTiers(class VanillaItemTiers const &) = delete; + VanillaItemTiers() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_VANILLAITEMTIERS +#endif + MCAPI static class Item::Tier const DIAMOND; + MCAPI static class Item::Tier const GOLD; + MCAPI static class Item::Tier const IRON; + MCAPI static class Item::Tier const NETHERITE; + MCAPI static class Item::Tier const STONE; + MCAPI static class Item::Tier const WOOD; + MCAPI static class ItemStack getTierItem(class Item::Tier const &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/VanillaItems.hpp b/LiteLoader/Header/MC/VanillaItems.hpp new file mode 100644 index 0000000..e893f6a --- /dev/null +++ b/LiteLoader/Header/MC/VanillaItems.hpp @@ -0,0 +1,298 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class VanillaItems { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_VANILLAITEMS +public: + class VanillaItems& operator=(class VanillaItems const &) = delete; + VanillaItems(class VanillaItems const &) = delete; + VanillaItems() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_VANILLAITEMS +#endif + MCAPI static void initCreativeCategories(); + MCAPI static class WeakPtr mAcaciaSign; + MCAPI static class WeakPtr mActorPlacer; + MCAPI static class WeakPtr mApple; + MCAPI static class WeakPtr mApple_enchanted; + MCAPI static class WeakPtr mApple_gold; + MCAPI static class WeakPtr mArmorStand; + MCAPI static class WeakPtr mArrow; + MCAPI static class WeakPtr mBalloon; + MCAPI static class WeakPtr mBanner; + MCAPI static class WeakPtr mBannerPattern; + MCAPI static class WeakPtr mBed; + MCAPI static class WeakPtr mBeef_cooked; + MCAPI static class WeakPtr mBeef_raw; + MCAPI static class WeakPtr mBeetroot; + MCAPI static class WeakPtr mBeetrootSoup; + MCAPI static class WeakPtr mBell; + MCAPI static class WeakPtr mBirchSign; + MCAPI static class WeakPtr mBlackstoneSlab; + MCAPI static class WeakPtr mBlazePowder; + MCAPI static class WeakPtr mBlazeRod; + MCAPI static class WeakPtr mBleach; + MCAPI static class WeakPtr mBoat; + MCAPI static class WeakPtr mBone; + MCAPI static class WeakPtr mBook; + MCAPI static class WeakPtr mBoots_chain; + MCAPI static class WeakPtr mBoots_diamond; + MCAPI static class WeakPtr mBoots_gold; + MCAPI static class WeakPtr mBoots_iron; + MCAPI static class WeakPtr mBoots_leather; + MCAPI static class WeakPtr mBoots_netherite; + MCAPI static class WeakPtr mBow; + MCAPI static class WeakPtr mBowl; + MCAPI static class WeakPtr mBread; + MCAPI static class WeakPtr mBrewing_stand; + MCAPI static class WeakPtr mBrick; + MCAPI static class WeakPtr mBucket; + MCAPI static class WeakPtr mCake; + MCAPI static class WeakPtr mCamera; + MCAPI static class WeakPtr mCampfire; + MCAPI static class WeakPtr mCarrot; + MCAPI static class WeakPtr mCarrotOnAStick; + MCAPI static class WeakPtr mCauldron; + MCAPI static class WeakPtr mChain; + MCAPI static class WeakPtr mChalkboard; + MCAPI static class WeakPtr mChestMinecart; + MCAPI static class WeakPtr mChestplate_chain; + MCAPI static class WeakPtr mChestplate_diamond; + MCAPI static class WeakPtr mChestplate_gold; + MCAPI static class WeakPtr mChestplate_iron; + MCAPI static class WeakPtr mChestplate_leather; + MCAPI static class WeakPtr mChestplate_netherite; + MCAPI static class WeakPtr mChicken_cooked; + MCAPI static class WeakPtr mChicken_raw; + MCAPI static class WeakPtr mChorusFruit; + MCAPI static class WeakPtr mChorusFruitPopped; + MCAPI static class WeakPtr mClay; + MCAPI static class WeakPtr mClock; + MCAPI static class WeakPtr mCoal; + MCAPI static class WeakPtr mCommandBlockMinecart; + MCAPI static class WeakPtr mComparator; + MCAPI static class WeakPtr mCompass; + MCAPI static class WeakPtr mCompound; + MCAPI static class WeakPtr mCookie; + MCAPI static class WeakPtr mCrimsonDoor; + MCAPI static class WeakPtr mCrimsonFence; + MCAPI static class WeakPtr mCrimsonFenceGate; + MCAPI static class WeakPtr mCrimsonSign; + MCAPI static class WeakPtr mCrimsonSlab; + MCAPI static class WeakPtr mCrimsonStairs; + MCAPI static class WeakPtr mCrossbow; + MCAPI static class WeakPtr mDarkOakSign; + MCAPI static class WeakPtr mDiamond; + MCAPI static class WeakPtr mDiamondHorseArmor; + MCAPI static class WeakPtr mDoor_acacia; + MCAPI static class WeakPtr mDoor_birch; + MCAPI static class WeakPtr mDoor_darkoak; + MCAPI static class WeakPtr mDoor_iron; + MCAPI static class WeakPtr mDoor_jungle; + MCAPI static class WeakPtr mDoor_spruce; + MCAPI static class WeakPtr mDoor_wood; + MCAPI static class WeakPtr mDragon_breath; + MCAPI static class WeakPtr mDye_powder; + MCAPI static class WeakPtr mEgg; + MCAPI static class WeakPtr mElytra; + MCAPI static class WeakPtr mEmerald; + MCAPI static class WeakPtr mEmptyMap; + MCAPI static class WeakPtr mEnchanted_book; + MCAPI static class WeakPtr mEndCrystal; + MCAPI static class WeakPtr mEnderEye; + MCAPI static class WeakPtr mEnderpearl; + MCAPI static class WeakPtr mExperiencePotionItem; + MCAPI static class WeakPtr mFeather; + MCAPI static class WeakPtr mFermented_spider_eye; + MCAPI static class WeakPtr mFilledMap; + MCAPI static class WeakPtr mFireCharge; + MCAPI static class WeakPtr mFireworkCharge; + MCAPI static class WeakPtr mFireworksItem; + MCAPI static class WeakPtr mFish_cooked_cod; + MCAPI static class WeakPtr mFish_cooked_salmon; + MCAPI static class WeakPtr mFish_raw_clownfish; + MCAPI static class WeakPtr mFish_raw_cod; + MCAPI static class WeakPtr mFish_raw_pufferfish; + MCAPI static class WeakPtr mFish_raw_salmon; + MCAPI static class WeakPtr mFishingRod; + MCAPI static class WeakPtr mFlint; + MCAPI static class WeakPtr mFlintAndSteel; + MCAPI static class WeakPtr mFlowerPot; + MCAPI static class WeakPtr mGhast_tear; + MCAPI static class WeakPtr mGlass_bottle; + MCAPI static class WeakPtr mGlowStick; + MCAPI static class WeakPtr mGoldHorseArmor; + MCAPI static class WeakPtr mGoldIngot; + MCAPI static class WeakPtr mGold_nugget; + MCAPI static class WeakPtr mGoldenCarrot; + MCAPI static class WeakPtr mHatchet_diamond; + MCAPI static class WeakPtr mHatchet_gold; + MCAPI static class WeakPtr mHatchet_iron; + MCAPI static class WeakPtr mHatchet_netherite; + MCAPI static class WeakPtr mHatchet_stone; + MCAPI static class WeakPtr mHatchet_wood; + MCAPI static class WeakPtr mHeartOfTheSea; + MCAPI static class WeakPtr mHelmet_chain; + MCAPI static class WeakPtr mHelmet_diamond; + MCAPI static class WeakPtr mHelmet_gold; + MCAPI static class WeakPtr mHelmet_iron; + MCAPI static class WeakPtr mHelmet_leather; + MCAPI static class WeakPtr mHelmet_netherite; + MCAPI static class WeakPtr mHoe_diamond; + MCAPI static class WeakPtr mHoe_gold; + MCAPI static class WeakPtr mHoe_iron; + MCAPI static class WeakPtr mHoe_netherite; + MCAPI static class WeakPtr mHoe_stone; + MCAPI static class WeakPtr mHoe_wood; + MCAPI static class WeakPtr mHoneyBottle; + MCAPI static class WeakPtr mHoneycomb; + MCAPI static class WeakPtr mHopper; + MCAPI static class WeakPtr mHopperMinecart; + MCAPI static class WeakPtr mIceBomb; + MCAPI static class WeakPtr mIronHorseArmor; + MCAPI static class WeakPtr mIronIngot; + MCAPI static class WeakPtr mIron_nugget; + MCAPI static class WeakPtr mItemFrame; + MCAPI static class WeakPtr mJungleSign; + MCAPI static class WeakPtr mKelp; + MCAPI static class WeakPtr mKelp_dried; + MCAPI static class WeakPtr mLead; + MCAPI static class WeakPtr mLeather; + MCAPI static class WeakPtr mLeatherHorseArmor; + MCAPI static class WeakPtr mLeggings_chain; + MCAPI static class WeakPtr mLeggings_diamond; + MCAPI static class WeakPtr mLeggings_gold; + MCAPI static class WeakPtr mLeggings_iron; + MCAPI static class WeakPtr mLeggings_leather; + MCAPI static class WeakPtr mLeggings_netherite; + MCAPI static class WeakPtr mLingering_potion; + MCAPI static class WeakPtr mLodestoneCompass; + MCAPI static class WeakPtr mMagma_cream; + MCAPI static class WeakPtr mMedicine; + MCAPI static class WeakPtr mMelonSlice; + MCAPI static class WeakPtr mMinecart; + MCAPI static class WeakPtr mMushroomStew; + MCAPI static class WeakPtr mMutton_cooked; + MCAPI static class WeakPtr mMutton_raw; + MCAPI static class WeakPtr mNameTag; + MCAPI static class WeakPtr mNautilusShell; + MCAPI static class WeakPtr mNetherQuartz; + MCAPI static class WeakPtr mNetherSprouts; + MCAPI static class WeakPtr mNetherStar; + MCAPI static class WeakPtr mNether_wart; + MCAPI static class WeakPtr mNetherbrick; + MCAPI static class WeakPtr mNetheriteIngot; + MCAPI static class WeakPtr mNetheriteScrap; + MCAPI static class WeakPtr mPainting; + MCAPI static class WeakPtr mPaper; + MCAPI static class WeakPtr mPhantomMembrane; + MCAPI static class WeakPtr mPickAxe_diamond; + MCAPI static class WeakPtr mPickAxe_gold; + MCAPI static class WeakPtr mPickAxe_iron; + MCAPI static class WeakPtr mPickAxe_netherite; + MCAPI static class WeakPtr mPickAxe_stone; + MCAPI static class WeakPtr mPickAxe_wood; + MCAPI static class WeakPtr mPoisonous_potato; + MCAPI static class WeakPtr mPolishedBlackstoneBrickSlab; + MCAPI static class WeakPtr mPolishedBlackstoneSlab; + MCAPI static class WeakPtr mPorkChop_cooked; + MCAPI static class WeakPtr mPorkChop_raw; + MCAPI static class WeakPtr mPortfolioBook; + MCAPI static class WeakPtr mPotato; + MCAPI static class WeakPtr mPotatoBaked; + MCAPI static class WeakPtr mPotion; + MCAPI static class WeakPtr mPrismarineCrystals; + MCAPI static class WeakPtr mPrismarineShard; + MCAPI static class WeakPtr mPumpkinPie; + MCAPI static class WeakPtr mRabbitCooked; + MCAPI static class WeakPtr mRabbitFoot; + MCAPI static class WeakPtr mRabbitHide; + MCAPI static class WeakPtr mRabbitRaw; + MCAPI static class WeakPtr mRabbitStew; + MCAPI static class WeakPtr mRapidFertilizer; + MCAPI static class WeakPtr mRecord11; + MCAPI static class WeakPtr mRecord13; + MCAPI static class WeakPtr mRecordBlocks; + MCAPI static class WeakPtr mRecordCat; + MCAPI static class WeakPtr mRecordChirp; + MCAPI static class WeakPtr mRecordFar; + MCAPI static class WeakPtr mRecordMall; + MCAPI static class WeakPtr mRecordMellohi; + MCAPI static class WeakPtr mRecordPigstep; + MCAPI static class WeakPtr mRecordStal; + MCAPI static class WeakPtr mRecordStrad; + MCAPI static class WeakPtr mRecordWait; + MCAPI static class WeakPtr mRecordWard; + MCAPI static class WeakPtr mRedStone; + MCAPI static class WeakPtr mReeds; + MCAPI static class WeakPtr mRepeater; + MCAPI static class WeakPtr mRotten_flesh; + MCAPI static class WeakPtr mSaddle; + MCAPI static class WeakPtr mScute; + MCAPI static class WeakPtr mSeeds_beetroot; + MCAPI static class WeakPtr mSeeds_melon; + MCAPI static class WeakPtr mSeeds_pumpkin; + MCAPI static class WeakPtr mSeeds_wheat; + MCAPI static class WeakPtr mShears; + MCAPI static class WeakPtr mShield; + MCAPI static class WeakPtr mShovel_diamond; + MCAPI static class WeakPtr mShovel_gold; + MCAPI static class WeakPtr mShovel_iron; + MCAPI static class WeakPtr mShovel_netherite; + MCAPI static class WeakPtr mShovel_stone; + MCAPI static class WeakPtr mShovel_wood; + MCAPI static class WeakPtr mShulkerShell; + MCAPI static class WeakPtr mSign; + MCAPI static class WeakPtr mSkull; + MCAPI static class WeakPtr mSlimeBall; + MCAPI static class WeakPtr mSnowBall; + MCAPI static class WeakPtr mSoulCampfire; + MCAPI static class WeakPtr mSparkler; + MCAPI static class WeakPtr mSpeckled_melon; + MCAPI static class WeakPtr mSpider_eye; + MCAPI static class WeakPtr mSplash_potion; + MCAPI static class WeakPtr mSpruceSign; + MCAPI static class WeakPtr mStick; + MCAPI static class WeakPtr mString; + MCAPI static class WeakPtr mSugar; + MCAPI static class WeakPtr mSulphur; + MCAPI static class WeakPtr mSuspiciousStew; + MCAPI static class WeakPtr mSweetBerries; + MCAPI static class WeakPtr mSword_diamond; + MCAPI static class WeakPtr mSword_gold; + MCAPI static class WeakPtr mSword_iron; + MCAPI static class WeakPtr mSword_netherite; + MCAPI static class WeakPtr mSword_stone; + MCAPI static class WeakPtr mSword_wood; + MCAPI static class WeakPtr mTNTMinecart; + MCAPI static class WeakPtr mTotem; + MCAPI static class WeakPtr mTrident; + MCAPI static class WeakPtr mTurtleHelmet; + MCAPI static class WeakPtr mWarpedDoor; + MCAPI static class WeakPtr mWarpedFence; + MCAPI static class WeakPtr mWarpedFenceGate; + MCAPI static class WeakPtr mWarpedFungusOnAStick; + MCAPI static class WeakPtr mWarpedSign; + MCAPI static class WeakPtr mWarpedSlab; + MCAPI static class WeakPtr mWarpedStairs; + MCAPI static class WeakPtr mWheat; + MCAPI static class WeakPtr mWritable_book; + MCAPI static class WeakPtr mWritten_book; + MCAPI static class WeakPtr mYellowDust; + MCAPI static void registerItems(bool); + MCAPI static void serverInitCreativeItemsCallback(class ActorInfoRegistry *, class BlockDefinitionGroup *, bool); + MCAPI static void unregisterItems(); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/VanillaLevelChunkUpgrade.hpp b/LiteLoader/Header/MC/VanillaLevelChunkUpgrade.hpp new file mode 100644 index 0000000..57fc35a --- /dev/null +++ b/LiteLoader/Header/MC/VanillaLevelChunkUpgrade.hpp @@ -0,0 +1,28 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +namespace VanillaLevelChunkUpgrade { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA + MCAPI bool addBiomeSpecificVillageSkins(class CompoundTag &, class BlockSource &); + MCAPI bool convertOcelotTagToCat(class CompoundTag &); + MCAPI bool convertVillagerV1TagToV2(class CompoundTag &); + MCAPI bool convertVillagerV2TagToV1(class CompoundTag &); + MCAPI bool convertZombieVillagerV1TagToV2(class CompoundTag &); + MCAPI bool convertZombieVillagerV2TagToV1(class CompoundTag &); + MCAPI void fixBlockStatesOnChunkBorderAxis(class BlockSource &, class LevelChunk const &, unsigned char, class BlockPos, enum VanillaLevelChunkUpgrade::Axis); + MCAPI void fixStemBlockStates(class BlockSource &, class BlockPos, class Block const &); + MCAPI void fixUselessDynamicWater(class LevelChunk &, class BlockSource &); + MCAPI void fixWallBlockStates(class BlockSource &, class BlockPos); + MCAPI std::string const & getV1CareerFromDefinitionsList(class ListTag const *); + MCAPI void upgradeLevelChunk(class LevelChunk &, class BlockSource &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/VanillaOverworldBiomeSource.hpp b/LiteLoader/Header/MC/VanillaOverworldBiomeSource.hpp new file mode 100644 index 0000000..23cbe36 --- /dev/null +++ b/LiteLoader/Header/MC/VanillaOverworldBiomeSource.hpp @@ -0,0 +1,31 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "LayerBiomeSource.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class VanillaOverworldBiomeSource : public LayerBiomeSource { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_VANILLAOVERWORLDBIOMESOURCE +public: + class VanillaOverworldBiomeSource& operator=(class VanillaOverworldBiomeSource const &) = delete; + VanillaOverworldBiomeSource(class VanillaOverworldBiomeSource const &) = delete; + VanillaOverworldBiomeSource() = delete; +#endif + +public: + /*0*/ virtual ~VanillaOverworldBiomeSource(); + /*2*/ virtual class BiomeArea getBiomeArea(class BoundingBox const &, unsigned int) const; + /*3*/ virtual bool containsOnly(int, int, int, class gsl::span) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_VANILLAOVERWORLDBIOMESOURCE +#endif + MCAPI VanillaOverworldBiomeSource(class std::shared_ptr const>, class std::shared_ptr const>); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/VanillaServerGameplayEventListener.hpp b/LiteLoader/Header/MC/VanillaServerGameplayEventListener.hpp new file mode 100644 index 0000000..e9f668b --- /dev/null +++ b/LiteLoader/Header/MC/VanillaServerGameplayEventListener.hpp @@ -0,0 +1,33 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class VanillaServerGameplayEventListener { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_VANILLASERVERGAMEPLAYEVENTLISTENER +public: + class VanillaServerGameplayEventListener& operator=(class VanillaServerGameplayEventListener const &) = delete; + VanillaServerGameplayEventListener(class VanillaServerGameplayEventListener const &) = delete; + VanillaServerGameplayEventListener() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_VANILLASERVERGAMEPLAYEVENTLISTENER + MCVAPI enum EventResult onActorHurt(class Actor &, class ActorDamageSource const &, int, int); + MCVAPI enum EventResult onBlockInteractedWith(class Player &, class BlockPos const &); + MCVAPI enum EventResult onBlockPlacedByPlayer(class Player &, class Block const &, class BlockPos const &, bool); + MCVAPI enum EventResult onPlayerHurt(class Player &, class ActorDamageSource &); + MCVAPI enum EventResult onPlayerMovementAnomaly(class Player &, class Vec3 const &, float, float); + MCVAPI enum EventResult onPlayerMovementCorrected(class Player &, class Vec3 const &, float, float); + MCVAPI enum EventResult onPlayerOpenContainer(class Player &, enum ContainerType, class BlockPos const &, struct ActorUniqueID); +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/VanillaServerNetworkHandler.hpp b/LiteLoader/Header/MC/VanillaServerNetworkHandler.hpp new file mode 100644 index 0000000..eb9b6eb --- /dev/null +++ b/LiteLoader/Header/MC/VanillaServerNetworkHandler.hpp @@ -0,0 +1,28 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class VanillaServerNetworkHandler { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_VANILLASERVERNETWORKHANDLER +public: + class VanillaServerNetworkHandler& operator=(class VanillaServerNetworkHandler const &) = delete; + VanillaServerNetworkHandler(class VanillaServerNetworkHandler const &) = delete; + VanillaServerNetworkHandler() = delete; +#endif + +public: + /*0*/ virtual ~VanillaServerNetworkHandler(); + /*1*/ virtual void handle(class NetworkIdentifier const &, class ResourcePackClientResponsePacket const &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_VANILLASERVERNETWORKHANDLER +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/VanillaStates.hpp b/LiteLoader/Header/MC/VanillaStates.hpp new file mode 100644 index 0000000..5b29487 --- /dev/null +++ b/LiteLoader/Header/MC/VanillaStates.hpp @@ -0,0 +1,131 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +namespace VanillaStates { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA + MCAPI extern class ItemStateVariant const Age; + MCAPI extern class ItemStateVariant const AgeBit; + MCAPI extern class ItemStateVariant const AllowUnderwaterBit; + MCAPI extern class ItemStateVariant const AttachedBit; + MCAPI extern class ItemStateVariant const Attachment; + MCAPI extern class ItemStateVariant const BambooLeafSize; + MCAPI extern class ItemStateVariant const BambooThickness; + MCAPI extern class ItemStateVariant const BeehiveHoneyLevel; + MCAPI extern class ItemStateVariant const BiteCounter; + MCAPI extern class ItemStateVariant const BlockLightLevel; + MCAPI extern class ItemStateVariant const BrewingStandSlotABit; + MCAPI extern class ItemStateVariant const BrewingStandSlotBBit; + MCAPI extern class ItemStateVariant const BrewingStandSlotCBit; + MCAPI extern class ItemStateVariant const ButtonPressedBit; + MCAPI extern class ItemStateVariant const CauldronLiquid; + MCAPI extern class ItemStateVariant const ChemistryTableType; + MCAPI extern class ItemStateVariant const ChiselType; + MCAPI extern class ItemStateVariant const ClusterCount; + MCAPI extern class ItemStateVariant const Color; + MCAPI extern class ItemStateVariant const ColorBit; + MCAPI extern class ItemStateVariant const ComposterFillLevel; + MCAPI extern class ItemStateVariant const ConditionalBit; + MCAPI extern class ItemStateVariant const CoralColor; + MCAPI extern class ItemStateVariant const CoralDirection; + MCAPI extern class ItemStateVariant const CoralFanDirection; + MCAPI extern class ItemStateVariant const CoralHangTypeBit; + MCAPI extern class ItemStateVariant const CoveredBit; + MCAPI extern class ItemStateVariant const CrackedState; + MCAPI extern class ItemStateVariant const DEPRECATED; + MCAPI extern class ItemStateVariant const Damage; + MCAPI extern class ItemStateVariant const DeadBit; + MCAPI extern class ItemStateVariant const Direction; + MCAPI extern class ItemStateVariant const DirtType; + MCAPI extern class ItemStateVariant const DisarmedBit; + MCAPI extern class ItemStateVariant const DoorHingeBit; + MCAPI extern class ItemStateVariant const DoublePlantType; + MCAPI extern class ItemStateVariant const DragDown; + MCAPI extern class ItemStateVariant const EndPortalEyeBit; + MCAPI extern class ItemStateVariant const ExplodeBit; + MCAPI extern class ItemStateVariant const Extinguished; + MCAPI extern class ItemStateVariant const FacingDirection; + MCAPI extern class ItemStateVariant const FillLevel; + MCAPI extern class ItemStateVariant const FlowerType; + MCAPI extern class ItemStateVariant const Growth; + MCAPI extern class ItemStateVariant const HangingBit; + MCAPI extern class ItemStateVariant const HeadPieceBit; + MCAPI extern class ItemStateVariant const Height; + MCAPI extern class ItemStateVariant const HugeMushroomBits; + MCAPI extern class ItemStateVariant const InWallBit; + MCAPI extern class ItemStateVariant const InfiniburnBit; + MCAPI extern class ItemStateVariant const ItemFrameMapBit; + MCAPI extern class ItemStateVariant const KelpAge; + MCAPI extern class ItemStateVariant const LeverDirection; + MCAPI extern class ItemStateVariant const LiquidDepth; + MCAPI extern class ItemStateVariant const MoisturizedAmount; + MCAPI extern class ItemStateVariant const MonsterEggStoneType; + MCAPI extern class ItemStateVariant const NewLeafType; + MCAPI extern class ItemStateVariant const NewLogType; + MCAPI extern class ItemStateVariant const NoDropBit; + MCAPI extern class ItemStateVariant const OccupiedBit; + MCAPI extern class ItemStateVariant const OldLeafType; + MCAPI extern class ItemStateVariant const OldLogType; + MCAPI extern class ItemStateVariant const OpenBit; + MCAPI extern class ItemStateVariant const OutputLitBit; + MCAPI extern class ItemStateVariant const OutputSubtractBit; + MCAPI extern class ItemStateVariant const PersistentBit; + MCAPI extern class ItemStateVariant const PillarAxis; + MCAPI extern class ItemStateVariant const PortalAxis; + MCAPI extern class ItemStateVariant const PoweredBit; + MCAPI extern class ItemStateVariant const PrismarineBlockType; + MCAPI extern class ItemStateVariant const RailDataBit; + MCAPI extern class ItemStateVariant const RailDirection; + MCAPI extern class ItemStateVariant const RedstoneSignal; + MCAPI extern class ItemStateVariant const RepeaterDelay; + MCAPI extern class ItemStateVariant const RespawnAnchorCharge; + MCAPI extern class ItemStateVariant const Rotation; + MCAPI extern class ItemStateVariant const SandStoneType; + MCAPI extern class ItemStateVariant const SandType; + MCAPI extern class ItemStateVariant const SaplingType; + MCAPI extern class ItemStateVariant const SeaGrassType; + MCAPI extern class ItemStateVariant const SpongeType; + MCAPI extern class ItemStateVariant const Stability; + MCAPI extern class ItemStateVariant const StabilityCheckBit; + MCAPI extern class ItemStateVariant const StandingRotation; + MCAPI extern class ItemStateVariant const StoneBrickType; + MCAPI extern class ItemStateVariant const StoneSlabType; + MCAPI extern class ItemStateVariant const StoneSlabType2; + MCAPI extern class ItemStateVariant const StoneSlabType3; + MCAPI extern class ItemStateVariant const StoneSlabType4; + MCAPI extern class ItemStateVariant const StoneType; + MCAPI extern class ItemStateVariant const StrippedBit; + MCAPI extern class ItemStateVariant const StructureBlockType; + MCAPI extern class ItemStateVariant const StructureVoidType; + MCAPI extern class ItemStateVariant const SuspendedBit; + MCAPI extern class ItemStateVariant const TallGrassType; + MCAPI extern class ItemStateVariant const ToggleBit; + MCAPI extern class ItemStateVariant const TopSlotBit; + MCAPI extern class ItemStateVariant const TorchFacingDirection; + MCAPI extern class ItemStateVariant const TriggeredBit; + MCAPI extern class ItemStateVariant const TurtleEggCount; + MCAPI extern class ItemStateVariant const TwistingVinesAge; + MCAPI extern class ItemStateVariant const UpdateBit; + MCAPI extern class ItemStateVariant const UpperBlockBit; + MCAPI extern class ItemStateVariant const UpsideDownBit; + MCAPI extern class ItemStateVariant const VineDirectionBits; + MCAPI extern class ItemStateVariant const WallBlockType; + MCAPI extern class ItemStateVariant const WallConnectionTypeEast; + MCAPI extern class ItemStateVariant const WallConnectionTypeNorth; + MCAPI extern class ItemStateVariant const WallConnectionTypeSouth; + MCAPI extern class ItemStateVariant const WallConnectionTypeWest; + MCAPI extern class ItemStateVariant const WallPostBit; + MCAPI extern class ItemStateVariant const WeepingVinesAge; + MCAPI extern class ItemStateVariant const WeirdoDirection; + MCAPI extern class ItemStateVariant const WoodType; + MCAPI class ItemState const * getState(std::string const &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/VanillaSystemsRegistration.hpp b/LiteLoader/Header/MC/VanillaSystemsRegistration.hpp new file mode 100644 index 0000000..6f0f2a7 --- /dev/null +++ b/LiteLoader/Header/MC/VanillaSystemsRegistration.hpp @@ -0,0 +1,18 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +namespace VanillaSystemsRegistration { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA + MCAPI void registerSharedVanillaPlayerInteractionSystems(class EntitySystems &); + MCAPI void registerVanillaServerTickingSystems(class EntitySystems &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/VanillaTreeFeature.hpp b/LiteLoader/Header/MC/VanillaTreeFeature.hpp new file mode 100644 index 0000000..df26186 --- /dev/null +++ b/LiteLoader/Header/MC/VanillaTreeFeature.hpp @@ -0,0 +1,35 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "JsonUtil.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class VanillaTreeFeature { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_VANILLATREEFEATURE +public: + class VanillaTreeFeature& operator=(class VanillaTreeFeature const &) = delete; + VanillaTreeFeature(class VanillaTreeFeature const &) = delete; + VanillaTreeFeature() = delete; +#endif + +public: + /*0*/ virtual ~VanillaTreeFeature(); + /*1*/ virtual class std::optional place(class IBlockPlacementTarget &, class BlockPos const &, class Random &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_VANILLATREEFEATURE +#endif + +//private: + MCAPI static void _buildVanillaCanopyVariants(class JsonUtil::JsonSchemaObjectNode, struct FeatureLoading::ConcreteFeatureHolder> &, class std::function *)>); + MCAPI static void _buildVanillaTrunkVariants(class JsonUtil::JsonSchemaObjectNode, struct FeatureLoading::ConcreteFeatureHolder> &, class std::function *)>); + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/VanillaVillageJigsawStructureActorRules.hpp b/LiteLoader/Header/MC/VanillaVillageJigsawStructureActorRules.hpp new file mode 100644 index 0000000..bbb69f9 --- /dev/null +++ b/LiteLoader/Header/MC/VanillaVillageJigsawStructureActorRules.hpp @@ -0,0 +1,27 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class VanillaVillageJigsawStructureActorRules { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_VANILLAVILLAGEJIGSAWSTRUCTUREACTORRULES +public: + class VanillaVillageJigsawStructureActorRules& operator=(class VanillaVillageJigsawStructureActorRules const &) = delete; + VanillaVillageJigsawStructureActorRules(class VanillaVillageJigsawStructureActorRules const &) = delete; + VanillaVillageJigsawStructureActorRules() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_VANILLAVILLAGEJIGSAWSTRUCTUREACTORRULES +#endif + MCAPI static void initialize(class JigsawStructureRegistry &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/VanillaVillageJigsawStructureBlockRules.hpp b/LiteLoader/Header/MC/VanillaVillageJigsawStructureBlockRules.hpp new file mode 100644 index 0000000..f73b698 --- /dev/null +++ b/LiteLoader/Header/MC/VanillaVillageJigsawStructureBlockRules.hpp @@ -0,0 +1,27 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class VanillaVillageJigsawStructureBlockRules { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_VANILLAVILLAGEJIGSAWSTRUCTUREBLOCKRULES +public: + class VanillaVillageJigsawStructureBlockRules& operator=(class VanillaVillageJigsawStructureBlockRules const &) = delete; + VanillaVillageJigsawStructureBlockRules(class VanillaVillageJigsawStructureBlockRules const &) = delete; + VanillaVillageJigsawStructureBlockRules() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_VANILLAVILLAGEJIGSAWSTRUCTUREBLOCKRULES +#endif + MCAPI static void initialize(class JigsawStructureRegistry &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/VanillaVillageJigsawStructureBlockTagRules.hpp b/LiteLoader/Header/MC/VanillaVillageJigsawStructureBlockTagRules.hpp new file mode 100644 index 0000000..3089af4 --- /dev/null +++ b/LiteLoader/Header/MC/VanillaVillageJigsawStructureBlockTagRules.hpp @@ -0,0 +1,27 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class VanillaVillageJigsawStructureBlockTagRules { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_VANILLAVILLAGEJIGSAWSTRUCTUREBLOCKTAGRULES +public: + class VanillaVillageJigsawStructureBlockTagRules& operator=(class VanillaVillageJigsawStructureBlockTagRules const &) = delete; + VanillaVillageJigsawStructureBlockTagRules(class VanillaVillageJigsawStructureBlockTagRules const &) = delete; + VanillaVillageJigsawStructureBlockTagRules() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_VANILLAVILLAGEJIGSAWSTRUCTUREBLOCKTAGRULES +#endif + MCAPI static void initialize(class JigsawStructureRegistry &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/VanillaVillageJigsawStructureElements.hpp b/LiteLoader/Header/MC/VanillaVillageJigsawStructureElements.hpp new file mode 100644 index 0000000..9def636 --- /dev/null +++ b/LiteLoader/Header/MC/VanillaVillageJigsawStructureElements.hpp @@ -0,0 +1,27 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class VanillaVillageJigsawStructureElements { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_VANILLAVILLAGEJIGSAWSTRUCTUREELEMENTS +public: + class VanillaVillageJigsawStructureElements& operator=(class VanillaVillageJigsawStructureElements const &) = delete; + VanillaVillageJigsawStructureElements(class VanillaVillageJigsawStructureElements const &) = delete; + VanillaVillageJigsawStructureElements() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_VANILLAVILLAGEJIGSAWSTRUCTUREELEMENTS +#endif + MCAPI static void initialize(class StructureManager &, class FeatureRegistry &, class JigsawStructureRegistry &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/VanillaVillageJigsawStructures.hpp b/LiteLoader/Header/MC/VanillaVillageJigsawStructures.hpp new file mode 100644 index 0000000..65b2644 --- /dev/null +++ b/LiteLoader/Header/MC/VanillaVillageJigsawStructures.hpp @@ -0,0 +1,27 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class VanillaVillageJigsawStructures { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_VANILLAVILLAGEJIGSAWSTRUCTURES +public: + class VanillaVillageJigsawStructures& operator=(class VanillaVillageJigsawStructures const &) = delete; + VanillaVillageJigsawStructures(class VanillaVillageJigsawStructures const &) = delete; + VanillaVillageJigsawStructures() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_VANILLAVILLAGEJIGSAWSTRUCTURES +#endif + MCAPI static void initialize(class StructureManager &, class FeatureRegistry &, class JigsawStructureRegistry &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/VanillaWorldSystems.hpp b/LiteLoader/Header/MC/VanillaWorldSystems.hpp new file mode 100644 index 0000000..5677b50 --- /dev/null +++ b/LiteLoader/Header/MC/VanillaWorldSystems.hpp @@ -0,0 +1,17 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +namespace VanillaWorldSystems { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA + MCAPI class std::shared_ptr init(class Level *, class ResourcePackManager *, class BlockDefinitionGroup *); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/VarIntDataInput.hpp b/LiteLoader/Header/MC/VarIntDataInput.hpp new file mode 100644 index 0000000..cda4f99 --- /dev/null +++ b/LiteLoader/Header/MC/VarIntDataInput.hpp @@ -0,0 +1,39 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class VarIntDataInput { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_VARINTDATAINPUT +public: + class VarIntDataInput& operator=(class VarIntDataInput const &) = delete; + VarIntDataInput(class VarIntDataInput const &) = delete; + VarIntDataInput() = delete; +#endif + +public: + /*0*/ virtual ~VarIntDataInput(); + /*1*/ virtual void __unk_vfn_1(); + /*2*/ virtual void __unk_vfn_2(); + /*3*/ virtual float readFloat(); + /*4*/ virtual double readDouble(); + /*5*/ virtual char readByte(); + /*6*/ virtual short readShort(); + /*7*/ virtual int readInt(); + /*8*/ virtual __int64 readLongLong(); + /*9*/ virtual bool readBytes(void *, unsigned __int64); + /*10*/ virtual unsigned __int64 numBytesLeft() const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_VARINTDATAINPUT + MCVAPI std::string readLongString(); + MCVAPI std::string readString(); +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/VarIntDataOutput.hpp b/LiteLoader/Header/MC/VarIntDataOutput.hpp new file mode 100644 index 0000000..976b26f --- /dev/null +++ b/LiteLoader/Header/MC/VarIntDataOutput.hpp @@ -0,0 +1,38 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class VarIntDataOutput { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_VARINTDATAOUTPUT +public: + class VarIntDataOutput& operator=(class VarIntDataOutput const &) = delete; + VarIntDataOutput(class VarIntDataOutput const &) = delete; + VarIntDataOutput() = delete; +#endif + +public: + /*0*/ virtual ~VarIntDataOutput(); + /*1*/ virtual void __unk_vfn_1(); + /*2*/ virtual void __unk_vfn_2(); + /*3*/ virtual void writeFloat(float); + /*4*/ virtual void writeDouble(double); + /*5*/ virtual void writeByte(char); + /*6*/ virtual void writeShort(short); + /*7*/ virtual void writeInt(int); + /*8*/ virtual void writeLongLong(__int64); + /*9*/ virtual void writeBytes(void const *, unsigned __int64); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_VARINTDATAOUTPUT + MCVAPI void writeLongString(class gsl::basic_string_span); + MCVAPI void writeString(class gsl::basic_string_span); +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/VariantDescription.hpp b/LiteLoader/Header/MC/VariantDescription.hpp new file mode 100644 index 0000000..4737301 --- /dev/null +++ b/LiteLoader/Header/MC/VariantDescription.hpp @@ -0,0 +1,30 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Json.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +struct VariantDescription { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_VARIANTDESCRIPTION +public: + struct VariantDescription& operator=(struct VariantDescription const &) = delete; + VariantDescription(struct VariantDescription const &) = delete; + VariantDescription() = delete; +#endif +public: + /*0*/ virtual char const * getJsonName() const; + /*1*/ virtual ~VariantDescription(); + /*2*/ virtual void deserializeData(class Json::Value &); + /*3*/ virtual void serializeData(class Json::Value &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_VARIANTDESCRIPTION +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/Vec2.hpp b/LiteLoader/Header/MC/Vec2.hpp new file mode 100644 index 0000000..7c76fef --- /dev/null +++ b/LiteLoader/Header/MC/Vec2.hpp @@ -0,0 +1,42 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class Vec2 { +public: + float x, y; + + Vec2(float a, float b) : x(a), y(b){}; + + inline std::string toString() const { + return std::to_string(x) + "," + std::to_string(y); + } + + inline Vec2 operator*(float num) const { + return {x * num, y * num}; + } + + inline Vec2 operator+(const Vec2& b) const { + return {this->x + b.x, this->y + b.y}; + } + + inline Vec2 operator-(const Vec2& b) const { + return {this->x - b.x, this->y - b.y}; + } + + MCAPI static class Vec2 const LOWEST; + MCAPI static class Vec2 const MAX; + MCAPI static class Vec2 const MIN; + MCAPI static class Vec2 const NEG_UNIT_X; + MCAPI static class Vec2 const NEG_UNIT_Y; + MCAPI static class Vec2 const ONE; + MCAPI static class Vec2 const UNIT_X; + MCAPI static class Vec2 const UNIT_Y; + MCAPI static class Vec2 const ZERO; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/Vec3.hpp b/LiteLoader/Header/MC/Vec3.hpp new file mode 100644 index 0000000..d5f2537 --- /dev/null +++ b/LiteLoader/Header/MC/Vec3.hpp @@ -0,0 +1,201 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "BlockPos.hpp" + +class Vec3 { + +public: + + float x{}, y{}, z{}; + + inline Vec3() = default; + + inline Vec3(float _x, float _y, float _z) : x(_x), y(_y), z(_z){}; + + inline explicit Vec3(BlockPos& pos) : x((float)pos.x), y((float)pos.y), z((float)pos.z){}; + + inline Vec3(double _x, double _y, double _z) : x((float)_x), y((float)_y), z((float)_z){}; + + inline Vec3(int _x, int _y, int _z) : x((float)_x), y((float)_y), z((float)_z){}; + + //MCAPI Vec3(); + MCAPI bool isNan() const; + MCAPI class Vec3 normalized() const; + MCAPI static class Vec3 const HALF; + MCAPI static class Vec3 const MAX; + MCAPI static class Vec3 const MIN; + MCAPI static class Vec3 const NEG_UNIT_X; + MCAPI static class Vec3 const NEG_UNIT_Y; + MCAPI static class Vec3 const NEG_UNIT_Z; + MCAPI static class Vec3 const ONE; + MCAPI static class Vec3 const TWO; + MCAPI static class Vec3 const UNIT_X; + MCAPI static class Vec3 const UNIT_Y; + MCAPI static class Vec3 const UNIT_Z; + MCAPI static class Vec3 const ZERO; + + LIAPI BlockPos toBlockPos() const; + + inline std::string toString() const { + return std::to_string(x) + "," + std::to_string(y) + "," + std::to_string(z); + } + + inline Vec3 add(float dx, float dy, float dz) const { + return {x + dx, y + dy, z + dz}; + } + + inline Vec3 normalize() const { + float l = length(); + return {x / l, y / l, z / l}; + } + + inline float length() const { + return sqrt(lengthSqr()); + } + + inline float lengthSqr() const { + return this->dot(*this); + } + + inline float distanceTo(Vec3 const& b) const { + return (*this - b).length(); + } + + inline float distanceToSqr(Vec3 const& b) const { + return (*this - b).lengthSqr(); + } + + + float& operator[](int index) { + if (index < 0 || index > 2) { + return (&x)[0]; + } + return (&x)[index]; + } + + constexpr bool operator==(const Vec3& b) const { + return x == b.x && y == b.y && z == b.z; + } + + constexpr bool operator!=(const Vec3& b) const { + return x != b.x || y != b.y || z != b.z; + } + + inline Vec3 operator*(float b) const { + return {x * b, y * b, z * b}; + } + + inline Vec3 operator/(float b) const { + return {x / b, y / b, z / b}; + } + + inline Vec3 operator+(float b) const { + return {x + b, y + b, z + b}; + } + + inline Vec3 operator-(float b) const { + return {x - b, y - b, z - b}; + } + + constexpr Vec3& operator+=(float b) { + x += b; + y += b; + z += b; + return *this; + } + + constexpr Vec3& operator-=(float b) { + x -= b; + y -= b; + z -= b; + return *this; + } + + constexpr Vec3& operator*=(float b) { + x *= b; + y *= b; + z *= b; + return *this; + } + + constexpr Vec3& operator/=(float b) { + x /= b; + y /= b; + z /= b; + return *this; + } + + constexpr Vec3& operator+=(Vec3 const& b) { + x += b.x; + y += b.y; + z += b.z; + return *this; + } + + constexpr Vec3& operator-=(Vec3 const& b) { + x -= b.x; + y -= b.y; + z -= b.z; + return *this; + } + + constexpr Vec3& operator*=(Vec3 const& b) { + x *= b.x; + y *= b.y; + z *= b.z; + return *this; + } + + constexpr Vec3& operator/=(Vec3 const& b) { + x /= b.x; + y /= b.y; + z /= b.z; + return *this; + } + + inline Vec3 operator+(Vec3 const& b) const { + return {x + b.x, y + b.y, z + b.z}; + } + + inline Vec3 operator*(Vec3 const& b) const { + return {x * b.x, y * b.y, z * b.z}; + } + + inline Vec3 operator/(Vec3 const& b) const { + return {x / b.x, y / b.y, z / b.z}; + } + + inline Vec3 operator-(Vec3 const& b) const { + return {x - b.x, y - b.y, z - b.z}; + } + + inline float dot(const Vec3& b) const { + return {x * b.x + y * b.y + z * b.z}; + } + + inline Vec3 cross(const Vec3& b) const { + return {y * b.z - z * b.y, z * b.x - x * b.z, x * b.y - y * b.x}; + } + + inline static Vec3 max(const Vec3& a, const Vec3& b) { + return {std::max(a.x, b.x), std::max(a.y, b.y), std::max(a.z, b.z)}; + } + + inline static Vec3 min(const Vec3& a, const Vec3& b) { + return {std::min(a.x, b.x), std::min(a.y, b.y), std::min(a.z, b.z)}; + } + +}; + +namespace std { + +template <> +struct hash { + std::size_t operator()(Vec3 const& pos) const noexcept { + return (std::hash()(pos.x) ^ std::hash()(pos.y) ^ std::hash()(pos.z)); + } +}; + +} // namespace std \ No newline at end of file diff --git a/LiteLoader/Header/MC/Vex.hpp b/LiteLoader/Header/MC/Vex.hpp new file mode 100644 index 0000000..c9efc51 --- /dev/null +++ b/LiteLoader/Header/MC/Vex.hpp @@ -0,0 +1,57 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Actor.hpp" +#include "Monster.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class Vex : public Monster { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_VEX +public: + class Vex& operator=(class Vex const &) = delete; + Vex(class Vex const &) = delete; + Vex() = delete; +#endif + +public: + /*1*/ virtual void reloadHardcoded(enum Actor::InitializationMethod, class VariantParameterList const &); + /*3*/ virtual void initializeComponents(enum Actor::InitializationMethod, class VariantParameterList const &); + /*7*/ virtual ~Vex(); + /*30*/ virtual void __unk_vfn_30(); + /*51*/ virtual bool isInWall() const; + /*54*/ virtual void __unk_vfn_54(); + /*61*/ virtual void __unk_vfn_61(); + /*76*/ virtual void __unk_vfn_76(); + /*81*/ virtual void __unk_vfn_81(); + /*88*/ virtual void __unk_vfn_88(); + /*90*/ virtual void __unk_vfn_90(); + /*98*/ virtual void __unk_vfn_98(); + /*100*/ virtual void __unk_vfn_100(); + /*121*/ virtual void __unk_vfn_121(); + /*169*/ virtual void __unk_vfn_169(); + /*182*/ virtual void __unk_vfn_182(); + /*206*/ virtual void __unk_vfn_206(); + /*207*/ virtual void __unk_vfn_207(); + /*228*/ virtual void __unk_vfn_228(); + /*231*/ virtual void __unk_vfn_231(); + /*238*/ virtual void __unk_vfn_238(); + /*242*/ virtual void readAdditionalSaveData(class CompoundTag const &, class DataLoadHelper &); + /*243*/ virtual void addAdditionalSaveData(class CompoundTag &); + /*246*/ virtual void __unk_vfn_246(); + /*257*/ virtual void __unk_vfn_257(); + /*290*/ virtual void __unk_vfn_290(); + /*300*/ virtual void __unk_vfn_300(); + /*332*/ virtual void __unk_vfn_332(); + /*348*/ virtual void __unk_vfn_348(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_VEX +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/VexCopyOwnerTargetGoal.hpp b/LiteLoader/Header/MC/VexCopyOwnerTargetGoal.hpp new file mode 100644 index 0000000..4ce101b --- /dev/null +++ b/LiteLoader/Header/MC/VexCopyOwnerTargetGoal.hpp @@ -0,0 +1,33 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "TargetGoal.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class VexCopyOwnerTargetGoal : public TargetGoal { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_VEXCOPYOWNERTARGETGOAL +public: + class VexCopyOwnerTargetGoal& operator=(class VexCopyOwnerTargetGoal const &) = delete; + VexCopyOwnerTargetGoal(class VexCopyOwnerTargetGoal const &) = delete; + VexCopyOwnerTargetGoal() = delete; +#endif + +public: + /*0*/ virtual ~VexCopyOwnerTargetGoal(); + /*1*/ virtual bool canUse(); + /*4*/ virtual void start(); + /*7*/ virtual void appendDebugInfo(std::string &) const; + /*8*/ virtual void __unk_vfn_8(); + /*9*/ virtual void __unk_vfn_9(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_VEXCOPYOWNERTARGETGOAL +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/VexRandomMoveGoal.hpp b/LiteLoader/Header/MC/VexRandomMoveGoal.hpp new file mode 100644 index 0000000..45413fe --- /dev/null +++ b/LiteLoader/Header/MC/VexRandomMoveGoal.hpp @@ -0,0 +1,34 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class VexRandomMoveGoal { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_VEXRANDOMMOVEGOAL +public: + class VexRandomMoveGoal& operator=(class VexRandomMoveGoal const &) = delete; + VexRandomMoveGoal(class VexRandomMoveGoal const &) = delete; + VexRandomMoveGoal() = delete; +#endif + +public: + /*0*/ virtual ~VexRandomMoveGoal(); + /*1*/ virtual bool canUse(); + /*2*/ virtual bool canContinueToUse(); + /*3*/ virtual void __unk_vfn_3(); + /*4*/ virtual void __unk_vfn_4(); + /*5*/ virtual void __unk_vfn_5(); + /*6*/ virtual void tick(); + /*7*/ virtual void appendDebugInfo(std::string &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_VEXRANDOMMOVEGOAL +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/Village.hpp b/LiteLoader/Header/MC/Village.hpp new file mode 100644 index 0000000..0472bec --- /dev/null +++ b/LiteLoader/Header/MC/Village.hpp @@ -0,0 +1,99 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class Village { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_VILLAGE +public: + class Village& operator=(class Village const &) = delete; + Village(class Village const &) = delete; + Village() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_VILLAGE +#endif + MCAPI Village(class Dimension &, class mce::UUID, class BlockPos const &); + MCAPI void addActorToVillage(enum DwellerRole, struct ActorUniqueID const &); + MCAPI void addAggressor(class Mob const &); + MCAPI bool addPOI(class std::weak_ptr); + MCAPI bool checkNeedMoreVillagers() const; + MCAPI void debugDraw(); + MCAPI class std::weak_ptr fetchOwnedPOI(struct ActorUniqueID const &, enum POIType); + MCAPI class std::optional findRandomSpawnPos(class BlockSource &, class BlockPos const &, class BlockPos const &); + MCAPI float getApproximateRadius() const; + MCAPI unsigned __int64 getBedPOICount() const; + MCAPI class std::weak_ptr getClosestPOI(enum POIType, class BlockPos const &); + MCAPI int getStanding(struct ActorUniqueID const &); + MCAPI bool hasSpecificDweller(enum DwellerRole, struct ActorUniqueID const &) const; + MCAPI void loadDataByKey(std::string const &, class CompoundTag const &); + MCAPI int modifyStanding(struct ActorUniqueID const &, int); + MCAPI class std::_List_iterator>>> removeActorFromVillage(enum DwellerRole, struct ActorUniqueID const &); + MCAPI void removeVillageSavedData(); + MCAPI void rewardAllPlayers(int); + MCAPI void tick(struct Tick, class BlockSource &); + MCAPI bool villagerLivesHere(struct ActorUniqueID const &) const; + MCAPI bool withinVillageBounds(class Vec3 const &, float) const; + MCAPI static bool DEBUG_DRAWING; + MCAPI static std::string const STORAGE_KEY_PREFIX; + MCAPI static bool isValidRegisteredPOI(class BlockSource &, class BlockPos const &); + MCAPI static bool isVillagePOI(class BlockSource const &, class BlockPos const &); + MCAPI static bool isVillagePOI(class VillageManager const &, class Block const &); + +//private: + MCAPI void _addPoiToVillage(struct ActorUniqueID const &, class std::weak_ptr); + MCAPI void _calcPOIDist(); + MCAPI void _claimUnclaimedPOIs(); + MCAPI void _clearVillagerPOIs(struct ActorUniqueID const &); + MCAPI void _createRaid(); + MCAPI bool _findAvailablePOI(unsigned __int64, class Level &, class Random &, struct ActorUniqueID); + MCAPI void _findClosestDweller(class Actor *, class Actor *&, float &, class std::unordered_map, struct std::equal_to, class std::allocator>> const &) const; + MCAPI bool _findPlayerCentricSpawnPointForRaid(class Vec3 &, bool) const; + MCAPI void _findPreferredPOI(std::vector> &, class HashedString const &, struct ActorUniqueID); + MCAPI bool _findSpawnPointForRaid(class Vec3 &, float, float, bool, bool) const; + MCAPI class BlockSource * _findSpawnableRegion(class Vec3, int, bool &) const; + MCAPI void _findWeightedPOI(std::vector> &, class Random &, struct ActorUniqueID); + MCAPI void _helpLocateRaiders(class Raid const &); + MCAPI void _loadVillageData(class CompoundTag const &); + MCAPI void _loadVillageDwellers(class CompoundTag const &); + MCAPI void _loadVillagePOIs(class CompoundTag const &); + MCAPI void _loadVillagePlayerStanding(class CompoundTag const &); + MCAPI void _playSoundFrom(class Vec3 const &, enum LevelSoundEvent); + MCAPI void _readyRaidGroup(class std::unordered_set, struct std::equal_to, class std::allocator> &); + MCAPI void _ringBells(class BlockSource &, class Random &) const; + MCAPI void _saveVillageData() const; + MCAPI void _saveVillageDwellers() const; + MCAPI void _saveVillagePOIs() const; + MCAPI void _saveVillagePlayerStanding() const; + MCAPI void _saveVillageRaid() const; + MCAPI void _spawnPassiveDwellers(class BlockSource &, int); + MCAPI bool _spawnRaidGroup(class Vec3, unsigned char, class std::unordered_set, struct std::equal_to, class std::allocator> &) const; + MCAPI void _tryShiftStandingsTowardNeutral(struct Tick &, unsigned __int64, bool); + MCAPI void _trySpawnDefenderDwellers(class BlockSource &, unsigned __int64); + MCAPI void _updateClaimedPOIs(class BlockSource &); + MCAPI void _updateUnclaimedPOIs(class BlockSource &); + +private: + MCAPI static std::string const RAIDER_CELEBRATION_EVENT; + MCAPI static class Vec3 const RAID_BOUNDS_PADDING; + MCAPI static int const RAID_GROUP_COMPLETE_DELAY_IN_TICKS; + MCAPI static int const RAID_LOCATION_HELP_DELAY_IN_TICKS; + MCAPI static unsigned char const RAID_MAX_SPAWN_FAILURES; + MCAPI static int const RAID_PREP_TIME_IN_TICKS; + MCAPI static struct Tick const RAID_TIMEOUT_IN_TICKS; + MCAPI static std::string const STORAGE_KEY_DWELLERS; + MCAPI static std::string const STORAGE_KEY_PLAYERS; + MCAPI static std::string const STORAGE_KEY_POI; + MCAPI static std::string const STORAGE_KEY_RAID; + MCAPI static std::string const STORAGE_KEY_VILLAGE; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/VillageFeature.hpp b/LiteLoader/Header/MC/VillageFeature.hpp new file mode 100644 index 0000000..9b58c84 --- /dev/null +++ b/LiteLoader/Header/MC/VillageFeature.hpp @@ -0,0 +1,32 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "StructureFeature.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class VillageFeature : public StructureFeature { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_VILLAGEFEATURE +public: + class VillageFeature& operator=(class VillageFeature const &) = delete; + VillageFeature(class VillageFeature const &) = delete; + VillageFeature() = delete; +#endif + +public: + /*0*/ virtual ~VillageFeature(); + /*3*/ virtual bool getNearestGeneratedFeature(class Dimension &, class BiomeSource &, class BlockPos const &, class BlockPos &); + /*4*/ virtual bool isFeatureChunk(class BiomeSource const &, class Random &, class ChunkPos const &, unsigned int); + /*5*/ virtual std::unique_ptr createStructureStart(class Dimension &, class BiomeSource &, class Random &, class ChunkPos const &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_VILLAGEFEATURE +#endif + MCAPI VillageFeature(unsigned int); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/VillageManager.hpp b/LiteLoader/Header/MC/VillageManager.hpp new file mode 100644 index 0000000..dc760e4 --- /dev/null +++ b/LiteLoader/Header/MC/VillageManager.hpp @@ -0,0 +1,53 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class VillageManager { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_VILLAGEMANAGER +public: + class VillageManager& operator=(class VillageManager const &) = delete; + VillageManager(class VillageManager const &) = delete; + VillageManager() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_VILLAGEMANAGER +#endif + MCAPI VillageManager(class Dimension &); + MCAPI class std::weak_ptr fetchClosestAvailableVillageContainingPosition(class BlockPos const &, int, unsigned int) const; + MCAPI class std::weak_ptr getClosestVillageWithRaid(class BlockPos const &); + MCAPI class std::weak_ptr getPOI(class BlockPos const &) const; + MCAPI class std::weak_ptr getVillageByID(class mce::UUID const &) const; + MCAPI bool hasPOI(class BlockPos const &, enum POIType) const; + MCAPI void insertPOI(class std::shared_ptr &&); + MCAPI bool isValidPOIType(class BlockPos const &, class Block const &) const; + MCAPI void removePOI(class std::weak_ptr); + MCAPI void tick(struct Tick const &); + MCAPI class std::shared_ptr tryCreatePOI(class BlockPos const &, class Block const &); + MCAPI ~VillageManager(); + MCAPI static int const MAX_POI_TOLERANCE_DIST; + +//private: + MCAPI void _addPOIWithinRadius(class BlockPos const &, class BlockSource &); + MCAPI void _assignPOIOnly(class std::shared_ptr &&); + MCAPI float _calculateDistanceFromPositionToEdgeOfVillage(class BlockPos const &, class Village const &) const; + MCAPI class std::shared_ptr _createOrGetVillage(class mce::UUID const &, class BlockPos const &); + MCAPI class std::weak_ptr _fetchClosestVillageContainingPosition(class BlockPos const &, int, unsigned int) const; + MCAPI void _loadPOIBlueprints(); + MCAPI void _processNextUnclusteredPOIQuery(); + MCAPI void _removeVillage(class Village &); + MCAPI void _tryAssignPOIOrCreateVillage(class std::shared_ptr &&); + MCAPI void _unclusterDerelictPOIs(std::vector> &); + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/VillagePiece.hpp b/LiteLoader/Header/MC/VillagePiece.hpp new file mode 100644 index 0000000..884fe52 --- /dev/null +++ b/LiteLoader/Header/MC/VillagePiece.hpp @@ -0,0 +1,33 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "PoolElementStructurePiece.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class VillagePiece : public PoolElementStructurePiece { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_VILLAGEPIECE +public: + class VillagePiece& operator=(class VillagePiece const &) = delete; + VillagePiece(class VillagePiece const &) = delete; + VillagePiece() = delete; +#endif + +public: + /*0*/ virtual ~VillagePiece(); + /*12*/ virtual int generateHeightAtPosition(class BlockPos const &, class Dimension &, class BlockVolume &, class std::unordered_map>, struct std::hash, struct std::equal_to, class std::allocator>>>> &) const; + /*13*/ virtual class Block const * getSupportBlock(class BlockSource &, class BlockPos const &, class Block const &) const; + /*14*/ virtual class Block const & getBeardStabilizeBlock(class Block const &) const; + /*15*/ virtual bool _needsPostProcessing(class BlockSource &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_VILLAGEPIECE +#endif + MCAPI static void addPieces(class BlockPos, std::vector> &, class Random &, class JigsawStructureRegistry &, enum VanillaBiomeTypes, class Dimension &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/VillageStart.hpp b/LiteLoader/Header/MC/VillageStart.hpp new file mode 100644 index 0000000..58c1d73 --- /dev/null +++ b/LiteLoader/Header/MC/VillageStart.hpp @@ -0,0 +1,30 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class VillageStart { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_VILLAGESTART +public: + class VillageStart& operator=(class VillageStart const &) = delete; + VillageStart(class VillageStart const &) = delete; + VillageStart() = delete; +#endif + +public: + /*0*/ virtual ~VillageStart(); + /*1*/ virtual bool postProcess(class BlockSource &, class Random &, class BoundingBox const &); + /*2*/ virtual bool isValid() const; + /*3*/ virtual enum StructureFeatureType getType() const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_VILLAGESTART +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/Villager.hpp b/LiteLoader/Header/MC/Villager.hpp new file mode 100644 index 0000000..f6e572e --- /dev/null +++ b/LiteLoader/Header/MC/Villager.hpp @@ -0,0 +1,55 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Actor.hpp" +#include "VillagerBase.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class Villager : public VillagerBase { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_VILLAGER +public: + class Villager& operator=(class Villager const &) = delete; + Villager(class Villager const &) = delete; + Villager() = delete; +#endif + +public: + /*1*/ virtual void reloadHardcoded(enum Actor::InitializationMethod, class VariantParameterList const &); + /*7*/ virtual ~Villager(); + /*30*/ virtual void __unk_vfn_30(); + /*54*/ virtual void __unk_vfn_54(); + /*61*/ virtual void __unk_vfn_61(); + /*76*/ virtual void __unk_vfn_76(); + /*81*/ virtual void __unk_vfn_81(); + /*88*/ virtual void __unk_vfn_88(); + /*90*/ virtual void __unk_vfn_90(); + /*98*/ virtual void __unk_vfn_98(); + /*100*/ virtual void __unk_vfn_100(); + /*121*/ virtual void __unk_vfn_121(); + /*169*/ virtual void __unk_vfn_169(); + /*182*/ virtual void __unk_vfn_182(); + /*189*/ virtual void buildDebugInfo(std::string &) const; + /*206*/ virtual void __unk_vfn_206(); + /*207*/ virtual void __unk_vfn_207(); + /*228*/ virtual void __unk_vfn_228(); + /*231*/ virtual void __unk_vfn_231(); + /*238*/ virtual void __unk_vfn_238(); + /*246*/ virtual void __unk_vfn_246(); + /*257*/ virtual void __unk_vfn_257(); + /*290*/ virtual void __unk_vfn_290(); + /*300*/ virtual void __unk_vfn_300(); + /*332*/ virtual void __unk_vfn_332(); + /*348*/ virtual void __unk_vfn_348(); + /*349*/ virtual bool isDarkEnoughToSpawn() const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_VILLAGER +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/VillagerBase.hpp b/LiteLoader/Header/MC/VillagerBase.hpp new file mode 100644 index 0000000..5c41c0f --- /dev/null +++ b/LiteLoader/Header/MC/VillagerBase.hpp @@ -0,0 +1,68 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Actor.hpp" +#include "Mob.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class VillagerBase : public Mob { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_VILLAGERBASE +public: + class VillagerBase& operator=(class VillagerBase const &) = delete; + VillagerBase(class VillagerBase const &) = delete; + VillagerBase() = delete; +#endif + +public: + /*4*/ virtual void reloadComponents(enum Actor::InitializationMethod, class VariantParameterList const &); + /*7*/ virtual ~VillagerBase(); + /*30*/ virtual void __unk_vfn_30(); + /*54*/ virtual void __unk_vfn_54(); + /*61*/ virtual void __unk_vfn_61(); + /*76*/ virtual void __unk_vfn_76(); + /*81*/ virtual void __unk_vfn_81(); + /*88*/ virtual void __unk_vfn_88(); + /*90*/ virtual void __unk_vfn_90(); + /*98*/ virtual void __unk_vfn_98(); + /*100*/ virtual void __unk_vfn_100(); + /*121*/ virtual void __unk_vfn_121(); + /*129*/ virtual void onLightningHit(); + /*132*/ virtual void handleEntityEvent(enum ActorEvent, int); + /*169*/ virtual void __unk_vfn_169(); + /*182*/ virtual void __unk_vfn_182(); + /*206*/ virtual void __unk_vfn_206(); + /*207*/ virtual void __unk_vfn_207(); + /*228*/ virtual void __unk_vfn_228(); + /*231*/ virtual void __unk_vfn_231(); + /*238*/ virtual void __unk_vfn_238(); + /*242*/ virtual void readAdditionalSaveData(class CompoundTag const &, class DataLoadHelper &); + /*243*/ virtual void addAdditionalSaveData(class CompoundTag &); + /*246*/ virtual void __unk_vfn_246(); + /*256*/ virtual void _onSizeUpdated(); + /*257*/ virtual void __unk_vfn_257(); + /*290*/ virtual void __unk_vfn_290(); + /*300*/ virtual void __unk_vfn_300(); + /*332*/ virtual void __unk_vfn_332(); + /*340*/ virtual void _serverAiMobStep(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_VILLAGERBASE + MCVAPI bool interactPreventDefault(); + MCVAPI bool useNewAi() const; +#endif + MCAPI VillagerBase(class ActorDefinitionGroup *, struct ActorDefinitionIdentifier const &); + MCAPI void consumeLoveFood(); + MCAPI int getBreedingStackIndex() const; + +//private: + MCAPI void _addParticlesAroundSelf(enum ParticleType); + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/VillagerV2.hpp b/LiteLoader/Header/MC/VillagerV2.hpp new file mode 100644 index 0000000..839c292 --- /dev/null +++ b/LiteLoader/Header/MC/VillagerV2.hpp @@ -0,0 +1,61 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Actor.hpp" +#include "VillagerBase.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class VillagerV2 : public VillagerBase { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_VILLAGERV2 +public: + class VillagerV2& operator=(class VillagerV2 const &) = delete; + VillagerV2(class VillagerV2 const &) = delete; + VillagerV2() = delete; +#endif + +public: + /*1*/ virtual void reloadHardcoded(enum Actor::InitializationMethod, class VariantParameterList const &); + /*7*/ virtual ~VillagerV2(); + /*11*/ virtual void remove(); + /*30*/ virtual void __unk_vfn_30(); + /*54*/ virtual void __unk_vfn_54(); + /*61*/ virtual void __unk_vfn_61(); + /*76*/ virtual void __unk_vfn_76(); + /*81*/ virtual void __unk_vfn_81(); + /*88*/ virtual void __unk_vfn_88(); + /*90*/ virtual void __unk_vfn_90(); + /*98*/ virtual void __unk_vfn_98(); + /*100*/ virtual void __unk_vfn_100(); + /*121*/ virtual void __unk_vfn_121(); + /*169*/ virtual void __unk_vfn_169(); + /*182*/ virtual void __unk_vfn_182(); + /*189*/ virtual void buildDebugInfo(std::string &) const; + /*206*/ virtual void __unk_vfn_206(); + /*207*/ virtual void __unk_vfn_207(); + /*217*/ virtual bool getInteraction(class Player &, class ActorInteraction &, class Vec3 const &); + /*228*/ virtual void __unk_vfn_228(); + /*231*/ virtual void __unk_vfn_231(); + /*233*/ virtual void die(class ActorDamageSource const &); + /*235*/ virtual void updateEntitySpecificMolangVariables(class RenderParams &); + /*238*/ virtual void __unk_vfn_238(); + /*246*/ virtual void __unk_vfn_246(); + /*257*/ virtual void __unk_vfn_257(); + /*275*/ virtual void travel(float, float, float); + /*290*/ virtual void __unk_vfn_290(); + /*300*/ virtual void __unk_vfn_300(); + /*332*/ virtual void __unk_vfn_332(); + /*339*/ virtual void newServerAiStep(); + /*348*/ virtual void __unk_vfn_348(); + /*349*/ virtual bool isDarkEnoughToSpawn() const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_VILLAGERV2 +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/VindicationIllager.hpp b/LiteLoader/Header/MC/VindicationIllager.hpp new file mode 100644 index 0000000..f41bcce --- /dev/null +++ b/LiteLoader/Header/MC/VindicationIllager.hpp @@ -0,0 +1,56 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Actor.hpp" +#include "HumanoidMonster.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class VindicationIllager : public HumanoidMonster { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_VINDICATIONILLAGER +public: + class VindicationIllager& operator=(class VindicationIllager const &) = delete; + VindicationIllager(class VindicationIllager const &) = delete; + VindicationIllager() = delete; +#endif + +public: + /*7*/ virtual ~VindicationIllager(); + /*30*/ virtual void __unk_vfn_30(); + /*43*/ virtual float getRidingHeight(); + /*54*/ virtual void __unk_vfn_54(); + /*61*/ virtual void __unk_vfn_61(); + /*76*/ virtual void __unk_vfn_76(); + /*81*/ virtual void __unk_vfn_81(); + /*88*/ virtual void __unk_vfn_88(); + /*90*/ virtual void __unk_vfn_90(); + /*98*/ virtual void __unk_vfn_98(); + /*100*/ virtual void __unk_vfn_100(); + /*121*/ virtual void __unk_vfn_121(); + /*169*/ virtual void __unk_vfn_169(); + /*182*/ virtual void __unk_vfn_182(); + /*206*/ virtual void __unk_vfn_206(); + /*207*/ virtual void __unk_vfn_207(); + /*228*/ virtual void __unk_vfn_228(); + /*231*/ virtual void __unk_vfn_231(); + /*238*/ virtual void __unk_vfn_238(); + /*246*/ virtual void __unk_vfn_246(); + /*257*/ virtual void __unk_vfn_257(); + /*290*/ virtual void __unk_vfn_290(); + /*300*/ virtual void __unk_vfn_300(); + /*330*/ virtual float _getWalkTargetValue(class BlockPos const &); + /*332*/ virtual void __unk_vfn_332(); + /*348*/ virtual void __unk_vfn_348(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_VINDICATIONILLAGER + MCVAPI bool canExistInPeaceful() const; + MCVAPI bool useNewAi() const; +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/VineBlock.hpp b/LiteLoader/Header/MC/VineBlock.hpp new file mode 100644 index 0000000..cb252d8 --- /dev/null +++ b/LiteLoader/Header/MC/VineBlock.hpp @@ -0,0 +1,81 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "BlockLegacy.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class VineBlock : public BlockLegacy { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_VINEBLOCK +public: + class VineBlock& operator=(class VineBlock const &) = delete; + VineBlock(class VineBlock const &) = delete; + VineBlock() = delete; +#endif + +public: + /*0*/ virtual ~VineBlock(); + /*1*/ virtual void tick(class BlockSource &, class BlockPos const &, class Random &) const; + /*10*/ virtual class AABB const & getAABB(class BlockSource &, class BlockPos const &, class Block const &, class AABB &, bool) const; + /*18*/ virtual void __unk_vfn_18(); + /*24*/ virtual void __unk_vfn_24(); + /*25*/ virtual void __unk_vfn_25(); + /*26*/ virtual void __unk_vfn_26(); + /*27*/ virtual void __unk_vfn_27(); + /*28*/ virtual void __unk_vfn_28(); + /*30*/ virtual void __unk_vfn_30(); + /*31*/ virtual void __unk_vfn_31(); + /*32*/ virtual void __unk_vfn_32(); + /*33*/ virtual void __unk_vfn_33(); + /*34*/ virtual void __unk_vfn_34(); + /*35*/ virtual void __unk_vfn_35(); + /*36*/ virtual void __unk_vfn_36(); + /*38*/ virtual void __unk_vfn_38(); + /*39*/ virtual void __unk_vfn_39(); + /*40*/ virtual void __unk_vfn_40(); + /*42*/ virtual void __unk_vfn_42(); + /*43*/ virtual void __unk_vfn_43(); + /*49*/ virtual void __unk_vfn_49(); + /*52*/ virtual void __unk_vfn_52(); + /*67*/ virtual void __unk_vfn_67(); + /*73*/ virtual void __unk_vfn_73(); + /*80*/ virtual bool mayPlace(class BlockSource &, class BlockPos const &, unsigned char) const; + /*87*/ virtual void __unk_vfn_87(); + /*88*/ virtual void neighborChanged(class BlockSource &, class BlockPos const &, class BlockPos const &) const; + /*90*/ virtual int getResourceCount(class Random &, class Block const &, int, bool) const; + /*95*/ virtual void __unk_vfn_95(); + /*99*/ virtual class Block const & getPlacementBlock(class Actor &, class BlockPos const &, unsigned char, class Vec3 const &, int) const; + /*105*/ virtual void playerDestroy(class Player &, class BlockPos const &, class Block const &) const; + /*109*/ virtual void __unk_vfn_109(); + /*113*/ virtual class Color getMapColor(class BlockSource &, class BlockPos const &) const; + /*116*/ virtual void __unk_vfn_116(); + /*118*/ virtual void __unk_vfn_118(); + /*119*/ virtual void __unk_vfn_119(); + /*129*/ virtual int getColor(class Block const &) const; + /*130*/ virtual int getColor(class BlockSource &, class BlockPos const &, class Block const &) const; + /*137*/ virtual class AABB const & getVisualShapeInWorld(class Block const &, class BlockSource &, class BlockPos const &, class AABB &, bool) const; + /*142*/ virtual void __unk_vfn_142(); + /*158*/ virtual void __unk_vfn_158(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_VINEBLOCK + MCVAPI bool waterSpreadCausesSpawn() const; +#endif + MCAPI bool updateSurvival(class BlockSource &, class BlockPos const &) const; + MCAPI static int const VINE_ALL; + MCAPI static int const VINE_EAST; + MCAPI static int const VINE_NORTH; + MCAPI static int const VINE_SOUTH; + MCAPI static int const VINE_WEST; + +//private: + MCAPI bool _isAcceptableNeighbor(class Block const &) const; + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/VinesFeature.hpp b/LiteLoader/Header/MC/VinesFeature.hpp new file mode 100644 index 0000000..d12ccb5 --- /dev/null +++ b/LiteLoader/Header/MC/VinesFeature.hpp @@ -0,0 +1,29 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Feature.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class VinesFeature : public Feature { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_VINESFEATURE +public: + class VinesFeature& operator=(class VinesFeature const &) = delete; + VinesFeature(class VinesFeature const &) = delete; + VinesFeature() = delete; +#endif + +public: + /*0*/ virtual ~VinesFeature(); + /*1*/ virtual bool place(class BlockSource &, class BlockPos const &, class Random &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_VINESFEATURE +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/VirtualCommandOrigin.hpp b/LiteLoader/Header/MC/VirtualCommandOrigin.hpp new file mode 100644 index 0000000..6f8056d --- /dev/null +++ b/LiteLoader/Header/MC/VirtualCommandOrigin.hpp @@ -0,0 +1,46 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Json.hpp" +#include "CommandOrigin.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class VirtualCommandOrigin : public CommandOrigin { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_VIRTUALCOMMANDORIGIN +public: + class VirtualCommandOrigin& operator=(class VirtualCommandOrigin const &) = delete; + VirtualCommandOrigin(class VirtualCommandOrigin const &) = delete; + VirtualCommandOrigin() = delete; +#endif + +public: + /*0*/ virtual ~VirtualCommandOrigin(); + /*1*/ virtual std::string const & getRequestId() const; + /*2*/ virtual std::string getName() const; + /*3*/ virtual class BlockPos getBlockPosition() const; + /*4*/ virtual class Vec3 getWorldPosition() const; + /*5*/ virtual class Level * getLevel() const; + /*6*/ virtual class Dimension * getDimension() const; + /*7*/ virtual class Actor * getEntity() const; + /*8*/ virtual enum CommandPermissionLevel getPermissionsLevel() const; + /*9*/ virtual std::unique_ptr clone() const; + /*12*/ virtual bool hasChatPerms() const; + /*13*/ virtual bool hasTellPerms() const; + /*14*/ virtual bool canUseAbility(enum AbilitiesIndex) const; + /*16*/ virtual bool canUseCommandsWithoutCheatsEnabled() const; + /*17*/ virtual bool isSelectorExpansionAllowed() const; + /*18*/ virtual class NetworkIdentifier const & getSourceId() const; + /*20*/ virtual class CommandOrigin const & getOutputReceiver() const; + /*21*/ virtual enum CommandOriginType getOriginType() const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_VIRTUALCOMMANDORIGIN +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/WASDControlledDescription.hpp b/LiteLoader/Header/MC/WASDControlledDescription.hpp new file mode 100644 index 0000000..f93ec82 --- /dev/null +++ b/LiteLoader/Header/MC/WASDControlledDescription.hpp @@ -0,0 +1,28 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +struct WASDControlledDescription { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_WASDCONTROLLEDDESCRIPTION +public: + struct WASDControlledDescription& operator=(struct WASDControlledDescription const &) = delete; + WASDControlledDescription(struct WASDControlledDescription const &) = delete; + WASDControlledDescription() = delete; +#endif +public: + /*0*/ virtual char const * getJsonName() const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_WASDCONTROLLEDDESCRIPTION + MCVAPI void deserializeData(class Json::Value &); + MCVAPI void serializeData(class Json::Value &) const; +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/WSAStartupSingleton.hpp b/LiteLoader/Header/MC/WSAStartupSingleton.hpp new file mode 100644 index 0000000..e4019b0 --- /dev/null +++ b/LiteLoader/Header/MC/WSAStartupSingleton.hpp @@ -0,0 +1,31 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class WSAStartupSingleton { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_WSASTARTUPSINGLETON +public: + class WSAStartupSingleton& operator=(class WSAStartupSingleton const &) = delete; + WSAStartupSingleton(class WSAStartupSingleton const &) = delete; + WSAStartupSingleton() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_WSASTARTUPSINGLETON +#endif + +//protected: + +protected: + MCAPI static int refCount; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/WSServerCommand.hpp b/LiteLoader/Header/MC/WSServerCommand.hpp new file mode 100644 index 0000000..829ce2f --- /dev/null +++ b/LiteLoader/Header/MC/WSServerCommand.hpp @@ -0,0 +1,30 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Command.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class WSServerCommand : public Command { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_WSSERVERCOMMAND +public: + class WSServerCommand& operator=(class WSServerCommand const &) = delete; + WSServerCommand(class WSServerCommand const &) = delete; + WSServerCommand() = delete; +#endif + +public: + /*0*/ virtual ~WSServerCommand(); + /*1*/ virtual void execute(class CommandOrigin const &, class CommandOutput &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_WSSERVERCOMMAND +#endif + MCAPI static void setup(class CommandRegistry &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/WaitDefinition.hpp b/LiteLoader/Header/MC/WaitDefinition.hpp new file mode 100644 index 0000000..7275d74 --- /dev/null +++ b/LiteLoader/Header/MC/WaitDefinition.hpp @@ -0,0 +1,30 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Json.hpp" +#include "BehaviorDefinition.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class WaitDefinition : public BehaviorDefinition { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_WAITDEFINITION +public: + class WaitDefinition& operator=(class WaitDefinition const &) = delete; + WaitDefinition(class WaitDefinition const &) = delete; + WaitDefinition() = delete; +#endif + +public: + /*0*/ virtual ~WaitDefinition(); + /*1*/ virtual void load(class Json::Value, class BehaviorFactory const &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_WAITDEFINITION +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/WaitNode.hpp b/LiteLoader/Header/MC/WaitNode.hpp new file mode 100644 index 0000000..8281f4b --- /dev/null +++ b/LiteLoader/Header/MC/WaitNode.hpp @@ -0,0 +1,29 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class WaitNode { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_WAITNODE +public: + class WaitNode& operator=(class WaitNode const &) = delete; + WaitNode(class WaitNode const &) = delete; + WaitNode() = delete; +#endif + +public: + /*0*/ virtual ~WaitNode(); + /*1*/ virtual enum BehaviorStatus tick(class Actor &); + /*2*/ virtual void initializeFromDefinition(class Actor &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_WAITNODE +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/WaitTicksDefinition.hpp b/LiteLoader/Header/MC/WaitTicksDefinition.hpp new file mode 100644 index 0000000..8ec0b76 --- /dev/null +++ b/LiteLoader/Header/MC/WaitTicksDefinition.hpp @@ -0,0 +1,30 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Json.hpp" +#include "BehaviorDefinition.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class WaitTicksDefinition : public BehaviorDefinition { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_WAITTICKSDEFINITION +public: + class WaitTicksDefinition& operator=(class WaitTicksDefinition const &) = delete; + WaitTicksDefinition(class WaitTicksDefinition const &) = delete; + WaitTicksDefinition() = delete; +#endif + +public: + /*0*/ virtual ~WaitTicksDefinition(); + /*1*/ virtual void load(class Json::Value, class BehaviorFactory const &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_WAITTICKSDEFINITION +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/WaitTicksNode.hpp b/LiteLoader/Header/MC/WaitTicksNode.hpp new file mode 100644 index 0000000..7fe7a45 --- /dev/null +++ b/LiteLoader/Header/MC/WaitTicksNode.hpp @@ -0,0 +1,29 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class WaitTicksNode { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_WAITTICKSNODE +public: + class WaitTicksNode& operator=(class WaitTicksNode const &) = delete; + WaitTicksNode(class WaitTicksNode const &) = delete; + WaitTicksNode() = delete; +#endif + +public: + /*0*/ virtual ~WaitTicksNode(); + /*1*/ virtual enum BehaviorStatus tick(class Actor &); + /*2*/ virtual void initializeFromDefinition(class Actor &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_WAITTICKSNODE +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/WalkAnimationSpeedDescription.hpp b/LiteLoader/Header/MC/WalkAnimationSpeedDescription.hpp new file mode 100644 index 0000000..39d8024 --- /dev/null +++ b/LiteLoader/Header/MC/WalkAnimationSpeedDescription.hpp @@ -0,0 +1,30 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Json.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +struct WalkAnimationSpeedDescription { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_WALKANIMATIONSPEEDDESCRIPTION +public: + struct WalkAnimationSpeedDescription& operator=(struct WalkAnimationSpeedDescription const &) = delete; + WalkAnimationSpeedDescription(struct WalkAnimationSpeedDescription const &) = delete; + WalkAnimationSpeedDescription() = delete; +#endif +public: + /*0*/ virtual char const * getJsonName() const; + /*1*/ virtual ~WalkAnimationSpeedDescription(); + /*2*/ virtual void deserializeData(class Json::Value &); + /*3*/ virtual void serializeData(class Json::Value &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_WALKANIMATIONSPEEDDESCRIPTION +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/WalkState.hpp b/LiteLoader/Header/MC/WalkState.hpp new file mode 100644 index 0000000..c7762df --- /dev/null +++ b/LiteLoader/Header/MC/WalkState.hpp @@ -0,0 +1,31 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "PetSleepWithOwnerState.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class WalkState : public PetSleepWithOwnerState { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_WALKSTATE +public: + class WalkState& operator=(class WalkState const &) = delete; + WalkState(class WalkState const &) = delete; + WalkState() = delete; +#endif + +public: + /*0*/ virtual ~WalkState(); + /*1*/ virtual void tick(); + /*2*/ virtual void start(); + /*3*/ virtual void stop(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_WALKSTATE +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/WallBlock.hpp b/LiteLoader/Header/MC/WallBlock.hpp new file mode 100644 index 0000000..d8d52ab --- /dev/null +++ b/LiteLoader/Header/MC/WallBlock.hpp @@ -0,0 +1,88 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "BlockLegacy.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class WallBlock : public BlockLegacy { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_WALLBLOCK +public: + class WallBlock& operator=(class WallBlock const &) = delete; + WallBlock(class WallBlock const &) = delete; + WallBlock() = delete; +#endif + +public: + /*0*/ virtual ~WallBlock(); + /*1*/ virtual void tick(class BlockSource &, class BlockPos const &, class Random &) const; + /*10*/ virtual class AABB const & getAABB(class BlockSource &, class BlockPos const &, class Block const &, class AABB &, bool) const; + /*13*/ virtual bool getLiquidClipVolume(class BlockSource &, class BlockPos const &, class AABB &) const; + /*18*/ virtual void __unk_vfn_18(); + /*21*/ virtual bool canProvideSupport(class Block const &, unsigned char, enum BlockSupportType) const; + /*22*/ virtual bool canConnect(class Block const &, unsigned char, class Block const &) const; + /*24*/ virtual void __unk_vfn_24(); + /*25*/ virtual void __unk_vfn_25(); + /*26*/ virtual void __unk_vfn_26(); + /*27*/ virtual void __unk_vfn_27(); + /*28*/ virtual void __unk_vfn_28(); + /*30*/ virtual void __unk_vfn_30(); + /*31*/ virtual void __unk_vfn_31(); + /*32*/ virtual void __unk_vfn_32(); + /*33*/ virtual void __unk_vfn_33(); + /*34*/ virtual void __unk_vfn_34(); + /*35*/ virtual void __unk_vfn_35(); + /*36*/ virtual void __unk_vfn_36(); + /*38*/ virtual void __unk_vfn_38(); + /*39*/ virtual void __unk_vfn_39(); + /*40*/ virtual void __unk_vfn_40(); + /*42*/ virtual void __unk_vfn_42(); + /*43*/ virtual void __unk_vfn_43(); + /*49*/ virtual void __unk_vfn_49(); + /*50*/ virtual bool canContainLiquid() const; + /*52*/ virtual void __unk_vfn_52(); + /*59*/ virtual void onPlace(class BlockSource &, class BlockPos const &) const; + /*67*/ virtual void __unk_vfn_67(); + /*69*/ virtual void onStructureBlockPlace(class BlockSource &, class BlockPos const &) const; + /*73*/ virtual void __unk_vfn_73(); + /*87*/ virtual void __unk_vfn_87(); + /*88*/ virtual void neighborChanged(class BlockSource &, class BlockPos const &, class BlockPos const &) const; + /*91*/ virtual class ItemInstance getResourceItem(class Random &, class Block const &, int) const; + /*92*/ virtual class ItemInstance asItemInstance(class BlockSource &, class BlockPos const &, class Block const &) const; + /*95*/ virtual void __unk_vfn_95(); + /*99*/ virtual class Block const & getPlacementBlock(class Actor &, class BlockPos const &, unsigned char, class Vec3 const &, int) const; + /*109*/ virtual void __unk_vfn_109(); + /*116*/ virtual void __unk_vfn_116(); + /*118*/ virtual void __unk_vfn_118(); + /*119*/ virtual void __unk_vfn_119(); + /*127*/ virtual std::string buildDescriptionId(class Block const &) const; + /*128*/ virtual bool isAuxValueRelevantForPicking() const; + /*137*/ virtual class AABB const & getVisualShapeInWorld(class Block const &, class BlockSource &, class BlockPos const &, class AABB &, bool) const; + /*141*/ virtual int getVariant(class Block const &) const; + /*142*/ virtual void __unk_vfn_142(); + /*158*/ virtual void __unk_vfn_158(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_WALLBLOCK + MCVAPI bool canBeSilkTouched() const; + MCVAPI bool isWallBlock() const; +#endif + MCAPI WallBlock(std::string const &, int, class BlockLegacy const &); + MCAPI void tryFixWallStates(class BlockSource &, class BlockPos const &, int) const; + MCAPI static float const POST_HEIGHT; + MCAPI static class std::array const WALL_NAMES; + +//private: + MCAPI enum WallConnectionType _desiredConnectionState(class BlockSource &, class BlockPos const &, unsigned char) const; + MCAPI bool _isCovered(class BlockSource &, class BlockPos const &, class AABB const &) const; + MCAPI bool _shouldBePost(class BlockSource &, class BlockPos const &, class Block const &) const; + MCAPI bool _tryAddToTickingQueue(class BlockSource &, class BlockPos const &) const; + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/WallClimberPathNavigation.hpp b/LiteLoader/Header/MC/WallClimberPathNavigation.hpp new file mode 100644 index 0000000..96d3ed5 --- /dev/null +++ b/LiteLoader/Header/MC/WallClimberPathNavigation.hpp @@ -0,0 +1,33 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "PathNavigation.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class WallClimberPathNavigation : public PathNavigation { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_WALLCLIMBERPATHNAVIGATION +public: + class WallClimberPathNavigation& operator=(class WallClimberPathNavigation const &) = delete; + WallClimberPathNavigation(class WallClimberPathNavigation const &) = delete; + WallClimberPathNavigation() = delete; +#endif + +public: + /*0*/ virtual ~WallClimberPathNavigation(); + /*2*/ virtual void tick(class NavigationComponent &, class Mob &); + /*4*/ virtual std::unique_ptr createPath(class NavigationComponent &, class Mob &, class Vec3 const &); + /*5*/ virtual std::unique_ptr createPath(class NavigationComponent &, class Mob &, class Actor &); + /*7*/ virtual bool moveTo(class NavigationComponent &, class Mob &, class Actor &, float); + /*11*/ virtual bool canUpdatePath(class Mob const &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_WALLCLIMBERPATHNAVIGATION +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/WanderingTrader.hpp b/LiteLoader/Header/MC/WanderingTrader.hpp new file mode 100644 index 0000000..75b0667 --- /dev/null +++ b/LiteLoader/Header/MC/WanderingTrader.hpp @@ -0,0 +1,54 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Actor.hpp" +#include "Mob.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class WanderingTrader : public Mob { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_WANDERINGTRADER +public: + class WanderingTrader& operator=(class WanderingTrader const &) = delete; + WanderingTrader(class WanderingTrader const &) = delete; + WanderingTrader() = delete; +#endif + +public: + /*7*/ virtual ~WanderingTrader(); + /*30*/ virtual void __unk_vfn_30(); + /*54*/ virtual void __unk_vfn_54(); + /*61*/ virtual void __unk_vfn_61(); + /*76*/ virtual void __unk_vfn_76(); + /*81*/ virtual void __unk_vfn_81(); + /*88*/ virtual void __unk_vfn_88(); + /*90*/ virtual void __unk_vfn_90(); + /*98*/ virtual void __unk_vfn_98(); + /*100*/ virtual void __unk_vfn_100(); + /*121*/ virtual void __unk_vfn_121(); + /*159*/ virtual enum ActorType getEntityTypeId() const; + /*169*/ virtual void __unk_vfn_169(); + /*182*/ virtual void __unk_vfn_182(); + /*206*/ virtual void __unk_vfn_206(); + /*207*/ virtual void __unk_vfn_207(); + /*228*/ virtual void __unk_vfn_228(); + /*231*/ virtual void __unk_vfn_231(); + /*235*/ virtual void updateEntitySpecificMolangVariables(class RenderParams &); + /*238*/ virtual void __unk_vfn_238(); + /*246*/ virtual void __unk_vfn_246(); + /*257*/ virtual void __unk_vfn_257(); + /*290*/ virtual void __unk_vfn_290(); + /*300*/ virtual void __unk_vfn_300(); + /*332*/ virtual void __unk_vfn_332(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_WANDERINGTRADER + MCVAPI bool interactPreventDefault(); +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/WanderingTraderScheduler.hpp b/LiteLoader/Header/MC/WanderingTraderScheduler.hpp new file mode 100644 index 0000000..ace9739 --- /dev/null +++ b/LiteLoader/Header/MC/WanderingTraderScheduler.hpp @@ -0,0 +1,40 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class WanderingTraderScheduler { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_WANDERINGTRADERSCHEDULER +public: + class WanderingTraderScheduler& operator=(class WanderingTraderScheduler const &) = delete; + WanderingTraderScheduler(class WanderingTraderScheduler const &) = delete; + WanderingTraderScheduler() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_WANDERINGTRADERSCHEDULER +#endif + MCAPI void readSaveData(); + MCAPI void tick(); + MCAPI void writeSaveData() const; + +//private: + MCAPI std::unique_ptr _createWanderingTrader(class BlockPos const &); + MCAPI bool _doesWanderingTraderExist() const; + MCAPI class std::optional _findClosestSpawnablePositionInColumn(class BlockPos const &, class BlockSource &); + MCAPI class BlockPos _getRandomXZAroundPos(class BlockPos const &, int, bool); + MCAPI class std::optional _getSpawnPosFromNearestVillageToPlayerPos(class BlockPos const &, class BlockSource &); + MCAPI bool _isPosSafeForSpawning(class BlockPos const &, class BlockSource &); + +private: + MCAPI static std::vector const CHANCE_TO_SPAWN_PER_DAY; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/WantsJockeyDescription.hpp b/LiteLoader/Header/MC/WantsJockeyDescription.hpp new file mode 100644 index 0000000..75839c1 --- /dev/null +++ b/LiteLoader/Header/MC/WantsJockeyDescription.hpp @@ -0,0 +1,28 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +struct WantsJockeyDescription { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_WANTSJOCKEYDESCRIPTION +public: + struct WantsJockeyDescription& operator=(struct WantsJockeyDescription const &) = delete; + WantsJockeyDescription(struct WantsJockeyDescription const &) = delete; + WantsJockeyDescription() = delete; +#endif +public: + /*0*/ virtual char const * getJsonName() const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_WANTSJOCKEYDESCRIPTION + MCVAPI void deserializeData(class Json::Value &); + MCVAPI void serializeData(class Json::Value &) const; +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/WarpedFungusOnAStickItem.hpp b/LiteLoader/Header/MC/WarpedFungusOnAStickItem.hpp new file mode 100644 index 0000000..4bbee20 --- /dev/null +++ b/LiteLoader/Header/MC/WarpedFungusOnAStickItem.hpp @@ -0,0 +1,49 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Item.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class WarpedFungusOnAStickItem : public Item { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_WARPEDFUNGUSONASTICKITEM +public: + class WarpedFungusOnAStickItem& operator=(class WarpedFungusOnAStickItem const &) = delete; + WarpedFungusOnAStickItem(class WarpedFungusOnAStickItem const &) = delete; + WarpedFungusOnAStickItem() = delete; +#endif + +public: + /*0*/ virtual ~WarpedFungusOnAStickItem(); + /*5*/ virtual void __unk_vfn_5(); + /*25*/ virtual bool isHandEquipped() const; + /*26*/ virtual void __unk_vfn_26(); + /*27*/ virtual void __unk_vfn_27(); + /*31*/ virtual void __unk_vfn_31(); + /*32*/ virtual void __unk_vfn_32(); + /*34*/ virtual void __unk_vfn_34(); + /*37*/ virtual void __unk_vfn_37(); + /*40*/ virtual int getEnchantSlot() const; + /*41*/ virtual int getEnchantValue() const; + /*43*/ virtual void __unk_vfn_43(); + /*46*/ virtual void __unk_vfn_46(); + /*47*/ virtual void __unk_vfn_47(); + /*49*/ virtual void __unk_vfn_49(); + /*50*/ virtual void __unk_vfn_50(); + /*64*/ virtual bool mineBlock(class ItemStack &, class Block const &, int, int, int, class Actor *) const; + /*79*/ virtual void __unk_vfn_79(); + /*80*/ virtual void __unk_vfn_80(); + /*90*/ virtual void __unk_vfn_90(); + /*97*/ virtual void __unk_vfn_97(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_WARPEDFUNGUSONASTICKITEM + MCVAPI bool requiresInteract() const; +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/WaterAnimal.hpp b/LiteLoader/Header/MC/WaterAnimal.hpp new file mode 100644 index 0000000..4f1cbef --- /dev/null +++ b/LiteLoader/Header/MC/WaterAnimal.hpp @@ -0,0 +1,54 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Actor.hpp" +#include "Mob.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class WaterAnimal : public Mob { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_WATERANIMAL +public: + class WaterAnimal& operator=(class WaterAnimal const &) = delete; + WaterAnimal(class WaterAnimal const &) = delete; + WaterAnimal() = delete; +#endif + +public: + /*7*/ virtual ~WaterAnimal(); + /*30*/ virtual void __unk_vfn_30(); + /*54*/ virtual void __unk_vfn_54(); + /*61*/ virtual void __unk_vfn_61(); + /*76*/ virtual void __unk_vfn_76(); + /*81*/ virtual void __unk_vfn_81(); + /*88*/ virtual void __unk_vfn_88(); + /*90*/ virtual void __unk_vfn_90(); + /*98*/ virtual void __unk_vfn_98(); + /*100*/ virtual void __unk_vfn_100(); + /*121*/ virtual void __unk_vfn_121(); + /*169*/ virtual void __unk_vfn_169(); + /*182*/ virtual void __unk_vfn_182(); + /*206*/ virtual void __unk_vfn_206(); + /*207*/ virtual void __unk_vfn_207(); + /*228*/ virtual void __unk_vfn_228(); + /*231*/ virtual void __unk_vfn_231(); + /*238*/ virtual void __unk_vfn_238(); + /*246*/ virtual void __unk_vfn_246(); + /*257*/ virtual void __unk_vfn_257(); + /*278*/ virtual void aiStep(); + /*282*/ virtual bool checkSpawnRules(bool); + /*290*/ virtual void __unk_vfn_290(); + /*300*/ virtual void __unk_vfn_300(); + /*332*/ virtual void __unk_vfn_332(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_WATERANIMAL + MCVAPI bool useNewAi() const; +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/WaterBoundPathNavigation.hpp b/LiteLoader/Header/MC/WaterBoundPathNavigation.hpp new file mode 100644 index 0000000..7e5f830 --- /dev/null +++ b/LiteLoader/Header/MC/WaterBoundPathNavigation.hpp @@ -0,0 +1,34 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "PathNavigation.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class WaterBoundPathNavigation : public PathNavigation { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_WATERBOUNDPATHNAVIGATION +public: + class WaterBoundPathNavigation& operator=(class WaterBoundPathNavigation const &) = delete; + WaterBoundPathNavigation(class WaterBoundPathNavigation const &) = delete; + WaterBoundPathNavigation() = delete; +#endif + +public: + /*0*/ virtual ~WaterBoundPathNavigation(); + /*1*/ virtual void initializeInternal(class Mob &, struct NavigationDescription *); + /*2*/ virtual void tick(class NavigationComponent &, class Mob &); + /*3*/ virtual class Vec3 getTempMobPos(class Mob const &) const; + /*10*/ virtual bool travel(class NavigationComponent &, class Mob &, float &, float &, float &); + /*11*/ virtual bool canUpdatePath(class Mob const &) const; + /*12*/ virtual void updatePath(class NavigationComponent &, class Mob &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_WATERBOUNDPATHNAVIGATION +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/WaterLilyBlockItem.hpp b/LiteLoader/Header/MC/WaterLilyBlockItem.hpp new file mode 100644 index 0000000..e6bdbc9 --- /dev/null +++ b/LiteLoader/Header/MC/WaterLilyBlockItem.hpp @@ -0,0 +1,46 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "BlockItem.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class WaterLilyBlockItem : public BlockItem { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_WATERLILYBLOCKITEM +public: + class WaterLilyBlockItem& operator=(class WaterLilyBlockItem const &) = delete; + WaterLilyBlockItem(class WaterLilyBlockItem const &) = delete; + WaterLilyBlockItem() = delete; +#endif + +public: + /*0*/ virtual ~WaterLilyBlockItem(); + /*5*/ virtual void __unk_vfn_5(); + /*26*/ virtual void __unk_vfn_26(); + /*27*/ virtual void __unk_vfn_27(); + /*31*/ virtual void __unk_vfn_31(); + /*32*/ virtual void __unk_vfn_32(); + /*34*/ virtual void __unk_vfn_34(); + /*36*/ virtual bool isLiquidClipItem(int) const; + /*37*/ virtual void __unk_vfn_37(); + /*43*/ virtual void __unk_vfn_43(); + /*46*/ virtual void __unk_vfn_46(); + /*47*/ virtual void __unk_vfn_47(); + /*49*/ virtual void __unk_vfn_49(); + /*50*/ virtual void __unk_vfn_50(); + /*79*/ virtual void __unk_vfn_79(); + /*80*/ virtual void __unk_vfn_80(); + /*90*/ virtual void __unk_vfn_90(); + /*97*/ virtual void __unk_vfn_97(); + /*99*/ virtual bool _useOn(class ItemStack &, class Actor &, class BlockPos, unsigned char, float, float, float) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_WATERLILYBLOCKITEM +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/WaterMovementDescription.hpp b/LiteLoader/Header/MC/WaterMovementDescription.hpp new file mode 100644 index 0000000..e7d681e --- /dev/null +++ b/LiteLoader/Header/MC/WaterMovementDescription.hpp @@ -0,0 +1,30 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Json.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +struct WaterMovementDescription { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_WATERMOVEMENTDESCRIPTION +public: + struct WaterMovementDescription& operator=(struct WaterMovementDescription const &) = delete; + WaterMovementDescription(struct WaterMovementDescription const &) = delete; + WaterMovementDescription() = delete; +#endif +public: + /*0*/ virtual char const * getJsonName() const; + /*1*/ virtual ~WaterMovementDescription(); + /*2*/ virtual void deserializeData(class Json::Value &); + /*3*/ virtual void serializeData(class Json::Value &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_WATERMOVEMENTDESCRIPTION +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/WaterlilyBlock.hpp b/LiteLoader/Header/MC/WaterlilyBlock.hpp new file mode 100644 index 0000000..8506fd9 --- /dev/null +++ b/LiteLoader/Header/MC/WaterlilyBlock.hpp @@ -0,0 +1,65 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "BushBlock.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class WaterlilyBlock : public BushBlock { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_WATERLILYBLOCK +public: + class WaterlilyBlock& operator=(class WaterlilyBlock const &) = delete; + WaterlilyBlock(class WaterlilyBlock const &) = delete; + WaterlilyBlock() = delete; +#endif + +public: + /*0*/ virtual ~WaterlilyBlock(); + /*10*/ virtual class AABB const & getAABB(class BlockSource &, class BlockPos const &, class Block const &, class AABB &, bool) const; + /*18*/ virtual void __unk_vfn_18(); + /*24*/ virtual void __unk_vfn_24(); + /*25*/ virtual void __unk_vfn_25(); + /*26*/ virtual void __unk_vfn_26(); + /*27*/ virtual void __unk_vfn_27(); + /*28*/ virtual void __unk_vfn_28(); + /*30*/ virtual void __unk_vfn_30(); + /*31*/ virtual void __unk_vfn_31(); + /*32*/ virtual void __unk_vfn_32(); + /*33*/ virtual void __unk_vfn_33(); + /*34*/ virtual void __unk_vfn_34(); + /*35*/ virtual void __unk_vfn_35(); + /*36*/ virtual void __unk_vfn_36(); + /*38*/ virtual void __unk_vfn_38(); + /*39*/ virtual void __unk_vfn_39(); + /*40*/ virtual void __unk_vfn_40(); + /*42*/ virtual void __unk_vfn_42(); + /*43*/ virtual void __unk_vfn_43(); + /*49*/ virtual void __unk_vfn_49(); + /*50*/ virtual bool canContainLiquid() const; + /*52*/ virtual void __unk_vfn_52(); + /*67*/ virtual void __unk_vfn_67(); + /*73*/ virtual void __unk_vfn_73(); + /*82*/ virtual bool mayPlaceOn(class BlockSource &, class BlockPos const &) const; + /*87*/ virtual void __unk_vfn_87(); + /*95*/ virtual void __unk_vfn_95(); + /*104*/ virtual void entityInside(class BlockSource &, class BlockPos const &, class Actor &) const; + /*106*/ virtual bool canSurvive(class BlockSource &, class BlockPos const &) const; + /*109*/ virtual void __unk_vfn_109(); + /*116*/ virtual void __unk_vfn_116(); + /*118*/ virtual void __unk_vfn_118(); + /*119*/ virtual void __unk_vfn_119(); + /*129*/ virtual int getColor(class Block const &) const; + /*131*/ virtual int getColorAtPos(class BlockSource &, class BlockPos const &) const; + /*142*/ virtual void __unk_vfn_142(); + /*158*/ virtual void __unk_vfn_158(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_WATERLILYBLOCK +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/WaterlilyFeature.hpp b/LiteLoader/Header/MC/WaterlilyFeature.hpp new file mode 100644 index 0000000..421720f --- /dev/null +++ b/LiteLoader/Header/MC/WaterlilyFeature.hpp @@ -0,0 +1,29 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Feature.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class WaterlilyFeature : public Feature { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_WATERLILYFEATURE +public: + class WaterlilyFeature& operator=(class WaterlilyFeature const &) = delete; + WaterlilyFeature(class WaterlilyFeature const &) = delete; + WaterlilyFeature() = delete; +#endif + +public: + /*0*/ virtual ~WaterlilyFeature(); + /*1*/ virtual bool place(class BlockSource &, class BlockPos const &, class Random &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_WATERLILYFEATURE +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/WeaponItem.hpp b/LiteLoader/Header/MC/WeaponItem.hpp new file mode 100644 index 0000000..1b0d8dd --- /dev/null +++ b/LiteLoader/Header/MC/WeaponItem.hpp @@ -0,0 +1,55 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Item.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class WeaponItem : public Item { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_WEAPONITEM +public: + class WeaponItem& operator=(class WeaponItem const &) = delete; + WeaponItem(class WeaponItem const &) = delete; + WeaponItem() = delete; +#endif + +public: + /*0*/ virtual ~WeaponItem(); + /*5*/ virtual void __unk_vfn_5(); + /*20*/ virtual bool canDestroySpecial(class Block const &) const; + /*24*/ virtual int getAttackDamage() const; + /*25*/ virtual bool isHandEquipped() const; + /*26*/ virtual void __unk_vfn_26(); + /*27*/ virtual void __unk_vfn_27(); + /*31*/ virtual void __unk_vfn_31(); + /*32*/ virtual void __unk_vfn_32(); + /*34*/ virtual void __unk_vfn_34(); + /*37*/ virtual void __unk_vfn_37(); + /*38*/ virtual void appendFormattedHovertext(class ItemStackBase const &, class Level &, std::string &, bool) const; + /*39*/ virtual bool isValidRepairItem(class ItemStackBase const &, class ItemStackBase const &) const; + /*40*/ virtual int getEnchantSlot() const; + /*41*/ virtual int getEnchantValue() const; + /*43*/ virtual void __unk_vfn_43(); + /*46*/ virtual void __unk_vfn_46(); + /*47*/ virtual void __unk_vfn_47(); + /*49*/ virtual void __unk_vfn_49(); + /*50*/ virtual void __unk_vfn_50(); + /*56*/ virtual class ItemStack & use(class ItemStack &, class Player &) const; + /*60*/ virtual float getDestroySpeed(class ItemInstance const &, class Block const &) const; + /*62*/ virtual void hurtEnemy(class ItemStack &, class Mob *, class Mob *) const; + /*79*/ virtual void __unk_vfn_79(); + /*80*/ virtual void __unk_vfn_80(); + /*90*/ virtual void __unk_vfn_90(); + /*97*/ virtual void __unk_vfn_97(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_WEAPONITEM + MCVAPI bool canDestroyInCreative() const; +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/WeaponRecipes.hpp b/LiteLoader/Header/MC/WeaponRecipes.hpp new file mode 100644 index 0000000..f6a8160 --- /dev/null +++ b/LiteLoader/Header/MC/WeaponRecipes.hpp @@ -0,0 +1,27 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class WeaponRecipes { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_WEAPONRECIPES +public: + class WeaponRecipes& operator=(class WeaponRecipes const &) = delete; + WeaponRecipes(class WeaponRecipes const &) = delete; + WeaponRecipes() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_WEAPONRECIPES +#endif + MCAPI static void addRecipes(class Recipes &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/Weather.hpp b/LiteLoader/Header/MC/Weather.hpp new file mode 100644 index 0000000..3f66e65 --- /dev/null +++ b/LiteLoader/Header/MC/Weather.hpp @@ -0,0 +1,67 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "BlockSourceListener.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class Weather : public BlockSourceListener { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_WEATHER +public: + class Weather& operator=(class Weather const &) = delete; + Weather(class Weather const &) = delete; + Weather() = delete; +#endif + +public: + /*0*/ virtual ~Weather(); + /*1*/ virtual void __unk_vfn_1(); + /*2*/ virtual void __unk_vfn_2(); + /*3*/ virtual void __unk_vfn_3(); + /*4*/ virtual void __unk_vfn_4(); + /*6*/ virtual void __unk_vfn_6(); + /*8*/ virtual void __unk_vfn_8(); + /*9*/ virtual void __unk_vfn_9(); + /*10*/ virtual void __unk_vfn_10(); + /*11*/ virtual class Particle * addParticle(enum ParticleType, class Vec3 const &, class Vec3 const &, int, class CompoundTag const *, bool); + /*12*/ virtual void __unk_vfn_12(); + /*13*/ virtual void __unk_vfn_13(); + /*14*/ virtual void __unk_vfn_14(); + /*15*/ virtual void __unk_vfn_15(); + /*16*/ virtual void __unk_vfn_16(); + /*17*/ virtual void __unk_vfn_17(); + /*18*/ virtual void __unk_vfn_18(); + /*19*/ virtual void __unk_vfn_19(); + /*20*/ virtual void __unk_vfn_20(); + /*21*/ virtual void __unk_vfn_21(); + /*22*/ virtual void __unk_vfn_22(); + /*23*/ virtual void __unk_vfn_23(); + /*24*/ virtual void __unk_vfn_24(); + /*25*/ virtual void __unk_vfn_25(); + /*26*/ virtual void levelEvent(enum LevelEvent, class Vec3 const &, int); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_WEATHER +#endif + MCAPI int calcRainCycleTime() const; + MCAPI int calcRainDuration() const; + MCAPI int calcSnowBlockDepth(class BlockSource &, class BlockPos const &, int) const; + MCAPI bool canPlaceTopSnow(class BlockSource &, class BlockPos const &, bool, bool, int *) const; + MCAPI bool isPrecipitatingAt(class BlockSource &, class BlockPos const &) const; + MCAPI bool isRainingAt(class BlockSource &, class BlockPos const &) const; + MCAPI bool isSnowingAt(class BlockSource &, class BlockPos const &) const; + MCAPI void rebuildTopSnowToDepth(class BlockSource &, class BlockPos const &, int); + MCAPI void serverTick(); + MCAPI bool tryToPlaceTopSnow(class BlockSource &, class BlockPos const &, bool, bool); + +//private: + MCAPI void _notifyWeatherChangedEvent(class LevelData const &) const; + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/WeatherCommand.hpp b/LiteLoader/Header/MC/WeatherCommand.hpp new file mode 100644 index 0000000..8505a19 --- /dev/null +++ b/LiteLoader/Header/MC/WeatherCommand.hpp @@ -0,0 +1,30 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Command.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class WeatherCommand : public Command { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_WEATHERCOMMAND +public: + class WeatherCommand& operator=(class WeatherCommand const &) = delete; + WeatherCommand(class WeatherCommand const &) = delete; + WeatherCommand() = delete; +#endif + +public: + /*0*/ virtual ~WeatherCommand(); + /*1*/ virtual void execute(class CommandOrigin const &, class CommandOutput &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_WEATHERCOMMAND +#endif + MCAPI static void setup(class CommandRegistry &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/WeatherHelpers.hpp b/LiteLoader/Header/MC/WeatherHelpers.hpp new file mode 100644 index 0000000..8ef0c98 --- /dev/null +++ b/LiteLoader/Header/MC/WeatherHelpers.hpp @@ -0,0 +1,17 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +namespace WeatherHelpers { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA + MCAPI bool shouldFreeze(class BlockSource &, class BlockPos const &, bool); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/WebBlock.hpp b/LiteLoader/Header/MC/WebBlock.hpp new file mode 100644 index 0000000..3a61c82 --- /dev/null +++ b/LiteLoader/Header/MC/WebBlock.hpp @@ -0,0 +1,63 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "BlockLegacy.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class WebBlock : public BlockLegacy { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_WEBBLOCK +public: + class WebBlock& operator=(class WebBlock const &) = delete; + WebBlock(class WebBlock const &) = delete; + WebBlock() = delete; +#endif + +public: + /*0*/ virtual ~WebBlock(); + /*10*/ virtual class AABB const & getAABB(class BlockSource &, class BlockPos const &, class Block const &, class AABB &, bool) const; + /*18*/ virtual void __unk_vfn_18(); + /*24*/ virtual void __unk_vfn_24(); + /*25*/ virtual void __unk_vfn_25(); + /*26*/ virtual void __unk_vfn_26(); + /*27*/ virtual void __unk_vfn_27(); + /*28*/ virtual void __unk_vfn_28(); + /*30*/ virtual void __unk_vfn_30(); + /*31*/ virtual void __unk_vfn_31(); + /*32*/ virtual void __unk_vfn_32(); + /*33*/ virtual void __unk_vfn_33(); + /*34*/ virtual void __unk_vfn_34(); + /*35*/ virtual void __unk_vfn_35(); + /*36*/ virtual void __unk_vfn_36(); + /*38*/ virtual void __unk_vfn_38(); + /*39*/ virtual void __unk_vfn_39(); + /*40*/ virtual void __unk_vfn_40(); + /*42*/ virtual void __unk_vfn_42(); + /*43*/ virtual void __unk_vfn_43(); + /*49*/ virtual void __unk_vfn_49(); + /*52*/ virtual void __unk_vfn_52(); + /*67*/ virtual void __unk_vfn_67(); + /*73*/ virtual void __unk_vfn_73(); + /*87*/ virtual void __unk_vfn_87(); + /*91*/ virtual class ItemInstance getResourceItem(class Random &, class Block const &, int) const; + /*95*/ virtual void __unk_vfn_95(); + /*104*/ virtual void entityInside(class BlockSource &, class BlockPos const &, class Actor &) const; + /*105*/ virtual void playerDestroy(class Player &, class BlockPos const &, class Block const &) const; + /*109*/ virtual void __unk_vfn_109(); + /*116*/ virtual void __unk_vfn_116(); + /*118*/ virtual void __unk_vfn_118(); + /*119*/ virtual void __unk_vfn_119(); + /*142*/ virtual void __unk_vfn_142(); + /*158*/ virtual void __unk_vfn_158(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_WEBBLOCK + MCVAPI bool waterSpreadCausesSpawn() const; +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/WebToken.hpp b/LiteLoader/Header/MC/WebToken.hpp new file mode 100644 index 0000000..27735e6 --- /dev/null +++ b/LiteLoader/Header/MC/WebToken.hpp @@ -0,0 +1,39 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Json.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class WebToken { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_WEBTOKEN +public: + class WebToken& operator=(class WebToken const &) = delete; + WebToken() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_WEBTOKEN +#endif + MCAPI WebToken(class WebToken const &); + MCAPI WebToken(std::string); + MCAPI std::string toString() const; + MCAPI bool verifyWithIncludedKey(std::vector const &) const; + MCAPI ~WebToken(); + MCAPI static std::unique_ptr createFromData(class Json::Value const &, class PrivateKeyManager const &); + +//private: + MCAPI void _parse(class Json::Value &, std::string const &); + MCAPI std::string _signatureToDER() const; + MCAPI static std::string _DERToBinary(std::string const &, int); + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/WebviewObserver.hpp b/LiteLoader/Header/MC/WebviewObserver.hpp new file mode 100644 index 0000000..b25df71 --- /dev/null +++ b/LiteLoader/Header/MC/WebviewObserver.hpp @@ -0,0 +1,34 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class WebviewObserver { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_WEBVIEWOBSERVER +public: + class WebviewObserver& operator=(class WebviewObserver const &) = delete; + WebviewObserver(class WebviewObserver const &) = delete; + WebviewObserver() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_WEBVIEWOBSERVER + MCVAPI void onDownloadBegin(struct WebviewDownloadInfo const &); + MCVAPI void onDownloadCanceled(struct WebviewDownloadInfo const &); + MCVAPI void onDownloadComplete(struct WebviewDownloadInfo const &); + MCVAPI void onDownloadUpdate(struct WebviewDownloadInfo const &); + MCVAPI void onError(struct WebviewError const &); + MCVAPI void onLoadingBegin(); + MCVAPI void onLoadingEnd(); + MCVAPI void onMessageRecieved(std::string const &); +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/WeepingVinesBlock.hpp b/LiteLoader/Header/MC/WeepingVinesBlock.hpp new file mode 100644 index 0000000..4bbb229 --- /dev/null +++ b/LiteLoader/Header/MC/WeepingVinesBlock.hpp @@ -0,0 +1,77 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "BlockLegacy.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class WeepingVinesBlock : public BlockLegacy { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_WEEPINGVINESBLOCK +public: + class WeepingVinesBlock& operator=(class WeepingVinesBlock const &) = delete; + WeepingVinesBlock(class WeepingVinesBlock const &) = delete; + WeepingVinesBlock() = delete; +#endif + +public: + /*0*/ virtual ~WeepingVinesBlock(); + /*1*/ virtual void tick(class BlockSource &, class BlockPos const &, class Random &) const; + /*10*/ virtual class AABB const & getAABB(class BlockSource &, class BlockPos const &, class Block const &, class AABB &, bool) const; + /*18*/ virtual void __unk_vfn_18(); + /*24*/ virtual void __unk_vfn_24(); + /*25*/ virtual void __unk_vfn_25(); + /*26*/ virtual void __unk_vfn_26(); + /*27*/ virtual void __unk_vfn_27(); + /*28*/ virtual void __unk_vfn_28(); + /*30*/ virtual void __unk_vfn_30(); + /*31*/ virtual void __unk_vfn_31(); + /*32*/ virtual void __unk_vfn_32(); + /*33*/ virtual void __unk_vfn_33(); + /*34*/ virtual void __unk_vfn_34(); + /*35*/ virtual void __unk_vfn_35(); + /*36*/ virtual void __unk_vfn_36(); + /*38*/ virtual void __unk_vfn_38(); + /*39*/ virtual void __unk_vfn_39(); + /*40*/ virtual void __unk_vfn_40(); + /*42*/ virtual void __unk_vfn_42(); + /*43*/ virtual void __unk_vfn_43(); + /*49*/ virtual void __unk_vfn_49(); + /*50*/ virtual bool canContainLiquid() const; + /*52*/ virtual void __unk_vfn_52(); + /*59*/ virtual void onPlace(class BlockSource &, class BlockPos const &) const; + /*60*/ virtual void onRemove(class BlockSource &, class BlockPos const &) const; + /*67*/ virtual void __unk_vfn_67(); + /*73*/ virtual void __unk_vfn_73(); + /*75*/ virtual bool onFertilized(class BlockSource &, class BlockPos const &, class Actor *, enum FertilizerType) const; + /*77*/ virtual bool canBeFertilized(class BlockSource &, class BlockPos const &, class Block const &) const; + /*81*/ virtual bool mayPlace(class BlockSource &, class BlockPos const &) const; + /*87*/ virtual void __unk_vfn_87(); + /*88*/ virtual void neighborChanged(class BlockSource &, class BlockPos const &, class BlockPos const &) const; + /*91*/ virtual class ItemInstance getResourceItem(class Random &, class Block const &, int) const; + /*92*/ virtual class ItemInstance asItemInstance(class BlockSource &, class BlockPos const &, class Block const &) const; + /*95*/ virtual void __unk_vfn_95(); + /*106*/ virtual bool canSurvive(class BlockSource &, class BlockPos const &) const; + /*109*/ virtual void __unk_vfn_109(); + /*116*/ virtual void __unk_vfn_116(); + /*118*/ virtual void __unk_vfn_118(); + /*119*/ virtual void __unk_vfn_119(); + /*142*/ virtual void __unk_vfn_142(); + /*158*/ virtual void __unk_vfn_158(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_WEEPINGVINESBLOCK +#endif + MCAPI static void placeVineString(class BlockSource &, class Random &, class BlockPos const &, int, int, int); + +//private: + MCAPI bool _findAndRemoveStraggler(class Random &, class BlockSource &, class BlockPos const &) const; + MCAPI bool _shouldGrow(class BlockSource &, class BlockPos const &, unsigned __int64) const; + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/WeepingVinesClusterFeature.hpp b/LiteLoader/Header/MC/WeepingVinesClusterFeature.hpp new file mode 100644 index 0000000..654927e --- /dev/null +++ b/LiteLoader/Header/MC/WeepingVinesClusterFeature.hpp @@ -0,0 +1,35 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Feature.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class WeepingVinesClusterFeature : public Feature { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_WEEPINGVINESCLUSTERFEATURE +public: + class WeepingVinesClusterFeature& operator=(class WeepingVinesClusterFeature const &) = delete; + WeepingVinesClusterFeature(class WeepingVinesClusterFeature const &) = delete; + WeepingVinesClusterFeature() = delete; +#endif + +public: + /*0*/ virtual ~WeepingVinesClusterFeature(); + /*1*/ virtual bool place(class BlockSource &, class BlockPos const &, class Random &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_WEEPINGVINESCLUSTERFEATURE +#endif + +//private: + MCAPI bool _isInvalidPlacementLocation(class BlockSource &, class BlockPos const &) const; + MCAPI void _placeRoofNetherWart(class BlockSource &, class BlockPos const &, class Random &) const; + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/WeightedPressurePlateBlock.hpp b/LiteLoader/Header/MC/WeightedPressurePlateBlock.hpp new file mode 100644 index 0000000..c2768f4 --- /dev/null +++ b/LiteLoader/Header/MC/WeightedPressurePlateBlock.hpp @@ -0,0 +1,63 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "BasePressurePlateBlock.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class WeightedPressurePlateBlock : public BasePressurePlateBlock { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_WEIGHTEDPRESSUREPLATEBLOCK +public: + class WeightedPressurePlateBlock& operator=(class WeightedPressurePlateBlock const &) = delete; + WeightedPressurePlateBlock(class WeightedPressurePlateBlock const &) = delete; + WeightedPressurePlateBlock() = delete; +#endif + +public: + /*0*/ virtual ~WeightedPressurePlateBlock(); + /*18*/ virtual void __unk_vfn_18(); + /*24*/ virtual void __unk_vfn_24(); + /*25*/ virtual void __unk_vfn_25(); + /*26*/ virtual void __unk_vfn_26(); + /*27*/ virtual void __unk_vfn_27(); + /*28*/ virtual void __unk_vfn_28(); + /*30*/ virtual void __unk_vfn_30(); + /*31*/ virtual void __unk_vfn_31(); + /*32*/ virtual void __unk_vfn_32(); + /*33*/ virtual void __unk_vfn_33(); + /*34*/ virtual void __unk_vfn_34(); + /*35*/ virtual void __unk_vfn_35(); + /*36*/ virtual void __unk_vfn_36(); + /*38*/ virtual void __unk_vfn_38(); + /*39*/ virtual void __unk_vfn_39(); + /*40*/ virtual void __unk_vfn_40(); + /*42*/ virtual void __unk_vfn_42(); + /*43*/ virtual void __unk_vfn_43(); + /*49*/ virtual void __unk_vfn_49(); + /*52*/ virtual void __unk_vfn_52(); + /*67*/ virtual void __unk_vfn_67(); + /*73*/ virtual void __unk_vfn_73(); + /*87*/ virtual void __unk_vfn_87(); + /*92*/ virtual class ItemInstance asItemInstance(class BlockSource &, class BlockPos const &, class Block const &) const; + /*95*/ virtual void __unk_vfn_95(); + /*109*/ virtual void __unk_vfn_109(); + /*116*/ virtual void __unk_vfn_116(); + /*118*/ virtual void __unk_vfn_118(); + /*119*/ virtual void __unk_vfn_119(); + /*142*/ virtual void __unk_vfn_142(); + /*158*/ virtual void __unk_vfn_158(); + /*164*/ virtual int getTickDelay() const; + /*165*/ virtual int getSignalStrength(class BlockSource &, class BlockPos const &) const; + /*166*/ virtual int getSignalForData(int) const; + /*167*/ virtual int getRedstoneSignal(int) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_WEIGHTEDPRESSUREPLATEBLOCK +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/WeightedRandomFeature.hpp b/LiteLoader/Header/MC/WeightedRandomFeature.hpp new file mode 100644 index 0000000..d903306 --- /dev/null +++ b/LiteLoader/Header/MC/WeightedRandomFeature.hpp @@ -0,0 +1,28 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class WeightedRandomFeature { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_WEIGHTEDRANDOMFEATURE +public: + class WeightedRandomFeature& operator=(class WeightedRandomFeature const &) = delete; + WeightedRandomFeature(class WeightedRandomFeature const &) = delete; + WeightedRandomFeature() = delete; +#endif + +public: + /*0*/ virtual ~WeightedRandomFeature(); + /*1*/ virtual class std::optional place(class IBlockPlacementTarget &, class BlockPos const &, class Random &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_WEIGHTEDRANDOMFEATURE +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/WellKnownBiomeTags.hpp b/LiteLoader/Header/MC/WellKnownBiomeTags.hpp new file mode 100644 index 0000000..ac1a5ee --- /dev/null +++ b/LiteLoader/Header/MC/WellKnownBiomeTags.hpp @@ -0,0 +1,26 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class WellKnownBiomeTags { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_WELLKNOWNBIOMETAGS +public: + class WellKnownBiomeTags& operator=(class WellKnownBiomeTags const &) = delete; + WellKnownBiomeTags(class WellKnownBiomeTags const &) = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_WELLKNOWNBIOMETAGS +#endif + MCAPI WellKnownBiomeTags(); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/Whitelist.hpp b/LiteLoader/Header/MC/Whitelist.hpp new file mode 100644 index 0000000..fcbdfa6 --- /dev/null +++ b/LiteLoader/Header/MC/Whitelist.hpp @@ -0,0 +1,32 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Json.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class Whitelist { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_WHITELIST +public: + class Whitelist& operator=(class Whitelist const &) = delete; + Whitelist(class Whitelist const &) = delete; + Whitelist() = delete; +#endif + +public: + /*0*/ virtual ~Whitelist(); + /*1*/ virtual void serialize(class Json::Value &); + /*2*/ virtual void deserialize(class Json::Value &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_WHITELIST +#endif + MCAPI bool isIgnoringPlayerLimit(class mce::UUID const &, std::string const &) const; + MCAPI void tryUpdateEntries(class mce::UUID const &, std::string const &, std::string const &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/WhitelistCommand.hpp b/LiteLoader/Header/MC/WhitelistCommand.hpp new file mode 100644 index 0000000..da3e887 --- /dev/null +++ b/LiteLoader/Header/MC/WhitelistCommand.hpp @@ -0,0 +1,35 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Command.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class WhitelistCommand : public Command { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_WHITELISTCOMMAND +public: + class WhitelistCommand& operator=(class WhitelistCommand const &) = delete; + WhitelistCommand(class WhitelistCommand const &) = delete; + WhitelistCommand() = delete; +#endif + +public: + /*0*/ virtual ~WhitelistCommand(); + /*1*/ virtual void execute(class CommandOrigin const &, class CommandOutput &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_WHITELISTCOMMAND +#endif + MCAPI static void setup(class CommandRegistry &, class WhitelistFile &); + +//private: + +private: + MCAPI static class WhitelistFile * mWhitelistFile; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/WhitelistEntry.hpp b/LiteLoader/Header/MC/WhitelistEntry.hpp new file mode 100644 index 0000000..6d703fe --- /dev/null +++ b/LiteLoader/Header/MC/WhitelistEntry.hpp @@ -0,0 +1,30 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Json.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class WhitelistEntry { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_WHITELISTENTRY +public: + class WhitelistEntry& operator=(class WhitelistEntry const &) = delete; + WhitelistEntry(class WhitelistEntry const &) = delete; + WhitelistEntry() = delete; +#endif + +public: + /*0*/ virtual ~WhitelistEntry(); + /*1*/ virtual void serialize(class Json::Value &); + /*2*/ virtual void deserialize(class Json::Value &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_WHITELISTENTRY +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/WhitelistFile.hpp b/LiteLoader/Header/MC/WhitelistFile.hpp new file mode 100644 index 0000000..034f751 --- /dev/null +++ b/LiteLoader/Header/MC/WhitelistFile.hpp @@ -0,0 +1,29 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class WhitelistFile { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_WHITELISTFILE +public: + class WhitelistFile& operator=(class WhitelistFile const &) = delete; + WhitelistFile(class WhitelistFile const &) = delete; + WhitelistFile() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_WHITELISTFILE +#endif + MCAPI enum FileReadResult reload(); + MCAPI void syncToDisc(); + MCAPI ~WhitelistFile(); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/WinStackTrace.hpp b/LiteLoader/Header/MC/WinStackTrace.hpp new file mode 100644 index 0000000..c90f69c --- /dev/null +++ b/LiteLoader/Header/MC/WinStackTrace.hpp @@ -0,0 +1,27 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class WinStackTrace { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_WINSTACKTRACE +public: + class WinStackTrace& operator=(class WinStackTrace const &) = delete; + WinStackTrace(class WinStackTrace const &) = delete; + WinStackTrace() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_WINSTACKTRACE +#endif + MCAPI static std::string getStackTrace(struct _CONTEXT *); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/WireframeQueue.hpp b/LiteLoader/Header/MC/WireframeQueue.hpp new file mode 100644 index 0000000..de0917b --- /dev/null +++ b/LiteLoader/Header/MC/WireframeQueue.hpp @@ -0,0 +1,27 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class WireframeQueue { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_WIREFRAMEQUEUE +public: + class WireframeQueue& operator=(class WireframeQueue const &) = delete; + WireframeQueue(class WireframeQueue const &) = delete; + WireframeQueue() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_WIREFRAMEQUEUE +#endif + MCAPI ~WireframeQueue(); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/Witch.hpp b/LiteLoader/Header/MC/Witch.hpp new file mode 100644 index 0000000..3490a6e --- /dev/null +++ b/LiteLoader/Header/MC/Witch.hpp @@ -0,0 +1,66 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Actor.hpp" +#include "HumanoidMonster.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class Witch : public HumanoidMonster { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_WITCH +public: + class Witch& operator=(class Witch const &) = delete; + Witch(class Witch const &) = delete; + Witch() = delete; +#endif + +public: + /*7*/ virtual ~Witch(); + /*30*/ virtual void __unk_vfn_30(); + /*54*/ virtual void __unk_vfn_54(); + /*61*/ virtual void __unk_vfn_61(); + /*76*/ virtual void __unk_vfn_76(); + /*81*/ virtual void __unk_vfn_81(); + /*88*/ virtual void __unk_vfn_88(); + /*90*/ virtual void __unk_vfn_90(); + /*98*/ virtual void __unk_vfn_98(); + /*100*/ virtual void __unk_vfn_100(); + /*101*/ virtual bool canAttack(class Actor *, bool) const; + /*106*/ virtual void performRangedAttack(class Actor &, float); + /*121*/ virtual void __unk_vfn_121(); + /*132*/ virtual void handleEntityEvent(enum ActorEvent, int); + /*169*/ virtual void __unk_vfn_169(); + /*182*/ virtual void __unk_vfn_182(); + /*206*/ virtual void __unk_vfn_206(); + /*207*/ virtual void __unk_vfn_207(); + /*228*/ virtual void __unk_vfn_228(); + /*231*/ virtual void __unk_vfn_231(); + /*235*/ virtual void updateEntitySpecificMolangVariables(class RenderParams &); + /*238*/ virtual void __unk_vfn_238(); + /*246*/ virtual void __unk_vfn_246(); + /*256*/ virtual void _onSizeUpdated(); + /*257*/ virtual void __unk_vfn_257(); + /*278*/ virtual void aiStep(); + /*290*/ virtual void __unk_vfn_290(); + /*300*/ virtual void __unk_vfn_300(); + /*323*/ virtual int getDamageAfterMagicAbsorb(class ActorDamageSource const &, int); + /*332*/ virtual void __unk_vfn_332(); + /*348*/ virtual void __unk_vfn_348(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_WITCH +#endif + MCAPI void setUsingItem(bool); + +//private: + +private: + MCAPI static class std::shared_ptr SPEED_MODIFIER_DRINKING; + MCAPI static class mce::UUID const SPEED_MODIFIER_DRINKING_UUID; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/WitherBoss.hpp b/LiteLoader/Header/MC/WitherBoss.hpp new file mode 100644 index 0000000..b3227b5 --- /dev/null +++ b/LiteLoader/Header/MC/WitherBoss.hpp @@ -0,0 +1,87 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Actor.hpp" +#include "Monster.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class WitherBoss : public Monster { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_WITHERBOSS +public: + class WitherBoss& operator=(class WitherBoss const &) = delete; + WitherBoss(class WitherBoss const &) = delete; + WitherBoss() = delete; +#endif + +public: + /*1*/ virtual void reloadHardcoded(enum Actor::InitializationMethod, class VariantParameterList const &); + /*2*/ virtual void reloadHardcodedClient(enum Actor::InitializationMethod, class VariantParameterList const &); + /*7*/ virtual ~WitherBoss(); + /*11*/ virtual void remove(); + /*17*/ virtual class Vec3 getFiringPos() const; + /*30*/ virtual void __unk_vfn_30(); + /*44*/ virtual bool startRiding(class Actor &); + /*54*/ virtual void __unk_vfn_54(); + /*61*/ virtual void __unk_vfn_61(); + /*71*/ virtual void makeStuckInBlock(float); + /*76*/ virtual void __unk_vfn_76(); + /*81*/ virtual void __unk_vfn_81(); + /*88*/ virtual void __unk_vfn_88(); + /*90*/ virtual void __unk_vfn_90(); + /*98*/ virtual void __unk_vfn_98(); + /*100*/ virtual void __unk_vfn_100(); + /*121*/ virtual void __unk_vfn_121(); + /*124*/ virtual bool isInvulnerableTo(class ActorDamageSource const &) const; + /*132*/ virtual void handleEntityEvent(enum ActorEvent, int); + /*169*/ virtual void __unk_vfn_169(); + /*173*/ virtual void causeFallDamage(float); + /*182*/ virtual void __unk_vfn_182(); + /*197*/ virtual bool canBeAffected(class MobEffectInstance const &) const; + /*198*/ virtual bool canBeAffectedByArrow(class MobEffectInstance const &) const; + /*206*/ virtual void __unk_vfn_206(); + /*207*/ virtual void __unk_vfn_207(); + /*228*/ virtual void __unk_vfn_228(); + /*231*/ virtual void __unk_vfn_231(); + /*233*/ virtual void die(class ActorDamageSource const &); + /*238*/ virtual void __unk_vfn_238(); + /*240*/ virtual bool _hurt(class ActorDamageSource const &, int, bool, bool); + /*242*/ virtual void readAdditionalSaveData(class CompoundTag const &, class DataLoadHelper &); + /*243*/ virtual void addAdditionalSaveData(class CompoundTag &); + /*246*/ virtual void __unk_vfn_246(); + /*257*/ virtual void __unk_vfn_257(); + /*272*/ virtual bool hurtEffects(class ActorDamageSource const &, int, bool, bool); + /*278*/ virtual void aiStep(); + /*290*/ virtual void __unk_vfn_290(); + /*300*/ virtual void __unk_vfn_300(); + /*305*/ virtual int getArmorValue(); + /*332*/ virtual void __unk_vfn_332(); + /*339*/ virtual void newServerAiStep(); + /*348*/ virtual void __unk_vfn_348(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_WITHERBOSS +#endif + MCAPI WitherBoss(class ActorDefinitionGroup *, struct ActorDefinitionIdentifier const &); + MCAPI bool getAerialAttack() const; + MCAPI struct ActorUniqueID getAlternativeTarget(int); + MCAPI class Vec3 getHeadPos(int) const; + MCAPI void setAerialAttack(bool); + MCAPI void setAlternativeTarget(int, struct ActorUniqueID); + MCAPI void setInvulnerableTicks(int); + MCAPI static class mce::UUID const MAX_HEALTH_CAP_UUID; + MCAPI static bool canDestroy(class Block const &); + +//private: + MCAPI void _performRangedAttack(int, class Actor &); + MCAPI void _performRangedAttack(int, class Vec3 const &, bool); + MCAPI bool canShoot(); + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/WitherBossSpawnUtilities.hpp b/LiteLoader/Header/MC/WitherBossSpawnUtilities.hpp new file mode 100644 index 0000000..51269b4 --- /dev/null +++ b/LiteLoader/Header/MC/WitherBossSpawnUtilities.hpp @@ -0,0 +1,18 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +namespace WitherBossSpawnUtilities { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA + MCAPI std::unique_ptr createWitherBuilder(class BlockSource &); + MCAPI std::unique_ptr createWitherBuilderForTShape(class BlockSource &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/WitherRandomAttackPosGoal.hpp b/LiteLoader/Header/MC/WitherRandomAttackPosGoal.hpp new file mode 100644 index 0000000..b10f506 --- /dev/null +++ b/LiteLoader/Header/MC/WitherRandomAttackPosGoal.hpp @@ -0,0 +1,34 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "RandomStrollGoal.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class WitherRandomAttackPosGoal : public RandomStrollGoal { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_WITHERRANDOMATTACKPOSGOAL +public: + class WitherRandomAttackPosGoal& operator=(class WitherRandomAttackPosGoal const &) = delete; + WitherRandomAttackPosGoal(class WitherRandomAttackPosGoal const &) = delete; + WitherRandomAttackPosGoal() = delete; +#endif + +public: + /*0*/ virtual ~WitherRandomAttackPosGoal(); + /*1*/ virtual bool canUse(); + /*2*/ virtual bool canContinueToUse(); + /*4*/ virtual void start(); + /*5*/ virtual void stop(); + /*8*/ virtual void __unk_vfn_8(); + /*9*/ virtual void __unk_vfn_9(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_WITHERRANDOMATTACKPOSGOAL +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/WitherRoseBlock.hpp b/LiteLoader/Header/MC/WitherRoseBlock.hpp new file mode 100644 index 0000000..6d2c1a3 --- /dev/null +++ b/LiteLoader/Header/MC/WitherRoseBlock.hpp @@ -0,0 +1,67 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "FlowerBlock.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class WitherRoseBlock : public FlowerBlock { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_WITHERROSEBLOCK +public: + class WitherRoseBlock& operator=(class WitherRoseBlock const &) = delete; + WitherRoseBlock(class WitherRoseBlock const &) = delete; + WitherRoseBlock() = delete; +#endif + +public: + /*0*/ virtual ~WitherRoseBlock(); + /*18*/ virtual void __unk_vfn_18(); + /*24*/ virtual void __unk_vfn_24(); + /*25*/ virtual void __unk_vfn_25(); + /*26*/ virtual void __unk_vfn_26(); + /*27*/ virtual void __unk_vfn_27(); + /*28*/ virtual void __unk_vfn_28(); + /*30*/ virtual void __unk_vfn_30(); + /*31*/ virtual void __unk_vfn_31(); + /*32*/ virtual void __unk_vfn_32(); + /*33*/ virtual void __unk_vfn_33(); + /*34*/ virtual void __unk_vfn_34(); + /*35*/ virtual void __unk_vfn_35(); + /*36*/ virtual void __unk_vfn_36(); + /*38*/ virtual void __unk_vfn_38(); + /*39*/ virtual void __unk_vfn_39(); + /*40*/ virtual void __unk_vfn_40(); + /*42*/ virtual void __unk_vfn_42(); + /*43*/ virtual void __unk_vfn_43(); + /*49*/ virtual void __unk_vfn_49(); + /*52*/ virtual void __unk_vfn_52(); + /*67*/ virtual void __unk_vfn_67(); + /*73*/ virtual void __unk_vfn_73(); + /*75*/ virtual bool onFertilized(class BlockSource &, class BlockPos const &, class Actor *, enum FertilizerType) const; + /*77*/ virtual bool canBeFertilized(class BlockSource &, class BlockPos const &, class Block const &) const; + /*82*/ virtual bool mayPlaceOn(class BlockSource &, class BlockPos const &) const; + /*87*/ virtual void __unk_vfn_87(); + /*91*/ virtual class ItemInstance getResourceItem(class Random &, class Block const &, int) const; + /*95*/ virtual void __unk_vfn_95(); + /*104*/ virtual void entityInside(class BlockSource &, class BlockPos const &, class Actor &) const; + /*109*/ virtual void __unk_vfn_109(); + /*116*/ virtual void __unk_vfn_116(); + /*118*/ virtual void __unk_vfn_118(); + /*119*/ virtual void __unk_vfn_119(); + /*127*/ virtual std::string buildDescriptionId(class Block const &) const; + /*128*/ virtual bool isAuxValueRelevantForPicking() const; + /*142*/ virtual void __unk_vfn_142(); + /*146*/ virtual void animateTick(class BlockSource &, class BlockPos const &, class Random &) const; + /*158*/ virtual void __unk_vfn_158(); + /*159*/ virtual class ItemInstance getSilkTouchItemInstance(class Block const &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_WITHERROSEBLOCK +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/WitherSkull.hpp b/LiteLoader/Header/MC/WitherSkull.hpp new file mode 100644 index 0000000..8e7be9c --- /dev/null +++ b/LiteLoader/Header/MC/WitherSkull.hpp @@ -0,0 +1,56 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Actor.hpp" +#include "Fireball.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class WitherSkull : public Fireball { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_WITHERSKULL +public: + class WitherSkull& operator=(class WitherSkull const &) = delete; + WitherSkull(class WitherSkull const &) = delete; + WitherSkull() = delete; +#endif + +public: + /*3*/ virtual void initializeComponents(enum Actor::InitializationMethod, class VariantParameterList const &); + /*7*/ virtual ~WitherSkull(); + /*30*/ virtual void __unk_vfn_30(); + /*54*/ virtual void __unk_vfn_54(); + /*61*/ virtual void __unk_vfn_61(); + /*76*/ virtual void __unk_vfn_76(); + /*81*/ virtual void __unk_vfn_81(); + /*87*/ virtual bool isPickable(); + /*88*/ virtual void __unk_vfn_88(); + /*90*/ virtual void __unk_vfn_90(); + /*96*/ virtual bool isOnFire() const; + /*98*/ virtual void __unk_vfn_98(); + /*100*/ virtual void __unk_vfn_100(); + /*121*/ virtual void __unk_vfn_121(); + /*169*/ virtual void __unk_vfn_169(); + /*182*/ virtual void __unk_vfn_182(); + /*206*/ virtual void __unk_vfn_206(); + /*207*/ virtual void __unk_vfn_207(); + /*218*/ virtual bool canDestroyBlock(class Block const &) const; + /*228*/ virtual void __unk_vfn_228(); + /*231*/ virtual void __unk_vfn_231(); + /*238*/ virtual void __unk_vfn_238(); + /*240*/ virtual bool _hurt(class ActorDamageSource const &, int, bool, bool); + /*246*/ virtual void __unk_vfn_246(); + /*257*/ virtual void __unk_vfn_257(); + /*258*/ virtual float getInertia(); + /*259*/ virtual void __unk_vfn_259(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_WITHERSKULL + MCVAPI bool shouldBurn(); +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/WitherTargetHighestDamage.hpp b/LiteLoader/Header/MC/WitherTargetHighestDamage.hpp new file mode 100644 index 0000000..b149f91 --- /dev/null +++ b/LiteLoader/Header/MC/WitherTargetHighestDamage.hpp @@ -0,0 +1,40 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "TargetGoal.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class WitherTargetHighestDamage : public TargetGoal { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_WITHERTARGETHIGHESTDAMAGE +public: + class WitherTargetHighestDamage& operator=(class WitherTargetHighestDamage const &) = delete; + WitherTargetHighestDamage(class WitherTargetHighestDamage const &) = delete; + WitherTargetHighestDamage() = delete; +#endif + +public: + /*0*/ virtual ~WitherTargetHighestDamage(); + /*1*/ virtual bool canUse(); + /*2*/ virtual bool canContinueToUse(); + /*4*/ virtual void start(); + /*7*/ virtual void appendDebugInfo(std::string &) const; + /*8*/ virtual void __unk_vfn_8(); + /*9*/ virtual void __unk_vfn_9(); + /*10*/ virtual bool _canAttack(class Mob *, class Actor *, bool, bool, struct MobDescriptor const **); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_WITHERTARGETHIGHESTDAMAGE +#endif + +//private: + MCAPI class Player * getHighestDamageTarget(); + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/Wolf.hpp b/LiteLoader/Header/MC/Wolf.hpp new file mode 100644 index 0000000..f1a08fa --- /dev/null +++ b/LiteLoader/Header/MC/Wolf.hpp @@ -0,0 +1,69 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Actor.hpp" +#include "Animal.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class Wolf : public Animal { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_WOLF +public: + class Wolf& operator=(class Wolf const &) = delete; + Wolf(class Wolf const &) = delete; + Wolf() = delete; +#endif + +public: + /*7*/ virtual ~Wolf(); + /*30*/ virtual void __unk_vfn_30(); + /*39*/ virtual void normalTick(); + /*45*/ virtual void addRider(class Actor &); + /*54*/ virtual void __unk_vfn_54(); + /*61*/ virtual void __unk_vfn_61(); + /*76*/ virtual void __unk_vfn_76(); + /*81*/ virtual void __unk_vfn_81(); + /*88*/ virtual void __unk_vfn_88(); + /*90*/ virtual void __unk_vfn_90(); + /*98*/ virtual void __unk_vfn_98(); + /*100*/ virtual void __unk_vfn_100(); + /*110*/ virtual void setSitting(bool); + /*121*/ virtual void __unk_vfn_121(); + /*132*/ virtual void handleEntityEvent(enum ActorEvent, int); + /*157*/ virtual bool load(class CompoundTag const &, class DataLoadHelper &); + /*169*/ virtual void __unk_vfn_169(); + /*177*/ virtual void onSynchedDataUpdate(int); + /*182*/ virtual void __unk_vfn_182(); + /*206*/ virtual void __unk_vfn_206(); + /*207*/ virtual void __unk_vfn_207(); + /*228*/ virtual void __unk_vfn_228(); + /*231*/ virtual void __unk_vfn_231(); + /*238*/ virtual void __unk_vfn_238(); + /*240*/ virtual bool _hurt(class ActorDamageSource const &, int, bool, bool); + /*246*/ virtual void __unk_vfn_246(); + /*257*/ virtual void __unk_vfn_257(); + /*265*/ virtual enum LevelSoundEvent getAmbientSound(); + /*290*/ virtual void __unk_vfn_290(); + /*298*/ virtual bool isAlliedTo(class Mob *); + /*299*/ virtual bool doHurtTarget(class Actor *); + /*300*/ virtual void __unk_vfn_300(); + /*325*/ virtual void onBorn(class Actor &, class Actor &); + /*332*/ virtual void __unk_vfn_332(); + /*339*/ virtual void newServerAiStep(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_WOLF +#endif + +//private: + MCAPI void _avoidSnowBury(); + MCAPI void _updateTintColor(); + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/WoodBlock.hpp b/LiteLoader/Header/MC/WoodBlock.hpp new file mode 100644 index 0000000..8fd285d --- /dev/null +++ b/LiteLoader/Header/MC/WoodBlock.hpp @@ -0,0 +1,72 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "RotatedPillarBlock.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class WoodBlock : public RotatedPillarBlock { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_WOODBLOCK +public: + class WoodBlock& operator=(class WoodBlock const &) = delete; + WoodBlock(class WoodBlock const &) = delete; + WoodBlock() = delete; +#endif + +public: + /*0*/ virtual ~WoodBlock(); + /*18*/ virtual void __unk_vfn_18(); + /*19*/ virtual bool isStrippable(class Block const &) const; + /*20*/ virtual class Block const & getStrippedBlock(class Block const &) const; + /*24*/ virtual void __unk_vfn_24(); + /*25*/ virtual void __unk_vfn_25(); + /*26*/ virtual void __unk_vfn_26(); + /*27*/ virtual void __unk_vfn_27(); + /*28*/ virtual void __unk_vfn_28(); + /*30*/ virtual void __unk_vfn_30(); + /*31*/ virtual void __unk_vfn_31(); + /*32*/ virtual void __unk_vfn_32(); + /*33*/ virtual void __unk_vfn_33(); + /*34*/ virtual void __unk_vfn_34(); + /*35*/ virtual void __unk_vfn_35(); + /*36*/ virtual void __unk_vfn_36(); + /*38*/ virtual void __unk_vfn_38(); + /*39*/ virtual void __unk_vfn_39(); + /*40*/ virtual void __unk_vfn_40(); + /*42*/ virtual void __unk_vfn_42(); + /*43*/ virtual void __unk_vfn_43(); + /*49*/ virtual void __unk_vfn_49(); + /*52*/ virtual void __unk_vfn_52(); + /*67*/ virtual void __unk_vfn_67(); + /*73*/ virtual void __unk_vfn_73(); + /*87*/ virtual void __unk_vfn_87(); + /*91*/ virtual class ItemInstance getResourceItem(class Random &, class Block const &, int) const; + /*92*/ virtual class ItemInstance asItemInstance(class BlockSource &, class BlockPos const &, class Block const &) const; + /*95*/ virtual void __unk_vfn_95(); + /*109*/ virtual void __unk_vfn_109(); + /*116*/ virtual void __unk_vfn_116(); + /*118*/ virtual void __unk_vfn_118(); + /*119*/ virtual void __unk_vfn_119(); + /*127*/ virtual std::string buildDescriptionId(class Block const &) const; + /*128*/ virtual bool isAuxValueRelevantForPicking() const; + /*141*/ virtual int getVariant(class Block const &) const; + /*142*/ virtual void __unk_vfn_142(); + /*158*/ virtual void __unk_vfn_158(); + /*159*/ virtual class ItemInstance getSilkTouchItemInstance(class Block const &) const; + /*164*/ virtual class Color getDustColor(class Block const &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_WOODBLOCK +#endif + +//private: + MCAPI class Block const & _createBlockWithStates(class Block const &) const; + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/WoodButtonBlock.hpp b/LiteLoader/Header/MC/WoodButtonBlock.hpp new file mode 100644 index 0000000..11ea2ca --- /dev/null +++ b/LiteLoader/Header/MC/WoodButtonBlock.hpp @@ -0,0 +1,59 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "ButtonBlock.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class WoodButtonBlock : public ButtonBlock { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_WOODBUTTONBLOCK +public: + class WoodButtonBlock& operator=(class WoodButtonBlock const &) = delete; + WoodButtonBlock(class WoodButtonBlock const &) = delete; + WoodButtonBlock() = delete; +#endif + +public: + /*0*/ virtual ~WoodButtonBlock(); + /*18*/ virtual void __unk_vfn_18(); + /*24*/ virtual void __unk_vfn_24(); + /*25*/ virtual void __unk_vfn_25(); + /*26*/ virtual void __unk_vfn_26(); + /*27*/ virtual void __unk_vfn_27(); + /*28*/ virtual void __unk_vfn_28(); + /*30*/ virtual void __unk_vfn_30(); + /*31*/ virtual void __unk_vfn_31(); + /*32*/ virtual void __unk_vfn_32(); + /*33*/ virtual void __unk_vfn_33(); + /*34*/ virtual void __unk_vfn_34(); + /*35*/ virtual void __unk_vfn_35(); + /*36*/ virtual void __unk_vfn_36(); + /*38*/ virtual void __unk_vfn_38(); + /*39*/ virtual void __unk_vfn_39(); + /*40*/ virtual void __unk_vfn_40(); + /*42*/ virtual void __unk_vfn_42(); + /*43*/ virtual void __unk_vfn_43(); + /*49*/ virtual void __unk_vfn_49(); + /*52*/ virtual void __unk_vfn_52(); + /*67*/ virtual void __unk_vfn_67(); + /*73*/ virtual void __unk_vfn_73(); + /*87*/ virtual void __unk_vfn_87(); + /*95*/ virtual void __unk_vfn_95(); + /*109*/ virtual void __unk_vfn_109(); + /*116*/ virtual void __unk_vfn_116(); + /*118*/ virtual void __unk_vfn_118(); + /*119*/ virtual void __unk_vfn_119(); + /*142*/ virtual void __unk_vfn_142(); + /*158*/ virtual void __unk_vfn_158(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_WOODBUTTONBLOCK +#endif + MCAPI WoodButtonBlock(std::string const &, int); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/WoodSlabBlock.hpp b/LiteLoader/Header/MC/WoodSlabBlock.hpp new file mode 100644 index 0000000..e804420 --- /dev/null +++ b/LiteLoader/Header/MC/WoodSlabBlock.hpp @@ -0,0 +1,65 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "SlabBlock.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class WoodSlabBlock : public SlabBlock { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_WOODSLABBLOCK +public: + class WoodSlabBlock& operator=(class WoodSlabBlock const &) = delete; + WoodSlabBlock(class WoodSlabBlock const &) = delete; + WoodSlabBlock() = delete; +#endif + +public: + /*0*/ virtual ~WoodSlabBlock(); + /*18*/ virtual void __unk_vfn_18(); + /*24*/ virtual void __unk_vfn_24(); + /*25*/ virtual void __unk_vfn_25(); + /*26*/ virtual void __unk_vfn_26(); + /*27*/ virtual void __unk_vfn_27(); + /*28*/ virtual void __unk_vfn_28(); + /*30*/ virtual void __unk_vfn_30(); + /*31*/ virtual void __unk_vfn_31(); + /*32*/ virtual void __unk_vfn_32(); + /*33*/ virtual void __unk_vfn_33(); + /*34*/ virtual void __unk_vfn_34(); + /*35*/ virtual void __unk_vfn_35(); + /*36*/ virtual void __unk_vfn_36(); + /*38*/ virtual void __unk_vfn_38(); + /*39*/ virtual void __unk_vfn_39(); + /*40*/ virtual void __unk_vfn_40(); + /*42*/ virtual void __unk_vfn_42(); + /*43*/ virtual void __unk_vfn_43(); + /*44*/ virtual bool isValidAuxValue(int) const; + /*49*/ virtual void __unk_vfn_49(); + /*52*/ virtual void __unk_vfn_52(); + /*67*/ virtual void __unk_vfn_67(); + /*73*/ virtual void __unk_vfn_73(); + /*87*/ virtual void __unk_vfn_87(); + /*91*/ virtual class ItemInstance getResourceItem(class Random &, class Block const &, int) const; + /*92*/ virtual class ItemInstance asItemInstance(class BlockSource &, class BlockPos const &, class Block const &) const; + /*95*/ virtual void __unk_vfn_95(); + /*109*/ virtual void __unk_vfn_109(); + /*116*/ virtual void __unk_vfn_116(); + /*118*/ virtual void __unk_vfn_118(); + /*119*/ virtual void __unk_vfn_119(); + /*127*/ virtual std::string buildDescriptionId(class Block const &) const; + /*141*/ virtual int getVariant(class Block const &) const; + /*142*/ virtual void __unk_vfn_142(); + /*158*/ virtual void __unk_vfn_158(); + /*159*/ virtual class ItemInstance getSilkTouchItemInstance(class Block const &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_WOODSLABBLOCK +#endif + MCAPI WoodSlabBlock(std::string const &, int, bool, class WeakPtr); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/WoodSlabBlockItem.hpp b/LiteLoader/Header/MC/WoodSlabBlockItem.hpp new file mode 100644 index 0000000..61597bd --- /dev/null +++ b/LiteLoader/Header/MC/WoodSlabBlockItem.hpp @@ -0,0 +1,45 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "BlockItem.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class WoodSlabBlockItem : public BlockItem { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_WOODSLABBLOCKITEM +public: + class WoodSlabBlockItem& operator=(class WoodSlabBlockItem const &) = delete; + WoodSlabBlockItem(class WoodSlabBlockItem const &) = delete; + WoodSlabBlockItem() = delete; +#endif + +public: + /*0*/ virtual ~WoodSlabBlockItem(); + /*5*/ virtual void __unk_vfn_5(); + /*21*/ virtual int getLevelDataForAuxValue(int) const; + /*26*/ virtual void __unk_vfn_26(); + /*27*/ virtual void __unk_vfn_27(); + /*31*/ virtual void __unk_vfn_31(); + /*32*/ virtual void __unk_vfn_32(); + /*34*/ virtual void __unk_vfn_34(); + /*37*/ virtual void __unk_vfn_37(); + /*43*/ virtual void __unk_vfn_43(); + /*46*/ virtual void __unk_vfn_46(); + /*47*/ virtual void __unk_vfn_47(); + /*49*/ virtual void __unk_vfn_49(); + /*50*/ virtual void __unk_vfn_50(); + /*79*/ virtual void __unk_vfn_79(); + /*80*/ virtual void __unk_vfn_80(); + /*90*/ virtual void __unk_vfn_90(); + /*97*/ virtual void __unk_vfn_97(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_WOODSLABBLOCKITEM +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/WoodlandMansionFeature.hpp b/LiteLoader/Header/MC/WoodlandMansionFeature.hpp new file mode 100644 index 0000000..a5eb279 --- /dev/null +++ b/LiteLoader/Header/MC/WoodlandMansionFeature.hpp @@ -0,0 +1,31 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "StructureFeature.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class WoodlandMansionFeature : public StructureFeature { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_WOODLANDMANSIONFEATURE +public: + class WoodlandMansionFeature& operator=(class WoodlandMansionFeature const &) = delete; + WoodlandMansionFeature(class WoodlandMansionFeature const &) = delete; + WoodlandMansionFeature() = delete; +#endif + +public: + /*0*/ virtual ~WoodlandMansionFeature(); + /*3*/ virtual bool getNearestGeneratedFeature(class Dimension &, class BiomeSource &, class BlockPos const &, class BlockPos &); + /*4*/ virtual bool isFeatureChunk(class BiomeSource const &, class Random &, class ChunkPos const &, unsigned int); + /*5*/ virtual std::unique_ptr createStructureStart(class Dimension &, class BiomeSource &, class Random &, class ChunkPos const &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_WOODLANDMANSIONFEATURE +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/WoodlandMansionPieces.hpp b/LiteLoader/Header/MC/WoodlandMansionPieces.hpp new file mode 100644 index 0000000..a0e2333 --- /dev/null +++ b/LiteLoader/Header/MC/WoodlandMansionPieces.hpp @@ -0,0 +1,27 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class WoodlandMansionPieces { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_WOODLANDMANSIONPIECES +public: + class WoodlandMansionPieces& operator=(class WoodlandMansionPieces const &) = delete; + WoodlandMansionPieces(class WoodlandMansionPieces const &) = delete; + WoodlandMansionPieces() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_WOODLANDMANSIONPIECES +#endif + MCAPI static void generateMansion(class StructureManager &, class BlockPos const &, enum Rotation, std::vector> &, class Random &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/WoodlandMansionStart.hpp b/LiteLoader/Header/MC/WoodlandMansionStart.hpp new file mode 100644 index 0000000..9d3e5fb --- /dev/null +++ b/LiteLoader/Header/MC/WoodlandMansionStart.hpp @@ -0,0 +1,37 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class WoodlandMansionStart { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_WOODLANDMANSIONSTART +public: + class WoodlandMansionStart& operator=(class WoodlandMansionStart const &) = delete; + WoodlandMansionStart(class WoodlandMansionStart const &) = delete; + WoodlandMansionStart() = delete; +#endif + +public: + /*0*/ virtual ~WoodlandMansionStart(); + /*1*/ virtual bool postProcess(class BlockSource &, class Random &, class BoundingBox const &); + /*2*/ virtual void __unk_vfn_2(); + /*3*/ virtual enum StructureFeatureType getType() const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_WOODLANDMANSIONSTART +#endif + +//private: + MCAPI void _create(class Dimension &, class OverworldGenerator &, class Random &, int, int); + MCAPI void _fillCobblestone(class BlockPos const &, class BlockSource &, class BoundingBox const &); + MCAPI void _makeStairs(class BlockPos const &, class Block const &, unsigned char, unsigned char, class BlockSource &, class BoundingBox const &); + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/WoolCarpetBlock.hpp b/LiteLoader/Header/MC/WoolCarpetBlock.hpp new file mode 100644 index 0000000..11b93a5 --- /dev/null +++ b/LiteLoader/Header/MC/WoolCarpetBlock.hpp @@ -0,0 +1,71 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "BlockLegacy.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class WoolCarpetBlock : public BlockLegacy { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_WOOLCARPETBLOCK +public: + class WoolCarpetBlock& operator=(class WoolCarpetBlock const &) = delete; + WoolCarpetBlock(class WoolCarpetBlock const &) = delete; + WoolCarpetBlock() = delete; +#endif + +public: + /*0*/ virtual ~WoolCarpetBlock(); + /*1*/ virtual void tick(class BlockSource &, class BlockPos const &, class Random &) const; + /*5*/ virtual bool getCollisionShape(class AABB &, class Block const &, class BlockSource &, class BlockPos const &, class Actor *) const; + /*18*/ virtual void __unk_vfn_18(); + /*24*/ virtual void __unk_vfn_24(); + /*25*/ virtual void __unk_vfn_25(); + /*26*/ virtual void __unk_vfn_26(); + /*27*/ virtual void __unk_vfn_27(); + /*28*/ virtual void __unk_vfn_28(); + /*30*/ virtual void __unk_vfn_30(); + /*31*/ virtual void __unk_vfn_31(); + /*32*/ virtual void __unk_vfn_32(); + /*33*/ virtual void __unk_vfn_33(); + /*34*/ virtual void __unk_vfn_34(); + /*35*/ virtual void __unk_vfn_35(); + /*36*/ virtual void __unk_vfn_36(); + /*38*/ virtual void __unk_vfn_38(); + /*39*/ virtual void __unk_vfn_39(); + /*40*/ virtual void __unk_vfn_40(); + /*42*/ virtual void __unk_vfn_42(); + /*43*/ virtual void __unk_vfn_43(); + /*49*/ virtual void __unk_vfn_49(); + /*52*/ virtual void __unk_vfn_52(); + /*56*/ virtual bool checkIsPathable(class Actor &, class BlockPos const &, class BlockPos const &) const; + /*59*/ virtual void onPlace(class BlockSource &, class BlockPos const &) const; + /*67*/ virtual void __unk_vfn_67(); + /*73*/ virtual void __unk_vfn_73(); + /*81*/ virtual bool mayPlace(class BlockSource &, class BlockPos const &) const; + /*87*/ virtual void __unk_vfn_87(); + /*88*/ virtual void neighborChanged(class BlockSource &, class BlockPos const &, class BlockPos const &) const; + /*91*/ virtual class ItemInstance getResourceItem(class Random &, class Block const &, int) const; + /*95*/ virtual void __unk_vfn_95(); + /*106*/ virtual bool canSurvive(class BlockSource &, class BlockPos const &) const; + /*109*/ virtual void __unk_vfn_109(); + /*113*/ virtual class Color getMapColor(class BlockSource &, class BlockPos const &) const; + /*116*/ virtual void __unk_vfn_116(); + /*118*/ virtual void __unk_vfn_118(); + /*119*/ virtual void __unk_vfn_119(); + /*128*/ virtual bool isAuxValueRelevantForPicking() const; + /*138*/ virtual class AABB const & getVisualShape(class Block const &, class AABB &, bool) const; + /*142*/ virtual void __unk_vfn_142(); + /*158*/ virtual void __unk_vfn_158(); + /*159*/ virtual class ItemInstance getSilkTouchItemInstance(class Block const &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_WOOLCARPETBLOCK + MCVAPI bool waterSpreadCausesSpawn() const; +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/WorkGoal.hpp b/LiteLoader/Header/MC/WorkGoal.hpp new file mode 100644 index 0000000..bf9ca97 --- /dev/null +++ b/LiteLoader/Header/MC/WorkGoal.hpp @@ -0,0 +1,42 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "MoveToPOIGoal.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class WorkGoal : public MoveToPOIGoal { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_WORKGOAL +public: + class WorkGoal& operator=(class WorkGoal const &) = delete; + WorkGoal(class WorkGoal const &) = delete; + WorkGoal() = delete; +#endif + +public: + /*0*/ virtual ~WorkGoal(); + /*1*/ virtual bool canUse(); + /*2*/ virtual bool canContinueToUse(); + /*3*/ virtual void __unk_vfn_3(); + /*4*/ virtual void start(); + /*5*/ virtual void stop(); + /*6*/ virtual void tick(); + /*7*/ virtual void appendDebugInfo(std::string &) const; + /*8*/ virtual void __unk_vfn_8(); + /*9*/ virtual void __unk_vfn_9(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_WORKGOAL +#endif + +//private: + MCAPI bool _isInsideOrIsNotRaining(); + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/WorkbenchBlock.hpp b/LiteLoader/Header/MC/WorkbenchBlock.hpp new file mode 100644 index 0000000..54d46c3 --- /dev/null +++ b/LiteLoader/Header/MC/WorkbenchBlock.hpp @@ -0,0 +1,60 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "BlockLegacy.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class WorkbenchBlock : public BlockLegacy { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_WORKBENCHBLOCK +public: + class WorkbenchBlock& operator=(class WorkbenchBlock const &) = delete; + WorkbenchBlock(class WorkbenchBlock const &) = delete; + WorkbenchBlock() = delete; +#endif + +public: + /*0*/ virtual ~WorkbenchBlock(); + /*18*/ virtual void __unk_vfn_18(); + /*24*/ virtual void __unk_vfn_24(); + /*25*/ virtual void __unk_vfn_25(); + /*26*/ virtual void __unk_vfn_26(); + /*27*/ virtual void __unk_vfn_27(); + /*28*/ virtual void __unk_vfn_28(); + /*30*/ virtual void __unk_vfn_30(); + /*31*/ virtual void __unk_vfn_31(); + /*32*/ virtual void __unk_vfn_32(); + /*33*/ virtual void __unk_vfn_33(); + /*34*/ virtual void __unk_vfn_34(); + /*35*/ virtual void __unk_vfn_35(); + /*36*/ virtual void __unk_vfn_36(); + /*38*/ virtual void __unk_vfn_38(); + /*39*/ virtual void __unk_vfn_39(); + /*40*/ virtual void __unk_vfn_40(); + /*42*/ virtual void __unk_vfn_42(); + /*43*/ virtual void __unk_vfn_43(); + /*49*/ virtual void __unk_vfn_49(); + /*52*/ virtual void __unk_vfn_52(); + /*67*/ virtual void __unk_vfn_67(); + /*73*/ virtual void __unk_vfn_73(); + /*87*/ virtual void __unk_vfn_87(); + /*95*/ virtual void __unk_vfn_95(); + /*98*/ virtual bool use(class Player &, class BlockPos const &) const; + /*109*/ virtual void __unk_vfn_109(); + /*116*/ virtual void __unk_vfn_116(); + /*118*/ virtual void __unk_vfn_118(); + /*119*/ virtual void __unk_vfn_119(); + /*142*/ virtual void __unk_vfn_142(); + /*158*/ virtual void __unk_vfn_158(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_WORKBENCHBLOCK + MCVAPI bool isCraftingBlock() const; +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/WorkerPool.hpp b/LiteLoader/Header/MC/WorkerPool.hpp new file mode 100644 index 0000000..a343fc9 --- /dev/null +++ b/LiteLoader/Header/MC/WorkerPool.hpp @@ -0,0 +1,44 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Bedrock.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class WorkerPool { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_WORKERPOOL +public: + class WorkerPool& operator=(class WorkerPool const &) = delete; + WorkerPool(class WorkerPool const &) = delete; + WorkerPool() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_WORKERPOOL +#endif + MCAPI WorkerPool(std::string, unsigned __int64, class Bedrock::Threading::OSThreadPriority const &, class std::optional, bool); + MCAPI WorkerPool(std::string, class Scheduler &); + MCAPI void queue(class std::shared_ptr, bool); + MCAPI class std::shared_ptr tryPop(int); + MCAPI ~WorkerPool(); + +//protected: + MCAPI static void _registerPool(class WorkerPool &); + +//private: + MCAPI bool _checkPendingWork(); + +protected: + MCAPI static class SmallSet sAllPools; + MCAPI static class std::mutex sAllPoolsMutex; + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/WorldBlockTarget.hpp b/LiteLoader/Header/MC/WorldBlockTarget.hpp new file mode 100644 index 0000000..5784fb5 --- /dev/null +++ b/LiteLoader/Header/MC/WorldBlockTarget.hpp @@ -0,0 +1,36 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class WorldBlockTarget { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_WORLDBLOCKTARGET +public: + class WorldBlockTarget& operator=(class WorldBlockTarget const &) = delete; + WorldBlockTarget(class WorldBlockTarget const &) = delete; + WorldBlockTarget() = delete; +#endif + +public: + /*0*/ virtual ~WorldBlockTarget(); + /*1*/ virtual class Block const & getBlock(class BlockPos const &) const; + /*2*/ virtual bool hasBiomeTag(unsigned __int64, class BlockPos const &) const; + /*3*/ virtual bool setBlock(class BlockPos const &, class Block const &, int); + /*4*/ virtual bool apply() const; + /*5*/ virtual bool placeStructure(class BlockPos const &, class StructureTemplate &, class StructureSettings &); + /*6*/ virtual bool mayPlace(class BlockPos const &, class Block const &) const; + /*7*/ virtual bool canSurvive(class BlockPos const &, class Block const &) const; + /*8*/ virtual short getMaxHeight() const; + /*9*/ virtual bool shimPlaceForOldFeatures(class Feature const &, class BlockPos const &, class Random &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_WORLDBLOCKTARGET +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/WorldBuilderCommand.hpp b/LiteLoader/Header/MC/WorldBuilderCommand.hpp new file mode 100644 index 0000000..0a6308a --- /dev/null +++ b/LiteLoader/Header/MC/WorldBuilderCommand.hpp @@ -0,0 +1,30 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Command.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class WorldBuilderCommand : public Command { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_WORLDBUILDERCOMMAND +public: + class WorldBuilderCommand& operator=(class WorldBuilderCommand const &) = delete; + WorldBuilderCommand(class WorldBuilderCommand const &) = delete; + WorldBuilderCommand() = delete; +#endif + +public: + /*0*/ virtual ~WorldBuilderCommand(); + /*1*/ virtual void execute(class CommandOrigin const &, class CommandOutput &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_WORLDBUILDERCOMMAND +#endif + MCAPI static void setup(class CommandRegistry &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/WorldChangeTransaction.hpp b/LiteLoader/Header/MC/WorldChangeTransaction.hpp new file mode 100644 index 0000000..8ba7af0 --- /dev/null +++ b/LiteLoader/Header/MC/WorldChangeTransaction.hpp @@ -0,0 +1,31 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class WorldChangeTransaction { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_WORLDCHANGETRANSACTION +public: + class WorldChangeTransaction& operator=(class WorldChangeTransaction const &) = delete; + WorldChangeTransaction(class WorldChangeTransaction const &) = delete; + WorldChangeTransaction() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_WORLDCHANGETRANSACTION +#endif + MCAPI WorldChangeTransaction(class IBlockPlacementTarget &); + MCAPI bool apply() const; + MCAPI class Block const & getBlock(class BlockPos const &) const; + MCAPI void setBlock(class BlockPos const &, class Block const &, int); + MCAPI ~WorldChangeTransaction(); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/WorldGenerator.hpp b/LiteLoader/Header/MC/WorldGenerator.hpp new file mode 100644 index 0000000..22f8496 --- /dev/null +++ b/LiteLoader/Header/MC/WorldGenerator.hpp @@ -0,0 +1,36 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class WorldGenerator { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_WORLDGENERATOR +public: + class WorldGenerator& operator=(class WorldGenerator const &) = delete; + WorldGenerator(class WorldGenerator const &) = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_WORLDGENERATOR + MCVAPI void addHardcodedSpawnAreas(class LevelChunk &); + MCVAPI void debugRender(); +#endif + MCAPI WorldGenerator(); + MCAPI class std::optional searchForBiome(class std::set, class std::allocator> const &, int) const; + MCAPI static enum StructureFeatureType getFeatureId(std::string const &); + MCAPI static class gsl::basic_string_span getFeatureName(enum StructureFeatureType); + +//protected: + MCAPI class BlockPos _searchForValidBiome() const; + +protected: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/WorldHistoryPackSource.hpp b/LiteLoader/Header/MC/WorldHistoryPackSource.hpp new file mode 100644 index 0000000..b492ee3 --- /dev/null +++ b/LiteLoader/Header/MC/WorldHistoryPackSource.hpp @@ -0,0 +1,41 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class WorldHistoryPackSource { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_WORLDHISTORYPACKSOURCE +public: + class WorldHistoryPackSource& operator=(class WorldHistoryPackSource const &) = delete; + WorldHistoryPackSource(class WorldHistoryPackSource const &) = delete; + WorldHistoryPackSource() = delete; +#endif + +public: + /*0*/ virtual ~WorldHistoryPackSource(); + /*1*/ virtual void __unk_vfn_1(); + /*2*/ virtual void __unk_vfn_2(); + /*3*/ virtual enum PackOrigin getPackOrigin() const; + /*4*/ virtual enum PackType getPackType() const; + /*5*/ virtual class PackSourceReport load(class PackManifestFactory &, class IContentKeyProvider const &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_WORLDHISTORYPACKSOURCE + MCVAPI void forEachPack(class std::function); + MCVAPI void forEachPackConst(class std::function) const; +#endif + +//private: + MCAPI void _addPackFromHistoryPack(class WorldPackHistory const &); + MCAPI std::unique_ptr _createPackFromHistoryPack(class WorldPackHistory const &); + MCAPI bool _readWorldHistoryFile(); + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/WorldLimitChunkSource.hpp b/LiteLoader/Header/MC/WorldLimitChunkSource.hpp new file mode 100644 index 0000000..8cfea6f --- /dev/null +++ b/LiteLoader/Header/MC/WorldLimitChunkSource.hpp @@ -0,0 +1,34 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "ChunkSource.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class WorldLimitChunkSource : public ChunkSource { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_WORLDLIMITCHUNKSOURCE +public: + class WorldLimitChunkSource& operator=(class WorldLimitChunkSource const &) = delete; + WorldLimitChunkSource(class WorldLimitChunkSource const &) = delete; + WorldLimitChunkSource() = delete; +#endif + +public: + /*0*/ virtual ~WorldLimitChunkSource(); + /*1*/ virtual void shutdown(); + /*3*/ virtual class std::shared_ptr getExistingChunk(class ChunkPos const &); + /*5*/ virtual class std::shared_ptr createNewChunk(class ChunkPos const &, enum ChunkSource::LoadMode); + /*17*/ virtual bool isWithinWorldLimit(class ChunkPos const &) const; + /*21*/ virtual bool canCreateViews() const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_WORLDLIMITCHUNKSOURCE +#endif + MCAPI WorldLimitChunkSource(std::unique_ptr, class BlockPos const &, int, int); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/WorldPackHistory.hpp b/LiteLoader/Header/MC/WorldPackHistory.hpp new file mode 100644 index 0000000..31ae20f --- /dev/null +++ b/LiteLoader/Header/MC/WorldPackHistory.hpp @@ -0,0 +1,30 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Json.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class WorldPackHistory { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_WORLDPACKHISTORY +public: + class WorldPackHistory& operator=(class WorldPackHistory const &) = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_WORLDPACKHISTORY +#endif + MCAPI WorldPackHistory(class WorldPackHistory &&); + MCAPI WorldPackHistory(); + MCAPI WorldPackHistory(class WorldPackHistory const &); + MCAPI bool initializeFromJson(class Json::Value const &); + MCAPI ~WorldPackHistory(); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/WorldPacksHistoryFile.hpp b/LiteLoader/Header/MC/WorldPacksHistoryFile.hpp new file mode 100644 index 0000000..a64f2d2 --- /dev/null +++ b/LiteLoader/Header/MC/WorldPacksHistoryFile.hpp @@ -0,0 +1,28 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Json.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class WorldPacksHistoryFile { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_WORLDPACKSHISTORYFILE +public: + class WorldPacksHistoryFile& operator=(class WorldPacksHistoryFile const &) = delete; + WorldPacksHistoryFile(class WorldPacksHistoryFile const &) = delete; + WorldPacksHistoryFile() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_WORLDPACKSHISTORYFILE +#endif + MCAPI enum WorldPacksHistoryFile::ParseResult initializeFromJson(class Json::Value const &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/WorldSessionEndPoint.hpp b/LiteLoader/Header/MC/WorldSessionEndPoint.hpp new file mode 100644 index 0000000..d0ba105 --- /dev/null +++ b/LiteLoader/Header/MC/WorldSessionEndPoint.hpp @@ -0,0 +1,33 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class WorldSessionEndPoint { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_WORLDSESSIONENDPOINT +public: + class WorldSessionEndPoint& operator=(class WorldSessionEndPoint const &) = delete; + WorldSessionEndPoint(class WorldSessionEndPoint const &) = delete; + WorldSessionEndPoint() = delete; +#endif + +public: + /*0*/ virtual ~WorldSessionEndPoint(); + /*1*/ virtual void flush(); + /*2*/ virtual void __unk_vfn_2(); + /*3*/ virtual void setEnabled(bool); + /*4*/ virtual bool isEnabled() const; + /*5*/ virtual void log(enum LogArea, enum LogLevel, char const *); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_WORLDSESSIONENDPOINT +#endif + MCAPI WorldSessionEndPoint(class IMinecraftEventing &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/WorldTemplateInfo.hpp b/LiteLoader/Header/MC/WorldTemplateInfo.hpp new file mode 100644 index 0000000..b592574 --- /dev/null +++ b/LiteLoader/Header/MC/WorldTemplateInfo.hpp @@ -0,0 +1,28 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA +#include "NetworkHandler.hpp" + +#undef BEFORE_EXTRA + +struct WorldTemplateInfo { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_WORLDTEMPLATEINFO +public: + struct WorldTemplateInfo& operator=(struct WorldTemplateInfo const &) = delete; + WorldTemplateInfo(struct WorldTemplateInfo const &) = delete; + WorldTemplateInfo() = delete; +#endif +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_WORLDTEMPLATEINFO +#endif + MCAPI WorldTemplateInfo(class WorldTemplatePackManifest const &); + MCAPI ~WorldTemplateInfo(); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/WorldTemplateLevelData.hpp b/LiteLoader/Header/MC/WorldTemplateLevelData.hpp new file mode 100644 index 0000000..4dcd573 --- /dev/null +++ b/LiteLoader/Header/MC/WorldTemplateLevelData.hpp @@ -0,0 +1,34 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class WorldTemplateLevelData { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_WORLDTEMPLATELEVELDATA +public: + class WorldTemplateLevelData& operator=(class WorldTemplateLevelData const &) = delete; + WorldTemplateLevelData(class WorldTemplateLevelData const &) = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_WORLDTEMPLATELEVELDATA +#endif + MCAPI WorldTemplateLevelData(); + MCAPI WorldTemplateLevelData(bool, bool, class BaseGameVersion const &); + MCAPI ~WorldTemplateLevelData(); + +//protected: + MCAPI void _getTagData(class CompoundTag const &); + MCAPI void _setTagData(class CompoundTag &) const; + +protected: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/WorldTemplateManager.hpp b/LiteLoader/Header/MC/WorldTemplateManager.hpp new file mode 100644 index 0000000..4babe94 --- /dev/null +++ b/LiteLoader/Header/MC/WorldTemplateManager.hpp @@ -0,0 +1,35 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class WorldTemplateManager { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_WORLDTEMPLATEMANAGER +public: + class WorldTemplateManager& operator=(class WorldTemplateManager const &) = delete; + WorldTemplateManager(class WorldTemplateManager const &) = delete; + WorldTemplateManager() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_WORLDTEMPLATEMANAGER +#endif + MCAPI struct WorldTemplateInfo const * findInstalledWorldTemplate(struct PackIdVersion const &) const; + MCAPI ~WorldTemplateManager(); + +//private: + MCAPI void _initialize(); + MCAPI void _initializePackSources(); + MCAPI void _onDiscoverWorldTemplate(class Pack const &); + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/WorldTemplateManagerProxyCallbacks.hpp b/LiteLoader/Header/MC/WorldTemplateManagerProxyCallbacks.hpp new file mode 100644 index 0000000..450b98c --- /dev/null +++ b/LiteLoader/Header/MC/WorldTemplateManagerProxyCallbacks.hpp @@ -0,0 +1,27 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class WorldTemplateManagerProxyCallbacks { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_WORLDTEMPLATEMANAGERPROXYCALLBACKS +public: + class WorldTemplateManagerProxyCallbacks& operator=(class WorldTemplateManagerProxyCallbacks const &) = delete; + WorldTemplateManagerProxyCallbacks(class WorldTemplateManagerProxyCallbacks const &) = delete; + WorldTemplateManagerProxyCallbacks() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_WORLDTEMPLATEMANAGERPROXYCALLBACKS +#endif + MCAPI ~WorldTemplateManagerProxyCallbacks(); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/WorldTemplatePackManifest.hpp b/LiteLoader/Header/MC/WorldTemplatePackManifest.hpp new file mode 100644 index 0000000..7031514 --- /dev/null +++ b/LiteLoader/Header/MC/WorldTemplatePackManifest.hpp @@ -0,0 +1,28 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class WorldTemplatePackManifest { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_WORLDTEMPLATEPACKMANIFEST +public: + class WorldTemplatePackManifest& operator=(class WorldTemplatePackManifest const &) = delete; + WorldTemplatePackManifest(class WorldTemplatePackManifest const &) = delete; + WorldTemplatePackManifest() = delete; +#endif + +public: + /*0*/ virtual ~WorldTemplatePackManifest(); + /*1*/ virtual std::unique_ptr clone() const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_WORLDTEMPLATEPACKMANIFEST +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/WorldTemplatePackSource.hpp b/LiteLoader/Header/MC/WorldTemplatePackSource.hpp new file mode 100644 index 0000000..bffb4c0 --- /dev/null +++ b/LiteLoader/Header/MC/WorldTemplatePackSource.hpp @@ -0,0 +1,32 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class WorldTemplatePackSource { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_WORLDTEMPLATEPACKSOURCE +public: + class WorldTemplatePackSource& operator=(class WorldTemplatePackSource const &) = delete; + WorldTemplatePackSource(class WorldTemplatePackSource const &) = delete; + WorldTemplatePackSource() = delete; +#endif + +public: + /*0*/ virtual ~WorldTemplatePackSource(); + /*1*/ virtual void __unk_vfn_1(); + /*2*/ virtual void __unk_vfn_2(); + /*3*/ virtual void __unk_vfn_3(); + /*4*/ virtual void __unk_vfn_4(); + /*5*/ virtual class PackSourceReport load(class PackManifestFactory &, class IContentKeyProvider const &); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_WORLDTEMPLATEPACKSOURCE +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/WritableBookItem.hpp b/LiteLoader/Header/MC/WritableBookItem.hpp new file mode 100644 index 0000000..e031c4d --- /dev/null +++ b/LiteLoader/Header/MC/WritableBookItem.hpp @@ -0,0 +1,52 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Item.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class WritableBookItem : public Item { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_WRITABLEBOOKITEM +public: + class WritableBookItem& operator=(class WritableBookItem const &) = delete; + WritableBookItem(class WritableBookItem const &) = delete; + WritableBookItem() = delete; +#endif + +public: + /*0*/ virtual ~WritableBookItem(); + /*5*/ virtual void __unk_vfn_5(); + /*26*/ virtual void __unk_vfn_26(); + /*27*/ virtual void __unk_vfn_27(); + /*31*/ virtual void __unk_vfn_31(); + /*32*/ virtual void __unk_vfn_32(); + /*34*/ virtual void __unk_vfn_34(); + /*37*/ virtual void __unk_vfn_37(); + /*43*/ virtual void __unk_vfn_43(); + /*46*/ virtual void __unk_vfn_46(); + /*47*/ virtual void __unk_vfn_47(); + /*49*/ virtual void __unk_vfn_49(); + /*50*/ virtual void __unk_vfn_50(); + /*56*/ virtual class ItemStack & use(class ItemStack &, class Player &) const; + /*79*/ virtual void __unk_vfn_79(); + /*80*/ virtual void __unk_vfn_80(); + /*82*/ virtual std::string getInteractText(class Player const &) const; + /*90*/ virtual void __unk_vfn_90(); + /*97*/ virtual void __unk_vfn_97(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_WRITABLEBOOKITEM + MCVAPI bool requiresInteract() const; +#endif + MCAPI static void addPageAt(class ItemStack &, int, struct PageContent const &); + MCAPI static struct PageContent deletePage(class ItemStack &, int); + MCAPI static void replacePage(class ItemStack &, int, struct PageContent const &); + MCAPI static void signBook(class ItemStack &, std::string, std::string, std::string); + MCAPI static void swapPages(class ItemStack &, int, int); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/WrittenBookItem.hpp b/LiteLoader/Header/MC/WrittenBookItem.hpp new file mode 100644 index 0000000..28f1ce1 --- /dev/null +++ b/LiteLoader/Header/MC/WrittenBookItem.hpp @@ -0,0 +1,65 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Item.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class WrittenBookItem : public Item { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_WRITTENBOOKITEM +public: + class WrittenBookItem& operator=(class WrittenBookItem const &) = delete; + WrittenBookItem(class WrittenBookItem const &) = delete; + WrittenBookItem() = delete; +#endif + +public: + /*0*/ virtual ~WrittenBookItem(); + /*5*/ virtual void __unk_vfn_5(); + /*26*/ virtual void __unk_vfn_26(); + /*27*/ virtual void __unk_vfn_27(); + /*29*/ virtual bool isGlint(class ItemStackBase const &) const; + /*31*/ virtual void __unk_vfn_31(); + /*32*/ virtual void __unk_vfn_32(); + /*34*/ virtual void __unk_vfn_34(); + /*37*/ virtual void __unk_vfn_37(); + /*38*/ virtual void appendFormattedHovertext(class ItemStackBase const &, class Level &, std::string &, bool) const; + /*43*/ virtual void __unk_vfn_43(); + /*46*/ virtual void __unk_vfn_46(); + /*47*/ virtual void __unk_vfn_47(); + /*49*/ virtual void __unk_vfn_49(); + /*50*/ virtual void __unk_vfn_50(); + /*56*/ virtual class ItemStack & use(class ItemStack &, class Player &) const; + /*65*/ virtual std::string buildDescriptionId(class ItemDescriptor const &, class CompoundTag const *) const; + /*79*/ virtual void __unk_vfn_79(); + /*80*/ virtual void __unk_vfn_80(); + /*82*/ virtual std::string getInteractText(class Player const &) const; + /*90*/ virtual void __unk_vfn_90(); + /*97*/ virtual void __unk_vfn_97(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_WRITTENBOOKITEM + MCVAPI bool requiresInteract() const; +#endif + MCAPI static int const MAX_PAGES; + MCAPI static int const MAX_PAGE_LENGTH; + MCAPI static int const MAX_TITLE_LENGTH; + MCAPI static class gsl::basic_string_span const TAG_AUTHOR; + MCAPI static class gsl::basic_string_span const TAG_GENERATION; + MCAPI static class gsl::basic_string_span const TAG_ID; + MCAPI static class gsl::basic_string_span const TAG_PAGES; + MCAPI static class gsl::basic_string_span const TAG_PAGE_PHOTO_NAME; + MCAPI static class gsl::basic_string_span const TAG_PAGE_TEXT; + MCAPI static class gsl::basic_string_span const TAG_RESOLVED; + MCAPI static class gsl::basic_string_span const TAG_TITLE; + MCAPI static class gsl::basic_string_span const TAG_XUID; + MCAPI static int getGeneration(class CompoundTag const *); + MCAPI static int getPageCount(class ItemStack const &); + MCAPI static std::vector getPages(class ItemStack const &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/XPCommand.hpp b/LiteLoader/Header/MC/XPCommand.hpp new file mode 100644 index 0000000..0eb2f8c --- /dev/null +++ b/LiteLoader/Header/MC/XPCommand.hpp @@ -0,0 +1,30 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Command.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class XPCommand : public Command { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_XPCOMMAND +public: + class XPCommand& operator=(class XPCommand const &) = delete; + XPCommand(class XPCommand const &) = delete; + XPCommand() = delete; +#endif + +public: + /*0*/ virtual ~XPCommand(); + /*1*/ virtual void execute(class CommandOrigin const &, class CommandOutput &) const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_XPCOMMAND +#endif + MCAPI static void setup(class CommandRegistry &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ZipPackAccessStrategy.hpp b/LiteLoader/Header/MC/ZipPackAccessStrategy.hpp new file mode 100644 index 0000000..91311d5 --- /dev/null +++ b/LiteLoader/Header/MC/ZipPackAccessStrategy.hpp @@ -0,0 +1,52 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Core.hpp" +#include "PackAccessStrategy.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ZipPackAccessStrategy : public PackAccessStrategy { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ZIPPACKACCESSSTRATEGY +public: + class ZipPackAccessStrategy& operator=(class ZipPackAccessStrategy const &) = delete; + ZipPackAccessStrategy(class ZipPackAccessStrategy const &) = delete; + ZipPackAccessStrategy() = delete; +#endif + +public: + /*0*/ virtual ~ZipPackAccessStrategy(); + /*1*/ virtual unsigned __int64 getPackSize() const; + /*2*/ virtual class ResourceLocation const & getPackLocation() const; + /*3*/ virtual std::string const & getPackName() const; + /*4*/ virtual bool isWritable() const; + /*5*/ virtual void setIsTrusted(bool); + /*6*/ virtual bool isTrusted() const; + /*7*/ virtual bool hasAsset(class Core::Path const &, bool) const; + /*8*/ virtual bool hasFolder(class Core::Path const &) const; + /*9*/ virtual bool getAsset(class Core::Path const &, std::string &, bool) const; + /*10*/ virtual bool deleteAsset(class Core::PathBuffer const &); + /*11*/ virtual bool writeAsset(class Core::Path const &, std::string const &); + /*12*/ virtual void forEachIn(class Core::Path const &, class std::function, bool) const; + /*14*/ virtual enum PackAccessStrategyType getStrategyType() const; + /*15*/ virtual class Core::PathBuffer const & getSubPath() const; + /*16*/ virtual std::unique_ptr createSubPack(class Core::Path const &) const; + /*19*/ virtual void unload(); + /*21*/ virtual class ContentIdentity readContentIdentity() const; +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ZIPPACKACCESSSTRATEGY +#endif + MCAPI ZipPackAccessStrategy(class IFileAccess &, class ResourceLocation const &, class Core::Path const &); + +//private: + MCAPI bool _tryReadFromPendingQueue(class Core::Path const &, std::string &) const; + +private: + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ZipPackAccessStrategyOwningFileAcccess.hpp b/LiteLoader/Header/MC/ZipPackAccessStrategyOwningFileAcccess.hpp new file mode 100644 index 0000000..5627d6c --- /dev/null +++ b/LiteLoader/Header/MC/ZipPackAccessStrategyOwningFileAcccess.hpp @@ -0,0 +1,30 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Core.hpp" +#include "ZipPackAccessStrategy.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ZipPackAccessStrategyOwningFileAcccess : public ZipPackAccessStrategy { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ZIPPACKACCESSSTRATEGYOWNINGFILEACCCESS +public: + class ZipPackAccessStrategyOwningFileAcccess& operator=(class ZipPackAccessStrategyOwningFileAcccess const &) = delete; + ZipPackAccessStrategyOwningFileAcccess(class ZipPackAccessStrategyOwningFileAcccess const &) = delete; + ZipPackAccessStrategyOwningFileAcccess() = delete; +#endif + +public: + /*0*/ virtual ~ZipPackAccessStrategyOwningFileAcccess(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ZIPPACKACCESSSTRATEGYOWNINGFILEACCCESS +#endif + MCAPI ZipPackAccessStrategyOwningFileAcccess(class std::shared_ptr, class ResourceLocation const &, class Core::Path const &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ZlibFileAccessWrapper.hpp b/LiteLoader/Header/MC/ZlibFileAccessWrapper.hpp new file mode 100644 index 0000000..fd64b44 --- /dev/null +++ b/LiteLoader/Header/MC/ZlibFileAccessWrapper.hpp @@ -0,0 +1,28 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ZlibFileAccessWrapper { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ZLIBFILEACCESSWRAPPER +public: + class ZlibFileAccessWrapper& operator=(class ZlibFileAccessWrapper const &) = delete; + ZlibFileAccessWrapper(class ZlibFileAccessWrapper const &) = delete; + ZlibFileAccessWrapper() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ZLIBFILEACCESSWRAPPER +#endif + MCAPI ZlibFileAccessWrapper(class IFileAccess *); + MCAPI ~ZlibFileAccessWrapper(); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/Zombie.hpp b/LiteLoader/Header/MC/Zombie.hpp new file mode 100644 index 0000000..a042e9a --- /dev/null +++ b/LiteLoader/Header/MC/Zombie.hpp @@ -0,0 +1,67 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Actor.hpp" +#include "HumanoidMonster.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class Zombie : public HumanoidMonster { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ZOMBIE +public: + class Zombie& operator=(class Zombie const &) = delete; + Zombie(class Zombie const &) = delete; + Zombie() = delete; +#endif + +public: + /*1*/ virtual void reloadHardcoded(enum Actor::InitializationMethod, class VariantParameterList const &); + /*7*/ virtual ~Zombie(); + /*30*/ virtual void __unk_vfn_30(); + /*43*/ virtual float getRidingHeight(); + /*54*/ virtual void __unk_vfn_54(); + /*61*/ virtual void __unk_vfn_61(); + /*76*/ virtual void __unk_vfn_76(); + /*81*/ virtual void __unk_vfn_81(); + /*88*/ virtual void __unk_vfn_88(); + /*90*/ virtual void __unk_vfn_90(); + /*98*/ virtual void __unk_vfn_98(); + /*100*/ virtual void __unk_vfn_100(); + /*121*/ virtual void __unk_vfn_121(); + /*169*/ virtual void __unk_vfn_169(); + /*179*/ virtual bool canPickupItem(class ItemStack const &) const; + /*182*/ virtual void __unk_vfn_182(); + /*206*/ virtual void __unk_vfn_206(); + /*207*/ virtual void __unk_vfn_207(); + /*228*/ virtual void __unk_vfn_228(); + /*231*/ virtual void __unk_vfn_231(); + /*233*/ virtual void die(class ActorDamageSource const &); + /*238*/ virtual void __unk_vfn_238(); + /*246*/ virtual void __unk_vfn_246(); + /*257*/ virtual void __unk_vfn_257(); + /*282*/ virtual bool checkSpawnRules(bool); + /*290*/ virtual void __unk_vfn_290(); + /*300*/ virtual void __unk_vfn_300(); + /*305*/ virtual int getArmorValue(); + /*332*/ virtual void __unk_vfn_332(); + /*348*/ virtual void __unk_vfn_348(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ZOMBIE + MCVAPI bool useNewAi() const; +#endif + MCAPI Zombie(class ActorDefinitionGroup *, struct ActorDefinitionIdentifier const &); + MCAPI void setZombieType(enum Zombie::ZombieType); + +//protected: + +protected: + MCAPI static class mce::UUID const SPAWN_BONUS_UUID; + MCAPI static class Attribute const SPAWN_REINFORCEMENTS_CHANCE; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/ZombieVillager.hpp b/LiteLoader/Header/MC/ZombieVillager.hpp new file mode 100644 index 0000000..2cfb896 --- /dev/null +++ b/LiteLoader/Header/MC/ZombieVillager.hpp @@ -0,0 +1,56 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "Actor.hpp" +#include "Zombie.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class ZombieVillager : public Zombie { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_ZOMBIEVILLAGER +public: + class ZombieVillager& operator=(class ZombieVillager const &) = delete; + ZombieVillager(class ZombieVillager const &) = delete; + ZombieVillager() = delete; +#endif + +public: + /*1*/ virtual void reloadHardcoded(enum Actor::InitializationMethod, class VariantParameterList const &); + /*7*/ virtual ~ZombieVillager(); + /*30*/ virtual void __unk_vfn_30(); + /*54*/ virtual void __unk_vfn_54(); + /*61*/ virtual void __unk_vfn_61(); + /*76*/ virtual void __unk_vfn_76(); + /*81*/ virtual void __unk_vfn_81(); + /*88*/ virtual void __unk_vfn_88(); + /*90*/ virtual void __unk_vfn_90(); + /*98*/ virtual void __unk_vfn_98(); + /*100*/ virtual void __unk_vfn_100(); + /*121*/ virtual void __unk_vfn_121(); + /*132*/ virtual void handleEntityEvent(enum ActorEvent, int); + /*169*/ virtual void __unk_vfn_169(); + /*182*/ virtual void __unk_vfn_182(); + /*206*/ virtual void __unk_vfn_206(); + /*207*/ virtual void __unk_vfn_207(); + /*228*/ virtual void __unk_vfn_228(); + /*231*/ virtual void __unk_vfn_231(); + /*238*/ virtual void __unk_vfn_238(); + /*242*/ virtual void readAdditionalSaveData(class CompoundTag const &, class DataLoadHelper &); + /*243*/ virtual void addAdditionalSaveData(class CompoundTag &); + /*246*/ virtual void __unk_vfn_246(); + /*257*/ virtual void __unk_vfn_257(); + /*290*/ virtual void __unk_vfn_290(); + /*300*/ virtual void __unk_vfn_300(); + /*332*/ virtual void __unk_vfn_332(); + /*348*/ virtual void __unk_vfn_348(); +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_ZOMBIEVILLAGER +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/_ProfilerLiteTimer.hpp b/LiteLoader/Header/MC/_ProfilerLiteTimer.hpp new file mode 100644 index 0000000..5247814 --- /dev/null +++ b/LiteLoader/Header/MC/_ProfilerLiteTimer.hpp @@ -0,0 +1,29 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" +#include "ProfilerLite.hpp" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class _ProfilerLiteTimer { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION__PROFILERLITETIMER +public: + class _ProfilerLiteTimer& operator=(class _ProfilerLiteTimer const &) = delete; + _ProfilerLiteTimer(class _ProfilerLiteTimer const &) = delete; + _ProfilerLiteTimer() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL__PROFILERLITETIMER +#endif + MCAPI _ProfilerLiteTimer(struct ProfilerLite::ScopedData &, class std::thread::id); + MCAPI ~_ProfilerLiteTimer(); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/_TickPtr.hpp b/LiteLoader/Header/MC/_TickPtr.hpp new file mode 100644 index 0000000..85c8f82 --- /dev/null +++ b/LiteLoader/Header/MC/_TickPtr.hpp @@ -0,0 +1,26 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class _TickPtr { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION__TICKPTR +public: + class _TickPtr& operator=(class _TickPtr const &) = delete; + _TickPtr(class _TickPtr const &) = delete; + _TickPtr() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL__TICKPTR +#endif + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/glTFExporter.hpp b/LiteLoader/Header/MC/glTFExporter.hpp new file mode 100644 index 0000000..abbcbd7 --- /dev/null +++ b/LiteLoader/Header/MC/glTFExporter.hpp @@ -0,0 +1,30 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +class glTFExporter { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA +#ifndef DISABLE_CONSTRUCTOR_PREVENTION_GLTFEXPORTER +public: + class glTFExporter& operator=(class glTFExporter const &) = delete; + glTFExporter(class glTFExporter const &) = delete; + glTFExporter() = delete; +#endif + +public: +#ifdef ENABLE_VIRTUAL_FAKESYMBOL_GLTFEXPORTER +#endif + MCAPI static class gsl::basic_string_span const BINARY_EXTENSION; + MCAPI static class gsl::basic_string_span const GLB_BUFFER_URI; + MCAPI static class gsl::basic_string_span const GLB_EXTENSION; + MCAPI static class gsl::basic_string_span const GLTF_EXTENSION; + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/persona.hpp b/LiteLoader/Header/MC/persona.hpp new file mode 100644 index 0000000..4fadfd8 --- /dev/null +++ b/LiteLoader/Header/MC/persona.hpp @@ -0,0 +1,32 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +namespace persona { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA + MCAPI extern std::string const ANIMATED_128X128_NAME; + MCAPI extern std::string const ANIMATED_128X128_TEXTURE_CONTROLLER_FIRST_PERSON; + MCAPI extern std::string const ANIMATED_128X128_TEXTURE_CONTROLLER_THIRD_PERSON; + MCAPI extern std::string const ANIMATED_128X128_TEXTURE_FRAMES_VARIABLE; + MCAPI extern std::string const ANIMATED_32X32_NAME; + MCAPI extern std::string const ANIMATED_32X32_TEXTURE_CONTROLLER_FIRST_PERSON; + MCAPI extern std::string const ANIMATED_32X32_TEXTURE_CONTROLLER_THIRD_PERSON; + MCAPI extern std::string const ANIMATED_32X32_TEXTURE_FRAMES_VARIABLE; + MCAPI extern std::string const ANIMATED_FACE_CONTROLLER_FIRST_PERSON; + MCAPI extern std::string const ANIMATED_FACE_CONTROLLER_THIRD_PERSON; + MCAPI extern std::string const ANIMATED_FACE_NAME; + MCAPI extern class mce::UUID const NONE_PIECE_ID; + MCAPI extern std::string const NONE_PIECE_PATH; + MCAPI extern class mce::UUID const NO_PIECE_SELECTED; + MCAPI enum persona::PieceType pieceTypeFromString(std::string const &); + MCAPI std::string const & stringFromPieceType(enum persona::PieceType, bool); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/MC/port.hpp b/LiteLoader/Header/MC/port.hpp new file mode 100644 index 0000000..ad2819b --- /dev/null +++ b/LiteLoader/Header/MC/port.hpp @@ -0,0 +1,17 @@ +// This Header is auto generated by BDSLiteLoader Toolchain +#pragma once +#define AUTO_GENERATED +#include "../Global.h" + +#define BEFORE_EXTRA + +#undef BEFORE_EXTRA + +namespace port { + +#define AFTER_EXTRA + +#undef AFTER_EXTRA + MCAPI class std::basic_string, class std::allocator> toFilePath(std::string const &); + +}; \ No newline at end of file diff --git a/LiteLoader/Header/PERM/Foundation.hpp b/LiteLoader/Header/PERM/Foundation.hpp new file mode 100644 index 0000000..2a4c064 --- /dev/null +++ b/LiteLoader/Header/PERM/Foundation.hpp @@ -0,0 +1,341 @@ +/** + * @file Foundation.hpp + * @author LiteLDev (https://github.com/LiteLDev) + * @brief Foundation data classes for PermissionAPI + * + * @copyright Copyright (c) 2021-present LiteLoaderBDS developers and all contributors + * + */ +#pragma once +#include + +namespace PERM { + + /** + * @brief Vector for Members. + * + * @tparam T Type of the elements in the vector. + */ + template + class PermVector : public std::vector { + + using Base = std::vector; + + public: + PermVector() + : Base() { + } + PermVector(const Base& base) + : Base(base) { + } + PermVector(Base&& base) + : Base(base) { + } + PermVector(const PermVector& other) = default; + PermVector(PermVector&& other) = default; + + bool contains(const T& xuid) const { + for (auto& member : *this) { + if (member == xuid) { + return true; + } + } + return false; + } + + size_t count(const T& xuid) const { + size_t result = 0; + for (auto& member : *this) { + if (member == xuid) { + result++; + } + } + return result; + } + + T& push_back(const T& xuid) { + if (contains(xuid)) { + throw std::out_of_range("Failed to add the element: the element already exists"); + } + Base::push_back(xuid); + return this->back(); + } + + template + T& emplace_back(Args&&... args) { + return this->push_back(T(std::forward(args)...)); + } + + PermVector& operator=(const Base& other) { + return (PermVector&)(((Base&)*this) = other); + } + PermVector& operator=(const PermVector& other) = default; + PermVector& operator=(PermVector&& other) = default; + }; + + /** + * @brief Vector for PermInfoList. + * + * @tparam T Type of the elements in the vector(object with field `name`). + */ + template + class PermContainer : public std::vector { + + using Base = std::vector; + + public: + PermContainer() + : Base() { + } + PermContainer(const Base& base) + : Base(base) { + } + PermContainer(Base&& base) + : Base(base) { + } + PermContainer(const PermContainer& other) = default; + PermContainer(PermContainer&& other) = default; + + bool contains(const std::string& name) const { + for (auto& el : *this) { + if (el.name == name) { + return true; + } + } + return false; + } + + typename Base::iterator find(const std::string& name) { + for (auto it = this->begin(); it != this->end(); it++) { + if (it->name == name) { + return it; + } + } + return this->end(); + } + + typename Base::const_iterator find(const std::string& name) const { + for (auto it = this->begin(); it != this->end(); it++) { + if (it->name == name) { + return it; + } + } + return this->end(); + } + + size_t count(const std::string& name) const { + size_t result = 0; + for (auto& el : *this) { + if (el.name == name) { + result++; + } + } + return result; + } + + template + T& getOrCreate(const std::string& name, Args&&... args) { + for (auto& el : *this) { + if (el.name == name) { + return el; + } + } + auto& el = this->emplace_back(args...); + return el; + } + + T& at(const std::string& name) { + for (auto& el : *this) { + if (el.name == name) { + return el; + } + } + throw std::out_of_range("Failed to get the element: the element does not exist"); + } + const T& at(const std::string& name) const { + for (auto& el : *this) { + if (el.name == name) { + return el; + } + } + throw std::out_of_range("Failed to get the element: the element does not exist"); + } + + T& push_back(const T& el) { + if (contains(el.name)) { + throw std::out_of_range("Failed to add the element: the element with the same name already exists"); + } + Base::push_back(el); + return this->back(); + } + + template + T& emplace_back(Args&&... args) { + Base::emplace_back(std::forward(args)...); + if (count(this->back().name) > 1) { + this->pop_back(); + throw std::out_of_range("Failed to add the element: the element with the same name already exists"); + } + return this->back(); + } + + void remove(const std::string& name) { + for (auto it = this->begin(); it != this->end(); it++) { + if (it->name == name) { + this->erase(it); + return; + } + } + throw std::out_of_range("Failed to remove the element: the target element does not exist"); + } + + T& operator[](const std::string& name) { + T def{}; + def.name = name; + return this->getOrCreate(name, def); + } + + PermContainer& operator=(const PermContainer& other) = default; + PermContainer& operator=(PermContainer&& other) = default; + PermContainer& operator=(const Base& other) { + return (PermContainer&)(((Base&)*this) = other); + } + }; + + /** + * @brief Vector for Roles. + * + * @tparam T Type of the elements in the vector(object with field `name`). + */ + template + class PermPtrContainer : public std::vector> { + + using Base = std::vector>; + + public: + PermPtrContainer() + : Base() { + } + PermPtrContainer(const Base& base) + : Base(base) { + } + PermPtrContainer(Base&& base) + : Base(base) { + } + PermPtrContainer(const PermPtrContainer& other) = default; + PermPtrContainer(PermPtrContainer&& other) = default; + + bool contains(const std::string& name) const { + for (auto& el : *this) { + if (el->name == name) { + return true; + } + } + return false; + } + + typename Base::iterator find(const std::string& name) { + for (auto it = this->begin(); it != this->end(); it++) { + if (it->name == name) { + return it; + } + } + return this->end(); + } + + typename Base::const_iterator find(const std::string& name) const { + for (auto it = this->begin(); it != this->end(); it++) { + if (it->name == name) { + return it; + } + } + return this->end(); + } + + size_t count(const std::string& name) const { + size_t result = 0; + for (auto& el : *this) { + if (el->name == name) { + result++; + } + } + return result; + } + + template + std::shared_ptr& getOrCreate(const std::string& name, Args&&... args) { + for (auto& el : *this) { + if (el->name == name) { + return el; + } + } + auto& el = this->emplace_back(args...); + return el; + } + + std::shared_ptr& at(const std::string& name) { + for (auto& el : *this) { + if (el->name == name) { + return el; + } + } + throw std::out_of_range("Failed to get the element: the element does not exist"); + } + const std::shared_ptr& at(const std::string& name) const { + for (auto& el : *this) { + if (el->name == name) { + return el; + } + } + throw std::out_of_range("Failed to get the element: the element does not exist"); + } + + T& push_back(const T& el) { + if (contains(el->name)) { + throw std::out_of_range("Failed to add the element: the element with the same name already exists"); + } + Base::push_back(std::make_shared(el)); + return *this->back(); + } + std::shared_ptr& push_back(const std::shared_ptr& el) { + if (contains(el->name)) { + throw std::out_of_range("Failed to add the element: the element with the same name already exists"); + } + Base::push_back(el); + return this->back(); + } + + template + std::shared_ptr& emplace_back(Args&&... args) { + Base::emplace_back(std::forward(args)...); + if (count(this->back()->name) > 1) { + this->pop_back(); + throw std::out_of_range("Failed to add the element: the element with the same name already exists"); + } + return this->back(); + } + + void remove(const std::string& name) { + for (auto it = this->begin(); it != this->end(); it++) { + if ((*it)->name == name) { + this->erase(it); + return; + } + } + throw std::out_of_range("Failed to remove the element: the target element does not exist"); + } + + std::shared_ptr& operator[](const std::string& name) { + auto def = std::make_shared(new T); + def->name = name; + return this->getOrCreate(name, def); + } + + PermPtrContainer& operator=(const PermPtrContainer& other) = default; + PermPtrContainer& operator=(PermPtrContainer&& other) = default; + PermPtrContainer& operator=(const Base& other) { + return (PermPtrContainer&)(((Base&)*this) = other); + } + }; + +} // namespace PERM \ No newline at end of file diff --git a/LiteLoader/Header/PERM/Member.hpp b/LiteLoader/Header/PERM/Member.hpp new file mode 100644 index 0000000..acbae84 --- /dev/null +++ b/LiteLoader/Header/PERM/Member.hpp @@ -0,0 +1,16 @@ +/** + * @file Members.hpp + * @author LiteLDev (https://github.com/LiteLDev) + * @brief Member type for PermissionAPI + * + * @copyright Copyright (c) 2021-present LiteLoaderBDS developers and all contributors + * + */ +#pragma once +#include "Foundation.hpp" + +namespace PERM { + + using Members = PermVector; + +} \ No newline at end of file diff --git a/LiteLoader/Header/PERM/Permission.hpp b/LiteLoader/Header/PERM/Permission.hpp new file mode 100644 index 0000000..4dea3b0 --- /dev/null +++ b/LiteLoader/Header/PERM/Permission.hpp @@ -0,0 +1,60 @@ +/** + * @file Foundation.hpp + * @author LiteLDev (https://github.com/LiteLDev) + * @brief Permission classes for PermissionAPI + * + * @copyright Copyright (c) 2021-present LiteLoaderBDS developers and all contributors + * + */ +#pragma once +#include +#include "Foundation.hpp" + +namespace PERM { + + /** + * @brief Permission instance. + * + */ + struct PermInstance { + std::string name; ///< Name of the permission. + bool enabled; ///< Whether the permission is enabled. + ::nlohmann::json extra; ///< Extra data for the permission. + + static constexpr const std::string_view permNameInvalidChars = " \t\n\r\f\v"; ///< Invalid characters for the permission name. + /** + * @brief Get the namespace of the permission. + * + * @return std::string The namespace of the permission. + */ + inline std::string namespc() const { + return this->name.substr(0, this->name.find_first_of(':')); + } + + /** + * @brief Check whether a permission name is valid. + * + * @param name The permission name to check. + * @return bool True if the permission name is valid, false otherwise. + */ + static bool isValidPermissionName(const std::string& name) { + return name.find_first_of(PermInstance::permNameInvalidChars.data()) == std::string::npos && // Not contain invalid chars + name.find_first_of(':') != std::string::npos && // Has at least one : + name.find_first_of(':') != 0 && // Not start with : + name.find_last_of(':') != name.size() - 1; // Not end with : + } + }; + + /** + * @brief Permission information. + * + */ + struct PermInfo { + std::string name; ///< Name of the permission. + std::string desc; ///< Description of the permission. + }; + + using Permissions = PermContainer; + using PermInfoList = PermContainer; + +} // namespace PERM \ No newline at end of file diff --git a/LiteLoader/Header/PERM/Role.hpp b/LiteLoader/Header/PERM/Role.hpp new file mode 100644 index 0000000..b4c238a --- /dev/null +++ b/LiteLoader/Header/PERM/Role.hpp @@ -0,0 +1,345 @@ +/** + * @file Role.hpp + * @author LiteLDev (https://github.com/LiteLDev) + * @brief Role type for PermissionAPI + * + * @copyright Copyright (c) 2021-present LiteLoaderBDS developers and all contributors + * + */ +#pragma once +#include "Member.hpp" +#include "Permission.hpp" + +namespace PERM { + + /** + * @brief Role instance. + * + */ + class Role { + + protected: + + Members members; ///< Members of the role. + Permissions permissions; ///< Permissions of the role. + + public: + /** + * @brief The type of role. + * + */ + enum class Type : char { + None = 0, + General = 1, + Everyone = 2, + Admin = 3, + //Custom = 4, + }; + + std::string name; ///< Name of the role. + std::string displayName; ///< Display name of the role. + int priority = 0; ///< Priority of the role. + + static constexpr std::string_view roleNameInvalidChars = "@#[]{}<>()/|\\$%^&*!~`\"\'+=?\n\t\r\f\v "; ///< Invalid characters for the role name. + + /** + * @brief Destructor. + * + */ + virtual ~Role() {}; + + /** + * @brief Check whether the role has the permission. + * + * @param name The permission name to check. + * @return bool True if the role has the permission, false otherwise. + */ + virtual bool hasPermission(const std::string& name) const { + return this->permissions.contains(name) && this->permissions.at(name).enabled; + } + /** + * @brief Set the permission of the role. + * + * @param name The name of the permission to set. + * @param enabled Whether the permission is enabled. + * @param extra Extra data for the permission. + */ + virtual void setPermission(const std::string& name, bool enabled = true, const nlohmann::json& extra = nlohmann::json()); + + /** + * @brief Remove the permission of the role. + * + * @param name The name of the permission to remove. + */ + virtual void removePermission(const std::string& name) { + this->permissions.remove(name); + } + + /** + * @brief Check whether the permission exists in the role. + * + * @param name The name of the permission to check. + * @return bool True if the permission exists in the role, false otherwise. + */ + virtual bool permissionExists(const std::string& name) { + return this->permissions.contains(name); + } + + /** + * @brief Check whether the role has the member. + * + * @param xuid The xuid of the member(player) to check. + * @return bool True if the role has the member, false otherwise. + */ + virtual bool hasMember(const xuid_t& xuid) const = 0; + + /** + * @brief Add the member to the role. + * + * @param xuid The xuid of the member(player) to add. + */ + virtual void addMember(const xuid_t& xuid) = 0; + + /** + * @brief Remove the member from the role. + * + * @param xuid The xuid of the member(player) to remove. + */ + virtual void removeMember(const xuid_t& xuid) = 0; + + /** + * @brief Get the permissions of the role(non-const). + * + * @return Permissions& The permissions of the role. + */ + virtual Permissions& getPermissions() { + return this->permissions; + } + /** + * @brief Get the permissions of the role(const). + * + * @return const Permissions& The permissions of the role. + */ + virtual const Permissions& getPermissions() const { + return this->permissions; + } + + /** + * @brief Get the members of the role(non-const). + * + * @return Members& The members of the role. + */ + virtual Members& getMembers() { + return this->members; + } + /** + * @brief Get the members of the role(const). + * + * @return const Members& The members of the role. + */ + virtual const Members& getMembers() const { + return this->members; + } + + /** + * @brief Get the type of the role. + * + * @return Type The type of the role. + */ + virtual Type getType() const = 0; + + /** + * @brief Validate the role data + * + * @return bool True if changed, false otherwise. + */ + virtual bool validate() { + if (this->name.find_first_of(Role::roleNameInvalidChars.data()) != std::string::npos) { + for (auto& ch : this->name) { + if (Role::roleNameInvalidChars.find(ch) != std::string::npos) { + ch = '-'; + } + } + return true; + } + return false; + } + + /** + * @brief Check whether the role name is valid. + * + * @param name The name to check. + * @return bool True if the role name is valid, false otherwise. + */ + static bool isValidRoleName(const std::string& name) { + return name.find_first_of(Role::roleNameInvalidChars.data()) == std::string::npos; + } + }; + + /** + * @brief General role type. + * + */ + class GeneralRole : public Role { + + using Base = Role; + + public: + + GeneralRole() = default; + GeneralRole(const GeneralRole& other) = default; + GeneralRole(GeneralRole&& other) = default; + ~GeneralRole() = default; + + GeneralRole& operator=(const GeneralRole& other) = default; + GeneralRole& operator=(GeneralRole&& other) = default; + + virtual bool hasMember(const xuid_t& xuid) const { + return this->members.contains(xuid); + } + virtual void addMember(const xuid_t& xuid) { + this->members.push_back(xuid); + } + virtual void removeMember(const xuid_t& xuid) { + this->members.erase(std::remove(this->members.begin(), this->members.end(), xuid), this->members.end()); + } + + virtual Type getType() const { + return Type::General; + } + }; + + /** + * @brief Everyone role type. + * + */ + class EveryoneRole : public Role { + + using Base = Role; + + public: + + EveryoneRole() = default; + EveryoneRole(const EveryoneRole& other) = default; + EveryoneRole(EveryoneRole&& other) = default; + ~EveryoneRole() = default; + + EveryoneRole& operator=(const EveryoneRole& other) = default; + EveryoneRole& operator=(EveryoneRole&& other) = default; + + virtual bool hasMember(const xuid_t& xuid) const { + return true; + } + virtual void addMember(const xuid_t& xuid) { + throw std::runtime_error("You cannot add a member to a everyone permission role"); + } + virtual void removeMember(const xuid_t& xuid) { + throw std::runtime_error("You cannot remove a member from a everyone permission role"); + } + + virtual Type getType() const { + return Type::Everyone; + } + }; + + /** + * @brief Admin role type. + * + */ + class AdminRole : public Role { + + using Base = Role; + + public: + + AdminRole() = default; + AdminRole(const AdminRole& other) = default; + AdminRole(AdminRole&& other) = default; + ~AdminRole() = default; + + AdminRole& operator=(const AdminRole& other) = default; + AdminRole& operator=(AdminRole&& other) = default; + + virtual bool hasPermission(const std::string& name) const { + if (!this->permissions.contains(name)) { + return true; + } else { + return this->permissions.at(name).enabled; + } + } + + virtual bool hasMember(const xuid_t& xuid) const { + return this->members.contains(xuid); + } + virtual void addMember(const xuid_t& xuid) { + this->members.push_back(xuid); + } + virtual void removeMember(const xuid_t& xuid) { + this->members.erase(std::remove(this->members.begin(), this->members.end(), xuid), this->members.end()); + } + + virtual Type getType() const { + return Type::Admin; + } + }; + + /** + * @brief Container to hold roles. + * + */ + class Roles : public PermPtrContainer { + + using Base = PermPtrContainer; + + public: + Roles() + : Base() { + } + Roles(const Base& base) + : Base(base) { + } + Roles(Base&& base) + : Base(base) { + } + Roles(const Roles& other) = default; + Roles(Roles&& other) = default; + + /** + * @brief Sort the roles by priority. + * + * @param greater Greater or less. + * @return Roles The sorted roles. + */ + Roles sortByPriority(bool greater = false) const { + Roles result; + for (auto& role : *this) { + result.push_back(role); + } + std::sort(result.begin(), result.end(), + [greater](const std::shared_ptr& a, const std::shared_ptr& b) { + return greater ? a->priority > b->priority : a->priority < b->priority; + }); + return result; + } + + std::shared_ptr& operator[](const std::string& name) { + Role* ptr = nullptr; + if (name == "everyone") + ptr = new EveryoneRole; + else if (name == "admin") + ptr = new AdminRole; + else + ptr = new GeneralRole; + auto def = std::shared_ptr(ptr); + def->name = name; + return this->getOrCreate(name, def); + } + + Roles& operator=(const Roles& other) = default; + Roles& operator=(Roles&& other) = default; + Roles& operator=(const Base& other) { + return (Roles&)((Base&)*this) = other; + } + }; + +} // namespace PERM \ No newline at end of file diff --git a/LiteLoader/Header/ParticleAPI.h b/LiteLoader/Header/ParticleAPI.h new file mode 100644 index 0000000..878d486 --- /dev/null +++ b/LiteLoader/Header/ParticleAPI.h @@ -0,0 +1,210 @@ +/** + * @file ParticleAPI.h + * @author OEOTYAN (https://github.com/OEOTYAN) + * @brief Spawn Particles for Client User Interface + * + * @copyright Created by OEOTYAN on 2022/08/27. + * + */ +#pragma once +#include +#include "Global.h" + +class ParticleAPI { + using FuncSpawnParticle = void (*)(int, Vec3 const&, std::string const&, int); + using FuncDrawPoint = void (*)(int, Vec3 const&, int, char, enum class mce::ColorPalette); + using FuncDrawNumber = void (*)(int, Vec3 const&, int, char, enum class mce::ColorPalette); + using FuncDrawAxialLine = void (*)(int, bool, bool, const Vec3&, char, double, int, enum class mce::ColorPalette); + using FuncDrawOrientedLine = void (*)(int, const Vec3&, const Vec3&, int, char, double, int, enum class mce::ColorPalette); + using FuncDrawCuboid = void (*)(int, bool, bool, const AABB&, int, enum class mce::ColorPalette); + using FuncDrawCircle = void (*)(int, const Vec3&, char, double, int, char, double, int, enum class mce::ColorPalette); + +public: + bool initialized = false; + HMODULE handle = nullptr; + FuncSpawnParticle funcSpawnParticle = nullptr; + FuncDrawPoint funcDrawPoint = nullptr; + FuncDrawNumber funcDrawNumber = nullptr; + FuncDrawAxialLine funcDrawAxialLine = nullptr; + FuncDrawOrientedLine funcDrawOrientedLine = nullptr; + FuncDrawCuboid funcDrawCuboid = nullptr; + FuncDrawCircle funcDrawCircle = nullptr; + + template + T inline getFunc(const std::string& name) { + return (T)GetProcAddress(handle, name.c_str()); + } + + void inline init(HMODULE hModule = nullptr) { + if (!hModule) { + auto pPtr = LL::getPlugin("ParticleAPI"); + if (!pPtr) { + throw std::runtime_error("Cannot get ParticleAPI.dll"); + } + handle = pPtr->handle; + } else { + handle = hModule; + } + + funcSpawnParticle = getFunc("PTAPI_spawnParticle"); + funcDrawPoint = getFunc("PTAPI_drawPoint"); + funcDrawNumber = getFunc("PTAPI_drawNumber"); + funcDrawAxialLine = getFunc("PTAPI_drawAxialLine"); + funcDrawOrientedLine = getFunc("PTAPI_drawOrientedLine"); + funcDrawCuboid = getFunc("PTAPI_drawCuboid"); + funcDrawCircle = getFunc("PTAPI_drawCircle"); + initialized = true; + } + void inline spawnParticle(int displayRadius, Vec3 const& pos, std::string const& particleName, int dimId) { + if (funcSpawnParticle == nullptr) { + throw std::runtime_error("Function not found"); + } + return funcSpawnParticle(displayRadius, pos, particleName, dimId); + } + void inline drawPoint(int displayRadius, Vec3 const& pos, int dimId, char lineWidth, enum class mce::ColorPalette color) { + if (funcDrawPoint == nullptr) { + throw std::runtime_error("Function not found"); + } + return funcDrawPoint(displayRadius, pos, dimId, lineWidth, color); + } + void inline drawNumber(int displayRadius, Vec3 const& pos, int dimId, char num, enum class mce::ColorPalette color) { + if (funcDrawNumber == nullptr) { + throw std::runtime_error("Function not found"); + } + return funcDrawNumber(displayRadius, pos, dimId, num, color); + } + void inline drawAxialLine(int displayRadius, bool highDetial, bool doubleSide, const Vec3& originPoint, char direction, double length, int dimId, enum class mce::ColorPalette color) { + if (funcDrawAxialLine == nullptr) { + throw std::runtime_error("Function not found"); + } + return funcDrawAxialLine(displayRadius, highDetial, doubleSide, originPoint, direction, length, dimId, color); + } + void inline drawOrientedLine(int displayRadius, const Vec3& start, const Vec3& end, int dimId, char lineWidth, double minSpacing, int maxParticlesNum, enum class mce::ColorPalette color) { + if (funcDrawOrientedLine == nullptr) { + throw std::runtime_error("Function not found"); + } + return funcDrawOrientedLine(displayRadius, start, end, dimId, lineWidth, minSpacing, maxParticlesNum, color); + } + void inline drawCuboid(int displayRadius, bool highDetial, bool doubleSide, const AABB& aabb, int dimId, enum class mce::ColorPalette color) { + if (funcDrawCuboid == nullptr) { + throw std::runtime_error("Function not found"); + } + return funcDrawCuboid(displayRadius, highDetial, doubleSide, aabb, dimId, color); + } + void inline drawCircle(int displayRadius, const Vec3& originPoint, char facing, double radius, int dimId, char lineWidth, double minSpacing, int maxParticlesNum, enum class mce::ColorPalette color) { + if (funcDrawCircle == nullptr) { + throw std::runtime_error("Function not found"); + } + return funcDrawCircle(displayRadius, originPoint, facing, radius, dimId, lineWidth, minSpacing, maxParticlesNum, color); + } +}; + +class ParticleCUI { +public: + unsigned int displayRadius; + bool highDetial; + bool doubleSide; + + static LIAPI ParticleAPI api; + + static void init(HMODULE hModule = nullptr) { + if (!api.initialized) { + api.init(hModule); + } + } + ParticleCUI() + : displayRadius(UINT_MAX), highDetial(true), doubleSide(true) { + init(); + } + ParticleCUI(unsigned int dr, bool hd = true, bool ds = true) + : displayRadius(dr), highDetial(hd), doubleSide(ds) { + init(); + } + + enum Direction : char { + NEG_Y = 0, + POS_Y = 1, + NEG_Z = 2, + POS_Z = 3, + NEG_X = 4, + POS_X = 5, + }; + + enum PointSize : char { + PX1 = 1, + PX2 = 2, + PX4 = 4, + PX8 = 8, + PX16 = 16, + }; + + enum NumType : char { + NUM0 = 0, + NUM1 = 1, + NUM2 = 2, + NUM3 = 3, + NUM4 = 4, + NUM5 = 5, + NUM6 = 6, + NUM7 = 7, + NUM8 = 8, + NUM9 = 9, + NUMA = 'A', + NUMB = 'B', + NUMC = 'C', + NUMD = 'D', + NUME = 'E', + NUMF = 'F', + NUM10 = 10, + NUM11 = 11, + NUM12 = 12, + NUM13 = 13, + NUM14 = 14, + NUM15 = 15, + NUM16 = 16, + }; + + void inline spawnParticle(Vec3 const& pos, std::string const& particleName, int dimId) { + api.spawnParticle(displayRadius, pos, particleName, dimId); + } + + void inline drawPoint(Vec3 const& pos, int dimId, enum PointSize lineWidth = PointSize::PX4, enum class mce::ColorPalette color = mce::ColorPalette::WHITE) { + api.drawPoint(displayRadius, pos, dimId, lineWidth, color); + } + void inline drawNumber(Vec3 const& pos, int dimId, enum NumType num = NumType::NUM0, enum class mce::ColorPalette color = mce::ColorPalette::WHITE) { + api.drawNumber(displayRadius, pos, dimId, num, color); + } + void inline drawAxialLine(const Vec3& originPoint, enum Direction direction, double length, int dimId, enum class mce::ColorPalette color = mce::ColorPalette::WHITE){ + api.drawAxialLine(displayRadius, highDetial, doubleSide, originPoint, direction, length, dimId, color); + } + void inline drawOrientedLine(const Vec3& start, const Vec3& end, int dimId, enum PointSize lineWidth = PointSize::PX4, double minSpacing = 1, int maxParticlesNum = 64, enum class mce::ColorPalette color = mce::ColorPalette::WHITE){ + api.drawOrientedLine(displayRadius, start, end, dimId, lineWidth, minSpacing, maxParticlesNum, color); + } + void inline drawCuboid(const AABB& aabb, int dimId, enum class mce::ColorPalette color = mce::ColorPalette::WHITE){ + api.drawCuboid(displayRadius, highDetial, doubleSide, aabb, dimId, color); + } + void inline drawCircle(const Vec3& originPoint, enum Direction facing, double radius, int dimId, enum PointSize lineWidth = PointSize::PX4, double minSpacing = 1, int maxParticlesNum = 64, enum class mce::ColorPalette color = mce::ColorPalette::WHITE) { + api.drawCircle(displayRadius, originPoint, facing, radius, dimId, lineWidth, minSpacing, maxParticlesNum, color); + } + void inline spawnParticle(BlockPos const& pos, std::string const& particleName, int dimId) { + spawnParticle(pos.toVec3() + 0.5f, particleName, dimId); + } + void inline drawPoint(BlockPos const& pos, int dimId, PointSize lineWidth, enum class mce::ColorPalette color) { + drawPoint(pos.toVec3() + 0.5f, dimId, lineWidth, color); + } + void inline drawNumber(BlockPos const& pos, int dimId, NumType num, enum class mce::ColorPalette color) { + drawNumber(pos.toVec3() + 0.5f, dimId, num, color); + } + void inline drawOrientedLine(const BlockPos& start, const BlockPos& end, int dimId, PointSize lineWidth, double minSpacing, int maxParticlesNum, enum class mce::ColorPalette color) { + drawOrientedLine(start.toVec3() + 0.5f, end.toVec3() + 0.5f, dimId, lineWidth, minSpacing, maxParticlesNum, color); + } + void inline drawCuboid(const BoundingBox& box, int dimId, enum class mce::ColorPalette color) { + drawCuboid(box.toAABB(), dimId, color); + } + void inline drawCuboid(const BlockPos& pos, int dimId, enum class mce::ColorPalette color) { + drawCuboid(pos.toAABB(), dimId, color); + } + void inline drawCircle(const BlockPos& originPoint, Direction facing, double radius, int dimId, PointSize lineWidth, double minSpacing, int maxParticlesNum, enum class mce::ColorPalette color) { + drawCircle(originPoint.toVec3() + 0.5f, facing, radius, dimId, lineWidth, minSpacing, maxParticlesNum, color); + } +}; \ No newline at end of file diff --git a/LiteLoader/Header/PermissionAPI.h b/LiteLoader/Header/PermissionAPI.h new file mode 100644 index 0000000..7189dea --- /dev/null +++ b/LiteLoader/Header/PermissionAPI.h @@ -0,0 +1,467 @@ +/** + * @file PermissionAPI.h + * @author LiteLDev (https://github.com/LiteLDev) + * @brief Permission APIs + * + * @copyright Copyright (c) 2021-present LiteLoaderBDS developers and all contributors + * + */ +#pragma once +#include +#include "PERM/Role.hpp" + +/** + * @brief PermissionAPI (Dynamic dependency). + * + */ +class DynPermissionAPI { + + using FuncCreateRole = void (*)(const std::string&, const std::string&, std::weak_ptr&); + using FuncRoleExists = bool (*)(const std::string&); + using FuncGetRole = void (*)(const std::string&, std::weak_ptr&); + using FuncGetOrCreateRole = void (*)(const std::string&, std::weak_ptr&); + using FuncDeleteRole = void(*)(const std::string&); + using FuncRegisterPermission = void (*)(const std::string&, const std::string&); + using FuncDeletePermission = void (*)(const std::string&); + using FuncPermissionExists = bool (*)(const std::string&); + using FuncCheckPermission = bool (*)(const xuid_t&, const std::string&); + using FuncIsMemberOf = bool (*)(const xuid_t&, const std::string&); + using FuncGetPlayerRoles = void (*)(const xuid_t&, PERM::Roles&); + using FuncGetPlayerPermissions = void (*)(const xuid_t&, PERM::Permissions&); + using FuncSaveData = void (*)(); + + HMODULE handle = nullptr; + FuncCreateRole funcCreateRole = nullptr; + FuncRoleExists funcRoleExists = nullptr; + FuncGetRole funcGetRole = nullptr; + FuncGetOrCreateRole funcGetOrCreateRole = nullptr; + FuncDeleteRole funcDeleteRole = nullptr; + FuncRegisterPermission funcRegisterPermission = nullptr; + FuncDeletePermission funcDeletePermission = nullptr; + FuncPermissionExists funcPermissionExists = nullptr; + FuncCheckPermission funcCheckPermission = nullptr; + FuncIsMemberOf funcIsMemberOf = nullptr; + FuncGetPlayerRoles funcGetPlayerRoles = nullptr; + FuncGetPlayerPermissions funcGetPlayerPermissions = nullptr; + FuncSaveData funcSaveData = nullptr; + + template + T getFunc(const std::string& name) { + return (T)GetProcAddress(handle, name.c_str()); + } + +public: + + DynPermissionAPI() = default; + + /** + * @brief Init APIs by GetAddressProc. + * + */ + void init(HMODULE hModule = nullptr) { + if (!hModule) { + auto pPtr = LL::getPlugin("PermissionAPI"); + if (!pPtr) { + throw std::runtime_error("Cannot get the plugin object"); + } + handle = pPtr->handle; + } + else { + handle = hModule; + } + funcCreateRole = getFunc("PERM_CreateRole"); + funcRoleExists = getFunc("PERM_RoleExists"); + funcGetRole = getFunc("PERM_GetRole"); + funcGetOrCreateRole = getFunc("PERM_GetOrCreateRole"); + funcDeleteRole = getFunc("PERM_DeleteRole"); + funcRegisterPermission = getFunc("PERM_RegisterPermission"); + funcDeletePermission = getFunc("PERM_DeletePermission"); + funcPermissionExists = getFunc("PERM_PermissionExists"); + funcCheckPermission = getFunc("PERM_CheckPermission"); + funcIsMemberOf = getFunc("PERM_IsMemberOf"); + funcGetPlayerRoles = getFunc("PERM_GetPlayerRoles"); + funcGetPlayerPermissions = getFunc("PERM_GetPlayerPermissions"); + funcSaveData = getFunc("PERM_SaveData"); + } + + /** + * @brief Create a Role object. + * + * @param name The name of the role. + * @param displayName The display name of the role. + * @return std::weak_ptr The created role(weak ref). + * @throws std::invalid_argument If the role already exists. + * @par Example + * @code + * PermissionAPI api; + * auto role = api.createRole("role1", "Role 1"); + * ... + * if (!role.expired()) { + * auto rolePtr = role.lock(); + * rolePtr->addMember("1145141919810"); + * api.saveData(); + * } + * @endcode + */ + std::weak_ptr createRole(const std::string& name, const std::string& displayName) { + if (funcCreateRole == nullptr) { + throw std::runtime_error("Function not found"); + } + std::weak_ptr ptr{}; + funcCreateRole(name, displayName, ptr); + return ptr; + } + + /** + * @brief Check if a role exists. + * + * @param name The name of the role. + * @return bool True If the role exists, false otherwise. + */ + bool roleExists(const std::string& name) { + if (funcRoleExists == nullptr) { + throw std::runtime_error("Function not found"); + } + return funcRoleExists(name); + } + + /** + * @brief Get a role object. + * + * @param name The name of the role. + * @return std::weak_ptr The role(weak ref). + * @throws std::invalid_argument If the role does not exist. + */ + std::weak_ptr getRole(const std::string& name) { + if (funcGetRole == nullptr) { + throw std::runtime_error("Function not found"); + } + std::weak_ptr ptr{}; + funcGetRole(name, ptr); + return ptr; + } + + /** + * @brief Get a role object. If the role does not exist, it will be created. + * + * @param name The name of the role. + * @return std::weak_ptr The role(weak ref). + */ + std::weak_ptr getOrCreateRole(const std::string& name) { + if (funcGetOrCreateRole == nullptr) { + throw std::runtime_error("Function not found"); + } + std::weak_ptr ptr{}; + funcGetOrCreateRole(name, ptr); + return ptr; + } + + /** + * @brief Delete a role. + * + * @param name The name of the role. + */ + void deleteRole(const std::string& name) { + if (funcDeleteRole == nullptr) { + throw std::runtime_error("Function not found"); + } + funcDeleteRole(name); + } + + /** + * @brief Register an permission. + * + * @param name The name of the permission. + * @param desc The description name of the permission. + */ + void registerPermission(const std::string& name, const std::string& desc) { + if (funcRegisterPermission == nullptr) { + throw std::runtime_error("Function not found"); + } + funcRegisterPermission(name, desc); + } + + /** + * @brief Delete a permission. + * + * @param name The name of the permission. + * @warning This function will also delete the permission instances in roles. + */ + void deletePermission(const std::string& name) { + if (funcDeletePermission == nullptr) { + throw std::runtime_error("Function not found"); + } + funcDeletePermission(name); + } + + /** + * @brief Check if a permission exists. + * + * @param name The name of the permission. + * @return bool True If the permission exists, false otherwise. + */ + bool permissionExists(const std::string& name) { + if (funcPermissionExists == nullptr) { + throw std::runtime_error("Function not found"); + } + return funcPermissionExists(name); + } + + /** + * @brief Check whether the player has the Permission or not. + * + * @param xuid The xuid of the player. + * @param name The name of the Permission. + * @return bool True If the player has the Permission, false otherwise. + */ + bool checkPermission(const xuid_t& xuid, const std::string& name) { + if (funcCheckPermission == nullptr) { + throw std::runtime_error("Function not found"); + } + return funcCheckPermission(xuid, name); + } + + /** + * @brief Check if a player is a member of a role. + * + * @param xuid The xuid of the player. + * @param name The name of the role. + * @return bool True If the player is a member of the role, false otherwise. + */ + bool isMemberOf(const xuid_t& xuid, const std::string& name) { + if (funcIsMemberOf == nullptr) { + throw std::runtime_error("Function not found"); + } + return funcIsMemberOf(xuid, name); + } + + /** + * @brief Get the roles of a player. + * + * @param xuid The xuid of the player. + * @return PERM::Roles The roles of the player. + */ + PERM::Roles getPlayerRoles(const xuid_t& xuid) { + if (funcGetPlayerRoles == nullptr) { + throw std::runtime_error("Function not found"); + } + PERM::Roles roles; + funcGetPlayerRoles(xuid, roles); + return roles; + } + + /** + * @brief Get the permissions of a player. + * + * @param xuid The xuid of the player. + * @return PERM::Permissions The permissions of the player. + */ + PERM::Permissions getPlayerPermissions(const xuid_t& xuid) { + if (funcGetPlayerPermissions == nullptr) { + throw std::runtime_error("Function not found"); + } + PERM::Permissions permissions; + funcGetPlayerPermissions(xuid, permissions); + return permissions; + } + + /** + * @brief Save the data. + */ + void saveData() { + if (funcSaveData == nullptr) { + throw std::runtime_error("Function not found"); + } + funcSaveData(); + } +}; + +/** + * @brief Permission APIs. + * + */ +class Permission { + +public: + static LIAPI DynPermissionAPI api; + + static void init(HMODULE hModule = nullptr) { + api.init(hModule); + } + + /** + * @brief Create a Role object. + * + * @param name The name of the role. + * @param displayName The display name of the role. + * @return std::weak_ptr The created role(weak ref). + * @throws std::invalid_argument If the role already exists. + * @par Example + * @code + * auto role = Permission::createRole("role1", "Role 1"); + * ... + * if (!role.expired()) { + * auto rolePtr = role.lock(); + * rolePtr->addMember("1145141919810"); + * api.saveData(); + * } + * @endcode + */ + static std::weak_ptr createRole(const std::string& name, const std::string& displayName) { + return api.createRole(name, displayName); + } + + /** + * @brief Get a role object. + * + * @param name The name of the role. + * @return std::weak_ptr The role(weak ref). + * @throws std::invalid_argument If the role does not exist. + * @par Example + * @code + * auto role = Permission::getRole("role1"); + * ... + * if (!role.expired()) { + * auto rolePtr = role.lock(); + * rolePtr->addMember("1145141919810"); + * api.saveData(); + * } + * @endcode + */ + static std::weak_ptr getRole(const std::string& name) { + return api.getRole(name); + } + + /** + * @brief Get or create a role object. + * + * @param name The name of the role. + * @return std::weak_ptr The role(weak ref). + */ + static std::weak_ptr getOrCreateRole(const std::string& name) { + return api.getOrCreateRole(name); + } + + /** + * @brief Delete a role. + * + * @param name The name of the role. + * @throws std::invalid_argument If the role does not exist. + * @par Example + * @code + * Permission::deleteRole("role1"); + * @endcode + */ + static void deleteRole(const std::string& name) { + api.deleteRole(name); + } + + /** + * @brief Check whether a role exists. + * + * @param name The name of the role. + * @return bool True If the role exists, false otherwise. + */ + static bool roleExists(const std::string& name) { + return api.roleExists(name); + } + + /** + * @brief Register an permission. + * + * @param name The name of the permission. + * @param desc The description name of the permission. + * @throws std::invalid_argument If the permission already exists. + * @par Example + * @code + * Permission::registerPermission("MyPlugin:destroy", "Destroy permission for MyPlugin"); + * @endcode + */ + static void registerPermission(const std::string& name, const std::string& desc) { + api.registerPermission(name, desc); + } + + /** + * @brief Delete a permission. + * + * @param name The name of the permission. + * @throws std::invalid_argument If the permission does not exist. + * @note This function will also delete the permission instances in roles. + * @par Example + * @code + * Permission::deletePermission("MyPlugin:destroy"); + * @endcode + */ + static void deletePermission(const std::string& name) { + api.deletePermission(name); + } + + /** + * @brief Check whether a permission exists. + * + * @param name The name of the permission. + * @return bool True If the permission exists, false otherwise. + */ + static bool permissionExists(const std::string& name) { + return api.permissionExists(name); + } + + /** + * @brief Check whether a player has a permission. + * + * @param xuid The xuid of the player. + * @param name The name of the permission. + * @return bool True If the player has the permission, false otherwise. + * @throws std::invalid_argument If the permission does not exist. + * @par Example + * @code + * if (Permission::checkPermission(pl->getXuid(), "MyPlugin:destroy")) { + * // Do something + * } + * @endcode + */ + static bool checkPermission(const xuid_t& xuid, const std::string& name) { + return api.checkPermission(xuid, name); + } + + /** + * @brief Check whether a player is member of a role. + * + * @param xuid The xuid of the player. + * @param name The name of the role. + * @return bool True If the player is member of the role, false otherwise. + * @throws std::invalid_argument If the role does not exist. + */ + static bool isMemberOf(const xuid_t& xuid, const std::string& name) { + return api.isMemberOf(xuid, name); + } + + /** + * @brief Get the roles of a player. + * + * @param xuid The xuid of the player. + * @return PERM::Roles The roles of the player. + */ + static PERM::Roles getPlayerRoles(const xuid_t& xuid) { + return api.getPlayerRoles(xuid); + } + + /** + * @brief Get the permissions of a player. + * + * @param xuid The xuid of the player. + * @return PERM::Permissions The permissions of the player. + */ + static PERM::Permissions getPlayerPermissions(const xuid_t& xuid) { + return api.getPlayerPermissions(xuid); + } + + /** + * @brief Save the data. + * + */ + static void saveData() { + api.saveData(); + } + +}; diff --git a/LiteLoader/Header/PlayerInfoAPI.h b/LiteLoader/Header/PlayerInfoAPI.h new file mode 100644 index 0000000..1636699 --- /dev/null +++ b/LiteLoader/Header/PlayerInfoAPI.h @@ -0,0 +1,69 @@ +/** + * @file PlayerInfoAPI.h + * @author LiteLDev (https://github.com/LiteLDev) + * @brief Player information database interfaces + * + * @copyright Copyright (c) 2021-present LiteLoaderBDS developers and all contributors + * + */ +#pragma once +#include +#include +namespace PlayerInfo { + +/** + * @brief Player information structure. + * + */ +struct Info { + std::string name; ///< Real name(xbox) + xuid_t xuid; ///< Xuid(online-mode is required) + std::string uuid; ///< UUID +}; + +/** + * @brief Find the information of a player by realName. + * + * @param name The player name + * @return std::optional The info + */ +LIAPI std::optional findByName(const std::string& name); + +/** + * @brief Find the information of a player by xuid. + * + * @param xuid The player xuid + * @return std::optional The info + */ +LIAPI std::optional findByXuid(const xuid_t& xuid); + +/** + * @brief Find the information of a player by UUID. + * + * @param uuid The player UUID + * @return std::optional The info + */ +LIAPI std::optional findByUUID(const std::string& uuid); + +/** + * @brief Get all the player names. + * + * @return std::vector The names + */ +LIAPI std::vector getAllPlayerNames(); + +/** + * @brief Get all the player info. + * + * @return std::vector The info + */ +LIAPI std::vector getAllPlayerInfo(); + + +LIAPI bool insert(std::string name, std::string xuid, std::string uuid); +LIAPI std::string getXuid(std::string name); +LIAPI std::string getUUID(std::string name); +LIAPI std::string fromXuid(std::string xuid); +LIAPI std::string fromUUID(std::string uuid); +LIAPI void forEachInfo(std::function callback); +} // namespace PlayerInfo \ No newline at end of file diff --git a/LiteLoader/Header/RegCommandAPI.h b/LiteLoader/Header/RegCommandAPI.h new file mode 100644 index 0000000..150d661 --- /dev/null +++ b/LiteLoader/Header/RegCommandAPI.h @@ -0,0 +1,87 @@ +#pragma once +#include "Global.h" +#include "MC/Actor.hpp" +#include "MC/Player.hpp" +#include "MC/Command.hpp" +#include "MC/CommandMessage.hpp" +#include "MC/CommandOutput.hpp" +#include "MC/CommandParameterData.hpp" +#include "MC/CommandPosition.hpp" +#include "MC/CommandSelector.hpp" +#include "MC/CommandRegistry.hpp" +#include + +namespace RegisterCommandHelper { +template +static int getOffset(Type Command::*src) { + union { + Type Command::*src; + int value; + } u; + u.src = src; + return u.value; +} + +using ParseFn = bool (CommandRegistry::*)( + void*, CommandRegistry::ParseToken const&, CommandOrigin const&, int, std::string&, + std::vector&) const; + +template +static CommandParameterData makeMandatory(Type Command::*field, std::string name, bool Command::*isSet = nullptr) { + + return { + type_id(), + CommandRegistry::getParseFn(), + name, + CommandParameterDataType::NORMAL, + nullptr, + getOffset(field), + false, + isSet ? getOffset(isSet) : -1, + }; +} +template +static CommandParameterData + makeMandatory(Type Command::*field, std::string name, char const* desc = nullptr, bool Command::*isSet = nullptr) { + return { + type_id(), + CommandRegistry::getParseFn(), + name, + DataType, + desc, + getOffset(field), + false, + isSet ? getOffset(isSet) : -1, + }; +} +template +static CommandParameterData makeOptional(Type Command::*field, std::string name, bool Command::*isSet = nullptr) { + typeid_t tpid{0}; + + return { + type_id(), + CommandRegistry::getParseFn(), + name, + CommandParameterDataType::NORMAL, + nullptr, + getOffset(field), + true, + isSet ? getOffset(isSet) : -1, + }; +} +template +static CommandParameterData + makeOptional(Type Command::*field, std::string name, char const* desc = nullptr, bool Command::*isSet = nullptr) { + + return { + type_id(), + CommandRegistry::getParseFn(), + name, + DataType, + desc, + getOffset(field), + true, + isSet ? getOffset(isSet) : -1, + }; +} +} // namespace RegisterCommandHelper diff --git a/LiteLoader/Header/RemoteCallAPI.h b/LiteLoader/Header/RemoteCallAPI.h new file mode 100644 index 0000000..5e4ecfc --- /dev/null +++ b/LiteLoader/Header/RemoteCallAPI.h @@ -0,0 +1,527 @@ +#pragma once +#include "Global.h" +#include "Utils/WinHelper.h" +#include "third-party/Nlohmann/json.hpp" +#include "MC/CompoundTag.hpp" +#include "MC/Container.hpp" +#include "MC/ItemStack.hpp" +#include "MC/BlockInstance.hpp" +#include "MC/VanillaDimensions.hpp" +#include "MC/Player.hpp" +#include "MC/Block.hpp" +#include "MC/BlockActor.hpp" +#define TEST_NEW_VALUE_TYPE + +/////////////////////////////////////////////////////// +// Remote Call API +// Mainly designed for scripting engines +// Please call it in MC_SERVER thread or in ScheduleAPI +// make sure the callback parameter type can be converted to json +// +// [Usage] +// RemoteCall::exportAs("TestNameSpace", "strSize", [](std::string const& arg) -> int { return arg.size(); }); +// +// // in other plugin +// auto strSize = RemoteCall::importAs("TestNameSpace", "strSize"); +// logger.info("Size of str: {}", strSize("12345678")); +// +// // in js plugin +// const strSize = ll.import("TestNameSpace", "strSize"); +// logger.info(`Size of str: ${strSize("12345678")}`); +// +///////////////////////////////////////////////////// +namespace RemoteCall { +#ifdef TEST_NEW_VALUE_TYPE +// ..... +struct NbtType { + CompoundTag const* ptr = nullptr; + bool own = false; + NbtType(std::unique_ptr tag) + : ptr(tag.release()) + , own(true){}; + NbtType(CompoundTag const* ptr) + : ptr(ptr) + , own(false){}; + inline std::unique_ptr tryGetUniquePtr() { + if (!own) + return {}; + own = false; + auto uptr = std::unique_ptr(const_cast(ptr)); + ptr = nullptr; + return std::move(uptr); + } + template + inline RTN get() = delete; + template <> + inline CompoundTag const* get() { + return ptr; + }; + template <> + inline CompoundTag* get() { + return const_cast(ptr); + }; + template <> + inline std::unique_ptr get() { + return tryGetUniquePtr(); + }; +}; + +struct ItemType { + ItemStack const* ptr = nullptr; + bool own = false; + ItemType(std::unique_ptr tag) + : ptr(tag.release()) + , own(true){}; + ItemType(ItemStack const* ptr) + : ptr(ptr) + , own(false){}; + inline std::unique_ptr tryGetUniquePtr() { + if (!own) + return {}; + own = false; + auto uptr = std::unique_ptr(const_cast(ptr)); + ptr = nullptr; + return std::move(uptr); + } + template + inline RTN get() = delete; + template <> + inline ItemStack const* get() { + return ptr; + }; + template <> + inline ItemStack* get() { + return const_cast(ptr); + }; + template <> + inline std::unique_ptr get() { + return tryGetUniquePtr(); + }; +}; + +struct BlockType { + BlockInstance instance; + BlockType(BlockInstance instance) + : instance(instance){}; + BlockType(Block const* ptr) + : instance(BlockInstance::createBlockInstance(const_cast(ptr), BlockPos::ZERO, -1)){}; + template + inline RTN get() = delete; + template <> + inline Block const* get() { + return instance.getBlock(); + }; + template <> + inline BlockInstance get() { + return instance; + }; +}; + +struct NumberType { + __int64 i = 0; + double f = 0; + NumberType(__int64 i, double f) + : i(i) + , f(f){}; + template + std::enable_if_t || std::is_floating_point_v, NumberType&> operator=(T v) { + i = static_cast<__int64>(v); + f = static_cast(v); + } + NumberType(double v) + : i(static_cast<__int64>(v)) + , f(static_cast(v)){}; + NumberType(float v) + : i(static_cast<__int64>(v)) + , f(static_cast(v)){}; + NumberType(__int64 v) + : i(static_cast<__int64>(v)) + , f(static_cast(v)){}; + NumberType(int v) + : i(static_cast<__int64>(v)) + , f(static_cast(v)){}; + NumberType(short v) + : i(static_cast<__int64>(v)) + , f(static_cast(v)){}; + NumberType(char v) + : i(static_cast<__int64>(v)) + , f(static_cast(v)){}; + NumberType(unsigned __int64 v) + : i(static_cast<__int64>(v)) + , f(static_cast(v)){}; + NumberType(unsigned int v) + : i(static_cast<__int64>(v)) + , f(static_cast(v)){}; + NumberType(unsigned short v) + : i(static_cast<__int64>(v)) + , f(static_cast(v)){}; + NumberType(unsigned char v) + : i(static_cast<__int64>(v)) + , f(static_cast(v)){}; + template + inline std::enable_if_t, RTN> get() { + return static_cast(i); + }; + template + inline std::enable_if_t, RTN> get() { + return static_cast(f); + }; +}; + +struct WorldPosType { + Vec3 pos = Vec3::ZERO; + int dimId = 3; // VanillaDimensions::Undefined; + WorldPosType(Vec3 const& pos, int dimId = 3) + : pos(pos) + , dimId(dimId){}; + WorldPosType(std::pair const& pos) + : pos(pos.first) + , dimId(pos.second){}; + template + inline RTN get() = delete; + template <> + inline Vec3 get() { + return pos; + }; + template <> + inline BlockPos get() { + return BlockPos(pos); + }; + template <> + inline std::pair get() { + return std::make_pair(pos, dimId); + }; + template <> + inline std::pair get() { + return std::make_pair(BlockPos(pos), dimId); + }; +}; + +struct BlockPosType { + BlockPos pos = BlockPos::ZERO; + int dimId = 0; + BlockPosType(BlockPos const& pos, int dimId = 0) + : pos(pos) + , dimId(dimId){}; + BlockPosType(std::pair const& pos) + : pos(pos.first) + , dimId(pos.second){}; + template + inline RTN get() = delete; + template <> + inline BlockPos get() { + return pos; + }; + template <> + inline std::pair get() { + return std::make_pair(pos, dimId); + }; + template <> + inline Vec3 get() { + return pos.toVec3(); + }; + template <> + inline std::pair get() { + return std::make_pair(pos.toVec3(), dimId); + }; +}; + + +// std::string -> json +// std::string* -> bytes +#define ExtraType std::nullptr_t, NumberType, Player*, Actor*, BlockActor*, Container*, WorldPosType, BlockPosType, ItemType, BlockType, NbtType +#define ElementType bool, std::string, ExtraType +template +static constexpr bool is_one_of_v = std::_Meta_find_unique_index, _Ty>::value < sizeof...(_Types); +template +static constexpr bool is_extra_type_v = std::_Is_any_of_v<_Ty, ExtraType>; + +static_assert(sizeof(std::variant) == sizeof(std::string) + 8); + +template +constexpr bool is_vector_v = false; +template +constexpr bool is_vector_v> = true; +template +constexpr bool is_map_v = false; +template +constexpr bool is_map_v> = true; +template +constexpr bool is_map_v> = true; +using Value = std::variant; +// struct Value +//{ +// std::variant value; +// Value(bool v) +// : value(v){}; +// Value(__int64 v) +// : value(v){}; +// Value(double v) +// : value(v){}; +// Value(std::string const& v) +// : value(v){}; +// Value(std::string* v) +// : value(v){}; +// Value(Player* v) +// : value(v){}; +// Value(Actor* v) +// : value(v){}; +// Value(ItemStack* v) +// : value(v){}; +// Value(Block* v) +// : value(v){}; +// Value(BlockActor* v) +// : value(v){}; +// Value(Container* v) +// : value(v){}; +// Value(Vec3* v) +// : value(v){}; +// Value(BlockPos* v) +// : value(v){}; +// Value(CompoundTag* v) +// : value(v){}; +// operator std::variant() +// { +// return value; +// } +// }; +struct ValueType { + using ArrayType = std::vector; + using ObjectType = std::unordered_map; + using Type = std::variant; + Type value; + ValueType() + : value({}){}; + // ValueType(ValueType const& v) = delete; + // ValueType(Value const& v) = delete; + ValueType(Value&& v) + : value(std::move(v)){}; + ValueType(Value v) + : value(std::move(v)){}; + // ValueType(ValueType&& v) noexcept + // : value(std::move(v.value)){}; + ValueType(std::vector&& v) + : value(std::move(v)){}; + ValueType(std::unordered_map&& v) + : value(std::move(v)){}; + template + ValueType(T const& v) + : value(Value(v)){}; +}; + +template +static constexpr bool is_supported_type_v = std::is_void_v<_Ty> || + is_one_of_v<_Ty, ElementType> || + std::is_assignable_v || + std::is_assignable_v || + std::is_assignable_v || + std::is_assignable_v || + std::is_assignable_v || + std::is_assignable_v || + std::is_base_of_v> || + std::is_base_of_v>; + +template +RTN extract(ValueType&& val); +template +ValueType pack(T val); + +template +RTN extractValue(Value&& value) { + using Type = std::remove_const_t>; + static_assert(is_supported_type_v, "Unsupported Type:"); + if constexpr (is_one_of_v) + return std::get(value); + else if constexpr (std::is_assignable_v) + return std::get(value).get(); + else if constexpr (std::is_assignable_v) + return std::get(value).get(); + else if constexpr (std::is_assignable_v) + return std::get(value).get(); + else if constexpr (std::is_assignable_v) + return std::get(value).get(); + else if constexpr (std::is_assignable_v) + return std::get(value).get(); + else if constexpr (std::is_assignable_v) + return std::get(value).get(); + else if constexpr (std::is_base_of_v>) + return static_cast(std::get(value)); + else if constexpr (std::is_base_of_v>) + return static_cast(std::get(value)); + else if constexpr (std::is_void_v) + return; + else + throw std::exception(fmt::format(__FUNCTION__ " - Unsupported Type: {}", typeid(RTN).name()).c_str()); +} + +template +bool extractValue(std::vector& value, std::vector& rtn) { + for (ValueType& val : value) { + rtn.emplace_back(std::move(extract(std::move(val)))); + } + return true; +} + +template +bool extractValue(std::unordered_map& value, std::unordered_map& rtn) { + for (auto& [key, val] : value) { + rtn.emplace(key, std::move(extract(std::move(val)))); + } + return true; +} + + +template +RTN extract(ValueType&& val) { + if constexpr (is_vector_v) { + RTN rtn{}; + extractValue(std::get>(val.value), rtn); + return std::move(rtn); + } else if constexpr (is_map_v) { + RTN rtn{}; + extractValue(std::get>(val.value), rtn); + return std::move(rtn); + } else + return extractValue(std::move(std::get(val.value))); +} + + +template +ValueType packValue(T val) { + using RawType = std::remove_reference_t>; + static_assert(is_supported_type_v, "Unsupported Type"); + if constexpr (is_one_of_v) + return ValueType(std::forward(val)); + else if constexpr (std::is_assignable_v) + return ValueType(NumberType{std::forward(val)}); + else if constexpr (std::is_assignable_v) + return ValueType(NbtType(std::forward(val))); + else if constexpr (std::is_assignable_v) + return ValueType(ItemType(std::forward(val))); + else if constexpr (std::is_assignable_v) + return ValueType(BlockType(std::forward(val))); + else if constexpr (std::is_assignable_v) + return ValueType(WorldPosType(std::forward(val))); + else if constexpr (std::is_assignable_v) + return ValueType(BlockPosType(std::forward(val))); + else if constexpr (std::is_base_of_v>) + return ValueType(static_cast(std::forward(val))); + else if constexpr (std::is_base_of_v>) + return ValueType(static_cast(std::forward(val))); + else if constexpr (std::is_void_v) + return ValueType(); + throw std::runtime_error(fmt::format(__FUNCTION__ " - Unsupported Type: {}", typeid(T).name()).c_str()); + return ValueType(); +} +template +std::vector packArray(std::vector const& val) { + std::vector result; + for (auto& v : val) { + result.emplace_back(pack(v)); + } + return result; +} +template +std::unordered_map packObject(std::unordered_map const& val) { + std::unordered_map result; + for (auto& [k, v] : val) { + result.emplace(k, pack(v)); + } + return result; +} + +template +ValueType pack(T val) { + using RawType = std::remove_reference_t>; + if constexpr (is_vector_v) { + return packArray(std::forward(val)); + } else if constexpr (is_map_v) { + return packObject(std::forward(val)); + } else + return packValue(std::forward(val)); +} + + +#else + +// Use string as value type because it is easy to convert between script types and native types +using ValueType = std::string; // Json string + +template +std::remove_reference_t extract(ValueType const& val) { + return nlohmann::json::parse(val).get>(); +} + +template +ValueType pack(T const& val) { + return nlohmann::json(val).dump(); +} + +#endif // TEST_NEW_VALUE_TYPE + +using CallbackFn = std::function)>; + +struct ExportedFuncData { + HMODULE handle; + CallbackFn callback; +}; + +LIAPI extern CallbackFn const EMPTY_FUNC; +LIAPI bool exportFunc(std::string const& nameSpace, std::string const& funcName, CallbackFn&& callback, HMODULE handle = GetCurrentModule()); +LIAPI CallbackFn const& importFunc(std::string const& nameSpace, std::string const& funcName); + + +inline ValueType _expandArg(std::vector& args, int& index) { + return std::move(args[--index]); +} + +template +inline bool _exportAs(std::string const& nameSpace, std::string const& funcName, std::function&& callback) { + CallbackFn cb = [callback = std::move(callback)](std::vector args) -> ValueType { + if (sizeof...(Args) != args.size()) + return std::move(ValueType()); + int index = sizeof...(Args); + if constexpr (std::is_void_v) { + callback(extract(_expandArg(args, index))...); + return std::move(ValueType()); + } else { + return pack(callback(extract(_expandArg(args, index))...)); + } + }; + return exportFunc(nameSpace, funcName, std::move(cb), GetCurrentModule()); +} + +LIAPI bool hasFunc(std::string const& nameSpace, std::string const& funcName); +LIAPI bool removeFunc(std::string const& nameSpace, std::string const& funcName); +LIAPI int removeNameSpace(std::string const& nameSpace); +LIAPI int removeFuncs(std::vector> funcs); +LIAPI void _onCallError(std::string const& msg, HMODULE handle = GetCurrentModule()); + +template +inline bool _importAs(std::string const& nameSpace, std::string const& funcName, std::function& func) { + func = [nameSpace, funcName](Args... args) -> RTN { + auto& rawFunc = importFunc(nameSpace, funcName); + if (!rawFunc) { + _onCallError(fmt::format("Fail to import! Function [{}::{}] has not been exported", nameSpace, funcName)); + return RTN(); + } + std::vector params = {pack(std::forward(args))...}; + ValueType&& res = rawFunc(std::move(params)); + return extract(std::move(res)); + }; + return true; +} + +template , std::function, CB>> +inline Func importAs(std::string const& nameSpace, std::string const& funcName) { + Func callback{}; + bool res = _importAs(nameSpace, funcName, callback); + return std::move(callback); +} + +template +inline bool exportAs(std::string const& nameSpace, std::string const& funcName, CB&& callback) { + return _exportAs(nameSpace, funcName, std::function(std::move(callback))); +} + +}; // namespace RemoteCall diff --git a/LiteLoader/Header/ScheduleAPI.h b/LiteLoader/Header/ScheduleAPI.h new file mode 100644 index 0000000..8162bd1 --- /dev/null +++ b/LiteLoader/Header/ScheduleAPI.h @@ -0,0 +1,53 @@ +#pragma once +#include "Global.h" +#include +#include "Utils/WinHelper.h" + +/////////////////////////////////////////////////////// +// Schedule future callback plans +// +// [Usage] +// +// Schedule::nextTick([](){ +// Logger::Error("hello"); +// }, 20); // Delay this callback to next game tick (20 ticks = 1 second) +// +// Schedule::delay([](){ +// Logger::Error("hello"); +// }, 20); // Delay this callback for 20 ticks (20 ticks = 1 second) +// +// Schedule::repeat([](){ +// Logger::Error("hello"); +// }, 40); // Schedule this callback once per 40 ticks (20 ticks = 1 second) +// +// auto sche = Schedule::delayRepeat([](){ +// Logger::Error("hello"); +// }, 20, 60); // Delay first call to callback for 20 ticks +// // then schedule this callback once per 60 ticks (20 ticks = 1 second) +// +// //...... +// sche.cancel(); // Cancel the schedule +// +///////////////////////////////////////////////////// + +class ScheduleTask { + unsigned int taskId; + +public: + LIAPI bool cancel(); + LIAPI ScheduleTask() = default; + LIAPI ScheduleTask(unsigned int taskId); + + inline unsigned int getTaskId() { + return taskId; + } + + LIAPI bool isFinished() const; +}; + +namespace Schedule { +LIAPI ScheduleTask delay(std::function task, unsigned long long tickDelay, HMODULE handle = GetCurrentModule()); +LIAPI ScheduleTask repeat(std::function task, unsigned long long tickInterval, int maxCount = -1, HMODULE handle = GetCurrentModule()); +LIAPI ScheduleTask delayRepeat(std::function task, unsigned long long tickDelay, unsigned long long tickInterval, int maxCount = -1, HMODULE handle = GetCurrentModule()); +LIAPI ScheduleTask nextTick(std::function task, HMODULE handle = GetCurrentModule()); +}; // namespace Schedule \ No newline at end of file diff --git a/LiteLoader/Header/SendPacketAPI.h b/LiteLoader/Header/SendPacketAPI.h new file mode 100644 index 0000000..b1599c7 --- /dev/null +++ b/LiteLoader/Header/SendPacketAPI.h @@ -0,0 +1,38 @@ +#pragma once +#include "MC/BinaryStream.hpp" +#include "MC/Packet.hpp" + +template +class NetworkPacket : public Packet { +public: + std::string_view view; + NetworkPacket() { + incompressible = compress; + } + NetworkPacket(std::string_view sv) + : view(sv) { + incompressible = compress; + } + inline virtual ~NetworkPacket() { + } + + virtual enum MinecraftPacketIds getId() const { + return (enum MinecraftPacketIds)pid; + } + virtual std::string getName() const { + return "MyPkt"; + } + virtual void write(BinaryStream& bs) const { + bs.getRaw().append(view); + } + virtual enum StreamReadResult _read(class ReadOnlyBinaryStream&) override { + throw("TODO in MyPkt::_read()"); + return (enum StreamReadResult)0; + } + virtual void dummyread() { + throw("TODO in MyPkt::dummyread()"); + } + virtual bool disallowBatching() const { + return !batching; + } +}; \ No newline at end of file diff --git a/LiteLoader/Header/ServerAPI.h b/LiteLoader/Header/ServerAPI.h new file mode 100644 index 0000000..a00f284 --- /dev/null +++ b/LiteLoader/Header/ServerAPI.h @@ -0,0 +1,9 @@ +#pragma once +#include +#include + +namespace LL { +LIAPI std::string getBdsVersion(); +LIAPI int getServerProtocolVersion(); +LIAPI bool setServerMotd(const std::string& motd); +} // namespace LL diff --git a/LiteLoader/Header/TranslationAPI.h b/LiteLoader/Header/TranslationAPI.h new file mode 100644 index 0000000..344f0a4 --- /dev/null +++ b/LiteLoader/Header/TranslationAPI.h @@ -0,0 +1,4 @@ +#pragma once +#pragma message("[WARNING] has been renamed to ") +#pragma message("[WARNING] Please fix your include in source code!") +#include "I18nAPI.h" \ No newline at end of file diff --git a/LiteLoader/Header/Utils/Bstream.h b/LiteLoader/Header/Utils/Bstream.h new file mode 100644 index 0000000..90a6217 --- /dev/null +++ b/LiteLoader/Header/Utils/Bstream.h @@ -0,0 +1,219 @@ +#pragma once +#include +#include +#include +#include +#include +#include +#include +#include +#ifdef BUF_CHK +# define DO_BUF_CHK() assert(datamax > data) +# define BUF_CHK_VAR uintptr_t datamax +#else +# define DO_BUF_CHK() +# define BUF_CHK_VAR +#endif +template +struct is_safe_obj + : std::integral_constant>::value> {}; + +typedef unsigned int bsize_t; +class RBStream { + public: + uintptr_t data; + BUF_CHK_VAR; + RBStream(void *dat, size_t len) { + data = (uintptr_t)dat; + (void)len; +#ifdef BUF_CHK + datamax = data; + datamax += len; +#endif + } + RBStream(std::string_view x) { *this = {(void *)x.data(), (size_t)x.size()}; } + + private: + template + void __get(std::unordered_map &x) { + bsize_t sz; + __get(sz); + x.reserve(sz); + for (bsize_t i = 0; i < sz; ++i) { + T1 local; + T2 local2; + __get(local); + __get(local2); + x.insert({std::move(local), std::move(local2)}); + } + } + template + void __get(std::vector &x) { + bsize_t sz; + __get(sz); + x.reserve(sz); + for (bsize_t i = 0; i < sz; ++i) { + T1 local; + __get(local); + x.push_back(std::move(local)); + } + } + template + void __get(std::list &x) { + bsize_t sz; + __get(sz); + for (bsize_t i = 0; i < sz; ++i) { + T1 local; + __get(local); + x.push_back(std::move(local)); + } + } + void __get(std::string &x) { + bsize_t sz; + __get(sz); + x.reserve(sz); + x.append((const char *)data, sz); + data += sz; + DO_BUF_CHK(); + } + template + void __get(T &x) { + if constexpr (is_safe_obj()) { + static_assert(!std::is_reference()); + memcpy(&x, (void *)data, sizeof(x)); + data += sizeof(T); + DO_BUF_CHK(); + } else { + x.unpack(*this); + } + } + + public: + template + void apply(T &... args) { + (__get(args), ...); + } + void read(void *dst, size_t n) { + memcpy(dst, (void *)data, n); + data += n; + DO_BUF_CHK(); + } +}; +template +class WBStreamImpl { + public: + container data; + + private: + template + void __put(std::unordered_map const &x) { + bsize_t sz = (bsize_t)x.size(); + __put(sz); + for (auto &[k, v] : x) { + __put(k); + __put(v); + } + } + template + void __put(std::vector const &x) { + bsize_t sz = x.size(); + __put(sz); + for (auto i = x.begin(); i != x.end(); ++i) { + __put(*i); + } + } + template + void __put(std::list const &x) { + bsize_t sz = (bsize_t)x.size(); + __put(sz); + for (auto i = x.begin(); i != x.end(); ++i) { + __put(*i); + } + } + void __put(std::string const &x) { + __put((bsize_t)x.size()); + data.append(x); + } + void __put(std::string_view const &x) { + __put((bsize_t)x.size()); + data.append(x); + } + template + void __put(T const &x) { + if constexpr (is_safe_obj()) { + data.append((const char *)&x, sizeof(T)); + } else { + x.pack(*this); + } + } + + public: + WBStreamImpl() {} + WBStreamImpl(container &&x) : data(x) {} + template + void apply(T const &... args) { + (__put(args), ...); + } + void write(const void *src, size_t n) { data.append((const char *)src, n); } + operator std::string_view() { return data; } +}; +using WBStream = WBStreamImpl; +struct BinVariant { + /*long long or string*/ + union VType + { + long long x; + std::string y; + VType() {} + ~VType() {} + } v; + unsigned char type; + BinVariant(long long x) { + type = 1; + v.x = x; + } + BinVariant(std::string &&x) { + type = 2; + new (&v.y) std::string(std::move(x)); + } + BinVariant(std::string const &x) { + type = 2; + new (&v.y) std::string(x); + } + BinVariant() { type = 0; } + ~BinVariant() { + if (type == 2) { + v.y.~basic_string(); + } + } + void unpack(RBStream &rs) { + rs.apply(type); + switch (type) { + case 1: + { + rs.apply(v.x); + } break; + case 2: + { + new (&v.y) std::string(); + rs.apply(v.y); + } + } + } + void pack(WBStream &ws) const { + ws.apply(type); + switch (type) { + case 1: + { + ws.apply(v.x); + } break; + case 2: + { + ws.apply(v.y); + } + } + } +}; +static inline unsigned long long ZigZag(long long x) { + return (x << 1) ^ (x >> 63); +} \ No newline at end of file diff --git a/LiteLoader/Header/Utils/CryptHelper.h b/LiteLoader/Header/Utils/CryptHelper.h new file mode 100644 index 0000000..3363e9c --- /dev/null +++ b/LiteLoader/Header/Utils/CryptHelper.h @@ -0,0 +1,6 @@ +#pragma once +#include "../Global.h" +#include + +LIAPI std::string CalcMD5(const std::string& str); +LIAPI std::string CalcSHA1(const std::string& str); \ No newline at end of file diff --git a/LiteLoader/Header/Utils/CsLock.h b/LiteLoader/Header/Utils/CsLock.h new file mode 100644 index 0000000..d6eb4ab --- /dev/null +++ b/LiteLoader/Header/Utils/CsLock.h @@ -0,0 +1,31 @@ +#pragma once +#include "../Global.h" +#include + +// ===== Critical Section Locker ===== +// a simple lock which is much faster than std::mutex + +class CsLock { + bool inited = false; + CRITICAL_SECTION cslock; + +public: + LIAPI CsLock(); + LIAPI ~CsLock(); + LIAPI bool tryLock(); + LIAPI bool lock(); + LIAPI bool unlock(); +}; + +class CsLockHolder { + CsLock& locker; + +public: + LIAPI CsLockHolder(CsLock& lock) + : locker(lock) { + locker.lock(); + } + LIAPI ~CsLockHolder() { + locker.unlock(); + } +}; diff --git a/LiteLoader/Header/Utils/DbgHelper.h b/LiteLoader/Header/Utils/DbgHelper.h new file mode 100644 index 0000000..bf51f1f --- /dev/null +++ b/LiteLoader/Header/Utils/DbgHelper.h @@ -0,0 +1,20 @@ +#pragma once +#include +#include +#include + +class Logger; + +LIAPI bool PrintCurrentStackTraceback(PEXCEPTION_POINTERS e = nullptr, Logger* logger = nullptr); + +inline bool PrintCurrentStackTraceback(Logger* logger) +{ + return PrintCurrentStackTraceback(nullptr, logger); +} + +// flag: VS_VERSION.dwFileFlags +LIAPI HMODULE GetCallerModule(unsigned long FramesToSkip = 0); +LIAPI std::string GetCallerModuleFileName(unsigned long FramesToSkip = 0); +LIAPI bool GetFileVersion(const wchar_t* filePath, unsigned short* ver1, unsigned short* ver2, unsigned short* ver3, unsigned short* ver4 = nullptr, unsigned int* flag = nullptr); +LIAPI std::string GetFileVersionString(HMODULE hModule, bool includeFlag = false); +LIAPI std::string GetFileVersionString(std::string const& filePath, bool includeFlag = false); diff --git a/LiteLoader/Header/Utils/FileHelper.h b/LiteLoader/Header/Utils/FileHelper.h new file mode 100644 index 0000000..0de1bb3 --- /dev/null +++ b/LiteLoader/Header/Utils/FileHelper.h @@ -0,0 +1,14 @@ +#pragma once +#include "../Global.h" +#include +#include +#include + +LIAPI FILE* GetFILEfromFstream(std::fstream& fs); +LIAPI HANDLE GetHANDLEfromFstream(std::fstream& fs); + +LIAPI std::vector GetFileNameList(const std::string& dir); +LIAPI bool CreateDirs(const std::string path); +LIAPI std::optional ReadAllFile(const std::string& filePath, bool isBinary = false); +LIAPI bool WriteAllFile(const std::string& filePath, const std::string& content, bool isBinary = false); +LIAPI std::pair UncompressFile(const std::string& filePath, const std::string& toDir, int processTimeout); \ No newline at end of file diff --git a/LiteLoader/Header/Utils/Hash.h b/LiteLoader/Header/Utils/Hash.h new file mode 100644 index 0000000..677d6f6 --- /dev/null +++ b/LiteLoader/Header/Utils/Hash.h @@ -0,0 +1,45 @@ +#pragma once +#include + + +typedef unsigned long long CHash; + +constexpr uint64_t do_hash(const char* x); +constexpr uint64_t do_hash(const char* x, int len); +constexpr uint64_t do_hash2(std::string_view x); + +constexpr uint64_t do_hash(const char* x) { + // ap hash + uint64_t rval = 0; + for (size_t i = 0; x[i]; ++i) { + if (i & 1) { + rval ^= (~((rval << 11) ^ x[i] ^ (rval >> 5))); + } else { + rval ^= (~((rval << 7) ^ x[i] ^ (rval >> 3))); + } + } + return rval; +} +constexpr uint64_t do_hash(const char* x, int len) { + // ap hash + uint64_t rval = 0; + for (size_t i = 0; i < len; ++i) { + if (i & 1) { + rval ^= (~((rval << 11) ^ x[i] ^ (rval >> 5))); + } else { + rval ^= (~((rval << 7) ^ x[i] ^ (rval >> 3))); + } + } + return rval; +} + +constexpr uint64_t do_hash2(std::string_view x) { + // ap hash + uint64_t rval = 0; + for (size_t i = 0; i < x.size(); ++i) { + rval *= 128; + rval += x[i]; + rval += 4; + } + return rval; +} \ No newline at end of file diff --git a/LiteLoader/Header/Utils/Json.h b/LiteLoader/Header/Utils/Json.h new file mode 100644 index 0000000..1f78f44 --- /dev/null +++ b/LiteLoader/Header/Utils/Json.h @@ -0,0 +1,471 @@ +#pragma once + +#include "../Global.h" +#include +#include +#include +#include +#include +#include +#include +#include + +namespace Json { + +class StaticString { +public: + explicit StaticString(const char* czstring) + : c_str_(czstring) { + } + operator const char*() const { + return c_str_; + } + const char* c_str() const { + return c_str_; + } + +private: + const char* c_str_; +}; + +class ValueConstIterator; +class ValueIterator; +enum ValueType : char { + nullValue = 0, ///< 'null' value + intValue, ///< signed integer value + uintValue, ///< unsigned integer value + realValue, ///< double value + stringValue, ///< UTF-8 string value + booleanValue, ///< bool value + arrayValue, ///< array value (ordered list) + objectValue ///< object value (collection of name/value pairs). +}; + +using UInt = unsigned; +using UInt64 = unsigned long long; +using Int = int; +using Int64 = long long; +using LargestInt = Int64; +using LargestUInt = UInt64; +using ArrayIndex = unsigned; + +enum CommentPlacement { + commentBefore = 0, ///< a comment placed on the line before a value + commentAfterOnSameLine, ///< a comment just after a value on the same line + commentAfter, ///< a comment on the line after a value (only make sense for + /// root value) + numberOfCommentPlacement +}; + +class Value { + friend class ValueIteratorBase; + +public: + class CZString { + public: + enum DuplicationPolicy { + noDuplication = 0, + duplicate, + duplicateOnCopy + }; + inline CZString(ArrayIndex index) + : cstr_(nullptr) + , index_(index) { + } + CZString(char const* str, unsigned length, DuplicationPolicy allocate) + : cstr_(str) { + storage_.policy_ = allocate & 0x3; + storage_.length_ = length & 0x3FFFFFFF; + } + MCAPI CZString(CZString const& other); + MCAPI ~CZString(); + CZString& operator=(const CZString& other) { + cstr_ = other.cstr_; + index_ = other.index_; + return *this; + } + bool operator<(CZString const& other) const { + if (!cstr_) + return index_ < other.index_; + unsigned this_len = this->storage_.length_; + unsigned other_len = other.storage_.length_; + unsigned min_len = std::min(this_len, other_len); + int comp = memcmp(this->cstr_, other.cstr_, min_len); + if (comp < 0) + return true; + if (comp > 0) + return false; + return (this_len < other_len); + } + bool operator==(CZString const& other) const { + if (!cstr_) + return index_ == other.index_; + unsigned this_len = this->storage_.length_; + unsigned other_len = other.storage_.length_; + if (this_len != other_len) + return false; + int comp = memcmp(this->cstr_, other.cstr_, this_len); + return comp == 0; + } + ArrayIndex index() const { + return index_; + } + const char* c_str() const { + return cstr_; + } + bool isStaticString() const { + return storage_.policy_ == noDuplication; + } + + private: + struct StringStorage { + unsigned policy_ : 2; + unsigned length_ : 30; // 1GB max + }; + char const* cstr_; + union { + ArrayIndex index_; + StringStorage storage_; + }; + }; + + using iterator = ValueIterator; + using const_iterator = ValueConstIterator; + using ObjectValues = std::map; + +public: + Value(ValueType type = nullValue) { + bits_.value_type_ = type; + switch (type) { + case 6: + case 7: + value_.map_ = new ObjectValues; + break; + default: + value_.string_ = nullptr; + } + } + Value(Int value) { + bits_.value_type_ = intValue; + value_.int_ = value; + } + Value(UInt value) { + bits_.value_type_ = uintValue; + value_.uint_ = value; + } + Value(double value) { + bits_.value_type_ = realValue; + value_.real_ = value; + } + MCAPI Value(const char* value); + Value(bool value) { + bits_.value_type_ = booleanValue; + value_.bool_ = value; + } + MCAPI Value(const Value& other); + MCAPI ~Value(); + + MCAPI static Value const null; + + MCAPI void swap(Value& other); + ValueType type() const { + return bits_.value_type_; + } + + MCAPI Value& operator=(const Value& other); + + MCAPI bool operator<(const Value& other) const; + MCAPI bool operator==(const Value& other) const; + + MCAPI std::string asString(std::string const&) const; + MCAPI Int asInt(Int) const; + MCAPI UInt asUInt(UInt) const; + MCAPI float asFloat(float) const; + MCAPI double asDouble(double) const; + MCAPI bool asBool(bool) const; + + MCAPI bool isNull() const; + bool isBool() const { + return type() == booleanValue; + } + bool isInt() const { + return type() == intValue; + } + bool isUInt() const { + return type() == uintValue; + } + bool isIntegral() const { + return type() == intValue || type() == uintValue; + } + bool isDouble() const { + return type() == realValue; + } + MCAPI bool isNumeric() const; + MCAPI bool isString() const; + bool isArray() const { + return type() == arrayValue; + } + bool isObject() const { + return type() == objectValue; + } + MCAPI bool isConvertibleTo(ValueType other) const; + + MCAPI ArrayIndex size() const; + MCAPI bool empty() const; + void clear() { + if (type() == arrayValue || type() == objectValue) { + value_.map_->clear(); + } + } + MCAPI void resize(ArrayIndex newSize); + MCAPI Value& operator[](ArrayIndex index); + MCAPI Value& operator[](int index); + MCAPI const Value& operator[](ArrayIndex index) const; + MCAPI const Value& operator[](int index) const; + MCAPI Value& append(const Value& value); + + MCAPI Value& operator[](const char* key); + MCAPI const Value& operator[](const char* key) const; + MCAPI Value& operator[](const std::string& key); + MCAPI const Value& operator[](const std::string& key) const; + MCAPI Value removeMember(const char* key); + void removeMember(const std::string& key) { + removeMember(key.c_str()); + } + MCAPI bool isMember(const char* key) const; + bool isMember(const std::string& key) const { + return isMember(key.c_str()); + } + + MCAPI const_iterator begin() const; + MCAPI const_iterator end() const; + + MCAPI iterator begin(); + MCAPI iterator end(); + + MCAPI std::string toStyledString() const; + + union ValueHolder { + LargestInt int_; + LargestUInt uint_; + double real_; + bool bool_; + char* string_; // actually ptr to unsigned, followed by str, unless + // !allocated_ + ObjectValues* map_; + } value_; + struct { + ValueType value_type_ : 8; + bool allocated_ : 1; + } bits_; + +private: + MCAPI Value& resolveReference(const char* key, bool create); +}; + +class ValueIteratorBase { +public: + typedef std::bidirectional_iterator_tag iterator_category; + typedef unsigned int size_t; + typedef int difference_type; + typedef ValueIteratorBase SelfType; + + bool operator==(const SelfType& other) const { + return isEqual(other); + } + bool operator!=(const SelfType& other) const { + return !isEqual(other); + } + + MCAPI Value key() const; + +protected: + MCAPI void increment(void); + MCAPI class Json::Value& deref(void) const; + + bool isEqual(const SelfType& other) const { + if (isNull_) + return other.isNull_; + return current_ == other.current_; + } + +private: + Value::ObjectValues::iterator current_; + bool isNull_; + +public: + ValueIteratorBase(); + explicit ValueIteratorBase(const Value::ObjectValues::iterator& current); +}; +class ValueConstIterator : public ValueIteratorBase { + friend class Value; + +public: + typedef const Value value_type; + // typedef unsigned int size_t; + // typedef int difference_type; + typedef const Value& reference; + typedef const Value* pointer; + typedef ValueConstIterator SelfType; + + ValueConstIterator(); + ValueConstIterator(ValueIterator const& other); + +private: + explicit ValueConstIterator(const Value::ObjectValues::iterator& current); + +public: + MCAPI SelfType& operator++(); + MCAPI reference operator*() const; +}; + +class ValueIterator : public ValueIteratorBase { + friend class Value; + +public: + typedef Value value_type; + typedef unsigned int size_t; + typedef int difference_type; + typedef Value& reference; + typedef Value* pointer; + typedef ValueIterator SelfType; + + ValueIterator(); + explicit ValueIterator(const ValueConstIterator& other); + ValueIterator(const ValueIterator& other); + +private: + explicit ValueIterator(const Value::ObjectValues::iterator& current); + +public: + SelfType& operator++() { + increment(); + return *this; + } + + Json::Value& operator*() { + return deref(); + } + // MCAPI reference operator*() const; +}; + +class Features { +public: + static Features all(); + static Features strictMode(); + Features(); + bool strictRoot_; + bool allowNumericKeys_; +}; + +class Reader { +public: + typedef char Char; + typedef const Char* Location; + struct StructuredError { + ptrdiff_t offset_start; + ptrdiff_t offset_limit; + std::string message; + }; + MCAPI Reader(); + + MCAPI bool parse(const std::string& document, Value& root, bool collectComments = true); + MCAPI bool parse(const char* beginDoc, const char* endDoc, Value& root, bool collectComments = true); + MCAPI bool parse(const char* beginDoc, unsigned long long length, Value& root, bool collectComments = true); + MCAPI bool parse(std::istream& is, Value& root, bool collectComments = true); + + MCAPI std::string getFormattedErrorMessages() const; + +private: + enum TokenType { + tokenEndOfStream = 0, + tokenObjectBegin, + tokenObjectEnd, + tokenArrayBegin, + tokenArrayEnd, + tokenString, + tokenNumber, + tokenTrue, + tokenFalse, + tokenNull, + tokenArraySeparator, + tokenMemberSeparator, + tokenComment, + tokenError + }; + + class Token { + public: + TokenType type_; + Location start_; + Location end_; + }; + + class ErrorInfo { + public: + Token token_; + std::string message_; + Location extra_; + }; + typedef std::deque Errors; + + typedef std::stack Nodes; + Nodes nodes_; + Errors errors_; + std::string document_; + Location begin_; + Location end_; + Location current_; + Location lastValueEnd_; + Value* lastValue_; + std::string commentsBefore_; + Features features_; + bool collectComments_; +}; + +class Writer { +public: + virtual ~Writer() { + } + virtual std::string write(const Value& root) = 0; +}; + +class FastWriter : public Writer { +public: + FastWriter() { + } + ~FastWriter() override { + } + +public: + MCAPI std::string write(const Value& root) override; + +private: + std::string document_; + bool yamlCompatibilityEnabled_; + bool dropNullPlaceholders_; + bool omitEndingLineFeed_; +}; + +class StyledWriter : public Writer { +public: + StyledWriter() { + } + ~StyledWriter() override { + } + +public: + MCAPI std::string write(const Value& root) override; + +private: + typedef std::vector ChildValues; + + ChildValues childValues_; + std::string document_; + std::string indentString_; + unsigned int rightMargin_; + unsigned int indentSize_; + bool addChildValues_; +}; + +} // namespace Json \ No newline at end of file diff --git a/LiteLoader/Header/Utils/NetworkHelper.h b/LiteLoader/Header/Utils/NetworkHelper.h new file mode 100644 index 0000000..787c82e --- /dev/null +++ b/LiteLoader/Header/Utils/NetworkHelper.h @@ -0,0 +1,21 @@ +#pragma once +#include "../Global.h" +#include +#include +#include + +// "http(s)://www.aaa.com/bbb/c.html" -> ""http(s)://www.aaa.com" & "/bbb/c.html" +LIAPI void SplitHttpUrl(const std::string& url, std::string& host, std::string& path); + +// Http Post (async) +// [param] void callback(status, data) +LIAPI bool HttpPost(const string& url, const httplib::Headers& headers, const string& data, const string& type, const std::function& callback, int timeout = -1); +LIAPI bool HttpPost(const string& url, const string& data, const string& type, const std::function& callback, int timeout = -1); +// Http Get (async) +// [param] void callback(status, data) +LIAPI bool HttpGet(const std::string& url, const httplib::Headers& headers, const std::function& callback, int timeout = -1); +LIAPI bool HttpGet(const std::string& url, const std::function& callback, int timeout = -1); + +// Http Get (sync) +// [return] {status, data} +LIAPI bool HttpGetSync(const std::string& url, int* statusRtn = nullptr, std::string* dataRtn = nullptr, int timeout = -1); \ No newline at end of file diff --git a/LiteLoader/Header/Utils/Optional.h b/LiteLoader/Header/Utils/Optional.h new file mode 100644 index 0000000..396139e --- /dev/null +++ b/LiteLoader/Header/Utils/Optional.h @@ -0,0 +1,70 @@ +#pragma once +struct Ioptional {}; +template +struct optional : Ioptional { + char filler[sizeof(T)]; + using Tval = typename T; + bool set; + T& value() { + if (!set) { + throw(std::exception("bad optional access")); + } + return *(T*)filler; + } + const T& value() const { + if (!set) { + throw(std::exception("bad optional access")); + } + return *(T*)filler; + } + const T& val() const { + return value(); + } + T& val() { + return value(); + } + inline bool Set() const { + return set; + } + optional(T const& v) { + new (filler) T(v); + set = true; + } + optional(T&& v) { + new (filler) T(std::forward(v)); + set = true; + } + optional() { + set = false; + } + optional(const optional& x) { + set = x.set; + if (set) { + new (filler) T(x.value()); + } + } + optional(optional&& x) noexcept { + set = x.set; + if (set) { + new (filler) T(std::move(x.value())); + } + x.set = false; + } + optional& operator=(const optional& x) { + set = x.set; + if (set) { + new (filler) T(x.value()); + } + return *this; + } + ~optional() { + if (set) { + value().~T(); + } + } + template + void then(Callable const& x) { + if (set) + x(val()); + } +}; diff --git a/LiteLoader/Header/Utils/PatchHelper.h b/LiteLoader/Header/Utils/PatchHelper.h new file mode 100644 index 0000000..3842377 --- /dev/null +++ b/LiteLoader/Header/Utils/PatchHelper.h @@ -0,0 +1,95 @@ +#pragma once +#include +#include +#include + +// An Example to shou you how to use PatchHelper<> to patch the program +// in this example, we change the code to call Item::_useOn via vftable in specific function +// this is way better that modify vftable directly in some situation like this +// +//bool _Item_UseOn_Hook(Item* _this, ItemStack& item, Actor& actor, BlockPos blockPos, unsigned char unk, Vec3& pos) { +// logger.info("Item::_useOn"); +// return _this->_useOn(item, actor, blockPos, unk, pos); +//} +//useOnHook() { +// constexpr size_t max_step = 0x300; +// constexpr size_t ori_size = 11; +// +// unsigned char* begin = (unsigned char*)dlsym_real("?useOn@Item@@QEBA_NAEAVItemStack@@AEAVActor@@HHHEAEBVVec3@@@Z"); +// unsigned char* end = begin + max_step; +// +// PatchHelper ori({ +// 0x90, // nop +// 0x48, 0x8B, 0x07, // mov rax, [rdi] +// 0x4C, 0x8B, 0x90, 0x30, 0x04, 0x00, 0x00 // mov r10, [rax+430h] +// }); +// +// unsigned char* fn = (unsigned char*)new unsigned __int64((unsigned __int64)_Item_UseOn_Hook); +// +// PatchHelper target({ +// 0x90, // nop +// 0x49, 0xBA, fn[0], fn[1], fn[2], fn[3], fn[4], fn[5], fn[6], fn[7], // mov r10, _Item_UseOn_Hook +// }); +// +// unsigned char* found = find(begin, end, ori.data, ori_size); +// if (!found) { +// printf("Failed to hook Item::_useOn (asm patch target not found)\n"); +// return; +// } +// printf("Found target asm at %X (%X)\n", found, found - begin); +// if (!((PatchHelper*)found)->EasyPatch(ori, target)) { +// printf("Failed to patch Item::_useOn\n"); +// } +//} + +template +struct PatchHelper { + unsigned char data[len]; + using ref_t = unsigned char (&)[len]; + constexpr bool operator==(ref_t ref) const noexcept { + return memcmp(data, ref, sizeof data) == 0; + } + constexpr bool operator!=(ref_t ref) const noexcept { + return memcmp(data, ref, sizeof data) != 0; + } + constexpr bool operator==(PatchHelper ref) const noexcept { + return memcmp(data, ref.data, sizeof data) == 0; + } + constexpr bool operator!=(PatchHelper ref) const noexcept { + return memcmp(data, ref.data, sizeof data) != 0; + } + inline void operator=(ref_t ref) { + memcpy(data, ref, sizeof data); + } + inline bool DoPatch(PatchHelper expected, PatchHelper patched) { + if (*this == expected) { + *this = patched; + return true; + } + return false; + } + inline bool EasyPatch(PatchHelper expected, PatchHelper patched) { + DWORD old, tmp; + VirtualProtect((LPVOID)this, (SIZE_T)len, PAGE_EXECUTE_READWRITE, &old); + bool result = DoPatch(expected, patched); + VirtualProtect((LPVOID)this, (SIZE_T)len, old, &tmp); + return result; + } + + inline std::string Dump() const noexcept { + char buffer[2 * len + 1] = {}; + char* ptr = buffer; + for (auto ch : data) + ptr += sprintf(ptr, "%02X", (unsigned)ch); + return {buffer}; + } +}; + +struct NopFiller { + template + inline operator PatchHelper() { + PatchHelper ret; + memset(ret.data, 0x90, len); + return ret; + } +}; \ No newline at end of file diff --git a/LiteLoader/Header/Utils/PlayerMap.h b/LiteLoader/Header/Utils/PlayerMap.h new file mode 100644 index 0000000..48ebb35 --- /dev/null +++ b/LiteLoader/Header/Utils/PlayerMap.h @@ -0,0 +1,50 @@ +#pragma once +#include +class ServerPlayer; +struct DePlayerCB { + void* userdata; + void (*cb)(void*, ServerPlayer*); + void operator()(ServerPlayer* sp) { + cb(userdata, sp); + } +}; + +LIAPI void _regDePlayerCB(DePlayerCB); + +template +class playerMap { +public: + std::unordered_map _map; + +private: + static void onDelete(playerMap& thi, ServerPlayer* sp) { + thi._map.erase(sp); + } + +public: + playerMap() { + DePlayerCB cb; + cb.userdata = this; + cb.cb = (decltype(cb.cb))(&playerMap::onDelete); + _regDePlayerCB(cb); + } + inline T& get(ServerPlayer* sp) { + auto it = _map.find(sp); + if (it == _map.end()) { + if constexpr (std::is_constructible()) { + _map.emplace(sp, *sp); + } else { + _map.operator[](sp); + } + return get(sp); + } else { + return it->second; + } + } + T& operator[](ServerPlayer* sp) { + return get(sp); + } + T& operator[](ServerPlayer& sp) { + return get(&sp); + } +}; \ No newline at end of file diff --git a/LiteLoader/Header/Utils/PluginOwnData.h b/LiteLoader/Header/Utils/PluginOwnData.h new file mode 100644 index 0000000..4ede1a2 --- /dev/null +++ b/LiteLoader/Header/Utils/PluginOwnData.h @@ -0,0 +1,98 @@ +#pragma once +//////////////////////////////////////////////////////////////////////// +// To store those data which is specific for every plugin itself +// Must be used header-only! +// +// [Usage] +// +// PluginOwnData::set("name","hello!"); +// ...... +// ...... +// cout << PluginOwnData::get("name") << endl; // "hello!" +// ...... +// if(PluginOwnData::has("name")) +// PluginOwnData::remove("name"); +// +//////////////////////////////////////////////////////////////////////// + + +#include +#include "WinHelper.h" +#include +#include +#include "../Global.h" + +LIAPI extern std::unordered_map> ll_PluginOwnData; + +namespace PluginOwnData { +inline bool hasImpl(HMODULE hPlugin, const std::string& key) { + return ll_PluginOwnData[hPlugin].find(key) != ll_PluginOwnData[hPlugin].end(); +} + +template +inline void removeImpl(HMODULE hPlugin, const std::string& key) { + if (hasImpl(hPlugin, key)) { + delete (T*)ll_PluginOwnData[hPlugin][key]; + } +} + +template +inline T& setImpl(HMODULE hPlugin, const std::string& key, const Args&... args) { + removeImpl(hPlugin, key); + T* res = new T(args...); + ll_PluginOwnData[hPlugin][key] = res; + return *res; +} + +template +inline T& setWithoutNewImpl(HMODULE hPlugin, const std::string& key, T* val) { + removeImpl(hPlugin, key); + ll_PluginOwnData[hPlugin][key] = val; + return *val; +} + +template +inline T& getImpl(HMODULE hPlugin, const std::string& key) { + if (!hasImpl(hPlugin, key)) { + throw std::out_of_range("The specified key is not found!"); + } + return *(T*)ll_PluginOwnData[hPlugin][key]; +} + +template +inline T& getOrImpl(HMODULE hPlugin, const std::string& key, const Args&... args) { + if (!hasImpl(hPlugin, key)) { + return setImpl(hPlugin, key, args...); + } + return *(T*)ll_PluginOwnData[hPlugin][key]; +} + +template +inline T& set(const std::string& key, const Args&... args) { + return setImpl(GetCurrentModule(), key, args...); +} + +template +inline T& setWithoutNew(const std::string& key, T* val) { + return setWithoutNewImpl(GetCurrentModule(), key, val); +} + +template +inline T& get(const std::string& key) { + return getImpl(GetCurrentModule(), key); +} + +template +inline T& getOr(const std::string& key, const Args& ... args) { + return getOrImpl(GetCurrentModule(), key, args...); +} + +inline bool has(const std::string& key) { + return hasImpl(GetCurrentModule(), key); +} + +template +inline void remove(const std::string& key) { + return removeImpl(GetCurrentModule(), key); +} +} // namespace PluginOwnData \ No newline at end of file diff --git a/LiteLoader/Header/Utils/SRWLock.h b/LiteLoader/Header/Utils/SRWLock.h new file mode 100644 index 0000000..efa29e2 --- /dev/null +++ b/LiteLoader/Header/Utils/SRWLock.h @@ -0,0 +1,43 @@ +#pragma once +#include "../Global.h" + +class SRWLock { + bool inited = false; + SRWLOCK srwlock{}; + +public: + LIAPI SRWLock(); + LIAPI void lock(); + LIAPI bool try_lock(); + LIAPI void unlock(); + LIAPI void lock_shared(); + LIAPI bool try_lock_shared(); + LIAPI void unlock_shared(); +}; + +class SRWLockHolder { + SRWLock& locker; + +public: + inline SRWLockHolder(SRWLock& lock) + : locker(lock) { + locker.lock(); + } + inline ~SRWLockHolder() { + locker.unlock(); + } +}; + + +class SRWLockSharedHolder { + SRWLock& locker; + +public: + inline SRWLockSharedHolder(SRWLock& lock) + : locker(lock) { + locker.lock_shared(); + } + inline ~SRWLockSharedHolder() { + locker.unlock_shared(); + } +}; \ No newline at end of file diff --git a/LiteLoader/Header/Utils/STLHelper.h b/LiteLoader/Header/Utils/STLHelper.h new file mode 100644 index 0000000..47a78f6 --- /dev/null +++ b/LiteLoader/Header/Utils/STLHelper.h @@ -0,0 +1,14 @@ +#pragma once +#include +#include + +template +void erase_if(ContainerT& items, const PredicateT& predicate) { + for (auto it = items.begin(); it != items.end();) { + if (predicate(*it)) { + it = items.erase(it); + } else { + ++it; + } + } +}; \ No newline at end of file diff --git a/LiteLoader/Header/Utils/ShellLinkFile.h b/LiteLoader/Header/Utils/ShellLinkFile.h new file mode 100644 index 0000000..923559e --- /dev/null +++ b/LiteLoader/Header/Utils/ShellLinkFile.h @@ -0,0 +1,254 @@ +#pragma once +#include "../Global.h" + +struct IShellLinkW; +struct IPersistFile; + +class ShellLinkFile { + + IShellLinkW* shellLink = nullptr; + IPersistFile* presistFile = nullptr; + std::wstring lnkPath; + + void _Init(); + +public: + /** + * @brief The HotKey struct + * + * @see https://docs.microsoft.com/en-us/windows/win32/api/shobjidl_core/nf-shobjidl_core-ishelllinkw-gethotkey#parameters + * @note The modifier flags(mod) can be a combination of the following values: + * HOTKEYF_ALT, HOTKEYF_CONTROL, HOTKEYF_EXT, HOTKEYF_SHIFT. + */ + struct HotKey { + char vk; // Low + char mod; // High + }; + + /** + * @brief Init (and load) a shell link file. + * + * @param path The path to the file(optional). + * If `path` is empty, the file will not be loaded. + */ + LIAPI ShellLinkFile(const std::string& path); + /** + * @brief Init (and load) a shell link file. + * + * @param path The path to the file(optional). + * If `path` is empty, the file will not be loaded. + */ + LIAPI ShellLinkFile(const std::wstring& path = L""); + LIAPI ~ShellLinkFile(); + + /** + * @brief Load a shell link(.lnk) file. + * + * @param path The path to the file + * @return ShellLinkFile& *this + */ + LIAPI ShellLinkFile& load(const std::string& path); + /** + * @brief Load a shell link(.lnk) file. + * + * @param path The path to the file + * @return ShellLinkFile& *this + */ + LIAPI ShellLinkFile& load(const std::wstring& path); + + /** + * @brief Save the shell link file. + * + * @param path The path where to save the file. + * @return ShellLinkFile& *this + */ + LIAPI ShellLinkFile& save(const std::string& path); + /** + * @brief Save the shell link file. + * + * @param path The path where to save the file(optional). + * @return ShellLinkFile& *this + */ + LIAPI ShellLinkFile& save(const std::wstring& path = L""); + + /** + * @brief Try resloving the shell link file. + * + * @param hwnd The hwnd + * @param flags The flags + * @return bool True if resolved, false otherwise. + * @see https://docs.microsoft.com/en-us/windows/win32/api/shobjidl_core/nf-shobjidl_core-ishelllinkw-resolve + */ + LIAPI bool resolve(HWND hwnd, DWORD flags); + + /** + * @brief Close the shell link file. + * + */ + LIAPI void close(); + + /** + * @brief Get the target path of the shell link file. + * + * @return std::string The path + */ + LIAPI std::string getPath(); + /** + * @brief Get the target path of the shell link file. + * + * @return std::wstring The path + */ + LIAPI std::wstring getPathW(); + /** + * @brief Set the target path of the shell link file. + * + * @param path The path + * @return ShellLinkFile& *this + */ + LIAPI ShellLinkFile& setPath(const std::string& path); + /** + * @brief Set the target path of the shell link file. + * + * @param path The path + * @return ShellLinkFile& *this + */ + LIAPI ShellLinkFile& setPath(const std::wstring& path); + + /** + * @brief Get the working directory of the shell link file. + * + * @return std::string The path + */ + LIAPI std::string getWorkingDirectory(); + /** + * @brief Get the working directory of the shell link file. + * + * @return std::wstring The path + */ + LIAPI std::wstring getWorkingDirectoryW(); + /** + * @brief Set the working directory of the shell link file. + * + * @param path The path + * @return ShellLinkFile& *this + */ + LIAPI ShellLinkFile& setWorkingDirectory(const std::string& path); + /** + * @brief Set the working directory of the shell link file. + * + * @param path The path + * @return ShellLinkFile& *this + */ + LIAPI ShellLinkFile& setWorkingDirectory(const std::wstring& path); + + /** + * @brief Get the description of the shell link file. + * + * @return std::string The description + */ + LIAPI std::string getDescription(); + /** + * @brief Get the description of the shell link file. + * + * @return std::wstring The description + */ + LIAPI std::wstring getDescriptionW(); + /** + * @brief Set the description of the shell link file. + * + * @param description The description + * @return ShellLinkFile& *this + */ + LIAPI ShellLinkFile& setDescription(const std::string& description); + /** + * @brief Set the description of the shell link file. + * + * @param description The description + * @return ShellLinkFile& *this + */ + LIAPI ShellLinkFile& setDescription(const std::wstring& description); + + /** + * @brief Get the arguments of the shell link file. + * + * @return std::string The arguments + */ + LIAPI std::string getArguments(); + /** + * @brief Get the arguments of the shell link file. + * + * @return std::wstring The arguments + */ + LIAPI std::wstring getArgumentsW(); + /** + * @brief Set the arguments of the shell link file. + * + * @param arguments The arguments + * @return ShellLinkFile& *this + */ + LIAPI ShellLinkFile& setArguments(const std::string& arguments); + /** + * @brief Set the arguments of the shell link file. + * + * @param arguments The arguments + * @return ShellLinkFile& *this + */ + LIAPI ShellLinkFile& setArguments(const std::wstring& arguments); + + /** + * @brief Get the icon location of the shell link file. + * + * @return std::string The icon location + */ + LIAPI std::string getIconLocation(); + /** + * @brief Get the icon location of the shell link file. + * + * @return std::wstring The icon location + */ + LIAPI std::wstring getIconLocationW(); + /** + * @brief Set the icon location of the shell link file. + * + * @param iconLocation The icon location + * @return ShellLinkFile& *this + */ + LIAPI ShellLinkFile& setIconLocation(const std::string& iconLocation); + /** + * @brief Set the icon location of the shell link file. + * + * @param iconLocation The icon location + * @return ShellLinkFile& *this + */ + LIAPI ShellLinkFile& setIconLocation(const std::wstring& iconLocation); + + /** + * @brief Get the 'ShowCmd' flags of the shell link file. + * + * @return int The 'ShowCmd' flags + * @see https://docs.microsoft.com/en-us/windows/win32/api/shobjidl_core/nf-shobjidl_core-ishelllinkw-getshowcmd + */ + LIAPI int getShowCmd(); + /** + * @brief Set the 'ShowCmd' flags of the shell link file. + * + * @param showCmd The 'ShowCmd' flags + * @return ShellLinkFile& *this + * @see https://docs.microsoft.com/en-us/windows/win32/api/shobjidl_core/nf-shobjidl_core-ishelllinkw-getshowcmd + */ + LIAPI ShellLinkFile& setShowCmd(int showCmd); + + /** + * @brief Get the hot key of the shell link file. + * + * @return ShellLinkFile::HotKey The hot key + */ + LIAPI HotKey getHotKey(); + /** + * @brief Set the hot key of the shell link file. + * + * @param hotKey The hot key + * @return ShellLinkFile& *this + */ + LIAPI ShellLinkFile& setHotKey(const HotKey& hotKey); +}; \ No newline at end of file diff --git a/LiteLoader/Header/Utils/StringHelper.h b/LiteLoader/Header/Utils/StringHelper.h new file mode 100644 index 0000000..021cb43 --- /dev/null +++ b/LiteLoader/Header/Utils/StringHelper.h @@ -0,0 +1,68 @@ +#pragma once +#include "../Global.h" +#include +#include + +// std::string -> std::wstring +LIAPI std::wstring str2wstr(const std::string& str); +LIAPI std::wstring str2wstr(const std::string& str, UINT codePage); + +// std::wstring -> std::string +LIAPI std::string wstr2str(const std::wstring& wstr); +LIAPI std::string wstr2str(const std::wstring& wstr, UINT codePage); + +// "2021-03-24" -> ["2021", "03", "24"] (use '-' as split pattern) +LIAPI std::vector SplitStrWithPattern(const std::string& str, const std::string& pattern); + +// ReplaceStr("aaabbbcc","bbb","tt") +LIAPI std::string& ReplaceStr(std::string& str, const std::string& old_value, const std::string& new_value); + +// StartsWith("helloworld", "hello") == true +LIAPI bool StartsWith(const std::string& str, const std::string& start); + +// EndsWith("helloworld","world") == true +LIAPI bool EndsWith(const std::string& str, const std::string& end); + +// "hello {Jim}" -> "hello {{Jim}}" (for FMT bug) +LIAPI std::string FixCurlyBracket(std::string str); + +#if _HAS_CXX20 +LIAPI std::string UTF82String(std::u8string str); +#else +LIAPI std::string UTF82String(std::string str); +#endif +/** + * @brief Integer to hex string. + * + * @tparam T The integer type + * @param value The integer value + * @param upper Whether to use upper case (0x1A or 0x1a) + * @param no0x Whether to omit 0x prefix + * @param noLeadingZero Whether to omit leading zero + * @return std::string The hex string + * + * @par Example + * @code + * IntToHexStr(15); // "F" + * IntToHexStr(16, true, true, false); // "0000000F" + * @endcode + */ +template +std::string IntToHexStr(const T& value, bool upper = true, bool no0x = true, + bool noLeadingZero = true) { + std::string result; + if (value < 0) + result += '-'; + if (!no0x) + result += "0x"; + auto hexStr = upper ? "0123456789ABCDEF" : "0123456789abcdef"; + bool leadingZero = true; + for (int i = sizeof(T) * 2; i > 0; --i) { + auto hex = (value >> (i - 1) * 4) & 0xF; + if (noLeadingZero && leadingZero && hex == 0) + continue; + leadingZero = false; + result += hexStr[hex]; + } + return result; +} diff --git a/LiteLoader/Header/Utils/StringReader.h b/LiteLoader/Header/Utils/StringReader.h new file mode 100644 index 0000000..3b30f31 --- /dev/null +++ b/LiteLoader/Header/Utils/StringReader.h @@ -0,0 +1,71 @@ +#pragma once +#include <../Global.h> + +class StringReader { + + const std::string str; + size_t len = 0; + std::string::const_iterator begin; + std::string::const_iterator end; + std::string::const_iterator it; + +public: + LIAPI StringReader(const std::string& str); + LIAPI StringReader(const char* str); + LIAPI StringReader(const char* str, size_t len); + LIAPI StringReader(const StringReader& other) = default; + LIAPI StringReader(StringReader&& other) = default; + LIAPI StringReader& operator=(const StringReader& other) = default; + LIAPI StringReader& operator=(StringReader&& other) = default; + + LIAPI bool isEmpty() const; + LIAPI bool isEnd() const; + LIAPI bool isStart() const; + LIAPI bool isValid() const; + LIAPI size_t getPos() const; + LIAPI size_t getLength() const; + LIAPI size_t getRemaining() const; + + LIAPI char read(); + LIAPI char read(char& c); + LIAPI std::string read(size_t len); + LIAPI std::string readUntil(char c); + LIAPI std::string readUntil(const std::string& chars); + LIAPI std::string readUntilNot(const std::string& chars); + LIAPI std::string readUntilNot(char c); + LIAPI std::string readLine(); + LIAPI std::string readLetters(const std::string& chars = ""); + LIAPI std::string readLower(const std::string& chars = ""); + LIAPI std::string readUpper(const std::string& chars = ""); + LIAPI std::string readDigits(const std::string& chars = ""); + LIAPI std::string readLettersAndDigits(const std::string& chars = ""); + LIAPI std::string readVariableName(); + LIAPI std::string readToEnd(); + LIAPI char peek(); + LIAPI char peek(char& c); + LIAPI char peek(size_t offset); + LIAPI std::string peek(size_t offset, size_t len); + LIAPI void skip(); + LIAPI void skip(size_t len); + LIAPI void skipUntil(char c); + LIAPI void skipUntil(const std::string& chars); + LIAPI void skipUntilNot(char c); + LIAPI void skipUntilNot(const std::string& chars); + LIAPI void skipWhitespace(); + LIAPI void skipLine(); + LIAPI void skipLetters(const std::string& chars = ""); + LIAPI void skipLower(const std::string& chars = ""); + LIAPI void skipUpper(const std::string& chars = ""); + LIAPI void skipDigits(const std::string& chars = ""); + LIAPI void skipLettersAndDigits(const std::string& chars = ""); + + + template + inline T readInteger() { + T result = 0; + while (isValid() && isdigit(read())) { + result = result * 10 + (read() - '0'); + } + return result; + } +}; diff --git a/LiteLoader/Header/Utils/TypeConversionHelper.hpp b/LiteLoader/Header/Utils/TypeConversionHelper.hpp new file mode 100644 index 0000000..640923c --- /dev/null +++ b/LiteLoader/Header/Utils/TypeConversionHelper.hpp @@ -0,0 +1,58 @@ +#pragma once +#include <../Global.h> +#include +#include +using namespace std; + +namespace TCHelper { +inline string uto_string(uintptr_t x) { + stringstream ss; + ss << hex << x; + return ss.str(); +} + +inline uintptr_t string_tohex(const string& str) { + stringstream ss; + ss << hex << str; + uintptr_t res; + ss >> res; + return res; +} + + +inline vector splitHex8(const string& str) { + vector res; + stringstream ss(str); + string item; + while (getline(ss, item, ' ')) { + if (item == "?") { + res.push_back(ModUtils::MASKED); + } else { + res.push_back(stoul(item, nullptr, 16)); + } + } + return res; +} + +inline string uto_string(uint8_t x) { + stringstream ss; + ss << hex << x; + return ss.str(); +} + + +inline vector splitHex(const string& str) { + vector res; + stringstream ss(str); + string item; + while (getline(ss, item, ' ')) { + if (item == "?") { + res.push_back(ModUtils::MASKED); + } else { + res.push_back(stoul(item, nullptr, 16)); + } + + } + return res; +} +} \ No newline at end of file diff --git a/LiteLoader/Header/Utils/VarInt.h b/LiteLoader/Header/Utils/VarInt.h new file mode 100644 index 0000000..73b7713 --- /dev/null +++ b/LiteLoader/Header/Utils/VarInt.h @@ -0,0 +1,68 @@ +#pragma once +#include "Bstream.h" +template +struct VarInts { + T v; + operator T() { + return v; + } + VarInts() { + } + VarInts(T x) { + v = x; + } + template + void pack(WBStreamImpl<_TP>& ws) const { + unsigned char buf[16]; + int ptr = 0; + T enc = v; + do { + buf[ptr++] = enc & 0x7f; + enc >>= 7; + } while (enc); + for (int i = 0; i < ptr - 1; ++i) { + buf[i] |= 0x80; + } + ws.write(buf, ptr); + } + void unpack(RBStream& rs) { + unsigned char buf[16]; + v = 0; + int ptr = 0; + for (; ptr < 16; ++ptr) { + rs.apply(buf[ptr]); + if (!(buf[ptr] & 0x80)) { + ++ptr; + break; + } + buf[ptr] &= 0x7f; + } + for (ptr = ptr - 1; ptr >= 0; --ptr) { + v <<= 7; + v |= buf[ptr]; + } + } +}; +using VarUInt = VarInts; +using VarULong = VarInts; +using VarUShort = VarInts; + +struct MCString { + std::string_view view; + MCString() { + } + MCString(std::string_view sv) + : view(sv) { + } + template + void pack(T& ws) const { + ws.apply(VarUInt((unsigned int)view.size())); + ws.write(view.data(), view.size()); + } + void unpack(RBStream& rs) { + VarUInt sz; + rs.apply(sz); + view = std::string_view((const char*)rs.data, sz.v); + rs.data += sz.v; + } +}; \ No newline at end of file diff --git a/LiteLoader/Header/Utils/ViewHelper.h b/LiteLoader/Header/Utils/ViewHelper.h new file mode 100644 index 0000000..3748736 --- /dev/null +++ b/LiteLoader/Header/Utils/ViewHelper.h @@ -0,0 +1,29 @@ +#pragma once +#include +template , int> = 0> +inline static constexpr std::string_view to_view(T& x) { + return std::string_view((const char*)&x, sizeof(T)); +} +template +static constexpr T atoi(std::string_view sv) { + T res = 0; + int fg = 0; + const char* c = sv.data(); + auto sz = sv.size(); + for (decltype(sz) i = 0; i < sz; ++i) { + if constexpr (!std::is_unsigned_v) { + if (c[i] == '-') { + fg = 1; + } + } + if (!(c[i] >= '0' && c[i] <= '9')) + continue; + res *= 10; + res += c[i] - '0'; + } + if constexpr (!std::is_unsigned_v) { + return fg ? -res : res; + } else { + return res; + } +} \ No newline at end of file diff --git a/LiteLoader/Header/Utils/WinHelper.h b/LiteLoader/Header/Utils/WinHelper.h new file mode 100644 index 0000000..7fd7474 --- /dev/null +++ b/LiteLoader/Header/Utils/WinHelper.h @@ -0,0 +1,39 @@ +#pragma once +#include "../Global.h" +#include +#include + +// GetLastError() -> string +LIAPI std::string GetLastErrorMessage(); +LIAPI std::string GetLastErrorMessage(DWORD error_message_id); + +// Create a new process and get its output when exited +LIAPI bool NewProcess(const std::string& process, std::function callback = nullptr, int timeLimit = -1); +LIAPI std::pair NewProcessSync(const std::string& process, int timeLimit = -1, bool noReadOutput = true); + +/** + * @brief Get Current DLL's module handle + * + * @return HMODULE DLL Module Handler + */ +HMODULE inline GetCurrentModule() { + HMODULE hModule = nullptr; + if (GetModuleHandleEx(GET_MODULE_HANDLE_EX_FLAG_FROM_ADDRESS | GET_MODULE_HANDLE_EX_FLAG_UNCHANGED_REFCOUNT, + (LPCWSTR)GetCurrentModule, &hModule)) { + return hModule; + } + return nullptr; +} + +// Get the module path from a module handle +LIAPI std::string GetModulePath(HMODULE handle); +LIAPI std::string GetModuleName(HMODULE handle); + +/** + * @brief Get the system locale name. + * + * @return std::string The system locale name. + */ +LIAPI std::string GetSystemLocaleName(); + +LIAPI bool IsWineEnvironment(); diff --git a/LiteLoader/Header/third-party/Base64/Base64.hpp b/LiteLoader/Header/third-party/Base64/Base64.hpp new file mode 100644 index 0000000..0f706bb --- /dev/null +++ b/LiteLoader/Header/third-party/Base64/Base64.hpp @@ -0,0 +1,120 @@ +#pragma once +#include +/** + * The MIT License (MIT) + * Copyright (c) 2022 WangYneos + * + * Permission is hereby granted, free of charge, to any person obtaining + * a copy of this software and associated documentation files (the + * "Software"), to deal text_input the Software without restriction, including + * without limitation the rights to use, copy, modify, merge, publish, + * distribute, sublicense, and/or sell copies of the Software, and to + * permit persons to whom the Software is furnished to do so, subject to + * the following conditions: + * + * The above copyright notice and this permission notice shall be + * included text_input all copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE + * LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION + * OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION + * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + */ +namespace Base64 { + +inline const char _base64_table[] = "ABCDEFGHIJKLMNOPQRSTUVWXYZ" + "abcdefghijklmnopqrstuvwxyz" + "0123456789+/"; + +inline size_t getEncodeLength(size_t len) { + return (len + 2 - ((len + 2) % 3)) / 3 * 4; +} + +inline size_t getEncodeLength(const std::string& str) { + return getEncodeLength(str.length()); +} + +inline size_t getDecodeLength(const std::string& in) { + unsigned char count = 0; + size_t input_size = in.size(); + for (auto it = in.rbegin(); *it == '='; ++it) { + ++count; + } + input_size -= count; // remove padding size + count = 0; // reset padding counter + while (input_size % 4) { // redo padding + input_size++; + count++; + } + return ((6 * input_size) / 8) - count; +} + +inline unsigned char decodeLookup(unsigned char c) { + if (c >= 'A' && c <= 'Z') + return c - 'A'; + if (c >= 'a' && c <= 'z') + return c - 71; + if (c >= '0' && c <= '9') + return c + 4; + if (c == '+') + return 62; + if (c == '/') + return 63; + return 64; +} + +inline std::string Encode(const std::string& text_input) { + std::string result; + result.reserve(getEncodeLength(text_input)); + + int i = 0; + int j = -6; + + for (auto c : text_input) { + i = (i << 8) + static_cast(c); + j += 8; + while (j >= 0) { + result += _base64_table[(i >> j) & 0x3F]; + j -= 6; + } + } + + if (j > -6) { + result += _base64_table[((i << 8) >> (j + 8)) & 0x3F]; + } + + // padding + while (result.size() % 4) { + result.push_back('='); + } + + return result; +} + +inline std::string Decode(const std::string& base64_input) { + size_t input_size = base64_input.size(); + size_t output_size = getDecodeLength(base64_input); + std::string out; + out.resize(output_size); + for (size_t i = 0, j = 0; i < input_size;) { + uint32_t c1 = (i > input_size || base64_input[i] == '=') ? 0 & i++ : decodeLookup(base64_input[i++]); + uint32_t c2 = (i > input_size || base64_input[i] == '=') ? 0 & i++ : decodeLookup(base64_input[i++]); + uint32_t c3 = (i > input_size || base64_input[i] == '=') ? 0 & i++ : decodeLookup(base64_input[i++]); + uint32_t c4 = (i > input_size || base64_input[i] == '=') ? 0 & i++ : decodeLookup(base64_input[i++]); + + uint32_t data = (c1 << 3 * 6) + (c2 << 2 * 6) + (c3 << 1 * 6) + (c4 << 0 * 6); + + if (j < output_size) + out[j++] = (data >> 2 * 8) & 0xFF; + if (j < output_size) + out[j++] = (data >> 1 * 8) & 0xFF; + if (j < output_size) + out[j++] = (data >> 0 * 8) & 0xFF; + } + + return out; +} +} // namespace Base64 \ No newline at end of file diff --git a/LiteLoader/Header/third-party/FMT/args.h b/LiteLoader/Header/third-party/FMT/args.h new file mode 100644 index 0000000..562e8ab --- /dev/null +++ b/LiteLoader/Header/third-party/FMT/args.h @@ -0,0 +1,232 @@ +// Formatting library for C++ - dynamic format arguments +// +// Copyright (c) 2012 - present, Victor Zverovich +// All rights reserved. +// +// For the license information refer to format.h. + +#ifndef FMT_ARGS_H_ +#define FMT_ARGS_H_ + +#include // std::reference_wrapper +#include // std::unique_ptr +#include + +#include "core.h" + +FMT_BEGIN_NAMESPACE + +namespace detail { + +template struct is_reference_wrapper : std::false_type {}; +template +struct is_reference_wrapper> : std::true_type {}; + +template const T& unwrap(const T& v) { return v; } +template const T& unwrap(const std::reference_wrapper& v) { + return static_cast(v); +} + +class dynamic_arg_list { + // Workaround for clang's -Wweak-vtables. Unlike for regular classes, for + // templates it doesn't complain about inability to deduce single translation + // unit for placing vtable. So storage_node_base is made a fake template. + template struct node { + virtual ~node() = default; + std::unique_ptr> next; + }; + + template struct typed_node : node<> { + T value; + + template + FMT_CONSTEXPR typed_node(const Arg& arg) : value(arg) {} + + template + FMT_CONSTEXPR typed_node(const basic_string_view& arg) + : value(arg.data(), arg.size()) {} + }; + + std::unique_ptr> head_; + + public: + template const T& push(const Arg& arg) { + auto new_node = std::unique_ptr>(new typed_node(arg)); + auto& value = new_node->value; + new_node->next = std::move(head_); + head_ = std::move(new_node); + return value; + } +}; +} // namespace detail + +/** + \rst + A dynamic version of `fmt::format_arg_store`. + It's equipped with a storage to potentially temporary objects which lifetimes + could be shorter than the format arguments object. + + It can be implicitly converted into `~fmt::basic_format_args` for passing + into type-erased formatting functions such as `~fmt::vformat`. + \endrst + */ +template +class dynamic_format_arg_store +#if FMT_GCC_VERSION && FMT_GCC_VERSION < 409 + // Workaround a GCC template argument substitution bug. + : public basic_format_args +#endif +{ + private: + using char_type = typename Context::char_type; + + template struct need_copy { + static constexpr detail::type mapped_type = + detail::mapped_type_constant::value; + + enum { + value = !(detail::is_reference_wrapper::value || + std::is_same>::value || + std::is_same>::value || + (mapped_type != detail::type::cstring_type && + mapped_type != detail::type::string_type && + mapped_type != detail::type::custom_type)) + }; + }; + + template + using stored_type = conditional_t::value && + !has_formatter::value && + !detail::is_reference_wrapper::value, + std::basic_string, T>; + + // Storage of basic_format_arg must be contiguous. + std::vector> data_; + std::vector> named_info_; + + // Storage of arguments not fitting into basic_format_arg must grow + // without relocation because items in data_ refer to it. + detail::dynamic_arg_list dynamic_args_; + + friend class basic_format_args; + + unsigned long long get_types() const { + return detail::is_unpacked_bit | data_.size() | + (named_info_.empty() + ? 0ULL + : static_cast(detail::has_named_args_bit)); + } + + const basic_format_arg* data() const { + return named_info_.empty() ? data_.data() : data_.data() + 1; + } + + template void emplace_arg(const T& arg) { + data_.emplace_back(detail::make_arg(arg)); + } + + template + void emplace_arg(const detail::named_arg& arg) { + if (named_info_.empty()) { + constexpr const detail::named_arg_info* zero_ptr{nullptr}; + data_.insert(data_.begin(), {zero_ptr, 0}); + } + data_.emplace_back(detail::make_arg(detail::unwrap(arg.value))); + auto pop_one = [](std::vector>* data) { + data->pop_back(); + }; + std::unique_ptr>, decltype(pop_one)> + guard{&data_, pop_one}; + named_info_.push_back({arg.name, static_cast(data_.size() - 2u)}); + data_[0].value_.named_args = {named_info_.data(), named_info_.size()}; + guard.release(); + } + + public: + /** + \rst + Adds an argument into the dynamic store for later passing to a formatting + function. + + Note that custom types and string types (but not string views) are copied + into the store dynamically allocating memory if necessary. + + **Example**:: + + fmt::dynamic_format_arg_store store; + store.push_back(42); + store.push_back("abc"); + store.push_back(1.5f); + std::string result = fmt::vformat("{} and {} and {}", store); + \endrst + */ + template void push_back(const T& arg) { + if (detail::const_check(need_copy::value)) + emplace_arg(dynamic_args_.push>(arg)); + else + emplace_arg(detail::unwrap(arg)); + } + + /** + \rst + Adds a reference to the argument into the dynamic store for later passing to + a formatting function. + + **Example**:: + + fmt::dynamic_format_arg_store store; + char band[] = "Rolling Stones"; + store.push_back(std::cref(band)); + band[9] = 'c'; // Changing str affects the output. + std::string result = fmt::vformat("{}", store); + // result == "Rolling Scones" + \endrst + */ + template void push_back(std::reference_wrapper arg) { + static_assert( + need_copy::value, + "objects of built-in types and string views are always copied"); + emplace_arg(arg.get()); + } + + /** + Adds named argument into the dynamic store for later passing to a formatting + function. ``std::reference_wrapper`` is supported to avoid copying of the + argument. The name is always copied into the store. + */ + template + void push_back(const detail::named_arg& arg) { + const char_type* arg_name = + dynamic_args_.push>(arg.name).c_str(); + if (detail::const_check(need_copy::value)) { + emplace_arg( + fmt::arg(arg_name, dynamic_args_.push>(arg.value))); + } else { + emplace_arg(fmt::arg(arg_name, arg.value)); + } + } + + /** Erase all elements from the store */ + void clear() { + data_.clear(); + named_info_.clear(); + dynamic_args_ = detail::dynamic_arg_list(); + } + + /** + \rst + Reserves space to store at least *new_cap* arguments including + *new_cap_named* named arguments. + \endrst + */ + void reserve(size_t new_cap, size_t new_cap_named) { + FMT_ASSERT(new_cap >= new_cap_named, + "Set of arguments includes set of named arguments"); + data_.reserve(new_cap); + named_info_.reserve(new_cap_named); + } +}; + +FMT_END_NAMESPACE + +#endif // FMT_ARGS_H_ diff --git a/LiteLoader/Header/third-party/FMT/chrono.h b/LiteLoader/Header/third-party/FMT/chrono.h new file mode 100644 index 0000000..c024fd7 --- /dev/null +++ b/LiteLoader/Header/third-party/FMT/chrono.h @@ -0,0 +1,1308 @@ +// Formatting library for C++ - chrono support +// +// Copyright (c) 2012 - present, Victor Zverovich +// All rights reserved. +// +// For the license information refer to format.h. + +#ifndef FMT_CHRONO_H_ +#define FMT_CHRONO_H_ + +#include +#include +#include +#include +#include + +#include "format.h" + +FMT_BEGIN_NAMESPACE + +// Enable safe chrono durations, unless explicitly disabled. +#ifndef FMT_SAFE_DURATION_CAST +# define FMT_SAFE_DURATION_CAST 1 +#endif +#if FMT_SAFE_DURATION_CAST + +// For conversion between std::chrono::durations without undefined +// behaviour or erroneous results. +// This is a stripped down version of duration_cast, for inclusion in fmt. +// See https://github.com/pauldreik/safe_duration_cast +// +// Copyright Paul Dreik 2019 +namespace safe_duration_cast { + +template ::value && + std::numeric_limits::is_signed == + std::numeric_limits::is_signed)> +FMT_CONSTEXPR To lossless_integral_conversion(const From from, int& ec) { + ec = 0; + using F = std::numeric_limits; + using T = std::numeric_limits; + static_assert(F::is_integer, "From must be integral"); + static_assert(T::is_integer, "To must be integral"); + + // A and B are both signed, or both unsigned. + if (F::digits <= T::digits) { + // From fits in To without any problem. + } else { + // From does not always fit in To, resort to a dynamic check. + if (from < (T::min)() || from > (T::max)()) { + // outside range. + ec = 1; + return {}; + } + } + return static_cast(from); +} + +/** + * converts From to To, without loss. If the dynamic value of from + * can't be converted to To without loss, ec is set. + */ +template ::value && + std::numeric_limits::is_signed != + std::numeric_limits::is_signed)> +FMT_CONSTEXPR To lossless_integral_conversion(const From from, int& ec) { + ec = 0; + using F = std::numeric_limits; + using T = std::numeric_limits; + static_assert(F::is_integer, "From must be integral"); + static_assert(T::is_integer, "To must be integral"); + + if (detail::const_check(F::is_signed && !T::is_signed)) { + // From may be negative, not allowed! + if (fmt::detail::is_negative(from)) { + ec = 1; + return {}; + } + // From is positive. Can it always fit in To? + if (F::digits > T::digits && + from > static_cast(detail::max_value())) { + ec = 1; + return {}; + } + } + + if (!F::is_signed && T::is_signed && F::digits >= T::digits && + from > static_cast(detail::max_value())) { + ec = 1; + return {}; + } + return static_cast(from); // Lossless conversion. +} + +template ::value)> +FMT_CONSTEXPR To lossless_integral_conversion(const From from, int& ec) { + ec = 0; + return from; +} // function + +// clang-format off +/** + * converts From to To if possible, otherwise ec is set. + * + * input | output + * ---------------------------------|--------------- + * NaN | NaN + * Inf | Inf + * normal, fits in output | converted (possibly lossy) + * normal, does not fit in output | ec is set + * subnormal | best effort + * -Inf | -Inf + */ +// clang-format on +template ::value)> +FMT_CONSTEXPR To safe_float_conversion(const From from, int& ec) { + ec = 0; + using T = std::numeric_limits; + static_assert(std::is_floating_point::value, "From must be floating"); + static_assert(std::is_floating_point::value, "To must be floating"); + + // catch the only happy case + if (std::isfinite(from)) { + if (from >= T::lowest() && from <= (T::max)()) { + return static_cast(from); + } + // not within range. + ec = 1; + return {}; + } + + // nan and inf will be preserved + return static_cast(from); +} // function + +template ::value)> +FMT_CONSTEXPR To safe_float_conversion(const From from, int& ec) { + ec = 0; + static_assert(std::is_floating_point::value, "From must be floating"); + return from; +} + +/** + * safe duration cast between integral durations + */ +template ::value), + FMT_ENABLE_IF(std::is_integral::value)> +To safe_duration_cast(std::chrono::duration from, + int& ec) { + using From = std::chrono::duration; + ec = 0; + // the basic idea is that we need to convert from count() in the from type + // to count() in the To type, by multiplying it with this: + struct Factor + : std::ratio_divide {}; + + static_assert(Factor::num > 0, "num must be positive"); + static_assert(Factor::den > 0, "den must be positive"); + + // the conversion is like this: multiply from.count() with Factor::num + // /Factor::den and convert it to To::rep, all this without + // overflow/underflow. let's start by finding a suitable type that can hold + // both To, From and Factor::num + using IntermediateRep = + typename std::common_type::type; + + // safe conversion to IntermediateRep + IntermediateRep count = + lossless_integral_conversion(from.count(), ec); + if (ec) return {}; + // multiply with Factor::num without overflow or underflow + if (detail::const_check(Factor::num != 1)) { + const auto max1 = detail::max_value() / Factor::num; + if (count > max1) { + ec = 1; + return {}; + } + const auto min1 = + (std::numeric_limits::min)() / Factor::num; + if (count < min1) { + ec = 1; + return {}; + } + count *= Factor::num; + } + + if (detail::const_check(Factor::den != 1)) count /= Factor::den; + auto tocount = lossless_integral_conversion(count, ec); + return ec ? To() : To(tocount); +} + +/** + * safe duration_cast between floating point durations + */ +template ::value), + FMT_ENABLE_IF(std::is_floating_point::value)> +To safe_duration_cast(std::chrono::duration from, + int& ec) { + using From = std::chrono::duration; + ec = 0; + if (std::isnan(from.count())) { + // nan in, gives nan out. easy. + return To{std::numeric_limits::quiet_NaN()}; + } + // maybe we should also check if from is denormal, and decide what to do about + // it. + + // +-inf should be preserved. + if (std::isinf(from.count())) { + return To{from.count()}; + } + + // the basic idea is that we need to convert from count() in the from type + // to count() in the To type, by multiplying it with this: + struct Factor + : std::ratio_divide {}; + + static_assert(Factor::num > 0, "num must be positive"); + static_assert(Factor::den > 0, "den must be positive"); + + // the conversion is like this: multiply from.count() with Factor::num + // /Factor::den and convert it to To::rep, all this without + // overflow/underflow. let's start by finding a suitable type that can hold + // both To, From and Factor::num + using IntermediateRep = + typename std::common_type::type; + + // force conversion of From::rep -> IntermediateRep to be safe, + // even if it will never happen be narrowing in this context. + IntermediateRep count = + safe_float_conversion(from.count(), ec); + if (ec) { + return {}; + } + + // multiply with Factor::num without overflow or underflow + if (Factor::num != 1) { + constexpr auto max1 = detail::max_value() / + static_cast(Factor::num); + if (count > max1) { + ec = 1; + return {}; + } + constexpr auto min1 = std::numeric_limits::lowest() / + static_cast(Factor::num); + if (count < min1) { + ec = 1; + return {}; + } + count *= static_cast(Factor::num); + } + + // this can't go wrong, right? den>0 is checked earlier. + if (Factor::den != 1) { + using common_t = typename std::common_type::type; + count /= static_cast(Factor::den); + } + + // convert to the to type, safely + using ToRep = typename To::rep; + + const ToRep tocount = safe_float_conversion(count, ec); + if (ec) { + return {}; + } + return To{tocount}; +} +} // namespace safe_duration_cast +#endif + +// Prevents expansion of a preceding token as a function-style macro. +// Usage: f FMT_NOMACRO() +#define FMT_NOMACRO + +namespace detail { +template struct null {}; +inline null<> localtime_r FMT_NOMACRO(...) { return null<>(); } +inline null<> localtime_s(...) { return null<>(); } +inline null<> gmtime_r(...) { return null<>(); } +inline null<> gmtime_s(...) { return null<>(); } + +inline auto do_write(const std::tm& time, const std::locale& loc, char format, + char modifier) -> std::string { + auto&& os = std::ostringstream(); + os.imbue(loc); + using iterator = std::ostreambuf_iterator; + const auto& facet = std::use_facet>(loc); + auto end = facet.put(os, os, ' ', &time, format, modifier); + if (end.failed()) FMT_THROW(format_error("failed to format time")); + auto str = os.str(); + if (!detail::is_utf8() || loc == std::locale::classic()) return str; + // char16_t and char32_t codecvts are broken in MSVC (linkage errors) and + // gcc-4. +#if FMT_MSC_VER != 0 || \ + (defined(__GLIBCXX__) && !defined(_GLIBCXX_USE_DUAL_ABI)) + // The _GLIBCXX_USE_DUAL_ABI macro is always defined in libstdc++ from gcc-5 + // and newer. + using code_unit = wchar_t; +#else + using code_unit = char32_t; +#endif + auto& f = std::use_facet>(loc); + auto mb = std::mbstate_t(); + const char* from_next = nullptr; + code_unit* to_next = nullptr; + constexpr size_t buf_size = 32; + code_unit buf[buf_size] = {}; + auto result = f.in(mb, str.data(), str.data() + str.size(), from_next, buf, + buf + buf_size, to_next); + if (result != std::codecvt_base::ok) + FMT_THROW(format_error("failed to format time")); + str.clear(); + for (code_unit* p = buf; p != to_next; ++p) { + uint32_t c = static_cast(*p); + if (sizeof(code_unit) == 2 && c >= 0xd800 && c <= 0xdfff) { + // surrogate pair + ++p; + if (p == to_next || (c & 0xfc00) != 0xd800 || (*p & 0xfc00) != 0xdc00) { + FMT_THROW(format_error("failed to format time")); + } + c = (c << 10) + static_cast(*p) - 0x35fdc00; + } + if (c < 0x80) { + str.push_back(static_cast(c)); + } else if (c < 0x800) { + str.push_back(static_cast(0xc0 | (c >> 6))); + str.push_back(static_cast(0x80 | (c & 0x3f))); + } else if ((c >= 0x800 && c <= 0xd7ff) || (c >= 0xe000 && c <= 0xffff)) { + str.push_back(static_cast(0xe0 | (c >> 12))); + str.push_back(static_cast(0x80 | ((c & 0xfff) >> 6))); + str.push_back(static_cast(0x80 | (c & 0x3f))); + } else if (c >= 0x10000 && c <= 0x10ffff) { + str.push_back(static_cast(0xf0 | (c >> 18))); + str.push_back(static_cast(0x80 | ((c & 0x3ffff) >> 12))); + str.push_back(static_cast(0x80 | ((c & 0xfff) >> 6))); + str.push_back(static_cast(0x80 | (c & 0x3f))); + } else { + FMT_THROW(format_error("failed to format time")); + } + } + return str; +} + +template +auto write(OutputIt out, const std::tm& time, const std::locale& loc, + char format, char modifier = 0) -> OutputIt { + auto str = do_write(time, loc, format, modifier); + return std::copy(str.begin(), str.end(), out); +} +} // namespace detail + +FMT_MODULE_EXPORT_BEGIN + +/** + Converts given time since epoch as ``std::time_t`` value into calendar time, + expressed in local time. Unlike ``std::localtime``, this function is + thread-safe on most platforms. + */ +inline std::tm localtime(std::time_t time) { + struct dispatcher { + std::time_t time_; + std::tm tm_; + + dispatcher(std::time_t t) : time_(t) {} + + bool run() { + using namespace fmt::detail; + return handle(localtime_r(&time_, &tm_)); + } + + bool handle(std::tm* tm) { return tm != nullptr; } + + bool handle(detail::null<>) { + using namespace fmt::detail; + return fallback(localtime_s(&tm_, &time_)); + } + + bool fallback(int res) { return res == 0; } + +#if !FMT_MSC_VER + bool fallback(detail::null<>) { + using namespace fmt::detail; + std::tm* tm = std::localtime(&time_); + if (tm) tm_ = *tm; + return tm != nullptr; + } +#endif + }; + dispatcher lt(time); + // Too big time values may be unsupported. + if (!lt.run()) FMT_THROW(format_error("time_t value out of range")); + return lt.tm_; +} + +inline std::tm localtime( + std::chrono::time_point time_point) { + return localtime(std::chrono::system_clock::to_time_t(time_point)); +} + +/** + Converts given time since epoch as ``std::time_t`` value into calendar time, + expressed in Coordinated Universal Time (UTC). Unlike ``std::gmtime``, this + function is thread-safe on most platforms. + */ +inline std::tm gmtime(std::time_t time) { + struct dispatcher { + std::time_t time_; + std::tm tm_; + + dispatcher(std::time_t t) : time_(t) {} + + bool run() { + using namespace fmt::detail; + return handle(gmtime_r(&time_, &tm_)); + } + + bool handle(std::tm* tm) { return tm != nullptr; } + + bool handle(detail::null<>) { + using namespace fmt::detail; + return fallback(gmtime_s(&tm_, &time_)); + } + + bool fallback(int res) { return res == 0; } + +#if !FMT_MSC_VER + bool fallback(detail::null<>) { + std::tm* tm = std::gmtime(&time_); + if (tm) tm_ = *tm; + return tm != nullptr; + } +#endif + }; + dispatcher gt(time); + // Too big time values may be unsupported. + if (!gt.run()) FMT_THROW(format_error("time_t value out of range")); + return gt.tm_; +} + +inline std::tm gmtime( + std::chrono::time_point time_point) { + return gmtime(std::chrono::system_clock::to_time_t(time_point)); +} + +FMT_BEGIN_DETAIL_NAMESPACE + +inline size_t strftime(char* str, size_t count, const char* format, + const std::tm* time) { + // Assign to a pointer to suppress GCCs -Wformat-nonliteral + // First assign the nullptr to suppress -Wsuggest-attribute=format + std::size_t (*strftime)(char*, std::size_t, const char*, const std::tm*) = + nullptr; + strftime = std::strftime; + return strftime(str, count, format, time); +} + +inline size_t strftime(wchar_t* str, size_t count, const wchar_t* format, + const std::tm* time) { + // See above + std::size_t (*wcsftime)(wchar_t*, std::size_t, const wchar_t*, + const std::tm*) = nullptr; + wcsftime = std::wcsftime; + return wcsftime(str, count, format, time); +} + +FMT_END_DETAIL_NAMESPACE + +template +struct formatter, + Char> : formatter { + FMT_CONSTEXPR formatter() { + this->specs = {default_specs, sizeof(default_specs) / sizeof(Char)}; + } + + template + FMT_CONSTEXPR auto parse(ParseContext& ctx) -> decltype(ctx.begin()) { + auto it = ctx.begin(); + if (it != ctx.end() && *it == ':') ++it; + auto end = it; + while (end != ctx.end() && *end != '}') ++end; + if (end != it) this->specs = {it, detail::to_unsigned(end - it)}; + return end; + } + + template + auto format(std::chrono::time_point val, + FormatContext& ctx) -> decltype(ctx.out()) { + std::tm time = localtime(val); + return formatter::format(time, ctx); + } + + static constexpr Char default_specs[] = {'%', 'Y', '-', '%', 'm', '-', + '%', 'd', ' ', '%', 'H', ':', + '%', 'M', ':', '%', 'S'}; +}; + +template +constexpr Char + formatter, + Char>::default_specs[]; + +template struct formatter { + template + FMT_CONSTEXPR auto parse(ParseContext& ctx) -> decltype(ctx.begin()) { + auto it = ctx.begin(); + if (it != ctx.end() && *it == ':') ++it; + auto end = it; + while (end != ctx.end() && *end != '}') ++end; + specs = {it, detail::to_unsigned(end - it)}; + return end; + } + + template + auto format(const std::tm& tm, FormatContext& ctx) const + -> decltype(ctx.out()) { + basic_memory_buffer tm_format; + tm_format.append(specs.begin(), specs.end()); + // By appending an extra space we can distinguish an empty result that + // indicates insufficient buffer size from a guaranteed non-empty result + // https://github.com/fmtlib/fmt/issues/2238 + tm_format.push_back(' '); + tm_format.push_back('\0'); + basic_memory_buffer buf; + size_t start = buf.size(); + for (;;) { + size_t size = buf.capacity() - start; + size_t count = detail::strftime(&buf[start], size, &tm_format[0], &tm); + if (count != 0) { + buf.resize(start + count); + break; + } + const size_t MIN_GROWTH = 10; + buf.reserve(buf.capacity() + (size > MIN_GROWTH ? size : MIN_GROWTH)); + } + // Remove the extra space. + return std::copy(buf.begin(), buf.end() - 1, ctx.out()); + } + + basic_string_view specs; +}; + +FMT_BEGIN_DETAIL_NAMESPACE + +template FMT_CONSTEXPR inline const char* get_units() { + if (std::is_same::value) return "as"; + if (std::is_same::value) return "fs"; + if (std::is_same::value) return "ps"; + if (std::is_same::value) return "ns"; + if (std::is_same::value) return "µs"; + if (std::is_same::value) return "ms"; + if (std::is_same::value) return "cs"; + if (std::is_same::value) return "ds"; + if (std::is_same>::value) return "s"; + if (std::is_same::value) return "das"; + if (std::is_same::value) return "hs"; + if (std::is_same::value) return "ks"; + if (std::is_same::value) return "Ms"; + if (std::is_same::value) return "Gs"; + if (std::is_same::value) return "Ts"; + if (std::is_same::value) return "Ps"; + if (std::is_same::value) return "Es"; + if (std::is_same>::value) return "m"; + if (std::is_same>::value) return "h"; + return nullptr; +} + +enum class numeric_system { + standard, + // Alternative numeric system, e.g. 十二 instead of 12 in ja_JP locale. + alternative +}; + +// Parses a put_time-like format string and invokes handler actions. +template +FMT_CONSTEXPR const Char* parse_chrono_format(const Char* begin, + const Char* end, + Handler&& handler) { + auto ptr = begin; + while (ptr != end) { + auto c = *ptr; + if (c == '}') break; + if (c != '%') { + ++ptr; + continue; + } + if (begin != ptr) handler.on_text(begin, ptr); + ++ptr; // consume '%' + if (ptr == end) FMT_THROW(format_error("invalid format")); + c = *ptr++; + switch (c) { + case '%': + handler.on_text(ptr - 1, ptr); + break; + case 'n': { + const Char newline[] = {'\n'}; + handler.on_text(newline, newline + 1); + break; + } + case 't': { + const Char tab[] = {'\t'}; + handler.on_text(tab, tab + 1); + break; + } + // Day of the week: + case 'a': + handler.on_abbr_weekday(); + break; + case 'A': + handler.on_full_weekday(); + break; + case 'w': + handler.on_dec0_weekday(numeric_system::standard); + break; + case 'u': + handler.on_dec1_weekday(numeric_system::standard); + break; + // Month: + case 'b': + handler.on_abbr_month(); + break; + case 'B': + handler.on_full_month(); + break; + // Hour, minute, second: + case 'H': + handler.on_24_hour(numeric_system::standard); + break; + case 'I': + handler.on_12_hour(numeric_system::standard); + break; + case 'M': + handler.on_minute(numeric_system::standard); + break; + case 'S': + handler.on_second(numeric_system::standard); + break; + // Other: + case 'c': + handler.on_datetime(numeric_system::standard); + break; + case 'x': + handler.on_loc_date(numeric_system::standard); + break; + case 'X': + handler.on_loc_time(numeric_system::standard); + break; + case 'D': + handler.on_us_date(); + break; + case 'F': + handler.on_iso_date(); + break; + case 'r': + handler.on_12_hour_time(); + break; + case 'R': + handler.on_24_hour_time(); + break; + case 'T': + handler.on_iso_time(); + break; + case 'p': + handler.on_am_pm(); + break; + case 'Q': + handler.on_duration_value(); + break; + case 'q': + handler.on_duration_unit(); + break; + case 'z': + handler.on_utc_offset(); + break; + case 'Z': + handler.on_tz_name(); + break; + // Alternative representation: + case 'E': { + if (ptr == end) FMT_THROW(format_error("invalid format")); + c = *ptr++; + switch (c) { + case 'c': + handler.on_datetime(numeric_system::alternative); + break; + case 'x': + handler.on_loc_date(numeric_system::alternative); + break; + case 'X': + handler.on_loc_time(numeric_system::alternative); + break; + default: + FMT_THROW(format_error("invalid format")); + } + break; + } + case 'O': + if (ptr == end) FMT_THROW(format_error("invalid format")); + c = *ptr++; + switch (c) { + case 'w': + handler.on_dec0_weekday(numeric_system::alternative); + break; + case 'u': + handler.on_dec1_weekday(numeric_system::alternative); + break; + case 'H': + handler.on_24_hour(numeric_system::alternative); + break; + case 'I': + handler.on_12_hour(numeric_system::alternative); + break; + case 'M': + handler.on_minute(numeric_system::alternative); + break; + case 'S': + handler.on_second(numeric_system::alternative); + break; + default: + FMT_THROW(format_error("invalid format")); + } + break; + default: + FMT_THROW(format_error("invalid format")); + } + begin = ptr; + } + if (begin != ptr) handler.on_text(begin, ptr); + return ptr; +} + +template struct null_chrono_spec_handler { + FMT_CONSTEXPR void unsupported() { + static_cast(this)->unsupported(); + } + FMT_CONSTEXPR void on_abbr_weekday() { unsupported(); } + FMT_CONSTEXPR void on_full_weekday() { unsupported(); } + FMT_CONSTEXPR void on_dec0_weekday(numeric_system) { unsupported(); } + FMT_CONSTEXPR void on_dec1_weekday(numeric_system) { unsupported(); } + FMT_CONSTEXPR void on_abbr_month() { unsupported(); } + FMT_CONSTEXPR void on_full_month() { unsupported(); } + FMT_CONSTEXPR void on_24_hour(numeric_system) { unsupported(); } + FMT_CONSTEXPR void on_12_hour(numeric_system) { unsupported(); } + FMT_CONSTEXPR void on_minute(numeric_system) { unsupported(); } + FMT_CONSTEXPR void on_second(numeric_system) { unsupported(); } + FMT_CONSTEXPR void on_datetime(numeric_system) { unsupported(); } + FMT_CONSTEXPR void on_loc_date(numeric_system) { unsupported(); } + FMT_CONSTEXPR void on_loc_time(numeric_system) { unsupported(); } + FMT_CONSTEXPR void on_us_date() { unsupported(); } + FMT_CONSTEXPR void on_iso_date() { unsupported(); } + FMT_CONSTEXPR void on_12_hour_time() { unsupported(); } + FMT_CONSTEXPR void on_24_hour_time() { unsupported(); } + FMT_CONSTEXPR void on_iso_time() { unsupported(); } + FMT_CONSTEXPR void on_am_pm() { unsupported(); } + FMT_CONSTEXPR void on_duration_value() { unsupported(); } + FMT_CONSTEXPR void on_duration_unit() { unsupported(); } + FMT_CONSTEXPR void on_utc_offset() { unsupported(); } + FMT_CONSTEXPR void on_tz_name() { unsupported(); } +}; + +struct chrono_format_checker : null_chrono_spec_handler { + FMT_NORETURN void unsupported() { FMT_THROW(format_error("no date")); } + + template + FMT_CONSTEXPR void on_text(const Char*, const Char*) {} + FMT_CONSTEXPR void on_24_hour(numeric_system) {} + FMT_CONSTEXPR void on_12_hour(numeric_system) {} + FMT_CONSTEXPR void on_minute(numeric_system) {} + FMT_CONSTEXPR void on_second(numeric_system) {} + FMT_CONSTEXPR void on_12_hour_time() {} + FMT_CONSTEXPR void on_24_hour_time() {} + FMT_CONSTEXPR void on_iso_time() {} + FMT_CONSTEXPR void on_am_pm() {} + FMT_CONSTEXPR void on_duration_value() {} + FMT_CONSTEXPR void on_duration_unit() {} +}; + +template ::value)> +inline bool isnan(T) { + return false; +} +template ::value)> +inline bool isnan(T value) { + return std::isnan(value); +} + +template ::value)> +inline bool isfinite(T) { + return true; +} +template ::value)> +inline bool isfinite(T value) { + return std::isfinite(value); +} + +// Converts value to int and checks that it's in the range [0, upper). +template ::value)> +inline int to_nonnegative_int(T value, int upper) { + FMT_ASSERT(value >= 0 && to_unsigned(value) <= to_unsigned(upper), + "invalid value"); + (void)upper; + return static_cast(value); +} +template ::value)> +inline int to_nonnegative_int(T value, int upper) { + FMT_ASSERT( + std::isnan(value) || (value >= 0 && value <= static_cast(upper)), + "invalid value"); + (void)upper; + return static_cast(value); +} + +template ::value)> +inline T mod(T x, int y) { + return x % static_cast(y); +} +template ::value)> +inline T mod(T x, int y) { + return std::fmod(x, static_cast(y)); +} + +// If T is an integral type, maps T to its unsigned counterpart, otherwise +// leaves it unchanged (unlike std::make_unsigned). +template ::value> +struct make_unsigned_or_unchanged { + using type = T; +}; + +template struct make_unsigned_or_unchanged { + using type = typename std::make_unsigned::type; +}; + +#if FMT_SAFE_DURATION_CAST +// throwing version of safe_duration_cast +template +To fmt_safe_duration_cast(std::chrono::duration from) { + int ec; + To to = safe_duration_cast::safe_duration_cast(from, ec); + if (ec) FMT_THROW(format_error("cannot format duration")); + return to; +} +#endif + +template ::value)> +inline std::chrono::duration get_milliseconds( + std::chrono::duration d) { + // this may overflow and/or the result may not fit in the + // target type. +#if FMT_SAFE_DURATION_CAST + using CommonSecondsType = + typename std::common_type::type; + const auto d_as_common = fmt_safe_duration_cast(d); + const auto d_as_whole_seconds = + fmt_safe_duration_cast(d_as_common); + // this conversion should be nonproblematic + const auto diff = d_as_common - d_as_whole_seconds; + const auto ms = + fmt_safe_duration_cast>(diff); + return ms; +#else + auto s = std::chrono::duration_cast(d); + return std::chrono::duration_cast(d - s); +#endif +} + +template ::value)> +inline std::chrono::duration get_milliseconds( + std::chrono::duration d) { + using common_type = typename std::common_type::type; + auto ms = mod(d.count() * static_cast(Period::num) / + static_cast(Period::den) * 1000, + 1000); + return std::chrono::duration(static_cast(ms)); +} + +template ::value)> +OutputIt format_duration_value(OutputIt out, Rep val, int) { + return write(out, val); +} + +template ::value)> +OutputIt format_duration_value(OutputIt out, Rep val, int precision) { + auto specs = basic_format_specs(); + specs.precision = precision; + specs.type = precision > 0 ? 'f' : 'g'; + return write(out, val, specs); +} + +template +OutputIt copy_unit(string_view unit, OutputIt out, Char) { + return std::copy(unit.begin(), unit.end(), out); +} + +template +OutputIt copy_unit(string_view unit, OutputIt out, wchar_t) { + // This works when wchar_t is UTF-32 because units only contain characters + // that have the same representation in UTF-16 and UTF-32. + utf8_to_utf16 u(unit); + return std::copy(u.c_str(), u.c_str() + u.size(), out); +} + +template +OutputIt format_duration_unit(OutputIt out) { + if (const char* unit = get_units()) + return copy_unit(string_view(unit), out, Char()); + *out++ = '['; + out = write(out, Period::num); + if (const_check(Period::den != 1)) { + *out++ = '/'; + out = write(out, Period::den); + } + *out++ = ']'; + *out++ = 's'; + return out; +} + +template +struct chrono_formatter { + FormatContext& context; + OutputIt out; + int precision; + bool localized = false; + // rep is unsigned to avoid overflow. + using rep = + conditional_t::value && sizeof(Rep) < sizeof(int), + unsigned, typename make_unsigned_or_unchanged::type>; + rep val; + using seconds = std::chrono::duration; + seconds s; + using milliseconds = std::chrono::duration; + bool negative; + + using char_type = typename FormatContext::char_type; + + explicit chrono_formatter(FormatContext& ctx, OutputIt o, + std::chrono::duration d) + : context(ctx), + out(o), + val(static_cast(d.count())), + negative(false) { + if (d.count() < 0) { + val = 0 - val; + negative = true; + } + + // this may overflow and/or the result may not fit in the + // target type. +#if FMT_SAFE_DURATION_CAST + // might need checked conversion (rep!=Rep) + auto tmpval = std::chrono::duration(val); + s = fmt_safe_duration_cast(tmpval); +#else + s = std::chrono::duration_cast( + std::chrono::duration(val)); +#endif + } + + // returns true if nan or inf, writes to out. + bool handle_nan_inf() { + if (isfinite(val)) { + return false; + } + if (isnan(val)) { + write_nan(); + return true; + } + // must be +-inf + if (val > 0) { + write_pinf(); + } else { + write_ninf(); + } + return true; + } + + Rep hour() const { return static_cast(mod((s.count() / 3600), 24)); } + + Rep hour12() const { + Rep hour = static_cast(mod((s.count() / 3600), 12)); + return hour <= 0 ? 12 : hour; + } + + Rep minute() const { return static_cast(mod((s.count() / 60), 60)); } + Rep second() const { return static_cast(mod(s.count(), 60)); } + + std::tm time() const { + auto time = std::tm(); + time.tm_hour = to_nonnegative_int(hour(), 24); + time.tm_min = to_nonnegative_int(minute(), 60); + time.tm_sec = to_nonnegative_int(second(), 60); + return time; + } + + void write_sign() { + if (negative) { + *out++ = '-'; + negative = false; + } + } + + void write(Rep value, int width) { + write_sign(); + if (isnan(value)) return write_nan(); + uint32_or_64_or_128_t n = + to_unsigned(to_nonnegative_int(value, max_value())); + int num_digits = detail::count_digits(n); + if (width > num_digits) out = std::fill_n(out, width - num_digits, '0'); + out = format_decimal(out, n, num_digits).end; + } + + void write_nan() { std::copy_n("nan", 3, out); } + void write_pinf() { std::copy_n("inf", 3, out); } + void write_ninf() { std::copy_n("-inf", 4, out); } + + void format_localized(const tm& time, char format, char modifier = 0) { + if (isnan(val)) return write_nan(); + const auto& loc = localized ? context.locale().template get() + : std::locale::classic(); + out = detail::write(out, time, loc, format, modifier); + } + + void on_text(const char_type* begin, const char_type* end) { + std::copy(begin, end, out); + } + + // These are not implemented because durations don't have date information. + void on_abbr_weekday() {} + void on_full_weekday() {} + void on_dec0_weekday(numeric_system) {} + void on_dec1_weekday(numeric_system) {} + void on_abbr_month() {} + void on_full_month() {} + void on_datetime(numeric_system) {} + void on_loc_date(numeric_system) {} + void on_loc_time(numeric_system) {} + void on_us_date() {} + void on_iso_date() {} + void on_utc_offset() {} + void on_tz_name() {} + + void on_24_hour(numeric_system ns) { + if (handle_nan_inf()) return; + + if (ns == numeric_system::standard) return write(hour(), 2); + auto time = tm(); + time.tm_hour = to_nonnegative_int(hour(), 24); + format_localized(time, 'H', 'O'); + } + + void on_12_hour(numeric_system ns) { + if (handle_nan_inf()) return; + + if (ns == numeric_system::standard) return write(hour12(), 2); + auto time = tm(); + time.tm_hour = to_nonnegative_int(hour12(), 12); + format_localized(time, 'I', 'O'); + } + + void on_minute(numeric_system ns) { + if (handle_nan_inf()) return; + + if (ns == numeric_system::standard) return write(minute(), 2); + auto time = tm(); + time.tm_min = to_nonnegative_int(minute(), 60); + format_localized(time, 'M', 'O'); + } + + void on_second(numeric_system ns) { + if (handle_nan_inf()) return; + + if (ns == numeric_system::standard) { + write(second(), 2); +#if FMT_SAFE_DURATION_CAST + // convert rep->Rep + using duration_rep = std::chrono::duration; + using duration_Rep = std::chrono::duration; + auto tmpval = fmt_safe_duration_cast(duration_rep{val}); +#else + auto tmpval = std::chrono::duration(val); +#endif + auto ms = get_milliseconds(tmpval); + if (ms != std::chrono::milliseconds(0)) { + *out++ = '.'; + write(ms.count(), 3); + } + return; + } + auto time = tm(); + time.tm_sec = to_nonnegative_int(second(), 60); + format_localized(time, 'S', 'O'); + } + + void on_12_hour_time() { + if (handle_nan_inf()) return; + format_localized(time(), 'r'); + } + + void on_24_hour_time() { + if (handle_nan_inf()) { + *out++ = ':'; + handle_nan_inf(); + return; + } + + write(hour(), 2); + *out++ = ':'; + write(minute(), 2); + } + + void on_iso_time() { + on_24_hour_time(); + *out++ = ':'; + if (handle_nan_inf()) return; + write(second(), 2); + } + + void on_am_pm() { + if (handle_nan_inf()) return; + format_localized(time(), 'p'); + } + + void on_duration_value() { + if (handle_nan_inf()) return; + write_sign(); + out = format_duration_value(out, val, precision); + } + + void on_duration_unit() { + out = format_duration_unit(out); + } +}; + +FMT_END_DETAIL_NAMESPACE + +#if defined(__cpp_lib_chrono) && __cpp_lib_chrono >= 201907 +using weekday = std::chrono::weekday; +#else +// A fallback version of weekday. +class weekday { + private: + unsigned char value; + + public: + weekday() = default; + explicit constexpr weekday(unsigned wd) noexcept + : value(static_cast(wd != 7 ? wd : 0)) {} + constexpr unsigned c_encoding() const noexcept { return value; } +}; +#endif + +// A rudimentary weekday formatter. +template <> struct formatter { + private: + bool localized = false; + + public: + FMT_CONSTEXPR auto parse(format_parse_context& ctx) -> decltype(ctx.begin()) { + auto begin = ctx.begin(), end = ctx.end(); + if (begin != end && *begin == 'L') { + ++begin; + localized = true; + } + return begin; + } + + auto format(weekday wd, format_context& ctx) -> decltype(ctx.out()) { + auto time = std::tm(); + time.tm_wday = static_cast(wd.c_encoding()); + const auto& loc = localized ? ctx.locale().template get() + : std::locale::classic(); + return detail::write(ctx.out(), time, loc, 'a'); + } +}; + +template +struct formatter, Char> { + private: + basic_format_specs specs; + int precision = -1; + using arg_ref_type = detail::arg_ref; + arg_ref_type width_ref; + arg_ref_type precision_ref; + bool localized = false; + basic_string_view format_str; + using duration = std::chrono::duration; + + struct spec_handler { + formatter& f; + basic_format_parse_context& context; + basic_string_view format_str; + + template FMT_CONSTEXPR arg_ref_type make_arg_ref(Id arg_id) { + context.check_arg_id(arg_id); + return arg_ref_type(arg_id); + } + + FMT_CONSTEXPR arg_ref_type make_arg_ref(basic_string_view arg_id) { + context.check_arg_id(arg_id); + return arg_ref_type(arg_id); + } + + FMT_CONSTEXPR arg_ref_type make_arg_ref(detail::auto_id) { + return arg_ref_type(context.next_arg_id()); + } + + void on_error(const char* msg) { FMT_THROW(format_error(msg)); } + FMT_CONSTEXPR void on_fill(basic_string_view fill) { + f.specs.fill = fill; + } + FMT_CONSTEXPR void on_align(align_t align) { f.specs.align = align; } + FMT_CONSTEXPR void on_width(int width) { f.specs.width = width; } + FMT_CONSTEXPR void on_precision(int _precision) { + f.precision = _precision; + } + FMT_CONSTEXPR void end_precision() {} + + template FMT_CONSTEXPR void on_dynamic_width(Id arg_id) { + f.width_ref = make_arg_ref(arg_id); + } + + template FMT_CONSTEXPR void on_dynamic_precision(Id arg_id) { + f.precision_ref = make_arg_ref(arg_id); + } + }; + + using iterator = typename basic_format_parse_context::iterator; + struct parse_range { + iterator begin; + iterator end; + }; + + FMT_CONSTEXPR parse_range do_parse(basic_format_parse_context& ctx) { + auto begin = ctx.begin(), end = ctx.end(); + if (begin == end || *begin == '}') return {begin, begin}; + spec_handler handler{*this, ctx, format_str}; + begin = detail::parse_align(begin, end, handler); + if (begin == end) return {begin, begin}; + begin = detail::parse_width(begin, end, handler); + if (begin == end) return {begin, begin}; + if (*begin == '.') { + if (std::is_floating_point::value) + begin = detail::parse_precision(begin, end, handler); + else + handler.on_error("precision not allowed for this argument type"); + } + if (begin != end && *begin == 'L') { + ++begin; + localized = true; + } + end = parse_chrono_format(begin, end, detail::chrono_format_checker()); + return {begin, end}; + } + + public: + FMT_CONSTEXPR auto parse(basic_format_parse_context& ctx) + -> decltype(ctx.begin()) { + auto range = do_parse(ctx); + format_str = basic_string_view( + &*range.begin, detail::to_unsigned(range.end - range.begin)); + return range.end; + } + + template + auto format(const duration& d, FormatContext& ctx) const + -> decltype(ctx.out()) { + auto specs_copy = specs; + auto precision_copy = precision; + auto begin = format_str.begin(), end = format_str.end(); + // As a possible future optimization, we could avoid extra copying if width + // is not specified. + basic_memory_buffer buf; + auto out = std::back_inserter(buf); + detail::handle_dynamic_spec(specs_copy.width, + width_ref, ctx); + detail::handle_dynamic_spec(precision_copy, + precision_ref, ctx); + if (begin == end || *begin == '}') { + out = detail::format_duration_value(out, d.count(), precision_copy); + detail::format_duration_unit(out); + } else { + detail::chrono_formatter f( + ctx, out, d); + f.precision = precision_copy; + f.localized = localized; + detail::parse_chrono_format(begin, end, f); + } + return detail::write( + ctx.out(), basic_string_view(buf.data(), buf.size()), specs_copy); + } +}; + +FMT_MODULE_EXPORT_END +FMT_END_NAMESPACE + +#endif // FMT_CHRONO_H_ diff --git a/LiteLoader/Header/third-party/FMT/color.h b/LiteLoader/Header/third-party/FMT/color.h new file mode 100644 index 0000000..89ec08e --- /dev/null +++ b/LiteLoader/Header/third-party/FMT/color.h @@ -0,0 +1,630 @@ +// Formatting library for C++ - color support +// +// Copyright (c) 2018 - present, Victor Zverovich and fmt contributors +// All rights reserved. +// +// For the license information refer to format.h. + +#ifndef FMT_COLOR_H_ +#define FMT_COLOR_H_ + +#include "format.h" + +// __declspec(deprecated) is broken in some MSVC versions. +#if FMT_MSC_VER +# define FMT_DEPRECATED_NONMSVC +#else +# define FMT_DEPRECATED_NONMSVC FMT_DEPRECATED +#endif + +FMT_BEGIN_NAMESPACE +FMT_MODULE_EXPORT_BEGIN + +enum class color : uint32_t { + alice_blue = 0xF0F8FF, // rgb(240,248,255) + antique_white = 0xFAEBD7, // rgb(250,235,215) + aqua = 0x00FFFF, // rgb(0,255,255) + aquamarine = 0x7FFFD4, // rgb(127,255,212) + azure = 0xF0FFFF, // rgb(240,255,255) + beige = 0xF5F5DC, // rgb(245,245,220) + bisque = 0xFFE4C4, // rgb(255,228,196) + black = 0x000000, // rgb(0,0,0) + blanched_almond = 0xFFEBCD, // rgb(255,235,205) + blue = 0x0000FF, // rgb(0,0,255) + blue_violet = 0x8A2BE2, // rgb(138,43,226) + brown = 0xA52A2A, // rgb(165,42,42) + burly_wood = 0xDEB887, // rgb(222,184,135) + cadet_blue = 0x5F9EA0, // rgb(95,158,160) + chartreuse = 0x7FFF00, // rgb(127,255,0) + chocolate = 0xD2691E, // rgb(210,105,30) + coral = 0xFF7F50, // rgb(255,127,80) + cornflower_blue = 0x6495ED, // rgb(100,149,237) + cornsilk = 0xFFF8DC, // rgb(255,248,220) + crimson = 0xDC143C, // rgb(220,20,60) + cyan = 0x00FFFF, // rgb(0,255,255) + dark_blue = 0x00008B, // rgb(0,0,139) + dark_cyan = 0x008B8B, // rgb(0,139,139) + dark_golden_rod = 0xB8860B, // rgb(184,134,11) + dark_gray = 0xA9A9A9, // rgb(169,169,169) + dark_green = 0x006400, // rgb(0,100,0) + dark_khaki = 0xBDB76B, // rgb(189,183,107) + dark_magenta = 0x8B008B, // rgb(139,0,139) + dark_olive_green = 0x556B2F, // rgb(85,107,47) + dark_orange = 0xFF8C00, // rgb(255,140,0) + dark_orchid = 0x9932CC, // rgb(153,50,204) + dark_red = 0x8B0000, // rgb(139,0,0) + dark_salmon = 0xE9967A, // rgb(233,150,122) + dark_sea_green = 0x8FBC8F, // rgb(143,188,143) + dark_slate_blue = 0x483D8B, // rgb(72,61,139) + dark_slate_gray = 0x2F4F4F, // rgb(47,79,79) + dark_turquoise = 0x00CED1, // rgb(0,206,209) + dark_violet = 0x9400D3, // rgb(148,0,211) + deep_pink = 0xFF1493, // rgb(255,20,147) + deep_sky_blue = 0x00BFFF, // rgb(0,191,255) + dim_gray = 0x696969, // rgb(105,105,105) + dodger_blue = 0x1E90FF, // rgb(30,144,255) + fire_brick = 0xB22222, // rgb(178,34,34) + floral_white = 0xFFFAF0, // rgb(255,250,240) + forest_green = 0x228B22, // rgb(34,139,34) + fuchsia = 0xFF00FF, // rgb(255,0,255) + gainsboro = 0xDCDCDC, // rgb(220,220,220) + ghost_white = 0xF8F8FF, // rgb(248,248,255) + gold = 0xFFD700, // rgb(255,215,0) + golden_rod = 0xDAA520, // rgb(218,165,32) + gray = 0x808080, // rgb(128,128,128) + green = 0x008000, // rgb(0,128,0) + green_yellow = 0xADFF2F, // rgb(173,255,47) + honey_dew = 0xF0FFF0, // rgb(240,255,240) + hot_pink = 0xFF69B4, // rgb(255,105,180) + indian_red = 0xCD5C5C, // rgb(205,92,92) + indigo = 0x4B0082, // rgb(75,0,130) + ivory = 0xFFFFF0, // rgb(255,255,240) + khaki = 0xF0E68C, // rgb(240,230,140) + lavender = 0xE6E6FA, // rgb(230,230,250) + lavender_blush = 0xFFF0F5, // rgb(255,240,245) + lawn_green = 0x7CFC00, // rgb(124,252,0) + lemon_chiffon = 0xFFFACD, // rgb(255,250,205) + light_blue = 0xADD8E6, // rgb(173,216,230) + light_coral = 0xF08080, // rgb(240,128,128) + light_cyan = 0xE0FFFF, // rgb(224,255,255) + light_golden_rod_yellow = 0xFAFAD2, // rgb(250,250,210) + light_gray = 0xD3D3D3, // rgb(211,211,211) + light_green = 0x90EE90, // rgb(144,238,144) + light_pink = 0xFFB6C1, // rgb(255,182,193) + light_salmon = 0xFFA07A, // rgb(255,160,122) + light_sea_green = 0x20B2AA, // rgb(32,178,170) + light_sky_blue = 0x87CEFA, // rgb(135,206,250) + light_slate_gray = 0x778899, // rgb(119,136,153) + light_steel_blue = 0xB0C4DE, // rgb(176,196,222) + light_yellow = 0xFFFFE0, // rgb(255,255,224) + lime = 0x00FF00, // rgb(0,255,0) + lime_green = 0x32CD32, // rgb(50,205,50) + linen = 0xFAF0E6, // rgb(250,240,230) + magenta = 0xFF00FF, // rgb(255,0,255) + maroon = 0x800000, // rgb(128,0,0) + medium_aquamarine = 0x66CDAA, // rgb(102,205,170) + medium_blue = 0x0000CD, // rgb(0,0,205) + medium_orchid = 0xBA55D3, // rgb(186,85,211) + medium_purple = 0x9370DB, // rgb(147,112,219) + medium_sea_green = 0x3CB371, // rgb(60,179,113) + medium_slate_blue = 0x7B68EE, // rgb(123,104,238) + medium_spring_green = 0x00FA9A, // rgb(0,250,154) + medium_turquoise = 0x48D1CC, // rgb(72,209,204) + medium_violet_red = 0xC71585, // rgb(199,21,133) + midnight_blue = 0x191970, // rgb(25,25,112) + mint_cream = 0xF5FFFA, // rgb(245,255,250) + misty_rose = 0xFFE4E1, // rgb(255,228,225) + moccasin = 0xFFE4B5, // rgb(255,228,181) + navajo_white = 0xFFDEAD, // rgb(255,222,173) + navy = 0x000080, // rgb(0,0,128) + old_lace = 0xFDF5E6, // rgb(253,245,230) + olive = 0x808000, // rgb(128,128,0) + olive_drab = 0x6B8E23, // rgb(107,142,35) + orange = 0xFFA500, // rgb(255,165,0) + orange_red = 0xFF4500, // rgb(255,69,0) + orchid = 0xDA70D6, // rgb(218,112,214) + pale_golden_rod = 0xEEE8AA, // rgb(238,232,170) + pale_green = 0x98FB98, // rgb(152,251,152) + pale_turquoise = 0xAFEEEE, // rgb(175,238,238) + pale_violet_red = 0xDB7093, // rgb(219,112,147) + papaya_whip = 0xFFEFD5, // rgb(255,239,213) + peach_puff = 0xFFDAB9, // rgb(255,218,185) + peru = 0xCD853F, // rgb(205,133,63) + pink = 0xFFC0CB, // rgb(255,192,203) + plum = 0xDDA0DD, // rgb(221,160,221) + powder_blue = 0xB0E0E6, // rgb(176,224,230) + purple = 0x800080, // rgb(128,0,128) + rebecca_purple = 0x663399, // rgb(102,51,153) + red = 0xFF0000, // rgb(255,0,0) + rosy_brown = 0xBC8F8F, // rgb(188,143,143) + royal_blue = 0x4169E1, // rgb(65,105,225) + saddle_brown = 0x8B4513, // rgb(139,69,19) + salmon = 0xFA8072, // rgb(250,128,114) + sandy_brown = 0xF4A460, // rgb(244,164,96) + sea_green = 0x2E8B57, // rgb(46,139,87) + sea_shell = 0xFFF5EE, // rgb(255,245,238) + sienna = 0xA0522D, // rgb(160,82,45) + silver = 0xC0C0C0, // rgb(192,192,192) + sky_blue = 0x87CEEB, // rgb(135,206,235) + slate_blue = 0x6A5ACD, // rgb(106,90,205) + slate_gray = 0x708090, // rgb(112,128,144) + snow = 0xFFFAFA, // rgb(255,250,250) + spring_green = 0x00FF7F, // rgb(0,255,127) + steel_blue = 0x4682B4, // rgb(70,130,180) + tan = 0xD2B48C, // rgb(210,180,140) + teal = 0x008080, // rgb(0,128,128) + thistle = 0xD8BFD8, // rgb(216,191,216) + tomato = 0xFF6347, // rgb(255,99,71) + turquoise = 0x40E0D0, // rgb(64,224,208) + violet = 0xEE82EE, // rgb(238,130,238) + wheat = 0xF5DEB3, // rgb(245,222,179) + white = 0xFFFFFF, // rgb(255,255,255) + white_smoke = 0xF5F5F5, // rgb(245,245,245) + yellow = 0xFFFF00, // rgb(255,255,0) + yellow_green = 0x9ACD32, // rgb(154,205,50) + yellow2 = 0xEBE94E, // rgb(235, 233, 78) + red2 = 0xEF2E2E, // rgb(239, 46, 46) + info = 0xA64FE9 +}; // enum class color + +enum class terminal_color : uint8_t { + black = 30, + red, + green, + yellow, + blue, + magenta, + cyan, + white, + bright_black = 90, + bright_red, + bright_green, + bright_yellow, + bright_blue, + bright_magenta, + bright_cyan, + bright_white +}; + +enum class emphasis : uint8_t { + bold = 1, + italic = 1 << 1, + underline = 1 << 2, + strikethrough = 1 << 3 +}; + +// rgb is a struct for red, green and blue colors. +// Using the name "rgb" makes some editors show the color in a tooltip. +struct rgb { + FMT_CONSTEXPR rgb() : r(0), g(0), b(0) {} + FMT_CONSTEXPR rgb(uint8_t r_, uint8_t g_, uint8_t b_) : r(r_), g(g_), b(b_) {} + FMT_CONSTEXPR rgb(uint32_t hex) + : r((hex >> 16) & 0xFF), g((hex >> 8) & 0xFF), b(hex & 0xFF) {} + FMT_CONSTEXPR rgb(color hex) + : r((uint32_t(hex) >> 16) & 0xFF), + g((uint32_t(hex) >> 8) & 0xFF), + b(uint32_t(hex) & 0xFF) {} + uint8_t r; + uint8_t g; + uint8_t b; +}; + +FMT_BEGIN_DETAIL_NAMESPACE + +// color is a struct of either a rgb color or a terminal color. +struct color_type { + FMT_CONSTEXPR color_type() FMT_NOEXCEPT : is_rgb(), value{} {} + FMT_CONSTEXPR color_type(color rgb_color) FMT_NOEXCEPT : is_rgb(true), + value{} { + value.rgb_color = static_cast(rgb_color); + } + FMT_CONSTEXPR color_type(rgb rgb_color) FMT_NOEXCEPT : is_rgb(true), value{} { + value.rgb_color = (static_cast(rgb_color.r) << 16) | + (static_cast(rgb_color.g) << 8) | rgb_color.b; + } + FMT_CONSTEXPR color_type(terminal_color term_color) FMT_NOEXCEPT : is_rgb(), + value{} { + value.term_color = static_cast(term_color); + } + bool is_rgb; + union color_union { + uint8_t term_color; + uint32_t rgb_color; + } value; +}; + +FMT_END_DETAIL_NAMESPACE + +/** A text style consisting of foreground and background colors and emphasis. */ +class text_style { + public: + FMT_CONSTEXPR text_style(emphasis em = emphasis()) FMT_NOEXCEPT + : set_foreground_color(), + set_background_color(), + ems(em) {} + + FMT_CONSTEXPR text_style& operator|=(const text_style& rhs) { + if (!set_foreground_color) { + set_foreground_color = rhs.set_foreground_color; + foreground_color = rhs.foreground_color; + } else if (rhs.set_foreground_color) { + if (!foreground_color.is_rgb || !rhs.foreground_color.is_rgb) + FMT_THROW(format_error("can't OR a terminal color")); + foreground_color.value.rgb_color |= rhs.foreground_color.value.rgb_color; + } + + if (!set_background_color) { + set_background_color = rhs.set_background_color; + background_color = rhs.background_color; + } else if (rhs.set_background_color) { + if (!background_color.is_rgb || !rhs.background_color.is_rgb) + FMT_THROW(format_error("can't OR a terminal color")); + background_color.value.rgb_color |= rhs.background_color.value.rgb_color; + } + + ems = static_cast(static_cast(ems) | + static_cast(rhs.ems)); + return *this; + } + + friend FMT_CONSTEXPR text_style operator|(text_style lhs, + const text_style& rhs) { + return lhs |= rhs; + } + + FMT_DEPRECATED_NONMSVC FMT_CONSTEXPR text_style& operator&=( + const text_style& rhs) { + return and_assign(rhs); + } + + FMT_DEPRECATED_NONMSVC friend FMT_CONSTEXPR text_style + operator&(text_style lhs, const text_style& rhs) { + return lhs.and_assign(rhs); + } + + FMT_CONSTEXPR bool has_foreground() const FMT_NOEXCEPT { + return set_foreground_color; + } + FMT_CONSTEXPR bool has_background() const FMT_NOEXCEPT { + return set_background_color; + } + FMT_CONSTEXPR bool has_emphasis() const FMT_NOEXCEPT { + return static_cast(ems) != 0; + } + FMT_CONSTEXPR detail::color_type get_foreground() const FMT_NOEXCEPT { + FMT_ASSERT(has_foreground(), "no foreground specified for this style"); + return foreground_color; + } + FMT_CONSTEXPR detail::color_type get_background() const FMT_NOEXCEPT { + FMT_ASSERT(has_background(), "no background specified for this style"); + return background_color; + } + FMT_CONSTEXPR emphasis get_emphasis() const FMT_NOEXCEPT { + FMT_ASSERT(has_emphasis(), "no emphasis specified for this style"); + return ems; + } + + private: + FMT_CONSTEXPR text_style(bool is_foreground, + detail::color_type text_color) FMT_NOEXCEPT + : set_foreground_color(), + set_background_color(), + ems() { + if (is_foreground) { + foreground_color = text_color; + set_foreground_color = true; + } else { + background_color = text_color; + set_background_color = true; + } + } + + // DEPRECATED! + FMT_CONSTEXPR text_style& and_assign(const text_style& rhs) { + if (!set_foreground_color) { + set_foreground_color = rhs.set_foreground_color; + foreground_color = rhs.foreground_color; + } else if (rhs.set_foreground_color) { + if (!foreground_color.is_rgb || !rhs.foreground_color.is_rgb) + FMT_THROW(format_error("can't AND a terminal color")); + foreground_color.value.rgb_color &= rhs.foreground_color.value.rgb_color; + } + + if (!set_background_color) { + set_background_color = rhs.set_background_color; + background_color = rhs.background_color; + } else if (rhs.set_background_color) { + if (!background_color.is_rgb || !rhs.background_color.is_rgb) + FMT_THROW(format_error("can't AND a terminal color")); + background_color.value.rgb_color &= rhs.background_color.value.rgb_color; + } + + ems = static_cast(static_cast(ems) & + static_cast(rhs.ems)); + return *this; + } + + friend FMT_CONSTEXPR_DECL text_style fg(detail::color_type foreground) + FMT_NOEXCEPT; + + friend FMT_CONSTEXPR_DECL text_style bg(detail::color_type background) + FMT_NOEXCEPT; + + detail::color_type foreground_color; + detail::color_type background_color; + bool set_foreground_color; + bool set_background_color; + emphasis ems; +}; + +/** Creates a text style from the foreground (text) color. */ +FMT_CONSTEXPR inline text_style fg(detail::color_type foreground) FMT_NOEXCEPT { + return text_style(true, foreground); +} + +/** Creates a text style from the background color. */ +FMT_CONSTEXPR inline text_style bg(detail::color_type background) FMT_NOEXCEPT { + return text_style(false, background); +} + +FMT_CONSTEXPR inline text_style operator|(emphasis lhs, + emphasis rhs) FMT_NOEXCEPT { + return text_style(lhs) | rhs; +} + +FMT_BEGIN_DETAIL_NAMESPACE + +template struct ansi_color_escape { + FMT_CONSTEXPR ansi_color_escape(detail::color_type text_color, + const char* esc) FMT_NOEXCEPT { + // If we have a terminal color, we need to output another escape code + // sequence. + if (!text_color.is_rgb) { + bool is_background = esc == string_view("\x1b[48;2;"); + uint32_t value = text_color.value.term_color; + // Background ASCII codes are the same as the foreground ones but with + // 10 more. + if (is_background) value += 10u; + + size_t index = 0; + buffer[index++] = static_cast('\x1b'); + buffer[index++] = static_cast('['); + + if (value >= 100u) { + buffer[index++] = static_cast('1'); + value %= 100u; + } + buffer[index++] = static_cast('0' + value / 10u); + buffer[index++] = static_cast('0' + value % 10u); + + buffer[index++] = static_cast('m'); + buffer[index++] = static_cast('\0'); + return; + } + + for (int i = 0; i < 7; i++) { + buffer[i] = static_cast(esc[i]); + } + rgb color(text_color.value.rgb_color); + to_esc(color.r, buffer + 7, ';'); + to_esc(color.g, buffer + 11, ';'); + to_esc(color.b, buffer + 15, 'm'); + buffer[19] = static_cast(0); + } + FMT_CONSTEXPR ansi_color_escape(emphasis em) FMT_NOEXCEPT { + uint8_t em_codes[4] = {}; + uint8_t em_bits = static_cast(em); + if (em_bits & static_cast(emphasis::bold)) em_codes[0] = 1; + if (em_bits & static_cast(emphasis::italic)) em_codes[1] = 3; + if (em_bits & static_cast(emphasis::underline)) em_codes[2] = 4; + if (em_bits & static_cast(emphasis::strikethrough)) + em_codes[3] = 9; + + size_t index = 0; + for (int i = 0; i < 4; ++i) { + if (!em_codes[i]) continue; + buffer[index++] = static_cast('\x1b'); + buffer[index++] = static_cast('['); + buffer[index++] = static_cast('0' + em_codes[i]); + buffer[index++] = static_cast('m'); + } + buffer[index++] = static_cast(0); + } + FMT_CONSTEXPR operator const Char*() const FMT_NOEXCEPT { return buffer; } + + FMT_CONSTEXPR const Char* begin() const FMT_NOEXCEPT { return buffer; } + FMT_CONSTEXPR_CHAR_TRAITS const Char* end() const FMT_NOEXCEPT { + return buffer + std::char_traits::length(buffer); + } + + private: + Char buffer[7u + 3u * 4u + 1u]; + + static FMT_CONSTEXPR void to_esc(uint8_t c, Char* out, + char delimiter) FMT_NOEXCEPT { + out[0] = static_cast('0' + c / 100); + out[1] = static_cast('0' + c / 10 % 10); + out[2] = static_cast('0' + c % 10); + out[3] = static_cast(delimiter); + } +}; + +template +FMT_CONSTEXPR ansi_color_escape make_foreground_color( + detail::color_type foreground) FMT_NOEXCEPT { + return ansi_color_escape(foreground, "\x1b[38;2;"); +} + +template +FMT_CONSTEXPR ansi_color_escape make_background_color( + detail::color_type background) FMT_NOEXCEPT { + return ansi_color_escape(background, "\x1b[48;2;"); +} + +template +FMT_CONSTEXPR ansi_color_escape make_emphasis(emphasis em) FMT_NOEXCEPT { + return ansi_color_escape(em); +} + +template +inline void fputs(const Char* chars, FILE* stream) FMT_NOEXCEPT { + std::fputs(chars, stream); +} + +template <> +inline void fputs(const wchar_t* chars, FILE* stream) FMT_NOEXCEPT { + std::fputws(chars, stream); +} + +template inline void reset_color(FILE* stream) FMT_NOEXCEPT { + fputs("\x1b[0m", stream); +} + +template <> inline void reset_color(FILE* stream) FMT_NOEXCEPT { + fputs(L"\x1b[0m", stream); +} + +template +inline void reset_color(buffer& buffer) FMT_NOEXCEPT { + auto reset_color = string_view("\x1b[0m"); + buffer.append(reset_color.begin(), reset_color.end()); +} + +template +void vformat_to(buffer& buf, const text_style& ts, + basic_string_view format_str, + basic_format_args>> args) { + bool has_style = false; + if (ts.has_emphasis()) { + has_style = true; + auto emphasis = detail::make_emphasis(ts.get_emphasis()); + buf.append(emphasis.begin(), emphasis.end()); + } + if (ts.has_foreground()) { + has_style = true; + auto foreground = detail::make_foreground_color(ts.get_foreground()); + buf.append(foreground.begin(), foreground.end()); + } + if (ts.has_background()) { + has_style = true; + auto background = detail::make_background_color(ts.get_background()); + buf.append(background.begin(), background.end()); + } + detail::vformat_to(buf, format_str, args, {}); + if (has_style) detail::reset_color(buf); +} + +FMT_END_DETAIL_NAMESPACE + +template > +void vprint(std::FILE* f, const text_style& ts, const S& format, + basic_format_args>> args) { + basic_memory_buffer buf; + detail::vformat_to(buf, ts, to_string_view(format), args); + buf.push_back(Char(0)); + detail::fputs(buf.data(), f); +} + +/** + \rst + Formats a string and prints it to the specified file stream using ANSI + escape sequences to specify text formatting. + + **Example**:: + + fmt::print(fmt::emphasis::bold | fg(fmt::color::red), + "Elapsed time: {0:.2f} seconds", 1.23); + \endrst + */ +template ::value)> +void print(std::FILE* f, const text_style& ts, const S& format_str, + const Args&... args) { + vprint(f, ts, format_str, + fmt::make_args_checked(format_str, args...)); +} + +/** + \rst + Formats a string and prints it to stdout using ANSI escape sequences to + specify text formatting. + + **Example**:: + + fmt::print(fmt::emphasis::bold | fg(fmt::color::red), + "Elapsed time: {0:.2f} seconds", 1.23); + \endrst + */ +template ::value)> +void print(const text_style& ts, const S& format_str, const Args&... args) { + return print(stdout, ts, format_str, args...); +} + +template > +inline std::basic_string vformat( + const text_style& ts, const S& format_str, + basic_format_args>> args) { + basic_memory_buffer buf; + detail::vformat_to(buf, ts, to_string_view(format_str), args); + return fmt::to_string(buf); +} + +/** + \rst + Formats arguments and returns the result as a string using ANSI + escape sequences to specify text formatting. + + **Example**:: + + #include + std::string message = fmt::format(fmt::emphasis::bold | fg(fmt::color::red), + "The answer is {}", 42); + \endrst +*/ +template > +inline std::basic_string format(const text_style& ts, const S& format_str, + const Args&... args) { + return fmt::vformat(ts, to_string_view(format_str), + fmt::make_args_checked(format_str, args...)); +} + +/** + Formats a string with the given text_style and writes the output to ``out``. + */ +template ::value)> +OutputIt vformat_to( + OutputIt out, const text_style& ts, basic_string_view format_str, + basic_format_args>> args) { + auto&& buf = detail::get_buffer(out); + detail::vformat_to(buf, ts, format_str, args); + return detail::get_iterator(buf); +} + +/** + \rst + Formats arguments with the given text_style, writes the result to the output + iterator ``out`` and returns the iterator past the end of the output range. + + **Example**:: + + std::vector out; + fmt::format_to(std::back_inserter(out), + fmt::emphasis::bold | fg(fmt::color::red), "{}", 42); + \endrst +*/ +template >::value&& + detail::is_string::value> +inline auto format_to(OutputIt out, const text_style& ts, const S& format_str, + Args&&... args) -> + typename std::enable_if::type { + return vformat_to(out, ts, to_string_view(format_str), + fmt::make_args_checked(format_str, args...)); +} + +FMT_MODULE_EXPORT_END +FMT_END_NAMESPACE + +#endif // FMT_COLOR_H_ diff --git a/LiteLoader/Header/third-party/FMT/compile.h b/LiteLoader/Header/third-party/FMT/compile.h new file mode 100644 index 0000000..00000c9 --- /dev/null +++ b/LiteLoader/Header/third-party/FMT/compile.h @@ -0,0 +1,639 @@ +// Formatting library for C++ - experimental format string compilation +// +// Copyright (c) 2012 - present, Victor Zverovich and fmt contributors +// All rights reserved. +// +// For the license information refer to format.h. + +#ifndef FMT_COMPILE_H_ +#define FMT_COMPILE_H_ + +#include "format.h" + +FMT_BEGIN_NAMESPACE +namespace detail { + +// An output iterator that counts the number of objects written to it and +// discards them. +class counting_iterator { + private: + size_t count_; + + public: + using iterator_category = std::output_iterator_tag; + using difference_type = std::ptrdiff_t; + using pointer = void; + using reference = void; + using _Unchecked_type = counting_iterator; // Mark iterator as checked. + + struct value_type { + template void operator=(const T&) {} + }; + + counting_iterator() : count_(0) {} + + size_t count() const { return count_; } + + counting_iterator& operator++() { + ++count_; + return *this; + } + counting_iterator operator++(int) { + auto it = *this; + ++*this; + return it; + } + + friend counting_iterator operator+(counting_iterator it, difference_type n) { + it.count_ += static_cast(n); + return it; + } + + value_type operator*() const { return {}; } +}; + +template +inline counting_iterator copy_str(InputIt begin, InputIt end, + counting_iterator it) { + return it + (end - begin); +} + +template class truncating_iterator_base { + protected: + OutputIt out_; + size_t limit_; + size_t count_ = 0; + + truncating_iterator_base() : out_(), limit_(0) {} + + truncating_iterator_base(OutputIt out, size_t limit) + : out_(out), limit_(limit) {} + + public: + using iterator_category = std::output_iterator_tag; + using value_type = typename std::iterator_traits::value_type; + using difference_type = std::ptrdiff_t; + using pointer = void; + using reference = void; + using _Unchecked_type = + truncating_iterator_base; // Mark iterator as checked. + + OutputIt base() const { return out_; } + size_t count() const { return count_; } +}; + +// An output iterator that truncates the output and counts the number of objects +// written to it. +template ::value_type>::type> +class truncating_iterator; + +template +class truncating_iterator + : public truncating_iterator_base { + mutable typename truncating_iterator_base::value_type blackhole_; + + public: + using value_type = typename truncating_iterator_base::value_type; + + truncating_iterator() = default; + + truncating_iterator(OutputIt out, size_t limit) + : truncating_iterator_base(out, limit) {} + + truncating_iterator& operator++() { + if (this->count_++ < this->limit_) ++this->out_; + return *this; + } + + truncating_iterator operator++(int) { + auto it = *this; + ++*this; + return it; + } + + value_type& operator*() const { + return this->count_ < this->limit_ ? *this->out_ : blackhole_; + } +}; + +template +class truncating_iterator + : public truncating_iterator_base { + public: + truncating_iterator() = default; + + truncating_iterator(OutputIt out, size_t limit) + : truncating_iterator_base(out, limit) {} + + template truncating_iterator& operator=(T val) { + if (this->count_++ < this->limit_) *this->out_++ = val; + return *this; + } + + truncating_iterator& operator++() { return *this; } + truncating_iterator& operator++(int) { return *this; } + truncating_iterator& operator*() { return *this; } +}; + +// A compile-time string which is compiled into fast formatting code. +class compiled_string {}; + +template +struct is_compiled_string : std::is_base_of {}; + +/** + \rst + Converts a string literal *s* into a format string that will be parsed at + compile time and converted into efficient formatting code. Requires C++17 + ``constexpr if`` compiler support. + + **Example**:: + + // Converts 42 into std::string using the most efficient method and no + // runtime format string processing. + std::string s = fmt::format(FMT_COMPILE("{}"), 42); + \endrst + */ +#ifdef __cpp_if_constexpr +# define FMT_COMPILE(s) \ + FMT_STRING_IMPL(s, fmt::detail::compiled_string, explicit) +#else +# define FMT_COMPILE(s) FMT_STRING(s) +#endif + +#if FMT_USE_NONTYPE_TEMPLATE_PARAMETERS +template Str> +struct udl_compiled_string : compiled_string { + using char_type = Char; + constexpr operator basic_string_view() const { + return {Str.data, N - 1}; + } +}; +#endif + +template +const T& first(const T& value, const Tail&...) { + return value; +} + +#ifdef __cpp_if_constexpr +template struct type_list {}; + +// Returns a reference to the argument at index N from [first, rest...]. +template +constexpr const auto& get([[maybe_unused]] const T& first, + [[maybe_unused]] const Args&... rest) { + static_assert(N < 1 + sizeof...(Args), "index is out of bounds"); + if constexpr (N == 0) + return first; + else + return get(rest...); +} + +template +constexpr int get_arg_index_by_name(basic_string_view name, + type_list) { + return get_arg_index_by_name(name); +} + +template struct get_type_impl; + +template struct get_type_impl> { + using type = remove_cvref_t(std::declval()...))>; +}; + +template +using get_type = typename get_type_impl::type; + +template struct is_compiled_format : std::false_type {}; + +template struct text { + basic_string_view data; + using char_type = Char; + + template + constexpr OutputIt format(OutputIt out, const Args&...) const { + return write(out, data); + } +}; + +template +struct is_compiled_format> : std::true_type {}; + +template +constexpr text make_text(basic_string_view s, size_t pos, + size_t size) { + return {{&s[pos], size}}; +} + +template struct code_unit { + Char value; + using char_type = Char; + + template + constexpr OutputIt format(OutputIt out, const Args&...) const { + return write(out, value); + } +}; + +// This ensures that the argument type is convertible to `const T&`. +template +constexpr const T& get_arg_checked(const Args&... args) { + const auto& arg = get(args...); + if constexpr (detail::is_named_arg>()) { + return arg.value; + } else { + return arg; + } +} + +template +struct is_compiled_format> : std::true_type {}; + +// A replacement field that refers to argument N. +template struct field { + using char_type = Char; + + template + constexpr OutputIt format(OutputIt out, const Args&... args) const { + return write(out, get_arg_checked(args...)); + } +}; + +template +struct is_compiled_format> : std::true_type {}; + +// A replacement field that refers to argument with name. +template struct runtime_named_field { + using char_type = Char; + basic_string_view name; + + template + constexpr static bool try_format_argument( + OutputIt& out, + // [[maybe_unused]] due to unused-but-set-parameter warning in GCC 7,8,9 + [[maybe_unused]] basic_string_view arg_name, const T& arg) { + if constexpr (is_named_arg::type>::value) { + if (arg_name == arg.name) { + out = write(out, arg.value); + return true; + } + } + return false; + } + + template + constexpr OutputIt format(OutputIt out, const Args&... args) const { + bool found = (try_format_argument(out, name, args) || ...); + if (!found) { + throw format_error("argument with specified name is not found"); + } + return out; + } +}; + +template +struct is_compiled_format> : std::true_type {}; + +// A replacement field that refers to argument N and has format specifiers. +template struct spec_field { + using char_type = Char; + formatter fmt; + + template + constexpr FMT_INLINE OutputIt format(OutputIt out, + const Args&... args) const { + const auto& vargs = + fmt::make_format_args>(args...); + basic_format_context ctx(out, vargs); + return fmt.format(get_arg_checked(args...), ctx); + } +}; + +template +struct is_compiled_format> : std::true_type {}; + +template struct concat { + L lhs; + R rhs; + using char_type = typename L::char_type; + + template + constexpr OutputIt format(OutputIt out, const Args&... args) const { + out = lhs.format(out, args...); + return rhs.format(out, args...); + } +}; + +template +struct is_compiled_format> : std::true_type {}; + +template +constexpr concat make_concat(L lhs, R rhs) { + return {lhs, rhs}; +} + +struct unknown_format {}; + +template +constexpr size_t parse_text(basic_string_view str, size_t pos) { + for (size_t size = str.size(); pos != size; ++pos) { + if (str[pos] == '{' || str[pos] == '}') break; + } + return pos; +} + +template +constexpr auto compile_format_string(S format_str); + +template +constexpr auto parse_tail(T head, S format_str) { + if constexpr (POS != + basic_string_view(format_str).size()) { + constexpr auto tail = compile_format_string(format_str); + if constexpr (std::is_same, + unknown_format>()) + return tail; + else + return make_concat(head, tail); + } else { + return head; + } +} + +template struct parse_specs_result { + formatter fmt; + size_t end; + int next_arg_id; +}; + +constexpr int manual_indexing_id = -1; + +template +constexpr parse_specs_result parse_specs(basic_string_view str, + size_t pos, int next_arg_id) { + str.remove_prefix(pos); + auto ctx = basic_format_parse_context(str, {}, next_arg_id); + auto f = formatter(); + auto end = f.parse(ctx); + return {f, pos + fmt::detail::to_unsigned(end - str.data()) + 1, + next_arg_id == 0 ? manual_indexing_id : ctx.next_arg_id()}; +} + +template struct arg_id_handler { + arg_ref arg_id; + + constexpr int operator()() { + FMT_ASSERT(false, "handler cannot be used with automatic indexing"); + return 0; + } + constexpr int operator()(int id) { + arg_id = arg_ref(id); + return 0; + } + constexpr int operator()(basic_string_view id) { + arg_id = arg_ref(id); + return 0; + } + + constexpr void on_error(const char* message) { throw format_error(message); } +}; + +template struct parse_arg_id_result { + arg_ref arg_id; + const Char* arg_id_end; +}; + +template +constexpr auto parse_arg_id(const Char* begin, const Char* end) { + auto handler = arg_id_handler{arg_ref{}}; + auto arg_id_end = parse_arg_id(begin, end, handler); + return parse_arg_id_result{handler.arg_id, arg_id_end}; +} + +template struct field_type { + using type = remove_cvref_t; +}; + +template +struct field_type::value>> { + using type = remove_cvref_t; +}; + +template +constexpr auto parse_replacement_field_then_tail(S format_str) { + using char_type = typename S::char_type; + constexpr auto str = basic_string_view(format_str); + constexpr char_type c = END_POS != str.size() ? str[END_POS] : char_type(); + if constexpr (c == '}') { + return parse_tail( + field::type, ARG_INDEX>(), + format_str); + } else if constexpr (c == ':') { + constexpr auto result = parse_specs::type>( + str, END_POS + 1, NEXT_ID == manual_indexing_id ? 0 : NEXT_ID); + return parse_tail( + spec_field::type, ARG_INDEX>{ + result.fmt}, + format_str); + } +} + +// Compiles a non-empty format string and returns the compiled representation +// or unknown_format() on unrecognized input. +template +constexpr auto compile_format_string(S format_str) { + using char_type = typename S::char_type; + constexpr auto str = basic_string_view(format_str); + if constexpr (str[POS] == '{') { + if constexpr (POS + 1 == str.size()) + throw format_error("unmatched '{' in format string"); + if constexpr (str[POS + 1] == '{') { + return parse_tail(make_text(str, POS, 1), format_str); + } else if constexpr (str[POS + 1] == '}' || str[POS + 1] == ':') { + static_assert(ID != manual_indexing_id, + "cannot switch from manual to automatic argument indexing"); + constexpr auto next_id = + ID != manual_indexing_id ? ID + 1 : manual_indexing_id; + return parse_replacement_field_then_tail, Args, + POS + 1, ID, next_id>( + format_str); + } else { + constexpr auto arg_id_result = + parse_arg_id(str.data() + POS + 1, str.data() + str.size()); + constexpr auto arg_id_end_pos = arg_id_result.arg_id_end - str.data(); + constexpr char_type c = + arg_id_end_pos != str.size() ? str[arg_id_end_pos] : char_type(); + static_assert(c == '}' || c == ':', "missing '}' in format string"); + if constexpr (arg_id_result.arg_id.kind == arg_id_kind::index) { + static_assert( + ID == manual_indexing_id || ID == 0, + "cannot switch from automatic to manual argument indexing"); + constexpr auto arg_index = arg_id_result.arg_id.val.index; + return parse_replacement_field_then_tail, + Args, arg_id_end_pos, + arg_index, manual_indexing_id>( + format_str); + } else if constexpr (arg_id_result.arg_id.kind == arg_id_kind::name) { + constexpr auto arg_index = + get_arg_index_by_name(arg_id_result.arg_id.val.name, Args{}); + if constexpr (arg_index != invalid_arg_index) { + constexpr auto next_id = + ID != manual_indexing_id ? ID + 1 : manual_indexing_id; + return parse_replacement_field_then_tail< + decltype(get_type::value), Args, arg_id_end_pos, + arg_index, next_id>(format_str); + } else { + if constexpr (c == '}') { + return parse_tail( + runtime_named_field{arg_id_result.arg_id.val.name}, + format_str); + } else if constexpr (c == ':') { + return unknown_format(); // no type info for specs parsing + } + } + } + } + } else if constexpr (str[POS] == '}') { + if constexpr (POS + 1 == str.size()) + throw format_error("unmatched '}' in format string"); + return parse_tail(make_text(str, POS, 1), format_str); + } else { + constexpr auto end = parse_text(str, POS + 1); + if constexpr (end - POS > 1) { + return parse_tail(make_text(str, POS, end - POS), + format_str); + } else { + return parse_tail(code_unit{str[POS]}, + format_str); + } + } +} + +template ::value)> +constexpr auto compile(S format_str) { + constexpr auto str = basic_string_view(format_str); + if constexpr (str.size() == 0) { + return detail::make_text(str, 0, 0); + } else { + constexpr auto result = + detail::compile_format_string, 0, 0>( + format_str); + return result; + } +} +#endif // __cpp_if_constexpr +} // namespace detail + +FMT_MODULE_EXPORT_BEGIN + +#ifdef __cpp_if_constexpr + +template ::value)> +FMT_INLINE std::basic_string format(const CompiledFormat& cf, + const Args&... args) { + auto s = std::basic_string(); + cf.format(std::back_inserter(s), args...); + return s; +} + +template ::value)> +constexpr FMT_INLINE OutputIt format_to(OutputIt out, const CompiledFormat& cf, + const Args&... args) { + return cf.format(out, args...); +} + +template ::value)> +FMT_INLINE std::basic_string format(const S&, + Args&&... args) { + if constexpr (std::is_same::value) { + constexpr auto str = basic_string_view(S()); + if constexpr (str.size() == 2 && str[0] == '{' && str[1] == '}') { + const auto& first = detail::first(args...); + if constexpr (detail::is_named_arg< + remove_cvref_t>::value) { + return fmt::to_string(first.value); + } else { + return fmt::to_string(first); + } + } + } + constexpr auto compiled = detail::compile(S()); + if constexpr (std::is_same, + detail::unknown_format>()) { + return format(static_cast>(S()), + std::forward(args)...); + } else { + return format(compiled, std::forward(args)...); + } +} + +template ::value)> +FMT_CONSTEXPR OutputIt format_to(OutputIt out, const S&, Args&&... args) { + constexpr auto compiled = detail::compile(S()); + if constexpr (std::is_same, + detail::unknown_format>()) { + return format_to(out, + static_cast>(S()), + std::forward(args)...); + } else { + return format_to(out, compiled, std::forward(args)...); + } +} +#endif + +template ::value)> +format_to_n_result format_to_n(OutputIt out, size_t n, + const S& format_str, Args&&... args) { + auto it = format_to(detail::truncating_iterator(out, n), format_str, + std::forward(args)...); + return {it.base(), it.count()}; +} + +template ::value)> +size_t formatted_size(const S& format_str, const Args&... args) { + return format_to(detail::counting_iterator(), format_str, args...).count(); +} + +template ::value)> +void print(std::FILE* f, const S& format_str, const Args&... args) { + memory_buffer buffer; + format_to(std::back_inserter(buffer), format_str, args...); + detail::print(f, {buffer.data(), buffer.size()}); +} + +template ::value)> +void print(const S& format_str, const Args&... args) { + print(stdout, format_str, args...); +} + +#if FMT_USE_NONTYPE_TEMPLATE_PARAMETERS +inline namespace literals { +template +constexpr detail::udl_compiled_string< + remove_cvref_t, + sizeof(Str.data) / sizeof(decltype(Str.data[0])), Str> +operator""_cf() { + return {}; +} +} // namespace literals +#endif + +FMT_MODULE_EXPORT_END +FMT_END_NAMESPACE + +#endif // FMT_COMPILE_H_ diff --git a/LiteLoader/Header/third-party/FMT/core.h b/LiteLoader/Header/third-party/FMT/core.h new file mode 100644 index 0000000..d058398 --- /dev/null +++ b/LiteLoader/Header/third-party/FMT/core.h @@ -0,0 +1,3002 @@ +// Formatting library for C++ - the core API for char/UTF-8 +// +// Copyright (c) 2012 - present, Victor Zverovich +// All rights reserved. +// +// For the license information refer to format.h. + +#ifndef FMT_CORE_H_ +#define FMT_CORE_H_ + +#include // std::FILE +#include +#include +#include +#include +#include + +// The fmt library version in the form major * 10000 + minor * 100 + patch. +#define FMT_VERSION 80001 + +#ifdef __clang__ +# define FMT_CLANG_VERSION (__clang_major__ * 100 + __clang_minor__) +#else +# define FMT_CLANG_VERSION 0 +#endif + +#if defined(__GNUC__) && !defined(__clang__) && !defined(__INTEL_COMPILER) +# define FMT_GCC_VERSION (__GNUC__ * 100 + __GNUC_MINOR__) +# define FMT_GCC_PRAGMA(arg) _Pragma(arg) +#else +# define FMT_GCC_VERSION 0 +# define FMT_GCC_PRAGMA(arg) +#endif + +#if __cplusplus >= 201103L || defined(__GXX_EXPERIMENTAL_CXX0X__) +# define FMT_HAS_GXX_CXX11 FMT_GCC_VERSION +#else +# define FMT_HAS_GXX_CXX11 0 +#endif + +#if defined(__INTEL_COMPILER) +# define FMT_ICC_VERSION __INTEL_COMPILER +#else +# define FMT_ICC_VERSION 0 +#endif + +#ifdef __NVCC__ +# define FMT_NVCC __NVCC__ +#else +# define FMT_NVCC 0 +#endif + +#ifdef _MSC_VER +# define FMT_MSC_VER _MSC_VER +# define FMT_MSC_WARNING(...) __pragma(warning(__VA_ARGS__)) +#else +# define FMT_MSC_VER 0 +# define FMT_MSC_WARNING(...) +#endif + +#ifdef __has_feature +# define FMT_HAS_FEATURE(x) __has_feature(x) +#else +# define FMT_HAS_FEATURE(x) 0 +#endif + +#if defined(__has_include) && \ + (!defined(__INTELLISENSE__) || FMT_MSC_VER > 1900) && \ + (!FMT_ICC_VERSION || FMT_ICC_VERSION >= 1600) +# define FMT_HAS_INCLUDE(x) __has_include(x) +#else +# define FMT_HAS_INCLUDE(x) 0 +#endif + +#ifdef __has_cpp_attribute +# define FMT_HAS_CPP_ATTRIBUTE(x) __has_cpp_attribute(x) +#else +# define FMT_HAS_CPP_ATTRIBUTE(x) 0 +#endif + +#define FMT_HAS_CPP14_ATTRIBUTE(attribute) \ + (__cplusplus >= 201402L && FMT_HAS_CPP_ATTRIBUTE(attribute)) + +#define FMT_HAS_CPP17_ATTRIBUTE(attribute) \ + (__cplusplus >= 201703L && FMT_HAS_CPP_ATTRIBUTE(attribute)) + +// Check if relaxed C++14 constexpr is supported. +// GCC doesn't allow throw in constexpr until version 6 (bug 67371). +#ifndef FMT_USE_CONSTEXPR +# define FMT_USE_CONSTEXPR \ + (FMT_HAS_FEATURE(cxx_relaxed_constexpr) || FMT_MSC_VER >= 1910 || \ + (FMT_GCC_VERSION >= 600 && __cplusplus >= 201402L)) && \ + !FMT_NVCC && !FMT_ICC_VERSION +#endif +#if FMT_USE_CONSTEXPR +# define FMT_CONSTEXPR constexpr +# define FMT_CONSTEXPR_DECL constexpr +#else +# define FMT_CONSTEXPR +# define FMT_CONSTEXPR_DECL +#endif + +// Check if constexpr std::char_traits<>::compare,length is supported. +#if defined(__GLIBCXX__) +# if __cplusplus >= 201703L && defined(_GLIBCXX_RELEASE) && \ + _GLIBCXX_RELEASE >= 7 // GCC 7+ libstdc++ has _GLIBCXX_RELEASE. +# define FMT_CONSTEXPR_CHAR_TRAITS constexpr +# endif +#elif defined(_LIBCPP_VERSION) && __cplusplus >= 201703L && \ + _LIBCPP_VERSION >= 4000 +# define FMT_CONSTEXPR_CHAR_TRAITS constexpr +#elif FMT_MSC_VER >= 1914 && _MSVC_LANG >= 201703L +# define FMT_CONSTEXPR_CHAR_TRAITS constexpr +#endif +#ifndef FMT_CONSTEXPR_CHAR_TRAITS +# define FMT_CONSTEXPR_CHAR_TRAITS +#endif + +#ifndef FMT_OVERRIDE +# if FMT_HAS_FEATURE(cxx_override_control) || \ + (FMT_GCC_VERSION >= 408 && FMT_HAS_GXX_CXX11) || FMT_MSC_VER >= 1900 +# define FMT_OVERRIDE override +# else +# define FMT_OVERRIDE +# endif +#endif + +// Check if exceptions are disabled. +#ifndef FMT_EXCEPTIONS +# if (defined(__GNUC__) && !defined(__EXCEPTIONS)) || \ + FMT_MSC_VER && !_HAS_EXCEPTIONS +# define FMT_EXCEPTIONS 0 +# else +# define FMT_EXCEPTIONS 1 +# endif +#endif + +// Define FMT_USE_NOEXCEPT to make fmt use noexcept (C++11 feature). +#ifndef FMT_USE_NOEXCEPT +# define FMT_USE_NOEXCEPT 0 +#endif + +#if FMT_USE_NOEXCEPT || FMT_HAS_FEATURE(cxx_noexcept) || \ + (FMT_GCC_VERSION >= 408 && FMT_HAS_GXX_CXX11) || FMT_MSC_VER >= 1900 +# define FMT_DETECTED_NOEXCEPT noexcept +# define FMT_HAS_CXX11_NOEXCEPT 1 +#else +# define FMT_DETECTED_NOEXCEPT throw() +# define FMT_HAS_CXX11_NOEXCEPT 0 +#endif + +#ifndef FMT_NOEXCEPT +# if FMT_EXCEPTIONS || FMT_HAS_CXX11_NOEXCEPT +# define FMT_NOEXCEPT FMT_DETECTED_NOEXCEPT +# else +# define FMT_NOEXCEPT +# endif +#endif + +// [[noreturn]] is disabled on MSVC and NVCC because of bogus unreachable code +// warnings. +#if FMT_EXCEPTIONS && FMT_HAS_CPP_ATTRIBUTE(noreturn) && !FMT_MSC_VER && \ + !FMT_NVCC +# define FMT_NORETURN [[noreturn]] +#else +# define FMT_NORETURN +#endif + +#ifndef FMT_MAYBE_UNUSED +# if FMT_HAS_CPP17_ATTRIBUTE(maybe_unused) +# define FMT_MAYBE_UNUSED [[maybe_unused]] +# else +# define FMT_MAYBE_UNUSED +# endif +#endif + +#if __cplusplus == 201103L || __cplusplus == 201402L +# if defined(__INTEL_COMPILER) || defined(__PGI) +# define FMT_FALLTHROUGH +# elif defined(__clang__) +# define FMT_FALLTHROUGH [[clang::fallthrough]] +# elif FMT_GCC_VERSION >= 700 && \ + (!defined(__EDG_VERSION__) || __EDG_VERSION__ >= 520) +# define FMT_FALLTHROUGH [[gnu::fallthrough]] +# else +# define FMT_FALLTHROUGH +# endif +#elif FMT_HAS_CPP17_ATTRIBUTE(fallthrough) || \ + (defined(_MSVC_LANG) && _MSVC_LANG >= 201703L) +# define FMT_FALLTHROUGH [[fallthrough]] +#else +# define FMT_FALLTHROUGH +#endif + +#ifndef FMT_USE_FLOAT +# define FMT_USE_FLOAT 1 +#endif +#ifndef FMT_USE_DOUBLE +# define FMT_USE_DOUBLE 1 +#endif +#ifndef FMT_USE_LONG_DOUBLE +# define FMT_USE_LONG_DOUBLE 1 +#endif + +#ifndef FMT_INLINE +# if FMT_GCC_VERSION || FMT_CLANG_VERSION +# define FMT_INLINE inline __attribute__((always_inline)) +# else +# define FMT_INLINE inline +# endif +#endif + +#ifndef FMT_USE_INLINE_NAMESPACES +# if FMT_HAS_FEATURE(cxx_inline_namespaces) || FMT_GCC_VERSION >= 404 || \ + (FMT_MSC_VER >= 1900 && (!defined(_MANAGED) || !_MANAGED)) +# define FMT_USE_INLINE_NAMESPACES 1 +# else +# define FMT_USE_INLINE_NAMESPACES 0 +# endif +#endif + +#ifndef FMT_BEGIN_NAMESPACE +# if FMT_USE_INLINE_NAMESPACES +# define FMT_INLINE_NAMESPACE inline namespace +# define FMT_END_NAMESPACE \ + } \ + } +# else +# define FMT_INLINE_NAMESPACE namespace +# define FMT_END_NAMESPACE \ + } \ + using namespace v8; \ + } +# endif +# define FMT_BEGIN_NAMESPACE \ + namespace fmt { \ + FMT_INLINE_NAMESPACE v8 { +#endif + +#ifndef FMT_MODULE_EXPORT +# define FMT_MODULE_EXPORT +# define FMT_MODULE_EXPORT_BEGIN +# define FMT_MODULE_EXPORT_END +# define FMT_BEGIN_DETAIL_NAMESPACE namespace detail { +# define FMT_END_DETAIL_NAMESPACE } +#endif + +#if !defined(FMT_HEADER_ONLY) && defined(_WIN32) +# define FMT_CLASS_API FMT_MSC_WARNING(suppress : 4275) +# ifdef FMT_EXPORT +# define FMT_API __declspec(dllexport) +# elif defined(FMT_SHARED) +# define FMT_API __declspec(dllimport) +# endif +#else +# define FMT_CLASS_API +# if defined(FMT_EXPORT) || defined(FMT_SHARED) +# if defined(__GNUC__) || defined(__clang__) +# define FMT_API __attribute__((visibility("default"))) +# endif +# endif +#endif +#ifndef FMT_API +# define FMT_API +#endif + +#if FMT_GCC_VERSION +# define FMT_GCC_VISIBILITY_HIDDEN __attribute__((visibility("hidden"))) +#else +# define FMT_GCC_VISIBILITY_HIDDEN +#endif + +// libc++ supports string_view in pre-c++17. +#if (FMT_HAS_INCLUDE() && \ + (__cplusplus > 201402L || defined(_LIBCPP_VERSION))) || \ + (defined(_MSVC_LANG) && _MSVC_LANG > 201402L && _MSC_VER >= 1910) +# include +# define FMT_USE_STRING_VIEW +#elif FMT_HAS_INCLUDE("experimental/string_view") && __cplusplus >= 201402L +# include +# define FMT_USE_EXPERIMENTAL_STRING_VIEW +#endif + +#ifndef FMT_UNICODE +# define FMT_UNICODE !FMT_MSC_VER +#endif + +#ifndef FMT_CONSTEVAL +# if ((FMT_GCC_VERSION >= 1000 || FMT_CLANG_VERSION >= 1101) && \ + __cplusplus > 201703L) || \ + (defined(__cpp_consteval) && \ + !FMT_MSC_VER) // consteval is broken in MSVC. +# define FMT_CONSTEVAL consteval +# define FMT_HAS_CONSTEVAL +# else +# define FMT_CONSTEVAL +# endif +#endif + +#ifndef FMT_USE_NONTYPE_TEMPLATE_PARAMETERS +# if defined(__cpp_nontype_template_args) && \ + ((FMT_GCC_VERSION >= 903 && __cplusplus >= 201709L) || \ + __cpp_nontype_template_args >= 201911L) +# define FMT_USE_NONTYPE_TEMPLATE_PARAMETERS 1 +# else +# define FMT_USE_NONTYPE_TEMPLATE_PARAMETERS 0 +# endif +#endif + +// Enable minimal optimizations for more compact code in debug mode. +FMT_GCC_PRAGMA("GCC push_options") +#ifndef __OPTIMIZE__ +FMT_GCC_PRAGMA("GCC optimize(\"Og\")") +#endif + +FMT_BEGIN_NAMESPACE +FMT_MODULE_EXPORT_BEGIN + +// Implementations of enable_if_t and other metafunctions for older systems. +template +using enable_if_t = typename std::enable_if::type; +template +using conditional_t = typename std::conditional::type; +template using bool_constant = std::integral_constant; +template +using remove_reference_t = typename std::remove_reference::type; +template +using remove_cvref_t = typename std::remove_cv>::type; +template struct type_identity { using type = T; }; +template using type_identity_t = typename type_identity::type; + +struct monostate { + constexpr monostate() {} +}; + +// Suppress "unused variable" warnings with the method described in +// https://herbsutter.com/2009/10/18/mailbag-shutting-up-compiler-warnings/. +// (void)var does not work on many Intel compilers. +template FMT_CONSTEXPR void ignore_unused(const T&...) {} + +// An enable_if helper to be used in template parameters which results in much +// shorter symbols: https://godbolt.org/z/sWw4vP. Extra parentheses are needed +// to workaround a bug in MSVC 2019 (see #1140 and #1186). +#ifdef FMT_DOC +# define FMT_ENABLE_IF(...) +#else +# define FMT_ENABLE_IF(...) enable_if_t<(__VA_ARGS__), int> = 0 +#endif + +FMT_BEGIN_DETAIL_NAMESPACE + +constexpr FMT_INLINE auto is_constant_evaluated() FMT_NOEXCEPT -> bool { +#ifdef __cpp_lib_is_constant_evaluated + return std::is_constant_evaluated(); +#else + return false; +#endif +} + +// A function to suppress "conditional expression is constant" warnings. +template constexpr auto const_check(T value) -> T { return value; } + +FMT_NORETURN FMT_API void assert_fail(const char* file, int line, + const char* message); + +#ifndef FMT_ASSERT +# ifdef NDEBUG +// FMT_ASSERT is not empty to avoid -Werror=empty-body. +# define FMT_ASSERT(condition, message) \ + ::fmt::ignore_unused((condition), (message)) +# else +# define FMT_ASSERT(condition, message) \ + ((condition) /* void() fails with -Winvalid-constexpr on clang 4.0.1 */ \ + ? (void)0 \ + : ::fmt::detail::assert_fail(__FILE__, __LINE__, (message))) +# endif +#endif + +#if defined(FMT_USE_STRING_VIEW) +template using std_string_view = std::basic_string_view; +#elif defined(FMT_USE_EXPERIMENTAL_STRING_VIEW) +template +using std_string_view = std::experimental::basic_string_view; +#else +template struct std_string_view {}; +#endif + +#ifdef FMT_USE_INT128 +// Do nothing. +#elif defined(__SIZEOF_INT128__) && !FMT_NVCC && \ + !(FMT_CLANG_VERSION && FMT_MSC_VER) +# define FMT_USE_INT128 1 +using int128_t = __int128_t; +using uint128_t = __uint128_t; +template inline auto convert_for_visit(T value) -> T { + return value; +} +#else +# define FMT_USE_INT128 0 +#endif +#if !FMT_USE_INT128 +enum class int128_t {}; +enum class uint128_t {}; +// Reduce template instantiations. +template inline auto convert_for_visit(T) -> monostate { + return {}; +} +#endif + +// Casts a nonnegative integer to unsigned. +template +FMT_CONSTEXPR auto to_unsigned(Int value) -> + typename std::make_unsigned::type { + FMT_ASSERT(value >= 0, "negative value"); + return static_cast::type>(value); +} + +FMT_MSC_WARNING(suppress : 4566) constexpr unsigned char micro[] = "\u00B5"; + +constexpr auto is_utf8() -> bool { + // Avoid buggy sign extensions in MSVC's constant evaluation mode. + // https://developercommunity.visualstudio.com/t/C-difference-in-behavior-for-unsigned/1233612 + using uchar = unsigned char; + return FMT_UNICODE || (sizeof(micro) == 3 && uchar(micro[0]) == 0xC2 && + uchar(micro[1]) == 0xB5); +} +FMT_END_DETAIL_NAMESPACE + +/** + An implementation of ``std::basic_string_view`` for pre-C++17. It provides a + subset of the API. ``fmt::basic_string_view`` is used for format strings even + if ``std::string_view`` is available to prevent issues when a library is + compiled with a different ``-std`` option than the client code (which is not + recommended). + */ +template class basic_string_view { + private: + const Char* data_; + size_t size_; + + public: + using value_type = Char; + using iterator = const Char*; + + constexpr basic_string_view() FMT_NOEXCEPT : data_(nullptr), size_(0) {} + + /** Constructs a string reference object from a C string and a size. */ + constexpr basic_string_view(const Char* s, size_t count) FMT_NOEXCEPT + : data_(s), + size_(count) {} + + /** + \rst + Constructs a string reference object from a C string computing + the size with ``std::char_traits::length``. + \endrst + */ + FMT_CONSTEXPR_CHAR_TRAITS + FMT_INLINE + basic_string_view(const Char* s) : data_(s) { + if (detail::const_check(std::is_same::value && + !detail::is_constant_evaluated())) + size_ = std::strlen(reinterpret_cast(s)); + else + size_ = std::char_traits::length(s); + } + + /** Constructs a string reference from a ``std::basic_string`` object. */ + template + FMT_CONSTEXPR basic_string_view( + const std::basic_string& s) FMT_NOEXCEPT + : data_(s.data()), + size_(s.size()) {} + + template >::value)> + FMT_CONSTEXPR basic_string_view(S s) FMT_NOEXCEPT : data_(s.data()), + size_(s.size()) {} + + /** Returns a pointer to the string data. */ + constexpr auto data() const -> const Char* { return data_; } + + /** Returns the string size. */ + constexpr auto size() const -> size_t { return size_; } + + constexpr auto begin() const -> iterator { return data_; } + constexpr auto end() const -> iterator { return data_ + size_; } + + constexpr auto operator[](size_t pos) const -> const Char& { + return data_[pos]; + } + + FMT_CONSTEXPR void remove_prefix(size_t n) { + data_ += n; + size_ -= n; + } + + // Lexicographically compare this string reference to other. + FMT_CONSTEXPR_CHAR_TRAITS auto compare(basic_string_view other) const -> int { + size_t str_size = size_ < other.size_ ? size_ : other.size_; + int result = std::char_traits::compare(data_, other.data_, str_size); + if (result == 0) + result = size_ == other.size_ ? 0 : (size_ < other.size_ ? -1 : 1); + return result; + } + + FMT_CONSTEXPR_CHAR_TRAITS friend auto operator==(basic_string_view lhs, + basic_string_view rhs) + -> bool { + return lhs.compare(rhs) == 0; + } + friend auto operator!=(basic_string_view lhs, basic_string_view rhs) -> bool { + return lhs.compare(rhs) != 0; + } + friend auto operator<(basic_string_view lhs, basic_string_view rhs) -> bool { + return lhs.compare(rhs) < 0; + } + friend auto operator<=(basic_string_view lhs, basic_string_view rhs) -> bool { + return lhs.compare(rhs) <= 0; + } + friend auto operator>(basic_string_view lhs, basic_string_view rhs) -> bool { + return lhs.compare(rhs) > 0; + } + friend auto operator>=(basic_string_view lhs, basic_string_view rhs) -> bool { + return lhs.compare(rhs) >= 0; + } +}; + +using string_view = basic_string_view; + +/** Specifies if ``T`` is a character type. Can be specialized by users. */ +template struct is_char : std::false_type {}; +template <> struct is_char : std::true_type {}; + +// Returns a string view of `s`. +template ::value)> +FMT_INLINE auto to_string_view(const Char* s) -> basic_string_view { + return s; +} +template +inline auto to_string_view(const std::basic_string& s) + -> basic_string_view { + return s; +} +template +constexpr auto to_string_view(basic_string_view s) + -> basic_string_view { + return s; +} +template >::value)> +inline auto to_string_view(detail::std_string_view s) + -> basic_string_view { + return s; +} + +// A base class for compile-time strings. It is defined in the fmt namespace to +// make formatting functions visible via ADL, e.g. format(FMT_STRING("{}"), 42). +struct compile_string {}; + +template +struct is_compile_string : std::is_base_of {}; + +template ::value)> +constexpr auto to_string_view(const S& s) + -> basic_string_view { + return basic_string_view(s); +} + +FMT_BEGIN_DETAIL_NAMESPACE + +void to_string_view(...); +using fmt::v8::to_string_view; + +// Specifies whether S is a string type convertible to fmt::basic_string_view. +// It should be a constexpr function but MSVC 2017 fails to compile it in +// enable_if and MSVC 2015 fails to compile it as an alias template. +template +struct is_string : std::is_class()))> { +}; + +template struct char_t_impl {}; +template struct char_t_impl::value>> { + using result = decltype(to_string_view(std::declval())); + using type = typename result::value_type; +}; + +// Reports a compile-time error if S is not a valid format string. +template ::value)> +FMT_INLINE void check_format_string(const S&) { +#ifdef FMT_ENFORCE_COMPILE_STRING + static_assert(is_compile_string::value, + "FMT_ENFORCE_COMPILE_STRING requires all format strings to use " + "FMT_STRING."); +#endif +} +template ::value)> +void check_format_string(S); + +struct error_handler { + constexpr error_handler() = default; + constexpr error_handler(const error_handler&) = default; + + // This function is intentionally not constexpr to give a compile-time error. + FMT_NORETURN FMT_API void on_error(const char* message); +}; +FMT_END_DETAIL_NAMESPACE + +/** String's character type. */ +template using char_t = typename detail::char_t_impl::type; + +/** + \rst + Parsing context consisting of a format string range being parsed and an + argument counter for automatic indexing. + You can use the ``format_parse_context`` type alias for ``char`` instead. + \endrst + */ +template +class basic_format_parse_context : private ErrorHandler { + private: + basic_string_view format_str_; + int next_arg_id_; + + public: + using char_type = Char; + using iterator = typename basic_string_view::iterator; + + explicit constexpr basic_format_parse_context( + basic_string_view format_str, ErrorHandler eh = {}, + int next_arg_id = 0) + : ErrorHandler(eh), format_str_(format_str), next_arg_id_(next_arg_id) {} + + /** + Returns an iterator to the beginning of the format string range being + parsed. + */ + constexpr auto begin() const FMT_NOEXCEPT -> iterator { + return format_str_.begin(); + } + + /** + Returns an iterator past the end of the format string range being parsed. + */ + constexpr auto end() const FMT_NOEXCEPT -> iterator { + return format_str_.end(); + } + + /** Advances the begin iterator to ``it``. */ + FMT_CONSTEXPR void advance_to(iterator it) { + format_str_.remove_prefix(detail::to_unsigned(it - begin())); + } + + /** + Reports an error if using the manual argument indexing; otherwise returns + the next argument index and switches to the automatic indexing. + */ + FMT_CONSTEXPR auto next_arg_id() -> int { + // Don't check if the argument id is valid to avoid overhead and because it + // will be checked during formatting anyway. + if (next_arg_id_ >= 0) return next_arg_id_++; + on_error("cannot switch from manual to automatic argument indexing"); + return 0; + } + + /** + Reports an error if using the automatic argument indexing; otherwise + switches to the manual indexing. + */ + FMT_CONSTEXPR void check_arg_id(int) { + if (next_arg_id_ > 0) + on_error("cannot switch from automatic to manual argument indexing"); + else + next_arg_id_ = -1; + } + + FMT_CONSTEXPR void check_arg_id(basic_string_view) {} + + FMT_CONSTEXPR void on_error(const char* message) { + ErrorHandler::on_error(message); + } + + constexpr auto error_handler() const -> ErrorHandler { return *this; } +}; + +using format_parse_context = basic_format_parse_context; + +template class basic_format_arg; +template class basic_format_args; +template class dynamic_format_arg_store; + +// A formatter for objects of type T. +template +struct formatter { + // A deleted default constructor indicates a disabled formatter. + formatter() = delete; +}; + +// Specifies if T has an enabled formatter specialization. A type can be +// formattable even if it doesn't have a formatter e.g. via a conversion. +template +using has_formatter = + std::is_constructible>; + +// Checks whether T is a container with contiguous storage. +template struct is_contiguous : std::false_type {}; +template +struct is_contiguous> : std::true_type {}; + +class appender; + +FMT_BEGIN_DETAIL_NAMESPACE + +// Extracts a reference to the container from back_insert_iterator. +template +inline auto get_container(std::back_insert_iterator it) + -> Container& { + using bi_iterator = std::back_insert_iterator; + struct accessor : bi_iterator { + accessor(bi_iterator iter) : bi_iterator(iter) {} + using bi_iterator::container; + }; + return *accessor(it).container; +} + +template +FMT_CONSTEXPR auto copy_str(InputIt begin, InputIt end, OutputIt out) + -> OutputIt { + while (begin != end) *out++ = static_cast(*begin++); + return out; +} + +template ::value)> +FMT_CONSTEXPR auto copy_str(const Char* begin, const Char* end, Char* out) + -> Char* { + if (is_constant_evaluated()) + return copy_str(begin, end, out); + auto size = to_unsigned(end - begin); + memcpy(out, begin, size); + return out + size; +} + +/** + \rst + A contiguous memory buffer with an optional growing ability. It is an internal + class and shouldn't be used directly, only via `~fmt::basic_memory_buffer`. + \endrst + */ +template class buffer { + private: + T* ptr_; + size_t size_; + size_t capacity_; + + protected: + // Don't initialize ptr_ since it is not accessed to save a few cycles. + FMT_MSC_WARNING(suppress : 26495) + buffer(size_t sz) FMT_NOEXCEPT : size_(sz), capacity_(sz) {} + + buffer(T* p = nullptr, size_t sz = 0, size_t cap = 0) FMT_NOEXCEPT + : ptr_(p), + size_(sz), + capacity_(cap) {} + + ~buffer() = default; + buffer(buffer&&) = default; + + /** Sets the buffer data and capacity. */ + void set(T* buf_data, size_t buf_capacity) FMT_NOEXCEPT { + ptr_ = buf_data; + capacity_ = buf_capacity; + } + + /** Increases the buffer capacity to hold at least *capacity* elements. */ + virtual void grow(size_t capacity) = 0; + + public: + using value_type = T; + using const_reference = const T&; + + buffer(const buffer&) = delete; + void operator=(const buffer&) = delete; + + auto begin() FMT_NOEXCEPT -> T* { return ptr_; } + auto end() FMT_NOEXCEPT -> T* { return ptr_ + size_; } + + auto begin() const FMT_NOEXCEPT -> const T* { return ptr_; } + auto end() const FMT_NOEXCEPT -> const T* { return ptr_ + size_; } + + /** Returns the size of this buffer. */ + auto size() const FMT_NOEXCEPT -> size_t { return size_; } + + /** Returns the capacity of this buffer. */ + auto capacity() const FMT_NOEXCEPT -> size_t { return capacity_; } + + /** Returns a pointer to the buffer data. */ + auto data() FMT_NOEXCEPT -> T* { return ptr_; } + + /** Returns a pointer to the buffer data. */ + auto data() const FMT_NOEXCEPT -> const T* { return ptr_; } + + /** Clears this buffer. */ + void clear() { size_ = 0; } + + // Tries resizing the buffer to contain *count* elements. If T is a POD type + // the new elements may not be initialized. + void try_resize(size_t count) { + try_reserve(count); + size_ = count <= capacity_ ? count : capacity_; + } + + // Tries increasing the buffer capacity to *new_capacity*. It can increase the + // capacity by a smaller amount than requested but guarantees there is space + // for at least one additional element either by increasing the capacity or by + // flushing the buffer if it is full. + void try_reserve(size_t new_capacity) { + if (new_capacity > capacity_) grow(new_capacity); + } + + void push_back(const T& value) { + try_reserve(size_ + 1); + ptr_[size_++] = value; + } + + /** Appends data to the end of the buffer. */ + template void append(const U* begin, const U* end); + + template auto operator[](I index) -> T& { return ptr_[index]; } + template auto operator[](I index) const -> const T& { + return ptr_[index]; + } +}; + +struct buffer_traits { + explicit buffer_traits(size_t) {} + auto count() const -> size_t { return 0; } + auto limit(size_t size) -> size_t { return size; } +}; + +class fixed_buffer_traits { + private: + size_t count_ = 0; + size_t limit_; + + public: + explicit fixed_buffer_traits(size_t limit) : limit_(limit) {} + auto count() const -> size_t { return count_; } + auto limit(size_t size) -> size_t { + size_t n = limit_ > count_ ? limit_ - count_ : 0; + count_ += size; + return size < n ? size : n; + } +}; + +// A buffer that writes to an output iterator when flushed. +template +class iterator_buffer final : public Traits, public buffer { + private: + OutputIt out_; + enum { buffer_size = 256 }; + T data_[buffer_size]; + + protected: + void grow(size_t) final FMT_OVERRIDE { + if (this->size() == buffer_size) flush(); + } + + void flush() { + auto size = this->size(); + this->clear(); + out_ = copy_str(data_, data_ + this->limit(size), out_); + } + + public: + explicit iterator_buffer(OutputIt out, size_t n = buffer_size) + : Traits(n), buffer(data_, 0, buffer_size), out_(out) {} + iterator_buffer(iterator_buffer&& other) + : Traits(other), buffer(data_, 0, buffer_size), out_(other.out_) {} + ~iterator_buffer() { flush(); } + + auto out() -> OutputIt { + flush(); + return out_; + } + auto count() const -> size_t { return Traits::count() + this->size(); } +}; + +template class iterator_buffer final : public buffer { + protected: + void grow(size_t) final FMT_OVERRIDE {} + + public: + explicit iterator_buffer(T* out, size_t = 0) : buffer(out, 0, ~size_t()) {} + + auto out() -> T* { return &*this->end(); } +}; + +// A buffer that writes to a container with the contiguous storage. +template +class iterator_buffer, + enable_if_t::value, + typename Container::value_type>> + final : public buffer { + private: + Container& container_; + + protected: + void grow(size_t capacity) final FMT_OVERRIDE { + container_.resize(capacity); + this->set(&container_[0], capacity); + } + + public: + explicit iterator_buffer(Container& c) + : buffer(c.size()), container_(c) {} + explicit iterator_buffer(std::back_insert_iterator out, size_t = 0) + : iterator_buffer(get_container(out)) {} + auto out() -> std::back_insert_iterator { + return std::back_inserter(container_); + } +}; + +// A buffer that counts the number of code units written discarding the output. +template class counting_buffer final : public buffer { + private: + enum { buffer_size = 256 }; + T data_[buffer_size]; + size_t count_ = 0; + + protected: + void grow(size_t) final FMT_OVERRIDE { + if (this->size() != buffer_size) return; + count_ += this->size(); + this->clear(); + } + + public: + counting_buffer() : buffer(data_, 0, buffer_size) {} + + auto count() -> size_t { return count_ + this->size(); } +}; + +template +using buffer_appender = conditional_t::value, appender, + std::back_insert_iterator>>; + +// Maps an output iterator to a buffer. +template +auto get_buffer(OutputIt out) -> iterator_buffer { + return iterator_buffer(out); +} + +template +auto get_iterator(Buffer& buf) -> decltype(buf.out()) { + return buf.out(); +} +template auto get_iterator(buffer& buf) -> buffer_appender { + return buffer_appender(buf); +} + +template +struct fallback_formatter { + fallback_formatter() = delete; +}; + +// Specifies if T has an enabled fallback_formatter specialization. +template +using has_fallback_formatter = + std::is_constructible>; + +struct view {}; + +template struct named_arg : view { + const Char* name; + const T& value; + named_arg(const Char* n, const T& v) : name(n), value(v) {} +}; + +template struct named_arg_info { + const Char* name; + int id; +}; + +template +struct arg_data { + // args_[0].named_args points to named_args_ to avoid bloating format_args. + // +1 to workaround a bug in gcc 7.5 that causes duplicated-branches warning. + T args_[1 + (NUM_ARGS != 0 ? NUM_ARGS : +1)]; + named_arg_info named_args_[NUM_NAMED_ARGS]; + + template + arg_data(const U&... init) : args_{T(named_args_, NUM_NAMED_ARGS), init...} {} + arg_data(const arg_data& other) = delete; + auto args() const -> const T* { return args_ + 1; } + auto named_args() -> named_arg_info* { return named_args_; } +}; + +template +struct arg_data { + // +1 to workaround a bug in gcc 7.5 that causes duplicated-branches warning. + T args_[NUM_ARGS != 0 ? NUM_ARGS : +1]; + + template + FMT_CONSTEXPR FMT_INLINE arg_data(const U&... init) : args_{init...} {} + FMT_CONSTEXPR FMT_INLINE auto args() const -> const T* { return args_; } + FMT_CONSTEXPR FMT_INLINE auto named_args() -> std::nullptr_t { + return nullptr; + } +}; + +template +inline void init_named_args(named_arg_info*, int, int) {} + +template struct is_named_arg : std::false_type {}; +template struct is_statically_named_arg : std::false_type {}; + +template +struct is_named_arg> : std::true_type {}; + +template ::value)> +void init_named_args(named_arg_info* named_args, int arg_count, + int named_arg_count, const T&, const Tail&... args) { + init_named_args(named_args, arg_count + 1, named_arg_count, args...); +} + +template ::value)> +void init_named_args(named_arg_info* named_args, int arg_count, + int named_arg_count, const T& arg, const Tail&... args) { + named_args[named_arg_count++] = {arg.name, arg_count}; + init_named_args(named_args, arg_count + 1, named_arg_count, args...); +} + +template +FMT_CONSTEXPR FMT_INLINE void init_named_args(std::nullptr_t, int, int, + const Args&...) {} + +template constexpr auto count() -> size_t { return B ? 1 : 0; } +template constexpr auto count() -> size_t { + return (B1 ? 1 : 0) + count(); +} + +template constexpr auto count_named_args() -> size_t { + return count::value...>(); +} + +enum class type { + none_type, + // Integer types should go first, + int_type, + uint_type, + long_long_type, + ulong_long_type, + int128_type, + uint128_type, + bool_type, + char_type, + last_integer_type = char_type, + // followed by floating-point types. + float_type, + double_type, + long_double_type, + last_numeric_type = long_double_type, + cstring_type, + string_type, + pointer_type, + custom_type +}; + +// Maps core type T to the corresponding type enum constant. +template +struct type_constant : std::integral_constant {}; + +#define FMT_TYPE_CONSTANT(Type, constant) \ + template \ + struct type_constant \ + : std::integral_constant {} + +FMT_TYPE_CONSTANT(int, int_type); +FMT_TYPE_CONSTANT(unsigned, uint_type); +FMT_TYPE_CONSTANT(long long, long_long_type); +FMT_TYPE_CONSTANT(unsigned long long, ulong_long_type); +FMT_TYPE_CONSTANT(int128_t, int128_type); +FMT_TYPE_CONSTANT(uint128_t, uint128_type); +FMT_TYPE_CONSTANT(bool, bool_type); +FMT_TYPE_CONSTANT(Char, char_type); +FMT_TYPE_CONSTANT(float, float_type); +FMT_TYPE_CONSTANT(double, double_type); +FMT_TYPE_CONSTANT(long double, long_double_type); +FMT_TYPE_CONSTANT(const Char*, cstring_type); +FMT_TYPE_CONSTANT(basic_string_view, string_type); +FMT_TYPE_CONSTANT(const void*, pointer_type); + +constexpr bool is_integral_type(type t) { + return t > type::none_type && t <= type::last_integer_type; +} + +constexpr bool is_arithmetic_type(type t) { + return t > type::none_type && t <= type::last_numeric_type; +} + +template struct string_value { + const Char* data; + size_t size; +}; + +template struct named_arg_value { + const named_arg_info* data; + size_t size; +}; + +template struct custom_value { + using parse_context = typename Context::parse_context_type; + const void* value; + void (*format)(const void* arg, parse_context& parse_ctx, Context& ctx); +}; + +// A formatting argument value. +template class value { + public: + using char_type = typename Context::char_type; + + union { + monostate no_value; + int int_value; + unsigned uint_value; + long long long_long_value; + unsigned long long ulong_long_value; + int128_t int128_value; + uint128_t uint128_value; + bool bool_value; + char_type char_value; + float float_value; + double double_value; + long double long_double_value; + const void* pointer; + string_value string; + custom_value custom; + named_arg_value named_args; + }; + + constexpr FMT_INLINE value() : no_value() {} + constexpr FMT_INLINE value(int val) : int_value(val) {} + constexpr FMT_INLINE value(unsigned val) : uint_value(val) {} + constexpr FMT_INLINE value(long long val) : long_long_value(val) {} + constexpr FMT_INLINE value(unsigned long long val) : ulong_long_value(val) {} + FMT_INLINE value(int128_t val) : int128_value(val) {} + FMT_INLINE value(uint128_t val) : uint128_value(val) {} + FMT_INLINE value(float val) : float_value(val) {} + FMT_INLINE value(double val) : double_value(val) {} + FMT_INLINE value(long double val) : long_double_value(val) {} + constexpr FMT_INLINE value(bool val) : bool_value(val) {} + constexpr FMT_INLINE value(char_type val) : char_value(val) {} + FMT_CONSTEXPR FMT_INLINE value(const char_type* val) { + string.data = val; + if (is_constant_evaluated()) string.size = {}; + } + FMT_CONSTEXPR FMT_INLINE value(basic_string_view val) { + string.data = val.data(); + string.size = val.size(); + } + FMT_INLINE value(const void* val) : pointer(val) {} + FMT_INLINE value(const named_arg_info* args, size_t size) + : named_args{args, size} {} + + template FMT_CONSTEXPR FMT_INLINE value(const T& val) { + custom.value = &val; + // Get the formatter type through the context to allow different contexts + // have different extension points, e.g. `formatter` for `format` and + // `printf_formatter` for `printf`. + custom.format = format_custom_arg< + T, conditional_t::value, + typename Context::template formatter_type, + fallback_formatter>>; + } + + private: + // Formats an argument of a custom type, such as a user-defined class. + template + static void format_custom_arg(const void* arg, + typename Context::parse_context_type& parse_ctx, + Context& ctx) { + Formatter f; + parse_ctx.advance_to(f.parse(parse_ctx)); + ctx.advance_to(f.format(*static_cast(arg), ctx)); + } +}; + +template +FMT_CONSTEXPR auto make_arg(const T& value) -> basic_format_arg; + +// To minimize the number of types we need to deal with, long is translated +// either to int or to long long depending on its size. +enum { long_short = sizeof(long) == sizeof(int) }; +using long_type = conditional_t; +using ulong_type = conditional_t; + +struct unformattable {}; + +// Maps formatting arguments to core types. +template struct arg_mapper { + using char_type = typename Context::char_type; + + FMT_CONSTEXPR FMT_INLINE auto map(signed char val) -> int { return val; } + FMT_CONSTEXPR FMT_INLINE auto map(unsigned char val) -> unsigned { + return val; + } + FMT_CONSTEXPR FMT_INLINE auto map(short val) -> int { return val; } + FMT_CONSTEXPR FMT_INLINE auto map(unsigned short val) -> unsigned { + return val; + } + FMT_CONSTEXPR FMT_INLINE auto map(int val) -> int { return val; } + FMT_CONSTEXPR FMT_INLINE auto map(unsigned val) -> unsigned { return val; } + FMT_CONSTEXPR FMT_INLINE auto map(long val) -> long_type { return val; } + FMT_CONSTEXPR FMT_INLINE auto map(unsigned long val) -> ulong_type { + return val; + } + FMT_CONSTEXPR FMT_INLINE auto map(long long val) -> long long { return val; } + FMT_CONSTEXPR FMT_INLINE auto map(unsigned long long val) + -> unsigned long long { + return val; + } + FMT_CONSTEXPR FMT_INLINE auto map(int128_t val) -> int128_t { return val; } + FMT_CONSTEXPR FMT_INLINE auto map(uint128_t val) -> uint128_t { return val; } + FMT_CONSTEXPR FMT_INLINE auto map(bool val) -> bool { return val; } + + template ::value)> + FMT_CONSTEXPR FMT_INLINE auto map(T val) -> char_type { + static_assert( + std::is_same::value || std::is_same::value, + "mixing character types is disallowed"); + return val; + } + + FMT_CONSTEXPR FMT_INLINE auto map(float val) -> float { return val; } + FMT_CONSTEXPR FMT_INLINE auto map(double val) -> double { return val; } + FMT_CONSTEXPR FMT_INLINE auto map(long double val) -> long double { + return val; + } + + FMT_CONSTEXPR FMT_INLINE auto map(char_type* val) -> const char_type* { + return val; + } + FMT_CONSTEXPR FMT_INLINE auto map(const char_type* val) -> const char_type* { + return val; + } + template ::value)> + FMT_CONSTEXPR FMT_INLINE auto map(const T& val) + -> basic_string_view { + static_assert(std::is_same>::value, + "mixing character types is disallowed"); + return to_string_view(val); + } + template , T>::value && + !is_string::value && !has_formatter::value && + !has_fallback_formatter::value)> + FMT_CONSTEXPR FMT_INLINE auto map(const T& val) + -> basic_string_view { + return basic_string_view(val); + } + template < + typename T, + FMT_ENABLE_IF( + std::is_constructible, T>::value && + !std::is_constructible, T>::value && + !is_string::value && !has_formatter::value && + !has_fallback_formatter::value)> + FMT_CONSTEXPR FMT_INLINE auto map(const T& val) + -> basic_string_view { + return std_string_view(val); + } + FMT_CONSTEXPR FMT_INLINE auto map(const signed char* val) -> const char* { + static_assert(std::is_same::value, "invalid string type"); + return reinterpret_cast(val); + } + FMT_CONSTEXPR FMT_INLINE auto map(const unsigned char* val) -> const char* { + static_assert(std::is_same::value, "invalid string type"); + return reinterpret_cast(val); + } + FMT_CONSTEXPR FMT_INLINE auto map(signed char* val) -> const char* { + const auto* const_val = val; + return map(const_val); + } + FMT_CONSTEXPR FMT_INLINE auto map(unsigned char* val) -> const char* { + const auto* const_val = val; + return map(const_val); + } + + FMT_CONSTEXPR FMT_INLINE auto map(void* val) -> const void* { return val; } + FMT_CONSTEXPR FMT_INLINE auto map(const void* val) -> const void* { + return val; + } + FMT_CONSTEXPR FMT_INLINE auto map(std::nullptr_t val) -> const void* { + return val; + } + + // We use SFINAE instead of a const T* parameter to avoid conflicting with + // the C array overload. + template + FMT_CONSTEXPR auto map(T) -> enable_if_t::value, int> { + // Formatting of arbitrary pointers is disallowed. If you want to output + // a pointer cast it to "void *" or "const void *". In particular, this + // forbids formatting of "[const] volatile char *" which is printed as bool + // by iostreams. + static_assert(!sizeof(T), "formatting of non-void pointers is disallowed"); + return 0; + } + + template + FMT_CONSTEXPR FMT_INLINE auto map(const T (&values)[N]) -> const T (&)[N] { + return values; + } + + template ::value && + !has_formatter::value && + !has_fallback_formatter::value)> + FMT_CONSTEXPR FMT_INLINE auto map(const T& val) + -> decltype(std::declval().map( + static_cast::type>(val))) { + return map(static_cast::type>(val)); + } + template ::value && !is_char::value && + (has_formatter::value || + has_fallback_formatter::value))> + FMT_CONSTEXPR FMT_INLINE auto map(const T& val) -> const T& { + return val; + } + + template ::value)> + FMT_CONSTEXPR FMT_INLINE auto map(const T& named_arg) + -> decltype(std::declval().map(named_arg.value)) { + return map(named_arg.value); + } + + auto map(...) -> unformattable { return {}; } +}; + +// A type constant after applying arg_mapper. +template +using mapped_type_constant = + type_constant().map(std::declval())), + typename Context::char_type>; + +enum { packed_arg_bits = 4 }; +// Maximum number of arguments with packed types. +enum { max_packed_args = 62 / packed_arg_bits }; +enum : unsigned long long { is_unpacked_bit = 1ULL << 63 }; +enum : unsigned long long { has_named_args_bit = 1ULL << 62 }; + +FMT_END_DETAIL_NAMESPACE + +// An output iterator that appends to a buffer. +// It is used to reduce symbol sizes for the common case. +class appender : public std::back_insert_iterator> { + using base = std::back_insert_iterator>; + + template + friend auto get_buffer(appender out) -> detail::buffer& { + return detail::get_container(out); + } + + public: + using std::back_insert_iterator>::back_insert_iterator; + appender(base it) : base(it) {} + using _Unchecked_type = appender; // Mark iterator as checked. + + auto operator++() -> appender& { + base::operator++(); + return *this; + } + + auto operator++(int) -> appender { + auto tmp = *this; + ++*this; + return tmp; + } +}; + +// A formatting argument. It is a trivially copyable/constructible type to +// allow storage in basic_memory_buffer. +template class basic_format_arg { + private: + detail::value value_; + detail::type type_; + + template + friend FMT_CONSTEXPR auto detail::make_arg(const T& value) + -> basic_format_arg; + + template + friend FMT_CONSTEXPR auto visit_format_arg(Visitor&& vis, + const basic_format_arg& arg) + -> decltype(vis(0)); + + friend class basic_format_args; + friend class dynamic_format_arg_store; + + using char_type = typename Context::char_type; + + template + friend struct detail::arg_data; + + basic_format_arg(const detail::named_arg_info* args, size_t size) + : value_(args, size) {} + + public: + class handle { + public: + explicit handle(detail::custom_value custom) : custom_(custom) {} + + void format(typename Context::parse_context_type& parse_ctx, + Context& ctx) const { + custom_.format(custom_.value, parse_ctx, ctx); + } + + private: + detail::custom_value custom_; + }; + + constexpr basic_format_arg() : type_(detail::type::none_type) {} + + constexpr explicit operator bool() const FMT_NOEXCEPT { + return type_ != detail::type::none_type; + } + + auto type() const -> detail::type { return type_; } + + auto is_integral() const -> bool { return detail::is_integral_type(type_); } + auto is_arithmetic() const -> bool { + return detail::is_arithmetic_type(type_); + } +}; + +/** + \rst + Visits an argument dispatching to the appropriate visit method based on + the argument type. For example, if the argument type is ``double`` then + ``vis(value)`` will be called with the value of type ``double``. + \endrst + */ +template +FMT_CONSTEXPR FMT_INLINE auto visit_format_arg( + Visitor&& vis, const basic_format_arg& arg) -> decltype(vis(0)) { + switch (arg.type_) { + case detail::type::none_type: + break; + case detail::type::int_type: + return vis(arg.value_.int_value); + case detail::type::uint_type: + return vis(arg.value_.uint_value); + case detail::type::long_long_type: + return vis(arg.value_.long_long_value); + case detail::type::ulong_long_type: + return vis(arg.value_.ulong_long_value); + case detail::type::int128_type: + return vis(detail::convert_for_visit(arg.value_.int128_value)); + case detail::type::uint128_type: + return vis(detail::convert_for_visit(arg.value_.uint128_value)); + case detail::type::bool_type: + return vis(arg.value_.bool_value); + case detail::type::char_type: + return vis(arg.value_.char_value); + case detail::type::float_type: + return vis(arg.value_.float_value); + case detail::type::double_type: + return vis(arg.value_.double_value); + case detail::type::long_double_type: + return vis(arg.value_.long_double_value); + case detail::type::cstring_type: + return vis(arg.value_.string.data); + case detail::type::string_type: + using sv = basic_string_view; + return vis(sv(arg.value_.string.data, arg.value_.string.size)); + case detail::type::pointer_type: + return vis(arg.value_.pointer); + case detail::type::custom_type: + return vis(typename basic_format_arg::handle(arg.value_.custom)); + } + return vis(monostate()); +} + +FMT_BEGIN_DETAIL_NAMESPACE + +template +auto copy_str(InputIt begin, InputIt end, appender out) -> appender { + get_container(out).append(begin, end); + return out; +} + +#if FMT_GCC_VERSION && FMT_GCC_VERSION < 500 +// A workaround for gcc 4.8 to make void_t work in a SFINAE context. +template struct void_t_impl { using type = void; }; +template +using void_t = typename detail::void_t_impl::type; +#else +template using void_t = void; +#endif + +template +struct is_output_iterator : std::false_type {}; + +template +struct is_output_iterator< + It, T, + void_t::iterator_category, + decltype(*std::declval() = std::declval())>> + : std::true_type {}; + +template +struct is_back_insert_iterator : std::false_type {}; +template +struct is_back_insert_iterator> + : std::true_type {}; + +template +struct is_contiguous_back_insert_iterator : std::false_type {}; +template +struct is_contiguous_back_insert_iterator> + : is_contiguous {}; +template <> +struct is_contiguous_back_insert_iterator : std::true_type {}; + +// A type-erased reference to an std::locale to avoid heavy include. +class locale_ref { + private: + const void* locale_; // A type-erased pointer to std::locale. + + public: + constexpr locale_ref() : locale_(nullptr) {} + template explicit locale_ref(const Locale& loc); + + explicit operator bool() const FMT_NOEXCEPT { return locale_ != nullptr; } + + template auto get() const -> Locale; +}; + +template constexpr auto encode_types() -> unsigned long long { + return 0; +} + +template +constexpr auto encode_types() -> unsigned long long { + return static_cast(mapped_type_constant::value) | + (encode_types() << packed_arg_bits); +} + +template +FMT_CONSTEXPR auto make_arg(const T& value) -> basic_format_arg { + basic_format_arg arg; + arg.type_ = mapped_type_constant::value; + arg.value_ = arg_mapper().map(value); + return arg; +} + +// The type template parameter is there to avoid an ODR violation when using +// a fallback formatter in one translation unit and an implicit conversion in +// another (not recommended). +template +FMT_CONSTEXPR FMT_INLINE auto make_arg(const T& val) -> value { + const auto& arg = arg_mapper().map(val); + static_assert( + !std::is_same::value, + "Cannot format an argument. To make type T formattable provide a " + "formatter specialization: https://fmt.dev/latest/api.html#udt"); + return {arg}; +} + +template +inline auto make_arg(const T& value) -> basic_format_arg { + return make_arg(value); +} +FMT_END_DETAIL_NAMESPACE + +// Formatting context. +template class basic_format_context { + public: + /** The character type for the output. */ + using char_type = Char; + + private: + OutputIt out_; + basic_format_args args_; + detail::locale_ref loc_; + + public: + using iterator = OutputIt; + using format_arg = basic_format_arg; + using parse_context_type = basic_format_parse_context; + template using formatter_type = formatter; + + basic_format_context(basic_format_context&&) = default; + basic_format_context(const basic_format_context&) = delete; + void operator=(const basic_format_context&) = delete; + /** + Constructs a ``basic_format_context`` object. References to the arguments are + stored in the object so make sure they have appropriate lifetimes. + */ + constexpr basic_format_context( + OutputIt out, basic_format_args ctx_args, + detail::locale_ref loc = detail::locale_ref()) + : out_(out), args_(ctx_args), loc_(loc) {} + + constexpr auto arg(int id) const -> format_arg { return args_.get(id); } + FMT_CONSTEXPR auto arg(basic_string_view name) -> format_arg { + return args_.get(name); + } + FMT_CONSTEXPR auto arg_id(basic_string_view name) -> int { + return args_.get_id(name); + } + auto args() const -> const basic_format_args& { + return args_; + } + + FMT_CONSTEXPR auto error_handler() -> detail::error_handler { return {}; } + void on_error(const char* message) { error_handler().on_error(message); } + + // Returns an iterator to the beginning of the output range. + FMT_CONSTEXPR auto out() -> iterator { return out_; } + + // Advances the begin iterator to ``it``. + void advance_to(iterator it) { + if (!detail::is_back_insert_iterator()) out_ = it; + } + + FMT_CONSTEXPR auto locale() -> detail::locale_ref { return loc_; } +}; + +template +using buffer_context = + basic_format_context, Char>; +using format_context = buffer_context; + +// Workaround an alias issue: https://stackoverflow.com/q/62767544/471164. +#define FMT_BUFFER_CONTEXT(Char) \ + basic_format_context, Char> + +template +using is_formattable = bool_constant< + !std::is_same>().map( + std::declval())), + detail::unformattable>::value && + !detail::has_fallback_formatter::value>; + +/** + \rst + An array of references to arguments. It can be implicitly converted into + `~fmt::basic_format_args` for passing into type-erased formatting functions + such as `~fmt::vformat`. + \endrst + */ +template +class format_arg_store +#if FMT_GCC_VERSION && FMT_GCC_VERSION < 409 + // Workaround a GCC template argument substitution bug. + : public basic_format_args +#endif +{ + private: + static const size_t num_args = sizeof...(Args); + static const size_t num_named_args = detail::count_named_args(); + static const bool is_packed = num_args <= detail::max_packed_args; + + using value_type = conditional_t, + basic_format_arg>; + + detail::arg_data + data_; + + friend class basic_format_args; + + static constexpr unsigned long long desc = + (is_packed ? detail::encode_types() + : detail::is_unpacked_bit | num_args) | + (num_named_args != 0 + ? static_cast(detail::has_named_args_bit) + : 0); + + public: + FMT_CONSTEXPR FMT_INLINE format_arg_store(const Args&... args) + : +#if FMT_GCC_VERSION && FMT_GCC_VERSION < 409 + basic_format_args(*this), +#endif + data_{detail::make_arg< + is_packed, Context, + detail::mapped_type_constant::value>(args)...} { + detail::init_named_args(data_.named_args(), 0, 0, args...); + } +}; + +/** + \rst + Constructs a `~fmt::format_arg_store` object that contains references to + arguments and can be implicitly converted to `~fmt::format_args`. `Context` + can be omitted in which case it defaults to `~fmt::context`. + See `~fmt::arg` for lifetime considerations. + \endrst + */ +template +constexpr auto make_format_args(const Args&... args) + -> format_arg_store { + return {args...}; +} + +/** + \rst + Returns a named argument to be used in a formatting function. + It should only be used in a call to a formatting function or + `dynamic_format_arg_store::push_back`. + + **Example**:: + + fmt::print("Elapsed time: {s:.2f} seconds", fmt::arg("s", 1.23)); + \endrst + */ +template +inline auto arg(const Char* name, const T& arg) -> detail::named_arg { + static_assert(!detail::is_named_arg(), "nested named arguments"); + return {name, arg}; +} + +/** + \rst + A view of a collection of formatting arguments. To avoid lifetime issues it + should only be used as a parameter type in type-erased functions such as + ``vformat``:: + + void vlog(string_view format_str, format_args args); // OK + format_args args = make_format_args(42); // Error: dangling reference + \endrst + */ +template class basic_format_args { + public: + using size_type = int; + using format_arg = basic_format_arg; + + private: + // A descriptor that contains information about formatting arguments. + // If the number of arguments is less or equal to max_packed_args then + // argument types are passed in the descriptor. This reduces binary code size + // per formatting function call. + unsigned long long desc_; + union { + // If is_packed() returns true then argument values are stored in values_; + // otherwise they are stored in args_. This is done to improve cache + // locality and reduce compiled code size since storing larger objects + // may require more code (at least on x86-64) even if the same amount of + // data is actually copied to stack. It saves ~10% on the bloat test. + const detail::value* values_; + const format_arg* args_; + }; + + constexpr auto is_packed() const -> bool { + return (desc_ & detail::is_unpacked_bit) == 0; + } + auto has_named_args() const -> bool { + return (desc_ & detail::has_named_args_bit) != 0; + } + + FMT_CONSTEXPR auto type(int index) const -> detail::type { + int shift = index * detail::packed_arg_bits; + unsigned int mask = (1 << detail::packed_arg_bits) - 1; + return static_cast((desc_ >> shift) & mask); + } + + constexpr FMT_INLINE basic_format_args(unsigned long long desc, + const detail::value* values) + : desc_(desc), values_(values) {} + constexpr basic_format_args(unsigned long long desc, const format_arg* args) + : desc_(desc), args_(args) {} + + public: + constexpr basic_format_args() : desc_(0), args_(nullptr) {} + + /** + \rst + Constructs a `basic_format_args` object from `~fmt::format_arg_store`. + \endrst + */ + template + constexpr FMT_INLINE basic_format_args( + const format_arg_store& store) + : basic_format_args(format_arg_store::desc, + store.data_.args()) {} + + /** + \rst + Constructs a `basic_format_args` object from + `~fmt::dynamic_format_arg_store`. + \endrst + */ + constexpr FMT_INLINE basic_format_args( + const dynamic_format_arg_store& store) + : basic_format_args(store.get_types(), store.data()) {} + + /** + \rst + Constructs a `basic_format_args` object from a dynamic set of arguments. + \endrst + */ + constexpr basic_format_args(const format_arg* args, int count) + : basic_format_args(detail::is_unpacked_bit | detail::to_unsigned(count), + args) {} + + /** Returns the argument with the specified id. */ + FMT_CONSTEXPR auto get(int id) const -> format_arg { + format_arg arg; + if (!is_packed()) { + if (id < max_size()) arg = args_[id]; + return arg; + } + if (id >= detail::max_packed_args) return arg; + arg.type_ = type(id); + if (arg.type_ == detail::type::none_type) return arg; + arg.value_ = values_[id]; + return arg; + } + + template + auto get(basic_string_view name) const -> format_arg { + int id = get_id(name); + return id >= 0 ? get(id) : format_arg(); + } + + template + auto get_id(basic_string_view name) const -> int { + if (!has_named_args()) return -1; + const auto& named_args = + (is_packed() ? values_[-1] : args_[-1].value_).named_args; + for (size_t i = 0; i < named_args.size; ++i) { + if (named_args.data[i].name == name) return named_args.data[i].id; + } + return -1; + } + + auto max_size() const -> int { + unsigned long long max_packed = detail::max_packed_args; + return static_cast(is_packed() ? max_packed + : desc_ & ~detail::is_unpacked_bit); + } +}; + +/** An alias to ``basic_format_args``. */ +// A separate type would result in shorter symbols but break ABI compatibility +// between clang and gcc on ARM (#1919). +using format_args = basic_format_args; + +// We cannot use enum classes as bit fields because of a gcc bug +// https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61414. +namespace align { +enum type { none, left, right, center, numeric }; +} +using align_t = align::type; +namespace sign { +enum type { none, minus, plus, space }; +} +using sign_t = sign::type; + +FMT_BEGIN_DETAIL_NAMESPACE + +void throw_format_error(const char* message); + +// Workaround an array initialization issue in gcc 4.8. +template struct fill_t { + private: + enum { max_size = 4 }; + Char data_[max_size] = {Char(' '), Char(0), Char(0), Char(0)}; + unsigned char size_ = 1; + + public: + FMT_CONSTEXPR void operator=(basic_string_view s) { + auto size = s.size(); + if (size > max_size) return throw_format_error("invalid fill"); + for (size_t i = 0; i < size; ++i) data_[i] = s[i]; + size_ = static_cast(size); + } + + constexpr auto size() const -> size_t { return size_; } + constexpr auto data() const -> const Char* { return data_; } + + FMT_CONSTEXPR auto operator[](size_t index) -> Char& { return data_[index]; } + FMT_CONSTEXPR auto operator[](size_t index) const -> const Char& { + return data_[index]; + } +}; +FMT_END_DETAIL_NAMESPACE + +// Format specifiers for built-in and string types. +template struct basic_format_specs { + int width; + int precision; + char type; + align_t align : 4; + sign_t sign : 3; + bool alt : 1; // Alternate form ('#'). + bool localized : 1; + detail::fill_t fill; + + constexpr basic_format_specs() + : width(0), + precision(-1), + type(0), + align(align::none), + sign(sign::none), + alt(false), + localized(false) {} +}; + +using format_specs = basic_format_specs; + +FMT_BEGIN_DETAIL_NAMESPACE + +enum class arg_id_kind { none, index, name }; + +// An argument reference. +template struct arg_ref { + FMT_CONSTEXPR arg_ref() : kind(arg_id_kind::none), val() {} + + FMT_CONSTEXPR explicit arg_ref(int index) + : kind(arg_id_kind::index), val(index) {} + FMT_CONSTEXPR explicit arg_ref(basic_string_view name) + : kind(arg_id_kind::name), val(name) {} + + FMT_CONSTEXPR auto operator=(int idx) -> arg_ref& { + kind = arg_id_kind::index; + val.index = idx; + return *this; + } + + arg_id_kind kind; + union value { + FMT_CONSTEXPR value(int id = 0) : index{id} {} + FMT_CONSTEXPR value(basic_string_view n) : name(n) {} + + int index; + basic_string_view name; + } val; +}; + +// Format specifiers with width and precision resolved at formatting rather +// than parsing time to allow re-using the same parsed specifiers with +// different sets of arguments (precompilation of format strings). +template +struct dynamic_format_specs : basic_format_specs { + arg_ref width_ref; + arg_ref precision_ref; +}; + +struct auto_id {}; + +// A format specifier handler that sets fields in basic_format_specs. +template class specs_setter { + protected: + basic_format_specs& specs_; + + public: + explicit FMT_CONSTEXPR specs_setter(basic_format_specs& specs) + : specs_(specs) {} + + FMT_CONSTEXPR specs_setter(const specs_setter& other) + : specs_(other.specs_) {} + + FMT_CONSTEXPR void on_align(align_t align) { specs_.align = align; } + FMT_CONSTEXPR void on_fill(basic_string_view fill) { + specs_.fill = fill; + } + FMT_CONSTEXPR void on_sign(sign_t s) { specs_.sign = s; } + FMT_CONSTEXPR void on_hash() { specs_.alt = true; } + FMT_CONSTEXPR void on_localized() { specs_.localized = true; } + + FMT_CONSTEXPR void on_zero() { + if (specs_.align == align::none) specs_.align = align::numeric; + specs_.fill[0] = Char('0'); + } + + FMT_CONSTEXPR void on_width(int width) { specs_.width = width; } + FMT_CONSTEXPR void on_precision(int precision) { + specs_.precision = precision; + } + FMT_CONSTEXPR void end_precision() {} + + FMT_CONSTEXPR void on_type(Char type) { + specs_.type = static_cast(type); + } +}; + +// Format spec handler that saves references to arguments representing dynamic +// width and precision to be resolved at formatting time. +template +class dynamic_specs_handler + : public specs_setter { + public: + using char_type = typename ParseContext::char_type; + + FMT_CONSTEXPR dynamic_specs_handler(dynamic_format_specs& specs, + ParseContext& ctx) + : specs_setter(specs), specs_(specs), context_(ctx) {} + + FMT_CONSTEXPR dynamic_specs_handler(const dynamic_specs_handler& other) + : specs_setter(other), + specs_(other.specs_), + context_(other.context_) {} + + template FMT_CONSTEXPR void on_dynamic_width(Id arg_id) { + specs_.width_ref = make_arg_ref(arg_id); + } + + template FMT_CONSTEXPR void on_dynamic_precision(Id arg_id) { + specs_.precision_ref = make_arg_ref(arg_id); + } + + FMT_CONSTEXPR void on_error(const char* message) { + context_.on_error(message); + } + + private: + dynamic_format_specs& specs_; + ParseContext& context_; + + using arg_ref_type = arg_ref; + + FMT_CONSTEXPR auto make_arg_ref(int arg_id) -> arg_ref_type { + context_.check_arg_id(arg_id); + return arg_ref_type(arg_id); + } + + FMT_CONSTEXPR auto make_arg_ref(auto_id) -> arg_ref_type { + return arg_ref_type(context_.next_arg_id()); + } + + FMT_CONSTEXPR auto make_arg_ref(basic_string_view arg_id) + -> arg_ref_type { + context_.check_arg_id(arg_id); + basic_string_view format_str( + context_.begin(), to_unsigned(context_.end() - context_.begin())); + return arg_ref_type(arg_id); + } +}; + +template constexpr bool is_ascii_letter(Char c) { + return (c >= 'a' && c <= 'z') || (c >= 'A' && c <= 'Z'); +} + +// Converts a character to ASCII. Returns a number > 127 on conversion failure. +template ::value)> +constexpr auto to_ascii(Char value) -> Char { + return value; +} +template ::value)> +constexpr auto to_ascii(Char value) -> + typename std::underlying_type::type { + return value; +} + +template +FMT_CONSTEXPR auto code_point_length(const Char* begin) -> int { + if (const_check(sizeof(Char) != 1)) return 1; + constexpr char lengths[] = {1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, + 0, 0, 0, 0, 0, 0, 0, 0, 2, 2, 2, 2, 3, 3, 4, 0}; + int len = lengths[static_cast(*begin) >> 3]; + + // Compute the pointer to the next character early so that the next + // iteration can start working on the next character. Neither Clang + // nor GCC figure out this reordering on their own. + return len + !len; +} + +// Return the result via the out param to workaround gcc bug 77539. +template +FMT_CONSTEXPR auto find(Ptr first, Ptr last, T value, Ptr& out) -> bool { + for (out = first; out != last; ++out) { + if (*out == value) return true; + } + return false; +} + +template <> +inline auto find(const char* first, const char* last, char value, + const char*& out) -> bool { + out = static_cast( + std::memchr(first, value, to_unsigned(last - first))); + return out != nullptr; +} + +// Parses the range [begin, end) as an unsigned integer. This function assumes +// that the range is non-empty and the first character is a digit. +template +FMT_CONSTEXPR auto parse_nonnegative_int(const Char*& begin, const Char* end, + int error_value) noexcept -> int { + FMT_ASSERT(begin != end && '0' <= *begin && *begin <= '9', ""); + unsigned value = 0, prev = 0; + auto p = begin; + do { + prev = value; + value = value * 10 + unsigned(*p - '0'); + ++p; + } while (p != end && '0' <= *p && *p <= '9'); + auto num_digits = p - begin; + begin = p; + if (num_digits <= std::numeric_limits::digits10) + return static_cast(value); + // Check for overflow. + const unsigned max = to_unsigned((std::numeric_limits::max)()); + return num_digits == std::numeric_limits::digits10 + 1 && + prev * 10ull + unsigned(p[-1] - '0') <= max + ? static_cast(value) + : error_value; +} + +// Parses fill and alignment. +template +FMT_CONSTEXPR auto parse_align(const Char* begin, const Char* end, + Handler&& handler) -> const Char* { + FMT_ASSERT(begin != end, ""); + auto align = align::none; + auto p = begin + code_point_length(begin); + if (p >= end) p = begin; + for (;;) { + switch (to_ascii(*p)) { + case '<': + align = align::left; + break; + case '>': + align = align::right; + break; + case '^': + align = align::center; + break; + default: + break; + } + if (align != align::none) { + if (p != begin) { + auto c = *begin; + if (c == '{') + return handler.on_error("invalid fill character '{'"), begin; + handler.on_fill(basic_string_view(begin, to_unsigned(p - begin))); + begin = p + 1; + } else + ++begin; + handler.on_align(align); + break; + } else if (p == begin) { + break; + } + p = begin; + } + return begin; +} + +template FMT_CONSTEXPR bool is_name_start(Char c) { + return ('a' <= c && c <= 'z') || ('A' <= c && c <= 'Z') || '_' == c; +} + +template +FMT_CONSTEXPR auto do_parse_arg_id(const Char* begin, const Char* end, + IDHandler&& handler) -> const Char* { + FMT_ASSERT(begin != end, ""); + Char c = *begin; + if (c >= '0' && c <= '9') { + int index = 0; + if (c != '0') + index = + parse_nonnegative_int(begin, end, (std::numeric_limits::max)()); + else + ++begin; + if (begin == end || (*begin != '}' && *begin != ':')) + handler.on_error("invalid format string"); + else + handler(index); + return begin; + } + if (!is_name_start(c)) { + handler.on_error("invalid format string"); + return begin; + } + auto it = begin; + do { + ++it; + } while (it != end && (is_name_start(c = *it) || ('0' <= c && c <= '9'))); + handler(basic_string_view(begin, to_unsigned(it - begin))); + return it; +} + +template +FMT_CONSTEXPR FMT_INLINE auto parse_arg_id(const Char* begin, const Char* end, + IDHandler&& handler) -> const Char* { + Char c = *begin; + if (c != '}' && c != ':') return do_parse_arg_id(begin, end, handler); + handler(); + return begin; +} + +template +FMT_CONSTEXPR auto parse_width(const Char* begin, const Char* end, + Handler&& handler) -> const Char* { + using detail::auto_id; + struct width_adapter { + Handler& handler; + + FMT_CONSTEXPR void operator()() { handler.on_dynamic_width(auto_id()); } + FMT_CONSTEXPR void operator()(int id) { handler.on_dynamic_width(id); } + FMT_CONSTEXPR void operator()(basic_string_view id) { + handler.on_dynamic_width(id); + } + FMT_CONSTEXPR void on_error(const char* message) { + if (message) handler.on_error(message); + } + }; + + FMT_ASSERT(begin != end, ""); + if ('0' <= *begin && *begin <= '9') { + int width = parse_nonnegative_int(begin, end, -1); + if (width != -1) + handler.on_width(width); + else + handler.on_error("number is too big"); + } else if (*begin == '{') { + ++begin; + if (begin != end) begin = parse_arg_id(begin, end, width_adapter{handler}); + if (begin == end || *begin != '}') + return handler.on_error("invalid format string"), begin; + ++begin; + } + return begin; +} + +template +FMT_CONSTEXPR auto parse_precision(const Char* begin, const Char* end, + Handler&& handler) -> const Char* { + using detail::auto_id; + struct precision_adapter { + Handler& handler; + + FMT_CONSTEXPR void operator()() { handler.on_dynamic_precision(auto_id()); } + FMT_CONSTEXPR void operator()(int id) { handler.on_dynamic_precision(id); } + FMT_CONSTEXPR void operator()(basic_string_view id) { + handler.on_dynamic_precision(id); + } + FMT_CONSTEXPR void on_error(const char* message) { + if (message) handler.on_error(message); + } + }; + + ++begin; + auto c = begin != end ? *begin : Char(); + if ('0' <= c && c <= '9') { + auto precision = parse_nonnegative_int(begin, end, -1); + if (precision != -1) + handler.on_precision(precision); + else + handler.on_error("number is too big"); + } else if (c == '{') { + ++begin; + if (begin != end) + begin = parse_arg_id(begin, end, precision_adapter{handler}); + if (begin == end || *begin++ != '}') + return handler.on_error("invalid format string"), begin; + } else { + return handler.on_error("missing precision specifier"), begin; + } + handler.end_precision(); + return begin; +} + +// Parses standard format specifiers and sends notifications about parsed +// components to handler. +template +FMT_CONSTEXPR FMT_INLINE auto parse_format_specs(const Char* begin, + const Char* end, + SpecHandler&& handler) + -> const Char* { + if (begin + 1 < end && begin[1] == '}' && is_ascii_letter(*begin) && + *begin != 'L') { + handler.on_type(*begin++); + return begin; + } + + if (begin == end) return begin; + + begin = parse_align(begin, end, handler); + if (begin == end) return begin; + + // Parse sign. + switch (to_ascii(*begin)) { + case '+': + handler.on_sign(sign::plus); + ++begin; + break; + case '-': + handler.on_sign(sign::minus); + ++begin; + break; + case ' ': + handler.on_sign(sign::space); + ++begin; + break; + default: + break; + } + if (begin == end) return begin; + + if (*begin == '#') { + handler.on_hash(); + if (++begin == end) return begin; + } + + // Parse zero flag. + if (*begin == '0') { + handler.on_zero(); + if (++begin == end) return begin; + } + + begin = parse_width(begin, end, handler); + if (begin == end) return begin; + + // Parse precision. + if (*begin == '.') { + begin = parse_precision(begin, end, handler); + if (begin == end) return begin; + } + + if (*begin == 'L') { + handler.on_localized(); + ++begin; + } + + // Parse type. + if (begin != end && *begin != '}') handler.on_type(*begin++); + return begin; +} + +template +FMT_CONSTEXPR auto parse_replacement_field(const Char* begin, const Char* end, + Handler&& handler) -> const Char* { + struct id_adapter { + Handler& handler; + int arg_id; + + FMT_CONSTEXPR void operator()() { arg_id = handler.on_arg_id(); } + FMT_CONSTEXPR void operator()(int id) { arg_id = handler.on_arg_id(id); } + FMT_CONSTEXPR void operator()(basic_string_view id) { + arg_id = handler.on_arg_id(id); + } + FMT_CONSTEXPR void on_error(const char* message) { + if (message) handler.on_error(message); + } + }; + + ++begin; + if (begin == end) return handler.on_error("invalid format string"), end; + if (*begin == '}') { + handler.on_replacement_field(handler.on_arg_id(), begin); + } else if (*begin == '{') { + handler.on_text(begin, begin + 1); + } else { + auto adapter = id_adapter{handler, 0}; + begin = parse_arg_id(begin, end, adapter); + Char c = begin != end ? *begin : Char(); + if (c == '}') { + handler.on_replacement_field(adapter.arg_id, begin); + } else if (c == ':') { + begin = handler.on_format_specs(adapter.arg_id, begin + 1, end); + if (begin == end || *begin != '}') + return handler.on_error("unknown format specifier"), end; + } else { + return handler.on_error("missing '}' in format string"), end; + } + } + return begin + 1; +} + +template +FMT_CONSTEXPR FMT_INLINE void parse_format_string( + basic_string_view format_str, Handler&& handler) { + // this is most likely a name-lookup defect in msvc's modules implementation + using detail::find; + + auto begin = format_str.data(); + auto end = begin + format_str.size(); + if (end - begin < 32) { + // Use a simple loop instead of memchr for small strings. + const Char* p = begin; + while (p != end) { + auto c = *p++; + if (c == '{') { + handler.on_text(begin, p - 1); + begin = p = parse_replacement_field(p - 1, end, handler); + } else if (c == '}') { + if (p == end || *p != '}') + return handler.on_error("unmatched '}' in format string"); + handler.on_text(begin, p); + begin = ++p; + } + } + handler.on_text(begin, end); + return; + } + struct writer { + FMT_CONSTEXPR void operator()(const Char* pbegin, const Char* pend) { + if (pbegin == pend) return; + for (;;) { + const Char* p = nullptr; + if (!find(pbegin, pend, Char('}'), p)) + return handler_.on_text(pbegin, pend); + ++p; + if (p == pend || *p != '}') + return handler_.on_error("unmatched '}' in format string"); + handler_.on_text(pbegin, p); + pbegin = p + 1; + } + } + Handler& handler_; + } write{handler}; + while (begin != end) { + // Doing two passes with memchr (one for '{' and another for '}') is up to + // 2.5x faster than the naive one-pass implementation on big format strings. + const Char* p = begin; + if (*begin != '{' && !find(begin + 1, end, Char('{'), p)) + return write(begin, end); + write(begin, p); + begin = parse_replacement_field(p, end, handler); + } +} + +template +FMT_CONSTEXPR auto parse_format_specs(ParseContext& ctx) + -> decltype(ctx.begin()) { + using char_type = typename ParseContext::char_type; + using context = buffer_context; + using mapped_type = conditional_t< + mapped_type_constant::value != type::custom_type, + decltype(arg_mapper().map(std::declval())), T>; + auto f = conditional_t::value, + formatter, + fallback_formatter>(); + return f.parse(ctx); +} + +// A parse context with extra argument id checks. It is only used at compile +// time because adding checks at runtime would introduce substantial overhead +// and would be redundant since argument ids are checked when arguments are +// retrieved anyway. +template +class compile_parse_context + : public basic_format_parse_context { + private: + int num_args_; + using base = basic_format_parse_context; + + public: + explicit FMT_CONSTEXPR compile_parse_context( + basic_string_view format_str, + int num_args = (std::numeric_limits::max)(), ErrorHandler eh = {}) + : base(format_str, eh), num_args_(num_args) {} + + FMT_CONSTEXPR auto next_arg_id() -> int { + int id = base::next_arg_id(); + if (id >= num_args_) this->on_error("argument not found"); + return id; + } + + FMT_CONSTEXPR void check_arg_id(int id) { + base::check_arg_id(id); + if (id >= num_args_) this->on_error("argument not found"); + } + using base::check_arg_id; +}; + +template +FMT_CONSTEXPR void check_int_type_spec(char spec, ErrorHandler&& eh) { + switch (spec) { + case 0: + case 'd': + case 'x': + case 'X': + case 'b': + case 'B': + case 'o': + case 'c': + break; + default: + eh.on_error("invalid type specifier"); + break; + } +} + +// Checks char specs and returns true if the type spec is char (and not int). +template +FMT_CONSTEXPR auto check_char_specs(const basic_format_specs& specs, + ErrorHandler&& eh = {}) -> bool { + if (specs.type && specs.type != 'c') { + check_int_type_spec(specs.type, eh); + return false; + } + if (specs.align == align::numeric || specs.sign != sign::none || specs.alt) + eh.on_error("invalid format specifier for char"); + return true; +} + +// A floating-point presentation format. +enum class float_format : unsigned char { + general, // General: exponent notation or fixed point based on magnitude. + exp, // Exponent notation with the default precision of 6, e.g. 1.2e-3. + fixed, // Fixed point with the default precision of 6, e.g. 0.0012. + hex +}; + +struct float_specs { + int precision; + float_format format : 8; + sign_t sign : 8; + bool upper : 1; + bool locale : 1; + bool binary32 : 1; + bool use_grisu : 1; + bool showpoint : 1; +}; + +template +FMT_CONSTEXPR auto parse_float_type_spec(const basic_format_specs& specs, + ErrorHandler&& eh = {}) + -> float_specs { + auto result = float_specs(); + result.showpoint = specs.alt; + result.locale = specs.localized; + switch (specs.type) { + case 0: + result.format = float_format::general; + break; + case 'G': + result.upper = true; + FMT_FALLTHROUGH; + case 'g': + result.format = float_format::general; + break; + case 'E': + result.upper = true; + FMT_FALLTHROUGH; + case 'e': + result.format = float_format::exp; + result.showpoint |= specs.precision != 0; + break; + case 'F': + result.upper = true; + FMT_FALLTHROUGH; + case 'f': + result.format = float_format::fixed; + result.showpoint |= specs.precision != 0; + break; + case 'A': + result.upper = true; + FMT_FALLTHROUGH; + case 'a': + result.format = float_format::hex; + break; + default: + eh.on_error("invalid type specifier"); + break; + } + return result; +} + +template +FMT_CONSTEXPR auto check_cstring_type_spec(Char spec, ErrorHandler&& eh = {}) + -> bool { + if (spec == 0 || spec == 's') return true; + if (spec != 'p') eh.on_error("invalid type specifier"); + return false; +} + +template +FMT_CONSTEXPR void check_string_type_spec(Char spec, ErrorHandler&& eh = {}) { + if (spec != 0 && spec != 's') eh.on_error("invalid type specifier"); +} + +template +FMT_CONSTEXPR void check_pointer_type_spec(Char spec, ErrorHandler&& eh) { + if (spec != 0 && spec != 'p') eh.on_error("invalid type specifier"); +} + +// A parse_format_specs handler that checks if specifiers are consistent with +// the argument type. +template class specs_checker : public Handler { + private: + detail::type arg_type_; + + FMT_CONSTEXPR void require_numeric_argument() { + if (!is_arithmetic_type(arg_type_)) + this->on_error("format specifier requires numeric argument"); + } + + public: + FMT_CONSTEXPR specs_checker(const Handler& handler, detail::type arg_type) + : Handler(handler), arg_type_(arg_type) {} + + FMT_CONSTEXPR void on_align(align_t align) { + if (align == align::numeric) require_numeric_argument(); + Handler::on_align(align); + } + + FMT_CONSTEXPR void on_sign(sign_t s) { + require_numeric_argument(); + if (is_integral_type(arg_type_) && arg_type_ != type::int_type && + arg_type_ != type::long_long_type && arg_type_ != type::char_type) { + this->on_error("format specifier requires signed argument"); + } + Handler::on_sign(s); + } + + FMT_CONSTEXPR void on_hash() { + require_numeric_argument(); + Handler::on_hash(); + } + + FMT_CONSTEXPR void on_localized() { + require_numeric_argument(); + Handler::on_localized(); + } + + FMT_CONSTEXPR void on_zero() { + require_numeric_argument(); + Handler::on_zero(); + } + + FMT_CONSTEXPR void end_precision() { + if (is_integral_type(arg_type_) || arg_type_ == type::pointer_type) + this->on_error("precision not allowed for this argument type"); + } +}; + +constexpr int invalid_arg_index = -1; + +#if FMT_USE_NONTYPE_TEMPLATE_PARAMETERS +template +constexpr auto get_arg_index_by_name(basic_string_view name) -> int { + if constexpr (detail::is_statically_named_arg()) { + if (name == T::name) return N; + } + if constexpr (sizeof...(Args) > 0) { + return get_arg_index_by_name(name); + } else { + (void)name; // Workaround an MSVC bug about "unused" parameter. + return invalid_arg_index; + } +} +#endif + +template +FMT_CONSTEXPR auto get_arg_index_by_name(basic_string_view name) -> int { +#if FMT_USE_NONTYPE_TEMPLATE_PARAMETERS + if constexpr (sizeof...(Args) > 0) { + return get_arg_index_by_name<0, Args...>(name); + } else { + (void)name; + return invalid_arg_index; + } +#else + (void)name; + return invalid_arg_index; +#endif +} + +template +class format_string_checker { + private: + using parse_context_type = compile_parse_context; + enum { num_args = sizeof...(Args) }; + + // Format specifier parsing function. + using parse_func = const Char* (*)(parse_context_type&); + + parse_context_type context_; + parse_func parse_funcs_[num_args > 0 ? num_args : 1]; + + public: + explicit FMT_CONSTEXPR format_string_checker( + basic_string_view format_str, ErrorHandler eh) + : context_(format_str, num_args, eh), + parse_funcs_{&parse_format_specs...} {} + + FMT_CONSTEXPR void on_text(const Char*, const Char*) {} + + FMT_CONSTEXPR auto on_arg_id() -> int { return context_.next_arg_id(); } + FMT_CONSTEXPR auto on_arg_id(int id) -> int { + return context_.check_arg_id(id), id; + } + FMT_CONSTEXPR auto on_arg_id(basic_string_view id) -> int { +#if FMT_USE_NONTYPE_TEMPLATE_PARAMETERS + auto index = get_arg_index_by_name(id); + if (index == invalid_arg_index) on_error("named argument is not found"); + return context_.check_arg_id(index), index; +#else + (void)id; + on_error("compile-time checks for named arguments require C++20 support"); + return 0; +#endif + } + + FMT_CONSTEXPR void on_replacement_field(int, const Char*) {} + + FMT_CONSTEXPR auto on_format_specs(int id, const Char* begin, const Char*) + -> const Char* { + context_.advance_to(context_.begin() + (begin - &*context_.begin())); + // id >= 0 check is a workaround for gcc 10 bug (#2065). + return id >= 0 && id < num_args ? parse_funcs_[id](context_) : begin; + } + + FMT_CONSTEXPR void on_error(const char* message) { + context_.on_error(message); + } +}; + +template ::value), int>> +void check_format_string(S format_str) { + FMT_CONSTEXPR auto s = to_string_view(format_str); + using checker = format_string_checker...>; + FMT_CONSTEXPR bool invalid_format = + (parse_format_string(s, checker(s, {})), true); + ignore_unused(invalid_format); +} + +template +void vformat_to( + buffer& buf, basic_string_view fmt, + basic_format_args)> args, + locale_ref loc = {}); + +FMT_API void vprint_mojibake(std::FILE*, string_view, format_args); +#ifndef _WIN32 +inline void vprint_mojibake(std::FILE*, string_view, format_args) {} +#endif +FMT_END_DETAIL_NAMESPACE + +// A formatter specialization for the core types corresponding to detail::type +// constants. +template +struct formatter::value != + detail::type::custom_type>> { + private: + detail::dynamic_format_specs specs_; + + public: + // Parses format specifiers stopping either at the end of the range or at the + // terminating '}'. + template + FMT_CONSTEXPR auto parse(ParseContext& ctx) -> decltype(ctx.begin()) { + auto begin = ctx.begin(), end = ctx.end(); + if (begin == end) return begin; + using handler_type = detail::dynamic_specs_handler; + auto type = detail::type_constant::value; + auto checker = + detail::specs_checker(handler_type(specs_, ctx), type); + auto it = detail::parse_format_specs(begin, end, checker); + auto eh = ctx.error_handler(); + switch (type) { + case detail::type::none_type: + FMT_ASSERT(false, "invalid argument type"); + break; + case detail::type::bool_type: + if (!specs_.type || specs_.type == 's') break; + FMT_FALLTHROUGH; + case detail::type::int_type: + case detail::type::uint_type: + case detail::type::long_long_type: + case detail::type::ulong_long_type: + case detail::type::int128_type: + case detail::type::uint128_type: + detail::check_int_type_spec(specs_.type, eh); + break; + case detail::type::char_type: + detail::check_char_specs(specs_, eh); + break; + case detail::type::float_type: + if (detail::const_check(FMT_USE_FLOAT)) + detail::parse_float_type_spec(specs_, eh); + else + FMT_ASSERT(false, "float support disabled"); + break; + case detail::type::double_type: + if (detail::const_check(FMT_USE_DOUBLE)) + detail::parse_float_type_spec(specs_, eh); + else + FMT_ASSERT(false, "double support disabled"); + break; + case detail::type::long_double_type: + if (detail::const_check(FMT_USE_LONG_DOUBLE)) + detail::parse_float_type_spec(specs_, eh); + else + FMT_ASSERT(false, "long double support disabled"); + break; + case detail::type::cstring_type: + detail::check_cstring_type_spec(specs_.type, eh); + break; + case detail::type::string_type: + detail::check_string_type_spec(specs_.type, eh); + break; + case detail::type::pointer_type: + detail::check_pointer_type_spec(specs_.type, eh); + break; + case detail::type::custom_type: + // Custom format specifiers are checked in parse functions of + // formatter specializations. + break; + } + return it; + } + + template + FMT_CONSTEXPR auto format(const T& val, FormatContext& ctx) const + -> decltype(ctx.out()); +}; + +template struct basic_runtime { basic_string_view str; }; + +template class basic_format_string { + private: + basic_string_view str_; + + public: + template >::value)> + FMT_CONSTEVAL basic_format_string(const S& s) : str_(s) { + static_assert( + detail::count< + (std::is_base_of>::value && + std::is_reference::value)...>() == 0, + "passing views as lvalues is disallowed"); +#ifdef FMT_HAS_CONSTEVAL + if constexpr (detail::count_named_args() == 0) { + using checker = detail::format_string_checker...>; + detail::parse_format_string(str_, checker(s, {})); + } +#else + detail::check_format_string(s); +#endif + } + basic_format_string(basic_runtime r) : str_(r.str) {} + + FMT_INLINE operator basic_string_view() const { return str_; } +}; + +#if FMT_GCC_VERSION && FMT_GCC_VERSION < 409 +// Workaround broken conversion on older gcc. +template using format_string = string_view; +template auto runtime(const S& s) -> basic_string_view> { + return s; +} +#else +template +using format_string = basic_format_string...>; +// Creates a runtime format string. +template auto runtime(const S& s) -> basic_runtime> { + return {{s}}; +} +#endif + +FMT_API auto vformat(string_view fmt, format_args args) -> std::string; + +/** + \rst + Formats ``args`` according to specifications in ``fmt`` and returns the result + as a string. + + **Example**:: + + #include + std::string message = fmt::format("The answer is {}", 42); + \endrst +*/ +template +FMT_INLINE auto format(format_string fmt, T&&... args) -> std::string { + return vformat(fmt, fmt::make_format_args(args...)); +} + +/** Formats a string and writes the output to ``out``. */ +template ::value)> +auto vformat_to(OutputIt out, string_view fmt, format_args args) -> OutputIt { + using detail::get_buffer; + auto&& buf = get_buffer(out); + detail::vformat_to(buf, string_view(fmt), args, {}); + return detail::get_iterator(buf); +} + +/** + \rst + Formats ``args`` according to specifications in ``fmt``, writes the result to + the output iterator ``out`` and returns the iterator past the end of the output + range. + + **Example**:: + + auto out = std::vector(); + fmt::format_to(std::back_inserter(out), "{}", 42); + \endrst + */ +template ::value)> +FMT_INLINE auto format_to(OutputIt out, format_string fmt, T&&... args) + -> OutputIt { + return vformat_to(out, fmt, fmt::make_format_args(args...)); +} + +template struct format_to_n_result { + /** Iterator past the end of the output range. */ + OutputIt out; + /** Total (not truncated) output size. */ + size_t size; +}; + +template ::value)> +auto vformat_to_n(OutputIt out, size_t n, string_view fmt, format_args args) + -> format_to_n_result { + using buffer = + detail::iterator_buffer; + auto buf = buffer(out, n); + detail::vformat_to(buf, fmt, args, {}); + return {buf.out(), buf.count()}; +} + +/** + \rst + Formats ``args`` according to specifications in ``fmt``, writes up to ``n`` + characters of the result to the output iterator ``out`` and returns the total + (not truncated) output size and the iterator past the end of the output range. + \endrst + */ +template ::value)> +FMT_INLINE auto format_to_n(OutputIt out, size_t n, format_string fmt, + const T&... args) -> format_to_n_result { + return vformat_to_n(out, n, fmt, fmt::make_format_args(args...)); +} + +/** Returns the number of chars in the output of ``format(fmt, args...)``. */ +template +FMT_INLINE auto formatted_size(format_string fmt, T&&... args) -> size_t { + auto buf = detail::counting_buffer<>(); + detail::vformat_to(buf, string_view(fmt), fmt::make_format_args(args...), {}); + return buf.count(); +} + +FMT_API void vprint(string_view fmt, format_args args); +FMT_API void vprint(std::FILE* f, string_view fmt, format_args args); + +/** + \rst + Formats ``args`` according to specifications in ``fmt`` and writes the output + to ``stdout``. + + **Example**:: + + fmt::print("Elapsed time: {0:.2f} seconds", 1.23); + \endrst + */ +template +FMT_INLINE void print(format_string fmt, T&&... args) { + const auto& vargs = fmt::make_format_args(args...); + return detail::is_utf8() ? vprint(fmt, vargs) + : detail::vprint_mojibake(stdout, fmt, vargs); +} + +/** + \rst + Formats ``args`` according to specifications in ``fmt`` and writes the + output to the file ``f``. + + **Example**:: + + fmt::print(stderr, "Don't {}!", "panic"); + \endrst + */ +template +FMT_INLINE void print(std::FILE* f, format_string fmt, T&&... args) { + const auto& vargs = fmt::make_format_args(args...); + return detail::is_utf8() ? vprint(f, fmt, vargs) + : detail::vprint_mojibake(f, fmt, vargs); +} + +FMT_MODULE_EXPORT_END +FMT_GCC_PRAGMA("GCC pop_options") +FMT_END_NAMESPACE + +#ifdef FMT_HEADER_ONLY +# include "format.h" +#endif +#endif // FMT_CORE_H_ diff --git a/LiteLoader/Header/third-party/FMT/format-inl.h b/LiteLoader/Header/third-party/FMT/format-inl.h new file mode 100644 index 0000000..94a36d1 --- /dev/null +++ b/LiteLoader/Header/third-party/FMT/format-inl.h @@ -0,0 +1,2620 @@ +// Formatting library for C++ - implementation +// +// Copyright (c) 2012 - 2016, Victor Zverovich +// All rights reserved. +// +// For the license information refer to format.h. + +#ifndef FMT_FORMAT_INL_H_ +#define FMT_FORMAT_INL_H_ + +#include +#include +#include // errno +#include +#include +#include +#include // std::memmove +#include +#include + +#ifndef FMT_STATIC_THOUSANDS_SEPARATOR +# include +#endif + +#ifdef _WIN32 +# include // _isatty +#endif + +#include "format.h" + +FMT_BEGIN_NAMESPACE +namespace detail { + +FMT_FUNC void assert_fail(const char* file, int line, const char* message) { + // Use unchecked std::fprintf to avoid triggering another assertion when + // writing to stderr fails + std::fprintf(stderr, "%s:%d: assertion failed: %s", file, line, message); + // Chosen instead of std::abort to satisfy Clang in CUDA mode during device + // code pass. + std::terminate(); +} + +#ifndef _MSC_VER +# define FMT_SNPRINTF snprintf +#else // _MSC_VER +inline int fmt_snprintf(char* buffer, size_t size, const char* format, ...) { + va_list args; + va_start(args, format); + int result = vsnprintf_s(buffer, size, _TRUNCATE, format, args); + va_end(args); + return result; +} +# define FMT_SNPRINTF fmt_snprintf +#endif // _MSC_VER + +FMT_FUNC void format_error_code(detail::buffer& out, int error_code, + string_view message) FMT_NOEXCEPT { + // Report error code making sure that the output fits into + // inline_buffer_size to avoid dynamic memory allocation and potential + // bad_alloc. + out.try_resize(0); + static const char SEP[] = ": "; + static const char ERROR_STR[] = "error "; + // Subtract 2 to account for terminating null characters in SEP and ERROR_STR. + size_t error_code_size = sizeof(SEP) + sizeof(ERROR_STR) - 2; + auto abs_value = static_cast>(error_code); + if (detail::is_negative(error_code)) { + abs_value = 0 - abs_value; + ++error_code_size; + } + error_code_size += detail::to_unsigned(detail::count_digits(abs_value)); + auto it = buffer_appender(out); + if (message.size() <= inline_buffer_size - error_code_size) + format_to(it, FMT_STRING("{}{}"), message, SEP); + format_to(it, FMT_STRING("{}{}"), ERROR_STR, error_code); + FMT_ASSERT(out.size() <= inline_buffer_size, ""); +} + +FMT_FUNC void report_error(format_func func, int error_code, + const char* message) FMT_NOEXCEPT { + memory_buffer full_message; + func(full_message, error_code, message); + // Don't use fwrite_fully because the latter may throw. + if (std::fwrite(full_message.data(), full_message.size(), 1, stderr) > 0) + std::fputc('\n', stderr); +} + +// A wrapper around fwrite that throws on error. +inline void fwrite_fully(const void* ptr, size_t size, size_t count, + FILE* stream) { + size_t written = std::fwrite(ptr, size, count, stream); + if (written < count) FMT_THROW(system_error(errno, "cannot write to file")); +} + +#ifndef FMT_STATIC_THOUSANDS_SEPARATOR +template +locale_ref::locale_ref(const Locale& loc) : locale_(&loc) { + static_assert(std::is_same::value, ""); +} + +template Locale locale_ref::get() const { + static_assert(std::is_same::value, ""); + return locale_ ? *static_cast(locale_) : std::locale(); +} + +template +FMT_FUNC auto thousands_sep_impl(locale_ref loc) -> thousands_sep_result { + auto& facet = std::use_facet>(loc.get()); + auto grouping = facet.grouping(); + auto thousands_sep = grouping.empty() ? Char() : facet.thousands_sep(); + return {std::move(grouping), thousands_sep}; +} +template FMT_FUNC Char decimal_point_impl(locale_ref loc) { + return std::use_facet>(loc.get()) + .decimal_point(); +} +#else +template +FMT_FUNC auto thousands_sep_impl(locale_ref) -> thousands_sep_result { + return {"\03", FMT_STATIC_THOUSANDS_SEPARATOR}; +} +template FMT_FUNC Char decimal_point_impl(locale_ref) { + return '.'; +} +#endif +} // namespace detail + +#if !FMT_MSC_VER +FMT_API FMT_FUNC format_error::~format_error() FMT_NOEXCEPT = default; +#endif + +FMT_FUNC std::system_error vsystem_error(int error_code, string_view format_str, + format_args args) { + auto ec = std::error_code(error_code, std::generic_category()); + return std::system_error(ec, vformat(format_str, args)); +} + +namespace detail { + +template <> FMT_FUNC int count_digits<4>(detail::fallback_uintptr n) { + // fallback_uintptr is always stored in little endian. + int i = static_cast(sizeof(void*)) - 1; + while (i > 0 && n.value[i] == 0) --i; + auto char_digits = std::numeric_limits::digits / 4; + return i >= 0 ? i * char_digits + count_digits<4, unsigned>(n.value[i]) : 1; +} + +#if __cplusplus < 201703L +template constexpr const char basic_data::digits[][2]; +template constexpr const char basic_data::hex_digits[]; +template constexpr const char basic_data::signs[]; +template constexpr const unsigned basic_data::prefixes[]; +template constexpr const char basic_data::left_padding_shifts[]; +template +constexpr const char basic_data::right_padding_shifts[]; +#endif + +template struct bits { + static FMT_CONSTEXPR_DECL const int value = + static_cast(sizeof(T) * std::numeric_limits::digits); +}; + +class fp; +template fp normalize(fp value); + +// Lower (upper) boundary is a value half way between a floating-point value +// and its predecessor (successor). Boundaries have the same exponent as the +// value so only significands are stored. +struct boundaries { + uint64_t lower; + uint64_t upper; +}; + +// A handmade floating-point number f * pow(2, e). +class fp { + private: + using significand_type = uint64_t; + + template + using is_supported_float = bool_constant; + + public: + significand_type f; + int e; + + // All sizes are in bits. + // Subtract 1 to account for an implicit most significant bit in the + // normalized form. + static FMT_CONSTEXPR_DECL const int double_significand_size = + std::numeric_limits::digits - 1; + static FMT_CONSTEXPR_DECL const uint64_t implicit_bit = + 1ULL << double_significand_size; + static FMT_CONSTEXPR_DECL const int significand_size = + bits::value; + + fp() : f(0), e(0) {} + fp(uint64_t f_val, int e_val) : f(f_val), e(e_val) {} + + // Constructs fp from an IEEE754 double. It is a template to prevent compile + // errors on platforms where double is not IEEE754. + template explicit fp(Double d) { assign(d); } + + // Assigns d to this and return true iff predecessor is closer than successor. + template ::value)> + bool assign(Float d) { + // Assume float is in the format [sign][exponent][significand]. + using limits = std::numeric_limits; + const int float_significand_size = limits::digits - 1; + const int exponent_size = + bits::value - float_significand_size - 1; // -1 for sign + const uint64_t float_implicit_bit = 1ULL << float_significand_size; + const uint64_t significand_mask = float_implicit_bit - 1; + const uint64_t exponent_mask = (~0ULL >> 1) & ~significand_mask; + const int exponent_bias = (1 << exponent_size) - limits::max_exponent - 1; + constexpr bool is_double = sizeof(Float) == sizeof(uint64_t); + auto u = bit_cast>(d); + f = u & significand_mask; + int biased_e = + static_cast((u & exponent_mask) >> float_significand_size); + // Predecessor is closer if d is a normalized power of 2 (f == 0) other than + // the smallest normalized number (biased_e > 1). + bool is_predecessor_closer = f == 0 && biased_e > 1; + if (biased_e != 0) + f += float_implicit_bit; + else + biased_e = 1; // Subnormals use biased exponent 1 (min exponent). + e = biased_e - exponent_bias - float_significand_size; + return is_predecessor_closer; + } + + template ::value)> + bool assign(Float) { + *this = fp(); + return false; + } +}; + +// Normalizes the value converted from double and multiplied by (1 << SHIFT). +template fp normalize(fp value) { + // Handle subnormals. + const auto shifted_implicit_bit = fp::implicit_bit << SHIFT; + while ((value.f & shifted_implicit_bit) == 0) { + value.f <<= 1; + --value.e; + } + // Subtract 1 to account for hidden bit. + const auto offset = + fp::significand_size - fp::double_significand_size - SHIFT - 1; + value.f <<= offset; + value.e -= offset; + return value; +} + +inline bool operator==(fp x, fp y) { return x.f == y.f && x.e == y.e; } + +// Computes lhs * rhs / pow(2, 64) rounded to nearest with half-up tie breaking. +inline uint64_t multiply(uint64_t lhs, uint64_t rhs) { +#if FMT_USE_INT128 + auto product = static_cast<__uint128_t>(lhs) * rhs; + auto f = static_cast(product >> 64); + return (static_cast(product) & (1ULL << 63)) != 0 ? f + 1 : f; +#else + // Multiply 32-bit parts of significands. + uint64_t mask = (1ULL << 32) - 1; + uint64_t a = lhs >> 32, b = lhs & mask; + uint64_t c = rhs >> 32, d = rhs & mask; + uint64_t ac = a * c, bc = b * c, ad = a * d, bd = b * d; + // Compute mid 64-bit of result and round. + uint64_t mid = (bd >> 32) + (ad & mask) + (bc & mask) + (1U << 31); + return ac + (ad >> 32) + (bc >> 32) + (mid >> 32); +#endif +} + +inline fp operator*(fp x, fp y) { return {multiply(x.f, y.f), x.e + y.e + 64}; } + +// Returns a cached power of 10 `c_k = c_k.f * pow(2, c_k.e)` such that its +// (binary) exponent satisfies `min_exponent <= c_k.e <= min_exponent + 28`. +inline fp get_cached_power(int min_exponent, int& pow10_exponent) { + // Normalized 64-bit significands of pow(10, k), for k = -348, -340, ..., 340. + // These are generated by support/compute-powers.py. + static constexpr const uint64_t pow10_significands[] = { + 0xfa8fd5a0081c0288, 0xbaaee17fa23ebf76, 0x8b16fb203055ac76, + 0xcf42894a5dce35ea, 0x9a6bb0aa55653b2d, 0xe61acf033d1a45df, + 0xab70fe17c79ac6ca, 0xff77b1fcbebcdc4f, 0xbe5691ef416bd60c, + 0x8dd01fad907ffc3c, 0xd3515c2831559a83, 0x9d71ac8fada6c9b5, + 0xea9c227723ee8bcb, 0xaecc49914078536d, 0x823c12795db6ce57, + 0xc21094364dfb5637, 0x9096ea6f3848984f, 0xd77485cb25823ac7, + 0xa086cfcd97bf97f4, 0xef340a98172aace5, 0xb23867fb2a35b28e, + 0x84c8d4dfd2c63f3b, 0xc5dd44271ad3cdba, 0x936b9fcebb25c996, + 0xdbac6c247d62a584, 0xa3ab66580d5fdaf6, 0xf3e2f893dec3f126, + 0xb5b5ada8aaff80b8, 0x87625f056c7c4a8b, 0xc9bcff6034c13053, + 0x964e858c91ba2655, 0xdff9772470297ebd, 0xa6dfbd9fb8e5b88f, + 0xf8a95fcf88747d94, 0xb94470938fa89bcf, 0x8a08f0f8bf0f156b, + 0xcdb02555653131b6, 0x993fe2c6d07b7fac, 0xe45c10c42a2b3b06, + 0xaa242499697392d3, 0xfd87b5f28300ca0e, 0xbce5086492111aeb, + 0x8cbccc096f5088cc, 0xd1b71758e219652c, 0x9c40000000000000, + 0xe8d4a51000000000, 0xad78ebc5ac620000, 0x813f3978f8940984, + 0xc097ce7bc90715b3, 0x8f7e32ce7bea5c70, 0xd5d238a4abe98068, + 0x9f4f2726179a2245, 0xed63a231d4c4fb27, 0xb0de65388cc8ada8, + 0x83c7088e1aab65db, 0xc45d1df942711d9a, 0x924d692ca61be758, + 0xda01ee641a708dea, 0xa26da3999aef774a, 0xf209787bb47d6b85, + 0xb454e4a179dd1877, 0x865b86925b9bc5c2, 0xc83553c5c8965d3d, + 0x952ab45cfa97a0b3, 0xde469fbd99a05fe3, 0xa59bc234db398c25, + 0xf6c69a72a3989f5c, 0xb7dcbf5354e9bece, 0x88fcf317f22241e2, + 0xcc20ce9bd35c78a5, 0x98165af37b2153df, 0xe2a0b5dc971f303a, + 0xa8d9d1535ce3b396, 0xfb9b7cd9a4a7443c, 0xbb764c4ca7a44410, + 0x8bab8eefb6409c1a, 0xd01fef10a657842c, 0x9b10a4e5e9913129, + 0xe7109bfba19c0c9d, 0xac2820d9623bf429, 0x80444b5e7aa7cf85, + 0xbf21e44003acdd2d, 0x8e679c2f5e44ff8f, 0xd433179d9c8cb841, + 0x9e19db92b4e31ba9, 0xeb96bf6ebadf77d9, 0xaf87023b9bf0ee6b, + }; + + // Binary exponents of pow(10, k), for k = -348, -340, ..., 340, corresponding + // to significands above. + static constexpr const int16_t pow10_exponents[] = { + -1220, -1193, -1166, -1140, -1113, -1087, -1060, -1034, -1007, -980, -954, + -927, -901, -874, -847, -821, -794, -768, -741, -715, -688, -661, + -635, -608, -582, -555, -529, -502, -475, -449, -422, -396, -369, + -343, -316, -289, -263, -236, -210, -183, -157, -130, -103, -77, + -50, -24, 3, 30, 56, 83, 109, 136, 162, 189, 216, + 242, 269, 295, 322, 348, 375, 402, 428, 455, 481, 508, + 534, 561, 588, 614, 641, 667, 694, 720, 747, 774, 800, + 827, 853, 880, 907, 933, 960, 986, 1013, 1039, 1066}; + + const int shift = 32; + const auto significand = static_cast(data::log10_2_significand); + int index = static_cast( + ((min_exponent + fp::significand_size - 1) * (significand >> shift) + + ((int64_t(1) << shift) - 1)) // ceil + >> 32 // arithmetic shift + ); + // Decimal exponent of the first (smallest) cached power of 10. + const int first_dec_exp = -348; + // Difference between 2 consecutive decimal exponents in cached powers of 10. + const int dec_exp_step = 8; + index = (index - first_dec_exp - 1) / dec_exp_step + 1; + pow10_exponent = first_dec_exp + index * dec_exp_step; + return {pow10_significands[index], pow10_exponents[index]}; +} + +// A simple accumulator to hold the sums of terms in bigint::square if uint128_t +// is not available. +struct accumulator { + uint64_t lower; + uint64_t upper; + + accumulator() : lower(0), upper(0) {} + explicit operator uint32_t() const { return static_cast(lower); } + + void operator+=(uint64_t n) { + lower += n; + if (lower < n) ++upper; + } + void operator>>=(int shift) { + FMT_ASSERT(shift == 32, ""); + (void)shift; + lower = (upper << 32) | (lower >> 32); + upper >>= 32; + } +}; + +class bigint { + private: + // A bigint is stored as an array of bigits (big digits), with bigit at index + // 0 being the least significant one. + using bigit = uint32_t; + using double_bigit = uint64_t; + enum { bigits_capacity = 32 }; + basic_memory_buffer bigits_; + int exp_; + + bigit operator[](int index) const { return bigits_[to_unsigned(index)]; } + bigit& operator[](int index) { return bigits_[to_unsigned(index)]; } + + static FMT_CONSTEXPR_DECL const int bigit_bits = bits::value; + + friend struct formatter; + + void subtract_bigits(int index, bigit other, bigit& borrow) { + auto result = static_cast((*this)[index]) - other - borrow; + (*this)[index] = static_cast(result); + borrow = static_cast(result >> (bigit_bits * 2 - 1)); + } + + void remove_leading_zeros() { + int num_bigits = static_cast(bigits_.size()) - 1; + while (num_bigits > 0 && (*this)[num_bigits] == 0) --num_bigits; + bigits_.resize(to_unsigned(num_bigits + 1)); + } + + // Computes *this -= other assuming aligned bigints and *this >= other. + void subtract_aligned(const bigint& other) { + FMT_ASSERT(other.exp_ >= exp_, "unaligned bigints"); + FMT_ASSERT(compare(*this, other) >= 0, ""); + bigit borrow = 0; + int i = other.exp_ - exp_; + for (size_t j = 0, n = other.bigits_.size(); j != n; ++i, ++j) + subtract_bigits(i, other.bigits_[j], borrow); + while (borrow > 0) subtract_bigits(i, 0, borrow); + remove_leading_zeros(); + } + + void multiply(uint32_t value) { + const double_bigit wide_value = value; + bigit carry = 0; + for (size_t i = 0, n = bigits_.size(); i < n; ++i) { + double_bigit result = bigits_[i] * wide_value + carry; + bigits_[i] = static_cast(result); + carry = static_cast(result >> bigit_bits); + } + if (carry != 0) bigits_.push_back(carry); + } + + void multiply(uint64_t value) { + const bigit mask = ~bigit(0); + const double_bigit lower = value & mask; + const double_bigit upper = value >> bigit_bits; + double_bigit carry = 0; + for (size_t i = 0, n = bigits_.size(); i < n; ++i) { + double_bigit result = bigits_[i] * lower + (carry & mask); + carry = + bigits_[i] * upper + (result >> bigit_bits) + (carry >> bigit_bits); + bigits_[i] = static_cast(result); + } + while (carry != 0) { + bigits_.push_back(carry & mask); + carry >>= bigit_bits; + } + } + + public: + bigint() : exp_(0) {} + explicit bigint(uint64_t n) { assign(n); } + ~bigint() { FMT_ASSERT(bigits_.capacity() <= bigits_capacity, ""); } + + bigint(const bigint&) = delete; + void operator=(const bigint&) = delete; + + void assign(const bigint& other) { + auto size = other.bigits_.size(); + bigits_.resize(size); + auto data = other.bigits_.data(); + std::copy(data, data + size, make_checked(bigits_.data(), size)); + exp_ = other.exp_; + } + + void assign(uint64_t n) { + size_t num_bigits = 0; + do { + bigits_[num_bigits++] = n & ~bigit(0); + n >>= bigit_bits; + } while (n != 0); + bigits_.resize(num_bigits); + exp_ = 0; + } + + int num_bigits() const { return static_cast(bigits_.size()) + exp_; } + + FMT_NOINLINE bigint& operator<<=(int shift) { + FMT_ASSERT(shift >= 0, ""); + exp_ += shift / bigit_bits; + shift %= bigit_bits; + if (shift == 0) return *this; + bigit carry = 0; + for (size_t i = 0, n = bigits_.size(); i < n; ++i) { + bigit c = bigits_[i] >> (bigit_bits - shift); + bigits_[i] = (bigits_[i] << shift) + carry; + carry = c; + } + if (carry != 0) bigits_.push_back(carry); + return *this; + } + + template bigint& operator*=(Int value) { + FMT_ASSERT(value > 0, ""); + multiply(uint32_or_64_or_128_t(value)); + return *this; + } + + friend int compare(const bigint& lhs, const bigint& rhs) { + int num_lhs_bigits = lhs.num_bigits(), num_rhs_bigits = rhs.num_bigits(); + if (num_lhs_bigits != num_rhs_bigits) + return num_lhs_bigits > num_rhs_bigits ? 1 : -1; + int i = static_cast(lhs.bigits_.size()) - 1; + int j = static_cast(rhs.bigits_.size()) - 1; + int end = i - j; + if (end < 0) end = 0; + for (; i >= end; --i, --j) { + bigit lhs_bigit = lhs[i], rhs_bigit = rhs[j]; + if (lhs_bigit != rhs_bigit) return lhs_bigit > rhs_bigit ? 1 : -1; + } + if (i != j) return i > j ? 1 : -1; + return 0; + } + + // Returns compare(lhs1 + lhs2, rhs). + friend int add_compare(const bigint& lhs1, const bigint& lhs2, + const bigint& rhs) { + int max_lhs_bigits = (std::max)(lhs1.num_bigits(), lhs2.num_bigits()); + int num_rhs_bigits = rhs.num_bigits(); + if (max_lhs_bigits + 1 < num_rhs_bigits) return -1; + if (max_lhs_bigits > num_rhs_bigits) return 1; + auto get_bigit = [](const bigint& n, int i) -> bigit { + return i >= n.exp_ && i < n.num_bigits() ? n[i - n.exp_] : 0; + }; + double_bigit borrow = 0; + int min_exp = (std::min)((std::min)(lhs1.exp_, lhs2.exp_), rhs.exp_); + for (int i = num_rhs_bigits - 1; i >= min_exp; --i) { + double_bigit sum = + static_cast(get_bigit(lhs1, i)) + get_bigit(lhs2, i); + bigit rhs_bigit = get_bigit(rhs, i); + if (sum > rhs_bigit + borrow) return 1; + borrow = rhs_bigit + borrow - sum; + if (borrow > 1) return -1; + borrow <<= bigit_bits; + } + return borrow != 0 ? -1 : 0; + } + + // Assigns pow(10, exp) to this bigint. + void assign_pow10(int exp) { + FMT_ASSERT(exp >= 0, ""); + if (exp == 0) return assign(1); + // Find the top bit. + int bitmask = 1; + while (exp >= bitmask) bitmask <<= 1; + bitmask >>= 1; + // pow(10, exp) = pow(5, exp) * pow(2, exp). First compute pow(5, exp) by + // repeated squaring and multiplication. + assign(5); + bitmask >>= 1; + while (bitmask != 0) { + square(); + if ((exp & bitmask) != 0) *this *= 5; + bitmask >>= 1; + } + *this <<= exp; // Multiply by pow(2, exp) by shifting. + } + + void square() { + int num_bigits = static_cast(bigits_.size()); + int num_result_bigits = 2 * num_bigits; + basic_memory_buffer n(std::move(bigits_)); + bigits_.resize(to_unsigned(num_result_bigits)); + using accumulator_t = conditional_t; + auto sum = accumulator_t(); + for (int bigit_index = 0; bigit_index < num_bigits; ++bigit_index) { + // Compute bigit at position bigit_index of the result by adding + // cross-product terms n[i] * n[j] such that i + j == bigit_index. + for (int i = 0, j = bigit_index; j >= 0; ++i, --j) { + // Most terms are multiplied twice which can be optimized in the future. + sum += static_cast(n[i]) * n[j]; + } + (*this)[bigit_index] = static_cast(sum); + sum >>= bits::value; // Compute the carry. + } + // Do the same for the top half. + for (int bigit_index = num_bigits; bigit_index < num_result_bigits; + ++bigit_index) { + for (int j = num_bigits - 1, i = bigit_index - j; i < num_bigits;) + sum += static_cast(n[i++]) * n[j--]; + (*this)[bigit_index] = static_cast(sum); + sum >>= bits::value; + } + remove_leading_zeros(); + exp_ *= 2; + } + + // If this bigint has a bigger exponent than other, adds trailing zero to make + // exponents equal. This simplifies some operations such as subtraction. + void align(const bigint& other) { + int exp_difference = exp_ - other.exp_; + if (exp_difference <= 0) return; + int num_bigits = static_cast(bigits_.size()); + bigits_.resize(to_unsigned(num_bigits + exp_difference)); + for (int i = num_bigits - 1, j = i + exp_difference; i >= 0; --i, --j) + bigits_[j] = bigits_[i]; + std::uninitialized_fill_n(bigits_.data(), exp_difference, 0); + exp_ -= exp_difference; + } + + // Divides this bignum by divisor, assigning the remainder to this and + // returning the quotient. + int divmod_assign(const bigint& divisor) { + FMT_ASSERT(this != &divisor, ""); + if (compare(*this, divisor) < 0) return 0; + FMT_ASSERT(divisor.bigits_[divisor.bigits_.size() - 1u] != 0, ""); + align(divisor); + int quotient = 0; + do { + subtract_aligned(divisor); + ++quotient; + } while (compare(*this, divisor) >= 0); + return quotient; + } +}; + +enum class round_direction { unknown, up, down }; + +// Given the divisor (normally a power of 10), the remainder = v % divisor for +// some number v and the error, returns whether v should be rounded up, down, or +// whether the rounding direction can't be determined due to error. +// error should be less than divisor / 2. +inline round_direction get_round_direction(uint64_t divisor, uint64_t remainder, + uint64_t error) { + FMT_ASSERT(remainder < divisor, ""); // divisor - remainder won't overflow. + FMT_ASSERT(error < divisor, ""); // divisor - error won't overflow. + FMT_ASSERT(error < divisor - error, ""); // error * 2 won't overflow. + // Round down if (remainder + error) * 2 <= divisor. + if (remainder <= divisor - remainder && error * 2 <= divisor - remainder * 2) + return round_direction::down; + // Round up if (remainder - error) * 2 >= divisor. + if (remainder >= error && + remainder - error >= divisor - (remainder - error)) { + return round_direction::up; + } + return round_direction::unknown; +} + +namespace digits { +enum result { + more, // Generate more digits. + done, // Done generating digits. + error // Digit generation cancelled due to an error. +}; +} + +inline uint64_t power_of_10_64(int exp) { + static constexpr const uint64_t data[] = {1, FMT_POWERS_OF_10(1), + FMT_POWERS_OF_10(1000000000ULL), + 10000000000000000000ULL}; + return data[exp]; +} + +// Generates output using the Grisu digit-gen algorithm. +// error: the size of the region (lower, upper) outside of which numbers +// definitely do not round to value (Delta in Grisu3). +template +FMT_INLINE digits::result grisu_gen_digits(fp value, uint64_t error, int& exp, + Handler& handler) { + const fp one(1ULL << -value.e, value.e); + // The integral part of scaled value (p1 in Grisu) = value / one. It cannot be + // zero because it contains a product of two 64-bit numbers with MSB set (due + // to normalization) - 1, shifted right by at most 60 bits. + auto integral = static_cast(value.f >> -one.e); + FMT_ASSERT(integral != 0, ""); + FMT_ASSERT(integral == value.f >> -one.e, ""); + // The fractional part of scaled value (p2 in Grisu) c = value % one. + uint64_t fractional = value.f & (one.f - 1); + exp = count_digits(integral); // kappa in Grisu. + // Divide by 10 to prevent overflow. + auto result = handler.on_start(power_of_10_64(exp - 1) << -one.e, + value.f / 10, error * 10, exp); + if (result != digits::more) return result; + // Generate digits for the integral part. This can produce up to 10 digits. + do { + uint32_t digit = 0; + auto divmod_integral = [&](uint32_t divisor) { + digit = integral / divisor; + integral %= divisor; + }; + // This optimization by Milo Yip reduces the number of integer divisions by + // one per iteration. + switch (exp) { + case 10: + divmod_integral(1000000000); + break; + case 9: + divmod_integral(100000000); + break; + case 8: + divmod_integral(10000000); + break; + case 7: + divmod_integral(1000000); + break; + case 6: + divmod_integral(100000); + break; + case 5: + divmod_integral(10000); + break; + case 4: + divmod_integral(1000); + break; + case 3: + divmod_integral(100); + break; + case 2: + divmod_integral(10); + break; + case 1: + digit = integral; + integral = 0; + break; + default: + FMT_ASSERT(false, "invalid number of digits"); + } + --exp; + auto remainder = (static_cast(integral) << -one.e) + fractional; + result = handler.on_digit(static_cast('0' + digit), + power_of_10_64(exp) << -one.e, remainder, error, + exp, true); + if (result != digits::more) return result; + } while (exp > 0); + // Generate digits for the fractional part. + for (;;) { + fractional *= 10; + error *= 10; + char digit = static_cast('0' + (fractional >> -one.e)); + fractional &= one.f - 1; + --exp; + result = handler.on_digit(digit, one.f, fractional, error, exp, false); + if (result != digits::more) return result; + } +} + +// The fixed precision digit handler. +struct fixed_handler { + char* buf; + int size; + int precision; + int exp10; + bool fixed; + + digits::result on_start(uint64_t divisor, uint64_t remainder, uint64_t error, + int& exp) { + // Non-fixed formats require at least one digit and no precision adjustment. + if (!fixed) return digits::more; + // Adjust fixed precision by exponent because it is relative to decimal + // point. + precision += exp + exp10; + // Check if precision is satisfied just by leading zeros, e.g. + // format("{:.2f}", 0.001) gives "0.00" without generating any digits. + if (precision > 0) return digits::more; + if (precision < 0) return digits::done; + auto dir = get_round_direction(divisor, remainder, error); + if (dir == round_direction::unknown) return digits::error; + buf[size++] = dir == round_direction::up ? '1' : '0'; + return digits::done; + } + + digits::result on_digit(char digit, uint64_t divisor, uint64_t remainder, + uint64_t error, int, bool integral) { + FMT_ASSERT(remainder < divisor, ""); + buf[size++] = digit; + if (!integral && error >= remainder) return digits::error; + if (size < precision) return digits::more; + if (!integral) { + // Check if error * 2 < divisor with overflow prevention. + // The check is not needed for the integral part because error = 1 + // and divisor > (1 << 32) there. + if (error >= divisor || error >= divisor - error) return digits::error; + } else { + FMT_ASSERT(error == 1 && divisor > 2, ""); + } + auto dir = get_round_direction(divisor, remainder, error); + if (dir != round_direction::up) + return dir == round_direction::down ? digits::done : digits::error; + ++buf[size - 1]; + for (int i = size - 1; i > 0 && buf[i] > '9'; --i) { + buf[i] = '0'; + ++buf[i - 1]; + } + if (buf[0] > '9') { + buf[0] = '1'; + if (fixed) + buf[size++] = '0'; + else + ++exp10; + } + return digits::done; + } +}; + +// A 128-bit integer type used internally, +struct uint128_wrapper { + uint128_wrapper() = default; + +#if FMT_USE_INT128 + uint128_t internal_; + + constexpr uint128_wrapper(uint64_t high, uint64_t low) FMT_NOEXCEPT + : internal_{static_cast(low) | + (static_cast(high) << 64)} {} + + constexpr uint128_wrapper(uint128_t u) : internal_{u} {} + + constexpr uint64_t high() const FMT_NOEXCEPT { + return uint64_t(internal_ >> 64); + } + constexpr uint64_t low() const FMT_NOEXCEPT { return uint64_t(internal_); } + + uint128_wrapper& operator+=(uint64_t n) FMT_NOEXCEPT { + internal_ += n; + return *this; + } +#else + uint64_t high_; + uint64_t low_; + + constexpr uint128_wrapper(uint64_t high, uint64_t low) FMT_NOEXCEPT + : high_{high}, + low_{low} {} + + constexpr uint64_t high() const FMT_NOEXCEPT { return high_; } + constexpr uint64_t low() const FMT_NOEXCEPT { return low_; } + + uint128_wrapper& operator+=(uint64_t n) FMT_NOEXCEPT { +# if defined(_MSC_VER) && defined(_M_X64) + unsigned char carry = _addcarry_u64(0, low_, n, &low_); + _addcarry_u64(carry, high_, 0, &high_); + return *this; +# else + uint64_t sum = low_ + n; + high_ += (sum < low_ ? 1 : 0); + low_ = sum; + return *this; +# endif + } +#endif +}; + +// Implementation of Dragonbox algorithm: https://github.com/jk-jeon/dragonbox. +namespace dragonbox { +// Computes 128-bit result of multiplication of two 64-bit unsigned integers. +inline uint128_wrapper umul128(uint64_t x, uint64_t y) FMT_NOEXCEPT { +#if FMT_USE_INT128 + return static_cast(x) * static_cast(y); +#elif defined(_MSC_VER) && defined(_M_X64) + uint128_wrapper result; + result.low_ = _umul128(x, y, &result.high_); + return result; +#else + const uint64_t mask = (uint64_t(1) << 32) - uint64_t(1); + + uint64_t a = x >> 32; + uint64_t b = x & mask; + uint64_t c = y >> 32; + uint64_t d = y & mask; + + uint64_t ac = a * c; + uint64_t bc = b * c; + uint64_t ad = a * d; + uint64_t bd = b * d; + + uint64_t intermediate = (bd >> 32) + (ad & mask) + (bc & mask); + + return {ac + (intermediate >> 32) + (ad >> 32) + (bc >> 32), + (intermediate << 32) + (bd & mask)}; +#endif +} + +// Computes upper 64 bits of multiplication of two 64-bit unsigned integers. +inline uint64_t umul128_upper64(uint64_t x, uint64_t y) FMT_NOEXCEPT { +#if FMT_USE_INT128 + auto p = static_cast(x) * static_cast(y); + return static_cast(p >> 64); +#elif defined(_MSC_VER) && defined(_M_X64) + return __umulh(x, y); +#else + return umul128(x, y).high(); +#endif +} + +// Computes upper 64 bits of multiplication of a 64-bit unsigned integer and a +// 128-bit unsigned integer. +inline uint64_t umul192_upper64(uint64_t x, uint128_wrapper y) FMT_NOEXCEPT { + uint128_wrapper g0 = umul128(x, y.high()); + g0 += umul128_upper64(x, y.low()); + return g0.high(); +} + +// Computes upper 32 bits of multiplication of a 32-bit unsigned integer and a +// 64-bit unsigned integer. +inline uint32_t umul96_upper32(uint32_t x, uint64_t y) FMT_NOEXCEPT { + return static_cast(umul128_upper64(x, y)); +} + +// Computes middle 64 bits of multiplication of a 64-bit unsigned integer and a +// 128-bit unsigned integer. +inline uint64_t umul192_middle64(uint64_t x, uint128_wrapper y) FMT_NOEXCEPT { + uint64_t g01 = x * y.high(); + uint64_t g10 = umul128_upper64(x, y.low()); + return g01 + g10; +} + +// Computes lower 64 bits of multiplication of a 32-bit unsigned integer and a +// 64-bit unsigned integer. +inline uint64_t umul96_lower64(uint32_t x, uint64_t y) FMT_NOEXCEPT { + return x * y; +} + +// Computes floor(log10(pow(2, e))) for e in [-1700, 1700] using the method from +// https://fmt.dev/papers/Grisu-Exact.pdf#page=5, section 3.4. +inline int floor_log10_pow2(int e) FMT_NOEXCEPT { + FMT_ASSERT(e <= 1700 && e >= -1700, "too large exponent"); + const int shift = 22; + return (e * static_cast(data::log10_2_significand >> (64 - shift))) >> + shift; +} + +// Various fast log computations. +inline int floor_log2_pow10(int e) FMT_NOEXCEPT { + FMT_ASSERT(e <= 1233 && e >= -1233, "too large exponent"); + const uint64_t log2_10_integer_part = 3; + const uint64_t log2_10_fractional_digits = 0x5269e12f346e2bf9; + const int shift_amount = 19; + return (e * static_cast( + (log2_10_integer_part << shift_amount) | + (log2_10_fractional_digits >> (64 - shift_amount)))) >> + shift_amount; +} +inline int floor_log10_pow2_minus_log10_4_over_3(int e) FMT_NOEXCEPT { + FMT_ASSERT(e <= 1700 && e >= -1700, "too large exponent"); + const uint64_t log10_4_over_3_fractional_digits = 0x1ffbfc2bbc780375; + const int shift_amount = 22; + return (e * static_cast(data::log10_2_significand >> + (64 - shift_amount)) - + static_cast(log10_4_over_3_fractional_digits >> + (64 - shift_amount))) >> + shift_amount; +} + +// Returns true iff x is divisible by pow(2, exp). +inline bool divisible_by_power_of_2(uint32_t x, int exp) FMT_NOEXCEPT { + FMT_ASSERT(exp >= 1, ""); + FMT_ASSERT(x != 0, ""); +#ifdef FMT_BUILTIN_CTZ + return FMT_BUILTIN_CTZ(x) >= exp; +#else + return exp < num_bits() && x == ((x >> exp) << exp); +#endif +} +inline bool divisible_by_power_of_2(uint64_t x, int exp) FMT_NOEXCEPT { + FMT_ASSERT(exp >= 1, ""); + FMT_ASSERT(x != 0, ""); +#ifdef FMT_BUILTIN_CTZLL + return FMT_BUILTIN_CTZLL(x) >= exp; +#else + return exp < num_bits() && x == ((x >> exp) << exp); +#endif +} + +// Table entry type for divisibility test. +template struct divtest_table_entry { + T mod_inv; + T max_quotient; +}; + +// Returns true iff x is divisible by pow(5, exp). +inline bool divisible_by_power_of_5(uint32_t x, int exp) FMT_NOEXCEPT { + FMT_ASSERT(exp <= 10, "too large exponent"); + static constexpr const divtest_table_entry divtest_table[] = { + {0x00000001, 0xffffffff}, {0xcccccccd, 0x33333333}, + {0xc28f5c29, 0x0a3d70a3}, {0x26e978d5, 0x020c49ba}, + {0x3afb7e91, 0x0068db8b}, {0x0bcbe61d, 0x0014f8b5}, + {0x68c26139, 0x000431bd}, {0xae8d46a5, 0x0000d6bf}, + {0x22e90e21, 0x00002af3}, {0x3a2e9c6d, 0x00000897}, + {0x3ed61f49, 0x000001b7}}; + return x * divtest_table[exp].mod_inv <= divtest_table[exp].max_quotient; +} +inline bool divisible_by_power_of_5(uint64_t x, int exp) FMT_NOEXCEPT { + FMT_ASSERT(exp <= 23, "too large exponent"); + static constexpr const divtest_table_entry divtest_table[] = { + {0x0000000000000001, 0xffffffffffffffff}, + {0xcccccccccccccccd, 0x3333333333333333}, + {0x8f5c28f5c28f5c29, 0x0a3d70a3d70a3d70}, + {0x1cac083126e978d5, 0x020c49ba5e353f7c}, + {0xd288ce703afb7e91, 0x0068db8bac710cb2}, + {0x5d4e8fb00bcbe61d, 0x0014f8b588e368f0}, + {0x790fb65668c26139, 0x000431bde82d7b63}, + {0xe5032477ae8d46a5, 0x0000d6bf94d5e57a}, + {0xc767074b22e90e21, 0x00002af31dc46118}, + {0x8e47ce423a2e9c6d, 0x0000089705f4136b}, + {0x4fa7f60d3ed61f49, 0x000001b7cdfd9d7b}, + {0x0fee64690c913975, 0x00000057f5ff85e5}, + {0x3662e0e1cf503eb1, 0x000000119799812d}, + {0xa47a2cf9f6433fbd, 0x0000000384b84d09}, + {0x54186f653140a659, 0x00000000b424dc35}, + {0x7738164770402145, 0x0000000024075f3d}, + {0xe4a4d1417cd9a041, 0x000000000734aca5}, + {0xc75429d9e5c5200d, 0x000000000170ef54}, + {0xc1773b91fac10669, 0x000000000049c977}, + {0x26b172506559ce15, 0x00000000000ec1e4}, + {0xd489e3a9addec2d1, 0x000000000002f394}, + {0x90e860bb892c8d5d, 0x000000000000971d}, + {0x502e79bf1b6f4f79, 0x0000000000001e39}, + {0xdcd618596be30fe5, 0x000000000000060b}}; + return x * divtest_table[exp].mod_inv <= divtest_table[exp].max_quotient; +} + +// Replaces n by floor(n / pow(5, N)) returning true if and only if n is +// divisible by pow(5, N). +// Precondition: n <= 2 * pow(5, N + 1). +template +bool check_divisibility_and_divide_by_pow5(uint32_t& n) FMT_NOEXCEPT { + static constexpr struct { + uint32_t magic_number; + int bits_for_comparison; + uint32_t threshold; + int shift_amount; + } infos[] = {{0xcccd, 16, 0x3333, 18}, {0xa429, 8, 0x0a, 20}}; + constexpr auto info = infos[N - 1]; + n *= info.magic_number; + const uint32_t comparison_mask = (1u << info.bits_for_comparison) - 1; + bool result = (n & comparison_mask) <= info.threshold; + n >>= info.shift_amount; + return result; +} + +// Computes floor(n / pow(10, N)) for small n and N. +// Precondition: n <= pow(10, N + 1). +template uint32_t small_division_by_pow10(uint32_t n) FMT_NOEXCEPT { + static constexpr struct { + uint32_t magic_number; + int shift_amount; + uint32_t divisor_times_10; + } infos[] = {{0xcccd, 19, 100}, {0xa3d8, 22, 1000}}; + constexpr auto info = infos[N - 1]; + FMT_ASSERT(n <= info.divisor_times_10, "n is too large"); + return n * info.magic_number >> info.shift_amount; +} + +// Computes floor(n / 10^(kappa + 1)) (float) +inline uint32_t divide_by_10_to_kappa_plus_1(uint32_t n) FMT_NOEXCEPT { + return n / float_info::big_divisor; +} +// Computes floor(n / 10^(kappa + 1)) (double) +inline uint64_t divide_by_10_to_kappa_plus_1(uint64_t n) FMT_NOEXCEPT { + return umul128_upper64(n, 0x83126e978d4fdf3c) >> 9; +} + +// Various subroutines using pow10 cache +template struct cache_accessor; + +template <> struct cache_accessor { + using carrier_uint = float_info::carrier_uint; + using cache_entry_type = uint64_t; + + static uint64_t get_cached_power(int k) FMT_NOEXCEPT { + FMT_ASSERT(k >= float_info::min_k && k <= float_info::max_k, + "k is out of range"); + constexpr const uint64_t pow10_significands[] = { + 0x81ceb32c4b43fcf5, 0xa2425ff75e14fc32, 0xcad2f7f5359a3b3f, + 0xfd87b5f28300ca0e, 0x9e74d1b791e07e49, 0xc612062576589ddb, + 0xf79687aed3eec552, 0x9abe14cd44753b53, 0xc16d9a0095928a28, + 0xf1c90080baf72cb2, 0x971da05074da7bef, 0xbce5086492111aeb, + 0xec1e4a7db69561a6, 0x9392ee8e921d5d08, 0xb877aa3236a4b44a, + 0xe69594bec44de15c, 0x901d7cf73ab0acda, 0xb424dc35095cd810, + 0xe12e13424bb40e14, 0x8cbccc096f5088cc, 0xafebff0bcb24aaff, + 0xdbe6fecebdedd5bf, 0x89705f4136b4a598, 0xabcc77118461cefd, + 0xd6bf94d5e57a42bd, 0x8637bd05af6c69b6, 0xa7c5ac471b478424, + 0xd1b71758e219652c, 0x83126e978d4fdf3c, 0xa3d70a3d70a3d70b, + 0xcccccccccccccccd, 0x8000000000000000, 0xa000000000000000, + 0xc800000000000000, 0xfa00000000000000, 0x9c40000000000000, + 0xc350000000000000, 0xf424000000000000, 0x9896800000000000, + 0xbebc200000000000, 0xee6b280000000000, 0x9502f90000000000, + 0xba43b74000000000, 0xe8d4a51000000000, 0x9184e72a00000000, + 0xb5e620f480000000, 0xe35fa931a0000000, 0x8e1bc9bf04000000, + 0xb1a2bc2ec5000000, 0xde0b6b3a76400000, 0x8ac7230489e80000, + 0xad78ebc5ac620000, 0xd8d726b7177a8000, 0x878678326eac9000, + 0xa968163f0a57b400, 0xd3c21bcecceda100, 0x84595161401484a0, + 0xa56fa5b99019a5c8, 0xcecb8f27f4200f3a, 0x813f3978f8940984, + 0xa18f07d736b90be5, 0xc9f2c9cd04674ede, 0xfc6f7c4045812296, + 0x9dc5ada82b70b59d, 0xc5371912364ce305, 0xf684df56c3e01bc6, + 0x9a130b963a6c115c, 0xc097ce7bc90715b3, 0xf0bdc21abb48db20, + 0x96769950b50d88f4, 0xbc143fa4e250eb31, 0xeb194f8e1ae525fd, + 0x92efd1b8d0cf37be, 0xb7abc627050305ad, 0xe596b7b0c643c719, + 0x8f7e32ce7bea5c6f, 0xb35dbf821ae4f38b, 0xe0352f62a19e306e}; + return pow10_significands[k - float_info::min_k]; + } + + static carrier_uint compute_mul(carrier_uint u, + const cache_entry_type& cache) FMT_NOEXCEPT { + return umul96_upper32(u, cache); + } + + static uint32_t compute_delta(const cache_entry_type& cache, + int beta_minus_1) FMT_NOEXCEPT { + return static_cast(cache >> (64 - 1 - beta_minus_1)); + } + + static bool compute_mul_parity(carrier_uint two_f, + const cache_entry_type& cache, + int beta_minus_1) FMT_NOEXCEPT { + FMT_ASSERT(beta_minus_1 >= 1, ""); + FMT_ASSERT(beta_minus_1 < 64, ""); + + return ((umul96_lower64(two_f, cache) >> (64 - beta_minus_1)) & 1) != 0; + } + + static carrier_uint compute_left_endpoint_for_shorter_interval_case( + const cache_entry_type& cache, int beta_minus_1) FMT_NOEXCEPT { + return static_cast( + (cache - (cache >> (float_info::significand_bits + 2))) >> + (64 - float_info::significand_bits - 1 - beta_minus_1)); + } + + static carrier_uint compute_right_endpoint_for_shorter_interval_case( + const cache_entry_type& cache, int beta_minus_1) FMT_NOEXCEPT { + return static_cast( + (cache + (cache >> (float_info::significand_bits + 1))) >> + (64 - float_info::significand_bits - 1 - beta_minus_1)); + } + + static carrier_uint compute_round_up_for_shorter_interval_case( + const cache_entry_type& cache, int beta_minus_1) FMT_NOEXCEPT { + return (static_cast( + cache >> + (64 - float_info::significand_bits - 2 - beta_minus_1)) + + 1) / + 2; + } +}; + +template <> struct cache_accessor { + using carrier_uint = float_info::carrier_uint; + using cache_entry_type = uint128_wrapper; + + static uint128_wrapper get_cached_power(int k) FMT_NOEXCEPT { + FMT_ASSERT(k >= float_info::min_k && k <= float_info::max_k, + "k is out of range"); + + static constexpr const uint128_wrapper pow10_significands[] = { +#if FMT_USE_FULL_CACHE_DRAGONBOX + {0xff77b1fcbebcdc4f, 0x25e8e89c13bb0f7b}, + {0x9faacf3df73609b1, 0x77b191618c54e9ad}, + {0xc795830d75038c1d, 0xd59df5b9ef6a2418}, + {0xf97ae3d0d2446f25, 0x4b0573286b44ad1e}, + {0x9becce62836ac577, 0x4ee367f9430aec33}, + {0xc2e801fb244576d5, 0x229c41f793cda740}, + {0xf3a20279ed56d48a, 0x6b43527578c11110}, + {0x9845418c345644d6, 0x830a13896b78aaaa}, + {0xbe5691ef416bd60c, 0x23cc986bc656d554}, + {0xedec366b11c6cb8f, 0x2cbfbe86b7ec8aa9}, + {0x94b3a202eb1c3f39, 0x7bf7d71432f3d6aa}, + {0xb9e08a83a5e34f07, 0xdaf5ccd93fb0cc54}, + {0xe858ad248f5c22c9, 0xd1b3400f8f9cff69}, + {0x91376c36d99995be, 0x23100809b9c21fa2}, + {0xb58547448ffffb2d, 0xabd40a0c2832a78b}, + {0xe2e69915b3fff9f9, 0x16c90c8f323f516d}, + {0x8dd01fad907ffc3b, 0xae3da7d97f6792e4}, + {0xb1442798f49ffb4a, 0x99cd11cfdf41779d}, + {0xdd95317f31c7fa1d, 0x40405643d711d584}, + {0x8a7d3eef7f1cfc52, 0x482835ea666b2573}, + {0xad1c8eab5ee43b66, 0xda3243650005eed0}, + {0xd863b256369d4a40, 0x90bed43e40076a83}, + {0x873e4f75e2224e68, 0x5a7744a6e804a292}, + {0xa90de3535aaae202, 0x711515d0a205cb37}, + {0xd3515c2831559a83, 0x0d5a5b44ca873e04}, + {0x8412d9991ed58091, 0xe858790afe9486c3}, + {0xa5178fff668ae0b6, 0x626e974dbe39a873}, + {0xce5d73ff402d98e3, 0xfb0a3d212dc81290}, + {0x80fa687f881c7f8e, 0x7ce66634bc9d0b9a}, + {0xa139029f6a239f72, 0x1c1fffc1ebc44e81}, + {0xc987434744ac874e, 0xa327ffb266b56221}, + {0xfbe9141915d7a922, 0x4bf1ff9f0062baa9}, + {0x9d71ac8fada6c9b5, 0x6f773fc3603db4aa}, + {0xc4ce17b399107c22, 0xcb550fb4384d21d4}, + {0xf6019da07f549b2b, 0x7e2a53a146606a49}, + {0x99c102844f94e0fb, 0x2eda7444cbfc426e}, + {0xc0314325637a1939, 0xfa911155fefb5309}, + {0xf03d93eebc589f88, 0x793555ab7eba27cb}, + {0x96267c7535b763b5, 0x4bc1558b2f3458df}, + {0xbbb01b9283253ca2, 0x9eb1aaedfb016f17}, + {0xea9c227723ee8bcb, 0x465e15a979c1cadd}, + {0x92a1958a7675175f, 0x0bfacd89ec191eca}, + {0xb749faed14125d36, 0xcef980ec671f667c}, + {0xe51c79a85916f484, 0x82b7e12780e7401b}, + {0x8f31cc0937ae58d2, 0xd1b2ecb8b0908811}, + {0xb2fe3f0b8599ef07, 0x861fa7e6dcb4aa16}, + {0xdfbdcece67006ac9, 0x67a791e093e1d49b}, + {0x8bd6a141006042bd, 0xe0c8bb2c5c6d24e1}, + {0xaecc49914078536d, 0x58fae9f773886e19}, + {0xda7f5bf590966848, 0xaf39a475506a899f}, + {0x888f99797a5e012d, 0x6d8406c952429604}, + {0xaab37fd7d8f58178, 0xc8e5087ba6d33b84}, + {0xd5605fcdcf32e1d6, 0xfb1e4a9a90880a65}, + {0x855c3be0a17fcd26, 0x5cf2eea09a550680}, + {0xa6b34ad8c9dfc06f, 0xf42faa48c0ea481f}, + {0xd0601d8efc57b08b, 0xf13b94daf124da27}, + {0x823c12795db6ce57, 0x76c53d08d6b70859}, + {0xa2cb1717b52481ed, 0x54768c4b0c64ca6f}, + {0xcb7ddcdda26da268, 0xa9942f5dcf7dfd0a}, + {0xfe5d54150b090b02, 0xd3f93b35435d7c4d}, + {0x9efa548d26e5a6e1, 0xc47bc5014a1a6db0}, + {0xc6b8e9b0709f109a, 0x359ab6419ca1091c}, + {0xf867241c8cc6d4c0, 0xc30163d203c94b63}, + {0x9b407691d7fc44f8, 0x79e0de63425dcf1e}, + {0xc21094364dfb5636, 0x985915fc12f542e5}, + {0xf294b943e17a2bc4, 0x3e6f5b7b17b2939e}, + {0x979cf3ca6cec5b5a, 0xa705992ceecf9c43}, + {0xbd8430bd08277231, 0x50c6ff782a838354}, + {0xece53cec4a314ebd, 0xa4f8bf5635246429}, + {0x940f4613ae5ed136, 0x871b7795e136be9a}, + {0xb913179899f68584, 0x28e2557b59846e40}, + {0xe757dd7ec07426e5, 0x331aeada2fe589d0}, + {0x9096ea6f3848984f, 0x3ff0d2c85def7622}, + {0xb4bca50b065abe63, 0x0fed077a756b53aa}, + {0xe1ebce4dc7f16dfb, 0xd3e8495912c62895}, + {0x8d3360f09cf6e4bd, 0x64712dd7abbbd95d}, + {0xb080392cc4349dec, 0xbd8d794d96aacfb4}, + {0xdca04777f541c567, 0xecf0d7a0fc5583a1}, + {0x89e42caaf9491b60, 0xf41686c49db57245}, + {0xac5d37d5b79b6239, 0x311c2875c522ced6}, + {0xd77485cb25823ac7, 0x7d633293366b828c}, + {0x86a8d39ef77164bc, 0xae5dff9c02033198}, + {0xa8530886b54dbdeb, 0xd9f57f830283fdfd}, + {0xd267caa862a12d66, 0xd072df63c324fd7c}, + {0x8380dea93da4bc60, 0x4247cb9e59f71e6e}, + {0xa46116538d0deb78, 0x52d9be85f074e609}, + {0xcd795be870516656, 0x67902e276c921f8c}, + {0x806bd9714632dff6, 0x00ba1cd8a3db53b7}, + {0xa086cfcd97bf97f3, 0x80e8a40eccd228a5}, + {0xc8a883c0fdaf7df0, 0x6122cd128006b2ce}, + {0xfad2a4b13d1b5d6c, 0x796b805720085f82}, + {0x9cc3a6eec6311a63, 0xcbe3303674053bb1}, + {0xc3f490aa77bd60fc, 0xbedbfc4411068a9d}, + {0xf4f1b4d515acb93b, 0xee92fb5515482d45}, + {0x991711052d8bf3c5, 0x751bdd152d4d1c4b}, + {0xbf5cd54678eef0b6, 0xd262d45a78a0635e}, + {0xef340a98172aace4, 0x86fb897116c87c35}, + {0x9580869f0e7aac0e, 0xd45d35e6ae3d4da1}, + {0xbae0a846d2195712, 0x8974836059cca10a}, + {0xe998d258869facd7, 0x2bd1a438703fc94c}, + {0x91ff83775423cc06, 0x7b6306a34627ddd0}, + {0xb67f6455292cbf08, 0x1a3bc84c17b1d543}, + {0xe41f3d6a7377eeca, 0x20caba5f1d9e4a94}, + {0x8e938662882af53e, 0x547eb47b7282ee9d}, + {0xb23867fb2a35b28d, 0xe99e619a4f23aa44}, + {0xdec681f9f4c31f31, 0x6405fa00e2ec94d5}, + {0x8b3c113c38f9f37e, 0xde83bc408dd3dd05}, + {0xae0b158b4738705e, 0x9624ab50b148d446}, + {0xd98ddaee19068c76, 0x3badd624dd9b0958}, + {0x87f8a8d4cfa417c9, 0xe54ca5d70a80e5d7}, + {0xa9f6d30a038d1dbc, 0x5e9fcf4ccd211f4d}, + {0xd47487cc8470652b, 0x7647c32000696720}, + {0x84c8d4dfd2c63f3b, 0x29ecd9f40041e074}, + {0xa5fb0a17c777cf09, 0xf468107100525891}, + {0xcf79cc9db955c2cc, 0x7182148d4066eeb5}, + {0x81ac1fe293d599bf, 0xc6f14cd848405531}, + {0xa21727db38cb002f, 0xb8ada00e5a506a7d}, + {0xca9cf1d206fdc03b, 0xa6d90811f0e4851d}, + {0xfd442e4688bd304a, 0x908f4a166d1da664}, + {0x9e4a9cec15763e2e, 0x9a598e4e043287ff}, + {0xc5dd44271ad3cdba, 0x40eff1e1853f29fe}, + {0xf7549530e188c128, 0xd12bee59e68ef47d}, + {0x9a94dd3e8cf578b9, 0x82bb74f8301958cf}, + {0xc13a148e3032d6e7, 0xe36a52363c1faf02}, + {0xf18899b1bc3f8ca1, 0xdc44e6c3cb279ac2}, + {0x96f5600f15a7b7e5, 0x29ab103a5ef8c0ba}, + {0xbcb2b812db11a5de, 0x7415d448f6b6f0e8}, + {0xebdf661791d60f56, 0x111b495b3464ad22}, + {0x936b9fcebb25c995, 0xcab10dd900beec35}, + {0xb84687c269ef3bfb, 0x3d5d514f40eea743}, + {0xe65829b3046b0afa, 0x0cb4a5a3112a5113}, + {0x8ff71a0fe2c2e6dc, 0x47f0e785eaba72ac}, + {0xb3f4e093db73a093, 0x59ed216765690f57}, + {0xe0f218b8d25088b8, 0x306869c13ec3532d}, + {0x8c974f7383725573, 0x1e414218c73a13fc}, + {0xafbd2350644eeacf, 0xe5d1929ef90898fb}, + {0xdbac6c247d62a583, 0xdf45f746b74abf3a}, + {0x894bc396ce5da772, 0x6b8bba8c328eb784}, + {0xab9eb47c81f5114f, 0x066ea92f3f326565}, + {0xd686619ba27255a2, 0xc80a537b0efefebe}, + {0x8613fd0145877585, 0xbd06742ce95f5f37}, + {0xa798fc4196e952e7, 0x2c48113823b73705}, + {0xd17f3b51fca3a7a0, 0xf75a15862ca504c6}, + {0x82ef85133de648c4, 0x9a984d73dbe722fc}, + {0xa3ab66580d5fdaf5, 0xc13e60d0d2e0ebbb}, + {0xcc963fee10b7d1b3, 0x318df905079926a9}, + {0xffbbcfe994e5c61f, 0xfdf17746497f7053}, + {0x9fd561f1fd0f9bd3, 0xfeb6ea8bedefa634}, + {0xc7caba6e7c5382c8, 0xfe64a52ee96b8fc1}, + {0xf9bd690a1b68637b, 0x3dfdce7aa3c673b1}, + {0x9c1661a651213e2d, 0x06bea10ca65c084f}, + {0xc31bfa0fe5698db8, 0x486e494fcff30a63}, + {0xf3e2f893dec3f126, 0x5a89dba3c3efccfb}, + {0x986ddb5c6b3a76b7, 0xf89629465a75e01d}, + {0xbe89523386091465, 0xf6bbb397f1135824}, + {0xee2ba6c0678b597f, 0x746aa07ded582e2d}, + {0x94db483840b717ef, 0xa8c2a44eb4571cdd}, + {0xba121a4650e4ddeb, 0x92f34d62616ce414}, + {0xe896a0d7e51e1566, 0x77b020baf9c81d18}, + {0x915e2486ef32cd60, 0x0ace1474dc1d122f}, + {0xb5b5ada8aaff80b8, 0x0d819992132456bb}, + {0xe3231912d5bf60e6, 0x10e1fff697ed6c6a}, + {0x8df5efabc5979c8f, 0xca8d3ffa1ef463c2}, + {0xb1736b96b6fd83b3, 0xbd308ff8a6b17cb3}, + {0xddd0467c64bce4a0, 0xac7cb3f6d05ddbdf}, + {0x8aa22c0dbef60ee4, 0x6bcdf07a423aa96c}, + {0xad4ab7112eb3929d, 0x86c16c98d2c953c7}, + {0xd89d64d57a607744, 0xe871c7bf077ba8b8}, + {0x87625f056c7c4a8b, 0x11471cd764ad4973}, + {0xa93af6c6c79b5d2d, 0xd598e40d3dd89bd0}, + {0xd389b47879823479, 0x4aff1d108d4ec2c4}, + {0x843610cb4bf160cb, 0xcedf722a585139bb}, + {0xa54394fe1eedb8fe, 0xc2974eb4ee658829}, + {0xce947a3da6a9273e, 0x733d226229feea33}, + {0x811ccc668829b887, 0x0806357d5a3f5260}, + {0xa163ff802a3426a8, 0xca07c2dcb0cf26f8}, + {0xc9bcff6034c13052, 0xfc89b393dd02f0b6}, + {0xfc2c3f3841f17c67, 0xbbac2078d443ace3}, + {0x9d9ba7832936edc0, 0xd54b944b84aa4c0e}, + {0xc5029163f384a931, 0x0a9e795e65d4df12}, + {0xf64335bcf065d37d, 0x4d4617b5ff4a16d6}, + {0x99ea0196163fa42e, 0x504bced1bf8e4e46}, + {0xc06481fb9bcf8d39, 0xe45ec2862f71e1d7}, + {0xf07da27a82c37088, 0x5d767327bb4e5a4d}, + {0x964e858c91ba2655, 0x3a6a07f8d510f870}, + {0xbbe226efb628afea, 0x890489f70a55368c}, + {0xeadab0aba3b2dbe5, 0x2b45ac74ccea842f}, + {0x92c8ae6b464fc96f, 0x3b0b8bc90012929e}, + {0xb77ada0617e3bbcb, 0x09ce6ebb40173745}, + {0xe55990879ddcaabd, 0xcc420a6a101d0516}, + {0x8f57fa54c2a9eab6, 0x9fa946824a12232e}, + {0xb32df8e9f3546564, 0x47939822dc96abfa}, + {0xdff9772470297ebd, 0x59787e2b93bc56f8}, + {0x8bfbea76c619ef36, 0x57eb4edb3c55b65b}, + {0xaefae51477a06b03, 0xede622920b6b23f2}, + {0xdab99e59958885c4, 0xe95fab368e45ecee}, + {0x88b402f7fd75539b, 0x11dbcb0218ebb415}, + {0xaae103b5fcd2a881, 0xd652bdc29f26a11a}, + {0xd59944a37c0752a2, 0x4be76d3346f04960}, + {0x857fcae62d8493a5, 0x6f70a4400c562ddc}, + {0xa6dfbd9fb8e5b88e, 0xcb4ccd500f6bb953}, + {0xd097ad07a71f26b2, 0x7e2000a41346a7a8}, + {0x825ecc24c873782f, 0x8ed400668c0c28c9}, + {0xa2f67f2dfa90563b, 0x728900802f0f32fb}, + {0xcbb41ef979346bca, 0x4f2b40a03ad2ffba}, + {0xfea126b7d78186bc, 0xe2f610c84987bfa9}, + {0x9f24b832e6b0f436, 0x0dd9ca7d2df4d7ca}, + {0xc6ede63fa05d3143, 0x91503d1c79720dbc}, + {0xf8a95fcf88747d94, 0x75a44c6397ce912b}, + {0x9b69dbe1b548ce7c, 0xc986afbe3ee11abb}, + {0xc24452da229b021b, 0xfbe85badce996169}, + {0xf2d56790ab41c2a2, 0xfae27299423fb9c4}, + {0x97c560ba6b0919a5, 0xdccd879fc967d41b}, + {0xbdb6b8e905cb600f, 0x5400e987bbc1c921}, + {0xed246723473e3813, 0x290123e9aab23b69}, + {0x9436c0760c86e30b, 0xf9a0b6720aaf6522}, + {0xb94470938fa89bce, 0xf808e40e8d5b3e6a}, + {0xe7958cb87392c2c2, 0xb60b1d1230b20e05}, + {0x90bd77f3483bb9b9, 0xb1c6f22b5e6f48c3}, + {0xb4ecd5f01a4aa828, 0x1e38aeb6360b1af4}, + {0xe2280b6c20dd5232, 0x25c6da63c38de1b1}, + {0x8d590723948a535f, 0x579c487e5a38ad0f}, + {0xb0af48ec79ace837, 0x2d835a9df0c6d852}, + {0xdcdb1b2798182244, 0xf8e431456cf88e66}, + {0x8a08f0f8bf0f156b, 0x1b8e9ecb641b5900}, + {0xac8b2d36eed2dac5, 0xe272467e3d222f40}, + {0xd7adf884aa879177, 0x5b0ed81dcc6abb10}, + {0x86ccbb52ea94baea, 0x98e947129fc2b4ea}, + {0xa87fea27a539e9a5, 0x3f2398d747b36225}, + {0xd29fe4b18e88640e, 0x8eec7f0d19a03aae}, + {0x83a3eeeef9153e89, 0x1953cf68300424ad}, + {0xa48ceaaab75a8e2b, 0x5fa8c3423c052dd8}, + {0xcdb02555653131b6, 0x3792f412cb06794e}, + {0x808e17555f3ebf11, 0xe2bbd88bbee40bd1}, + {0xa0b19d2ab70e6ed6, 0x5b6aceaeae9d0ec5}, + {0xc8de047564d20a8b, 0xf245825a5a445276}, + {0xfb158592be068d2e, 0xeed6e2f0f0d56713}, + {0x9ced737bb6c4183d, 0x55464dd69685606c}, + {0xc428d05aa4751e4c, 0xaa97e14c3c26b887}, + {0xf53304714d9265df, 0xd53dd99f4b3066a9}, + {0x993fe2c6d07b7fab, 0xe546a8038efe402a}, + {0xbf8fdb78849a5f96, 0xde98520472bdd034}, + {0xef73d256a5c0f77c, 0x963e66858f6d4441}, + {0x95a8637627989aad, 0xdde7001379a44aa9}, + {0xbb127c53b17ec159, 0x5560c018580d5d53}, + {0xe9d71b689dde71af, 0xaab8f01e6e10b4a7}, + {0x9226712162ab070d, 0xcab3961304ca70e9}, + {0xb6b00d69bb55c8d1, 0x3d607b97c5fd0d23}, + {0xe45c10c42a2b3b05, 0x8cb89a7db77c506b}, + {0x8eb98a7a9a5b04e3, 0x77f3608e92adb243}, + {0xb267ed1940f1c61c, 0x55f038b237591ed4}, + {0xdf01e85f912e37a3, 0x6b6c46dec52f6689}, + {0x8b61313bbabce2c6, 0x2323ac4b3b3da016}, + {0xae397d8aa96c1b77, 0xabec975e0a0d081b}, + {0xd9c7dced53c72255, 0x96e7bd358c904a22}, + {0x881cea14545c7575, 0x7e50d64177da2e55}, + {0xaa242499697392d2, 0xdde50bd1d5d0b9ea}, + {0xd4ad2dbfc3d07787, 0x955e4ec64b44e865}, + {0x84ec3c97da624ab4, 0xbd5af13bef0b113f}, + {0xa6274bbdd0fadd61, 0xecb1ad8aeacdd58f}, + {0xcfb11ead453994ba, 0x67de18eda5814af3}, + {0x81ceb32c4b43fcf4, 0x80eacf948770ced8}, + {0xa2425ff75e14fc31, 0xa1258379a94d028e}, + {0xcad2f7f5359a3b3e, 0x096ee45813a04331}, + {0xfd87b5f28300ca0d, 0x8bca9d6e188853fd}, + {0x9e74d1b791e07e48, 0x775ea264cf55347e}, + {0xc612062576589dda, 0x95364afe032a819e}, + {0xf79687aed3eec551, 0x3a83ddbd83f52205}, + {0x9abe14cd44753b52, 0xc4926a9672793543}, + {0xc16d9a0095928a27, 0x75b7053c0f178294}, + {0xf1c90080baf72cb1, 0x5324c68b12dd6339}, + {0x971da05074da7bee, 0xd3f6fc16ebca5e04}, + {0xbce5086492111aea, 0x88f4bb1ca6bcf585}, + {0xec1e4a7db69561a5, 0x2b31e9e3d06c32e6}, + {0x9392ee8e921d5d07, 0x3aff322e62439fd0}, + {0xb877aa3236a4b449, 0x09befeb9fad487c3}, + {0xe69594bec44de15b, 0x4c2ebe687989a9b4}, + {0x901d7cf73ab0acd9, 0x0f9d37014bf60a11}, + {0xb424dc35095cd80f, 0x538484c19ef38c95}, + {0xe12e13424bb40e13, 0x2865a5f206b06fba}, + {0x8cbccc096f5088cb, 0xf93f87b7442e45d4}, + {0xafebff0bcb24aafe, 0xf78f69a51539d749}, + {0xdbe6fecebdedd5be, 0xb573440e5a884d1c}, + {0x89705f4136b4a597, 0x31680a88f8953031}, + {0xabcc77118461cefc, 0xfdc20d2b36ba7c3e}, + {0xd6bf94d5e57a42bc, 0x3d32907604691b4d}, + {0x8637bd05af6c69b5, 0xa63f9a49c2c1b110}, + {0xa7c5ac471b478423, 0x0fcf80dc33721d54}, + {0xd1b71758e219652b, 0xd3c36113404ea4a9}, + {0x83126e978d4fdf3b, 0x645a1cac083126ea}, + {0xa3d70a3d70a3d70a, 0x3d70a3d70a3d70a4}, + {0xcccccccccccccccc, 0xcccccccccccccccd}, + {0x8000000000000000, 0x0000000000000000}, + {0xa000000000000000, 0x0000000000000000}, + {0xc800000000000000, 0x0000000000000000}, + {0xfa00000000000000, 0x0000000000000000}, + {0x9c40000000000000, 0x0000000000000000}, + {0xc350000000000000, 0x0000000000000000}, + {0xf424000000000000, 0x0000000000000000}, + {0x9896800000000000, 0x0000000000000000}, + {0xbebc200000000000, 0x0000000000000000}, + {0xee6b280000000000, 0x0000000000000000}, + {0x9502f90000000000, 0x0000000000000000}, + {0xba43b74000000000, 0x0000000000000000}, + {0xe8d4a51000000000, 0x0000000000000000}, + {0x9184e72a00000000, 0x0000000000000000}, + {0xb5e620f480000000, 0x0000000000000000}, + {0xe35fa931a0000000, 0x0000000000000000}, + {0x8e1bc9bf04000000, 0x0000000000000000}, + {0xb1a2bc2ec5000000, 0x0000000000000000}, + {0xde0b6b3a76400000, 0x0000000000000000}, + {0x8ac7230489e80000, 0x0000000000000000}, + {0xad78ebc5ac620000, 0x0000000000000000}, + {0xd8d726b7177a8000, 0x0000000000000000}, + {0x878678326eac9000, 0x0000000000000000}, + {0xa968163f0a57b400, 0x0000000000000000}, + {0xd3c21bcecceda100, 0x0000000000000000}, + {0x84595161401484a0, 0x0000000000000000}, + {0xa56fa5b99019a5c8, 0x0000000000000000}, + {0xcecb8f27f4200f3a, 0x0000000000000000}, + {0x813f3978f8940984, 0x4000000000000000}, + {0xa18f07d736b90be5, 0x5000000000000000}, + {0xc9f2c9cd04674ede, 0xa400000000000000}, + {0xfc6f7c4045812296, 0x4d00000000000000}, + {0x9dc5ada82b70b59d, 0xf020000000000000}, + {0xc5371912364ce305, 0x6c28000000000000}, + {0xf684df56c3e01bc6, 0xc732000000000000}, + {0x9a130b963a6c115c, 0x3c7f400000000000}, + {0xc097ce7bc90715b3, 0x4b9f100000000000}, + {0xf0bdc21abb48db20, 0x1e86d40000000000}, + {0x96769950b50d88f4, 0x1314448000000000}, + {0xbc143fa4e250eb31, 0x17d955a000000000}, + {0xeb194f8e1ae525fd, 0x5dcfab0800000000}, + {0x92efd1b8d0cf37be, 0x5aa1cae500000000}, + {0xb7abc627050305ad, 0xf14a3d9e40000000}, + {0xe596b7b0c643c719, 0x6d9ccd05d0000000}, + {0x8f7e32ce7bea5c6f, 0xe4820023a2000000}, + {0xb35dbf821ae4f38b, 0xdda2802c8a800000}, + {0xe0352f62a19e306e, 0xd50b2037ad200000}, + {0x8c213d9da502de45, 0x4526f422cc340000}, + {0xaf298d050e4395d6, 0x9670b12b7f410000}, + {0xdaf3f04651d47b4c, 0x3c0cdd765f114000}, + {0x88d8762bf324cd0f, 0xa5880a69fb6ac800}, + {0xab0e93b6efee0053, 0x8eea0d047a457a00}, + {0xd5d238a4abe98068, 0x72a4904598d6d880}, + {0x85a36366eb71f041, 0x47a6da2b7f864750}, + {0xa70c3c40a64e6c51, 0x999090b65f67d924}, + {0xd0cf4b50cfe20765, 0xfff4b4e3f741cf6d}, + {0x82818f1281ed449f, 0xbff8f10e7a8921a4}, + {0xa321f2d7226895c7, 0xaff72d52192b6a0d}, + {0xcbea6f8ceb02bb39, 0x9bf4f8a69f764490}, + {0xfee50b7025c36a08, 0x02f236d04753d5b4}, + {0x9f4f2726179a2245, 0x01d762422c946590}, + {0xc722f0ef9d80aad6, 0x424d3ad2b7b97ef5}, + {0xf8ebad2b84e0d58b, 0xd2e0898765a7deb2}, + {0x9b934c3b330c8577, 0x63cc55f49f88eb2f}, + {0xc2781f49ffcfa6d5, 0x3cbf6b71c76b25fb}, + {0xf316271c7fc3908a, 0x8bef464e3945ef7a}, + {0x97edd871cfda3a56, 0x97758bf0e3cbb5ac}, + {0xbde94e8e43d0c8ec, 0x3d52eeed1cbea317}, + {0xed63a231d4c4fb27, 0x4ca7aaa863ee4bdd}, + {0x945e455f24fb1cf8, 0x8fe8caa93e74ef6a}, + {0xb975d6b6ee39e436, 0xb3e2fd538e122b44}, + {0xe7d34c64a9c85d44, 0x60dbbca87196b616}, + {0x90e40fbeea1d3a4a, 0xbc8955e946fe31cd}, + {0xb51d13aea4a488dd, 0x6babab6398bdbe41}, + {0xe264589a4dcdab14, 0xc696963c7eed2dd1}, + {0x8d7eb76070a08aec, 0xfc1e1de5cf543ca2}, + {0xb0de65388cc8ada8, 0x3b25a55f43294bcb}, + {0xdd15fe86affad912, 0x49ef0eb713f39ebe}, + {0x8a2dbf142dfcc7ab, 0x6e3569326c784337}, + {0xacb92ed9397bf996, 0x49c2c37f07965404}, + {0xd7e77a8f87daf7fb, 0xdc33745ec97be906}, + {0x86f0ac99b4e8dafd, 0x69a028bb3ded71a3}, + {0xa8acd7c0222311bc, 0xc40832ea0d68ce0c}, + {0xd2d80db02aabd62b, 0xf50a3fa490c30190}, + {0x83c7088e1aab65db, 0x792667c6da79e0fa}, + {0xa4b8cab1a1563f52, 0x577001b891185938}, + {0xcde6fd5e09abcf26, 0xed4c0226b55e6f86}, + {0x80b05e5ac60b6178, 0x544f8158315b05b4}, + {0xa0dc75f1778e39d6, 0x696361ae3db1c721}, + {0xc913936dd571c84c, 0x03bc3a19cd1e38e9}, + {0xfb5878494ace3a5f, 0x04ab48a04065c723}, + {0x9d174b2dcec0e47b, 0x62eb0d64283f9c76}, + {0xc45d1df942711d9a, 0x3ba5d0bd324f8394}, + {0xf5746577930d6500, 0xca8f44ec7ee36479}, + {0x9968bf6abbe85f20, 0x7e998b13cf4e1ecb}, + {0xbfc2ef456ae276e8, 0x9e3fedd8c321a67e}, + {0xefb3ab16c59b14a2, 0xc5cfe94ef3ea101e}, + {0x95d04aee3b80ece5, 0xbba1f1d158724a12}, + {0xbb445da9ca61281f, 0x2a8a6e45ae8edc97}, + {0xea1575143cf97226, 0xf52d09d71a3293bd}, + {0x924d692ca61be758, 0x593c2626705f9c56}, + {0xb6e0c377cfa2e12e, 0x6f8b2fb00c77836c}, + {0xe498f455c38b997a, 0x0b6dfb9c0f956447}, + {0x8edf98b59a373fec, 0x4724bd4189bd5eac}, + {0xb2977ee300c50fe7, 0x58edec91ec2cb657}, + {0xdf3d5e9bc0f653e1, 0x2f2967b66737e3ed}, + {0x8b865b215899f46c, 0xbd79e0d20082ee74}, + {0xae67f1e9aec07187, 0xecd8590680a3aa11}, + {0xda01ee641a708de9, 0xe80e6f4820cc9495}, + {0x884134fe908658b2, 0x3109058d147fdcdd}, + {0xaa51823e34a7eede, 0xbd4b46f0599fd415}, + {0xd4e5e2cdc1d1ea96, 0x6c9e18ac7007c91a}, + {0x850fadc09923329e, 0x03e2cf6bc604ddb0}, + {0xa6539930bf6bff45, 0x84db8346b786151c}, + {0xcfe87f7cef46ff16, 0xe612641865679a63}, + {0x81f14fae158c5f6e, 0x4fcb7e8f3f60c07e}, + {0xa26da3999aef7749, 0xe3be5e330f38f09d}, + {0xcb090c8001ab551c, 0x5cadf5bfd3072cc5}, + {0xfdcb4fa002162a63, 0x73d9732fc7c8f7f6}, + {0x9e9f11c4014dda7e, 0x2867e7fddcdd9afa}, + {0xc646d63501a1511d, 0xb281e1fd541501b8}, + {0xf7d88bc24209a565, 0x1f225a7ca91a4226}, + {0x9ae757596946075f, 0x3375788de9b06958}, + {0xc1a12d2fc3978937, 0x0052d6b1641c83ae}, + {0xf209787bb47d6b84, 0xc0678c5dbd23a49a}, + {0x9745eb4d50ce6332, 0xf840b7ba963646e0}, + {0xbd176620a501fbff, 0xb650e5a93bc3d898}, + {0xec5d3fa8ce427aff, 0xa3e51f138ab4cebe}, + {0x93ba47c980e98cdf, 0xc66f336c36b10137}, + {0xb8a8d9bbe123f017, 0xb80b0047445d4184}, + {0xe6d3102ad96cec1d, 0xa60dc059157491e5}, + {0x9043ea1ac7e41392, 0x87c89837ad68db2f}, + {0xb454e4a179dd1877, 0x29babe4598c311fb}, + {0xe16a1dc9d8545e94, 0xf4296dd6fef3d67a}, + {0x8ce2529e2734bb1d, 0x1899e4a65f58660c}, + {0xb01ae745b101e9e4, 0x5ec05dcff72e7f8f}, + {0xdc21a1171d42645d, 0x76707543f4fa1f73}, + {0x899504ae72497eba, 0x6a06494a791c53a8}, + {0xabfa45da0edbde69, 0x0487db9d17636892}, + {0xd6f8d7509292d603, 0x45a9d2845d3c42b6}, + {0x865b86925b9bc5c2, 0x0b8a2392ba45a9b2}, + {0xa7f26836f282b732, 0x8e6cac7768d7141e}, + {0xd1ef0244af2364ff, 0x3207d795430cd926}, + {0x8335616aed761f1f, 0x7f44e6bd49e807b8}, + {0xa402b9c5a8d3a6e7, 0x5f16206c9c6209a6}, + {0xcd036837130890a1, 0x36dba887c37a8c0f}, + {0x802221226be55a64, 0xc2494954da2c9789}, + {0xa02aa96b06deb0fd, 0xf2db9baa10b7bd6c}, + {0xc83553c5c8965d3d, 0x6f92829494e5acc7}, + {0xfa42a8b73abbf48c, 0xcb772339ba1f17f9}, + {0x9c69a97284b578d7, 0xff2a760414536efb}, + {0xc38413cf25e2d70d, 0xfef5138519684aba}, + {0xf46518c2ef5b8cd1, 0x7eb258665fc25d69}, + {0x98bf2f79d5993802, 0xef2f773ffbd97a61}, + {0xbeeefb584aff8603, 0xaafb550ffacfd8fa}, + {0xeeaaba2e5dbf6784, 0x95ba2a53f983cf38}, + {0x952ab45cfa97a0b2, 0xdd945a747bf26183}, + {0xba756174393d88df, 0x94f971119aeef9e4}, + {0xe912b9d1478ceb17, 0x7a37cd5601aab85d}, + {0x91abb422ccb812ee, 0xac62e055c10ab33a}, + {0xb616a12b7fe617aa, 0x577b986b314d6009}, + {0xe39c49765fdf9d94, 0xed5a7e85fda0b80b}, + {0x8e41ade9fbebc27d, 0x14588f13be847307}, + {0xb1d219647ae6b31c, 0x596eb2d8ae258fc8}, + {0xde469fbd99a05fe3, 0x6fca5f8ed9aef3bb}, + {0x8aec23d680043bee, 0x25de7bb9480d5854}, + {0xada72ccc20054ae9, 0xaf561aa79a10ae6a}, + {0xd910f7ff28069da4, 0x1b2ba1518094da04}, + {0x87aa9aff79042286, 0x90fb44d2f05d0842}, + {0xa99541bf57452b28, 0x353a1607ac744a53}, + {0xd3fa922f2d1675f2, 0x42889b8997915ce8}, + {0x847c9b5d7c2e09b7, 0x69956135febada11}, + {0xa59bc234db398c25, 0x43fab9837e699095}, + {0xcf02b2c21207ef2e, 0x94f967e45e03f4bb}, + {0x8161afb94b44f57d, 0x1d1be0eebac278f5}, + {0xa1ba1ba79e1632dc, 0x6462d92a69731732}, + {0xca28a291859bbf93, 0x7d7b8f7503cfdcfe}, + {0xfcb2cb35e702af78, 0x5cda735244c3d43e}, + {0x9defbf01b061adab, 0x3a0888136afa64a7}, + {0xc56baec21c7a1916, 0x088aaa1845b8fdd0}, + {0xf6c69a72a3989f5b, 0x8aad549e57273d45}, + {0x9a3c2087a63f6399, 0x36ac54e2f678864b}, + {0xc0cb28a98fcf3c7f, 0x84576a1bb416a7dd}, + {0xf0fdf2d3f3c30b9f, 0x656d44a2a11c51d5}, + {0x969eb7c47859e743, 0x9f644ae5a4b1b325}, + {0xbc4665b596706114, 0x873d5d9f0dde1fee}, + {0xeb57ff22fc0c7959, 0xa90cb506d155a7ea}, + {0x9316ff75dd87cbd8, 0x09a7f12442d588f2}, + {0xb7dcbf5354e9bece, 0x0c11ed6d538aeb2f}, + {0xe5d3ef282a242e81, 0x8f1668c8a86da5fa}, + {0x8fa475791a569d10, 0xf96e017d694487bc}, + {0xb38d92d760ec4455, 0x37c981dcc395a9ac}, + {0xe070f78d3927556a, 0x85bbe253f47b1417}, + {0x8c469ab843b89562, 0x93956d7478ccec8e}, + {0xaf58416654a6babb, 0x387ac8d1970027b2}, + {0xdb2e51bfe9d0696a, 0x06997b05fcc0319e}, + {0x88fcf317f22241e2, 0x441fece3bdf81f03}, + {0xab3c2fddeeaad25a, 0xd527e81cad7626c3}, + {0xd60b3bd56a5586f1, 0x8a71e223d8d3b074}, + {0x85c7056562757456, 0xf6872d5667844e49}, + {0xa738c6bebb12d16c, 0xb428f8ac016561db}, + {0xd106f86e69d785c7, 0xe13336d701beba52}, + {0x82a45b450226b39c, 0xecc0024661173473}, + {0xa34d721642b06084, 0x27f002d7f95d0190}, + {0xcc20ce9bd35c78a5, 0x31ec038df7b441f4}, + {0xff290242c83396ce, 0x7e67047175a15271}, + {0x9f79a169bd203e41, 0x0f0062c6e984d386}, + {0xc75809c42c684dd1, 0x52c07b78a3e60868}, + {0xf92e0c3537826145, 0xa7709a56ccdf8a82}, + {0x9bbcc7a142b17ccb, 0x88a66076400bb691}, + {0xc2abf989935ddbfe, 0x6acff893d00ea435}, + {0xf356f7ebf83552fe, 0x0583f6b8c4124d43}, + {0x98165af37b2153de, 0xc3727a337a8b704a}, + {0xbe1bf1b059e9a8d6, 0x744f18c0592e4c5c}, + {0xeda2ee1c7064130c, 0x1162def06f79df73}, + {0x9485d4d1c63e8be7, 0x8addcb5645ac2ba8}, + {0xb9a74a0637ce2ee1, 0x6d953e2bd7173692}, + {0xe8111c87c5c1ba99, 0xc8fa8db6ccdd0437}, + {0x910ab1d4db9914a0, 0x1d9c9892400a22a2}, + {0xb54d5e4a127f59c8, 0x2503beb6d00cab4b}, + {0xe2a0b5dc971f303a, 0x2e44ae64840fd61d}, + {0x8da471a9de737e24, 0x5ceaecfed289e5d2}, + {0xb10d8e1456105dad, 0x7425a83e872c5f47}, + {0xdd50f1996b947518, 0xd12f124e28f77719}, + {0x8a5296ffe33cc92f, 0x82bd6b70d99aaa6f}, + {0xace73cbfdc0bfb7b, 0x636cc64d1001550b}, + {0xd8210befd30efa5a, 0x3c47f7e05401aa4e}, + {0x8714a775e3e95c78, 0x65acfaec34810a71}, + {0xa8d9d1535ce3b396, 0x7f1839a741a14d0d}, + {0xd31045a8341ca07c, 0x1ede48111209a050}, + {0x83ea2b892091e44d, 0x934aed0aab460432}, + {0xa4e4b66b68b65d60, 0xf81da84d5617853f}, + {0xce1de40642e3f4b9, 0x36251260ab9d668e}, + {0x80d2ae83e9ce78f3, 0xc1d72b7c6b426019}, + {0xa1075a24e4421730, 0xb24cf65b8612f81f}, + {0xc94930ae1d529cfc, 0xdee033f26797b627}, + {0xfb9b7cd9a4a7443c, 0x169840ef017da3b1}, + {0x9d412e0806e88aa5, 0x8e1f289560ee864e}, + {0xc491798a08a2ad4e, 0xf1a6f2bab92a27e2}, + {0xf5b5d7ec8acb58a2, 0xae10af696774b1db}, + {0x9991a6f3d6bf1765, 0xacca6da1e0a8ef29}, + {0xbff610b0cc6edd3f, 0x17fd090a58d32af3}, + {0xeff394dcff8a948e, 0xddfc4b4cef07f5b0}, + {0x95f83d0a1fb69cd9, 0x4abdaf101564f98e}, + {0xbb764c4ca7a4440f, 0x9d6d1ad41abe37f1}, + {0xea53df5fd18d5513, 0x84c86189216dc5ed}, + {0x92746b9be2f8552c, 0x32fd3cf5b4e49bb4}, + {0xb7118682dbb66a77, 0x3fbc8c33221dc2a1}, + {0xe4d5e82392a40515, 0x0fabaf3feaa5334a}, + {0x8f05b1163ba6832d, 0x29cb4d87f2a7400e}, + {0xb2c71d5bca9023f8, 0x743e20e9ef511012}, + {0xdf78e4b2bd342cf6, 0x914da9246b255416}, + {0x8bab8eefb6409c1a, 0x1ad089b6c2f7548e}, + {0xae9672aba3d0c320, 0xa184ac2473b529b1}, + {0xda3c0f568cc4f3e8, 0xc9e5d72d90a2741e}, + {0x8865899617fb1871, 0x7e2fa67c7a658892}, + {0xaa7eebfb9df9de8d, 0xddbb901b98feeab7}, + {0xd51ea6fa85785631, 0x552a74227f3ea565}, + {0x8533285c936b35de, 0xd53a88958f87275f}, + {0xa67ff273b8460356, 0x8a892abaf368f137}, + {0xd01fef10a657842c, 0x2d2b7569b0432d85}, + {0x8213f56a67f6b29b, 0x9c3b29620e29fc73}, + {0xa298f2c501f45f42, 0x8349f3ba91b47b8f}, + {0xcb3f2f7642717713, 0x241c70a936219a73}, + {0xfe0efb53d30dd4d7, 0xed238cd383aa0110}, + {0x9ec95d1463e8a506, 0xf4363804324a40aa}, + {0xc67bb4597ce2ce48, 0xb143c6053edcd0d5}, + {0xf81aa16fdc1b81da, 0xdd94b7868e94050a}, + {0x9b10a4e5e9913128, 0xca7cf2b4191c8326}, + {0xc1d4ce1f63f57d72, 0xfd1c2f611f63a3f0}, + {0xf24a01a73cf2dccf, 0xbc633b39673c8cec}, + {0x976e41088617ca01, 0xd5be0503e085d813}, + {0xbd49d14aa79dbc82, 0x4b2d8644d8a74e18}, + {0xec9c459d51852ba2, 0xddf8e7d60ed1219e}, + {0x93e1ab8252f33b45, 0xcabb90e5c942b503}, + {0xb8da1662e7b00a17, 0x3d6a751f3b936243}, + {0xe7109bfba19c0c9d, 0x0cc512670a783ad4}, + {0x906a617d450187e2, 0x27fb2b80668b24c5}, + {0xb484f9dc9641e9da, 0xb1f9f660802dedf6}, + {0xe1a63853bbd26451, 0x5e7873f8a0396973}, + {0x8d07e33455637eb2, 0xdb0b487b6423e1e8}, + {0xb049dc016abc5e5f, 0x91ce1a9a3d2cda62}, + {0xdc5c5301c56b75f7, 0x7641a140cc7810fb}, + {0x89b9b3e11b6329ba, 0xa9e904c87fcb0a9d}, + {0xac2820d9623bf429, 0x546345fa9fbdcd44}, + {0xd732290fbacaf133, 0xa97c177947ad4095}, + {0x867f59a9d4bed6c0, 0x49ed8eabcccc485d}, + {0xa81f301449ee8c70, 0x5c68f256bfff5a74}, + {0xd226fc195c6a2f8c, 0x73832eec6fff3111}, + {0x83585d8fd9c25db7, 0xc831fd53c5ff7eab}, + {0xa42e74f3d032f525, 0xba3e7ca8b77f5e55}, + {0xcd3a1230c43fb26f, 0x28ce1bd2e55f35eb}, + {0x80444b5e7aa7cf85, 0x7980d163cf5b81b3}, + {0xa0555e361951c366, 0xd7e105bcc332621f}, + {0xc86ab5c39fa63440, 0x8dd9472bf3fefaa7}, + {0xfa856334878fc150, 0xb14f98f6f0feb951}, + {0x9c935e00d4b9d8d2, 0x6ed1bf9a569f33d3}, + {0xc3b8358109e84f07, 0x0a862f80ec4700c8}, + {0xf4a642e14c6262c8, 0xcd27bb612758c0fa}, + {0x98e7e9cccfbd7dbd, 0x8038d51cb897789c}, + {0xbf21e44003acdd2c, 0xe0470a63e6bd56c3}, + {0xeeea5d5004981478, 0x1858ccfce06cac74}, + {0x95527a5202df0ccb, 0x0f37801e0c43ebc8}, + {0xbaa718e68396cffd, 0xd30560258f54e6ba}, + {0xe950df20247c83fd, 0x47c6b82ef32a2069}, + {0x91d28b7416cdd27e, 0x4cdc331d57fa5441}, + {0xb6472e511c81471d, 0xe0133fe4adf8e952}, + {0xe3d8f9e563a198e5, 0x58180fddd97723a6}, + {0x8e679c2f5e44ff8f, 0x570f09eaa7ea7648}, + {0xb201833b35d63f73, 0x2cd2cc6551e513da}, + {0xde81e40a034bcf4f, 0xf8077f7ea65e58d1}, + {0x8b112e86420f6191, 0xfb04afaf27faf782}, + {0xadd57a27d29339f6, 0x79c5db9af1f9b563}, + {0xd94ad8b1c7380874, 0x18375281ae7822bc}, + {0x87cec76f1c830548, 0x8f2293910d0b15b5}, + {0xa9c2794ae3a3c69a, 0xb2eb3875504ddb22}, + {0xd433179d9c8cb841, 0x5fa60692a46151eb}, + {0x849feec281d7f328, 0xdbc7c41ba6bcd333}, + {0xa5c7ea73224deff3, 0x12b9b522906c0800}, + {0xcf39e50feae16bef, 0xd768226b34870a00}, + {0x81842f29f2cce375, 0xe6a1158300d46640}, + {0xa1e53af46f801c53, 0x60495ae3c1097fd0}, + {0xca5e89b18b602368, 0x385bb19cb14bdfc4}, + {0xfcf62c1dee382c42, 0x46729e03dd9ed7b5}, + {0x9e19db92b4e31ba9, 0x6c07a2c26a8346d1}, + {0xc5a05277621be293, 0xc7098b7305241885}, + { 0xf70867153aa2db38, + 0xb8cbee4fc66d1ea7 } +#else + {0xff77b1fcbebcdc4f, 0x25e8e89c13bb0f7b}, + {0xce5d73ff402d98e3, 0xfb0a3d212dc81290}, + {0xa6b34ad8c9dfc06f, 0xf42faa48c0ea481f}, + {0x86a8d39ef77164bc, 0xae5dff9c02033198}, + {0xd98ddaee19068c76, 0x3badd624dd9b0958}, + {0xafbd2350644eeacf, 0xe5d1929ef90898fb}, + {0x8df5efabc5979c8f, 0xca8d3ffa1ef463c2}, + {0xe55990879ddcaabd, 0xcc420a6a101d0516}, + {0xb94470938fa89bce, 0xf808e40e8d5b3e6a}, + {0x95a8637627989aad, 0xdde7001379a44aa9}, + {0xf1c90080baf72cb1, 0x5324c68b12dd6339}, + {0xc350000000000000, 0x0000000000000000}, + {0x9dc5ada82b70b59d, 0xf020000000000000}, + {0xfee50b7025c36a08, 0x02f236d04753d5b4}, + {0xcde6fd5e09abcf26, 0xed4c0226b55e6f86}, + {0xa6539930bf6bff45, 0x84db8346b786151c}, + {0x865b86925b9bc5c2, 0x0b8a2392ba45a9b2}, + {0xd910f7ff28069da4, 0x1b2ba1518094da04}, + {0xaf58416654a6babb, 0x387ac8d1970027b2}, + {0x8da471a9de737e24, 0x5ceaecfed289e5d2}, + {0xe4d5e82392a40515, 0x0fabaf3feaa5334a}, + {0xb8da1662e7b00a17, 0x3d6a751f3b936243}, + { 0x95527a5202df0ccb, + 0x0f37801e0c43ebc8 } +#endif + }; + +#if FMT_USE_FULL_CACHE_DRAGONBOX + return pow10_significands[k - float_info::min_k]; +#else + static constexpr const uint64_t powers_of_5_64[] = { + 0x0000000000000001, 0x0000000000000005, 0x0000000000000019, + 0x000000000000007d, 0x0000000000000271, 0x0000000000000c35, + 0x0000000000003d09, 0x000000000001312d, 0x000000000005f5e1, + 0x00000000001dcd65, 0x00000000009502f9, 0x0000000002e90edd, + 0x000000000e8d4a51, 0x0000000048c27395, 0x000000016bcc41e9, + 0x000000071afd498d, 0x0000002386f26fc1, 0x000000b1a2bc2ec5, + 0x000003782dace9d9, 0x00001158e460913d, 0x000056bc75e2d631, + 0x0001b1ae4d6e2ef5, 0x000878678326eac9, 0x002a5a058fc295ed, + 0x00d3c21bcecceda1, 0x0422ca8b0a00a425, 0x14adf4b7320334b9}; + + static constexpr const uint32_t pow10_recovery_errors[] = { + 0x50001400, 0x54044100, 0x54014555, 0x55954415, 0x54115555, 0x00000001, + 0x50000000, 0x00104000, 0x54010004, 0x05004001, 0x55555544, 0x41545555, + 0x54040551, 0x15445545, 0x51555514, 0x10000015, 0x00101100, 0x01100015, + 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x04450514, 0x45414110, + 0x55555145, 0x50544050, 0x15040155, 0x11054140, 0x50111514, 0x11451454, + 0x00400541, 0x00000000, 0x55555450, 0x10056551, 0x10054011, 0x55551014, + 0x69514555, 0x05151109, 0x00155555}; + + static const int compression_ratio = 27; + + // Compute base index. + int cache_index = (k - float_info::min_k) / compression_ratio; + int kb = cache_index * compression_ratio + float_info::min_k; + int offset = k - kb; + + // Get base cache. + uint128_wrapper base_cache = pow10_significands[cache_index]; + if (offset == 0) return base_cache; + + // Compute the required amount of bit-shift. + int alpha = floor_log2_pow10(kb + offset) - floor_log2_pow10(kb) - offset; + FMT_ASSERT(alpha > 0 && alpha < 64, "shifting error detected"); + + // Try to recover the real cache. + uint64_t pow5 = powers_of_5_64[offset]; + uint128_wrapper recovered_cache = umul128(base_cache.high(), pow5); + uint128_wrapper middle_low = + umul128(base_cache.low() - (kb < 0 ? 1u : 0u), pow5); + + recovered_cache += middle_low.high(); + + uint64_t high_to_middle = recovered_cache.high() << (64 - alpha); + uint64_t middle_to_low = recovered_cache.low() << (64 - alpha); + + recovered_cache = + uint128_wrapper{(recovered_cache.low() >> alpha) | high_to_middle, + ((middle_low.low() >> alpha) | middle_to_low)}; + + if (kb < 0) recovered_cache += 1; + + // Get error. + int error_idx = (k - float_info::min_k) / 16; + uint32_t error = (pow10_recovery_errors[error_idx] >> + ((k - float_info::min_k) % 16) * 2) & + 0x3; + + // Add the error back. + FMT_ASSERT(recovered_cache.low() + error >= recovered_cache.low(), ""); + return {recovered_cache.high(), recovered_cache.low() + error}; +#endif + } + + static carrier_uint compute_mul(carrier_uint u, + const cache_entry_type& cache) FMT_NOEXCEPT { + return umul192_upper64(u, cache); + } + + static uint32_t compute_delta(cache_entry_type const& cache, + int beta_minus_1) FMT_NOEXCEPT { + return static_cast(cache.high() >> (64 - 1 - beta_minus_1)); + } + + static bool compute_mul_parity(carrier_uint two_f, + const cache_entry_type& cache, + int beta_minus_1) FMT_NOEXCEPT { + FMT_ASSERT(beta_minus_1 >= 1, ""); + FMT_ASSERT(beta_minus_1 < 64, ""); + + return ((umul192_middle64(two_f, cache) >> (64 - beta_minus_1)) & 1) != 0; + } + + static carrier_uint compute_left_endpoint_for_shorter_interval_case( + const cache_entry_type& cache, int beta_minus_1) FMT_NOEXCEPT { + return (cache.high() - + (cache.high() >> (float_info::significand_bits + 2))) >> + (64 - float_info::significand_bits - 1 - beta_minus_1); + } + + static carrier_uint compute_right_endpoint_for_shorter_interval_case( + const cache_entry_type& cache, int beta_minus_1) FMT_NOEXCEPT { + return (cache.high() + + (cache.high() >> (float_info::significand_bits + 1))) >> + (64 - float_info::significand_bits - 1 - beta_minus_1); + } + + static carrier_uint compute_round_up_for_shorter_interval_case( + const cache_entry_type& cache, int beta_minus_1) FMT_NOEXCEPT { + return ((cache.high() >> + (64 - float_info::significand_bits - 2 - beta_minus_1)) + + 1) / + 2; + } +}; + +// Various integer checks +template +bool is_left_endpoint_integer_shorter_interval(int exponent) FMT_NOEXCEPT { + return exponent >= + float_info< + T>::case_shorter_interval_left_endpoint_lower_threshold && + exponent <= + float_info::case_shorter_interval_left_endpoint_upper_threshold; +} +template +bool is_endpoint_integer(typename float_info::carrier_uint two_f, + int exponent, int minus_k) FMT_NOEXCEPT { + if (exponent < float_info::case_fc_pm_half_lower_threshold) return false; + // For k >= 0. + if (exponent <= float_info::case_fc_pm_half_upper_threshold) return true; + // For k < 0. + if (exponent > float_info::divisibility_check_by_5_threshold) return false; + return divisible_by_power_of_5(two_f, minus_k); +} + +template +bool is_center_integer(typename float_info::carrier_uint two_f, int exponent, + int minus_k) FMT_NOEXCEPT { + // Exponent for 5 is negative. + if (exponent > float_info::divisibility_check_by_5_threshold) return false; + if (exponent > float_info::case_fc_upper_threshold) + return divisible_by_power_of_5(two_f, minus_k); + // Both exponents are nonnegative. + if (exponent >= float_info::case_fc_lower_threshold) return true; + // Exponent for 2 is negative. + return divisible_by_power_of_2(two_f, minus_k - exponent + 1); +} + +// Remove trailing zeros from n and return the number of zeros removed (float) +FMT_INLINE int remove_trailing_zeros(uint32_t& n) FMT_NOEXCEPT { +#ifdef FMT_BUILTIN_CTZ + int t = FMT_BUILTIN_CTZ(n); +#else + int t = ctz(n); +#endif + if (t > float_info::max_trailing_zeros) + t = float_info::max_trailing_zeros; + + const uint32_t mod_inv1 = 0xcccccccd; + const uint32_t max_quotient1 = 0x33333333; + const uint32_t mod_inv2 = 0xc28f5c29; + const uint32_t max_quotient2 = 0x0a3d70a3; + + int s = 0; + for (; s < t - 1; s += 2) { + if (n * mod_inv2 > max_quotient2) break; + n *= mod_inv2; + } + if (s < t && n * mod_inv1 <= max_quotient1) { + n *= mod_inv1; + ++s; + } + n >>= s; + return s; +} + +// Removes trailing zeros and returns the number of zeros removed (double) +FMT_INLINE int remove_trailing_zeros(uint64_t& n) FMT_NOEXCEPT { +#ifdef FMT_BUILTIN_CTZLL + int t = FMT_BUILTIN_CTZLL(n); +#else + int t = ctzll(n); +#endif + if (t > float_info::max_trailing_zeros) + t = float_info::max_trailing_zeros; + // Divide by 10^8 and reduce to 32-bits + // Since ret_value.significand <= (2^64 - 1) / 1000 < 10^17, + // both of the quotient and the r should fit in 32-bits + + const uint32_t mod_inv1 = 0xcccccccd; + const uint32_t max_quotient1 = 0x33333333; + const uint64_t mod_inv8 = 0xc767074b22e90e21; + const uint64_t max_quotient8 = 0x00002af31dc46118; + + // If the number is divisible by 1'0000'0000, work with the quotient + if (t >= 8) { + auto quotient_candidate = n * mod_inv8; + + if (quotient_candidate <= max_quotient8) { + auto quotient = static_cast(quotient_candidate >> 8); + + int s = 8; + for (; s < t; ++s) { + if (quotient * mod_inv1 > max_quotient1) break; + quotient *= mod_inv1; + } + quotient >>= (s - 8); + n = quotient; + return s; + } + } + + // Otherwise, work with the remainder + auto quotient = static_cast(n / 100000000); + auto remainder = static_cast(n - 100000000 * quotient); + + if (t == 0 || remainder * mod_inv1 > max_quotient1) { + return 0; + } + remainder *= mod_inv1; + + if (t == 1 || remainder * mod_inv1 > max_quotient1) { + n = (remainder >> 1) + quotient * 10000000ull; + return 1; + } + remainder *= mod_inv1; + + if (t == 2 || remainder * mod_inv1 > max_quotient1) { + n = (remainder >> 2) + quotient * 1000000ull; + return 2; + } + remainder *= mod_inv1; + + if (t == 3 || remainder * mod_inv1 > max_quotient1) { + n = (remainder >> 3) + quotient * 100000ull; + return 3; + } + remainder *= mod_inv1; + + if (t == 4 || remainder * mod_inv1 > max_quotient1) { + n = (remainder >> 4) + quotient * 10000ull; + return 4; + } + remainder *= mod_inv1; + + if (t == 5 || remainder * mod_inv1 > max_quotient1) { + n = (remainder >> 5) + quotient * 1000ull; + return 5; + } + remainder *= mod_inv1; + + if (t == 6 || remainder * mod_inv1 > max_quotient1) { + n = (remainder >> 6) + quotient * 100ull; + return 6; + } + remainder *= mod_inv1; + + n = (remainder >> 7) + quotient * 10ull; + return 7; +} + +// The main algorithm for shorter interval case +template +FMT_INLINE decimal_fp shorter_interval_case(int exponent) FMT_NOEXCEPT { + decimal_fp ret_value; + // Compute k and beta + const int minus_k = floor_log10_pow2_minus_log10_4_over_3(exponent); + const int beta_minus_1 = exponent + floor_log2_pow10(-minus_k); + + // Compute xi and zi + using cache_entry_type = typename cache_accessor::cache_entry_type; + const cache_entry_type cache = cache_accessor::get_cached_power(-minus_k); + + auto xi = cache_accessor::compute_left_endpoint_for_shorter_interval_case( + cache, beta_minus_1); + auto zi = cache_accessor::compute_right_endpoint_for_shorter_interval_case( + cache, beta_minus_1); + + // If the left endpoint is not an integer, increase it + if (!is_left_endpoint_integer_shorter_interval(exponent)) ++xi; + + // Try bigger divisor + ret_value.significand = zi / 10; + + // If succeed, remove trailing zeros if necessary and return + if (ret_value.significand * 10 >= xi) { + ret_value.exponent = minus_k + 1; + ret_value.exponent += remove_trailing_zeros(ret_value.significand); + return ret_value; + } + + // Otherwise, compute the round-up of y + ret_value.significand = + cache_accessor::compute_round_up_for_shorter_interval_case( + cache, beta_minus_1); + ret_value.exponent = minus_k; + + // When tie occurs, choose one of them according to the rule + if (exponent >= float_info::shorter_interval_tie_lower_threshold && + exponent <= float_info::shorter_interval_tie_upper_threshold) { + ret_value.significand = ret_value.significand % 2 == 0 + ? ret_value.significand + : ret_value.significand - 1; + } else if (ret_value.significand < xi) { + ++ret_value.significand; + } + return ret_value; +} + +template decimal_fp to_decimal(T x) FMT_NOEXCEPT { + // Step 1: integer promotion & Schubfach multiplier calculation. + + using carrier_uint = typename float_info::carrier_uint; + using cache_entry_type = typename cache_accessor::cache_entry_type; + auto br = bit_cast(x); + + // Extract significand bits and exponent bits. + const carrier_uint significand_mask = + (static_cast(1) << float_info::significand_bits) - 1; + carrier_uint significand = (br & significand_mask); + int exponent = static_cast((br & exponent_mask()) >> + float_info::significand_bits); + + if (exponent != 0) { // Check if normal. + exponent += float_info::exponent_bias - float_info::significand_bits; + + // Shorter interval case; proceed like Schubfach. + if (significand == 0) return shorter_interval_case(exponent); + + significand |= + (static_cast(1) << float_info::significand_bits); + } else { + // Subnormal case; the interval is always regular. + if (significand == 0) return {0, 0}; + exponent = float_info::min_exponent - float_info::significand_bits; + } + + const bool include_left_endpoint = (significand % 2 == 0); + const bool include_right_endpoint = include_left_endpoint; + + // Compute k and beta. + const int minus_k = floor_log10_pow2(exponent) - float_info::kappa; + const cache_entry_type cache = cache_accessor::get_cached_power(-minus_k); + const int beta_minus_1 = exponent + floor_log2_pow10(-minus_k); + + // Compute zi and deltai + // 10^kappa <= deltai < 10^(kappa + 1) + const uint32_t deltai = cache_accessor::compute_delta(cache, beta_minus_1); + const carrier_uint two_fc = significand << 1; + const carrier_uint two_fr = two_fc | 1; + const carrier_uint zi = + cache_accessor::compute_mul(two_fr << beta_minus_1, cache); + + // Step 2: Try larger divisor; remove trailing zeros if necessary + + // Using an upper bound on zi, we might be able to optimize the division + // better than the compiler; we are computing zi / big_divisor here + decimal_fp ret_value; + ret_value.significand = divide_by_10_to_kappa_plus_1(zi); + uint32_t r = static_cast(zi - float_info::big_divisor * + ret_value.significand); + + if (r > deltai) { + goto small_divisor_case_label; + } else if (r < deltai) { + // Exclude the right endpoint if necessary + if (r == 0 && !include_right_endpoint && + is_endpoint_integer(two_fr, exponent, minus_k)) { + --ret_value.significand; + r = float_info::big_divisor; + goto small_divisor_case_label; + } + } else { + // r == deltai; compare fractional parts + // Check conditions in the order different from the paper + // to take advantage of short-circuiting + const carrier_uint two_fl = two_fc - 1; + if ((!include_left_endpoint || + !is_endpoint_integer(two_fl, exponent, minus_k)) && + !cache_accessor::compute_mul_parity(two_fl, cache, beta_minus_1)) { + goto small_divisor_case_label; + } + } + ret_value.exponent = minus_k + float_info::kappa + 1; + + // We may need to remove trailing zeros + ret_value.exponent += remove_trailing_zeros(ret_value.significand); + return ret_value; + + // Step 3: Find the significand with the smaller divisor + +small_divisor_case_label: + ret_value.significand *= 10; + ret_value.exponent = minus_k + float_info::kappa; + + const uint32_t mask = (1u << float_info::kappa) - 1; + auto dist = r - (deltai / 2) + (float_info::small_divisor / 2); + + // Is dist divisible by 2^kappa? + if ((dist & mask) == 0) { + const bool approx_y_parity = + ((dist ^ (float_info::small_divisor / 2)) & 1) != 0; + dist >>= float_info::kappa; + + // Is dist divisible by 5^kappa? + if (check_divisibility_and_divide_by_pow5::kappa>(dist)) { + ret_value.significand += dist; + + // Check z^(f) >= epsilon^(f) + // We have either yi == zi - epsiloni or yi == (zi - epsiloni) - 1, + // where yi == zi - epsiloni if and only if z^(f) >= epsilon^(f) + // Since there are only 2 possibilities, we only need to care about the + // parity. Also, zi and r should have the same parity since the divisor + // is an even number + if (cache_accessor::compute_mul_parity(two_fc, cache, beta_minus_1) != + approx_y_parity) { + --ret_value.significand; + } else { + // If z^(f) >= epsilon^(f), we might have a tie + // when z^(f) == epsilon^(f), or equivalently, when y is an integer + if (is_center_integer(two_fc, exponent, minus_k)) { + ret_value.significand = ret_value.significand % 2 == 0 + ? ret_value.significand + : ret_value.significand - 1; + } + } + } + // Is dist not divisible by 5^kappa? + else { + ret_value.significand += dist; + } + } + // Is dist not divisible by 2^kappa? + else { + // Since we know dist is small, we might be able to optimize the division + // better than the compiler; we are computing dist / small_divisor here + ret_value.significand += + small_division_by_pow10::kappa>(dist); + } + return ret_value; +} +} // namespace dragonbox + +// Formats value using a variation of the Fixed-Precision Positive +// Floating-Point Printout ((FPP)^2) algorithm by Steele & White: +// https://fmt.dev/papers/p372-steele.pdf. +template +void fallback_format(Double d, int num_digits, bool binary32, buffer& buf, + int& exp10) { + bigint numerator; // 2 * R in (FPP)^2. + bigint denominator; // 2 * S in (FPP)^2. + // lower and upper are differences between value and corresponding boundaries. + bigint lower; // (M^- in (FPP)^2). + bigint upper_store; // upper's value if different from lower. + bigint* upper = nullptr; // (M^+ in (FPP)^2). + fp value; + // Shift numerator and denominator by an extra bit or two (if lower boundary + // is closer) to make lower and upper integers. This eliminates multiplication + // by 2 during later computations. + const bool is_predecessor_closer = + binary32 ? value.assign(static_cast(d)) : value.assign(d); + int shift = is_predecessor_closer ? 2 : 1; + uint64_t significand = value.f << shift; + if (value.e >= 0) { + numerator.assign(significand); + numerator <<= value.e; + lower.assign(1); + lower <<= value.e; + if (shift != 1) { + upper_store.assign(1); + upper_store <<= value.e + 1; + upper = &upper_store; + } + denominator.assign_pow10(exp10); + denominator <<= shift; + } else if (exp10 < 0) { + numerator.assign_pow10(-exp10); + lower.assign(numerator); + if (shift != 1) { + upper_store.assign(numerator); + upper_store <<= 1; + upper = &upper_store; + } + numerator *= significand; + denominator.assign(1); + denominator <<= shift - value.e; + } else { + numerator.assign(significand); + denominator.assign_pow10(exp10); + denominator <<= shift - value.e; + lower.assign(1); + if (shift != 1) { + upper_store.assign(1ULL << 1); + upper = &upper_store; + } + } + // Invariant: value == (numerator / denominator) * pow(10, exp10). + if (num_digits < 0) { + // Generate the shortest representation. + if (!upper) upper = &lower; + bool even = (value.f & 1) == 0; + num_digits = 0; + char* data = buf.data(); + for (;;) { + int digit = numerator.divmod_assign(denominator); + bool low = compare(numerator, lower) - even < 0; // numerator <[=] lower. + // numerator + upper >[=] pow10: + bool high = add_compare(numerator, *upper, denominator) + even > 0; + data[num_digits++] = static_cast('0' + digit); + if (low || high) { + if (!low) { + ++data[num_digits - 1]; + } else if (high) { + int result = add_compare(numerator, numerator, denominator); + // Round half to even. + if (result > 0 || (result == 0 && (digit % 2) != 0)) + ++data[num_digits - 1]; + } + buf.try_resize(to_unsigned(num_digits)); + exp10 -= num_digits - 1; + return; + } + numerator *= 10; + lower *= 10; + if (upper != &lower) *upper *= 10; + } + } + // Generate the given number of digits. + exp10 -= num_digits - 1; + if (num_digits == 0) { + buf.try_resize(1); + denominator *= 10; + buf[0] = add_compare(numerator, numerator, denominator) > 0 ? '1' : '0'; + return; + } + buf.try_resize(to_unsigned(num_digits)); + for (int i = 0; i < num_digits - 1; ++i) { + int digit = numerator.divmod_assign(denominator); + buf[i] = static_cast('0' + digit); + numerator *= 10; + } + int digit = numerator.divmod_assign(denominator); + auto result = add_compare(numerator, numerator, denominator); + if (result > 0 || (result == 0 && (digit % 2) != 0)) { + if (digit == 9) { + const auto overflow = '0' + 10; + buf[num_digits - 1] = overflow; + // Propagate the carry. + for (int i = num_digits - 1; i > 0 && buf[i] == overflow; --i) { + buf[i] = '0'; + ++buf[i - 1]; + } + if (buf[0] == overflow) { + buf[0] = '1'; + ++exp10; + } + return; + } + ++digit; + } + buf[num_digits - 1] = static_cast('0' + digit); +} + +template +int format_float(T value, int precision, float_specs specs, buffer& buf) { + static_assert(!std::is_same::value, ""); + FMT_ASSERT(value >= 0, "value is negative"); + + const bool fixed = specs.format == float_format::fixed; + if (value <= 0) { // <= instead of == to silence a warning. + if (precision <= 0 || !fixed) { + buf.push_back('0'); + return 0; + } + buf.try_resize(to_unsigned(precision)); + std::uninitialized_fill_n(buf.data(), precision, '0'); + return -precision; + } + + if (!specs.use_grisu) return snprintf_float(value, precision, specs, buf); + + if (precision < 0) { + // Use Dragonbox for the shortest format. + if (specs.binary32) { + auto dec = dragonbox::to_decimal(static_cast(value)); + write(buffer_appender(buf), dec.significand); + return dec.exponent; + } + auto dec = dragonbox::to_decimal(static_cast(value)); + write(buffer_appender(buf), dec.significand); + return dec.exponent; + } + + // Use Grisu + Dragon4 for the given precision: + // https://www.cs.tufts.edu/~nr/cs257/archive/florian-loitsch/printf.pdf. + int exp = 0; + const int min_exp = -60; // alpha in Grisu. + int cached_exp10 = 0; // K in Grisu. + fp normalized = normalize(fp(value)); + const auto cached_pow = get_cached_power( + min_exp - (normalized.e + fp::significand_size), cached_exp10); + normalized = normalized * cached_pow; + // Limit precision to the maximum possible number of significant digits in an + // IEEE754 double because we don't need to generate zeros. + const int max_double_digits = 767; + if (precision > max_double_digits) precision = max_double_digits; + fixed_handler handler{buf.data(), 0, precision, -cached_exp10, fixed}; + if (grisu_gen_digits(normalized, 1, exp, handler) == digits::error) { + exp += handler.size - cached_exp10 - 1; + fallback_format(value, handler.precision, specs.binary32, buf, exp); + } else { + exp += handler.exp10; + buf.try_resize(to_unsigned(handler.size)); + } + if (!fixed && !specs.showpoint) { + // Remove trailing zeros. + auto num_digits = buf.size(); + while (num_digits > 0 && buf[num_digits - 1] == '0') { + --num_digits; + ++exp; + } + buf.try_resize(num_digits); + } + return exp; +} // namespace detail + +template +int snprintf_float(T value, int precision, float_specs specs, + buffer& buf) { + // Buffer capacity must be non-zero, otherwise MSVC's vsnprintf_s will fail. + FMT_ASSERT(buf.capacity() > buf.size(), "empty buffer"); + static_assert(!std::is_same::value, ""); + + // Subtract 1 to account for the difference in precision since we use %e for + // both general and exponent format. + if (specs.format == float_format::general || + specs.format == float_format::exp) + precision = (precision >= 0 ? precision : 6) - 1; + + // Build the format string. + enum { max_format_size = 7 }; // The longest format is "%#.*Le". + char format[max_format_size]; + char* format_ptr = format; + *format_ptr++ = '%'; + if (specs.showpoint && specs.format == float_format::hex) *format_ptr++ = '#'; + if (precision >= 0) { + *format_ptr++ = '.'; + *format_ptr++ = '*'; + } + if (std::is_same()) *format_ptr++ = 'L'; + *format_ptr++ = specs.format != float_format::hex + ? (specs.format == float_format::fixed ? 'f' : 'e') + : (specs.upper ? 'A' : 'a'); + *format_ptr = '\0'; + + // Format using snprintf. + auto offset = buf.size(); + for (;;) { + auto begin = buf.data() + offset; + auto capacity = buf.capacity() - offset; +#ifdef FMT_FUZZ + if (precision > 100000) + throw std::runtime_error( + "fuzz mode - avoid large allocation inside snprintf"); +#endif + // Suppress the warning about a nonliteral format string. + // Cannot use auto because of a bug in MinGW (#1532). + int (*snprintf_ptr)(char*, size_t, const char*, ...) = FMT_SNPRINTF; + int result = precision >= 0 + ? snprintf_ptr(begin, capacity, format, precision, value) + : snprintf_ptr(begin, capacity, format, value); + if (result < 0) { + // The buffer will grow exponentially. + buf.try_reserve(buf.capacity() + 1); + continue; + } + auto size = to_unsigned(result); + // Size equal to capacity means that the last character was truncated. + if (size >= capacity) { + buf.try_reserve(size + offset + 1); // Add 1 for the terminating '\0'. + continue; + } + auto is_digit = [](char c) { return c >= '0' && c <= '9'; }; + if (specs.format == float_format::fixed) { + if (precision == 0) { + buf.try_resize(size); + return 0; + } + // Find and remove the decimal point. + auto end = begin + size, p = end; + do { + --p; + } while (is_digit(*p)); + int fraction_size = static_cast(end - p - 1); + std::memmove(p, p + 1, to_unsigned(fraction_size)); + buf.try_resize(size - 1); + return -fraction_size; + } + if (specs.format == float_format::hex) { + buf.try_resize(size + offset); + return 0; + } + // Find and parse the exponent. + auto end = begin + size, exp_pos = end; + do { + --exp_pos; + } while (*exp_pos != 'e'); + char sign = exp_pos[1]; + FMT_ASSERT(sign == '+' || sign == '-', ""); + int exp = 0; + auto p = exp_pos + 2; // Skip 'e' and sign. + do { + FMT_ASSERT(is_digit(*p), ""); + exp = exp * 10 + (*p++ - '0'); + } while (p != end); + if (sign == '-') exp = -exp; + int fraction_size = 0; + if (exp_pos != begin + 1) { + // Remove trailing zeros. + auto fraction_end = exp_pos - 1; + while (*fraction_end == '0') --fraction_end; + // Move the fractional part left to get rid of the decimal point. + fraction_size = static_cast(fraction_end - begin - 1); + std::memmove(begin + 1, begin + 2, to_unsigned(fraction_size)); + } + buf.try_resize(to_unsigned(fraction_size) + offset + 1); + return exp - fraction_size; + } +} +} // namespace detail + +template <> struct formatter { + FMT_CONSTEXPR format_parse_context::iterator parse( + format_parse_context& ctx) { + return ctx.begin(); + } + + format_context::iterator format(const detail::bigint& n, + format_context& ctx) { + auto out = ctx.out(); + bool first = true; + for (auto i = n.bigits_.size(); i > 0; --i) { + auto value = n.bigits_[i - 1u]; + if (first) { + out = format_to(out, FMT_STRING("{:x}"), value); + first = false; + continue; + } + out = format_to(out, FMT_STRING("{:08x}"), value); + } + if (n.exp_ > 0) + out = format_to(out, FMT_STRING("p{}"), + n.exp_ * detail::bigint::bigit_bits); + return out; + } +}; + +FMT_FUNC detail::utf8_to_utf16::utf8_to_utf16(string_view s) { + for_each_codepoint(s, [this](uint32_t cp, int error) { + if (error != 0) FMT_THROW(std::runtime_error("invalid utf8")); + if (cp <= 0xFFFF) { + buffer_.push_back(static_cast(cp)); + } else { + cp -= 0x10000; + buffer_.push_back(static_cast(0xD800 + (cp >> 10))); + buffer_.push_back(static_cast(0xDC00 + (cp & 0x3FF))); + } + }); + buffer_.push_back(0); +} + +FMT_FUNC void format_system_error(detail::buffer& out, int error_code, + const char* message) FMT_NOEXCEPT { + FMT_TRY { + auto ec = std::error_code(error_code, std::generic_category()); + write(std::back_inserter(out), std::system_error(ec, message).what()); + return; + } + FMT_CATCH(...) {} + format_error_code(out, error_code, message); +} + +FMT_FUNC void detail::error_handler::on_error(const char* message) { + FMT_THROW(format_error(message)); +} + +FMT_FUNC void report_system_error(int error_code, + const char* message) FMT_NOEXCEPT { + report_error(format_system_error, error_code, message); +} + +FMT_FUNC std::string vformat(string_view fmt, format_args args) { + // Don't optimize the "{}" case to keep the binary size small and because it + // can be better optimized in fmt::format anyway. + auto buffer = memory_buffer(); + detail::vformat_to(buffer, fmt, args); + return to_string(buffer); +} + +#ifdef _WIN32 +namespace detail { +using dword = conditional_t; +extern "C" __declspec(dllimport) int __stdcall WriteConsoleW( // + void*, const void*, dword, dword*, void*); +} // namespace detail +#endif + +namespace detail { +FMT_FUNC void print(std::FILE* f, string_view text) { +#ifdef _WIN32 + auto fd = _fileno(f); + if (_isatty(fd)) { + detail::utf8_to_utf16 u16(string_view(text.data(), text.size())); + auto written = detail::dword(); + if (detail::WriteConsoleW(reinterpret_cast(_get_osfhandle(fd)), + u16.c_str(), static_cast(u16.size()), + &written, nullptr)) { + return; + } + // Fallback to fwrite on failure. It can happen if the output has been + // redirected to NUL. + } +#endif + detail::fwrite_fully(text.data(), 1, text.size(), f); +} +} // namespace detail + +FMT_FUNC void vprint(std::FILE* f, string_view format_str, format_args args) { + memory_buffer buffer; + detail::vformat_to(buffer, format_str, args); + detail::print(f, {buffer.data(), buffer.size()}); +} + +#ifdef _WIN32 +// Print assuming legacy (non-Unicode) encoding. +FMT_FUNC void detail::vprint_mojibake(std::FILE* f, string_view format_str, + format_args args) { + memory_buffer buffer; + detail::vformat_to(buffer, format_str, + basic_format_args>(args)); + fwrite_fully(buffer.data(), 1, buffer.size(), f); +} +#endif + +FMT_FUNC void vprint(string_view format_str, format_args args) { + vprint(stdout, format_str, args); +} + +FMT_END_NAMESPACE + +#endif // FMT_FORMAT_INL_H_ diff --git a/LiteLoader/Header/third-party/FMT/format.h b/LiteLoader/Header/third-party/FMT/format.h new file mode 100644 index 0000000..5398a23 --- /dev/null +++ b/LiteLoader/Header/third-party/FMT/format.h @@ -0,0 +1,2830 @@ +/* + Formatting library for C++ + + Copyright (c) 2012 - present, Victor Zverovich + + Permission is hereby granted, free of charge, to any person obtaining + a copy of this software and associated documentation files (the + "Software"), to deal in the Software without restriction, including + without limitation the rights to use, copy, modify, merge, publish, + distribute, sublicense, and/or sell copies of the Software, and to + permit persons to whom the Software is furnished to do so, subject to + the following conditions: + + The above copyright notice and this permission notice shall be + included in all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE + LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION + OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION + WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + + --- Optional exception to the license --- + + As an exception, if, as a result of your compiling your source code, portions + of this Software are embedded into a machine-executable object form of such + source code, you may redistribute such embedded portions in such object form + without including the above copyright and permission notices. + */ + +#ifndef FMT_FORMAT_H_ +#define FMT_FORMAT_H_ + +#include // std::signbit +#include // uint32_t +#include // std::numeric_limits +#include // std::uninitialized_copy +#include // std::runtime_error +#include // std::system_error +#include // std::swap + +#include "core.h" + +#ifdef __INTEL_COMPILER +# define FMT_ICC_VERSION __INTEL_COMPILER +#elif defined(__ICL) +# define FMT_ICC_VERSION __ICL +#else +# define FMT_ICC_VERSION 0 +#endif + +#ifdef __NVCC__ +# define FMT_CUDA_VERSION (__CUDACC_VER_MAJOR__ * 100 + __CUDACC_VER_MINOR__) +#else +# define FMT_CUDA_VERSION 0 +#endif + +#ifdef __has_builtin +# define FMT_HAS_BUILTIN(x) __has_builtin(x) +#else +# define FMT_HAS_BUILTIN(x) 0 +#endif + +#if FMT_GCC_VERSION || FMT_CLANG_VERSION +# define FMT_NOINLINE __attribute__((noinline)) +#else +# define FMT_NOINLINE +#endif + +#if FMT_MSC_VER +# define FMT_MSC_DEFAULT = default +#else +# define FMT_MSC_DEFAULT +#endif + +#ifndef FMT_THROW +# if FMT_EXCEPTIONS +# if FMT_MSC_VER || FMT_NVCC +FMT_BEGIN_NAMESPACE +namespace detail { +template inline void do_throw(const Exception& x) { + // Silence unreachable code warnings in MSVC and NVCC because these + // are nearly impossible to fix in a generic code. + volatile bool b = true; + if (b) throw x; +} +} // namespace detail +FMT_END_NAMESPACE +# define FMT_THROW(x) detail::do_throw(x) +# else +# define FMT_THROW(x) throw x +# endif +# else +# define FMT_THROW(x) \ + do { \ + FMT_ASSERT(false, (x).what()); \ + } while (false) +# endif +#endif + +#if FMT_EXCEPTIONS +# define FMT_TRY try +# define FMT_CATCH(x) catch (x) +#else +# define FMT_TRY if (true) +# define FMT_CATCH(x) if (false) +#endif + +#ifndef FMT_DEPRECATED +# if FMT_HAS_CPP14_ATTRIBUTE(deprecated) || FMT_MSC_VER >= 1900 +# define FMT_DEPRECATED [[deprecated]] +# else +# if (defined(__GNUC__) && !defined(__LCC__)) || defined(__clang__) +# define FMT_DEPRECATED __attribute__((deprecated)) +# elif FMT_MSC_VER +# define FMT_DEPRECATED __declspec(deprecated) +# else +# define FMT_DEPRECATED /* deprecated */ +# endif +# endif +#endif + +// Workaround broken [[deprecated]] in the Intel, PGI and NVCC compilers. +#if FMT_ICC_VERSION || defined(__PGI) || FMT_NVCC +# define FMT_DEPRECATED_ALIAS +#else +# define FMT_DEPRECATED_ALIAS FMT_DEPRECATED +#endif + +#ifndef FMT_USE_USER_DEFINED_LITERALS +// EDG based compilers (Intel, NVIDIA, Elbrus, etc), GCC and MSVC support UDLs. +# if (FMT_HAS_FEATURE(cxx_user_literals) || FMT_GCC_VERSION >= 407 || \ + FMT_MSC_VER >= 1900) && \ + (!defined(__EDG_VERSION__) || __EDG_VERSION__ >= /* UDL feature */ 480) +# define FMT_USE_USER_DEFINED_LITERALS 1 +# else +# define FMT_USE_USER_DEFINED_LITERALS 0 +# endif +#endif + +// Defining FMT_REDUCE_INT_INSTANTIATIONS to 1, will reduce the number of +// integer formatter template instantiations to just one by only using the +// largest integer type. This results in a reduction in binary size but will +// cause a decrease in integer formatting performance. +#if !defined(FMT_REDUCE_INT_INSTANTIATIONS) +# define FMT_REDUCE_INT_INSTANTIATIONS 0 +#endif + +// __builtin_clz is broken in clang with Microsoft CodeGen: +// https://github.com/fmtlib/fmt/issues/519 +#if (FMT_GCC_VERSION || FMT_HAS_BUILTIN(__builtin_clz)) && !FMT_MSC_VER +# define FMT_BUILTIN_CLZ(n) __builtin_clz(n) +#endif +#if (FMT_GCC_VERSION || FMT_HAS_BUILTIN(__builtin_clzll)) && !FMT_MSC_VER +# define FMT_BUILTIN_CLZLL(n) __builtin_clzll(n) +#endif +#if (FMT_GCC_VERSION || FMT_HAS_BUILTIN(__builtin_ctz)) +# define FMT_BUILTIN_CTZ(n) __builtin_ctz(n) +#endif +#if (FMT_GCC_VERSION || FMT_HAS_BUILTIN(__builtin_ctzll)) +# define FMT_BUILTIN_CTZLL(n) __builtin_ctzll(n) +#endif + +#if FMT_MSC_VER +# include // _BitScanReverse[64], _BitScanForward[64], _umul128 +#endif + +// Some compilers masquerade as both MSVC and GCC-likes or otherwise support +// __builtin_clz and __builtin_clzll, so only define FMT_BUILTIN_CLZ using the +// MSVC intrinsics if the clz and clzll builtins are not available. +#if FMT_MSC_VER && !defined(FMT_BUILTIN_CLZLL) && !defined(FMT_BUILTIN_CTZLL) +FMT_BEGIN_NAMESPACE +namespace detail { +// Avoid Clang with Microsoft CodeGen's -Wunknown-pragmas warning. +# if !defined(__clang__) +# pragma managed(push, off) +# pragma intrinsic(_BitScanForward) +# pragma intrinsic(_BitScanReverse) +# if defined(_WIN64) +# pragma intrinsic(_BitScanForward64) +# pragma intrinsic(_BitScanReverse64) +# endif +# endif + +inline auto clz(uint32_t x) -> int { + unsigned long r = 0; + _BitScanReverse(&r, x); + FMT_ASSERT(x != 0, ""); + // Static analysis complains about using uninitialized data + // "r", but the only way that can happen is if "x" is 0, + // which the callers guarantee to not happen. + FMT_MSC_WARNING(suppress : 6102) + return 31 ^ static_cast(r); +} +# define FMT_BUILTIN_CLZ(n) detail::clz(n) + +inline auto clzll(uint64_t x) -> int { + unsigned long r = 0; +# ifdef _WIN64 + _BitScanReverse64(&r, x); +# else + // Scan the high 32 bits. + if (_BitScanReverse(&r, static_cast(x >> 32))) return 63 ^ (r + 32); + // Scan the low 32 bits. + _BitScanReverse(&r, static_cast(x)); +# endif + FMT_ASSERT(x != 0, ""); + FMT_MSC_WARNING(suppress : 6102) // Suppress a bogus static analysis warning. + return 63 ^ static_cast(r); +} +# define FMT_BUILTIN_CLZLL(n) detail::clzll(n) + +inline auto ctz(uint32_t x) -> int { + unsigned long r = 0; + _BitScanForward(&r, x); + FMT_ASSERT(x != 0, ""); + FMT_MSC_WARNING(suppress : 6102) // Suppress a bogus static analysis warning. + return static_cast(r); +} +# define FMT_BUILTIN_CTZ(n) detail::ctz(n) + +inline auto ctzll(uint64_t x) -> int { + unsigned long r = 0; + FMT_ASSERT(x != 0, ""); + FMT_MSC_WARNING(suppress : 6102) // Suppress a bogus static analysis warning. +# ifdef _WIN64 + _BitScanForward64(&r, x); +# else + // Scan the low 32 bits. + if (_BitScanForward(&r, static_cast(x))) return static_cast(r); + // Scan the high 32 bits. + _BitScanForward(&r, static_cast(x >> 32)); + r += 32; +# endif + return static_cast(r); +} +# define FMT_BUILTIN_CTZLL(n) detail::ctzll(n) +# if !defined(__clang__) +# pragma managed(pop) +# endif +} // namespace detail +FMT_END_NAMESPACE +#endif + +FMT_BEGIN_NAMESPACE +namespace detail { + +#if __cplusplus >= 202002L || \ + (__cplusplus >= 201709L && FMT_GCC_VERSION >= 1002) +# define FMT_CONSTEXPR20 constexpr +#else +# define FMT_CONSTEXPR20 +#endif + +// An equivalent of `*reinterpret_cast(&source)` that doesn't have +// undefined behavior (e.g. due to type aliasing). +// Example: uint64_t d = bit_cast(2.718); +template +inline auto bit_cast(const Source& source) -> Dest { + static_assert(sizeof(Dest) == sizeof(Source), "size mismatch"); + Dest dest; + std::memcpy(&dest, &source, sizeof(dest)); + return dest; +} + +inline auto is_big_endian() -> bool { + const auto u = 1u; + struct bytes { + char data[sizeof(u)]; + }; + return bit_cast(u).data[0] == 0; +} + +// A fallback implementation of uintptr_t for systems that lack it. +struct fallback_uintptr { + unsigned char value[sizeof(void*)]; + + fallback_uintptr() = default; + explicit fallback_uintptr(const void* p) { + *this = bit_cast(p); + if (is_big_endian()) { + for (size_t i = 0, j = sizeof(void*) - 1; i < j; ++i, --j) + std::swap(value[i], value[j]); + } + } +}; +#ifdef UINTPTR_MAX +using uintptr_t = ::uintptr_t; +inline auto to_uintptr(const void* p) -> uintptr_t { + return bit_cast(p); +} +#else +using uintptr_t = fallback_uintptr; +inline auto to_uintptr(const void* p) -> fallback_uintptr { + return fallback_uintptr(p); +} +#endif + +// Returns the largest possible value for type T. Same as +// std::numeric_limits::max() but shorter and not affected by the max macro. +template constexpr auto max_value() -> T { + return (std::numeric_limits::max)(); +} +template constexpr auto num_bits() -> int { + return std::numeric_limits::digits; +} +// std::numeric_limits::digits may return 0 for 128-bit ints. +template <> constexpr auto num_bits() -> int { return 128; } +template <> constexpr auto num_bits() -> int { return 128; } +template <> constexpr auto num_bits() -> int { + return static_cast(sizeof(void*) * + std::numeric_limits::digits); +} + +FMT_INLINE void assume(bool condition) { + (void)condition; +#if FMT_HAS_BUILTIN(__builtin_assume) + __builtin_assume(condition); +#endif +} + +// An approximation of iterator_t for pre-C++20 systems. +template +using iterator_t = decltype(std::begin(std::declval())); +template using sentinel_t = decltype(std::end(std::declval())); + +// A workaround for std::string not having mutable data() until C++17. +template +inline auto get_data(std::basic_string& s) -> Char* { + return &s[0]; +} +template +inline auto get_data(Container& c) -> typename Container::value_type* { + return c.data(); +} + +#if defined(_SECURE_SCL) && _SECURE_SCL +// Make a checked iterator to avoid MSVC warnings. +template using checked_ptr = stdext::checked_array_iterator; +template auto make_checked(T* p, size_t size) -> checked_ptr { + return {p, size}; +} +#else +template using checked_ptr = T*; +template inline auto make_checked(T* p, size_t) -> T* { return p; } +#endif + +// Attempts to reserve space for n extra characters in the output range. +// Returns a pointer to the reserved range or a reference to it. +template ::value)> +#if FMT_CLANG_VERSION >= 307 && !FMT_ICC_VERSION +__attribute__((no_sanitize("undefined"))) +#endif +inline auto +reserve(std::back_insert_iterator it, size_t n) + -> checked_ptr { + Container& c = get_container(it); + size_t size = c.size(); + c.resize(size + n); + return make_checked(get_data(c) + size, n); +} + +template +inline auto reserve(buffer_appender it, size_t n) -> buffer_appender { + buffer& buf = get_container(it); + buf.try_reserve(buf.size() + n); + return it; +} + +template +constexpr auto reserve(Iterator& it, size_t) -> Iterator& { + return it; +} + +template +using reserve_iterator = + remove_reference_t(), 0))>; + +template +constexpr auto to_pointer(OutputIt, size_t) -> T* { + return nullptr; +} +template auto to_pointer(buffer_appender it, size_t n) -> T* { + buffer& buf = get_container(it); + auto size = buf.size(); + if (buf.capacity() < size + n) return nullptr; + buf.try_resize(size + n); + return buf.data() + size; +} + +template ::value)> +inline auto base_iterator(std::back_insert_iterator& it, + checked_ptr) + -> std::back_insert_iterator { + return it; +} + +template +constexpr auto base_iterator(Iterator, Iterator it) -> Iterator { + return it; +} + +// is spectacularly slow to compile in C++20 so use a simple fill_n +// instead (#1998). +template +FMT_CONSTEXPR auto fill_n(OutputIt out, Size count, const T& value) + -> OutputIt { + for (Size i = 0; i < count; ++i) *out++ = value; + return out; +} +template +FMT_CONSTEXPR20 auto fill_n(T* out, Size count, char value) -> T* { + if (is_constant_evaluated()) { + return fill_n(out, count, value); + } + std::memset(out, value, to_unsigned(count)); + return out + count; +} + +#ifdef __cpp_char8_t +using char8_type = char8_t; +#else +enum char8_type : unsigned char {}; +#endif + +template +FMT_CONSTEXPR FMT_NOINLINE auto copy_str_noinline(InputIt begin, InputIt end, + OutputIt out) -> OutputIt { + return copy_str(begin, end, out); +} + +// A public domain branchless UTF-8 decoder by Christopher Wellons: +// https://github.com/skeeto/branchless-utf8 +/* Decode the next character, c, from s, reporting errors in e. + * + * Since this is a branchless decoder, four bytes will be read from the + * buffer regardless of the actual length of the next character. This + * means the buffer _must_ have at least three bytes of zero padding + * following the end of the data stream. + * + * Errors are reported in e, which will be non-zero if the parsed + * character was somehow invalid: invalid byte sequence, non-canonical + * encoding, or a surrogate half. + * + * The function returns a pointer to the next character. When an error + * occurs, this pointer will be a guess that depends on the particular + * error, but it will always advance at least one byte. + */ +FMT_CONSTEXPR inline auto utf8_decode(const char* s, uint32_t* c, int* e) + -> const char* { + constexpr const int masks[] = {0x00, 0x7f, 0x1f, 0x0f, 0x07}; + constexpr const uint32_t mins[] = {4194304, 0, 128, 2048, 65536}; + constexpr const int shiftc[] = {0, 18, 12, 6, 0}; + constexpr const int shifte[] = {0, 6, 4, 2, 0}; + + int len = code_point_length(s); + const char* next = s + len; + + // Assume a four-byte character and load four bytes. Unused bits are + // shifted out. + *c = uint32_t(s[0] & masks[len]) << 18; + *c |= uint32_t(s[1] & 0x3f) << 12; + *c |= uint32_t(s[2] & 0x3f) << 6; + *c |= uint32_t(s[3] & 0x3f) << 0; + *c >>= shiftc[len]; + + // Accumulate the various error conditions. + using uchar = unsigned char; + *e = (*c < mins[len]) << 6; // non-canonical encoding + *e |= ((*c >> 11) == 0x1b) << 7; // surrogate half? + *e |= (*c > 0x10FFFF) << 8; // out of range? + *e |= (uchar(s[1]) & 0xc0) >> 2; + *e |= (uchar(s[2]) & 0xc0) >> 4; + *e |= uchar(s[3]) >> 6; + *e ^= 0x2a; // top two bits of each tail byte correct? + *e >>= shifte[len]; + + return next; +} + +template +FMT_CONSTEXPR void for_each_codepoint(string_view s, F f) { + auto decode = [f](const char* p) { + auto cp = uint32_t(); + auto error = 0; + p = utf8_decode(p, &cp, &error); + f(cp, error); + return p; + }; + auto p = s.data(); + const size_t block_size = 4; // utf8_decode always reads blocks of 4 chars. + if (s.size() >= block_size) { + for (auto end = p + s.size() - block_size + 1; p < end;) p = decode(p); + } + if (auto num_chars_left = s.data() + s.size() - p) { + char buf[2 * block_size - 1] = {}; + copy_str(p, p + num_chars_left, buf); + p = buf; + do { + p = decode(p); + } while (p - buf < num_chars_left); + } +} + +template +inline auto compute_width(basic_string_view s) -> size_t { + return s.size(); +} + +// Computes approximate display width of a UTF-8 string. +FMT_CONSTEXPR inline size_t compute_width(string_view s) { + size_t num_code_points = 0; + // It is not a lambda for compatibility with C++14. + struct count_code_points { + size_t* count; + FMT_CONSTEXPR void operator()(uint32_t cp, int error) const { + *count += detail::to_unsigned( + 1 + + (error == 0 && cp >= 0x1100 && + (cp <= 0x115f || // Hangul Jamo init. consonants + cp == 0x2329 || // LEFT-POINTING ANGLE BRACKET + cp == 0x232a || // RIGHT-POINTING ANGLE BRACKET + // CJK ... Yi except IDEOGRAPHIC HALF FILL SPACE: + (cp >= 0x2e80 && cp <= 0xa4cf && cp != 0x303f) || + (cp >= 0xac00 && cp <= 0xd7a3) || // Hangul Syllables + (cp >= 0xf900 && cp <= 0xfaff) || // CJK Compatibility Ideographs + (cp >= 0xfe10 && cp <= 0xfe19) || // Vertical Forms + (cp >= 0xfe30 && cp <= 0xfe6f) || // CJK Compatibility Forms + (cp >= 0xff00 && cp <= 0xff60) || // Fullwidth Forms + (cp >= 0xffe0 && cp <= 0xffe6) || // Fullwidth Forms + (cp >= 0x20000 && cp <= 0x2fffd) || // CJK + (cp >= 0x30000 && cp <= 0x3fffd) || + // Miscellaneous Symbols and Pictographs + Emoticons: + (cp >= 0x1f300 && cp <= 0x1f64f) || + // Supplemental Symbols and Pictographs: + (cp >= 0x1f900 && cp <= 0x1f9ff)))); + } + }; + for_each_codepoint(s, count_code_points{&num_code_points}); + return num_code_points; +} + +inline auto compute_width(basic_string_view s) -> size_t { + return compute_width(basic_string_view( + reinterpret_cast(s.data()), s.size())); +} + +template +inline auto code_point_index(basic_string_view s, size_t n) -> size_t { + size_t size = s.size(); + return n < size ? n : size; +} + +// Calculates the index of the nth code point in a UTF-8 string. +inline auto code_point_index(basic_string_view s, size_t n) + -> size_t { + const char8_type* data = s.data(); + size_t num_code_points = 0; + for (size_t i = 0, size = s.size(); i != size; ++i) { + if ((data[i] & 0xc0) != 0x80 && ++num_code_points > n) return i; + } + return s.size(); +} + +template +using is_fast_float = bool_constant::is_iec559 && + sizeof(T) <= sizeof(double)>; + +#ifndef FMT_USE_FULL_CACHE_DRAGONBOX +# define FMT_USE_FULL_CACHE_DRAGONBOX 0 +#endif + +template +template +void buffer::append(const U* begin, const U* end) { + while (begin != end) { + auto count = to_unsigned(end - begin); + try_reserve(size_ + count); + auto free_cap = capacity_ - size_; + if (free_cap < count) count = free_cap; + std::uninitialized_copy_n(begin, count, make_checked(ptr_ + size_, count)); + size_ += count; + begin += count; + } +} + +template +struct is_locale : std::false_type {}; +template +struct is_locale> : std::true_type {}; +} // namespace detail + +FMT_MODULE_EXPORT_BEGIN + +// The number of characters to store in the basic_memory_buffer object itself +// to avoid dynamic memory allocation. +enum { inline_buffer_size = 500 }; + +/** + \rst + A dynamically growing memory buffer for trivially copyable/constructible types + with the first ``SIZE`` elements stored in the object itself. + + You can use the ``memory_buffer`` type alias for ``char`` instead. + + **Example**:: + + fmt::memory_buffer out; + format_to(out, "The answer is {}.", 42); + + This will append the following output to the ``out`` object: + + .. code-block:: none + + The answer is 42. + + The output can be converted to an ``std::string`` with ``to_string(out)``. + \endrst + */ +template > +class basic_memory_buffer final : public detail::buffer { + private: + T store_[SIZE]; + + // Don't inherit from Allocator avoid generating type_info for it. + Allocator alloc_; + + // Deallocate memory allocated by the buffer. + void deallocate() { + T* data = this->data(); + if (data != store_) alloc_.deallocate(data, this->capacity()); + } + + protected: + void grow(size_t size) final FMT_OVERRIDE; + + public: + using value_type = T; + using const_reference = const T&; + + explicit basic_memory_buffer(const Allocator& alloc = Allocator()) + : alloc_(alloc) { + this->set(store_, SIZE); + } + ~basic_memory_buffer() { deallocate(); } + + private: + // Move data from other to this buffer. + void move(basic_memory_buffer& other) { + alloc_ = std::move(other.alloc_); + T* data = other.data(); + size_t size = other.size(), capacity = other.capacity(); + if (data == other.store_) { + this->set(store_, capacity); + std::uninitialized_copy(other.store_, other.store_ + size, + detail::make_checked(store_, capacity)); + } else { + this->set(data, capacity); + // Set pointer to the inline array so that delete is not called + // when deallocating. + other.set(other.store_, 0); + } + this->resize(size); + } + + public: + /** + \rst + Constructs a :class:`fmt::basic_memory_buffer` object moving the content + of the other object to it. + \endrst + */ + basic_memory_buffer(basic_memory_buffer&& other) FMT_NOEXCEPT { move(other); } + + /** + \rst + Moves the content of the other ``basic_memory_buffer`` object to this one. + \endrst + */ + auto operator=(basic_memory_buffer&& other) FMT_NOEXCEPT + -> basic_memory_buffer& { + FMT_ASSERT(this != &other, ""); + deallocate(); + move(other); + return *this; + } + + // Returns a copy of the allocator associated with this buffer. + auto get_allocator() const -> Allocator { return alloc_; } + + /** + Resizes the buffer to contain *count* elements. If T is a POD type new + elements may not be initialized. + */ + void resize(size_t count) { this->try_resize(count); } + + /** Increases the buffer capacity to *new_capacity*. */ + void reserve(size_t new_capacity) { this->try_reserve(new_capacity); } + + // Directly append data into the buffer + using detail::buffer::append; + template + void append(const ContiguousRange& range) { + append(range.data(), range.data() + range.size()); + } +}; + +template +void basic_memory_buffer::grow(size_t size) { +#ifdef FMT_FUZZ + if (size > 5000) throw std::runtime_error("fuzz mode - won't grow that much"); +#endif + const size_t max_size = std::allocator_traits::max_size(alloc_); + size_t old_capacity = this->capacity(); + size_t new_capacity = old_capacity + old_capacity / 2; + if (size > new_capacity) + new_capacity = size; + else if (new_capacity > max_size) + new_capacity = size > max_size ? size : max_size; + T* old_data = this->data(); + T* new_data = + std::allocator_traits::allocate(alloc_, new_capacity); + // The following code doesn't throw, so the raw pointer above doesn't leak. + std::uninitialized_copy(old_data, old_data + this->size(), + detail::make_checked(new_data, new_capacity)); + this->set(new_data, new_capacity); + // deallocate must not throw according to the standard, but even if it does, + // the buffer already uses the new storage and will deallocate it in + // destructor. + if (old_data != store_) alloc_.deallocate(old_data, old_capacity); +} + +using memory_buffer = basic_memory_buffer; + +template +struct is_contiguous> : std::true_type { +}; + +namespace detail { +FMT_API void print(std::FILE*, string_view); +} + +/** A formatting error such as invalid format string. */ +FMT_CLASS_API +class FMT_API format_error : public std::runtime_error { + public: + explicit format_error(const char* message) : std::runtime_error(message) {} + explicit format_error(const std::string& message) + : std::runtime_error(message) {} + format_error(const format_error&) = default; + format_error& operator=(const format_error&) = default; + format_error(format_error&&) = default; + format_error& operator=(format_error&&) = default; + ~format_error() FMT_NOEXCEPT FMT_OVERRIDE FMT_MSC_DEFAULT; +}; + +/** + \rst + Constructs a `~fmt::format_arg_store` object that contains references + to arguments and can be implicitly converted to `~fmt::format_args`. + If ``fmt`` is a compile-time string then `make_args_checked` checks + its validity at compile time. + \endrst + */ +template > +FMT_INLINE auto make_args_checked(const S& fmt, + const remove_reference_t&... args) + -> format_arg_store, remove_reference_t...> { + static_assert( + detail::count<( + std::is_base_of>::value && + std::is_reference::value)...>() == 0, + "passing views as lvalues is disallowed"); + detail::check_format_string(fmt); + return {args...}; +} + +// compile-time support +namespace detail_exported { +#if FMT_USE_NONTYPE_TEMPLATE_PARAMETERS +template struct fixed_string { + constexpr fixed_string(const Char (&str)[N]) { + detail::copy_str(static_cast(str), + str + N, data); + } + Char data[N]{}; +}; +#endif + +// Converts a compile-time string to basic_string_view. +template +constexpr auto compile_string_to_view(const Char (&s)[N]) + -> basic_string_view { + // Remove trailing NUL character if needed. Won't be present if this is used + // with a raw character array (i.e. not defined as a string). + return {s, N - (std::char_traits::to_int_type(s[N - 1]) == 0 ? 1 : 0)}; +} +template +constexpr auto compile_string_to_view(detail::std_string_view s) + -> basic_string_view { + return {s.data(), s.size()}; +} +} // namespace detail_exported + +FMT_BEGIN_DETAIL_NAMESPACE + +inline void throw_format_error(const char* message) { + FMT_THROW(format_error(message)); +} + +template struct is_integral : std::is_integral {}; +template <> struct is_integral : std::true_type {}; +template <> struct is_integral : std::true_type {}; + +template +using is_signed = + std::integral_constant::is_signed || + std::is_same::value>; + +// Returns true if value is negative, false otherwise. +// Same as `value < 0` but doesn't produce warnings if T is an unsigned type. +template ::value)> +FMT_CONSTEXPR auto is_negative(T value) -> bool { + return value < 0; +} +template ::value)> +FMT_CONSTEXPR auto is_negative(T) -> bool { + return false; +} + +template ::value)> +FMT_CONSTEXPR auto is_supported_floating_point(T) -> uint16_t { + return (std::is_same::value && FMT_USE_FLOAT) || + (std::is_same::value && FMT_USE_DOUBLE) || + (std::is_same::value && FMT_USE_LONG_DOUBLE); +} + +// Smallest of uint32_t, uint64_t, uint128_t that is large enough to +// represent all values of an integral type T. +template +using uint32_or_64_or_128_t = + conditional_t() <= 32 && !FMT_REDUCE_INT_INSTANTIATIONS, + uint32_t, + conditional_t() <= 64, uint64_t, uint128_t>>; +template +using uint64_or_128_t = conditional_t() <= 64, uint64_t, uint128_t>; + +#define FMT_POWERS_OF_10(factor) \ + factor * 10, (factor)*100, (factor)*1000, (factor)*10000, (factor)*100000, \ + (factor)*1000000, (factor)*10000000, (factor)*100000000, \ + (factor)*1000000000 + +// Static data is placed in this class template for the header-only config. +template struct basic_data { + // log10(2) = 0x0.4d104d427de7fbcc... + static const uint64_t log10_2_significand = 0x4d104d427de7fbcc; + + // GCC generates slightly better code for pairs than chars. + FMT_API static constexpr const char digits[100][2] = { + {'0', '0'}, {'0', '1'}, {'0', '2'}, {'0', '3'}, {'0', '4'}, {'0', '5'}, + {'0', '6'}, {'0', '7'}, {'0', '8'}, {'0', '9'}, {'1', '0'}, {'1', '1'}, + {'1', '2'}, {'1', '3'}, {'1', '4'}, {'1', '5'}, {'1', '6'}, {'1', '7'}, + {'1', '8'}, {'1', '9'}, {'2', '0'}, {'2', '1'}, {'2', '2'}, {'2', '3'}, + {'2', '4'}, {'2', '5'}, {'2', '6'}, {'2', '7'}, {'2', '8'}, {'2', '9'}, + {'3', '0'}, {'3', '1'}, {'3', '2'}, {'3', '3'}, {'3', '4'}, {'3', '5'}, + {'3', '6'}, {'3', '7'}, {'3', '8'}, {'3', '9'}, {'4', '0'}, {'4', '1'}, + {'4', '2'}, {'4', '3'}, {'4', '4'}, {'4', '5'}, {'4', '6'}, {'4', '7'}, + {'4', '8'}, {'4', '9'}, {'5', '0'}, {'5', '1'}, {'5', '2'}, {'5', '3'}, + {'5', '4'}, {'5', '5'}, {'5', '6'}, {'5', '7'}, {'5', '8'}, {'5', '9'}, + {'6', '0'}, {'6', '1'}, {'6', '2'}, {'6', '3'}, {'6', '4'}, {'6', '5'}, + {'6', '6'}, {'6', '7'}, {'6', '8'}, {'6', '9'}, {'7', '0'}, {'7', '1'}, + {'7', '2'}, {'7', '3'}, {'7', '4'}, {'7', '5'}, {'7', '6'}, {'7', '7'}, + {'7', '8'}, {'7', '9'}, {'8', '0'}, {'8', '1'}, {'8', '2'}, {'8', '3'}, + {'8', '4'}, {'8', '5'}, {'8', '6'}, {'8', '7'}, {'8', '8'}, {'8', '9'}, + {'9', '0'}, {'9', '1'}, {'9', '2'}, {'9', '3'}, {'9', '4'}, {'9', '5'}, + {'9', '6'}, {'9', '7'}, {'9', '8'}, {'9', '9'}}; + + FMT_API static constexpr const char hex_digits[] = "0123456789abcdef"; + FMT_API static constexpr const char signs[4] = {0, '-', '+', ' '}; + FMT_API static constexpr const unsigned prefixes[4] = {0, 0, 0x1000000u | '+', + 0x1000000u | ' '}; + FMT_API static constexpr const char left_padding_shifts[5] = {31, 31, 0, 1, + 0}; + FMT_API static constexpr const char right_padding_shifts[5] = {0, 31, 0, 1, + 0}; +}; + +#ifdef FMT_SHARED +// Required for -flto, -fivisibility=hidden and -shared to work +extern template struct basic_data; +#endif + +// This is a struct rather than an alias to avoid shadowing warnings in gcc. +struct data : basic_data<> {}; + +template FMT_CONSTEXPR auto count_digits_fallback(T n) -> int { + int count = 1; + for (;;) { + // Integer division is slow so do it for a group of four digits instead + // of for every digit. The idea comes from the talk by Alexandrescu + // "Three Optimization Tips for C++". See speed-test for a comparison. + if (n < 10) return count; + if (n < 100) return count + 1; + if (n < 1000) return count + 2; + if (n < 10000) return count + 3; + n /= 10000u; + count += 4; + } +} +#if FMT_USE_INT128 +FMT_CONSTEXPR inline auto count_digits(uint128_t n) -> int { + return count_digits_fallback(n); +} +#endif + +// Returns the number of decimal digits in n. Leading zeros are not counted +// except for n == 0 in which case count_digits returns 1. +FMT_CONSTEXPR20 inline auto count_digits(uint64_t n) -> int { +#ifdef FMT_BUILTIN_CLZLL + if (!is_constant_evaluated()) { + // https://github.com/fmtlib/format-benchmark/blob/master/digits10 + // Maps bsr(n) to ceil(log10(pow(2, bsr(n) + 1) - 1)). + constexpr uint16_t bsr2log10[] = { + 1, 1, 1, 2, 2, 2, 3, 3, 3, 4, 4, 4, 4, 5, 5, 5, + 6, 6, 6, 7, 7, 7, 7, 8, 8, 8, 9, 9, 9, 10, 10, 10, + 10, 11, 11, 11, 12, 12, 12, 13, 13, 13, 13, 14, 14, 14, 15, 15, + 15, 16, 16, 16, 16, 17, 17, 17, 18, 18, 18, 19, 19, 19, 19, 20}; + auto t = bsr2log10[FMT_BUILTIN_CLZLL(n | 1) ^ 63]; + constexpr const uint64_t zero_or_powers_of_10[] = { + 0, 0, FMT_POWERS_OF_10(1U), FMT_POWERS_OF_10(1000000000ULL), + 10000000000000000000ULL}; + return t - (n < zero_or_powers_of_10[t]); + } +#endif + return count_digits_fallback(n); +} + +// Counts the number of digits in n. BITS = log2(radix). +template +FMT_CONSTEXPR auto count_digits(UInt n) -> int { +#ifdef FMT_BUILTIN_CLZ + if (num_bits() == 32) + return (FMT_BUILTIN_CLZ(static_cast(n) | 1) ^ 31) / BITS + 1; +#endif + int num_digits = 0; + do { + ++num_digits; + } while ((n >>= BITS) != 0); + return num_digits; +} + +template <> auto count_digits<4>(detail::fallback_uintptr n) -> int; + +// It is a separate function rather than a part of count_digits to workaround +// the lack of static constexpr in constexpr functions. +FMT_INLINE uint64_t count_digits_inc(int n) { + // An optimization by Kendall Willets from https://bit.ly/3uOIQrB. + // This increments the upper 32 bits (log10(T) - 1) when >= T is added. +#define FMT_INC(T) (((sizeof(#T) - 1ull) << 32) - T) + static constexpr uint64_t table[] = { + FMT_INC(0), FMT_INC(0), FMT_INC(0), // 8 + FMT_INC(10), FMT_INC(10), FMT_INC(10), // 64 + FMT_INC(100), FMT_INC(100), FMT_INC(100), // 512 + FMT_INC(1000), FMT_INC(1000), FMT_INC(1000), // 4096 + FMT_INC(10000), FMT_INC(10000), FMT_INC(10000), // 32k + FMT_INC(100000), FMT_INC(100000), FMT_INC(100000), // 256k + FMT_INC(1000000), FMT_INC(1000000), FMT_INC(1000000), // 2048k + FMT_INC(10000000), FMT_INC(10000000), FMT_INC(10000000), // 16M + FMT_INC(100000000), FMT_INC(100000000), FMT_INC(100000000), // 128M + FMT_INC(1000000000), FMT_INC(1000000000), FMT_INC(1000000000), // 1024M + FMT_INC(1000000000), FMT_INC(1000000000) // 4B + }; + return table[n]; +} + +// Optional version of count_digits for better performance on 32-bit platforms. +FMT_CONSTEXPR20 inline auto count_digits(uint32_t n) -> int { +#ifdef FMT_BUILTIN_CLZ + if (!is_constant_evaluated()) { + auto inc = count_digits_inc(FMT_BUILTIN_CLZ(n | 1) ^ 31); + return static_cast((n + inc) >> 32); + } +#endif + return count_digits_fallback(n); +} + +template constexpr auto digits10() FMT_NOEXCEPT -> int { + return std::numeric_limits::digits10; +} +template <> constexpr auto digits10() FMT_NOEXCEPT -> int { + return 38; +} +template <> constexpr auto digits10() FMT_NOEXCEPT -> int { + return 38; +} + +template struct thousands_sep_result { + std::string grouping; + Char thousands_sep; +}; + +template +FMT_API auto thousands_sep_impl(locale_ref loc) -> thousands_sep_result; +template +inline auto thousands_sep(locale_ref loc) -> thousands_sep_result { + auto result = thousands_sep_impl(loc); + return {result.grouping, Char(result.thousands_sep)}; +} +template <> +inline auto thousands_sep(locale_ref loc) -> thousands_sep_result { + return thousands_sep_impl(loc); +} + +template +FMT_API auto decimal_point_impl(locale_ref loc) -> Char; +template inline auto decimal_point(locale_ref loc) -> Char { + return Char(decimal_point_impl(loc)); +} +template <> inline auto decimal_point(locale_ref loc) -> wchar_t { + return decimal_point_impl(loc); +} + +// Compares two characters for equality. +template auto equal2(const Char* lhs, const char* rhs) -> bool { + return lhs[0] == Char(rhs[0]) && lhs[1] == Char(rhs[1]); +} +inline auto equal2(const char* lhs, const char* rhs) -> bool { + return memcmp(lhs, rhs, 2) == 0; +} + +// Copies two characters from src to dst. +template void copy2(Char* dst, const char* src) { + *dst++ = static_cast(*src++); + *dst = static_cast(*src); +} +FMT_INLINE void copy2(char* dst, const char* src) { memcpy(dst, src, 2); } + +template struct format_decimal_result { + Iterator begin; + Iterator end; +}; + +// Formats a decimal unsigned integer value writing into out pointing to a +// buffer of specified size. The caller must ensure that the buffer is large +// enough. +template +FMT_CONSTEXPR20 auto format_decimal(Char* out, UInt value, int size) + -> format_decimal_result { + FMT_ASSERT(size >= count_digits(value), "invalid digit count"); + out += size; + Char* end = out; + if (is_constant_evaluated()) { + while (value >= 10) { + *--out = static_cast('0' + value % 10); + value /= 10; + } + *--out = static_cast('0' + value); + return {out, end}; + } + while (value >= 100) { + // Integer division is slow so do it for a group of two digits instead + // of for every digit. The idea comes from the talk by Alexandrescu + // "Three Optimization Tips for C++". See speed-test for a comparison. + out -= 2; + copy2(out, data::digits[value % 100]); + value /= 100; + } + if (value < 10) { + *--out = static_cast('0' + value); + return {out, end}; + } + out -= 2; + copy2(out, data::digits[value]); + return {out, end}; +} + +template >::value)> +inline auto format_decimal(Iterator out, UInt value, int size) + -> format_decimal_result { + // Buffer is large enough to hold all digits (digits10 + 1). + Char buffer[digits10() + 1]; + auto end = format_decimal(buffer, value, size).end; + return {out, detail::copy_str_noinline(buffer, end, out)}; +} + +template +FMT_CONSTEXPR auto format_uint(Char* buffer, UInt value, int num_digits, + bool upper = false) -> Char* { + buffer += num_digits; + Char* end = buffer; + do { + const char* digits = upper ? "0123456789ABCDEF" : data::hex_digits; + unsigned digit = (value & ((1 << BASE_BITS) - 1)); + *--buffer = static_cast(BASE_BITS < 4 ? static_cast('0' + digit) + : digits[digit]); + } while ((value >>= BASE_BITS) != 0); + return end; +} + +template +auto format_uint(Char* buffer, detail::fallback_uintptr n, int num_digits, + bool = false) -> Char* { + auto char_digits = std::numeric_limits::digits / 4; + int start = (num_digits + char_digits - 1) / char_digits - 1; + if (int start_digits = num_digits % char_digits) { + unsigned value = n.value[start--]; + buffer = format_uint(buffer, value, start_digits); + } + for (; start >= 0; --start) { + unsigned value = n.value[start]; + buffer += char_digits; + auto p = buffer; + for (int i = 0; i < char_digits; ++i) { + unsigned digit = (value & ((1 << BASE_BITS) - 1)); + *--p = static_cast(data::hex_digits[digit]); + value >>= BASE_BITS; + } + } + return buffer; +} + +template +inline auto format_uint(It out, UInt value, int num_digits, bool upper = false) + -> It { + if (auto ptr = to_pointer(out, to_unsigned(num_digits))) { + format_uint(ptr, value, num_digits, upper); + return out; + } + // Buffer should be large enough to hold all digits (digits / BASE_BITS + 1). + char buffer[num_bits() / BASE_BITS + 1]; + format_uint(buffer, value, num_digits, upper); + return detail::copy_str_noinline(buffer, buffer + num_digits, out); +} + +// A converter from UTF-8 to UTF-16. +class utf8_to_utf16 { + private: + basic_memory_buffer buffer_; + + public: + FMT_API explicit utf8_to_utf16(string_view s); + operator basic_string_view() const { return {&buffer_[0], size()}; } + auto size() const -> size_t { return buffer_.size() - 1; } + auto c_str() const -> const wchar_t* { return &buffer_[0]; } + auto str() const -> std::wstring { return {&buffer_[0], size()}; } +}; + +namespace dragonbox { + +// Type-specific information that Dragonbox uses. +template struct float_info; + +template <> struct float_info { + using carrier_uint = uint32_t; + static const int significand_bits = 23; + static const int exponent_bits = 8; + static const int min_exponent = -126; + static const int max_exponent = 127; + static const int exponent_bias = -127; + static const int decimal_digits = 9; + static const int kappa = 1; + static const int big_divisor = 100; + static const int small_divisor = 10; + static const int min_k = -31; + static const int max_k = 46; + static const int cache_bits = 64; + static const int divisibility_check_by_5_threshold = 39; + static const int case_fc_pm_half_lower_threshold = -1; + static const int case_fc_pm_half_upper_threshold = 6; + static const int case_fc_lower_threshold = -2; + static const int case_fc_upper_threshold = 6; + static const int case_shorter_interval_left_endpoint_lower_threshold = 2; + static const int case_shorter_interval_left_endpoint_upper_threshold = 3; + static const int shorter_interval_tie_lower_threshold = -35; + static const int shorter_interval_tie_upper_threshold = -35; + static const int max_trailing_zeros = 7; +}; + +template <> struct float_info { + using carrier_uint = uint64_t; + static const int significand_bits = 52; + static const int exponent_bits = 11; + static const int min_exponent = -1022; + static const int max_exponent = 1023; + static const int exponent_bias = -1023; + static const int decimal_digits = 17; + static const int kappa = 2; + static const int big_divisor = 1000; + static const int small_divisor = 100; + static const int min_k = -292; + static const int max_k = 326; + static const int cache_bits = 128; + static const int divisibility_check_by_5_threshold = 86; + static const int case_fc_pm_half_lower_threshold = -2; + static const int case_fc_pm_half_upper_threshold = 9; + static const int case_fc_lower_threshold = -4; + static const int case_fc_upper_threshold = 9; + static const int case_shorter_interval_left_endpoint_lower_threshold = 2; + static const int case_shorter_interval_left_endpoint_upper_threshold = 3; + static const int shorter_interval_tie_lower_threshold = -77; + static const int shorter_interval_tie_upper_threshold = -77; + static const int max_trailing_zeros = 16; +}; + +template struct decimal_fp { + using significand_type = typename float_info::carrier_uint; + significand_type significand; + int exponent; +}; + +template +FMT_API auto to_decimal(T x) FMT_NOEXCEPT -> decimal_fp; +} // namespace dragonbox + +template +constexpr auto exponent_mask() -> + typename dragonbox::float_info::carrier_uint { + using uint = typename dragonbox::float_info::carrier_uint; + return ((uint(1) << dragonbox::float_info::exponent_bits) - 1) + << dragonbox::float_info::significand_bits; +} + +// Writes the exponent exp in the form "[+-]d{2,3}" to buffer. +template +auto write_exponent(int exp, It it) -> It { + FMT_ASSERT(-10000 < exp && exp < 10000, "exponent out of range"); + if (exp < 0) { + *it++ = static_cast('-'); + exp = -exp; + } else { + *it++ = static_cast('+'); + } + if (exp >= 100) { + const char* top = data::digits[exp / 100]; + if (exp >= 1000) *it++ = static_cast(top[0]); + *it++ = static_cast(top[1]); + exp %= 100; + } + const char* d = data::digits[exp]; + *it++ = static_cast(d[0]); + *it++ = static_cast(d[1]); + return it; +} + +template +auto format_float(T value, int precision, float_specs specs, buffer& buf) + -> int; + +// Formats a floating-point number with snprintf. +template +auto snprintf_float(T value, int precision, float_specs specs, + buffer& buf) -> int; + +template auto promote_float(T value) -> T { return value; } +inline auto promote_float(float value) -> double { + return static_cast(value); +} + +template +FMT_NOINLINE FMT_CONSTEXPR auto fill(OutputIt it, size_t n, + const fill_t& fill) -> OutputIt { + auto fill_size = fill.size(); + if (fill_size == 1) return detail::fill_n(it, n, fill[0]); + auto data = fill.data(); + for (size_t i = 0; i < n; ++i) + it = copy_str(data, data + fill_size, it); + return it; +} + +// Writes the output of f, padded according to format specifications in specs. +// size: output size in code units. +// width: output display width in (terminal) column positions. +template +FMT_CONSTEXPR auto write_padded(OutputIt out, + const basic_format_specs& specs, + size_t size, size_t width, F&& f) -> OutputIt { + static_assert(align == align::left || align == align::right, ""); + unsigned spec_width = to_unsigned(specs.width); + size_t padding = spec_width > width ? spec_width - width : 0; + auto* shifts = align == align::left ? data::left_padding_shifts + : data::right_padding_shifts; + size_t left_padding = padding >> shifts[specs.align]; + size_t right_padding = padding - left_padding; + auto it = reserve(out, size + padding * specs.fill.size()); + if (left_padding != 0) it = fill(it, left_padding, specs.fill); + it = f(it); + if (right_padding != 0) it = fill(it, right_padding, specs.fill); + return base_iterator(out, it); +} + +template +constexpr auto write_padded(OutputIt out, const basic_format_specs& specs, + size_t size, F&& f) -> OutputIt { + return write_padded(out, specs, size, size, f); +} + +template +FMT_CONSTEXPR auto write_bytes(OutputIt out, string_view bytes, + const basic_format_specs& specs) + -> OutputIt { + return write_padded( + out, specs, bytes.size(), [bytes](reserve_iterator it) { + const char* data = bytes.data(); + return copy_str(data, data + bytes.size(), it); + }); +} + +template +auto write_ptr(OutputIt out, UIntPtr value, + const basic_format_specs* specs) -> OutputIt { + int num_digits = count_digits<4>(value); + auto size = to_unsigned(num_digits) + size_t(2); + auto write = [=](reserve_iterator it) { + *it++ = static_cast('0'); + *it++ = static_cast('x'); + return format_uint<4, Char>(it, value, num_digits); + }; + return specs ? write_padded(out, *specs, size, write) + : base_iterator(out, write(reserve(out, size))); +} + +template +FMT_CONSTEXPR auto write_char(OutputIt out, Char value, + const basic_format_specs& specs) + -> OutputIt { + return write_padded(out, specs, 1, [=](reserve_iterator it) { + *it++ = value; + return it; + }); +} +template +FMT_CONSTEXPR auto write(OutputIt out, Char value, + const basic_format_specs& specs, + locale_ref loc = {}) -> OutputIt { + return check_char_specs(specs) + ? write_char(out, value, specs) + : write(out, static_cast(value), specs, loc); +} + +// Data for write_int that doesn't depend on output iterator type. It is used to +// avoid template code bloat. +template struct write_int_data { + size_t size; + size_t padding; + + FMT_CONSTEXPR write_int_data(int num_digits, unsigned prefix, + const basic_format_specs& specs) + : size((prefix >> 24) + to_unsigned(num_digits)), padding(0) { + if (specs.align == align::numeric) { + auto width = to_unsigned(specs.width); + if (width > size) { + padding = width - size; + size = width; + } + } else if (specs.precision > num_digits) { + size = (prefix >> 24) + to_unsigned(specs.precision); + padding = to_unsigned(specs.precision - num_digits); + } + } +}; + +// Writes an integer in the format +// +// where are written by write_digits(it). +// prefix contains chars in three lower bytes and the size in the fourth byte. +template +FMT_CONSTEXPR FMT_INLINE auto write_int(OutputIt out, int num_digits, + unsigned prefix, + const basic_format_specs& specs, + W write_digits) -> OutputIt { + // Slightly faster check for specs.width == 0 && specs.precision == -1. + if ((specs.width | (specs.precision + 1)) == 0) { + auto it = reserve(out, to_unsigned(num_digits) + (prefix >> 24)); + if (prefix != 0) { + for (unsigned p = prefix & 0xffffff; p != 0; p >>= 8) + *it++ = static_cast(p & 0xff); + } + return base_iterator(out, write_digits(it)); + } + auto data = write_int_data(num_digits, prefix, specs); + return write_padded( + out, specs, data.size, [=](reserve_iterator it) { + for (unsigned p = prefix & 0xffffff; p != 0; p >>= 8) + *it++ = static_cast(p & 0xff); + it = detail::fill_n(it, data.padding, static_cast('0')); + return write_digits(it); + }); +} + +template +auto write_int_localized(OutputIt& out, UInt value, unsigned prefix, + const basic_format_specs& specs, locale_ref loc) + -> bool { + static_assert(std::is_same, UInt>::value, ""); + const auto sep_size = 1; + auto ts = thousands_sep(loc); + if (!ts.thousands_sep) return false; + int num_digits = count_digits(value); + int size = num_digits, n = num_digits; + const std::string& groups = ts.grouping; + std::string::const_iterator group = groups.cbegin(); + while (group != groups.cend() && n > *group && *group > 0 && + *group != max_value()) { + size += sep_size; + n -= *group; + ++group; + } + if (group == groups.cend()) size += sep_size * ((n - 1) / groups.back()); + char digits[40]; + format_decimal(digits, value, num_digits); + basic_memory_buffer buffer; + if (prefix != 0) ++size; + const auto usize = to_unsigned(size); + buffer.resize(usize); + basic_string_view s(&ts.thousands_sep, sep_size); + // Index of a decimal digit with the least significant digit having index 0. + int digit_index = 0; + group = groups.cbegin(); + auto p = buffer.data() + size - 1; + for (int i = num_digits - 1; i > 0; --i) { + *p-- = static_cast(digits[i]); + if (*group <= 0 || ++digit_index % *group != 0 || + *group == max_value()) + continue; + if (group + 1 != groups.cend()) { + digit_index = 0; + ++group; + } + std::uninitialized_copy(s.data(), s.data() + s.size(), + make_checked(p, s.size())); + p -= s.size(); + } + *p-- = static_cast(*digits); + if (prefix != 0) *p = static_cast(prefix); + auto data = buffer.data(); + out = write_padded( + out, specs, usize, usize, [=](reserve_iterator it) { + return copy_str(data, data + size, it); + }); + return true; +} + +FMT_CONSTEXPR inline void prefix_append(unsigned& prefix, unsigned value) { + prefix |= prefix != 0 ? value << 8 : value; + prefix += (1u + (value > 0xff ? 1 : 0)) << 24; +} + +template struct write_int_arg { + UInt abs_value; + unsigned prefix; +}; + +template +FMT_CONSTEXPR auto make_write_int_arg(T value, sign_t sign) + -> write_int_arg> { + auto prefix = 0u; + auto abs_value = static_cast>(value); + if (is_negative(value)) { + prefix = 0x01000000 | '-'; + abs_value = 0 - abs_value; + } else { + prefix = data::prefixes[sign]; + } + return {abs_value, prefix}; +} + +template +FMT_CONSTEXPR FMT_INLINE auto write_int(OutputIt out, write_int_arg arg, + const basic_format_specs& specs, + locale_ref loc) -> OutputIt { + static_assert(std::is_same>::value, ""); + auto abs_value = arg.abs_value; + auto prefix = arg.prefix; + auto utype = static_cast(specs.type); + switch (specs.type) { + case 0: + case 'd': { + if (specs.localized && + write_int_localized(out, static_cast>(abs_value), + prefix, specs, loc)) { + return out; + } + auto num_digits = count_digits(abs_value); + return write_int( + out, num_digits, prefix, specs, [=](reserve_iterator it) { + return format_decimal(it, abs_value, num_digits).end; + }); + } + case 'x': + case 'X': { + if (specs.alt) prefix_append(prefix, (utype << 8) | '0'); + bool upper = specs.type != 'x'; + int num_digits = count_digits<4>(abs_value); + return write_int( + out, num_digits, prefix, specs, [=](reserve_iterator it) { + return format_uint<4, Char>(it, abs_value, num_digits, upper); + }); + } + case 'b': + case 'B': { + if (specs.alt) prefix_append(prefix, (utype << 8) | '0'); + int num_digits = count_digits<1>(abs_value); + return write_int(out, num_digits, prefix, specs, + [=](reserve_iterator it) { + return format_uint<1, Char>(it, abs_value, num_digits); + }); + } + case 'o': { + int num_digits = count_digits<3>(abs_value); + if (specs.alt && specs.precision <= num_digits && abs_value != 0) { + // Octal prefix '0' is counted as a digit, so only add it if precision + // is not greater than the number of digits. + prefix_append(prefix, '0'); + } + return write_int(out, num_digits, prefix, specs, + [=](reserve_iterator it) { + return format_uint<3, Char>(it, abs_value, num_digits); + }); + } + case 'c': + return write_char(out, static_cast(abs_value), specs); + default: + FMT_THROW(format_error("invalid type specifier")); + } + return out; +} +template ::value && + !std::is_same::value && + std::is_same>::value)> +FMT_CONSTEXPR auto write(OutputIt out, T value, + const basic_format_specs& specs, locale_ref loc) + -> OutputIt { + return write_int(out, make_write_int_arg(value, specs.sign), specs, loc); +} +// An inlined version of write used in format string compilation. +template ::value && + !std::is_same::value && + !std::is_same>::value)> +FMT_CONSTEXPR FMT_INLINE auto write(OutputIt out, T value, + const basic_format_specs& specs, + locale_ref loc) -> OutputIt { + return write_int(out, make_write_int_arg(value, specs.sign), specs, loc); +} + +template +FMT_CONSTEXPR auto write(OutputIt out, basic_string_view s, + const basic_format_specs& specs) -> OutputIt { + auto data = s.data(); + auto size = s.size(); + if (specs.precision >= 0 && to_unsigned(specs.precision) < size) + size = code_point_index(s, to_unsigned(specs.precision)); + auto width = + specs.width != 0 ? compute_width(basic_string_view(data, size)) : 0; + return write_padded(out, specs, size, width, + [=](reserve_iterator it) { + return copy_str(data, data + size, it); + }); +} +template +FMT_CONSTEXPR auto write(OutputIt out, + basic_string_view> s, + const basic_format_specs& specs, locale_ref) + -> OutputIt { + check_string_type_spec(specs.type); + return write(out, s, specs); +} +template +FMT_CONSTEXPR auto write(OutputIt out, const Char* s, + const basic_format_specs& specs, locale_ref) + -> OutputIt { + return check_cstring_type_spec(specs.type) + ? write(out, basic_string_view(s), specs, {}) + : write_ptr(out, to_uintptr(s), &specs); +} + +template +auto write_nonfinite(OutputIt out, bool isinf, basic_format_specs specs, + const float_specs& fspecs) -> OutputIt { + auto str = + isinf ? (fspecs.upper ? "INF" : "inf") : (fspecs.upper ? "NAN" : "nan"); + constexpr size_t str_size = 3; + auto sign = fspecs.sign; + auto size = str_size + (sign ? 1 : 0); + // Replace '0'-padding with space for non-finite values. + const bool is_zero_fill = + specs.fill.size() == 1 && *specs.fill.data() == static_cast('0'); + if (is_zero_fill) specs.fill[0] = static_cast(' '); + return write_padded(out, specs, size, [=](reserve_iterator it) { + if (sign) *it++ = static_cast(data::signs[sign]); + return copy_str(str, str + str_size, it); + }); +} + +// A decimal floating-point number significand * pow(10, exp). +struct big_decimal_fp { + const char* significand; + int significand_size; + int exponent; +}; + +inline auto get_significand_size(const big_decimal_fp& fp) -> int { + return fp.significand_size; +} +template +inline auto get_significand_size(const dragonbox::decimal_fp& fp) -> int { + return count_digits(fp.significand); +} + +template +inline auto write_significand(OutputIt out, const char* significand, + int& significand_size) -> OutputIt { + return copy_str(significand, significand + significand_size, out); +} +template +inline auto write_significand(OutputIt out, UInt significand, + int significand_size) -> OutputIt { + return format_decimal(out, significand, significand_size).end; +} + +template ::value)> +inline auto write_significand(Char* out, UInt significand, int significand_size, + int integral_size, Char decimal_point) -> Char* { + if (!decimal_point) + return format_decimal(out, significand, significand_size).end; + auto end = format_decimal(out + 1, significand, significand_size).end; + if (integral_size == 1) { + out[0] = out[1]; + } else { + std::uninitialized_copy_n(out + 1, integral_size, + make_checked(out, to_unsigned(integral_size))); + } + out[integral_size] = decimal_point; + return end; +} + +template >::value)> +inline auto write_significand(OutputIt out, UInt significand, + int significand_size, int integral_size, + Char decimal_point) -> OutputIt { + // Buffer is large enough to hold digits (digits10 + 1) and a decimal point. + Char buffer[digits10() + 2]; + auto end = write_significand(buffer, significand, significand_size, + integral_size, decimal_point); + return detail::copy_str_noinline(buffer, end, out); +} + +template +inline auto write_significand(OutputIt out, const char* significand, + int significand_size, int integral_size, + Char decimal_point) -> OutputIt { + out = detail::copy_str_noinline(significand, + significand + integral_size, out); + if (!decimal_point) return out; + *out++ = decimal_point; + return detail::copy_str_noinline(significand + integral_size, + significand + significand_size, out); +} + +template +auto write_float(OutputIt out, const DecimalFP& fp, + const basic_format_specs& specs, float_specs fspecs, + Char decimal_point) -> OutputIt { + auto significand = fp.significand; + int significand_size = get_significand_size(fp); + static const Char zero = static_cast('0'); + auto sign = fspecs.sign; + size_t size = to_unsigned(significand_size) + (sign ? 1 : 0); + using iterator = reserve_iterator; + + int output_exp = fp.exponent + significand_size - 1; + auto use_exp_format = [=]() { + if (fspecs.format == float_format::exp) return true; + if (fspecs.format != float_format::general) return false; + // Use the fixed notation if the exponent is in [exp_lower, exp_upper), + // e.g. 0.0001 instead of 1e-04. Otherwise use the exponent notation. + const int exp_lower = -4, exp_upper = 16; + return output_exp < exp_lower || + output_exp >= (fspecs.precision > 0 ? fspecs.precision : exp_upper); + }; + if (use_exp_format()) { + int num_zeros = 0; + if (fspecs.showpoint) { + num_zeros = fspecs.precision - significand_size; + if (num_zeros < 0) num_zeros = 0; + size += to_unsigned(num_zeros); + } else if (significand_size == 1) { + decimal_point = Char(); + } + auto abs_output_exp = output_exp >= 0 ? output_exp : -output_exp; + int exp_digits = 2; + if (abs_output_exp >= 100) exp_digits = abs_output_exp >= 1000 ? 4 : 3; + + size += to_unsigned((decimal_point ? 1 : 0) + 2 + exp_digits); + char exp_char = fspecs.upper ? 'E' : 'e'; + auto write = [=](iterator it) { + if (sign) *it++ = static_cast(data::signs[sign]); + // Insert a decimal point after the first digit and add an exponent. + it = write_significand(it, significand, significand_size, 1, + decimal_point); + if (num_zeros > 0) it = detail::fill_n(it, num_zeros, zero); + *it++ = static_cast(exp_char); + return write_exponent(output_exp, it); + }; + return specs.width > 0 ? write_padded(out, specs, size, write) + : base_iterator(out, write(reserve(out, size))); + } + + int exp = fp.exponent + significand_size; + if (fp.exponent >= 0) { + // 1234e5 -> 123400000[.0+] + size += to_unsigned(fp.exponent); + int num_zeros = fspecs.precision - exp; +#ifdef FMT_FUZZ + if (num_zeros > 5000) + throw std::runtime_error("fuzz mode - avoiding excessive cpu use"); +#endif + if (fspecs.showpoint) { + if (num_zeros <= 0 && fspecs.format != float_format::fixed) num_zeros = 1; + if (num_zeros > 0) size += to_unsigned(num_zeros) + 1; + } + return write_padded(out, specs, size, [&](iterator it) { + if (sign) *it++ = static_cast(data::signs[sign]); + it = write_significand(it, significand, significand_size); + it = detail::fill_n(it, fp.exponent, zero); + if (!fspecs.showpoint) return it; + *it++ = decimal_point; + return num_zeros > 0 ? detail::fill_n(it, num_zeros, zero) : it; + }); + } else if (exp > 0) { + // 1234e-2 -> 12.34[0+] + int num_zeros = fspecs.showpoint ? fspecs.precision - significand_size : 0; + size += 1 + to_unsigned(num_zeros > 0 ? num_zeros : 0); + return write_padded(out, specs, size, [&](iterator it) { + if (sign) *it++ = static_cast(data::signs[sign]); + it = write_significand(it, significand, significand_size, exp, + decimal_point); + return num_zeros > 0 ? detail::fill_n(it, num_zeros, zero) : it; + }); + } + // 1234e-6 -> 0.001234 + int num_zeros = -exp; + if (significand_size == 0 && fspecs.precision >= 0 && + fspecs.precision < num_zeros) { + num_zeros = fspecs.precision; + } + bool pointy = num_zeros != 0 || significand_size != 0 || fspecs.showpoint; + size += 1 + (pointy ? 1 : 0) + to_unsigned(num_zeros); + return write_padded(out, specs, size, [&](iterator it) { + if (sign) *it++ = static_cast(data::signs[sign]); + *it++ = zero; + if (!pointy) return it; + *it++ = decimal_point; + it = detail::fill_n(it, num_zeros, zero); + return write_significand(it, significand, significand_size); + }); +} + +template ::value)> +auto write(OutputIt out, T value, basic_format_specs specs, + locale_ref loc = {}) -> OutputIt { + if (const_check(!is_supported_floating_point(value))) return out; + float_specs fspecs = parse_float_type_spec(specs); + fspecs.sign = specs.sign; + if (std::signbit(value)) { // value < 0 is false for NaN so use signbit. + fspecs.sign = sign::minus; + value = -value; + } else if (fspecs.sign == sign::minus) { + fspecs.sign = sign::none; + } + + if (!std::isfinite(value)) + return write_nonfinite(out, std::isinf(value), specs, fspecs); + + if (specs.align == align::numeric && fspecs.sign) { + auto it = reserve(out, 1); + *it++ = static_cast(data::signs[fspecs.sign]); + out = base_iterator(out, it); + fspecs.sign = sign::none; + if (specs.width != 0) --specs.width; + } + + memory_buffer buffer; + if (fspecs.format == float_format::hex) { + if (fspecs.sign) buffer.push_back(data::signs[fspecs.sign]); + snprintf_float(promote_float(value), specs.precision, fspecs, buffer); + return write_bytes(out, {buffer.data(), buffer.size()}, + specs); + } + int precision = specs.precision >= 0 || !specs.type ? specs.precision : 6; + if (fspecs.format == float_format::exp) { + if (precision == max_value()) + FMT_THROW(format_error("number is too big")); + else + ++precision; + } + if (const_check(std::is_same())) fspecs.binary32 = true; + fspecs.use_grisu = is_fast_float(); + int exp = format_float(promote_float(value), precision, fspecs, buffer); + fspecs.precision = precision; + Char point = + fspecs.locale ? decimal_point(loc) : static_cast('.'); + auto fp = big_decimal_fp{buffer.data(), static_cast(buffer.size()), exp}; + return write_float(out, fp, specs, fspecs, point); +} + +template ::value)> +auto write(OutputIt out, T value) -> OutputIt { + if (const_check(!is_supported_floating_point(value))) return out; + + using floaty = conditional_t::value, double, T>; + using uint = typename dragonbox::float_info::carrier_uint; + auto bits = bit_cast(value); + + auto fspecs = float_specs(); + auto sign_bit = bits & (uint(1) << (num_bits() - 1)); + if (sign_bit != 0) { + fspecs.sign = sign::minus; + value = -value; + } + + static const auto specs = basic_format_specs(); + uint mask = exponent_mask(); + if ((bits & mask) == mask) + return write_nonfinite(out, std::isinf(value), specs, fspecs); + + auto dec = dragonbox::to_decimal(static_cast(value)); + return write_float(out, dec, specs, fspecs, static_cast('.')); +} + +template ::value && + !is_fast_float::value)> +inline auto write(OutputIt out, T value) -> OutputIt { + return write(out, value, basic_format_specs()); +} + +template +auto write(OutputIt out, monostate, basic_format_specs = {}, + locale_ref = {}) -> OutputIt { + FMT_ASSERT(false, ""); + return out; +} + +template +FMT_CONSTEXPR auto write(OutputIt out, basic_string_view value) + -> OutputIt { + auto it = reserve(out, value.size()); + it = copy_str_noinline(value.begin(), value.end(), it); + return base_iterator(out, it); +} + +template ::value)> +constexpr auto write(OutputIt out, const T& value) -> OutputIt { + return write(out, to_string_view(value)); +} + +template ::value && + !std::is_same::value && + !std::is_same::value)> +FMT_CONSTEXPR auto write(OutputIt out, T value) -> OutputIt { + auto abs_value = static_cast>(value); + bool negative = is_negative(value); + // Don't do -abs_value since it trips unsigned-integer-overflow sanitizer. + if (negative) abs_value = ~abs_value + 1; + int num_digits = count_digits(abs_value); + auto size = (negative ? 1 : 0) + static_cast(num_digits); + auto it = reserve(out, size); + if (auto ptr = to_pointer(it, size)) { + if (negative) *ptr++ = static_cast('-'); + format_decimal(ptr, abs_value, num_digits); + return out; + } + if (negative) *it++ = static_cast('-'); + it = format_decimal(it, abs_value, num_digits).end; + return base_iterator(out, it); +} + +// FMT_ENABLE_IF() condition separated to workaround MSVC bug +template < + typename Char, typename OutputIt, typename T, + bool check = + std::is_enum::value && !std::is_same::value && + mapped_type_constant>::value != + type::custom_type, + FMT_ENABLE_IF(check)> +FMT_CONSTEXPR auto write(OutputIt out, T value) -> OutputIt { + return write( + out, static_cast::type>(value)); +} + +template ::value)> +FMT_CONSTEXPR auto write(OutputIt out, T value, + const basic_format_specs& specs = {}, + locale_ref = {}) -> OutputIt { + return specs.type && specs.type != 's' + ? write(out, value ? 1 : 0, specs, {}) + : write_bytes(out, value ? "true" : "false", specs); +} + +template +FMT_CONSTEXPR auto write(OutputIt out, Char value) -> OutputIt { + auto it = reserve(out, 1); + *it++ = value; + return base_iterator(out, it); +} + +template +FMT_CONSTEXPR_CHAR_TRAITS auto write(OutputIt out, const Char* value) + -> OutputIt { + if (!value) { + FMT_THROW(format_error("string pointer is null")); + } else { + auto length = std::char_traits::length(value); + out = write(out, basic_string_view(value, length)); + } + return out; +} + +template ::value)> +auto write(OutputIt out, const T* value, + const basic_format_specs& specs = {}, locale_ref = {}) + -> OutputIt { + check_pointer_type_spec(specs.type, error_handler()); + return write_ptr(out, to_uintptr(value), &specs); +} + +template +FMT_CONSTEXPR auto write(OutputIt out, const T& value) -> + typename std::enable_if< + mapped_type_constant>::value == + type::custom_type, + OutputIt>::type { + using context_type = basic_format_context; + using formatter_type = + conditional_t::value, + typename context_type::template formatter_type, + fallback_formatter>; + context_type ctx(out, {}, {}); + return formatter_type().format(value, ctx); +} + +// An argument visitor that formats the argument and writes it via the output +// iterator. It's a class and not a generic lambda for compatibility with C++11. +template struct default_arg_formatter { + using iterator = buffer_appender; + using context = buffer_context; + + iterator out; + basic_format_args args; + locale_ref loc; + + template auto operator()(T value) -> iterator { + return write(out, value); + } + auto operator()(typename basic_format_arg::handle h) -> iterator { + basic_format_parse_context parse_ctx({}); + context format_ctx(out, args, loc); + h.format(parse_ctx, format_ctx); + return format_ctx.out(); + } +}; + +template struct arg_formatter { + using iterator = buffer_appender; + using context = buffer_context; + + iterator out; + const basic_format_specs& specs; + locale_ref locale; + + template + FMT_CONSTEXPR FMT_INLINE auto operator()(T value) -> iterator { + return detail::write(out, value, specs, locale); + } + auto operator()(typename basic_format_arg::handle) -> iterator { + // User-defined types are handled separately because they require access + // to the parse context. + return out; + } +}; + +template struct custom_formatter { + basic_format_parse_context& parse_ctx; + buffer_context& ctx; + + void operator()( + typename basic_format_arg>::handle h) const { + h.format(parse_ctx, ctx); + } + template void operator()(T) const {} +}; + +template +using is_integer = + bool_constant::value && !std::is_same::value && + !std::is_same::value && + !std::is_same::value>; + +template class width_checker { + public: + explicit FMT_CONSTEXPR width_checker(ErrorHandler& eh) : handler_(eh) {} + + template ::value)> + FMT_CONSTEXPR auto operator()(T value) -> unsigned long long { + if (is_negative(value)) handler_.on_error("negative width"); + return static_cast(value); + } + + template ::value)> + FMT_CONSTEXPR auto operator()(T) -> unsigned long long { + handler_.on_error("width is not integer"); + return 0; + } + + private: + ErrorHandler& handler_; +}; + +template class precision_checker { + public: + explicit FMT_CONSTEXPR precision_checker(ErrorHandler& eh) : handler_(eh) {} + + template ::value)> + FMT_CONSTEXPR auto operator()(T value) -> unsigned long long { + if (is_negative(value)) handler_.on_error("negative precision"); + return static_cast(value); + } + + template ::value)> + FMT_CONSTEXPR auto operator()(T) -> unsigned long long { + handler_.on_error("precision is not integer"); + return 0; + } + + private: + ErrorHandler& handler_; +}; + +template