Funkin/source/funkin/ui/credits/CreditsData.hx

35 lines
530 B
Haxe
Raw Normal View History

2024-03-26 12:33:54 -04:00
package funkin.ui.credits;
/**
* The members of the Funkin' Crew, organized by their roles.
*/
typedef CreditsData =
{
2024-03-28 02:57:22 -04:00
var entries:Array<CreditsDataRole>;
2024-03-26 12:33:54 -04:00
}
/**
* The members of a specific role on the Funkin' Crew.
*/
typedef CreditsDataRole =
{
2024-03-28 02:57:22 -04:00
@:optional
var header:String;
@:optional
@:default([])
var body:Array<CreditsDataMember>;
@:optional
@:default(false)
var appendBackers:Bool;
2024-03-26 12:33:54 -04:00
}
/**
* A member of a specific person on the Funkin' Crew.
*/
typedef CreditsDataMember =
{
2024-03-28 02:57:22 -04:00
var line:String;
2024-03-26 12:33:54 -04:00
}