Skip to content

EventSinkApiDeclaration

No properties found.

No fields found.

No enums found.

(callback) Invoked when an item is added to the client. The event’s argument is the ApiItem.

Parameters:

NameTypeOptionalDescription
callbackobject❌ No

Return Type: void (Does not return anything)


(callback) Invoked when an item is already in the client but has been updated. The event’s argument is the ApiItem.

Parameters:

NameTypeOptionalDescription
callbackobject❌ No

Return Type: void (Does not return anything)


(callback) Invoked when a corpse is added to the client. The event’s ‘sender’ is the corpse Item

Parameters:

NameTypeOptionalDescription
callbackobject❌ No

Return Type: void (Does not return anything)


(callback) Invoked when the player is connected to a server

Parameters:

NameTypeOptionalDescription
callbackobject❌ No

Return Type: void (Does not return anything)


(callback) Invoked when the player is disconnected from the server

Parameters:

NameTypeOptionalDescription
callbackobject❌ No

Return Type: void (Does not return anything)


(callback) Invoked when any message is received from the server after client processing

Parameters:

NameTypeOptionalDescription
callbackobject❌ No

Return Type: void (Does not return anything)


(callback) Invoked when any message is received from the server before client processing

Parameters:

NameTypeOptionalDescription
callbackobject❌ No

Return Type: void (Does not return anything)


(callback) Not currently used. May be removed later or put into use, not sure right now

Parameters:

NameTypeOptionalDescription
callbackobject❌ No

Return Type: void (Does not return anything)


(callback) Invoked when a message is added to the journal

Parameters:

NameTypeOptionalDescription
callbackobject❌ No

Return Type: void (Does not return anything)


(callback) Invoked when the server requests that a sound be played

Parameters:

NameTypeOptionalDescription
callbackobject❌ No

Return Type: void (Does not return anything)


(callback) Invoked when an object’s property list data (Tooltip text for items) is received

Parameters:

NameTypeOptionalDescription
callbackobject❌ No

Return Type: void (Does not return anything)


(callback) Invoked when a buff is “added” to a player. The event’s argument is the ApiBuff.

Parameters:

NameTypeOptionalDescription
callbackobject❌ No

Return Type: void (Does not return anything)


(callback) Invoked when a buff is “removed” to a player (Called before removal) The event’s argument is the ApiBuff.

Parameters:

NameTypeOptionalDescription
callbackobject❌ No

Return Type: void (Does not return anything)


(callback) Invoked when the player’s position is changed

Parameters:

NameTypeOptionalDescription
callbackobject❌ No

Return Type: void (Does not return anything)


(callback) Invoked when any entity in the game receives damage, not necessarily the player.

Parameters:

NameTypeOptionalDescription
callbackobject❌ No

Return Type: void (Does not return anything)


(callback) Invoked when a container is opened. The event’s ‘sender’ is the Item, the event’s argument is the item’s serial

Parameters:

NameTypeOptionalDescription
callbackobject❌ No

Return Type: void (Does not return anything)


(callback) Invoked when the player receives a death packet from the server

Parameters:

NameTypeOptionalDescription
callbackobject❌ No

Return Type: void (Does not return anything)


(callback) Invoked when the player or server tells the client to path find Vector is X, Y, Z, and Distance

Parameters:

NameTypeOptionalDescription
callbackobject❌ No

Return Type: void (Does not return anything)


(callback) Invoked when the server asks the client to generate some weather

Parameters:

NameTypeOptionalDescription
callbackobject❌ No

Return Type: void (Does not return anything)


(callback) Invoked after the player’s hit points have changed.

Parameters:

NameTypeOptionalDescription
callbackobject❌ No

Return Type: void (Does not return anything)


(callback) Invoked when a mobile is created. The event’s sender is null and the argument is an ApiMobile.

Parameters:

NameTypeOptionalDescription
callbackobject❌ No

Return Type: void (Does not return anything)