Skip to content

Class: found_email_cb ​

Multiplayer callback binding for found_email_cb.

Source ​

C++ class found_email_cb

Custom Constructor ​

found_email_cb

Remarks ​

Used by account email lookup requests.

Constructors ​

Constructor ​

ts
new found_email_cb(object: object, cb: (this: object, found: boolean, description: string) => void): found_email_cb;

Parameters ​

ParameterTypeDescription
objectobjectLua object used as callback this.
cb(this: object, found: boolean, description: string) => voidCalled with search result and user name or description.

Returns ​

found_email_cb

Methods ​

bind() ​

ts
bind(object: object, cb: (this: object, found: boolean, description: string) => void): void;

Replace the bound callback.

Parameters ​

ParameterTypeDescription
objectobjectLua object used as callback this.
cb(this: object, found: boolean, description: string) => voidCalled with search result and user name or description.

Returns ​

void


clear() ​

ts
clear(): void;

Clear the bound callback.

Returns ​

void

Remarks ​

After clearing, native completion has no Lua function to call.