コード例 #1
0
 static int ContainsInstanceSkillId(IntPtr L)
 {
     try
     {
         ToLua.CheckArgsCount(L, 2);
         SkillManager obj  = (SkillManager)ToLua.CheckObject(L, 1, typeof(SkillManager));
         long         arg0 = LuaDLL.tolua_checkint64(L, 2);
         bool         o    = obj.ContainsInstanceSkillId(arg0);
         LuaDLL.lua_pushboolean(L, o);
         return(1);
     }
     catch (Exception e)
     {
         return(LuaDLL.toluaL_exception(L, e));
     }
 }