2025-01-15 22:41:17 +00:00
|
|
|
package funkin.data.stickers;
|
|
|
|
|
|
|
|
/**
|
2025-04-02 21:45:18 +00:00
|
|
|
* A type definition for a sticker pack.
|
|
|
|
* It includes things like its name, the artist, and what sticker graphics to use.
|
2025-01-15 22:41:17 +00:00
|
|
|
* @see https://lib.haxe.org/p/json2object/
|
|
|
|
*/
|
|
|
|
typedef StickerData =
|
|
|
|
{
|
|
|
|
/**
|
|
|
|
* Semantic version of the sticker set data.
|
|
|
|
*/
|
|
|
|
public var version:String;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Readable name of the sticker set.
|
|
|
|
*/
|
|
|
|
public var name:String;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* The artist of the sticker set.
|
|
|
|
*/
|
|
|
|
public var artist:String;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* The stickers in the set.
|
2025-04-02 21:45:18 +00:00
|
|
|
* This is simply a list of asset files to use.
|
2025-01-15 22:41:17 +00:00
|
|
|
*/
|
2025-04-02 21:45:18 +00:00
|
|
|
public var stickers:Array<String>;
|
2025-01-15 22:41:17 +00:00
|
|
|
}
|