getKcAsync
getKcAsync: (ChatApi, string, string) -> number?The kill count, nil until fetched. This never blocks: ask again later.
chatClient| Method | Returns | Description |
|---|---|---|
getKcAsync(string, string) | number? | The kill count, nil until fetched. This never blocks: ask again later. |
submitKcAsync(string, string, number) | boolean | Submit the kill count, sent in the background; true when it was queued, whether or not the server takes it. |
getQpAsync(string) | number? | Quest points, nil until fetched. |
submitQpAsync(string, number) | boolean | Submit quest points, sent in the background. |
getGcAsync(string) | number? | The gamble count, nil until fetched. |
submitGcAsync(string, number) | boolean | Submit the gamble count, sent in the background. |
getPbAsync(string, string) | number? | The personal best in seconds, nil until fetched. |
submitPbAsync(string, string, number) | boolean | Submit the personal best, sent in the background. |
getTaskAsync(string) | ChatTask? | The slayer task, nil until fetched. |
submitTaskAsync(string, string, number, number, string?) | boolean | Submit the slayer task, sent in the background. location may be nil (a task with none): the parameter is sent with no value. |
getDuelsAsync(string) | Duels? | The duel record, nil until fetched. |
submitDuelsAsync(string, number, number, number, number) | boolean | Submit the duel record, sent in the background. |
getLayoutAsync(string) | {LayoutRoom}? | The raid layout, nil until fetched. |
submitLayoutAsync(string, {LayoutRoom}) | boolean | Submit the raid layout, sent in the background. |
getPetListAsync(string) | {number}? | The pets' item ids, nil until fetched. |
submitPetListAsync(string, {number}) | boolean | Submit the pet list, sent in the background. |
getKcAsyncgetKcAsync: (ChatApi, string, string) -> number?The kill count, nil until fetched. This never blocks: ask again later.
submitKcAsyncsubmitKcAsync: (ChatApi, string, string, number) -> booleanSubmit the kill count, sent in the background; true when it was queued, whether or not the server takes it.
getQpAsyncgetQpAsync: (ChatApi, string) -> number?Quest points, nil until fetched.
submitQpAsyncsubmitQpAsync: (ChatApi, string, number) -> booleanSubmit quest points, sent in the background.
getGcAsyncgetGcAsync: (ChatApi, string) -> number?The gamble count, nil until fetched.
submitGcAsyncsubmitGcAsync: (ChatApi, string, number) -> booleanSubmit the gamble count, sent in the background.
getPbAsyncgetPbAsync: (ChatApi, string, string) -> number?The personal best in seconds, nil until fetched.
submitPbAsyncsubmitPbAsync: (ChatApi, string, string, number) -> booleanSubmit the personal best, sent in the background.
getTaskAsyncgetTaskAsync: (ChatApi, string) -> ChatTask?The slayer task, nil until fetched.
submitTaskAsyncsubmitTaskAsync: (ChatApi, string, string, number, number, string?) -> booleanSubmit the slayer task, sent in the background. location may be nil (a task with none): the parameter is sent with no value.
getDuelsAsyncgetDuelsAsync: (ChatApi, string) -> Duels?The duel record, nil until fetched.
submitDuelsAsyncsubmitDuelsAsync: (ChatApi, string, number, number, number, number) -> booleanSubmit the duel record, sent in the background.
getLayoutAsyncgetLayoutAsync: (ChatApi, string) -> {LayoutRoom}?The raid layout, nil until fetched.
submitLayoutAsyncsubmitLayoutAsync: (ChatApi, string, {LayoutRoom}) -> booleanSubmit the raid layout, sent in the background.
getPetListAsyncgetPetListAsync: (ChatApi, string) -> {number}?The pets' item ids, nil until fetched.
submitPetListAsyncsubmitPetListAsync: (ChatApi, string, {number}) -> booleanSubmit the pet list, sent in the background.