-
Notifications
You must be signed in to change notification settings - Fork 0
/
xr_dialog.d.ts
40 lines (32 loc) · 928 Bytes
/
xr_dialog.d.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
declare module "xray16" {
/**
* @source C++ class CPhraseScript
* @customConstructor CPhraseScript
* @group xr_dialog
*/
export class CPhraseScript {
public AddAction(value: string): void;
public AddDisableInfo(value: string): void;
public AddDontHasInfo(value: string): void;
public AddGiveInfo(value: string): void;
public AddHasInfo(value: string): void;
public AddPrecondition(value: string): void;
public SetScriptText(value: string): void;
}
/**
* @source C++ class CPhrase
* @customConstructor CPhrase
* @group xr_dialog
*/
export class CPhrase {
public GetPhraseScript(): CPhraseScript;
}
/**
* @source C++ class CPhraseDialog
* @customConstructor CPhraseDialog
* @group xr_dialog
*/
export class CPhraseDialog {
public AddPhrase(text: string, phrase_id: string, prev_phrase_id: string, goodwill_level: i32): CPhrase;
}
}