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