286 {
288
289 string file_path = "xbox/pagedatacontroller.json";
290 #ifdef PLATFORM_PS4
291 file_path = "ps4/pagedatacontroller.json";
292 #endif
295
296 string js_error = "";
297 string line_content = "";
298 string content = "";
299 if (file_handle)
300 {
301 while (
FGets(file_handle, line_content) >= 0)
302 {
303 content += line_content;
304 }
306
308 {
309 return control_mapping_info;
310 }
311 else
312 {
314 }
315 }
316
317 return control_mapping_info;
318 }
proto bool ReadFromString(void variable_in, string jsonString, out string error)
Json string deserialization to script variable.
Class for sending RPC over network.
Result for an object found in CGame.IsBoxCollidingGeometryProxy.
proto void CloseFile(FileHandle file)
Close the File.
proto int FGets(FileHandle file, string var)
Get line from file, every next call of this function returns next line.
proto FileHandle OpenFile(string name, FileMode mode)
Opens File.