xray16 1.2.2 → 1.2.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "xray16",
3
- "version": "1.2.2",
3
+ "version": "1.2.3",
4
4
  "author": "Neloreck",
5
5
  "repository": "https://github.com/stalker-xrts/xray-16-types",
6
6
  "private": false,
@@ -72,45 +72,41 @@ declare module "xray16" {
72
72
  public static FS_sort_by_size_down: 3;
73
73
  public static FS_sort_by_size_up: 2;
74
74
 
75
- public append_path(a: string, b: string, c: string, d: number): unknown /* FS_Path */;
75
+ public dir_delete(path: string, filename: string, remove_files: boolean): void;
76
76
 
77
- public dir_delete(fs: FS, a: string, b: string, c: number): void;
77
+ public dir_delete(path: string, remove_files: boolean): void;
78
78
 
79
- public dir_delete(fs: FS, a: string, c: number): void;
79
+ public file_list_open(alias: string, folder: string, flags: u32): FS_file_list;
80
80
 
81
- public exist(folderAlias: string, filename: string, fs_type: TXR_fs_type): i32 | null;
81
+ public file_list_open(path: string, flags: u32): FS_file_list;
82
82
 
83
- public exist(folderAlias: string, filename: string): i32 | null;
83
+ public file_list_open_ex(path: string, flags: u32, mask: string): FS_file_list_ex;
84
84
 
85
- public exist(path: string): i32 | null;
86
-
87
- public file_copy(a: string, b: string): void;
85
+ public file_copy(source: string, destination: string): void;
88
86
 
89
- public file_length(a: string): i32;
87
+ public file_length(path: string): i32;
90
88
 
91
- public file_list_open(a: string, b: string, c: u32): FS_file_list;
89
+ public file_rename(path: string, destination: string, overwrite: boolean): void;
92
90
 
93
- public file_list_open(a: string, b: u32): FS_file_list;
91
+ public get_file_age(path: string): u32;
94
92
 
95
- public file_list_open_ex(a: string, b: u32, c: string): FS_file_list_ex;
93
+ public get_file_age_str(path: string): u32;
96
94
 
97
- public file_rename(a: string, b: string, c: boolean): void;
95
+ public file_delete(path: string, filename: string): void;
98
96
 
99
- public get_file_age(a: string): u32;
97
+ public file_delete(path: string): void;
100
98
 
101
- public get_file_age_str(fs: FS, a: string): u32;
99
+ public exist(alias: string, filename: string, fs_type: TXR_fs_type): i32 | null;
102
100
 
103
- public path_exist(a: string): boolean;
101
+ public exist(alias: string, filename: string): i32 | null;
104
102
 
105
- public r_close(reader: reader): void;
106
-
107
- public r_open(a: string): reader;
103
+ public exist(path: string): i32 | null;
108
104
 
109
- public r_open(a: string, b: string): reader;
105
+ public append_path(alias: string, root: string, path: string, recursive: boolean): unknown /* FS_Path */;
110
106
 
111
- public update_path(alias: string, addition: string): string;
107
+ public path_exist(path: string): boolean;
112
108
 
113
- public w_close(writer: unknown /* IWriter */): void;
109
+ public update_path(alias: string, add: string): string;
114
110
 
115
111
  public rescan_path(path: string): void;
116
112
 
@@ -119,13 +115,17 @@ declare module "xray16" {
119
115
  */
120
116
  public get_path(alias: string): unknown;
121
117
 
122
- public file_delete(a: string, b: string): void;
118
+ public r_close(reader: reader): void;
119
+
120
+ public r_open(path: string): reader;
123
121
 
124
- public file_delete(fs: string): void;
122
+ public r_open(alias: string, path: string): reader;
123
+
124
+ public w_close(writer: unknown /* IWriter */): void;
125
125
 
126
- public w_open(a: string, b: string): unknown /* IWriter */;
126
+ public w_open(path: string, filename: string): unknown /* IWriter */;
127
127
 
128
- public w_open(a: string): unknown /* IWriter */;
128
+ public w_open(path: string): unknown /* IWriter */;
129
129
  }
130
130
 
131
131
  /**