Create server request backbone and functions for talking to save file server.
This commit is contained in:
+5
-1
@@ -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;
|
||||
}
|
||||
Reference in New Issue
Block a user