Removes an existing callback handler from the handlers list. To use this, you'll need to make your handler an external function, for example:
var jumpCounter = 0;
function jumpHandler(player) {
if(++jumpCounter >= 10) {
Callback.off("PlayerJump", jumpHandler);
}
Debug.m("The player has already jumped " + jumpCounter + " times!");
}
Callback.on("PlayerJump", jumpHandler);
Removes an existing callback handler from the handlers list. To use this, you'll need to make your handler an external function, for example:
var jumpCounter = 0;
function jumpHandler(player) {
if(++jumpCounter >= 10) {
Callback.off("PlayerJump", jumpHandler);
}
Debug.m("The player has already jumped " + jumpCounter + " times!");
}
Callback.on("PlayerJump", jumpHandler);
Removes an existing callback handler from the handlers list. To use this, you'll need to make your handler an external function, for example:
var jumpCounter = 0;
function jumpHandler(player) {
if(++jumpCounter >= 10) {
Callback.off("PlayerJump", jumpHandler);
}
Debug.m("The player has already jumped " + jumpCounter + " times!");
}
Callback.on("PlayerJump", jumpHandler);
Removes an existing callback handler from the handlers list. To use this, you'll need to make your handler an external function, for example:
var jumpCounter = 0;
function jumpHandler(player) {
if(++jumpCounter >= 10) {
Callback.off("PlayerJump", jumpHandler);
}
Debug.m("The player has already jumped " + jumpCounter + " times!");
}
Callback.on("PlayerJump", jumpHandler);
Removes an existing callback handler from the handlers list. To use this, you'll need to make your handler an external function, for example:
var jumpCounter = 0;
function jumpHandler(player) {
if(++jumpCounter >= 10) {
Callback.off("PlayerJump", jumpHandler);
}
Debug.m("The player has already jumped " + jumpCounter + " times!");
}
Callback.on("PlayerJump", jumpHandler);
Removes an existing callback handler from the handlers list. To use this, you'll need to make your handler an external function, for example:
var jumpCounter = 0;
function jumpHandler(player) {
if(++jumpCounter >= 10) {
Callback.off("PlayerJump", jumpHandler);
}
Debug.m("The player has already jumped " + jumpCounter + " times!");
}
Callback.on("PlayerJump", jumpHandler);
Removes an existing callback handler from the handlers list. To use this, you'll need to make your handler an external function, for example:
var jumpCounter = 0;
function jumpHandler(player) {
if(++jumpCounter >= 10) {
Callback.off("PlayerJump", jumpHandler);
}
Debug.m("The player has already jumped " + jumpCounter + " times!");
}
Callback.on("PlayerJump", jumpHandler);
Removes an existing callback handler from the handlers list. To use this, you'll need to make your handler an external function, for example:
var jumpCounter = 0;
function jumpHandler(player) {
if(++jumpCounter >= 10) {
Callback.off("PlayerJump", jumpHandler);
}
Debug.m("The player has already jumped " + jumpCounter + " times!");
}
Callback.on("PlayerJump", jumpHandler);
Same as addCallback, but using improved callback system allowing you to add a callback handler, that will be called only once, or to remove an existing callback handler with off.
Same as addCallback, but using improved callback system allowing you to add a callback handler, that will be called only once, or to remove an existing callback handler with off.
Same as addCallback, but using improved callback system allowing you to add a callback handler, that will be called only once, or to remove an existing callback handler with off.
Same as addCallback, but using improved callback system allowing you to add a callback handler, that will be called only once, or to remove an existing callback handler with off.
Same as addCallback, but using improved callback system allowing you to add a callback handler, that will be called only once, or to remove an existing callback handler with off.
Same as addCallback, but using improved callback system allowing you to add a callback handler, that will be called only once, or to remove an existing callback handler with off.
Same as addCallback, but using improved callback system allowing you to add a callback handler, that will be called only once, or to remove an existing callback handler with off.
Same as addCallback, but using improved callback system allowing you to add a callback handler, that will be called only once, or to remove an existing callback handler with off.
Same as addCallback, but the given callback handler will be called only once, when the event occurs, and then it'll be removed from the handlers list.
Same as addCallback, but the given callback handler will be called only once, when the event occurs, and then it'll be removed from the handlers list.
Same as addCallback, but the given callback handler will be called only once, when the event occurs, and then it'll be removed from the handlers list.
Same as addCallback, but the given callback handler will be called only once, when the event occurs, and then it'll be removed from the handlers list.
Same as addCallback, but the given callback handler will be called only once, when the event occurs, and then it'll be removed from the handlers list.
Same as addCallback, but the given callback handler will be called only once, when the event occurs, and then it'll be removed from the handlers list.
Same as addCallback, but the given callback handler will be called only once, when the event occurs, and then it'll be removed from the handlers list.
Same as addCallback, but the given callback handler will be called only once, when the event occurs, and then it'll be removed from the handlers list.
Generated using TypeDoc
Extension for InnerCore's Callback module listing new callbacks invoked by Kernel Extension mod and adding some new features to the callback system.
1.0