static int set_RequestNotify(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); Net obj = (Net)o; Net.RequestNotifyDelegate arg0 = (Net.RequestNotifyDelegate)ToLua.CheckDelegate <Net.RequestNotifyDelegate>(L, 2); obj.RequestNotify = arg0; return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o, "attempt to index RequestNotify on a nil value")); } }
static int get_RequestNotify(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); Net obj = (Net)o; Net.RequestNotifyDelegate ret = obj.RequestNotify; ToLua.Push(L, ret); return(1); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o, "attempt to index RequestNotify on a nil value")); } }