public Table Client() { qConnection client = new qConnection(); //client.host = host; //client.port = port; client.plugin = plugin; client.luaTable = new Table(plugin.lua); client.luaTable["_object"] = client; client.luaTable.MetaTable = plugin.wrappedMeta; //Thread thread = new Thread(client.connect); //thread.Start(); return(client.luaTable); }
public static void ConnectionRemove(qConnection connection) { connections.Remove(connection); }
public static void ConnectionAdd(qConnection connection) { connections.Add(connection); }