public bool initWithTarget(SelectorProtocol pSelectorTarget, SEL_CallFuncND selector, object d) { if (!base.initWithTarget(pSelectorTarget)) { return(false); } this.m_pData = d; this.m_pCallFuncND = selector; return(true); }
// todo //public static CCCallFuncND actionWithScriptFuncName(string pszFuncName, object d) //{ // CCCallFuncND pRet = new CCCallFuncND(); // if (pRet != null && pRet.initWithScriptFuncName(pszFuncName)) // { // pRet.m_pData = d; // return pRet; // } // return null; //} public bool initWithTarget(SelectorProtocol pSelectorTarget, SEL_CallFuncND selector, object d) { if (base.initWithTarget(pSelectorTarget)) { m_pData = d; m_pCallFuncND = selector; return true; } return false; }
public static CCCallFuncND actionWithTarget(SelectorProtocol pSelectorTarget, SEL_CallFuncND selector, object d) { CCCallFuncND pRet = new CCCallFuncND(); if (pRet != null && pRet.initWithTarget(pSelectorTarget, selector, d)) { return pRet; } return null; }
public static CCCallFuncND actionWithTarget(SelectorProtocol pSelectorTarget, SEL_CallFuncND selector, object d) { CCCallFuncND pRet = new CCCallFuncND(); if (pRet != null && pRet.initWithTarget(pSelectorTarget, selector, d)) { return(pRet); } return(null); }
public bool InitWithTarget(SEL_CallFuncND selector, object d) { m_pData = d; m_pCallFuncND = selector; return true; }
public CCCallFuncND(SEL_CallFuncND selector, object d) : base() { InitWithTarget(selector, d); }
public bool InitWithTarget(SEL_CallFuncND selector, object d) { m_pData = d; m_pCallFuncND = selector; return(true); }
public static CCCallFuncND actionWithTarget(SelectorProtocol pSelectorTarget, SEL_CallFuncND selector, object d) { CCCallFuncND cCCallFuncND = new CCCallFuncND(); if (cCCallFuncND != null && cCCallFuncND.initWithTarget(pSelectorTarget, selector, d)) { return(cCCallFuncND); } return(null); }