273 {
275
276 string file_path = "xbox/pagedatacontroller.json";
277 #ifdef PLATFORM_PS4
278 file_path = "ps4/pagedatacontroller.json";
279 #endif
282
283 string js_error = "";
284 string line_content = "";
285 string content = "";
286 if (file_handle)
287 {
288 while (
FGets(file_handle, line_content) >= 0)
289 {
290 content += line_content;
291 }
293
295 {
296 return control_mapping_info;
297 }
298 else
299 {
301 }
302 }
303
304 return control_mapping_info;
305 }
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.