protected string PresentHTML(string fileName) { return(ForgeWebServer.RenderHTML(this, fileName)); }
public PageController(NetWorker socket, ForgeWebServer webserver) { Networker = socket; Webserver = webserver; variables.Add("playerCount", () => { return(Networker.Players.Count.ToString()); }); }