Ejemplo n.º 1
0
 static int _onConnectionState(IntPtr L)
 {
     try
     {
         ToLua.CheckArgsCount(L, 2);
         KBEngine.NetworkInterface obj = (KBEngine.NetworkInterface)ToLua.CheckObject <KBEngine.NetworkInterface>(L, 1);
         KBEngine.NetworkInterface.ConnectState arg0 = (KBEngine.NetworkInterface.ConnectState)ToLua.CheckObject <KBEngine.NetworkInterface.ConnectState>(L, 2);
         obj._onConnectionState(arg0);
         return(0);
     }
     catch (Exception e)
     {
         return(LuaDLL.toluaL_exception(L, e));
     }
 }