-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
9 changed files
with
127 additions
and
103 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,67 +1,67 @@ | ||
use crate::globals::ARC_GLOBALS; | ||
use crate::globals::ArcGlobals; | ||
|
||
/// Checks whether export `e0` was found. | ||
#[inline] | ||
pub fn has_e0_config_path() -> bool { | ||
unsafe { ARC_GLOBALS.e0 }.is_some() | ||
ArcGlobals::get().e0.is_some() | ||
} | ||
|
||
/// Checks whether export `e3` was found. | ||
#[inline] | ||
pub fn has_e3_log_file() -> bool { | ||
unsafe { ARC_GLOBALS.e3 }.is_some() | ||
ArcGlobals::get().e3.is_some() | ||
} | ||
|
||
/// Checks whether export `e5` was found. | ||
#[inline] | ||
pub fn has_e5_colors() -> bool { | ||
unsafe { ARC_GLOBALS.e5 }.is_some() | ||
ArcGlobals::get().e5.is_some() | ||
} | ||
|
||
/// Checks whether export `e6` was found. | ||
#[inline] | ||
pub fn has_e6_ui_settings() -> bool { | ||
unsafe { ARC_GLOBALS.e6 }.is_some() | ||
ArcGlobals::get().e6.is_some() | ||
} | ||
|
||
/// Checks whether export `e7` was found. | ||
#[inline] | ||
pub fn has_e7_modifiers() -> bool { | ||
unsafe { ARC_GLOBALS.e7 }.is_some() | ||
ArcGlobals::get().e7.is_some() | ||
} | ||
|
||
/// Checks whether export `e8` was found. | ||
#[inline] | ||
pub fn has_e8_log_window() -> bool { | ||
unsafe { ARC_GLOBALS.e8 }.is_some() | ||
ArcGlobals::get().e8.is_some() | ||
} | ||
|
||
/// Checks whether export `e9` was found. | ||
#[inline] | ||
pub fn has_e9_add_event() -> bool { | ||
unsafe { ARC_GLOBALS.e9 }.is_some() | ||
ArcGlobals::get().e9.is_some() | ||
} | ||
|
||
/// Checks whether export `e10` was found. | ||
#[inline] | ||
pub fn has_e10_add_event_combat() -> bool { | ||
unsafe { ARC_GLOBALS.e10 }.is_some() | ||
ArcGlobals::get().e10.is_some() | ||
} | ||
|
||
/// Checks whether export `addextension2` was found. | ||
#[inline] | ||
pub fn has_add_extension() -> bool { | ||
unsafe { ARC_GLOBALS.add_extension }.is_some() | ||
ArcGlobals::get().add_extension.is_some() | ||
} | ||
|
||
/// Checks whether export `freeextension2` was found. | ||
#[inline] | ||
pub fn has_free_extension() -> bool { | ||
unsafe { ARC_GLOBALS.free_extension }.is_some() | ||
ArcGlobals::get().free_extension.is_some() | ||
} | ||
|
||
/// Checks whether export `listextension` was found. | ||
#[inline] | ||
pub fn has_list_extension() -> bool { | ||
unsafe { ARC_GLOBALS.list_extension }.is_some() | ||
ArcGlobals::get().list_extension.is_some() | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.