Class: account_profiles_cb
Multiplayer callback binding for account_profiles_cb.
Source
C++ class account_profiles_cb
Custom Constructor
account_profiles_cb
Remarks
Keeps the Lua callback target and function together for asynchronous account requests.
Constructors
Constructor
ts
new account_profiles_cb(object: object, cb: (this: object, code: number, description: string) => void): account_profiles_cb;Parameters
| Parameter | Type | Description |
|---|---|---|
object | object | Lua object used as callback this. |
cb | (this: object, code: number, description: string) => void | Called with profile count and status description. |
Returns
account_profiles_cb
Methods
bind()
ts
bind(object: object, cb: (this: object, code: number, description: string) => void): void;Replace the bound callback.
Parameters
| Parameter | Type | Description |
|---|---|---|
object | object | Lua object used as callback this. |
cb | (this: object, code: number, description: string) => void | Called with profile 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.