public override void RegisterCallback(string strPropertyName, AFIProperty.PropertyEventHandler handler) { if (mhtProperty.ContainsKey(strPropertyName)) { AFIProperty xProperty = (AFCProperty)mhtProperty[strPropertyName]; xProperty.RegisterCallback(handler); } }
///////////////////////////////////////////////////////////// public abstract void RegisterPropertyCallback(AFIDENTID self, string strPropertyName, AFIProperty.PropertyEventHandler handler);
public abstract void RegisterCallback(string strPropertyName, AFIProperty.PropertyEventHandler handler);
public override void RegisterPropertyCallback(AFIDENTID self, string strPropertyName, AFIProperty.PropertyEventHandler handler) { AFIObject xGameObject = GetObject(self); if (null != xGameObject) { xGameObject.GetPropertyManager().RegisterCallback(strPropertyName, handler); } }