Example #1
0
 static int AttackClick(IntPtr L)
 {
     try
     {
         ToLua.CheckArgsCount(L, 1);
         WorldController obj = (WorldController)ToLua.CheckObject(L, 1, typeof(WorldController));
         obj.AttackClick();
         return(0);
     }
     catch (Exception e)
     {
         return(LuaDLL.toluaL_exception(L, e));
     }
 }