private TGNetService() { eventHandles = new Dictionary <string, ArrayList>(); eventHandlesRemove = new ArrayList(); pool = new UTGNetServicePool(); }
static int set_pool(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); TGNetService obj = (TGNetService)o; UTGNetServicePool arg0 = (UTGNetServicePool)ToLua.CheckObject(L, 2, typeof(UTGNetServicePool)); obj.pool = arg0; return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index pool on a nil value" : e.Message)); } }
static int get_pool(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); TGNetService obj = (TGNetService)o; UTGNetServicePool ret = obj.pool; ToLua.PushObject(L, ret); return(1); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index pool on a nil value" : e.Message)); } }