static public int Set(IntPtr l) { try { int argc = LuaDLL.lua_gettop(l); if (matchType(l, argc, 2, typeof(Dsl.ISyntaxComponent))) { SkillSystem.SkillLongParam self = (SkillSystem.SkillLongParam)checkSelf(l); Dsl.ISyntaxComponent a1; checkType(l, 2, out a1); self.Set(a1); pushValue(l, true); return(1); } else if (matchType(l, argc, 2, typeof(System.Int64))) { SkillSystem.SkillLongParam self = (SkillSystem.SkillLongParam)checkSelf(l); System.Int64 a1; checkType(l, 2, out a1); self.Set(a1); pushValue(l, true); return(1); } pushValue(l, false); LuaDLL.lua_pushstring(l, "No matched override function to call"); return(2); } catch (Exception e) { return(error(l, e)); } }