init
This commit is contained in:
25
RAGE/Utils.d.ts
vendored
Normal file
25
RAGE/Utils.d.ts
vendored
Normal file
@@ -0,0 +1,25 @@
|
||||
/**
|
||||
* Utils Functions
|
||||
* @public
|
||||
* @noSelf
|
||||
*/
|
||||
declare namespace utils {
|
||||
|
||||
function str_to_vk(keyName: string): int
|
||||
//function string_to_wstring(str: string): wstring
|
||||
//function wstring_to_string(str: wstring): string
|
||||
function get_all_files_in_directory(path: string, extension: string): vector<string>
|
||||
function get_all_sub_directories_in_directory(path: string): vector<string>
|
||||
function file_exists(path: string): boolean
|
||||
function dir_exists(path: string): boolean
|
||||
function make_dir(path: string): boolean
|
||||
function get_appdata_path(dir: string, file: string): string
|
||||
function from_clipboard(): string
|
||||
function to_clipboard(str: string): void
|
||||
function time(): int
|
||||
function time_ms(): int
|
||||
function str_to_vecu64(str: string): vector<uint64_t>
|
||||
function vecu64_to_str(vec: vector<uint64_t>): string
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user