Gets the single instance of CCNotificationCenter.
Getting Started
Modding Tutorials
Geode Mods
Handbook
An Introduction to GD Modding (using Geode)
#include <Geode/cocos/support/CCNotificationCenter.h>
Gets the single instance of CCNotificationCenter.
Destroys the single instance of CCNotificationCenter.
Adds an observer for the specified target.
target
selector
name
obj
Removes the observer by the specified target and name.
target
name
Removes all notifications registered by this target
target
Registers one hander for script binding.
handler
ℹ Only supports Lua Binding now.
Unregisters script observer
Posts one notification event by name.
name
Posts one notification event by name.
name
object
Gets script handler.
ℹ Only supports Lua Binding now.
Gets observer script handler.
name