Skip to content

Commit

Permalink
Add download-requests.md
Browse files Browse the repository at this point in the history
  • Loading branch information
adib-yg committed Feb 3, 2024
1 parent 3907a7e commit dda16b9
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions docs/scripting/resources/download-requests.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
---
title: Download Request Types
description: Download request types. (used by [OnPlayerRequestDownload](../callbacks/OnPlayerRequestDownload))
---

:::note

These definitions are used by [OnPlayerRequestDownload](../callbacks/OnPlayerRequestDownload) callback.

:::

| ID | Definition |
|----|-------------------------------|
| -1 | UNKNOWN_DOWNLOAD_REQUEST |
| 0 | DOWNLOAD_REQUEST_EMPTY |
| 1 | DOWNLOAD_REQUEST_MODEL_FILE |
| 2 | DOWNLOAD_REQUEST_TEXTURE_FILE |

0 comments on commit dda16b9

Please sign in to comment.