public FurnitureActions() { // TODO: This should be moved to a more logical location LuaUtilities.RegisterGlobal(typeof(Inventory)); LuaUtilities.RegisterGlobal(typeof(Job)); LuaUtilities.RegisterGlobal(typeof(ModUtils)); LuaUtilities.RegisterGlobal(typeof(World)); }
public FurnitureActions() { // TODO: This should be moved to a more logical location LuaUtilities.RegisterGlobal(typeof(Inventory)); LuaUtilities.RegisterGlobal(typeof(Job)); LuaUtilities.RegisterGlobal(typeof(ModUtils)); LuaUtilities.RegisterGlobal(typeof(World)); LuaUtilities.RegisterGlobal(typeof(WorldController)); LuaUtilities.RegisterGlobal(typeof(Power.Connection)); LoadScripts(); }
public Scheduler() { this.events = new List <ScheduledEvent>(); this.eventsToAddNextTick = new List <ScheduledEvent>(); Debug.ULogChannel("Scheduler", "Loading Lua stripts"); // FIXME: Are these actually needed here? LuaUtilities.RegisterGlobal(typeof(Inventory)); LuaUtilities.RegisterGlobal(typeof(Job)); LuaUtilities.RegisterGlobal(typeof(ModUtils)); LuaUtilities.RegisterGlobal(typeof(World)); LoadScripts(); }