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