Exemplo n.º 1
0
 /// <summary>
 /// Opens the catalog on the chosen page.
 /// </summary>
 /// <param name="type">Enum to specify wether the regular or builders club catalog has to be opened</param>
 /// <param name="name">The catalog page name</param>
 /// <returns></returns>
 public static string ShowCatalogPage(HabboCatalogType type, string name)
 => type == HabboCatalogType.BuildersClub ? $"catalog/warehouse/{name}" : $"catalog/open/{name}";
Exemplo n.º 2
0
 /// <summary>
 /// Opens the catalog home page.
 /// </summary>
 /// <param name="type">Enum to specify wether the regular or builders club catalog has to be opened</param>
 /// <returns></returns>
 public static string ShowCatalog(HabboCatalogType type)
 => "catalog/" + (type == HabboCatalogType.BuildersClub ? "warehouse" : "open");