public override void RegisterCallback(string strPropertyName, NFIProperty.PropertyEventHandler handler) { if (mhtProperty.ContainsKey(strPropertyName)) { NFIProperty xProperty = (NFCProperty)mhtProperty[strPropertyName]; xProperty.RegisterCallback(handler); } }
public override void RegisterGroupPropertyCallback(string strPropertyName, NFIProperty.PropertyEventHandler handler) { NFIObject xGameObject = GetObject(new NFGUID(0, 0)); if (null != xGameObject) { xGameObject.GetPropertyManager().RegisterCallback(strPropertyName, handler); } }
///////////////////////////////////////////////////////////// public abstract void RegisterPropertyCallback(NFGUID self, string strPropertyName, NFIProperty.PropertyEventHandler handler);
public abstract void RegisterCallback(string strPropertyName, NFIProperty.PropertyEventHandler handler);
public override void RegisterPropertyCallback(NFIDENTID self, string strPropertyName, NFIProperty.PropertyEventHandler handler) { NFIObject xGameObject = GetObject(self); if (null != xGameObject) { xGameObject.GetPropertyManager().RegisterCallback(strPropertyName, handler); } }