static public int IsMessageDone(IntPtr l) { try { SkillSystem.SkillInstance self = (SkillSystem.SkillInstance)checkSelf(l); var ret = self.IsMessageDone(); pushValue(l, true); pushValue(l, ret); return(2); } catch (Exception e) { return(error(l, e)); } }