Esempio n. 1
0
 def save_map(self, map_path, map_data):
     """Save a map into temp dir so create game can access it in multiplayer."""
     return self._client.send(save_map=sc_pb.RequestSaveMap(
         map_path=map_path, map_data=map_data))
Esempio n. 2
0
 async def request_save_map(self, download_path: str):
     """ Not working on linux. """
     req = sc_pb.RequestSaveMap(map_path=download_path)
     result = await self._execute(save_map=req)
     return result