public override void RegisterEventCallBack(AFIDENTID self, int nEventID, AFIEvent.EventHandler handler, AFIDataList valueList) { AFIObject xGameObject = GetObject(self); if (null != xGameObject) { xGameObject.GetEventManager().RegisterCallback(nEventID, handler, valueList); } }