arcdps\exports/
has.rs

1use crate::globals::arc::ArcGlobals;
2
3/// Checks whether export `e0` was found.
4#[inline]
5pub fn has_e0_config_path() -> bool {
6    ArcGlobals::get().e0.is_some()
7}
8
9/// Checks whether export `e3` was found.
10#[inline]
11pub fn has_e3_log_file() -> bool {
12    ArcGlobals::get().e3.is_some()
13}
14
15/// Checks whether export `e5` was found.
16#[inline]
17pub fn has_e5_colors() -> bool {
18    ArcGlobals::get().e5.is_some()
19}
20
21/// Checks whether export `e6` was found.
22#[inline]
23pub fn has_e6_ui_settings() -> bool {
24    ArcGlobals::get().e6.is_some()
25}
26
27/// Checks whether export `e7` was found.
28#[inline]
29pub fn has_e7_modifiers() -> bool {
30    ArcGlobals::get().e7.is_some()
31}
32
33/// Checks whether export `e8` was found.
34#[inline]
35pub fn has_e8_log_window() -> bool {
36    ArcGlobals::get().e8.is_some()
37}
38
39/// Checks whether export `e9` was found.
40#[inline]
41pub fn has_e9_add_event() -> bool {
42    ArcGlobals::get().e9.is_some()
43}
44
45/// Checks whether export `e10` was found.
46#[inline]
47pub fn has_e10_add_event_combat() -> bool {
48    ArcGlobals::get().e10.is_some()
49}
50
51/// Checks whether export `addextension2` was found.
52#[inline]
53pub fn has_add_extension() -> bool {
54    ArcGlobals::get().add_extension.is_some()
55}
56
57/// Checks whether export `freeextension2` was found.
58#[inline]
59pub fn has_free_extension() -> bool {
60    ArcGlobals::get().free_extension.is_some()
61}
62
63/// Checks whether export `listextension` was found.
64#[inline]
65pub fn has_list_extension() -> bool {
66    ArcGlobals::get().list_extension.is_some()
67}