added custom converters for GUICustomComponent's delegates

This commit is contained in:
EvilFactory
2022-08-20 12:03:05 -03:00
parent 0365956c9b
commit 9fb25252a6

View File

@@ -19,6 +19,7 @@ namespace Barotrauma
RegisterAction<Item>();
RegisterAction<Character>();
RegisterAction<Entity>();
RegisterAction<float>();
RegisterAction();
RegisterFunc<Fixture, Vector2, Vector2, float, float>();
@@ -42,7 +43,8 @@ namespace Barotrauma
v => (LuaCsPatchFunc)((self, args) => CallLuaFunction(v.Function, self, args)));
#if CLIENT
RegisterAction<float>();
RegisterAction<Microsoft.Xna.Framework.Graphics.SpriteBatch, GUICustomComponent>();
RegisterAction<float, Microsoft.Xna.Framework.Graphics.SpriteBatch>();
RegisterAction<Microsoft.Xna.Framework.Graphics.SpriteBatch, float>();
{