omp_gdk/scripting/dialogs/mod.rs
1pub mod events;
2pub mod functions;
3
4pub use functions::load_functions;
5
6/// Type of Dialog Styles
7/// <https://www.open.mp/docs/scripting/resources/dialogstyles>
8#[repr(C)]
9#[derive(PartialEq, Clone, Copy, Debug)]
10pub enum DialogStyle {
11 MsgBox = 0,
12 Input,
13 List,
14 Password,
15 TabList,
16 TablistHeaders,
17}
18
19/// Type of Dialog Response
20#[repr(C)]
21#[derive(PartialEq, Clone, Copy, Debug)]
22pub enum DialogResponse {
23 /// right button
24 Right = 0,
25 /// left button
26 Left,
27}