REFramework Lua API

⭐ — (28 endorsements) 📥 743 downloads 📌 vv0.9.2 📅 4/10/2024
⚪ Last updated 2024

By rthomasv3 · Miscellaneous

⬇ Download Mod Source: Nexus Mods ↗ 📅 Updated: 4/12/2024 📅 Created: 4/10/2024

🔍 Analysis

  • 👍 3.8% endorsement rate — high engagement, a strong quality signal
  • 🏆 #99 of 125 Miscellaneous mods in this game by downloads

📋 About This Mod

Lua wrapper for REFramework API methods, allowing for code autocomplete (IntelliSense), inline documentation, and detailed error messages.

About

This is a beta release and doesn't yet include the full REFramework API.

This is a Lua wrapper generated from the REFramework C++ code along with the HTML documentation to create a simple Lua library. The library wraps the REFramework APIs to provide full IntelliSense, strong typing, documentation, and detailed error messages for your mods.

  • []draw

    []imgui

    []json

    []reframework

    []types (type definitions)

    It also includes a few useful utility functions that commonly come up in mod development.

    • []write_valuetype

      []find_index

      []merge_tables

      []table_contains

      []generate_statics

      []save_config

      []load_config

      []vec2_tostring

      []vec3_tostring

      []vec4_tostring

      []get_components

      []get_component

      []get_transform

      []get_fields_by_type

      []get_fields

      Editors

      This should work in any editor that supports the Lua language server - so something like VS Code or Neovim with a Lua plugin/extension.

      You may need to open the whole autorun folder in your editor so it will see all the files and autocomplete correctly.

      Installation

      You can install manually by extracting and copying this mod and REFramework into the game install directory. If you're not sure how, I would recommend grabbing Fluffy Mod Manager and just dragging everything onto it to install - no need to extract with Fluffy.

      Then require and use the API in your script.

      local api = require("REFrameworkAPI")

      local vec = api.types. Vector2f:new(1. 0, 2. 0)

      api.sdk.hook(

      api.sdk.find_type_definition("app. ItemManager"):get_method("getStorageWeight"),

      function(args)

      function(rtval)

      return rtval

📊 Mod Details

Game
Dragonsdogma2 Mods
Author
rthomasv3
Version
v0.9.2
Downloads
743
Endorsements
28
Category
Miscellaneous
Created
4/10/2024
Updated
4/12/2024

🔧 How to Install Dragon's Dogma 2 Mods

Download from Nexus Mods.

📖 Full step-by-step install guide for Dragon's Dogma 2 →

Visit the official mod page for specific installation instructions for this mod.

🎮 Need cheat codes or console commands? Check ur gaming wiki for Dragon's Dogma 2 commands, item IDs, and more.

Keep browsing — more Dragon's Dogma 2 mods await