replace harmony with a custom one that includes __params, some fixes in the lua setup and hook method is now actually useful
This commit is contained in:
@@ -320,6 +320,7 @@ namespace Barotrauma
|
||||
UserData.RegisterType<LuaFile>();
|
||||
UserData.RegisterType<LuaNetworking>();
|
||||
UserData.RegisterType<LuaUserData>();
|
||||
UserData.RegisterType<LuaHook.HookMethodType>();
|
||||
UserData.RegisterType<IUserDataDescriptor>();
|
||||
|
||||
UserData.RegisterType<PrefabCollection<ItemPrefab>>();
|
||||
@@ -330,6 +331,11 @@ namespace Barotrauma
|
||||
|
||||
UserData.RegisterType<Pair<JobPrefab, int>>();
|
||||
|
||||
#if SERVER
|
||||
|
||||
#elif CLIENT
|
||||
UserData.RegisterType<LuaGUI>();
|
||||
#endif
|
||||
|
||||
lua.Globals["setmodulepaths"] = (Action<string[]>)SetModulePaths;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user