static public int SendMessage(IntPtr l) { try { StorySystem.StoryInstance self = (StorySystem.StoryInstance)checkSelf(l); System.String a1; checkType(l, 2, out a1); System.Object[] a2; checkParams(l, 3, out a2); self.SendMessage(a1, a2); pushValue(l, true); return(1); } catch (Exception e) { return(error(l, e)); } }