Class: suggest_nicks_cb
Multiplayer callback binding for suggest_nicks_cb.
Source
C++ class suggest_nicks_cb
Custom Constructor
suggest_nicks_cb
Remarks
Used by unique-nick suggestion requests.
Constructors
Constructor
ts
new suggest_nicks_cb(object: object, cb: (this: object, result: number, description: string) => void): suggest_nicks_cb;Parameters
| Parameter | Type | Description |
|---|---|---|
object | object | Lua object used as callback this. |
cb | (this: object, result: number, description: string) => void | Called with suggestion count and status description. |
Returns
suggest_nicks_cb
Methods
bind()
ts
bind(object: object, cb: (this: object, result: number, description: string) => void): void;Replace the bound callback.
Parameters
| Parameter | Type | Description |
|---|---|---|
object | object | Lua object used as callback this. |
cb | (this: object, result: number, description: string) => void | Called with suggestion count and status description. |
Returns
void
clear()
ts
clear(): void;Clear the bound callback.
Returns
void
Remarks
After clearing, native completion has no Lua function to call.