Create server request backbone and functions for talking to save file server.

This commit is contained in:
2024-01-02 04:45:44 -06:00
parent 3e5e78a606
commit 2a900fa06e
11 changed files with 115 additions and 21 deletions
+5 -1
View File
@@ -239,7 +239,7 @@ bool Crawler::OnUserCreate(){
SetupDiscord();
#endif
SendRequest("http://projectdivar.com/files/index.html","");
SendRequest("index.html","");
return true;
}
@@ -2564,4 +2564,8 @@ void Crawler::ResetGame(){
State_OverworldMap::UpdateCurrentConnectionPoint(*State_OverworldMap::currentConnectionPoint);
SetChapter(1);
SaveFile::SetSaveFileName("");
}
void Crawler::OnRequestCompleted(const std::string_view receivedData)const{
std::cout<<"Received in engine: "<<receivedData<<std::endl;
}