Cintique fb6c335f0f Add LuaUserData.CreateUserDataOfType.
Converts a Lua value to a desired CLR type and wraps it in a userdata to avoid automatic conversions.
Example: a Lua script needs to pass a List`1 to a CLR method expecting System.Object, MoonSharp gets
in the way by converting the List`1 to a MoonSharp.Interpreter.Table and breaking everything.
Wrapping the value in a userdata preserves the original type during conversions.
2022-05-31 14:54:09 +10:00
2020-03-04 13:04:10 +01:00
2021-03-05 17:00:56 +02:00
2022-05-27 17:10:57 -03:00
2022-05-07 13:13:09 +03:00
2022-05-14 02:54:30 +03:00
2021-03-05 17:00:56 +02:00
2022-05-30 12:26:45 -03:00
2022-05-06 22:35:47 +03:00
2022-04-19 22:54:34 -03:00
2021-06-17 17:58:09 +03:00
2017-06-04 21:24:36 +03:00
2022-05-13 12:33:08 -03:00

LuaForBarotrauma

This is a Barotrauma modification that adds Lua modding support.

Online Documentation: https://evilfactory.github.io/LuaCsForBarotrauma

VS Code Documentation: https://gitee.com/zhurengong/btlua-docs

Discord: https://discord.gg/f9zvNNuxu9

This project uses a forked version of Moonsharp: https://github.com/evilfactory/moonsharp

Barotrauma

Copyright © FakeFish Ltd 2017-2022

Before downloading the source code, please read the EULA.

If you have a question or an issue to report, please check our Contribution Guideline.

If you're interested in working on the code, either to develop mods or to contribute something to the repository, you will also find instructions in the Contribution Guideline.

Official Website: www.barotraumagame.com

Steam Forums: https://steamcommunity.com/app/602960/discussions/

Discord: https://discordapp.com/invite/undertow

Wiki: https://barotraumagame.com/wiki/Main_Page

Prerequisities:

Windows

  • Visual Studio with C# 8.0 support (VS 2019 or later recommended)

Linux

macOS

Description
No description provided
Readme 569 MiB
Languages
C# 63.2%
C 26.8%
C++ 5.9%
Shell 1.1%
Makefile 0.8%
Other 1.9%