static public int WriteProc(IntPtr l) { try { Game.ActionRecord self = (Game.ActionRecord)checkSelf(l); self.WriteProc(); return(0); } catch (Exception e) { return(error(l, e)); } }