Skip to main content

layout_file_name

Function layout_file_name 

Source
pub fn layout_file_name(game_key: &str, campaign: Option<&str>) -> String
Expand description

Returns the file name of a layout: the one merged from all the game’s campaigns, or a campaign’s.

§Arguments

  • game_key - Key of the game (attila).
  • campaign - Campaign key (main_attila), or None for the merged layout.