This commit is contained in:
SmallJoker 2024-06-25 21:54:59 +02:00
parent 1efe13939e
commit cae0fe50ae

9
API.md
View File

@ -35,6 +35,15 @@ Registers a new skin based on the texture file path specified by `path` and `fil
* `filename` (string): full file name, without any path specifications.
The file name must adhere to [one of the accepted naming formats](textures/readme.txt).
Note: this function takes the following files into consideration:
1. `<path>/<filename>` (required)
* Main skin texture
2. `<path>/<filenamestem><separator>preview.png` (optional)
* Pre-generated preview image
3. `<path>/../meta/<filenamestem>.txt` (optional)
* Metadata regarding the skin
Return values:
* On failure: `false, reason`