added custom converters for GUICustomComponent's delegates
This commit is contained in:
@@ -19,6 +19,7 @@ namespace Barotrauma
|
|||||||
RegisterAction<Item>();
|
RegisterAction<Item>();
|
||||||
RegisterAction<Character>();
|
RegisterAction<Character>();
|
||||||
RegisterAction<Entity>();
|
RegisterAction<Entity>();
|
||||||
|
RegisterAction<float>();
|
||||||
RegisterAction();
|
RegisterAction();
|
||||||
|
|
||||||
RegisterFunc<Fixture, Vector2, Vector2, float, float>();
|
RegisterFunc<Fixture, Vector2, Vector2, float, float>();
|
||||||
@@ -42,7 +43,8 @@ namespace Barotrauma
|
|||||||
v => (LuaCsPatchFunc)((self, args) => CallLuaFunction(v.Function, self, args)));
|
v => (LuaCsPatchFunc)((self, args) => CallLuaFunction(v.Function, self, args)));
|
||||||
|
|
||||||
#if CLIENT
|
#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>();
|
RegisterAction<Microsoft.Xna.Framework.Graphics.SpriteBatch, float>();
|
||||||
|
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user