static public int WriteActions(IntPtr l) { try { Game.ActionRecord self = (Game.ActionRecord)checkSelf(l); var ret = self.WriteActions(); pushValue(l, ret); return(1); } catch (Exception e) { return(error(l, e)); } }