[Engine] Added MSG_TYPE hook variable