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