static public int PlayAnimation(IntPtr l) { try { GameFramework.EntityViewModel self = (GameFramework.EntityViewModel)checkSelf(l); System.String a1; checkType(l, 2, out a1); self.PlayAnimation(a1); pushValue(l, true); return(1); } catch (Exception e) { return(error(l, e)); } }