protected override void RegisterHook() { SetupMapping(); XConn = XConnectionSingleton.GetInstance(); XConn.OnEvent += HandleXEvent; }