xray16 1.0.16 → 1.0.17

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.0.16",
3
+ "version": "1.0.17",
4
4
  "author": "Neloreck",
5
5
  "repository": "https://github.com/stalker-xrts/xray-16-types",
6
6
  "private": false,
@@ -76,8 +76,18 @@ declare module "xray16" {
76
76
 
77
77
  public r_string_wq(section: string, field: string): string;
78
78
 
79
+ /**
80
+ * @param section - ini file section
81
+ * @param field - ini section field
82
+ * @returns if quoted, parsed string data inside quotes including spaces, else is same data as with r_string
83
+ */
79
84
  public r_string_wb(section: string, field: string): string;
80
85
 
86
+ /**
87
+ * @param section - ini file section
88
+ * @param field - ini section field
89
+ * @returns raw string from ltx file without spaces in it
90
+ */
81
91
  public r_string(section: string, field: string): string;
82
92
 
83
93
  /**
@@ -47,7 +47,7 @@ declare module "xray16" {
47
47
 
48
48
  public load_path(path: string): void;
49
49
 
50
- public start_path(value: boolean): void;
50
+ public start_path(is_looped: boolean): void;
51
51
 
52
52
  public stop(): void;
53
53
 
@@ -532,7 +532,7 @@ declare module "xray16" {
532
532
 
533
533
  public sniper_update_rate(value: boolean): void;
534
534
 
535
- public spawn_ini(): ini_file;
535
+ public spawn_ini(): ini_file | null;
536
536
 
537
537
  public special_danger_move(): boolean;
538
538
 
@@ -131,7 +131,7 @@ declare module "xray16" {
131
131
 
132
132
  public clsid(): TXR_class_id;
133
133
 
134
- public spawn_ini(): ini_file;
134
+ public spawn_ini(): ini_file | null;
135
135
 
136
136
  public section_name<T extends string = string>(): T;
137
137