Cinema 4D uses different message systems to communicate with classic plugins:
Core messages are sent to inform the GUI about crucial events. If one edits the currently active scene or wants to get informed about changes it is needed to handle such core messages. See Core Messages Manual.