RhythmGame 1.4.3
Loading...
Searching...
No Matches
Static Public Attributes | List of all members
charts::RandomBlock Struct Reference

Static Public Attributes

static constexpr auto rule
 
static constexpr auto value
 

Member Data Documentation

◆ rule

constexpr auto charts::RandomBlock::rule
staticconstexpr
Initial value:
=
dsl::ascii::case_folding(LEXY_LIT("#random")) >>
(dsl::integer<ParsedBmsChart::RandomRange>(dsl::digits<>) +
dsl::p<IfList> +
(dsl::peek(dsl::ascii::case_folding(LEXY_LIT("#random"))) |
dsl::ascii::case_folding(LEXY_LIT("#endrandom")) | dsl::eof))

◆ value

constexpr auto charts::RandomBlock::value
staticconstexpr
Initial value:
=
lexy::bind(lexy::callback<ParsedBmsChart::Tags>(resolveIfs),
lexy::values,
lexy::parse_state)
auto resolveIfs(ParsedBmsChart::RandomRange randomRange, std::vector< std::variant< IfData, ParsedBmsChart::Tags > > randomContents, const ParseState &parseState) -> ParsedBmsChart::Tags
Definition ReadBmsFile.cpp:980

The documentation for this struct was generated from the following file: